From 4d9c10a214b2f5f68fcfcbcf93b4fc3545e8f229 Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Sat, 6 Apr 2024 22:57:17 +0200 Subject: [PATCH] Breaking: remove `remark-toc` plugin If you have a "Table of Contents" section in your README, it will no longer be automatically updated. Either remove it, or add the plugin to hallmark configuration. Ref: https://github.com/vweevers/hallmark/issues/38 Closes: https://github.com/vweevers/hallmark/issues/36 Category: removal --- README.md | 49 ------------------------------------------------- cli-dist.js | 2 +- index.js | 14 -------------- package.json | 6 +++--- 4 files changed, 4 insertions(+), 67 deletions(-) diff --git a/README.md b/README.md index a357b78..b8c35d6 100644 --- a/README.md +++ b/README.md @@ -10,37 +10,6 @@ [![Markdown Style Guide](https://img.shields.io/badge/hallmark-informational?logo=markdown)](https://github.com/vweevers/hallmark) [![Common Changelog](https://common-changelog.org/badge.svg)](https://common-changelog.org) -## Table of Contents - -
Click to expand - -- [Why](#why) -- [Quick Start](#quick-start) -- [What You Might Do](#what-you-might-do) -- [Requirements](#requirements) -- [Rules](#rules) -- [Usage](#usage) - - [Commands](#commands) - - [`lint [file...]`](#lint-file) - - [`fix [file...]`](#fix-file) - - [`cc add `](#cc-add-target) -- [Package Options](#package-options) - - [`ignore`](#ignore) - - [`autolinkReferences`](#autolinkreferences) - - [`changelog`](#changelog) - - [`validateLinks`](#validatelinks) - - [`paddedTable`](#paddedtable) - - [`toc`](#toc) - - [`plugins`](#plugins) - - [`fixers`](#fixers) -- [Opt-in Features](#opt-in-features) - - [Table of Contents](#table-of-contents-1) -- [Reporters](#reporters) -- [Install](#install) -- [License](#license) - -
- ## Why This module saves you time in three ways: @@ -298,10 +267,6 @@ Boolean. Set to `false` to skip validating links. Useful when a markdown file us Boolean. Set to `false` to keep markdown tables compact. A temporary option until we decide on and are able to lint a style ([`3210a96`](https://github.com/vweevers/hallmark/commit/3210a96)). -### `toc` - -Boolean. Set to `false` to skip generating (or replacing) a Table of Contents. A temporary option until we write a more flexible plugin ([#36](https://github.com/vweevers/hallmark/issues/36)). - ### `plugins` An array of extra plugins, to be applied in both lint and fix mode. @@ -310,20 +275,6 @@ An array of extra plugins, to be applied in both lint and fix mode. An array of extra plugins, to be applied in fix mode. -## Opt-in Features - -### Table of Contents - -_Note: this feature is likely to change ([#36](https://github.com/vweevers/hallmark/issues/36))._ - -Add this heading to a markdown file: - -```markdown -## Table of Contents -``` - -Running `hallmark fix` will then create or update a table of contents. - ## Reporters The default reporter is [`vfile-reporter-shiny`](https://github.com/vweevers/vfile-reporter-shiny). Various other reporters are available: diff --git a/cli-dist.js b/cli-dist.js index 9497376..93f78fa 100644 --- a/cli-dist.js +++ b/cli-dist.js @@ -1,2 +1,2 @@ #!/usr/bin/env node -import t,{realpathSync as e,statSync as i,Stats as n,promises as r,constants as s}from"node:fs";import o from"path";import a from"fs";import u from"events";import l from"assert";import c from"util";import h from"os";import p,{pathToFileURL as f,fileURLToPath as d,URL as g}from"url";import m from"node:process";import y from"node:os";import b from"node:tty";import w from"tty";import v from"node:path";import D from"process";import k from"constants";import E from"stream";import x,{execFileSync as A}from"child_process";import F from"buffer";import{format as C,inspect as S,promisify as _}from"node:util";import{exec as j}from"node:child_process";import{fileURLToPath as O,URL as B,pathToFileURL as T}from"node:url";import{PassThrough as R}from"node:stream";import I from"fs/promises";import $ from"string_decoder";import N from"node:assert";import{builtinModules as L}from"node:module";import P from"node:v8";import{EventEmitter as M}from"node:events";var z="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function q(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function U(t){if(t.__esModule)return t;var e=t.default;if("function"==typeof e){var i=function t(){return this instanceof t?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};i.prototype=e.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(i,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})})),i}function G(t){return"number"==typeof t||(!!/^0x[0-9a-f]+$/i.test(t)||/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(t))}function W(t,e){return"constructor"===e&&"function"==typeof t[e]||"__proto__"===e}var H=function(t,e){e||(e={});var i={bools:{},strings:{},unknownFn:null};"function"==typeof e.unknown&&(i.unknownFn=e.unknown),"boolean"==typeof e.boolean&&e.boolean?i.allBools=!0:[].concat(e.boolean).filter(Boolean).forEach((function(t){i.bools[t]=!0}));var n={};function r(t){return n[t].some((function(t){return i.bools[t]}))}Object.keys(e.alias||{}).forEach((function(t){n[t]=[].concat(e.alias[t]),n[t].forEach((function(e){n[e]=[t].concat(n[t].filter((function(t){return e!==t})))}))})),[].concat(e.string).filter(Boolean).forEach((function(t){i.strings[t]=!0,n[t]&&[].concat(n[t]).forEach((function(t){i.strings[t]=!0}))}));var s=e.default||{},o={_:[]};function a(t,e,n){for(var r=t,s=0;s0)continue;var a=e.slice(n,o+1);"string"==typeof a[0]&&(a[0]=a[0].replace(/^\[/,"")),""===a[0]&&a.shift();var u=a.length-1;"string"==typeof a[u]&&(a[u]=a[u].replace(/\]$/,"")),""===a[u]&&a.pop(),s.push(t(a))}else 0===r&&s.push(e[o]);return H(s,i)},K=q(V),Y={exports:{}};!function(t){var e=o,i=a;function n(t){return i.existsSync(e.join(t,"package.json"))}t.exports=function i(r,s){if(s=s||n,"string"==typeof(r=r||t.parent.filename)&&(r[r.length-1]!==e.sep&&(r+=e.sep),r=r.split(e.sep)),!r.length)throw new Error("package.json not found in path");r.pop();var o=r.join(e.sep);try{if(s(o))return o}catch(t){}return i(r,s)}}(Y);var J=Y.exports,Z={},Q=o,X="win32"===process.platform,tt=a,et=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function it(t){return"function"==typeof t?t:function(){var t;if(et){var e=new Error;t=function(t){t&&(e.message=t.message,i(t=e))}}else t=i;return t;function i(t){if(t){if(process.throwDeprecation)throw t;if(!process.noDeprecation){var e="fs: missing callback "+(t.stack||t.message);process.traceDeprecation?console.trace(e):console.error(e)}}}}()}if(Q.normalize,X)var nt=/(.*?)(?:[\/\\]+|$)/g;else nt=/(.*?)(?:[\/]+|$)/g;if(X)var rt=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else rt=/^[\/]*/;Z.realpathSync=function(t,e){if(t=Q.resolve(t),e&&Object.prototype.hasOwnProperty.call(e,t))return e[t];var i,n,r,s,o=t,a={},u={};function l(){var e=rt.exec(t);i=e[0].length,n=e[0],r=e[0],s="",X&&!u[r]&&(tt.lstatSync(r),u[r]=!0)}for(l();i=t.length)return e&&(e[a]=t),i(null,t);nt.lastIndex=n;var u=nt.exec(t);return o=r,r+=u[0],s=o+u[1],n=nt.lastIndex,l[s]||e&&e[s]===s?process.nextTick(h):e&&Object.prototype.hasOwnProperty.call(e,s)?d(e[s]):tt.lstat(s,p)}function p(t,n){if(t)return i(t);if(!n.isSymbolicLink())return l[s]=!0,e&&(e[s]=s),process.nextTick(h);if(!X){var r=n.dev.toString(32)+":"+n.ino.toString(32);if(u.hasOwnProperty(r))return f(null,u[r],s)}tt.stat(s,(function(t){if(t)return i(t);tt.readlink(s,(function(t,e){X||(u[r]=e),f(t,e)}))}))}function f(t,n,r){if(t)return i(t);var s=Q.resolve(o,n);e&&(e[r]=s),d(s)}function d(e){t=Q.resolve(e,t.slice(n)),c()}c()};var st=ft;ft.realpath=ft,ft.sync=dt,ft.realpathSync=dt,ft.monkeypatch=function(){ot.realpath=ft,ot.realpathSync=dt},ft.unmonkeypatch=function(){ot.realpath=at,ot.realpathSync=ut};var ot=a,at=ot.realpath,ut=ot.realpathSync,lt=process.version,ct=/^v[0-5]\./.test(lt),ht=Z;function pt(t){return t&&"realpath"===t.syscall&&("ELOOP"===t.code||"ENOMEM"===t.code||"ENAMETOOLONG"===t.code)}function ft(t,e,i){if(ct)return at(t,e,i);"function"==typeof e&&(i=e,e=null),at(t,e,(function(n,r){pt(n)?ht.realpath(t,e,i):i(n,r)}))}function dt(t,e){if(ct)return ut(t,e);try{return ut(t,e)}catch(i){if(pt(i))return ht.realpathSync(t,e);throw i}}var gt=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},mt=yt;function yt(t,e,i){t instanceof RegExp&&(t=bt(t,i)),e instanceof RegExp&&(e=bt(e,i));var n=wt(t,e,i);return n&&{start:n[0],end:n[1],pre:i.slice(0,n[0]),body:i.slice(n[0]+t.length,n[1]),post:i.slice(n[1]+e.length)}}function bt(t,e){var i=e.match(t);return i?i[0]:null}function wt(t,e,i){var n,r,s,o,a,u=i.indexOf(t),l=i.indexOf(e,u+1),c=u;if(u>=0&&l>0){if(t===e)return[u,l];for(n=[],s=i.length;c>=0&&!a;)c==u?(n.push(c),u=i.indexOf(t,c+1)):1==n.length?a=[n.pop(),l]:((r=n.pop())=0?u:l;n.length&&(a=[s,o])}return a}yt.range=wt;var vt=function(t,e){for(var i=[],n=0;n=e}function It(t,e){var i=[],n=Dt("{","}",t);if(!n||/\$$/.test(n.pre))return[t];var r,s=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),o=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),a=s||o,u=n.body.indexOf(",")>=0;if(!a&&!u)return n.post.match(/,.*\}/)?It(t=n.pre+"{"+n.body+At+n.post):[t];if(a)r=n.body.split(/\.\./);else if(1===(r=jt(n.body)).length&&1===(r=It(r[0],!1).map(Ot)).length)return(h=n.post.length?It(n.post,!1):[""]).map((function(t){return n.pre+r[0]+t}));var l,c=n.pre,h=n.post.length?It(n.post,!1):[""];if(a){var p=St(r[0]),f=St(r[1]),d=Math.max(r[0].length,r[1].length),g=3==r.length?Math.abs(St(r[2])):1,m=Tt;f0){var D=new Array(v+1).join("0");w=b<0?"-"+D+w.slice(1):D+w}}l.push(w)}}else l=vt(r,(function(t){return It(t,!1)}));for(var k=0;k65536)throw new TypeError("pattern is too long")};Vt.prototype.parse=function(t,e){Yt(t);var i=this.options;if("**"===t){if(!i.noglobstar)return Lt;t="*"}if(""===t)return"";var n,r="",s=!!i.nocase,o=!1,a=[],u=[],l=!1,c=-1,h=-1,p="."===t.charAt(0)?"":i.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",f=this;function d(){if(n){switch(n){case"*":r+=qt,s=!0;break;case"?":r+=zt,s=!0;break;default:r+="\\"+n}f.debug("clearStateChar %j %j",n,r),n=!1}}for(var g,m=0,y=t.length;m-1;x--){var A=u[x],F=r.slice(0,A.reStart),C=r.slice(A.reStart,A.reEnd-8),S=r.slice(A.reEnd-8,A.reEnd),_=r.slice(A.reEnd);S+=_;var j=F.split("(").length-1,O=_;for(m=0;m=0&&!(n=t[r]);r--);for(r=0;r>> no match, partial?",t,h,e,p),h!==o))}if("string"==typeof l?(u=c===l,this.debug("string match",l,c,u)):(u=c.match(l),this.debug("pattern match",l,c,u)),!u)return!1}if(r===o&&s===a)return!0;if(r===o)return i;if(s===a)return r===o-1&&""===t[r];throw new Error("wtf?")};var Zt,Qt={exports:{}},Xt={exports:{}};try{var te=require("util");if("function"!=typeof te.inherits)throw"";Qt.exports=te.inherits}catch(t){Qt.exports=(Zt||(Zt=1,"function"==typeof Object.create?Xt.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Xt.exports=function(t,e){if(e){t.super_=e;var i=function(){};i.prototype=e.prototype,t.prototype=new i,t.prototype.constructor=t}}),Xt.exports)}var ee=Qt.exports,ie={exports:{}};function ne(t){return"/"===t.charAt(0)}function re(t){var e=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(t),i=e[1]||"",n=Boolean(i&&":"!==i.charAt(1));return Boolean(e[2]||n)}ie.exports="win32"===process.platform?re:ne,ie.exports.posix=ne,ie.exports.win32=re;var se=ie.exports,oe={};function ae(t,e){return Object.prototype.hasOwnProperty.call(t,e)}oe.setopts=function(t,e,i){i||(i={});if(i.matchBase&&-1===e.indexOf("/")){if(i.noglobstar)throw new Error("base matching requires globstar");e="**/"+e}t.silent=!!i.silent,t.pattern=e,t.strict=!1!==i.strict,t.realpath=!!i.realpath,t.realpathCache=i.realpathCache||Object.create(null),t.follow=!!i.follow,t.dot=!!i.dot,t.mark=!!i.mark,t.nodir=!!i.nodir,t.nodir&&(t.mark=!0);t.sync=!!i.sync,t.nounique=!!i.nounique,t.nonull=!!i.nonull,t.nosort=!!i.nosort,t.nocase=!!i.nocase,t.stat=!!i.stat,t.noprocess=!!i.noprocess,t.absolute=!!i.absolute,t.fs=i.fs||ce,t.maxLength=i.maxLength||1/0,t.cache=i.cache||Object.create(null),t.statCache=i.statCache||Object.create(null),t.symlinks=i.symlinks||Object.create(null),function(t,e){t.ignore=e.ignore||[],Array.isArray(t.ignore)||(t.ignore=[t.ignore]);t.ignore.length&&(t.ignore=t.ignore.map(ge))}(t,i),t.changedCwd=!1;var n=process.cwd();ae(i,"cwd")?(t.cwd=he.resolve(i.cwd),t.changedCwd=t.cwd!==n):t.cwd=n;t.root=i.root||he.resolve(t.cwd,"/"),t.root=he.resolve(t.root),"win32"===process.platform&&(t.root=t.root.replace(/\\/g,"/"));t.cwdAbs=pe(t.cwd)?t.cwd:me(t,t.cwd),"win32"===process.platform&&(t.cwdAbs=t.cwdAbs.replace(/\\/g,"/"));t.nomount=!!i.nomount,i.nonegate=!0,i.nocomment=!0,i.allowWindowsEscape=!1,t.minimatch=new fe(e,i),t.options=t.minimatch.options},oe.ownProp=ae,oe.makeAbs=me,oe.finish=function(t){for(var e=t.nounique,i=e?[]:Object.create(null),n=0,r=t.matches.length;nn?(i.splice(0,n),process.nextTick((function(){e.apply(null,r)}))):delete Ce[t]}}))}(t))}));function je(){if(xe)return Ee;xe=1,Ee=b;var t=st,e=$t;e.Minimatch;var i=ee,n=u.EventEmitter,r=o,s=l,a=se,c=function(){if(le)return ue;le=1,ue=p,p.GlobSync=f;var t=st,e=$t;e.Minimatch,je().Glob;var i=o,n=l,r=se,s=oe,a=s.setopts,u=s.ownProp,c=s.childrenIgnored,h=s.isIgnored;function p(t,e){if("function"==typeof e||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");return new f(t,e).found}function f(t,e){if(!t)throw new Error("must provide pattern");if("function"==typeof e||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof f))return new f(t,e);if(a(this,t,e),this.noprocess)return this;var i=this.minimatch.set.length;this.matches=new Array(i);for(var n=0;nthis.maxLength)return!1;if(!this.stat&&u(this.cache,e)){var n=this.cache[e];if(Array.isArray(n)&&(n="DIR"),!i||"DIR"===n)return n;if(i&&"FILE"===n)return!1}var r=this.statCache[e];if(!r){var s;try{s=this.fs.lstatSync(e)}catch(t){if(t&&("ENOENT"===t.code||"ENOTDIR"===t.code))return this.statCache[e]=!1,!1}if(s&&s.isSymbolicLink())try{r=this.fs.statSync(e)}catch(t){r=s}else r=s}return this.statCache[e]=r,n=!0,r&&(n=r.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||n,(!i||"FILE"!==n)&&n},f.prototype._mark=function(t){return s.mark(this,t)},f.prototype._makeAbs=function(t){return s.makeAbs(this,t)},ue}(),h=oe,p=h.setopts,f=h.ownProp,d=_e,g=h.childrenIgnored,m=h.isIgnored,y=Ae;function b(t,e,i){if("function"==typeof e&&(i=e,e={}),e||(e={}),e.sync){if(i)throw new TypeError("callback provided to sync glob");return c(t,e)}return new v(t,e,i)}b.sync=c;var w=b.GlobSync=c.GlobSync;function v(t,e,i){if("function"==typeof e&&(i=e,e=null),e&&e.sync){if(i)throw new TypeError("callback provided to sync glob");return new w(t,e)}if(!(this instanceof v))return new v(t,e,i);p(this,t,e),this._didRealPath=!1;var n=this.minimatch.set.length;this.matches=new Array(n),"function"==typeof i&&(i=y(i),this.on("error",i),this.on("end",(function(t){i(null,t)})));var r=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===n)return a();for(var s=!0,o=0;o1)return!0;for(var r=0;rthis.maxLength)return e();if(!this.stat&&f(this.cache,i)){var r=this.cache[i];if(Array.isArray(r)&&(r="DIR"),!n||"DIR"===r)return e(null,r);if(n&&"FILE"===r)return e()}var s=this.statCache[i];if(void 0!==s){if(!1===s)return e(null,s);var o=s.isDirectory()?"DIR":"FILE";return n&&"FILE"===o?e():e(null,o,s)}var a=this,u=d("stat\0"+i,(function(n,r){if(r&&r.isSymbolicLink())return a.fs.stat(i,(function(n,s){n?a._stat2(t,i,null,r,e):a._stat2(t,i,n,s,e)}));a._stat2(t,i,n,r,e)}));u&&a.fs.lstat(i,u)},v.prototype._stat2=function(t,e,i,n,r){if(i&&("ENOENT"===i.code||"ENOTDIR"===i.code))return this.statCache[e]=!1,r();var s="/"===t.slice(-1);if(this.statCache[e]=n,"/"===e.slice(-1)&&n&&!n.isDirectory())return r(null,!1,n);var o=!0;return n&&(o=n.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||o,s&&"FILE"===o?r():r(null,o,n)},Ee}function Oe(t){return Array.isArray(t)?t:[t]}const Be=/^\s+$/,Te=/(?:[^\\]|^)\\$/,Re=/^\\!/,Ie=/^\\#/,$e=/\r?\n/g,Ne=/^\.*\/|^\.+$/;let Le="node-ignore";"undefined"!=typeof Symbol&&(Le=Symbol.for("node-ignore"));const Pe=Le,Me=/([0-z])-([0-z])/g,ze=()=>!1,qe=[[/^\uFEFF/,()=>""],[/\\?\s+$/,t=>0===t.indexOf("\\")?" ":""],[/\\\s/g,()=>" "],[/[\\$.|*+(){^]/g,t=>`\\${t}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(t,e,i)=>e+6e+i.replace(/\\\*/g,"[^\\/]*")],[/\\\\\\(?=[$.|*+(){^])/g,()=>"\\"],[/\\\\/g,()=>"\\"],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(t,e,i,n,r)=>"\\"===e?`\\[${i}${(t=>{const{length:e}=t;return t.slice(0,e-e%2)})(n)}${r}`:"]"===r&&n.length%2==0?`[${(t=>t.replace(Me,((t,e,i)=>e.charCodeAt(0)<=i.charCodeAt(0)?t:"")))(i)}${n}]`:"[]"],[/(?:[^*])$/,t=>/\/$/.test(t)?`${t}$`:`${t}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(t,e)=>`${e?`${e}[^/]+`:"[^/]*"}(?=$|\\/$)`]],Ue=Object.create(null),Ge=t=>"string"==typeof t;class We{constructor(t,e,i,n){this.origin=t,this.pattern=e,this.negative=i,this.regex=n}}const He=(t,e)=>{const i=t;let n=!1;0===t.indexOf("!")&&(n=!0,t=t.substr(1));const r=((t,e)=>{let i=Ue[t];return i||(i=qe.reduce(((e,i)=>e.replace(i[0],i[1].bind(t))),t),Ue[t]=i),e?new RegExp(i,"i"):new RegExp(i)})(t=t.replace(Re,"!").replace(Ie,"#"),e);return new We(i,t,n,r)},Ve=(t,e)=>{throw new e(t)},Ke=(t,e,i)=>{if(!Ge(t))return i(`path must be a string, but got \`${e}\``,TypeError);if(!t)return i("path must not be empty",TypeError);if(Ke.isNotRelative(t)){return i(`path should be a ${"`path.relative()`d"} string, but got "${e}"`,RangeError)}return!0},Ye=t=>Ne.test(t);Ke.isNotRelative=Ye,Ke.convert=t=>t;let Je=class{constructor({ignorecase:t=!0,ignoreCase:e=t,allowRelativePaths:i=!1}={}){var n,r,s;n=this,r=Pe,s=!0,Object.defineProperty(n,r,{value:s}),this._rules=[],this._ignoreCase=e,this._allowRelativePaths=i,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(t){if(t&&t[Pe])return this._rules=this._rules.concat(t._rules),void(this._added=!0);if((t=>t&&Ge(t)&&!Be.test(t)&&!Te.test(t)&&0!==t.indexOf("#"))(t)){const e=He(t,this._ignoreCase);this._added=!0,this._rules.push(e)}}add(t){return this._added=!1,Oe(Ge(t)?(t=>t.split($e))(t):t).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(t){return this.add(t)}_testOne(t,e){let i=!1,n=!1;return this._rules.forEach((r=>{const{negative:s}=r;if(n===s&&i!==n||s&&!i&&!n&&!e)return;r.regex.test(t)&&(i=!s,n=s)})),{ignored:i,unignored:n}}_test(t,e,i,n){const r=t&&Ke.convert(t);return Ke(r,t,this._allowRelativePaths?ze:Ve),this._t(r,e,i,n)}_t(t,e,i,n){if(t in e)return e[t];if(n||(n=t.split("/")),n.pop(),!n.length)return e[t]=this._testOne(t,i);const r=this._t(n.join("/")+"/",e,i,n);return e[t]=r.ignored?r:this._testOne(t,i)}ignores(t){return this._test(t,this._ignoreCache,!1).ignored}createFilter(){return t=>!this.ignores(t)}filter(t){return Oe(t).filter(this.createFilter())}test(t){return this._test(t,this._testCache,!0)}};const Ze=t=>new Je(t);Ze.isPathValid=t=>Ke(t&&Ke.convert(t),t,ze),Ze.default=Ze;var Qe=Ze;if("undefined"!=typeof process&&(process.env&&process.env.IGNORE_TEST_WIN32||"win32"===process.platform)){const t=t=>/^\\\\\?\\/.test(t)||/["<>|\u0000-\u001F]+/u.test(t)?t:t.replace(/\\/g,"/");Ke.convert=t;const e=/^[a-z]:\//i;Ke.isNotRelative=t=>e.test(t)||Ye(t)}var Xe=q(Qe);let ti;var ei="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:z):t=>(ti||(ti=Promise.resolve())).then(t).catch((t=>setTimeout((()=>{throw t}),0))),ii=function(t,e){let i,n,r,s=!0;Array.isArray(t)?(i=[],n=t.length):(r=Object.keys(t),i={},n=r.length);function o(t){function n(){e&&e(t,i),e=null}s?ni(n):n()}function a(t,e,r){i[t]=r,(0==--n||e)&&o(e)}n?r?r.forEach((function(e){t[e]((function(t,i){a(e,t,i)}))})):t.forEach((function(t,e){t((function(t,i){a(e,t,i)}))})):o(null);s=!1};const ni=ei;function ri(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var si=c,oi=process.env.NODE_DEBUG||"",ai={},ui=function(){for(var t={},e=0;e2&&"[]"===u.slice(-2)){if("__proto__"===(u=u.substring(0,u.length-2)))return;i[u]?Array.isArray(i[u])||(i[u]=[i[u]]):i[u]=[]}Array.isArray(i[u])?i[u].push(l):i[u]=l}}}})),Object.keys(e).filter((function(t,i,n){if(!e[t]||"object"!=typeof e[t]||Array.isArray(e[t]))return!1;var r=zi(t),s=e,o=r.pop(),a=o.replace(/\\\./g,".");return r.forEach((function(t,e,i){"__proto__"!==t&&(s[t]&&"object"==typeof s[t]||(s[t]={}),s=s[t])})),(s!==e||a!==o)&&(s[a]=e[t],!0)})).forEach((function(t,i,n){delete e[t]})),e},Pi.stringify=Pi.encode=function t(e,i){var n=[],r="";"string"==typeof i?i={section:i,whitespace:!1}:(i=i||{}).whitespace=!0===i.whitespace;var s=i.whitespace?" = ":"=";Object.keys(e).forEach((function(t,i,o){var a=e[t];a&&Array.isArray(a)?a.forEach((function(e){r+=Ui(t+"[]")+s+Ui(e)+"\n"})):a&&"object"==typeof a?n.push(t):r+=Ui(t)+s+Ui(a)+Mi})),i.section&&r.length&&(r="["+Ui(i.section)+"]"+Mi+r);return n.forEach((function(n,s,o){var a=zi(n).join("\\."),u=(i.section?i.section+".":"")+a,l=t(e[n],{section:u,whitespace:i.whitespace});r.length&&l.length&&(r+=Mi),r+=l})),r},Pi.safe=Ui,Pi.unsafe=Gi;var Mi="undefined"!=typeof process&&"win32"===process.platform?"\r\n":"\n";function zi(t){return t.replace(/\1/g,"LITERAL\\1LITERAL").replace(/\\\./g,"").split(/\./).map((function(t){return t.replace(/\1/g,"\\.").replace(/\2LITERAL\\1LITERAL\2/g,"")}))}function qi(t){return'"'===t.charAt(0)&&'"'===t.slice(-1)||"'"===t.charAt(0)&&"'"===t.slice(-1)}function Ui(t){return"string"!=typeof t||t.match(/[=\r\n]/)||t.match(/^\[/)||t.length>1&&qi(t)||t!==t.trim()?JSON.stringify(t):t.replace(/;/g,"\\;").replace(/#/g,"\\#")}function Gi(t,e){if(!qi(t=(t||"").trim())){for(var i=!1,n="",r=0,s=t.length;r0)for(var i=0,n=arguments.length;i1)i=e;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,i=this.head.value}for(var r=0;null!==n;r++)i=t(i,n.value,r),n=n.next;return i},jn.prototype.reduceReverse=function(t,e){var i,n=this.tail;if(arguments.length>1)i=e;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,i=this.tail.value}for(var r=this.length-1;null!==n;r--)i=t(i,n.value,r),n=n.prev;return i},jn.prototype.toArray=function(){for(var t=new Array(this.length),e=0,i=this.head;null!==i;e++)t[e]=i.value,i=i.next;return t},jn.prototype.toArrayReverse=function(){for(var t=new Array(this.length),e=0,i=this.tail;null!==i;e++)t[e]=i.value,i=i.prev;return t},jn.prototype.slice=function(t,e){(e=e||this.length)<0&&(e+=this.length),(t=t||0)<0&&(t+=this.length);var i=new jn;if(ethis.length&&(e=this.length);for(var n=0,r=this.head;null!==r&&nthis.length&&(e=this.length);for(var n=this.length,r=this.tail;null!==r&&n>e;n--)r=r.prev;for(;null!==r&&n>t;n--,r=r.prev)i.push(r.value);return i},jn.prototype.splice=function(t,e,...i){t>this.length&&(t=this.length-1),t<0&&(t=this.length+t);for(var n=0,r=this.head;null!==r&&n1;const Vn=(t,e,i)=>{const n=t[Gn].get(e);if(n){const e=n.value;if(Kn(t,e)){if(Jn(t,n),!t[Pn])return}else i&&(t[Wn]&&(n.value.now=Date.now()),t[Un].unshiftNode(n));return e.value}},Kn=(t,e)=>{if(!e||!e.maxAge&&!t[Mn])return!1;const i=Date.now()-e.now;return e.maxAge?i>e.maxAge:t[Mn]&&i>t[Mn]},Yn=t=>{if(t[Nn]>t[$n])for(let e=t[Un].tail;t[Nn]>t[$n]&&null!==e;){const i=e.prev;Jn(t,e),e=i}},Jn=(t,e)=>{if(e){const i=e.value;t[zn]&&t[zn](i.key,i.value),t[Nn]-=i.length,t[Gn].delete(i.key),t[Un].removeNode(e)}};class Zn{constructor(t,e,i,n,r){this.key=t,this.value=e,this.length=i,this.now=n,this.maxAge=r||0}}const Qn=(t,e,i,n)=>{let r=i.value;Kn(t,r)&&(Jn(t,i),t[Pn]||(r=void 0)),r&&e.call(n,r.value,r.key,t)};var Xn=class{constructor(t){if("number"==typeof t&&(t={max:t}),t||(t={}),t.max&&("number"!=typeof t.max||t.max<0))throw new TypeError("max must be a non-negative number");this[$n]=t.max||1/0;const e=t.length||Hn;if(this[Ln]="function"!=typeof e?Hn:e,this[Pn]=t.stale||!1,t.maxAge&&"number"!=typeof t.maxAge)throw new TypeError("maxAge must be a number");this[Mn]=t.maxAge||0,this[zn]=t.dispose,this[qn]=t.noDisposeOnSet||!1,this[Wn]=t.updateAgeOnGet||!1,this.reset()}set max(t){if("number"!=typeof t||t<0)throw new TypeError("max must be a non-negative number");this[$n]=t||1/0,Yn(this)}get max(){return this[$n]}set allowStale(t){this[Pn]=!!t}get allowStale(){return this[Pn]}set maxAge(t){if("number"!=typeof t)throw new TypeError("maxAge must be a non-negative number");this[Mn]=t,Yn(this)}get maxAge(){return this[Mn]}set lengthCalculator(t){"function"!=typeof t&&(t=Hn),t!==this[Ln]&&(this[Ln]=t,this[Nn]=0,this[Un].forEach((t=>{t.length=this[Ln](t.value,t.key),this[Nn]+=t.length}))),Yn(this)}get lengthCalculator(){return this[Ln]}get length(){return this[Nn]}get itemCount(){return this[Un].length}rforEach(t,e){e=e||this;for(let i=this[Un].tail;null!==i;){const n=i.prev;Qn(this,t,i,e),i=n}}forEach(t,e){e=e||this;for(let i=this[Un].head;null!==i;){const n=i.next;Qn(this,t,i,e),i=n}}keys(){return this[Un].toArray().map((t=>t.key))}values(){return this[Un].toArray().map((t=>t.value))}reset(){this[zn]&&this[Un]&&this[Un].length&&this[Un].forEach((t=>this[zn](t.key,t.value))),this[Gn]=new Map,this[Un]=new In,this[Nn]=0}dump(){return this[Un].map((t=>!Kn(this,t)&&{k:t.key,v:t.value,e:t.now+(t.maxAge||0)})).toArray().filter((t=>t))}dumpLru(){return this[Un]}set(t,e,i){if((i=i||this[Mn])&&"number"!=typeof i)throw new TypeError("maxAge must be a number");const n=i?Date.now():0,r=this[Ln](e,t);if(this[Gn].has(t)){if(r>this[$n])return Jn(this,this[Gn].get(t)),!1;const s=this[Gn].get(t).value;return this[zn]&&(this[qn]||this[zn](t,s.value)),s.now=n,s.maxAge=i,s.value=e,this[Nn]+=r-s.length,s.length=r,this.get(t),Yn(this),!0}const s=new Zn(t,e,r,n,i);return s.length>this[$n]?(this[zn]&&this[zn](t,e),!1):(this[Nn]+=s.length,this[Un].unshift(s),this[Gn].set(t,this[Un].head),Yn(this),!0)}has(t){if(!this[Gn].has(t))return!1;const e=this[Gn].get(t).value;return!Kn(this,e)}get(t){return Vn(this,t,!0)}peek(t){return Vn(this,t,!1)}pop(){const t=this[Un].tail;return t?(Jn(this,t),t.value):null}del(t){Jn(this,this[Gn].get(t))}load(t){this.reset();const e=Date.now();for(let i=t.length-1;i>=0;i--){const n=t[i],r=n.e||0;if(0===r)this.set(n.k,n.v);else{const t=r-e;t>0&&this.set(n.k,n.v,t)}}}prune(){this[Gn].forEach(((t,e)=>Vn(this,e,!1)))}},tr=p,er=xn,ir=yn.exports=Cn,nr=new Xn({max:1e3}),rr={"git+ssh:":"sshurl","git+https:":"https","ssh:":"sshurl","git:":"git"};var sr={"git:":!0,"https:":!0,"git+https:":!0,"http:":!0,"git+http:":!0};yn.exports.fromUrl=function(t,e){if("string"==typeof t){var i=t+JSON.stringify(e||{});return nr.has(i)||nr.set(i,function(t,e){if(null==t||""===t)return;var i=function(t){var e=tr.parse(t);return"gist:"===e.protocol&&e.host&&!e.path?e.protocol+"/"+e.host:t}((o=t,/^[^:@%/\s.-][^:@%/\s]*[/][^:@\s/%]+(?:#.*)?$/.test(o)?"github:"+t:t)),n=function(t){var e=t.match(/^([^@]+)@([^:/]+):[/]?((?:[^/]+[/])?[^/]+?)(?:[.]git)?(#.*)?$/);if(!e){var i=tr.parse(t);if(i.auth){const e=t.match(/[^@]+@[^:/]+/);if(e){var n=new tr.URL(e[0]);i.auth=n.username||"",n.password&&(i.auth+=":"+n.password)}}return i}return{protocol:"git+ssh:",slashes:!0,auth:e[1],host:e[2],port:null,hostname:e[2],hash:e[4],search:null,query:null,pathname:"/"+e[3],path:"/"+e[3],href:"git+ssh://"+e[1]+"@"+e[2]+"/"+e[3]+(e[4]||"")}}(i),r=i.match(/^([^:]+):(?:[^@]+@)?(?:([^/]*)\/)?([^#]+)/),s=Object.keys(er).map((function(t){try{var i=er[t],s=null;n.auth&&sr[n.protocol]&&(s=n.auth);var o=n.hash?decodeURIComponent(n.hash.substr(1)):null,a=null,u=null,l=null;if(r&&r[1]===t)a=r[2]&&decodeURIComponent(r[2]),u=decodeURIComponent(r[3].replace(/\.git$/,"")),l="shortcut";else{if(n.host&&n.host!==i.domain&&n.host.replace(/^www[.]/,"")!==i.domain)return;if(!i.protocols_re.test(n.protocol))return;if(!n.path)return;var c=i.pathmatch,h=n.path.match(c);if(!h)return;null!==h[1]&&void 0!==h[1]&&(a=decodeURIComponent(h[1].replace(/^:/,""))),u=decodeURIComponent(h[2]),l=function(t){return rr[t]||t.slice(0,-1)}(n.protocol)}return new ir(t,a,s,u,o,l,e)}catch(t){if(!(t instanceof URIError))throw t}})).filter((function(t){return t}));var o;if(1!==s.length)return;return s[0]}(t,e)),nr.get(i)}};var or=yn.exports;const ar=a,ur=h,lr=o;const cr=a,hr=h,pr=o,fr=c,dr=Pi,gr=function(t,e){"string"!=typeof t&&(e=t,t=null);let i,n=Object.assign({cwd:process.cwd(),type:t},e);if(i="global"===n.type?lr.join(ur.homedir(),".gitconfig"):lr.resolve(n.cwd,".git/config"),!ar.existsSync(i)){if("string"==typeof n.type)return null;i=lr.join(ur.homedir(),".config/git/config")}return ar.existsSync(i)?i:null},mr=t=>t?t.replace(/^~/,hr.homedir()):"",yr=(t,e)=>("function"==typeof t&&(e=t,t=null),"function"!=typeof e?yr.promise(t):yr.promise(t).then((t=>e(null,t))).catch(e));function br(t,e){let i=Object.assign({},e);t=t.replace(/\[(\S+) "(.*)"\]/g,((t,e,i)=>e&&i?`[${e} "${i.split(".").join("\\.")}"]`:t));let n=dr.parse(t);return!0===i.expandKeys?yr.expandKeys(n):n}function wr(t,e){let i=t.split("\n").filter((t=>""!==t.trim())),n=i.length,r=[];for(let t=0;t{let e=yr.resolveConfigPath(t),i=fr.promisify(cr.readFile),n=fr.promisify(cr.stat);return e?n(e).then((()=>i(e,"utf8"))).then((i=>(t&&!0===t.include&&(i=wr(i,pr.resolve(pr.dirname(e)))),br(i,t)))):Promise.resolve(null)},yr.sync=t=>{let e=yr.resolveConfigPath(t);if(e&&cr.existsSync(e)){let i=cr.readFileSync(e,"utf8");if(t&&!0===t.include){i=wr(i,pr.resolve(pr.dirname(e)))}return br(i,t)}return{}},yr.resolveConfigPath=t=>{"string"==typeof t&&(t={type:t});const e=Object.assign({cwd:process.cwd()},t),i=e.path?mr(e.path):gr(e.type);return i?pr.resolve(e.cwd,i):null},yr.resolve=t=>yr.resolveConfigPath(t),yr.expandKeys=t=>{for(let e of Object.keys(t)){let i=/(\S+) "(.*)"/.exec(e);if(!i)continue;let n=i[1];t[n]=t[n]||{},t[n][i[2]]=t[e],delete t[e]}return t};const vr=yr,Dr=(t,e)=>{"function"==typeof t&&(e=t,t=null),"string"==typeof t&&(t={path:t});let i=Dr.promise(t);if("function"!=typeof e)return i;i.then((t=>e(null,t))).catch(e)};function kr(t){if(t.hasOwnProperty('remote "origin"'))return'remote "origin"';return Object.keys(t).find((t=>/^remote /.test(t)))}Dr.promise=t=>new Promise(((e,i)=>{vr(t,((t,n)=>{if(t)return void i("ENOENT"!==t.code?t:void 0);let r=n[kr(n)];e(r?r.url:void 0)}))})),Dr.sync=t=>{"string"==typeof t&&(t={path:t});let e=vr.sync(t);if(e){let t=e[kr(e)];return t?t.url:void 0}};var Er=Dr;const xr=/(^|[/.])([/.]|$)|^@$|@{|[\x00-\x20\x7f~^:?*[\\]|\.lock(\/|$)/;var Ar=function(t,e){if("string"!=typeof t)throw new TypeError("Reference name must be a string");return!xr.test(t)&&(!!e||t.includes("/"))};const Fr=Ar,Cr=/^(-|HEAD$)/;var Sr=function(t){return Fr(t,!0)&&!Cr.test(t)},_r={exports:{}},jr={},Or=process.nextTick.bind(process),Br=jr.fromCallback=function(t,e){if(void 0===t){var i=new Promise((function(e,i){t=function(t,n){t?i(t):e(n)}}));t[void 0!==e?e:"promise"]=i}else if("function"!=typeof t)throw new TypeError("Callback must be a function");return t};jr.fromPromise=function(t,e){if(void 0===e)return t;t.then((function(t){Or((()=>e(null,t)))})).catch((function(t){Or((()=>e(t)))}))};const Tr=dn,Rr=jr.fromCallback,Ir=o,$r=a;function Nr(t,e){const i=/^gitdir:\s*([^\s]+)$/im.exec(e);return null!==i?Ir.resolve(t,"..",i[1]):null}_r.exports=function t(e,i,n){return"function"==typeof e?t(null,null,e):"function"==typeof i?t(e,null,i):(e=e||".",n=Rr(n),i?Tr(".git",e,r):r(null,Ir.resolve(e,".git")),n.promise);function r(t,e){return t?n(t):e?void $r.readFile(e,"utf8",(function(t,i){if(t)return"ENOENT"===t.code?n(null,null):"EISDIR"===t.code?n(null,e):n(t);n(null,Nr(e,i))})):n(null,null)}},_r.exports.sync=function(t,e){let i,n;if(t=t||".",i=e?Tr.sync(".git",t):Ir.resolve(t,".git"),!i)return null;try{n=$r.readFileSync(i,"utf8")}catch(t){if("ENOENT"===t.code)return null;if("EISDIR"===t.code)return i;throw t}return Nr(i,n)};var Lr=_r.exports;!function(t){const e=or,i=Er,n=Ar,r=Sr,s=Lr,u=dn,l=o,c=a,h=Symbol("shell"),p=Symbol("nut"),f=Symbol("raw"),d=Symbol("format"),g=Symbol("stop"),m=Symbol("defaultBranch"),y=new Set(["shortcut","slug","https","ssh","sshurl","git"]),b=Object.seal({});function w(t,e){return".git"===l.basename(t)?t:s.sync(t,e)}function v(t){return i.sync({cwd:t,path:"config"})}function D(t){return null!=t?t:b}function k(t,i){if(!t){if(i.optional)return null;throw new Error("Unable to find git host")}const n={__cacheBuster:i},r=e.fromUrl(t,n);if(!r){if(i.optional)return i[g]||null;throw new Error(`Unable to parse git host URL ${B(t)}`)}return null==r[h]&&_(r,h,new E(t,r,i)),r[h]}t.fromUrl=function(t,e){return e=D(e),k(j(t,"URL"),e)},t.fromDir=function(e,i){e=l.resolve(j(e,"Path"));const n=!!(i=D(i)).roam,r={...i,roam:!1,optional:!0,[g]:g};let s,o=e,a=null;do{let e=t.fromPkg(o,r);if(e===g)break;if(null!=e)return e;if(null==a){if(a=w(o,r.roam),e=k(a?v(a):null,r),e===g)break;if(null!=e)return e}s=o,o=l.dirname(o)}while(n&&o!==s);if(i.optional)return null;throw new Error(`Unable to find git host in directory ${B(e)}`)},t.fromPkg=function(t,e){if(e=D(e),"string"==typeof t&&(t=function(t,e){const i="package.json",n=e.roam?u.sync(i,t):l.join(t,i),r=n?function(t){try{return c.readFileSync(t,"utf8")}catch(t){if("ENOENT"!==t.code)throw t}}(n):null;return r?JSON.parse(r):null}(j(t,"Path"),e)),null!=t&&null!=t.repository){if("string"==typeof t.repository){return k(j(t.repository,"The repository in package.json"),e)}if("object"==typeof t.repository){const{type:i,url:n}=t.repository;if(null!=i&&"git"!==i)throw new Error(`The repository type in package.json is unsupported: ${B(i)}`);return k(j(n,"The repository url in package.json"),e)}{const e="a string or object",i=O(t.repository);throw new TypeError(`The repository in package.json must be ${e}, got ${i}`)}}return k(null,e)},t.fromGit=function(t,e){const i=w(t,!!(e=D(e)).roam);return k(i?v(i):null,e)};class E{constructor(t,e,i){_(this,f,t),_(this,p,e),_(this,d,function(t,e){return"shortcut"===e.default&&t.startsWith(e.user)?"slug":"sshurl"===e.default&&t.startsWith("git@")?"ssh":"http"===e.default?"https":e.default||"ssh"}(t,e)),_(this,m,i.defaultBranch?C(i.defaultBranch):"main"),this.type=e.type,this.owner=e.user,this.name=e.project,this.committish=A(e,i)||null}get raw(){return this[f]}get format(){return this[d]}get hostname(){return this[p].domain}file(t,e){return t=S(t,"File path"),this[p].file(t,{committish:x(this,e)})}shortcut(t){return this[p].shortcut({committish:A(this,t)})}slug(t){const e=A(this,t);return e?`${this.owner}/${this.name}#${e}`:`${this.owner}/${this.name}`}homepage(){return this[p].browse({committish:""})}browse(t,e,i){return"object"==typeof t&&null!==t?this.browse(null,null,t):"object"==typeof e&&null!==e?this.browse(t,null,e):(t=t?S(t,"Browse path"):"",e=e?j(e,"Browse fragment"):"",this[p].browse(t,e,{committish:x(this,i)}).replace(/\/$/,""))}bugs(){return this[p].bugs()}https(t){return this[p].https({noGitPlus:!0,committish:A(this,t)})}ssh(t){return this[p].ssh({committish:A(this,t)})}sshurl(t){return this[p].sshurl({noGitPlus:!0,committish:A(this,t)})}git(t){return this.https(t).replace(/^(git\+)?https:/,"git:")}tarball(t){return this[p].tarball({committish:x(this,t)})}toString(t){const e=t&&t.format||this.format;if(!y.has(e)){const t=Array.from(y).map((t=>JSON.stringify(t))).join(", "),i=O(e);throw new Error("Format must be one of "+t+", got "+i)}return this[e](t)}}function x(t,e){return(e=e||b).committish?F(e.committish):t.committish&&!1!==e.committish?t.committish:e.defaultBranch?C(e.defaultBranch):t[m]}function A(t,e){return void 0!==(e=e||b).committish?e.committish?F(e.committish):"":t.committish||""}function F(t){if("string"!=typeof t)throw new TypeError("Committish must be a string, got "+O(t));if(!n(t,!0))throw new TypeError("Committish must be a valid git reference name");return t}function C(t){if("string"!=typeof t)throw new TypeError("Default branch must be a string, got "+O(t));if(!r(t))throw new TypeError("Default branch must be a valid git branch name");return t}function S(t,e){if(j(t,e),t.includes(".."))throw new Error(`${e} ${B(t)} is unsafe`);return t.replace(/\\/g,"/").replace(/\/+/g,"/")}function _(t,e,i){Object.defineProperty(t,e,{value:i,enumerable:!1})}function j(t,e){if("string"!=typeof t||""===t)throw new TypeError(`${e} must be a non-empty string, got ${O(t)}`);return t}function O(t){return void 0===t?"undefined":`${typeof t} ${B(t)}`}function B(t){return JSON.stringify(t)}}(mn);var Pr=q(mn);function Mr(t){const e={true:0,false:0,null:0};return t&&(Array.isArray(t)?i(t):n(t)),{fatal:e.true,nonfatal:e.false+e.null,warn:e.false,info:e.null,total:e.true+e.false+e.null};function i(t){let e=-1;for(;++ee.length;let o;s&&e.push(n);try{o=t.apply(this,e)}catch(t){if(s&&i)throw t;return n(t)}s||(o&&o.then&&"function"==typeof o.then?o.then(r,n):o instanceof Error?n(o):r(o))};function n(t,...n){i||(i=!0,e(t,...n))}function r(t){n(null,t)}}var Ur={},Gr={},Wr={},Hr={};const Vr=Symbol.for("yaml.alias"),Kr=Symbol.for("yaml.document"),Yr=Symbol.for("yaml.map"),Jr=Symbol.for("yaml.pair"),Zr=Symbol.for("yaml.scalar"),Qr=Symbol.for("yaml.seq"),Xr=Symbol.for("yaml.node.type"),ts=t=>!!t&&"object"==typeof t&&t[Xr]===Zr;function es(t){if(t&&"object"==typeof t)switch(t[Xr]){case Yr:case Qr:return!0}return!1}Hr.ALIAS=Vr,Hr.DOC=Kr,Hr.MAP=Yr,Hr.NODE_TYPE=Xr,Hr.PAIR=Jr,Hr.SCALAR=Zr,Hr.SEQ=Qr,Hr.hasAnchor=t=>(ts(t)||es(t))&&!!t.anchor,Hr.isAlias=t=>!!t&&"object"==typeof t&&t[Xr]===Vr,Hr.isCollection=es,Hr.isDocument=t=>!!t&&"object"==typeof t&&t[Xr]===Kr,Hr.isMap=t=>!!t&&"object"==typeof t&&t[Xr]===Yr,Hr.isNode=function(t){if(t&&"object"==typeof t)switch(t[Xr]){case Vr:case Yr:case Zr:case Qr:return!0}return!1},Hr.isPair=t=>!!t&&"object"==typeof t&&t[Xr]===Jr,Hr.isScalar=ts,Hr.isSeq=t=>!!t&&"object"==typeof t&&t[Xr]===Qr;var is={},ns=Hr;const rs=Symbol("break visit"),ss=Symbol("skip children"),os=Symbol("remove node");function as(t,e){const i=hs(e);if(ns.isDocument(t)){us(null,t.contents,i,Object.freeze([t]))===os&&(t.contents=null)}else us(null,t,i,Object.freeze([]))}function us(t,e,i,n){const r=ps(t,e,i,n);if(ns.isNode(r)||ns.isPair(r))return fs(t,n,r),us(t,r,i,n);if("symbol"!=typeof r)if(ns.isCollection(e)){n=Object.freeze(n.concat(e));for(let t=0;t"!==t[t.length-1]&&e("Verbatim tags must end with a >"),i)}const[,i,n]=t.match(/^(.*!)([^!]*)$/s);n||e(`The ${t} tag has no suffix`);const r=this.tags[i];if(r)try{return r+decodeURIComponent(n)}catch(t){return e(String(t)),null}return"!"===i?t:(e(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[e,i]of Object.entries(this.tags))if(t.startsWith(i))return e+t.substring(i.length).replace(/[!,[\]{}]/g,(t=>ms[t]));return"!"===t[0]?t:`!<${t}>`}toString(t){const e=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],i=Object.entries(this.tags);let n;if(t&&i.length>0&&ds.isNode(t.contents)){const e={};gs.visit(t.contents,((t,i)=>{ds.isNode(i)&&i.tag&&(e[i.tag]=!0)})),n=Object.keys(e)}else n=[];for(const[r,s]of i)"!!"===r&&"tag:yaml.org,2002:"===s||t&&!n.some((t=>t.startsWith(s)))||e.push(`%TAG ${r} ${s}`);return e.join("\n")}}ys.defaultYaml={explicit:!1,version:"1.2"},ys.defaultTags={"!!":"tag:yaml.org,2002:"},Wr.Directives=ys;var bs={},ws={},vs={},Ds=Hr,ks=is;function Es(t){const e=new Set;return ks.visit(t,{Value(t,i){i.anchor&&e.add(i.anchor)}}),e}function xs(t,e){for(let i=1;;++i){const n=`${t}${i}`;if(!e.has(n))return n}}vs.anchorIsValid=function(t){if(/[\x00-\x19\s,[\]{}]/.test(t)){const e=JSON.stringify(t);throw new Error(`Anchor must not contain whitespace or control characters: ${e}`)}return!0},vs.anchorNames=Es,vs.createNodeAnchors=function(t,e){const i=[],n=new Map;let r=null;return{onAnchor:n=>{i.push(n),r||(r=Es(t));const s=xs(e,r);return r.add(s),s},setAnchors:()=>{for(const t of i){const e=n.get(t);if("object"!=typeof e||!e.anchor||!Ds.isScalar(e.node)&&!Ds.isCollection(e.node)){const e=new Error("Failed to resolve repeated object (this should not happen)");throw e.source=t,e}e.node.anchor=e.anchor}},sourceObjects:n}},vs.findNewAnchor=xs;var As={},Fs={};Fs.applyReviver=function t(e,i,n,r){if(r&&"object"==typeof r)if(Array.isArray(r))for(let i=0,n=r.length;it(e,String(i),n)));if(e&&"function"==typeof e.toJSON){if(!n||!Ss.hasAnchor(e))return e.toJSON(i,n);const t={aliasCount:0,count:1,res:void 0};n.anchors.set(e,t),n.onCreate=e=>{t.res=e,delete n.onCreate};const r=e.toJSON(i,n);return n.onCreate&&n.onCreate(r),r}return"bigint"!=typeof e||n?.keep?e:Number(e)};var _s=Fs,js=Hr,Os=Cs;As.NodeBase=class{constructor(t){Object.defineProperty(this,js.NODE_TYPE,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:e,maxAliasCount:i,onAnchor:n,reviver:r}={}){if(!js.isDocument(t))throw new TypeError("A document argument is required");const s={anchors:new Map,doc:t,keep:!0,mapAsMap:!0===e,mapKeyWarned:!1,maxAliasCount:"number"==typeof i?i:100},o=Os.toJS(this,"",s);if("function"==typeof n)for(const{count:t,res:e}of s.anchors.values())n(e,t);return"function"==typeof r?_s.applyReviver(r,{"":o},"",o):o}};var Bs=vs,Ts=is,Rs=Hr,Is=As,$s=Cs;let Ns=class extends Is.NodeBase{constructor(t){super(Rs.ALIAS),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let e;return Ts.visit(t,{Node:(t,i)=>{if(i===this)return Ts.visit.BREAK;i.anchor===this.source&&(e=i)}}),e}toJSON(t,e){if(!e)return{source:this.source};const{anchors:i,doc:n,maxAliasCount:r}=e,s=this.resolve(n);if(!s){const t=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(t)}let o=i.get(s);if(o||($s.toJS(s,null,e),o=i.get(s)),!o||void 0===o.res){throw new ReferenceError("This should not happen: Alias anchor was not resolved?")}if(r>=0&&(o.count+=1,0===o.aliasCount&&(o.aliasCount=Ls(n,s,i)),o.count*o.aliasCount>r)){throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack")}return o.res}toString(t,e,i){const n=`*${this.source}`;if(t){if(Bs.anchorIsValid(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const t=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(t)}if(t.implicitKey)return`${n} `}return n}};function Ls(t,e,i){if(Rs.isAlias(e)){const n=e.resolve(t),r=i&&n&&i.get(n);return r?r.count*r.aliasCount:0}if(Rs.isCollection(e)){let n=0;for(const r of e.items){const e=Ls(t,r,i);e>n&&(n=e)}return n}if(Rs.isPair(e)){const n=Ls(t,e.key,i),r=Ls(t,e.value,i);return Math.max(n,r)}return 1}ws.Alias=Ns;var Ps={},Ms={},zs={},qs=Hr,Us=As,Gs=Cs;let Ws=class extends Us.NodeBase{constructor(t){super(qs.SCALAR),this.value=t}toJSON(t,e){return e?.keep?this.value:Gs.toJS(this.value,t,e)}toString(){return String(this.value)}};Ws.BLOCK_FOLDED="BLOCK_FOLDED",Ws.BLOCK_LITERAL="BLOCK_LITERAL",Ws.PLAIN="PLAIN",Ws.QUOTE_DOUBLE="QUOTE_DOUBLE",Ws.QUOTE_SINGLE="QUOTE_SINGLE",zs.Scalar=Ws,zs.isScalarValue=t=>!t||"function"!=typeof t&&"object"!=typeof t;var Hs=ws,Vs=Hr,Ks=zs;Ms.createNode=function(t,e,i){if(Vs.isDocument(t)&&(t=t.contents),Vs.isNode(t))return t;if(Vs.isPair(t)){const e=i.schema[Vs.MAP].createNode?.(i.schema,null,i);return e.items.push(t),e}(t instanceof String||t instanceof Number||t instanceof Boolean||"undefined"!=typeof BigInt&&t instanceof BigInt)&&(t=t.valueOf());const{aliasDuplicateObjects:n,onAnchor:r,onTagObj:s,schema:o,sourceObjects:a}=i;let u;if(n&&t&&"object"==typeof t){if(u=a.get(t),u)return u.anchor||(u.anchor=r(t)),new Hs.Alias(u.anchor);u={anchor:null,node:null},a.set(t,u)}e?.startsWith("!!")&&(e="tag:yaml.org,2002:"+e.slice(2));let l=function(t,e,i){if(e){const t=i.filter((t=>t.tag===e)),n=t.find((t=>!t.format))??t[0];if(!n)throw new Error(`Tag ${e} not found`);return n}return i.find((e=>e.identify?.(t)&&!e.format))}(t,e,o.tags);if(!l){if(t&&"function"==typeof t.toJSON&&(t=t.toJSON()),!t||"object"!=typeof t){const e=new Ks.Scalar(t);return u&&(u.node=e),e}l=t instanceof Map?o[Vs.MAP]:Symbol.iterator in Object(t)?o[Vs.SEQ]:o[Vs.MAP]}s&&(s(l),delete i.onTagObj);const c=l?.createNode?l.createNode(i.schema,t,i):"function"==typeof l?.nodeClass?.from?l.nodeClass.from(i.schema,t,i):new Ks.Scalar(t);return e?c.tag=e:l.default||(c.tag=l.tag),u&&(u.node=c),c};var Ys=Ms,Js=Hr,Zs=As;function Qs(t,e,i){let n=i;for(let t=e.length-1;t>=0;--t){const i=e[t];if("number"==typeof i&&Number.isInteger(i)&&i>=0){const t=[];t[i]=n,n=t}else n=new Map([[i,n]])}return Ys.createNode(n,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:t,sourceObjects:new Map})}const Xs=t=>null==t||"object"==typeof t&&!!t[Symbol.iterator]().next().done;let to=class extends Zs.NodeBase{constructor(t,e){super(t),Object.defineProperty(this,"schema",{value:e,configurable:!0,enumerable:!1,writable:!0})}clone(t){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(e.schema=t),e.items=e.items.map((e=>Js.isNode(e)||Js.isPair(e)?e.clone(t):e)),this.range&&(e.range=this.range.slice()),e}addIn(t,e){if(Xs(t))this.add(e);else{const[i,...n]=t,r=this.get(i,!0);if(Js.isCollection(r))r.addIn(n,e);else{if(void 0!==r||!this.schema)throw new Error(`Expected YAML collection at ${i}. Remaining path: ${n}`);this.set(i,Qs(this.schema,n,e))}}}deleteIn(t){const[e,...i]=t;if(0===i.length)return this.delete(e);const n=this.get(e,!0);if(Js.isCollection(n))return n.deleteIn(i);throw new Error(`Expected YAML collection at ${e}. Remaining path: ${i}`)}getIn(t,e){const[i,...n]=t,r=this.get(i,!0);return 0===n.length?!e&&Js.isScalar(r)?r.value:r:Js.isCollection(r)?r.getIn(n,e):void 0}hasAllNullValues(t){return this.items.every((e=>{if(!Js.isPair(e))return!1;const i=e.value;return null==i||t&&Js.isScalar(i)&&null==i.value&&!i.commentBefore&&!i.comment&&!i.tag}))}hasIn(t){const[e,...i]=t;if(0===i.length)return this.has(e);const n=this.get(e,!0);return!!Js.isCollection(n)&&n.hasIn(i)}setIn(t,e){const[i,...n]=t;if(0===n.length)this.set(i,e);else{const t=this.get(i,!0);if(Js.isCollection(t))t.setIn(n,e);else{if(void 0!==t||!this.schema)throw new Error(`Expected YAML collection at ${i}. Remaining path: ${n}`);this.set(i,Qs(this.schema,n,e))}}}};to.maxFlowStringSingleLineLength=60,Ps.Collection=to,Ps.collectionFromPath=Qs,Ps.isEmptyPath=Xs;var eo={},io={},no={},ro={};function so(t,e){return/^\n+$/.test(t)?t.substring(1):e?t.replace(/^(?! *$)/gm,e):t}ro.indentComment=so,ro.lineComment=(t,e,i)=>t.endsWith("\n")?so(i,e):i.includes("\n")?"\n"+so(i,e):(t.endsWith(" ")?"":" ")+i,ro.stringifyComment=t=>t.replace(/^(?!$)(?: $)?/gm,"#");var oo={},ao={};const uo="block",lo="quoted";function co(t,e,i){let n=e,r=e+1,s=t[r];for(;" "===s||"\t"===s;)if(er-Math.max(2,s)?l.push(0):f=r-n);let d=!1,g=-1,m=-1,y=-1;i===uo&&(g=co(t,g,e.length),-1!==g&&(f=g+u));for(let n;n=t[g+=1];){if(i===lo&&"\\"===n){switch(m=g,t[g+1]){case"x":g+=3;break;case"u":g+=5;break;case"U":g+=9;break;default:g+=1}y=g}if("\n"===n)i===uo&&(g=co(t,g,e.length)),f=g+e.length+u,h=void 0;else{if(" "===n&&p&&" "!==p&&"\n"!==p&&"\t"!==p){const e=t[g+1];e&&" "!==e&&"\n"!==e&&"\t"!==e&&(h=g)}if(g>=f)if(h)l.push(h),f=h+u,h=void 0;else if(i===lo){for(;" "===p||"\t"===p;)p=n,n=t[g+=1],d=!0;const e=g>y+1?g-2:m-1;if(c[e])return t;l.push(e),c[e]=!0,f=e+u,h=void 0}else d=!0}p=n}if(d&&a&&a(),0===l.length)return t;o&&o();let b=t.slice(0,l[0]);for(let n=0;n({indentAtStart:e?t.indent.length:t.indentAtStart,lineWidth:t.options.lineWidth,minContentWidth:t.options.minContentWidth}),go=t=>/^(%|---|\.\.\.)/m.test(t);function mo(t,e){const i=JSON.stringify(t);if(e.options.doubleQuotedAsJSON)return i;const{implicitKey:n}=e,r=e.options.doubleQuotedMinMultiLineLength,s=e.indent||(go(t)?" ":"");let o="",a=0;for(let t=0,e=i[t];e;e=i[++t])if(" "===e&&"\\"===i[t+1]&&"n"===i[t+2]&&(o+=i.slice(a,t)+"\\ ",t+=1,a=t,e="\\"),"\\"===e)switch(i[t+1]){case"u":{o+=i.slice(a,t);const e=i.substr(t+2,4);switch(e){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:"00"===e.substr(0,2)?o+="\\x"+e.substr(2):o+=i.substr(t,6)}t+=5,a=t+1}break;case"n":if(n||'"'===i[t+2]||i.lengthn)return!0;if(i=e+1,r-i<=n)return!1}return!0}(i,u,l.length));if(!i)return c?"|\n":">\n";let h,p;for(p=i.length;p>0;--p){const t=i[p-1];if("\n"!==t&&"\t"!==t&&" "!==t)break}let f=i.substring(p);const d=f.indexOf("\n");-1===d?h="-":i===f||d!==f.length-1?(h="+",s&&s()):h="",f&&(i=i.slice(0,-f.length),"\n"===f[f.length-1]&&(f=f.slice(0,-1)),f=f.replace(wo,`$&${l}`));let g,m=!1,y=-1;for(g=0;g")+(m?l?"2":"1":"")+h;if(t&&(w+=" "+a(t.replace(/ ?[\r\n]+/g," ")),r&&r()),c)return`${w}\n${l}${b}${i=i.replace(/\n+/g,`$&${l}`)}${f}`;i=i.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${l}`);return`${w}\n${l}${po.foldFlowLines(`${b}${i}${f}`,l,po.FOLD_BLOCK,fo(n,!0))}`}oo.stringifyString=function(t,e,i,n){const{implicitKey:r,inFlow:s}=e,o="string"==typeof t.value?t:Object.assign({},t,{value:String(t.value)});let{type:a}=t;a!==ho.Scalar.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(a=ho.Scalar.QUOTE_DOUBLE);const u=t=>{switch(t){case ho.Scalar.BLOCK_FOLDED:case ho.Scalar.BLOCK_LITERAL:return r||s?bo(o.value,e):vo(o,e,i,n);case ho.Scalar.QUOTE_DOUBLE:return mo(o.value,e);case ho.Scalar.QUOTE_SINGLE:return yo(o.value,e);case ho.Scalar.PLAIN:return function(t,e,i,n){const{type:r,value:s}=t,{actualString:o,implicitKey:a,indent:u,indentStep:l,inFlow:c}=e;if(a&&s.includes("\n")||c&&/[[\]{},]/.test(s))return bo(s,e);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return a||c||!s.includes("\n")?bo(s,e):vo(t,e,i,n);if(!a&&!c&&r!==ho.Scalar.PLAIN&&s.includes("\n"))return vo(t,e,i,n);if(go(s)){if(""===u)return e.forceBlockIndent=!0,vo(t,e,i,n);if(a&&u===l)return bo(s,e)}const h=s.replace(/\n+/g,`$&\n${u}`);if(o){const t=t=>t.default&&"tag:yaml.org,2002:str"!==t.tag&&t.test?.test(h),{compat:i,tags:n}=e.doc.schema;if(n.some(t)||i?.some(t))return bo(s,e)}return a?h:po.foldFlowLines(h,u,po.FOLD_FLOW,fo(e,!1))}(o,e,i,n);default:return null}};let l=u(a);if(null===l){const{defaultKeyType:t,defaultStringType:i}=e.options,n=r&&t||i;if(l=u(n),null===l)throw new Error(`Unsupported default string type ${n}`)}return l};var Do=vs,ko=Hr,Eo=ro,xo=oo;no.createStringifyContext=function(t,e){const i=Object.assign({blockQuote:!0,commentString:Eo.stringifyComment,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},t.schema.toStringOptions,e);let n;switch(i.collectionStyle){case"block":n=!1;break;case"flow":n=!0;break;default:n=null}return{anchors:new Set,doc:t,flowCollectionPadding:i.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof i.indent?" ".repeat(i.indent):" ",inFlow:n,options:i}},no.stringify=function(t,e,i,n){if(ko.isPair(t))return t.toString(e,i,n);if(ko.isAlias(t)){if(e.doc.directives)return t.toString(e);if(e.resolvedAliases?.has(t))throw new TypeError("Cannot stringify circular structure without alias nodes");e.resolvedAliases?e.resolvedAliases.add(t):e.resolvedAliases=new Set([t]),t=t.resolve(e.doc)}let r;const s=ko.isNode(t)?t:e.doc.createNode(t,{onTagObj:t=>r=t});r||(r=function(t,e){if(e.tag){const i=t.filter((t=>t.tag===e.tag));if(i.length>0)return i.find((t=>t.format===e.format))??i[0]}let i,n;if(ko.isScalar(e)){n=e.value;const r=t.filter((t=>t.identify?.(n)));i=r.find((t=>t.format===e.format))??r.find((t=>!t.format))}else n=e,i=t.find((t=>t.nodeClass&&n instanceof t.nodeClass));if(!i)throw new Error(`Tag not resolved for ${n?.constructor?.name??typeof n} value`);return i}(e.doc.schema.tags,s));const o=function(t,e,{anchors:i,doc:n}){if(!n.directives)return"";const r=[],s=(ko.isScalar(t)||ko.isCollection(t))&&t.anchor;s&&Do.anchorIsValid(s)&&(i.add(s),r.push(`&${s}`));const o=t.tag?t.tag:e.default?null:e.tag;return o&&r.push(n.directives.tagString(o)),r.join(" ")}(s,r,e);o.length>0&&(e.indentAtStart=(e.indentAtStart??0)+o.length+1);const a="function"==typeof r.stringify?r.stringify(s,e,i,n):ko.isScalar(s)?xo.stringifyString(s,e,i,n):s.toString(e,i,n);return o?ko.isScalar(s)||"{"===a[0]||"["===a[0]?`${o} ${a}`:`${o}\n${e.indent}${a}`:a};var Ao=Hr,Fo=zs,Co=no,So=ro;io.stringifyPair=function({key:t,value:e},i,n,r){const{allNullValues:s,doc:o,indent:a,indentStep:u,options:{commentString:l,indentSeq:c,simpleKeys:h}}=i;let p=Ao.isNode(t)&&t.comment||null;if(h){if(p)throw new Error("With simple keys, key nodes cannot have comments");if(Ao.isCollection(t)){throw new Error("With simple keys, collection cannot be used as a key value")}}let f=!h&&(!t||p&&null==e&&!i.inFlow||Ao.isCollection(t)||(Ao.isScalar(t)?t.type===Fo.Scalar.BLOCK_FOLDED||t.type===Fo.Scalar.BLOCK_LITERAL:"object"==typeof t));i=Object.assign({},i,{allNullValues:!1,implicitKey:!f&&(h||!s),indent:a+u});let d,g,m,y=!1,b=!1,w=Co.stringify(t,i,(()=>y=!0),(()=>b=!0));if(!f&&!i.inFlow&&w.length>1024){if(h)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");f=!0}if(i.inFlow){if(s||null==e)return y&&n&&n(),""===w?"?":f?`? ${w}`:w}else if(s&&!h||null==e&&f)return w=`? ${w}`,p&&!y?w+=So.lineComment(w,i.indent,l(p)):b&&r&&r(),w;y&&(p=null),f?(p&&(w+=So.lineComment(w,i.indent,l(p))),w=`? ${w}\n${a}:`):(w=`${w}:`,p&&(w+=So.lineComment(w,i.indent,l(p)))),Ao.isNode(e)?(d=!!e.spaceBefore,g=e.commentBefore,m=e.comment):(d=!1,g=null,m=null,e&&"object"==typeof e&&(e=o.createNode(e))),i.implicitKey=!1,f||p||!Ao.isScalar(e)||(i.indentAtStart=w.length+1),b=!1,c||!(u.length>=2)||i.inFlow||f||!Ao.isSeq(e)||e.flow||e.tag||e.anchor||(i.indent=i.indent.substring(2));let v=!1;const D=Co.stringify(e,i,(()=>v=!0),(()=>b=!0));let k=" ";if(p||d||g){if(k=d?"\n":"",g){const t=l(g);k+=`\n${So.indentComment(t,i.indent)}`}""!==D||i.inFlow?k+=`\n${i.indent}`:"\n"===k&&(k="\n\n")}else if(!f&&Ao.isCollection(e)){const t=D[0],n=D.indexOf("\n"),r=-1!==n,s=i.inFlow??e.flow??0===e.items.length;if(r||!s){let e=!1;if(r&&("&"===t||"!"===t)){let i=D.indexOf(" ");"&"===t&&-1!==i&&i"<<"===t||To.isScalar(t)&&"<<"===t.value&&(!t.type||t.type===Ro.Scalar.PLAIN);function No(t,e,i){const n=t&&To.isAlias(i)?i.resolve(t.doc):i;if(!To.isMap(n))throw new Error("Merge sources must be maps or map aliases");const r=n.toJSON(null,t,Map);for(const[t,i]of r)e instanceof Map?e.has(t)||e.set(t,i):e instanceof Set?e.add(t):Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{value:i,writable:!0,enumerable:!0,configurable:!0});return e}_o.addPairToJSMap=function(t,e,{key:i,value:n}){if(t?.doc.schema.merge&&$o(i))if(n=To.isAlias(n)?n.resolve(t.doc):n,To.isSeq(n))for(const i of n.items)No(t,e,i);else if(Array.isArray(n))for(const i of n)No(t,e,i);else No(t,e,n);else{const r=Io.toJS(i,"",t);if(e instanceof Map)e.set(r,Io.toJS(n,r,t));else if(e instanceof Set)e.add(r);else{const s=function(t,e,i){if(null===e)return"";if("object"!=typeof e)return String(e);if(To.isNode(t)&&i?.doc){const e=Bo.createStringifyContext(i.doc,{});e.anchors=new Set;for(const t of i.anchors.keys())e.anchors.add(t.anchor);e.inFlow=!0,e.inStringifyKey=!0;const n=t.toString(e);if(!i.mapKeyWarned){let t=JSON.stringify(n);t.length>40&&(t=t.substring(0,36)+'..."'),Oo.warn(i.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${t}. Set mapAsMap: true to use object keys.`),i.mapKeyWarned=!0}return n}return JSON.stringify(e)}(i,r,t),o=Io.toJS(n,s,t);s in e?Object.defineProperty(e,s,{value:o,writable:!0,enumerable:!0,configurable:!0}):e[s]=o}}return e};var Lo=Ms,Po=io,Mo=_o,zo=Hr;let qo=class t{constructor(t,e=null){Object.defineProperty(this,zo.NODE_TYPE,{value:zo.PAIR}),this.key=t,this.value=e}clone(e){let{key:i,value:n}=this;return zo.isNode(i)&&(i=i.clone(e)),zo.isNode(n)&&(n=n.clone(e)),new t(i,n)}toJSON(t,e){const i=e?.mapAsMap?new Map:{};return Mo.addPairToJSMap(e,i,this)}toString(t,e,i){return t?.doc?Po.stringifyPair(this,t,e,i):JSON.stringify(this)}};eo.Pair=qo,eo.createPair=function(t,e,i){const n=Lo.createNode(t,void 0,i),r=Lo.createNode(e,void 0,i);return new qo(n,r)};var Uo={},Go={},Wo={},Ho={},Vo=Hr,Ko=no,Yo=ro;function Jo({comment:t,items:e},i,{blockItemPrefix:n,flowChars:r,itemIndent:s,onChompKeep:o,onComment:a}){const{indent:u,options:{commentString:l}}=i,c=Object.assign({},i,{indent:s,type:null});let h=!1;const p=[];for(let t=0;to=null),(()=>h=!0));o&&(a+=Yo.lineComment(a,s,l(o))),h&&o&&(h=!1),p.push(n+a)}let f;if(0===p.length)f=r.start+r.end;else{f=p[0];for(let t=1;ts=null));ic||o.includes("\n"))&&(l=!0),h.push(o),c=h.length}const{start:p,end:f}=i;if(0===h.length)return p+f;if(!l){const t=h.reduce(((t,e)=>t+e.length+2),2);l=e.options.lineWidth>0&&t>e.options.lineWidth}if(l){let t=p;for(const e of h)t+=e?`\n${s}${r}${e}`:"\n";return`${t}\n${r}${f}`}return`${p}${o}${h.join(" ")}${o}${f}`}function Qo({indent:t,options:{commentString:e}},i,n,r){if(n&&r&&(n=n.replace(/^\n+/,"")),n){const r=Yo.indentComment(e(n),t);i.push(r.trimStart())}}Ho.stringifyCollection=function(t,e,i){return(e.inFlow??t.flow?Zo:Jo)(t,e,i)};var Xo=Ho,ta=_o,ea=Ps,ia=Hr,na=eo,ra=zs;function sa(t,e){const i=ia.isScalar(e)?e.value:e;for(const n of t)if(ia.isPair(n)){if(n.key===e||n.key===i)return n;if(ia.isScalar(n.key)&&n.key.value===i)return n}}let oa=class extends ea.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(ia.MAP,t),this.items=[]}static from(t,e,i){const{keepUndefined:n,replacer:r}=i,s=new this(t),o=(t,o)=>{if("function"==typeof r)o=r.call(e,t,o);else if(Array.isArray(r)&&!r.includes(t))return;(void 0!==o||n)&&s.items.push(na.createPair(t,o,i))};if(e instanceof Map)for(const[t,i]of e)o(t,i);else if(e&&"object"==typeof e)for(const t of Object.keys(e))o(t,e[t]);return"function"==typeof t.sortMapEntries&&s.items.sort(t.sortMapEntries),s}add(t,e){let i;i=ia.isPair(t)?t:t&&"object"==typeof t&&"key"in t?new na.Pair(t.key,t.value):new na.Pair(t,t?.value);const n=sa(this.items,i.key),r=this.schema?.sortMapEntries;if(n){if(!e)throw new Error(`Key ${i.key} already set`);ia.isScalar(n.value)&&ra.isScalarValue(i.value)?n.value.value=i.value:n.value=i.value}else if(r){const t=this.items.findIndex((t=>r(i,t)<0));-1===t?this.items.push(i):this.items.splice(t,0,i)}else this.items.push(i)}delete(t){const e=sa(this.items,t);if(!e)return!1;return this.items.splice(this.items.indexOf(e),1).length>0}get(t,e){const i=sa(this.items,t),n=i?.value;return(!e&&ia.isScalar(n)?n.value:n)??void 0}has(t){return!!sa(this.items,t)}set(t,e){this.add(new na.Pair(t,e),!0)}toJSON(t,e,i){const n=i?new i:e?.mapAsMap?new Map:{};e?.onCreate&&e.onCreate(n);for(const t of this.items)ta.addPairToJSMap(e,n,t);return n}toString(t,e,i){if(!t)return JSON.stringify(this);for(const t of this.items)if(!ia.isPair(t))throw new Error(`Map items must all be pairs; found ${JSON.stringify(t)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),Xo.stringifyCollection(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:i,onComment:e})}};Wo.YAMLMap=oa,Wo.findPair=sa;var aa=Hr,ua=Wo;const la={collection:"map",default:!0,nodeClass:ua.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:(t,e)=>(aa.isMap(t)||e("Expected a mapping for this tag"),t),createNode:(t,e,i)=>ua.YAMLMap.from(t,e,i)};Go.map=la;var ca={},ha={},pa=Ms,fa=Ho,da=Ps,ga=Hr,ma=zs,ya=Cs;let ba=class extends da.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(ga.SEQ,t),this.items=[]}add(t){this.items.push(t)}delete(t){const e=wa(t);if("number"!=typeof e)return!1;return this.items.splice(e,1).length>0}get(t,e){const i=wa(t);if("number"!=typeof i)return;const n=this.items[i];return!e&&ga.isScalar(n)?n.value:n}has(t){const e=wa(t);return"number"==typeof e&&e=0?e:null}ha.YAMLSeq=ba;var va=Hr,Da=ha;const ka={collection:"seq",default:!0,nodeClass:Da.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:(t,e)=>(va.isSeq(t)||e("Expected a sequence for this tag"),t),createNode:(t,e,i)=>Da.YAMLSeq.from(t,e,i)};ca.seq=ka;var Ea={},xa=oo;const Aa={identify:t=>"string"==typeof t,default:!0,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify:(t,e,i,n)=>(e=Object.assign({actualString:!0},e),xa.stringifyString(t,e,i,n))};Ea.string=Aa;var Fa={},Ca={},Sa=zs;const _a={identify:t=>null==t,createNode:()=>new Sa.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Sa.Scalar(null),stringify:({source:t},e)=>"string"==typeof t&&_a.test.test(t)?t:e.options.nullStr};Ca.nullTag=_a;var ja={},Oa=zs;const Ba={identify:t=>"boolean"==typeof t,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:t=>new Oa.Scalar("t"===t[0]||"T"===t[0]),stringify({source:t,value:e},i){if(t&&Ba.test.test(t)){if(e===("t"===t[0]||"T"===t[0]))return t}return e?i.options.trueStr:i.options.falseStr}};ja.boolTag=Ba;var Ta={},Ra={};Ra.stringifyNumber=function({format:t,minFractionDigits:e,tag:i,value:n}){if("bigint"==typeof n)return String(n);const r="number"==typeof n?n:Number(n);if(!isFinite(r))return isNaN(r)?".nan":r<0?"-.inf":".inf";let s=JSON.stringify(n);if(!t&&e&&(!i||"tag:yaml.org,2002:float"===i)&&/^\d/.test(s)){let t=s.indexOf(".");t<0&&(t=s.length,s+=".");let i=e-(s.length-t-1);for(;i-- >0;)s+="0"}return s};var Ia=zs,$a=Ra;const Na={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:t=>"nan"===t.slice(-3).toLowerCase()?NaN:"-"===t[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:$a.stringifyNumber},La={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t),stringify(t){const e=Number(t.value);return isFinite(e)?e.toExponential():$a.stringifyNumber(t)}},Pa={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(t){const e=new Ia.Scalar(parseFloat(t)),i=t.indexOf(".");return-1!==i&&"0"===t[t.length-1]&&(e.minFractionDigits=t.length-i-1),e},stringify:$a.stringifyNumber};Ta.float=Pa,Ta.floatExp=La,Ta.floatNaN=Na;var Ma={},za=Ra;const qa=t=>"bigint"==typeof t||Number.isInteger(t),Ua=(t,e,i,{intAsBigInt:n})=>n?BigInt(t):parseInt(t.substring(e),i);function Ga(t,e,i){const{value:n}=t;return qa(n)&&n>=0?i+n.toString(e):za.stringifyNumber(t)}const Wa={identify:t=>qa(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(t,e,i)=>Ua(t,2,8,i),stringify:t=>Ga(t,8,"0o")},Ha={identify:qa,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(t,e,i)=>Ua(t,0,10,i),stringify:za.stringifyNumber},Va={identify:t=>qa(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(t,e,i)=>Ua(t,2,16,i),stringify:t=>Ga(t,16,"0x")};Ma.int=Ha,Ma.intHex=Va,Ma.intOct=Wa;var Ka={},Ya=Ca,Ja=ca,Za=Ea,Qa=ja,Xa=Ta,tu=Ma;const eu=[Go.map,Ja.seq,Za.string,Ya.nullTag,Qa.boolTag,tu.intOct,tu.int,tu.intHex,Xa.floatNaN,Xa.floatExp,Xa.float];Ka.schema=eu;var iu={},nu=zs,ru=ca;function su(t){return"bigint"==typeof t||Number.isInteger(t)}const ou=({value:t})=>JSON.stringify(t),au=[{identify:t=>"string"==typeof t,default:!0,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify:ou},{identify:t=>null==t,createNode:()=>new nu.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:ou},{identify:t=>"boolean"==typeof t,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:t=>"true"===t,stringify:ou},{identify:su,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(t,e,{intAsBigInt:i})=>i?BigInt(t):parseInt(t,10),stringify:({value:t})=>su(t)?t.toString():JSON.stringify(t)},{identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:t=>parseFloat(t),stringify:ou}],uu={default:!0,tag:"",test:/^/,resolve:(t,e)=>(e(`Unresolved plain scalar ${JSON.stringify(t)}`),t)},lu=[Go.map,ru.seq].concat(au,uu);iu.schema=lu;var cu={},hu=zs,pu=oo;const fu={identify:t=>t instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(t,e){if("function"==typeof Buffer)return Buffer.from(t,"base64");if("function"==typeof atob){const e=atob(t.replace(/[\n\r]/g,"")),i=new Uint8Array(e.length);for(let t=0;t1&&e("Each pair must have its own sequence indicator");const t=n.items[0]||new yu.Pair(new bu.Scalar(null));if(n.commentBefore&&(t.key.commentBefore=t.key.commentBefore?`${n.commentBefore}\n${t.key.commentBefore}`:n.commentBefore),n.comment){const e=t.value??t.key;e.comment=e.comment?`${n.comment}\n${e.comment}`:n.comment}n=t}t.items[i]=mu.isPair(n)?n:new yu.Pair(n)}}else e("Expected a sequence for this tag");return t}function Du(t,e,i){const{replacer:n}=i,r=new wu.YAMLSeq(t);r.tag="tag:yaml.org,2002:pairs";let s=0;if(e&&Symbol.iterator in Object(e))for(let t of e){let o,a;if("function"==typeof n&&(t=n.call(e,String(s++),t)),Array.isArray(t)){if(2!==t.length)throw new TypeError(`Expected [key, value] tuple: ${t}`);o=t[0],a=t[1]}else if(t&&t instanceof Object){const e=Object.keys(t);if(1!==e.length)throw new TypeError(`Expected tuple with one key, not ${e.length} keys`);o=e[0],a=t[o]}else o=t;r.items.push(yu.createPair(o,a,i))}return r}const ku={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:vu,createNode:Du};gu.createPairs=Du,gu.pairs=ku,gu.resolvePairs=vu;var Eu=Hr,xu=Cs,Au=Wo,Fu=ha,Cu=gu;class Su extends Fu.YAMLSeq{constructor(){super(),this.add=Au.YAMLMap.prototype.add.bind(this),this.delete=Au.YAMLMap.prototype.delete.bind(this),this.get=Au.YAMLMap.prototype.get.bind(this),this.has=Au.YAMLMap.prototype.has.bind(this),this.set=Au.YAMLMap.prototype.set.bind(this),this.tag=Su.tag}toJSON(t,e){if(!e)return super.toJSON(t);const i=new Map;e?.onCreate&&e.onCreate(i);for(const t of this.items){let n,r;if(Eu.isPair(t)?(n=xu.toJS(t.key,"",e),r=xu.toJS(t.value,n,e)):n=xu.toJS(t,"",e),i.has(n))throw new Error("Ordered maps must not include duplicate keys");i.set(n,r)}return i}static from(t,e,i){const n=Cu.createPairs(t,e,i),r=new this;return r.items=n.items,r}}Su.tag="tag:yaml.org,2002:omap";const _u={collection:"seq",identify:t=>t instanceof Map,nodeClass:Su,default:!1,tag:"tag:yaml.org,2002:omap",resolve(t,e){const i=Cu.resolvePairs(t,e),n=[];for(const{key:t}of i.items)Eu.isScalar(t)&&(n.includes(t.value)?e(`Ordered maps must not include duplicate keys: ${t.value}`):n.push(t.value));return Object.assign(new Su,i)},createNode:(t,e,i)=>Su.from(t,e,i)};du.YAMLOMap=Su,du.omap=_u;var ju={},Ou={},Bu=zs;function Tu({value:t,source:e},i){return e&&(t?Ru:Iu).test.test(e)?e:t?i.options.trueStr:i.options.falseStr}const Ru={identify:t=>!0===t,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Bu.Scalar(!0),stringify:Tu},Iu={identify:t=>!1===t,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new Bu.Scalar(!1),stringify:Tu};Ou.falseTag=Iu,Ou.trueTag=Ru;var $u={},Nu=zs,Lu=Ra;const Pu={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:t=>"nan"===t.slice(-3).toLowerCase()?NaN:"-"===t[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Lu.stringifyNumber},Mu={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t.replace(/_/g,"")),stringify(t){const e=Number(t.value);return isFinite(e)?e.toExponential():Lu.stringifyNumber(t)}},zu={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(t){const e=new Nu.Scalar(parseFloat(t.replace(/_/g,""))),i=t.indexOf(".");if(-1!==i){const n=t.substring(i+1).replace(/_/g,"");"0"===n[n.length-1]&&(e.minFractionDigits=n.length)}return e},stringify:Lu.stringifyNumber};$u.float=zu,$u.floatExp=Mu,$u.floatNaN=Pu;var qu={},Uu=Ra;const Gu=t=>"bigint"==typeof t||Number.isInteger(t);function Wu(t,e,i,{intAsBigInt:n}){const r=t[0];if("-"!==r&&"+"!==r||(e+=1),t=t.substring(e).replace(/_/g,""),n){switch(i){case 2:t=`0b${t}`;break;case 8:t=`0o${t}`;break;case 16:t=`0x${t}`}const e=BigInt(t);return"-"===r?BigInt(-1)*e:e}const s=parseInt(t,i);return"-"===r?-1*s:s}function Hu(t,e,i){const{value:n}=t;if(Gu(n)){const t=n.toString(e);return n<0?"-"+i+t.substr(1):i+t}return Uu.stringifyNumber(t)}const Vu={identify:Gu,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(t,e,i)=>Wu(t,2,2,i),stringify:t=>Hu(t,2,"0b")},Ku={identify:Gu,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(t,e,i)=>Wu(t,1,8,i),stringify:t=>Hu(t,8,"0")},Yu={identify:Gu,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(t,e,i)=>Wu(t,0,10,i),stringify:Uu.stringifyNumber},Ju={identify:Gu,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(t,e,i)=>Wu(t,2,16,i),stringify:t=>Hu(t,16,"0x")};qu.int=Yu,qu.intBin=Vu,qu.intHex=Ju,qu.intOct=Ku;var Zu={},Qu=Hr,Xu=eo,tl=Wo;class el extends tl.YAMLMap{constructor(t){super(t),this.tag=el.tag}add(t){let e;e=Qu.isPair(t)?t:t&&"object"==typeof t&&"key"in t&&"value"in t&&null===t.value?new Xu.Pair(t.key,null):new Xu.Pair(t,null);tl.findPair(this.items,e.key)||this.items.push(e)}get(t,e){const i=tl.findPair(this.items,t);return!e&&Qu.isPair(i)?Qu.isScalar(i.key)?i.key.value:i.key:i}set(t,e){if("boolean"!=typeof e)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof e);const i=tl.findPair(this.items,t);i&&!e?this.items.splice(this.items.indexOf(i),1):!i&&e&&this.items.push(new Xu.Pair(t))}toJSON(t,e){return super.toJSON(t,e,Set)}toString(t,e,i){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),e,i);throw new Error("Set items must all have null values")}static from(t,e,i){const{replacer:n}=i,r=new this(t);if(e&&Symbol.iterator in Object(e))for(let t of e)"function"==typeof n&&(t=n.call(e,t,t)),r.items.push(Xu.createPair(t,null,i));return r}}el.tag="tag:yaml.org,2002:set";const il={collection:"map",identify:t=>t instanceof Set,nodeClass:el,default:!1,tag:"tag:yaml.org,2002:set",createNode:(t,e,i)=>el.from(t,e,i),resolve(t,e){if(Qu.isMap(t)){if(t.hasAllNullValues(!0))return Object.assign(new el,t);e("Set items must all have null values")}else e("Expected a mapping for this tag");return t}};Zu.YAMLSet=el,Zu.set=il;var nl={},rl=Ra;function sl(t,e){const i=t[0],n="-"===i||"+"===i?t.substring(1):t,r=t=>e?BigInt(t):Number(t),s=n.replace(/_/g,"").split(":").reduce(((t,e)=>t*r(60)+r(e)),r(0));return"-"===i?r(-1)*s:s}function ol(t){let{value:e}=t,i=t=>t;if("bigint"==typeof e)i=t=>BigInt(t);else if(isNaN(e)||!isFinite(e))return rl.stringifyNumber(t);let n="";e<0&&(n="-",e*=i(-1));const r=i(60),s=[e%r];return e<60?s.unshift(0):(e=(e-s[0])/r,s.unshift(e%r),e>=60&&(e=(e-s[0])/r,s.unshift(e))),n+s.map((t=>String(t).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const al={identify:t=>"bigint"==typeof t||Number.isInteger(t),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(t,e,{intAsBigInt:i})=>sl(t,i),stringify:ol},ul={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:t=>sl(t,!1),stringify:ol},ll={identify:t=>t instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(t){const e=t.match(ll.test);if(!e)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,i,n,r,s,o,a]=e.map(Number),u=e[7]?Number((e[7]+"00").substr(1,3)):0;let l=Date.UTC(i,n-1,r,s||0,o||0,a||0,u);const c=e[8];if(c&&"Z"!==c){let t=sl(c,!1);Math.abs(t)<30&&(t*=60),l-=6e4*t}return new Date(l)},stringify:({value:t})=>t.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};nl.floatTime=ul,nl.intTime=al,nl.timestamp=ll;var cl=Ca,hl=ca,pl=Ea,fl=cu,dl=Ou,gl=$u,ml=qu,yl=du,bl=gu,wl=Zu,vl=nl;const Dl=[Go.map,hl.seq,pl.string,cl.nullTag,dl.trueTag,dl.falseTag,ml.intBin,ml.intOct,ml.int,ml.intHex,gl.floatNaN,gl.floatExp,gl.float,fl.binary,yl.omap,bl.pairs,wl.set,vl.intTime,vl.floatTime,vl.timestamp];ju.schema=Dl;var kl=Go,El=Ca,xl=ca,Al=Ea,Fl=ja,Cl=Ta,Sl=Ma,_l=iu,jl=cu,Ol=du,Bl=gu,Tl=ju,Rl=Zu,Il=nl;const $l=new Map([["core",Ka.schema],["failsafe",[kl.map,xl.seq,Al.string]],["json",_l.schema],["yaml11",Tl.schema],["yaml-1.1",Tl.schema]]),Nl={binary:jl.binary,bool:Fl.boolTag,float:Cl.float,floatExp:Cl.floatExp,floatNaN:Cl.floatNaN,floatTime:Il.floatTime,int:Sl.int,intHex:Sl.intHex,intOct:Sl.intOct,intTime:Il.intTime,map:kl.map,null:El.nullTag,omap:Ol.omap,pairs:Bl.pairs,seq:xl.seq,set:Rl.set,timestamp:Il.timestamp},Ll={"tag:yaml.org,2002:binary":jl.binary,"tag:yaml.org,2002:omap":Ol.omap,"tag:yaml.org,2002:pairs":Bl.pairs,"tag:yaml.org,2002:set":Rl.set,"tag:yaml.org,2002:timestamp":Il.timestamp};Fa.coreKnownTags=Ll,Fa.getTags=function(t,e){let i=$l.get(e);if(!i){if(!Array.isArray(t)){const t=Array.from($l.keys()).filter((t=>"yaml11"!==t)).map((t=>JSON.stringify(t))).join(", ");throw new Error(`Unknown schema "${e}"; use one of ${t} or define customTags array`)}i=[]}if(Array.isArray(t))for(const e of t)i=i.concat(e);else"function"==typeof t&&(i=t(i.slice()));return i.map((t=>{if("string"!=typeof t)return t;const e=Nl[t];if(e)return e;const i=Object.keys(Nl).map((t=>JSON.stringify(t))).join(", ");throw new Error(`Unknown custom tag "${t}"; use one of ${i}`)}))};var Pl=Hr,Ml=Go,zl=ca,ql=Ea,Ul=Fa;const Gl=(t,e)=>t.keye.key?1:0;Uo.Schema=class t{constructor({compat:t,customTags:e,merge:i,resolveKnownTags:n,schema:r,sortMapEntries:s,toStringDefaults:o}){this.compat=Array.isArray(t)?Ul.getTags(t,"compat"):t?Ul.getTags(null,t):null,this.merge=!!i,this.name="string"==typeof r&&r||"core",this.knownTags=n?Ul.coreKnownTags:{},this.tags=Ul.getTags(e,this.name),this.toStringOptions=o??null,Object.defineProperty(this,Pl.MAP,{value:Ml.map}),Object.defineProperty(this,Pl.SCALAR,{value:ql.string}),Object.defineProperty(this,Pl.SEQ,{value:zl.seq}),this.sortMapEntries="function"==typeof s?s:!0===s?Gl:null}clone(){const e=Object.create(t.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}};var Wl={},Hl=Hr,Vl=no,Kl=ro;Wl.stringifyDocument=function(t,e){const i=[];let n=!0===e.directives;if(!1!==e.directives&&t.directives){const e=t.directives.toString(t);e?(i.push(e),n=!0):t.directives.docStart&&(n=!0)}n&&i.push("---");const r=Vl.createStringifyContext(t,e),{commentString:s}=r.options;if(t.commentBefore){1!==i.length&&i.unshift("");const e=s(t.commentBefore);i.unshift(Kl.indentComment(e,""))}let o=!1,a=null;if(t.contents){if(Hl.isNode(t.contents)){if(t.contents.spaceBefore&&n&&i.push(""),t.contents.commentBefore){const e=s(t.contents.commentBefore);i.push(Kl.indentComment(e,""))}r.forceBlockIndent=!!t.comment,a=t.contents.comment}const e=a?void 0:()=>o=!0;let u=Vl.stringify(t.contents,r,(()=>a=null),e);a&&(u+=Kl.lineComment(u,"",s(a))),"|"!==u[0]&&">"!==u[0]||"---"!==i[i.length-1]?i.push(u):i[i.length-1]=`--- ${u}`}else i.push(Vl.stringify(t.contents,r));if(t.directives?.docEnd)if(t.comment){const e=s(t.comment);e.includes("\n")?(i.push("..."),i.push(Kl.indentComment(e,""))):i.push(`... ${e}`)}else i.push("...");else{let e=t.comment;e&&o&&(e=e.replace(/^\n+/,"")),e&&(o&&!a||""===i[i.length-1]||i.push(""),i.push(Kl.indentComment(s(e),"")))}return i.join("\n")+"\n"};var Yl=ws,Jl=Ps,Zl=Hr,Ql=eo,Xl=Cs,tc=Uo,ec=Wl,ic=vs,nc=Fs,rc=Ms,sc=Wr;function oc(t){if(Zl.isCollection(t))return!0;throw new Error("Expected a YAML collection as document contents")}bs.Document=class t{constructor(t,e,i){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Zl.NODE_TYPE,{value:Zl.DOC});let n=null;"function"==typeof e||Array.isArray(e)?n=e:void 0===i&&e&&(i=e,e=void 0);const r=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},i);this.options=r;let{version:s}=r;i?._directives?(this.directives=i._directives.atDocument(),this.directives.yaml.explicit&&(s=this.directives.yaml.version)):this.directives=new sc.Directives({version:s}),this.setSchema(s,i),this.contents=void 0===t?null:this.createNode(t,n,i)}clone(){const e=Object.create(t.prototype,{[Zl.NODE_TYPE]:{value:Zl.DOC}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=Zl.isNode(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(t){oc(this.contents)&&this.contents.add(t)}addIn(t,e){oc(this.contents)&&this.contents.addIn(t,e)}createAlias(t,e){if(!t.anchor){const i=ic.anchorNames(this);t.anchor=!e||i.has(e)?ic.findNewAnchor(e||"a",i):e}return new Yl.Alias(t.anchor)}createNode(t,e,i){let n;if("function"==typeof e)t=e.call({"":t},"",t),n=e;else if(Array.isArray(e)){const t=t=>"number"==typeof t||t instanceof String||t instanceof Number,i=e.filter(t).map(String);i.length>0&&(e=e.concat(i)),n=e}else void 0===i&&e&&(i=e,e=void 0);const{aliasDuplicateObjects:r,anchorPrefix:s,flow:o,keepUndefined:a,onTagObj:u,tag:l}=i??{},{onAnchor:c,setAnchors:h,sourceObjects:p}=ic.createNodeAnchors(this,s||"a"),f={aliasDuplicateObjects:r??!0,keepUndefined:a??!1,onAnchor:c,onTagObj:u,replacer:n,schema:this.schema,sourceObjects:p},d=rc.createNode(t,l,f);return o&&Zl.isCollection(d)&&(d.flow=!0),h(),d}createPair(t,e,i={}){const n=this.createNode(t,null,i),r=this.createNode(e,null,i);return new Ql.Pair(n,r)}delete(t){return!!oc(this.contents)&&this.contents.delete(t)}deleteIn(t){return Jl.isEmptyPath(t)?null!=this.contents&&(this.contents=null,!0):!!oc(this.contents)&&this.contents.deleteIn(t)}get(t,e){return Zl.isCollection(this.contents)?this.contents.get(t,e):void 0}getIn(t,e){return Jl.isEmptyPath(t)?!e&&Zl.isScalar(this.contents)?this.contents.value:this.contents:Zl.isCollection(this.contents)?this.contents.getIn(t,e):void 0}has(t){return!!Zl.isCollection(this.contents)&&this.contents.has(t)}hasIn(t){return Jl.isEmptyPath(t)?void 0!==this.contents:!!Zl.isCollection(this.contents)&&this.contents.hasIn(t)}set(t,e){null==this.contents?this.contents=Jl.collectionFromPath(this.schema,[t],e):oc(this.contents)&&this.contents.set(t,e)}setIn(t,e){Jl.isEmptyPath(t)?this.contents=e:null==this.contents?this.contents=Jl.collectionFromPath(this.schema,Array.from(t),e):oc(this.contents)&&this.contents.setIn(t,e)}setSchema(t,e={}){let i;switch("number"==typeof t&&(t=String(t)),t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new sc.Directives({version:"1.1"}),i={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new sc.Directives({version:t}),i={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,i=null;break;default:{const e=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${e}`)}}if(e.schema instanceof Object)this.schema=e.schema;else{if(!i)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new tc.Schema(Object.assign(i,e))}}toJS({json:t,jsonArg:e,mapAsMap:i,maxAliasCount:n,onAnchor:r,reviver:s}={}){const o={anchors:new Map,doc:this,keep:!t,mapAsMap:!0===i,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},a=Xl.toJS(this.contents,e??"",o);if("function"==typeof r)for(const{count:t,res:e}of o.anchors.values())r(e,t);return"function"==typeof s?nc.applyReviver(s,{"":a},"",a):a}toJSON(t,e){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:e})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const e=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${e}`)}return ec.stringifyDocument(this,t)}};var ac={};class uc extends Error{constructor(t,e,i,n){super(),this.name=t,this.code=i,this.message=n,this.pos=e}}ac.YAMLError=uc,ac.YAMLParseError=class extends uc{constructor(t,e,i){super("YAMLParseError",t,e,i)}},ac.YAMLWarning=class extends uc{constructor(t,e,i){super("YAMLWarning",t,e,i)}},ac.prettifyError=(t,e)=>i=>{if(-1===i.pos[0])return;i.linePos=i.pos.map((t=>e.linePos(t)));const{line:n,col:r}=i.linePos[0];i.message+=` at line ${n}, column ${r}`;let s=r-1,o=t.substring(e.lineStarts[n-1],e.lineStarts[n]).replace(/[\n\r]+$/,"");if(s>=60&&o.length>80){const t=Math.min(s-39,o.length-79);o="…"+o.substring(t),s-=t-1}if(o.length>80&&(o=o.substring(0,79)+"…"),n>1&&/^ *$/.test(o.substring(0,s))){let i=t.substring(e.lineStarts[n-2],e.lineStarts[n-1]);i.length>80&&(i=i.substring(0,79)+"…\n"),o=i+o}if(/[^ ]/.test(o)){let t=1;const e=i.linePos[1];e&&e.line===n&&e.col>r&&(t=Math.max(1,Math.min(e.col-r,80-s)));const a=" ".repeat(s)+"^".repeat(t);i.message+=`:\n\n${o}\n${a}\n`}};var lc={},cc={},hc={},pc={},fc={};fc.resolveProps=function(t,{flow:e,indicator:i,next:n,offset:r,onError:s,startOnNewline:o}){let a=!1,u=o,l=o,c="",h="",p=!1,f=!1,d=!1,g=null,m=null,y=null,b=null,w=null;for(const n of t)switch(d&&("space"!==n.type&&"newline"!==n.type&&"comma"!==n.type&&s(n.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),d=!1),n.type){case"space":!e&&u&&"doc-start"!==i&&"\t"===n.source[0]&&s(n,"TAB_AS_INDENT","Tabs are not allowed as indentation"),l=!0;break;case"comment":{l||s(n,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=n.source.substring(1)||" ";c?c+=h+t:c=t,h="",u=!1;break}case"newline":u?c?c+=n.source:a=!0:h+=n.source,u=!0,p=!0,(g||m)&&(f=!0),l=!0;break;case"anchor":g&&s(n,"MULTIPLE_ANCHORS","A node can have at most one anchor"),n.source.endsWith(":")&&s(n.offset+n.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),g=n,null===w&&(w=n.offset),u=!1,l=!1,d=!0;break;case"tag":m&&s(n,"MULTIPLE_TAGS","A node can have at most one tag"),m=n,null===w&&(w=n.offset),u=!1,l=!1,d=!0;break;case i:(g||m)&&s(n,"BAD_PROP_ORDER",`Anchors and tags must be after the ${n.source} indicator`),b&&s(n,"UNEXPECTED_TOKEN",`Unexpected ${n.source} in ${e??"collection"}`),b=n,u=!1,l=!1;break;case"comma":if(e){y&&s(n,"UNEXPECTED_TOKEN",`Unexpected , in ${e}`),y=n,u=!1,l=!1;break}default:s(n,"UNEXPECTED_TOKEN",`Unexpected ${n.type} token`),u=!1,l=!1}const v=t[t.length-1],D=v?v.offset+v.source.length:r;return d&&n&&"space"!==n.type&&"newline"!==n.type&&"comma"!==n.type&&("scalar"!==n.type||""!==n.source)&&s(n.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:y,found:b,spaceBefore:a,comment:c,hasNewline:p,hasNewlineAfterProp:f,anchor:g,tag:m,end:D,start:w??D}};var dc={};dc.containsNewline=function t(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end)for(const t of e.end)if("newline"===t.type)return!0;return!1;case"flow-collection":for(const i of e.items){for(const t of i.start)if("newline"===t.type)return!0;if(i.sep)for(const t of i.sep)if("newline"===t.type)return!0;if(t(i.key)||t(i.value))return!0}return!1;default:return!0}};var gc={},mc=dc;gc.flowIndentCheck=function(t,e,i){if("flow-collection"===e?.type){const n=e.end[0];if(n.indent===t&&("]"===n.source||"}"===n.source)&&mc.containsNewline(e)){i(n,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}};var yc={},bc=Hr;yc.mapIncludes=function(t,e,i){const{uniqueKeys:n}=t.options;if(!1===n)return!1;const r="function"==typeof n?n:(e,i)=>e===i||bc.isScalar(e)&&bc.isScalar(i)&&e.value===i.value&&!("<<"===e.value&&t.schema.merge);return e.some((t=>r(t.key,i)))};var wc=eo,vc=Wo,Dc=fc,kc=dc,Ec=gc,xc=yc;const Ac="All mapping items must start at the same column";pc.resolveBlockMap=function({composeNode:t,composeEmptyNode:e},i,n,r,s){const o=new(s?.nodeClass??vc.YAMLMap)(i.schema);i.atRoot&&(i.atRoot=!1);let a=n.offset,u=null;for(const s of n.items){const{start:l,key:c,sep:h,value:p}=s,f=Dc.resolveProps(l,{indicator:"explicit-key-ind",next:c??h?.[0],offset:a,onError:r,startOnNewline:!0}),d=!f.found;if(d){if(c&&("block-seq"===c.type?r(a,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in c&&c.indent!==n.indent&&r(a,"BAD_INDENT",Ac)),!f.anchor&&!f.tag&&!h){u=f.end,f.comment&&(o.comment?o.comment+="\n"+f.comment:o.comment=f.comment);continue}(f.hasNewlineAfterProp||kc.containsNewline(c))&&r(c??l[l.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else f.found?.indent!==n.indent&&r(a,"BAD_INDENT",Ac);const g=f.end,m=c?t(i,c,f,r):e(i,g,l,null,f,r);i.schema.compat&&Ec.flowIndentCheck(n.indent,c,r),xc.mapIncludes(i,o.items,m)&&r(g,"DUPLICATE_KEY","Map keys must be unique");const y=Dc.resolveProps(h??[],{indicator:"map-value-ind",next:p,offset:m.range[2],onError:r,startOnNewline:!c||"block-scalar"===c.type});if(a=y.end,y.found){d&&("block-map"!==p?.type||y.hasNewline||r(a,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),i.options.strict&&f.startt&&("block-map"===t.type||"block-seq"===t.type);jc.resolveFlowCollection=function({composeNode:t,composeEmptyNode:e},i,n,r,s){const o="{"===n.start.source,a=o?"flow map":"flow sequence",u=new(s?.nodeClass??(o?Rc.YAMLMap:Ic.YAMLSeq))(i.schema);u.flow=!0;const l=i.atRoot;l&&(i.atRoot=!1);let c=n.offset+n.start.source.length;for(let s=0;s0){const t=$c.resolveEnd(f,d,i.options.strict,r);t.comment&&(u.comment?u.comment+="\n"+t.comment:u.comment=t.comment),u.range=[n.offset,d,t.offset]}else u.range=[n.offset,d,d];return u};var qc=Hr,Uc=zs,Gc=Wo,Wc=ha,Hc=pc,Vc=Fc,Kc=jc;function Yc(t,e,i,n,r,s){const o="block-map"===i.type?Hc.resolveBlockMap(t,e,i,n,s):"block-seq"===i.type?Vc.resolveBlockSeq(t,e,i,n,s):Kc.resolveFlowCollection(t,e,i,n,s),a=o.constructor;return"!"===r||r===a.tagName?(o.tag=a.tagName,o):(r&&(o.tag=r),o)}hc.composeCollection=function(t,e,i,n,r){const s=n?e.directives.tagName(n.source,(t=>r(n,"TAG_RESOLVE_FAILED",t))):null,o="block-map"===i.type?"map":"block-seq"===i.type?"seq":"{"===i.start.source?"map":"seq";if(!n||!s||"!"===s||s===Gc.YAMLMap.tagName&&"map"===o||s===Wc.YAMLSeq.tagName&&"seq"===o||!o)return Yc(t,e,i,r,s);let a=e.schema.tags.find((t=>t.tag===s&&t.collection===o));if(!a){const u=e.schema.knownTags[s];if(!u||u.collection!==o)return u?.collection?r(n,"BAD_COLLECTION_TYPE",`${u.tag} used for ${o} collection, but expects ${u.collection}`,!0):r(n,"TAG_RESOLVE_FAILED",`Unresolved tag: ${s}`,!0),Yc(t,e,i,r,s);e.schema.tags.push(Object.assign({},u,{default:!1})),a=u}const u=Yc(t,e,i,r,s,a),l=a.resolve?.(u,(t=>r(n,"TAG_RESOLVE_FAILED",t)),e.options)??u,c=qc.isNode(l)?l:new Uc.Scalar(l);return c.range=u.range,c.tag=s,a?.format&&(c.format=a.format),c};var Jc={},Zc={},Qc=zs;Zc.resolveBlockScalar=function(t,e,i){const n=t.offset,r=function({offset:t,props:e},i,n){if("block-scalar-header"!==e[0].type)return n(e[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:r}=e[0],s=r[0];let o=0,a="",u=-1;for(let e=1;e=0;--t){const e=o[t][1];if(""!==e&&"\r"!==e)break;a=t}if(0===a){const e="+"===r.chomp&&o.length>0?"\n".repeat(Math.max(1,o.length-1)):"";let i=n+r.length;return t.source&&(i+=t.source.length),{value:e,type:s,comment:r.comment,range:[n,i,i]}}let u=t.indent+r.indent,l=t.offset+r.length,c=0;for(let t=0;tu&&(u=e.length),l+=e.length+n.length+1}for(let t=o.length-1;t>=a;--t)o[t][0].length>u&&(a=t+1);let h="",p="",f=!1;for(let t=0;tu||"\t"===n[0]?(" "===p?p="\n":f||"\n"!==p||(p="\n\n"),h+=p+e.slice(u)+n,p="\n",f=!0):""===n?"\n"===p?h+="\n":p="\n":(h+=p+n,p=" ",f=!1)}switch(r.chomp){case"-":break;case"+":for(let t=a;ti(n+t,e,r);switch(r){case"scalar":a=th.Scalar.PLAIN,u=function(t,e){let i="";switch(t[0]){case"\t":i="a tab character";break;case",":i="flow indicator character ,";break;case"%":i="directive indicator character %";break;case"|":case">":i=`block scalar indicator ${t[0]}`;break;case"@":case"`":i=`reserved character ${t[0]}`}i&&e(0,"BAD_SCALAR_START",`Plain value cannot start with ${i}`);return ih(t)}(s,l);break;case"single-quoted-scalar":a=th.Scalar.QUOTE_SINGLE,u=function(t,e){"'"===t[t.length-1]&&1!==t.length||e(t.length,"MISSING_CHAR","Missing closing 'quote");return ih(t.slice(1,-1)).replace(/''/g,"'")}(s,l);break;case"double-quoted-scalar":a=th.Scalar.QUOTE_DOUBLE,u=function(t,e){let i="";for(let n=1;ne?t.slice(e,n+1):r)}else i+=r}'"'===t[t.length-1]&&1!==t.length||e(t.length,"MISSING_CHAR",'Missing closing "quote');return i}(s,l);break;default:return i(t,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${r}`),{value:"",type:null,comment:"",range:[n,n+s.length,n+s.length]}}const c=n+s.length,h=eh.resolveEnd(o,c,e,i);return{value:u,type:a,comment:h.comment,range:[n,c,h.offset]}};var oh=Hr,ah=zs,uh=Zc,lh=Xc;Jc.composeScalar=function(t,e,i,n){const{value:r,type:s,comment:o,range:a}="block-scalar"===e.type?uh.resolveBlockScalar(e,t.options.strict,n):lh.resolveFlowScalar(e,t.options.strict,n),u=i?t.directives.tagName(i.source,(t=>n(i,"TAG_RESOLVE_FAILED",t))):null,l=i&&u?function(t,e,i,n,r){if("!"===i)return t[oh.SCALAR];const s=[];for(const e of t.tags)if(!e.collection&&e.tag===i){if(!e.default||!e.test)return e;s.push(e)}for(const t of s)if(t.test?.test(e))return t;const o=t.knownTags[i];if(o&&!o.collection)return t.tags.push(Object.assign({},o,{default:!1,test:void 0})),o;return r(n,"TAG_RESOLVE_FAILED",`Unresolved tag: ${i}`,"tag:yaml.org,2002:str"!==i),t[oh.SCALAR]}(t.schema,r,u,i,n):"scalar"===e.type?function({directives:t,schema:e},i,n,r){const s=e.tags.find((t=>t.default&&t.test?.test(i)))||e[oh.SCALAR];if(e.compat){const o=e.compat.find((t=>t.default&&t.test?.test(i)))??e[oh.SCALAR];if(s.tag!==o.tag){r(n,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${t.tagString(s.tag)} or ${t.tagString(o.tag)}`,!0)}}return s}(t,r,e,n):t.schema[oh.SCALAR];let c;try{const s=l.resolve(r,(t=>n(i??e,"TAG_RESOLVE_FAILED",t)),t.options);c=oh.isScalar(s)?s:new ah.Scalar(s)}catch(t){const s=t instanceof Error?t.message:String(t);n(i??e,"TAG_RESOLVE_FAILED",s),c=new ah.Scalar(r)}return c.range=a,c.source=r,s&&(c.type=s),u&&(c.tag=u),l.format&&(c.format=l.format),o&&(c.comment=o),c};var ch={};ch.emptyScalarPosition=function(t,e,i){if(e){null===i&&(i=e.length);for(let n=i-1;n>=0;--n){let i=e[n];switch(i.type){case"space":case"comment":case"newline":t-=i.source.length;continue}for(i=e[++n];"space"===i?.type;)t+=i.source.length,i=e[++n];break}}return t};var hh=ws,ph=hc,fh=Jc,dh=Oc,gh=ch;const mh={composeNode:yh,composeEmptyNode:bh};function yh(t,e,i,n){const{spaceBefore:r,comment:s,anchor:o,tag:a}=i;let u,l=!0;switch(e.type){case"alias":u=function({options:t},{offset:e,source:i,end:n},r){const s=new hh.Alias(i.substring(1));""===s.source&&r(e,"BAD_ALIAS","Alias cannot be an empty string");s.source.endsWith(":")&&r(e+i.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const o=e+i.length,a=dh.resolveEnd(n,o,t.strict,r);s.range=[e,o,a.offset],a.comment&&(s.comment=a.comment);return s}(t,e,n),(o||a)&&n(e,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":u=fh.composeScalar(t,e,a,n),o&&(u.anchor=o.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":u=ph.composeCollection(mh,t,e,a,n),o&&(u.anchor=o.source.substring(1));break;default:n(e,"UNEXPECTED_TOKEN","error"===e.type?e.message:`Unsupported token (type: ${e.type})`),u=bh(t,e.offset,void 0,null,i,n),l=!1}return o&&""===u.anchor&&n(o,"BAD_ALIAS","Anchor cannot be an empty string"),r&&(u.spaceBefore=!0),s&&("scalar"===e.type&&""===e.source?u.comment=s:u.commentBefore=s),t.options.keepSourceTokens&&l&&(u.srcToken=e),u}function bh(t,e,i,n,{spaceBefore:r,comment:s,anchor:o,tag:a,end:u},l){const c={type:"scalar",offset:gh.emptyScalarPosition(e,i,n),indent:-1,source:""},h=fh.composeScalar(t,c,a,l);return o&&(h.anchor=o.source.substring(1),""===h.anchor&&l(o,"BAD_ALIAS","Anchor cannot be an empty string")),r&&(h.spaceBefore=!0),s&&(h.comment=s,h.range[2]=u),h}cc.composeEmptyNode=bh,cc.composeNode=yh;var wh=bs,vh=cc,Dh=Oc,kh=fc;lc.composeDoc=function(t,e,{offset:i,start:n,value:r,end:s},o){const a=Object.assign({_directives:e},t),u=new wh.Document(void 0,a),l={atRoot:!0,directives:u.directives,options:u.options,schema:u.schema},c=kh.resolveProps(n,{indicator:"doc-start",next:r??s?.[0],offset:i,onError:o,startOnNewline:!0});c.found&&(u.directives.docStart=!0,!r||"block-map"!==r.type&&"block-seq"!==r.type||c.hasNewline||o(c.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),u.contents=r?vh.composeNode(l,r,c,o):vh.composeEmptyNode(l,c.end,n,null,c,o);const h=u.contents.range[2],p=Dh.resolveEnd(s,h,!1,o);return p.comment&&(u.comment=p.comment),u.range=[i,h,p.offset],u};var Eh=Wr,xh=bs,Ah=ac,Fh=Hr,Ch=lc,Sh=Oc;function _h(t){if("number"==typeof t)return[t,t+1];if(Array.isArray(t))return 2===t.length?t:[t[0],t[1]];const{offset:e,source:i}=t;return[e,e+("string"==typeof i?i.length:1)]}function jh(t){let e="",i=!1,n=!1;for(let r=0;r{const r=_h(t);n?this.warnings.push(new Ah.YAMLWarning(r,e,i)):this.errors.push(new Ah.YAMLParseError(r,e,i))},this.directives=new Eh.Directives({version:t.version||"1.2"}),this.options=t}decorate(t,e){const{comment:i,afterEmptyLine:n}=jh(this.prelude);if(i){const r=t.contents;if(e)t.comment=t.comment?`${t.comment}\n${i}`:i;else if(n||t.directives.docStart||!r)t.commentBefore=i;else if(Fh.isCollection(r)&&!r.flow&&r.items.length>0){let t=r.items[0];Fh.isPair(t)&&(t=t.key);const e=t.commentBefore;t.commentBefore=e?`${i}\n${e}`:i}else{const t=r.commentBefore;r.commentBefore=t?`${i}\n${t}`:i}}e?(Array.prototype.push.apply(t.errors,this.errors),Array.prototype.push.apply(t.warnings,this.warnings)):(t.errors=this.errors,t.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:jh(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,e=!1,i=-1){for(const e of t)yield*this.next(e);yield*this.end(e,i)}*next(t){switch(process.env.LOG_STREAM&&console.dir(t,{depth:null}),t.type){case"directive":this.directives.add(t.source,((e,i,n)=>{const r=_h(t);r[0]+=e,this.onError(r,"BAD_DIRECTIVE",i,n)})),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const e=Ch.composeDoc(this.options,this.directives,t,this.onError);this.atDirectives&&!e.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(e,!1),this.doc&&(yield this.doc),this.doc=e,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const e=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,i=new Ah.YAMLParseError(_h(t),"UNEXPECTED_TOKEN",e);this.atDirectives||!this.doc?this.errors.push(i):this.doc.errors.push(i);break}case"doc-end":{if(!this.doc){const e="Unexpected doc-end without preceding document";this.errors.push(new Ah.YAMLParseError(_h(t),"UNEXPECTED_TOKEN",e));break}this.doc.directives.docEnd=!0;const e=Sh.resolveEnd(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),e.comment){const t=this.doc.comment;this.doc.comment=t?`${t}\n${e.comment}`:e.comment}this.doc.range[2]=e.offset;break}default:this.errors.push(new Ah.YAMLParseError(_h(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,e=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const t=Object.assign({_directives:this.directives},this.options),i=new xh.Document(void 0,t);this.atDirectives&&this.onError(e,"MISSING_CHAR","Missing directives-end indicator line"),i.range=[0,e,e],this.decorate(i,!1),yield i}}};var Oh={},Bh={},Th=Zc,Rh=Xc,Ih=ac,$h=oo;function Nh(t,e){if(e)for(const i of e)switch(i.type){case"space":case"comment":t.push(i);break;case"newline":return t.push(i),!0}return!1}function Lh(t,e,i){switch(t.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":t.type=i,t.source=e;break;case"block-scalar":{const n=t.props.slice(1);let r=e.length;"block-scalar-header"===t.props[0].type&&(r-=t.props[0].source.length);for(const t of n)t.offset+=r;delete t.props,Object.assign(t,{type:i,source:e,end:n});break}case"block-map":case"block-seq":{const n={type:"newline",offset:t.offset+e.length,indent:t.indent,source:"\n"};delete t.items,Object.assign(t,{type:i,source:e,end:[n]});break}default:{const n="indent"in t?t.indent:-1,r="end"in t&&Array.isArray(t.end)?t.end.filter((t=>"space"===t.type||"comment"===t.type||"newline"===t.type)):[];for(const e of Object.keys(t))"type"!==e&&"offset"!==e&&delete t[e];Object.assign(t,{type:i,indent:n,source:e,end:r})}}}Bh.createScalarToken=function(t,e){const{implicitKey:i=!1,indent:n,inFlow:r=!1,offset:s=-1,type:o="PLAIN"}=e,a=$h.stringifyString({type:o,value:t},{implicitKey:i,indent:n>0?" ".repeat(n):"",inFlow:r,options:{blockQuote:!0,lineWidth:-1}}),u=e.end??[{type:"newline",offset:-1,indent:n,source:"\n"}];switch(a[0]){case"|":case">":{const t=a.indexOf("\n"),e=a.substring(0,t),i=a.substring(t+1)+"\n",r=[{type:"block-scalar-header",offset:s,indent:n,source:e}];return Nh(r,u)||r.push({type:"newline",offset:-1,indent:n,source:"\n"}),{type:"block-scalar",offset:s,indent:n,props:r,source:i}}case'"':return{type:"double-quoted-scalar",offset:s,indent:n,source:a,end:u};case"'":return{type:"single-quoted-scalar",offset:s,indent:n,source:a,end:u};default:return{type:"scalar",offset:s,indent:n,source:a,end:u}}},Bh.resolveAsScalar=function(t,e=!0,i){if(t){const n=(t,e,n)=>{const r="number"==typeof t?t:Array.isArray(t)?t[0]:t.offset;if(!i)throw new Ih.YAMLParseError([r,r+1],e,n);i(r,e,n)};switch(t.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return Rh.resolveFlowScalar(t,e,n);case"block-scalar":return Th.resolveBlockScalar(t,e,n)}}return null},Bh.setScalarValue=function(t,e,i={}){let{afterKey:n=!1,implicitKey:r=!1,inFlow:s=!1,type:o}=i,a="indent"in t?t.indent:null;if(n&&"number"==typeof a&&(a+=2),!o)switch(t.type){case"single-quoted-scalar":o="QUOTE_SINGLE";break;case"double-quoted-scalar":o="QUOTE_DOUBLE";break;case"block-scalar":{const e=t.props[0];if("block-scalar-header"!==e.type)throw new Error("Invalid block scalar header");o=">"===e.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:o="PLAIN"}const u=$h.stringifyString({type:o,value:e},{implicitKey:r||null===a,indent:null!==a&&a>0?" ".repeat(a):"",inFlow:s,options:{blockQuote:!0,lineWidth:-1}});switch(u[0]){case"|":case">":!function(t,e){const i=e.indexOf("\n"),n=e.substring(0,i),r=e.substring(i+1)+"\n";if("block-scalar"===t.type){const e=t.props[0];if("block-scalar-header"!==e.type)throw new Error("Invalid block scalar header");e.source=n,t.source=r}else{const{offset:e}=t,i="indent"in t?t.indent:-1,s=[{type:"block-scalar-header",offset:e,indent:i,source:n}];Nh(s,"end"in t?t.end:void 0)||s.push({type:"newline",offset:-1,indent:i,source:"\n"});for(const e of Object.keys(t))"type"!==e&&"offset"!==e&&delete t[e];Object.assign(t,{type:"block-scalar",indent:i,props:s,source:r})}}(t,u);break;case'"':Lh(t,u,"double-quoted-scalar");break;case"'":Lh(t,u,"single-quoted-scalar");break;default:Lh(t,u,"scalar")}};var Ph={};function Mh(t){switch(t.type){case"block-scalar":{let e="";for(const i of t.props)e+=Mh(i);return e+t.source}case"block-map":case"block-seq":{let e="";for(const i of t.items)e+=zh(i);return e}case"flow-collection":{let e=t.start.source;for(const i of t.items)e+=zh(i);for(const i of t.end)e+=i.source;return e}case"document":{let e=zh(t);if(t.end)for(const i of t.end)e+=i.source;return e}default:{let e=t.source;if("end"in t&&t.end)for(const i of t.end)e+=i.source;return e}}}function zh({start:t,key:e,sep:i,value:n}){let r="";for(const e of t)r+=e.source;if(e&&(r+=Mh(e)),i)for(const t of i)r+=t.source;return n&&(r+=Mh(n)),r}Ph.stringify=t=>"type"in t?Mh(t):zh(t);var qh={};const Uh=Symbol("break visit"),Gh=Symbol("skip children"),Wh=Symbol("remove item");function Hh(t,e){"type"in t&&"document"===t.type&&(t={start:t.start,value:t.value}),Vh(Object.freeze([]),t,e)}function Vh(t,e,i){let n=i(e,t);if("symbol"==typeof n)return n;for(const r of["key","value"]){const s=e[r];if(s&&"items"in s){for(let e=0;e{let i=t;for(const[t,n]of e){const e=i?.[t];if(!e||!("items"in e))return;i=e.items[n]}return i},Hh.parentCollection=(t,e)=>{const i=Hh.itemAtPath(t,e.slice(0,-1)),n=e[e.length-1][0],r=i?.[n];if(r&&"items"in r)return r;throw new Error("Parent collection not found")},qh.visit=Hh;var Kh=Bh,Yh=Ph,Jh=qh;Oh.createScalarToken=Kh.createScalarToken,Oh.resolveAsScalar=Kh.resolveAsScalar,Oh.setScalarValue=Kh.setScalarValue,Oh.stringify=Yh.stringify,Oh.visit=Jh.visit,Oh.BOM="\ufeff",Oh.DOCUMENT="",Oh.FLOW_END="",Oh.SCALAR="",Oh.isCollection=t=>!!t&&"items"in t,Oh.isScalar=t=>!!t&&("scalar"===t.type||"single-quoted-scalar"===t.type||"double-quoted-scalar"===t.type||"block-scalar"===t.type),Oh.prettyToken=function(t){switch(t){case"\ufeff":return"";case"":return"";case"":return"";case"":return"";default:return JSON.stringify(t)}},Oh.tokenType=function(t){switch(t){case"\ufeff":return"byte-order-mark";case"":return"doc-mode";case"":return"flow-error-end";case"":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(t[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null};var Zh={},Qh=Oh;function Xh(t){switch(t){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const tp="0123456789ABCDEFabcdef".split(""),ep="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),ip=",[]{}".split(""),np=" ,[]{}\n\r\t".split(""),rp=t=>!t||np.includes(t);Zh.Lexer=class{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(t,e=!1){t&&(this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null),this.atEnd=!e;let i=this.next??"stream";for(;i&&(e||this.hasChars(1));)i=yield*this.parseNext(i)}atLineEnd(){let t=this.pos,e=this.buffer[t];for(;" "===e||"\t"===e;)e=this.buffer[++t];return!e||"#"===e||"\n"===e||"\r"===e&&"\n"===this.buffer[t+1]}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let e=this.buffer[t];if(this.indentNext>0){let i=0;for(;" "===e;)e=this.buffer[++i+t];if("\r"===e){const e=this.buffer[i+t+1];if("\n"===e||!e&&!this.atEnd)return t+i+1}return"\n"===e||i>=this.indentNext||!e&&!this.atEnd?t+i:-1}if("-"===e||"."===e){const e=this.buffer.substr(t,3);if(("---"===e||"..."===e)&&Xh(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return("number"!=typeof t||-1!==t&&tthis.indentValue&&!Xh(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[t,e]=this.peek(2);if(!e&&!this.atEnd)return this.setNext("block-start");if(("-"===t||"?"===t||":"===t)&&Xh(e)){const t=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=t,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const t=this.getLine();if(null===t)return this.setNext("doc");let e=yield*this.pushIndicators();switch(t[e]){case"#":yield*this.pushCount(t.length-e);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(rp),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return e+=(yield*this.parseBlockScalarHeader()),e+=(yield*this.pushSpaces(!0)),yield*this.pushCount(t.length-e),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,e,i=-1;do{t=yield*this.pushNewline(),t>0?(e=yield*this.pushSpaces(!1),this.indentValue=i=e):e=0,e+=(yield*this.pushSpaces(!0))}while(t+e>0);const n=this.getLine();if(null===n)return this.setNext("flow");if(-1!==i&&i"0"&&e<="9")this.blockScalarIndent=Number(e)-1;else if("-"!==e)break}return yield*this.pushUntil((t=>Xh(t)||"#"===t))}*parseBlockScalar(){let t,e=this.pos-1,i=0;t:for(let n=this.pos;t=this.buffer[n];++n)switch(t){case" ":i+=1;break;case"\n":e=n,i=0;break;case"\r":{const t=this.buffer[n+1];if(!t&&!this.atEnd)return this.setNext("block-scalar");if("\n"===t)break}default:break t}if(!t&&!this.atEnd)return this.setNext("block-scalar");if(i>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=i:this.indentNext+=this.blockScalarIndent;do{const t=this.continueScalar(e+1);if(-1===t)break;e=this.buffer.indexOf("\n",t)}while(-1!==e);if(-1===e){if(!this.atEnd)return this.setNext("block-scalar");e=this.buffer.length}}if(!this.blockScalarKeep)for(;;){let t=e-1,n=this.buffer[t];"\r"===n&&(n=this.buffer[--t]);const r=t;for(;" "===n||"\t"===n;)n=this.buffer[--t];if(!("\n"===n&&t>=this.pos&&t+1+i>r))break;e=t}return yield Qh.SCALAR,yield*this.pushToIndex(e+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let e,i=this.pos-1,n=this.pos-1;for(;e=this.buffer[++n];)if(":"===e){const e=this.buffer[n+1];if(Xh(e)||t&&","===e)break;i=n}else if(Xh(e)){let r=this.buffer[n+1];if("\r"===e&&("\n"===r?(n+=1,e="\n",r=this.buffer[n+1]):i=n),"#"===r||t&&ip.includes(r))break;if("\n"===e){const t=this.continueScalar(n+1);if(-1===t)break;n=Math.max(n,t-2)}}else{if(t&&ip.includes(e))break;i=n}return e||this.atEnd?(yield Qh.SCALAR,yield*this.pushToIndex(i+1,!0),t?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,e){const i=this.buffer.slice(this.pos,t);return i?(yield i,this.pos+=i.length,i.length):(e&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(rp))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0,e=this.charAt(1);if(Xh(e)||t&&ip.includes(e))return t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let t=this.pos+2,e=this.buffer[t];for(;!Xh(e)&&">"!==e;)e=this.buffer[++t];return yield*this.pushToIndex(">"===e?t+1:t,!1)}{let t=this.pos+1,e=this.buffer[t];for(;e;)if(ep.includes(e))e=this.buffer[++t];else{if("%"!==e||!tp.includes(this.buffer[t+1])||!tp.includes(this.buffer[t+2]))break;e=this.buffer[t+=3]}return yield*this.pushToIndex(t,!1)}}*pushNewline(){const t=this.buffer[this.pos];return"\n"===t?yield*this.pushCount(1):"\r"===t&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(t){let e,i=this.pos-1;do{e=this.buffer[++i]}while(" "===e||t&&"\t"===e);const n=i-this.pos;return n>0&&(yield this.buffer.substr(this.pos,n),this.pos=i),n}*pushUntil(t){let e=this.pos,i=this.buffer[e];for(;!t(i);)i=this.buffer[++e];return yield*this.pushToIndex(e,!1)}};var sp={};sp.LineCounter=class{constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let e=0,i=this.lineStarts.length;for(;e>1;this.lineStarts[n]=0;)switch(t[e].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break t}for(;"space"===t[++e]?.type;);return t.splice(e,t.length)}function dp(t){if("flow-seq-start"===t.start.type)for(const e of t.items)!e.sep||e.value||lp(e.start,"explicit-key-ind")||lp(e.sep,"map-value-ind")||(e.key&&(e.value=e.key),delete e.key,hp(e.value)?e.value.end?Array.prototype.push.apply(e.value.end,e.sep):e.value.end=e.sep:Array.prototype.push.apply(e.start,e.sep),delete e.sep)}op.Parser=class{constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new up.Lexer,this.onNewLine=t}*parse(t,e=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const i of this.lexer.lex(t,e))yield*this.next(i);e||(yield*this.end())}*next(t){if(this.source=t,process.env.LOG_TOKENS&&console.log("|",ap.prettyToken(t)),this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=t.length);const e=ap.tokenType(t);if(e)if("scalar"===e)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=e,yield*this.step(),e){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&" "===t[0]&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{const e=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:e,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const t=this.peek(1);if("doc-end"!==this.type||t&&"doc-end"===t.type){if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(t){return this.stack[this.stack.length-t]}*pop(t){const e=t??this.stack.pop();if(e)if(0===this.stack.length)yield e;else{const t=this.peek(1);switch("block-scalar"===e.type?e.indent="indent"in t?t.indent:0:"flow-collection"===e.type&&"document"===t.type&&(e.indent=0),"flow-collection"===e.type&&dp(e),t.type){case"document":t.value=e;break;case"block-scalar":t.props.push(e);break;case"block-map":{const i=t.items[t.items.length-1];if(i.value)return t.items.push({start:[],key:e,sep:[]}),void(this.onKeyLine=!0);if(!i.sep)return Object.assign(i,{key:e,sep:[]}),void(this.onKeyLine=!lp(i.start,"explicit-key-ind"));i.value=e;break}case"block-seq":{const i=t.items[t.items.length-1];i.value?t.items.push({start:[],value:e}):i.value=e;break}case"flow-collection":{const i=t.items[t.items.length-1];return void(!i||i.value?t.items.push({start:[],key:e,sep:[]}):i.sep?i.value=e:Object.assign(i,{key:e,sep:[]}))}default:yield*this.pop(),yield*this.pop(e)}if(!("document"!==t.type&&"block-map"!==t.type&&"block-seq"!==t.type||"block-map"!==e.type&&"block-seq"!==e.type)){const i=e.items[e.items.length-1];i&&!i.sep&&!i.value&&i.start.length>0&&-1===cp(i.start)&&(0===e.indent||i.start.every((t=>"comment"!==t.type||t.indent=t.indent){const i=!this.onKeyLine&&this.indent===t.indent&&e.sep&&"seq-item-ind"!==this.type;let n=[];if(i&&e.sep&&!e.value){const i=[];for(let n=0;nt.indent&&(i.length=0);break;default:i.length=0}}i.length>=2&&(n=e.sep.splice(i[1]))}switch(this.type){case"anchor":case"tag":return void(i||e.value?(n.push(this.sourceToken),t.items.push({start:n}),this.onKeyLine=!0):e.sep?e.sep.push(this.sourceToken):e.start.push(this.sourceToken));case"explicit-key-ind":return e.sep||lp(e.start,"explicit-key-ind")?i||e.value?(n.push(this.sourceToken),t.items.push({start:n})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}):e.start.push(this.sourceToken),void(this.onKeyLine=!0);case"map-value-ind":if(lp(e.start,"explicit-key-ind"))if(e.sep)if(e.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(lp(e.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]});else if(hp(e.key)&&!lp(e.sep,"newline")){const t=fp(e.start),i=e.key,n=e.sep;n.push(this.sourceToken),delete e.key,delete e.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:i,sep:n}]})}else n.length>0?e.sep=e.sep.concat(n,this.sourceToken):e.sep.push(this.sourceToken);else if(lp(e.start,"newline"))Object.assign(e,{key:null,sep:[this.sourceToken]});else{const t=fp(e.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]})}else e.sep?e.value||i?t.items.push({start:n,key:null,sep:[this.sourceToken]}):lp(e.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):e.sep.push(this.sourceToken):Object.assign(e,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const r=this.flowScalar(this.type);return void(i||e.value?(t.items.push({start:n,key:r,sep:[]}),this.onKeyLine=!0):e.sep?this.stack.push(r):(Object.assign(e,{key:r,sep:[]}),this.onKeyLine=!0))}default:{const r=this.startBlockValue(t);if(r)return i&&"block-seq"!==r.type&&lp(e.start,"explicit-key-ind")&&t.items.push({start:n}),void this.stack.push(r)}}}yield*this.pop(),yield*this.step()}*blockSequence(t){const e=t.items[t.items.length-1];switch(this.type){case"newline":if(e.value){const i="end"in e.value?e.value.end:void 0,n=Array.isArray(i)?i[i.length-1]:void 0;"comment"===n?.type?i?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else e.start.push(this.sourceToken);return;case"space":case"comment":if(e.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(e.start,t.indent)){const i=t.items[t.items.length-2],n=i?.value?.end;if(Array.isArray(n))return Array.prototype.push.apply(n,e.start),n.push(this.sourceToken),void t.items.pop()}e.start.push(this.sourceToken)}return;case"anchor":case"tag":if(e.value||this.indent<=t.indent)break;return void e.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==t.indent)break;return void(e.value||lp(e.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):e.start.push(this.sourceToken))}if(this.indent>t.indent){const e=this.startBlockValue(t);if(e)return void this.stack.push(e)}yield*this.pop(),yield*this.step()}*flowCollection(t){const e=t.items[t.items.length-1];if("flow-error-end"===this.type){let t;do{yield*this.pop(),t=this.peek(1)}while(t&&"flow-collection"===t.type)}else if(0===t.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!e||e.sep?t.items.push({start:[this.sourceToken]}):e.start.push(this.sourceToken));case"map-value-ind":return void(!e||e.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):e.sep?e.sep.push(this.sourceToken):Object.assign(e,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!e||e.value?t.items.push({start:[this.sourceToken]}):e.sep?e.sep.push(this.sourceToken):e.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const i=this.flowScalar(this.type);return void(!e||e.value?t.items.push({start:[],key:i,sep:[]}):e.sep?this.stack.push(i):Object.assign(e,{key:i,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void t.end.push(this.sourceToken)}const i=this.startBlockValue(t);i?this.stack.push(i):(yield*this.pop(),yield*this.step())}else{const e=this.peek(2);if("block-map"===e.type&&("map-value-ind"===this.type&&e.indent===t.indent||"newline"===this.type&&!e.items[e.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==e.type){const i=fp(pp(e));dp(t);const n=t.end.splice(1,t.end.length);n.push(this.sourceToken);const r={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:i,key:t,sep:n}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=r}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let t=this.source.indexOf("\n")+1;for(;0!==t;)this.onNewLine(this.offset+t),t=this.source.indexOf("\n",t)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const e=fp(pp(t));return e.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e}]}}case"map-value-ind":{this.onKeyLine=!0;const e=fp(pp(t));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,e){return"comment"===this.type&&(!(this.indent<=e)&&t.every((t=>"newline"===t.type||"space"===t.type)))}*documentEnd(t){"doc-mode"!==this.type&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}};var gp={},mp=Gr,yp=bs,bp=ac,wp=jo,vp=sp,Dp=op;function kp(t){const e=!1!==t.prettyErrors;return{lineCounter:t.lineCounter||e&&new vp.LineCounter||null,prettyErrors:e}}function Ep(t,e={}){const{lineCounter:i,prettyErrors:n}=kp(e),r=new Dp.Parser(i?.addNewLine),s=new mp.Composer(e);let o=null;for(const e of s.compose(r.parse(t),!0,t.length))if(o){if("silent"!==o.options.logLevel){o.errors.push(new bp.YAMLParseError(e.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else o=e;return n&&i&&(o.errors.forEach(bp.prettifyError(t,i)),o.warnings.forEach(bp.prettifyError(t,i))),o}gp.parse=function(t,e,i){let n;"function"==typeof e?n=e:void 0===i&&e&&"object"==typeof e&&(i=e);const r=Ep(t,i);if(!r)return null;if(r.warnings.forEach((t=>wp.warn(r.options.logLevel,t))),r.errors.length>0){if("silent"!==r.options.logLevel)throw r.errors[0];r.errors=[]}return r.toJS(Object.assign({reviver:n},i))},gp.parseAllDocuments=function(t,e={}){const{lineCounter:i,prettyErrors:n}=kp(e),r=new Dp.Parser(i?.addNewLine),s=new mp.Composer(e),o=Array.from(s.compose(r.parse(t)));if(n&&i)for(const e of o)e.errors.forEach(bp.prettifyError(t,i)),e.warnings.forEach(bp.prettifyError(t,i));return o.length>0?o:Object.assign([],{empty:!0},s.streamInfo())},gp.parseDocument=Ep,gp.stringify=function(t,e,i){let n=null;if("function"==typeof e||Array.isArray(e)?n=e:void 0===i&&e&&(i=e),"string"==typeof i&&(i=i.length),"number"==typeof i){const t=Math.round(i);i=t<1?void 0:t>8?{indent:8}:{indent:t}}if(void 0===t){const{keepUndefined:t}=i??e??{};if(!t)return}return new yp.Document(t,n,i).toString(i)};var xp=Gr,Ap=bs,Fp=Uo,Cp=ac,Sp=ws,_p=Hr,jp=eo,Op=zs,Bp=Wo,Tp=ha,Rp=Oh,Ip=Zh,$p=sp,Np=op,Lp=gp,Pp=is;Ur.Composer=xp.Composer,Ur.Document=Ap.Document,Ur.Schema=Fp.Schema,Ur.YAMLError=Cp.YAMLError,Ur.YAMLParseError=Cp.YAMLParseError,Ur.YAMLWarning=Cp.YAMLWarning,Ur.Alias=Sp.Alias,Ur.isAlias=_p.isAlias,Ur.isCollection=_p.isCollection,Ur.isDocument=_p.isDocument,Ur.isMap=_p.isMap,Ur.isNode=_p.isNode,Ur.isPair=_p.isPair,Ur.isScalar=_p.isScalar,Ur.isSeq=_p.isSeq,Ur.Pair=jp.Pair,Ur.Scalar=Op.Scalar,Ur.YAMLMap=Bp.YAMLMap,Ur.YAMLSeq=Tp.YAMLSeq,Ur.CST=Rp,Ur.Lexer=Ip.Lexer,Ur.LineCounter=$p.LineCounter,Ur.Parser=Np.Parser,Ur.parse=Lp.parse,Ur.parseAllDocuments=Lp.parseAllDocuments,Ur.parseDocument=Lp.parseDocument,Ur.stringify=Lp.stringify,Ur.visit=Pp.visit,Ur.visitAsync=Pp.visitAsync;var Mp=c,zp=function(t){return!!t&&(t instanceof Array||Array.isArray(t)||t.length>=0&&t.splice instanceof Function)},qp=function(t,e){t&&t.constructor===String||(e=t||{},t=Error.name);var i=function n(r){if(!this)return new n(r);r=r instanceof Error?r.message:r||this.message,Error.call(this,r),Error.captureStackTrace(this,i),this.name=t,Object.defineProperty(this,"message",{configurable:!0,enumerable:!1,get:function(){var t=r.split(/\r?\n/g);for(var i in e)if(e.hasOwnProperty(i)){var n=e[i];"message"in n&&(t=n.message(this[i],t)||t,zp(t)||(t=[t]))}return t.join("\n")},set:function(t){r=t}});var s=null,o=Object.getOwnPropertyDescriptor(this,"stack"),a=o.get,u=o.value;delete o.value,delete o.writable,o.set=function(t){s=t},o.get=function(){var t=(s||(a?a.call(this):u)).split(/\r?\n+/g);s||(t[0]=this.name+": "+this.message);var i=1;for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if("line"in r){var o=r.line(this[n]);o&&t.splice(i++,0," "+o)}"stack"in r&&r.stack(this[n],t)}return t.join("\n")},Object.defineProperty(this,"stack",o)};return Object.setPrototypeOf?(Object.setPrototypeOf(i.prototype,Error.prototype),Object.setPrototypeOf(i,Error)):Mp.inherits(i,Error),i};qp.append=function(t,e){return{message:function(i,n){return(i=i||e)&&(n[0]+=" "+t.replace("%s",i.toString())),n}}},qp.line=function(t,e){return{line:function(i){return(i=i||e)?t.replace("%s",i.toString()):null}}};var Up=qp,Gp=q(Up);let Wp=class extends SyntaxError{constructor(t,e,i,n){const r=((t,e,i)=>{if(!e)return{message:t.message+" while parsing empty string",position:0};const n=t.message.match(/^Unexpected token (.) .*position\s+(\d+)/i),r=n?+n[2]:t.message.match(/^Unexpected end of JSON.*/i)?e.length-1:null,s=n?t.message.replace(/^Unexpected token ./,`Unexpected token ${JSON.stringify(n[1])} (${(t=>{const e=t.charCodeAt(0).toString(16).toUpperCase();return"0x"+(e.length%2?"0":"")+e})(n[1])})`):t.message;if(null!=r){const t=r<=i?0:r-i,n=r+i>=e.length?e.length:r+i,o=(0===t?"":"...")+e.slice(t,n)+(n===e.length?"":"...");return{message:s+` while parsing ${e===o?"":"near "}${JSON.stringify(o)}`,position:r}}return{message:s+` while parsing '${e.slice(0,2*i)}'`,position:0}})(t,e,i=i||20);super(r.message),Object.assign(this,r),this.code="EJSONPARSE",this.systemError=t,Error.captureStackTrace(this,n||this.constructor)}get name(){return this.constructor.name}set name(t){}get[Symbol.toStringTag](){return this.constructor.name}};const Hp=Symbol.for("indent"),Vp=Symbol.for("newline"),Kp=/^\s*[{\[]((?:\r?\n)+)([\s\t]*)/,Yp=/^(?:\{\}|\[\])((?:\r?\n)+)?$/,Jp=(t,e,i)=>{const n=Zp(t);i=i||20;try{const[,t="\n",i=" "]=n.match(Yp)||n.match(Kp)||[,"",""],r=JSON.parse(n,e);return r&&"object"==typeof r&&(r[Vp]=t,r[Hp]=i),r}catch(e){if("string"!=typeof t&&!Buffer.isBuffer(t)){const i=Array.isArray(t)&&0===t.length;throw Object.assign(new TypeError(`Cannot parse ${i?"an empty array":String(t)}`),{code:"EJSONPARSE",systemError:e})}throw new Wp(e,n,i,Jp)}},Zp=t=>String(t).replace(/^\uFEFF/,"");var Qp=Jp;Jp.JSONParseError=Wp,Jp.noExceptions=(t,e)=>{try{return JSON.parse(Zp(t),e)}catch(t){}};var Xp=q(Qp),tf={},ef={},nf={};Object.defineProperty(nf,"__esModule",{value:!0}),nf.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,nf.matchToToken=function(t){var e={type:"invalid",value:t[0],closed:void 0};return t[1]?(e.type="string",e.closed=!(!t[3]&&!t[4])):t[5]?e.type="comment":t[6]?(e.type="comment",e.closed=!!t[7]):t[8]?e.type="regex":t[9]?e.type="number":t[10]?e.type="name":t[11]?e.type="punctuator":t[12]&&(e.type="whitespace"),e};var rf={},sf={};Object.defineProperty(sf,"__esModule",{value:!0}),sf.isIdentifierChar=df,sf.isIdentifierName=function(t){let e=!0;for(let i=0;it)return!1;if(i+=e[n+1],i>=t)return!0}return!1}function ff(t){return t<65?36===t:t<=90||(t<97?95===t:t<=122||(t<=65535?t>=170&&uf.test(String.fromCharCode(t)):pf(t,cf)))}function df(t){return t<48?36===t:t<58||!(t<65)&&(t<=90||(t<97?95===t:t<=122||(t<=65535?t>=170&&lf.test(String.fromCharCode(t)):pf(t,cf)||pf(t,hf))))}var gf={};Object.defineProperty(gf,"__esModule",{value:!0}),gf.isKeyword=function(t){return bf.has(t)},gf.isReservedWord=Df,gf.isStrictBindOnlyReservedWord=Ef,gf.isStrictBindReservedWord=function(t,e){return kf(t,e)||Ef(t)},gf.isStrictReservedWord=kf;const mf=["implements","interface","let","package","private","protected","public","static","yield"],yf=["eval","arguments"],bf=new Set(["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"]),wf=new Set(mf),vf=new Set(yf);function Df(t,e){return e&&"await"===t||"enum"===t}function kf(t,e){return Df(t,e)||wf.has(t)}function Ef(t){return vf.has(t)}!function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return e.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return e.isIdentifierName}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return e.isIdentifierStart}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return i.isKeyword}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return i.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return i.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return i.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return i.isStrictReservedWord}});var e=sf,i=gf}(rf);var xf={exports:{}};let Af=w,Ff=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||"win32"===process.platform||Af.isatty(1)&&"dumb"!==process.env.TERM||"CI"in process.env),Cf=(t,e,i=t)=>n=>{let r=""+n,s=r.indexOf(e,t.length);return~s?t+Sf(r,e,i,s)+e:t+r+e},Sf=(t,e,i,n)=>{let r=t.substring(0,n)+i,s=t.substring(n+e.length),o=s.indexOf(e);return~o?r+Sf(s,e,i,o):r+s},_f=(t=Ff)=>({isColorSupported:t,reset:t?t=>`${t}`:String,bold:t?Cf("","",""):String,dim:t?Cf("","",""):String,italic:t?Cf("",""):String,underline:t?Cf("",""):String,inverse:t?Cf("",""):String,hidden:t?Cf("",""):String,strikethrough:t?Cf("",""):String,black:t?Cf("",""):String,red:t?Cf("",""):String,green:t?Cf("",""):String,yellow:t?Cf("",""):String,blue:t?Cf("",""):String,magenta:t?Cf("",""):String,cyan:t?Cf("",""):String,white:t?Cf("",""):String,gray:t?Cf("",""):String,bgBlack:t?Cf("",""):String,bgRed:t?Cf("",""):String,bgGreen:t?Cf("",""):String,bgYellow:t?Cf("",""):String,bgBlue:t?Cf("",""):String,bgMagenta:t?Cf("",""):String,bgCyan:t?Cf("",""):String,bgWhite:t?Cf("",""):String});xf.exports=_f(),xf.exports.createColors=_f;var jf,Of,Bf=xf.exports,Tf={exports:{}};var Rf,If,$f,Nf,Lf,Pf,Mf,zf,qf,Uf,Gf,Wf,Hf,Vf,Kf,Yf={exports:{}},Jf={exports:{}};function Zf(){if($f)return Jf.exports;$f=1;var t=If?Rf:(If=1,Rf={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]}),e={};for(var i in t)t.hasOwnProperty(i)&&(e[t[i]]=i);var n=Jf.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(var r in n)if(n.hasOwnProperty(r)){if(!("channels"in n[r]))throw new Error("missing channels property: "+r);if(!("labels"in n[r]))throw new Error("missing channel labels property: "+r);if(n[r].labels.length!==n[r].channels)throw new Error("channel and label counts mismatch: "+r);var s=n[r].channels,o=n[r].labels;delete n[r].channels,delete n[r].labels,Object.defineProperty(n[r],"channels",{value:s}),Object.defineProperty(n[r],"labels",{value:o})}return n.rgb.hsl=function(t){var e,i,n=t[0]/255,r=t[1]/255,s=t[2]/255,o=Math.min(n,r,s),a=Math.max(n,r,s),u=a-o;return a===o?e=0:n===a?e=(r-s)/u:r===a?e=2+(s-n)/u:s===a&&(e=4+(n-r)/u),(e=Math.min(60*e,360))<0&&(e+=360),i=(o+a)/2,[e,100*(a===o?0:i<=.5?u/(a+o):u/(2-a-o)),100*i]},n.rgb.hsv=function(t){var e,i,n,r,s,o=t[0]/255,a=t[1]/255,u=t[2]/255,l=Math.max(o,a,u),c=l-Math.min(o,a,u),h=function(t){return(l-t)/6/c+.5};return 0===c?r=s=0:(s=c/l,e=h(o),i=h(a),n=h(u),o===l?r=n-i:a===l?r=1/3+e-n:u===l&&(r=2/3+i-e),r<0?r+=1:r>1&&(r-=1)),[360*r,100*s,100*l]},n.rgb.hwb=function(t){var e=t[0],i=t[1],r=t[2];return[n.rgb.hsl(t)[0],100*(1/255*Math.min(e,Math.min(i,r))),100*(r=1-1/255*Math.max(e,Math.max(i,r)))]},n.rgb.cmyk=function(t){var e,i=t[0]/255,n=t[1]/255,r=t[2]/255;return[100*((1-i-(e=Math.min(1-i,1-n,1-r)))/(1-e)||0),100*((1-n-e)/(1-e)||0),100*((1-r-e)/(1-e)||0),100*e]},n.rgb.keyword=function(i){var n=e[i];if(n)return n;var r,s,o,a=1/0;for(var u in t)if(t.hasOwnProperty(u)){var l=t[u],c=(s=i,o=l,Math.pow(s[0]-o[0],2)+Math.pow(s[1]-o[1],2)+Math.pow(s[2]-o[2],2));c.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*e+.7152*i+.0722*n),100*(.0193*e+.1192*i+.9505*n)]},n.rgb.lab=function(t){var e=n.rgb.xyz(t),i=e[0],r=e[1],s=e[2];return r/=100,s/=108.883,i=(i/=95.047)>.008856?Math.pow(i,1/3):7.787*i+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(i-r),200*(r-(s=s>.008856?Math.pow(s,1/3):7.787*s+16/116))]},n.hsl.rgb=function(t){var e,i,n,r,s,o=t[0]/360,a=t[1]/100,u=t[2]/100;if(0===a)return[s=255*u,s,s];e=2*u-(i=u<.5?u*(1+a):u+a-u*a),r=[0,0,0];for(var l=0;l<3;l++)(n=o+1/3*-(l-1))<0&&n++,n>1&&n--,s=6*n<1?e+6*(i-e)*n:2*n<1?i:3*n<2?e+(i-e)*(2/3-n)*6:e,r[l]=255*s;return r},n.hsl.hsv=function(t){var e=t[0],i=t[1]/100,n=t[2]/100,r=i,s=Math.max(n,.01);return i*=(n*=2)<=1?n:2-n,r*=s<=1?s:2-s,[e,100*(0===n?2*r/(s+r):2*i/(n+i)),100*((n+i)/2)]},n.hsv.rgb=function(t){var e=t[0]/60,i=t[1]/100,n=t[2]/100,r=Math.floor(e)%6,s=e-Math.floor(e),o=255*n*(1-i),a=255*n*(1-i*s),u=255*n*(1-i*(1-s));switch(n*=255,r){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]}},n.hsv.hsl=function(t){var e,i,n,r=t[0],s=t[1]/100,o=t[2]/100,a=Math.max(o,.01);return n=(2-s)*o,i=s*a,[r,100*(i=(i/=(e=(2-s)*a)<=1?e:2-e)||0),100*(n/=2)]},n.hwb.rgb=function(t){var e,i,n,r,s,o,a,u=t[0]/360,l=t[1]/100,c=t[2]/100,h=l+c;switch(h>1&&(l/=h,c/=h),n=6*u-(e=Math.floor(6*u)),1&e&&(n=1-n),r=l+n*((i=1-c)-l),e){default:case 6:case 0:s=i,o=r,a=l;break;case 1:s=r,o=i,a=l;break;case 2:s=l,o=i,a=r;break;case 3:s=l,o=r,a=i;break;case 4:s=r,o=l,a=i;break;case 5:s=i,o=l,a=r}return[255*s,255*o,255*a]},n.cmyk.rgb=function(t){var e=t[0]/100,i=t[1]/100,n=t[2]/100,r=t[3]/100;return[255*(1-Math.min(1,e*(1-r)+r)),255*(1-Math.min(1,i*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r))]},n.xyz.rgb=function(t){var e,i,n,r=t[0]/100,s=t[1]/100,o=t[2]/100;return i=-.9689*r+1.8758*s+.0415*o,n=.0557*r+-.204*s+1.057*o,e=(e=3.2406*r+-1.5372*s+-.4986*o)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(e=Math.min(Math.max(0,e),1)),255*(i=Math.min(Math.max(0,i),1)),255*(n=Math.min(Math.max(0,n),1))]},n.xyz.lab=function(t){var e=t[0],i=t[1],n=t[2];return i/=100,n/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(e-i),200*(i-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},n.lab.xyz=function(t){var e,i,n,r=t[0];e=t[1]/500+(i=(r+16)/116),n=i-t[2]/200;var s=Math.pow(i,3),o=Math.pow(e,3),a=Math.pow(n,3);return i=s>.008856?s:(i-16/116)/7.787,e=o>.008856?o:(e-16/116)/7.787,n=a>.008856?a:(n-16/116)/7.787,[e*=95.047,i*=100,n*=108.883]},n.lab.lch=function(t){var e,i=t[0],n=t[1],r=t[2];return(e=360*Math.atan2(r,n)/2/Math.PI)<0&&(e+=360),[i,Math.sqrt(n*n+r*r),e]},n.lch.lab=function(t){var e,i=t[0],n=t[1];return e=t[2]/360*2*Math.PI,[i,n*Math.cos(e),n*Math.sin(e)]},n.rgb.ansi16=function(t){var e=t[0],i=t[1],r=t[2],s=1 in arguments?arguments[1]:n.rgb.hsv(t)[2];if(0===(s=Math.round(s/50)))return 30;var o=30+(Math.round(r/255)<<2|Math.round(i/255)<<1|Math.round(e/255));return 2===s&&(o+=60),o},n.hsv.ansi16=function(t){return n.rgb.ansi16(n.hsv.rgb(t),t[2])},n.rgb.ansi256=function(t){var e=t[0],i=t[1],n=t[2];return e===i&&i===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5)},n.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var i=.5*(1+~~(t>50));return[(1&e)*i*255,(e>>1&1)*i*255,(e>>2&1)*i*255]},n.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var i;return t-=16,[Math.floor(t/36)/5*255,Math.floor((i=t%36)/6)/5*255,i%6/5*255]},n.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},n.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var i=e[0];3===e[0].length&&(i=i.split("").map((function(t){return t+t})).join(""));var n=parseInt(i,16);return[n>>16&255,n>>8&255,255&n]},n.rgb.hcg=function(t){var e,i=t[0]/255,n=t[1]/255,r=t[2]/255,s=Math.max(Math.max(i,n),r),o=Math.min(Math.min(i,n),r),a=s-o;return e=a<=0?0:s===i?(n-r)/a%6:s===n?2+(r-i)/a:4+(i-n)/a+4,e/=6,[360*(e%=1),100*a,100*(a<1?o/(1-a):0)]},n.hsl.hcg=function(t){var e=t[1]/100,i=t[2]/100,n=1,r=0;return(n=i<.5?2*e*i:2*e*(1-i))<1&&(r=(i-.5*n)/(1-n)),[t[0],100*n,100*r]},n.hsv.hcg=function(t){var e=t[1]/100,i=t[2]/100,n=e*i,r=0;return n<1&&(r=(i-n)/(1-n)),[t[0],100*n,100*r]},n.hcg.rgb=function(t){var e=t[0]/360,i=t[1]/100,n=t[2]/100;if(0===i)return[255*n,255*n,255*n];var r,s=[0,0,0],o=e%1*6,a=o%1,u=1-a;switch(Math.floor(o)){case 0:s[0]=1,s[1]=a,s[2]=0;break;case 1:s[0]=u,s[1]=1,s[2]=0;break;case 2:s[0]=0,s[1]=1,s[2]=a;break;case 3:s[0]=0,s[1]=u,s[2]=1;break;case 4:s[0]=a,s[1]=0,s[2]=1;break;default:s[0]=1,s[1]=0,s[2]=u}return r=(1-i)*n,[255*(i*s[0]+r),255*(i*s[1]+r),255*(i*s[2]+r)]},n.hcg.hsv=function(t){var e=t[1]/100,i=e+t[2]/100*(1-e),n=0;return i>0&&(n=e/i),[t[0],100*n,100*i]},n.hcg.hsl=function(t){var e=t[1]/100,i=t[2]/100*(1-e)+.5*e,n=0;return i>0&&i<.5?n=e/(2*i):i>=.5&&i<1&&(n=e/(2*(1-i))),[t[0],100*n,100*i]},n.hcg.hwb=function(t){var e=t[1]/100,i=e+t[2]/100*(1-e);return[t[0],100*(i-e),100*(1-i)]},n.hwb.hcg=function(t){var e=t[1]/100,i=1-t[2]/100,n=i-e,r=0;return n<1&&(r=(i-n)/(1-n)),[t[0],100*n,100*r]},n.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},n.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},n.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},n.gray.hsl=n.gray.hsv=function(t){return[0,0,t[0]]},n.gray.hwb=function(t){return[0,100,t[0]]},n.gray.cmyk=function(t){return[0,0,0,t[0]]},n.gray.lab=function(t){return[t[0],0,0]},n.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),i=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(i.length)+i},n.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]},Jf.exports}function Qf(){if(Lf)return Nf;Lf=1;var t=Zf();function e(e){var i=function(){for(var e={},i=Object.keys(t),n=i.length,r=0;r1&&(e=Array.prototype.slice.call(arguments));var i=t(e);if("object"==typeof i)for(var n=i.length,r=0;r1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(e)}))})),Pf=i}function td(){if(Wf)return Gf;Wf=1;const t=h,e=(Uf||(Uf=1,qf=(t,e)=>{e=e||process.argv;const i=t.startsWith("-")?"":1===t.length?"-":"--",n=e.indexOf(i+t),r=e.indexOf("--");return-1!==n&&(-1===r||n=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((t=>t in i))||"codeship"===i.CI_NAME?1:s;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if("truecolor"===i.COLORTERM)return 3;if("TERM_PROGRAM"in i){const t=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:(i.TERM,s)}(r);return function(t){return 0!==t&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}(s)}return e("no-color")||e("no-colors")||e("color=false")?n=!1:(e("color")||e("colors")||e("color=true")||e("color=always"))&&(n=!0),"FORCE_COLOR"in i&&(n=0===i.FORCE_COLOR.length||0!==parseInt(i.FORCE_COLOR,10)),Gf={supportsColor:r,stdout:r(process.stdout),stderr:r(process.stderr)}}function ed(){return Kf||(Kf=1,function(t){const e=function(){if(Of)return jf;Of=1;var t=/[|\\{}()[\]^$+*?.]/g;return jf=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(t,"\\$&")}}(),i=(zf||(zf=1,function(t){const e=Xf(),i=(t,i)=>function(){return`[${t.apply(e,arguments)+i}m`},n=(t,i)=>function(){const n=t.apply(e,arguments);return`[${38+i};5;${n}m`},r=(t,i)=>function(){const n=t.apply(e,arguments);return`[${38+i};2;${n[0]};${n[1]};${n[2]}m`};Object.defineProperty(t,"exports",{enumerable:!0,get:function(){const t=new Map,s={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]}};s.color.grey=s.color.gray;for(const e of Object.keys(s)){const i=s[e];for(const e of Object.keys(i)){const n=i[e];s[e]={open:`[${n[0]}m`,close:`[${n[1]}m`},i[e]=s[e],t.set(n[0],n[1])}Object.defineProperty(s,e,{value:i,enumerable:!1}),Object.defineProperty(s,"codes",{value:t,enumerable:!1})}const o=t=>t,a=(t,e,i)=>[t,e,i];s.color.close="",s.bgColor.close="",s.color.ansi={ansi:i(o,0)},s.color.ansi256={ansi256:n(o,0)},s.color.ansi16m={rgb:r(a,0)},s.bgColor.ansi={ansi:i(o,10)},s.bgColor.ansi256={ansi256:n(o,10)},s.bgColor.ansi16m={rgb:r(a,10)};for(let t of Object.keys(e)){if("object"!=typeof e[t])continue;const o=e[t];"ansi16"===t&&(t="ansi"),"ansi16"in o&&(s.color.ansi[t]=i(o.ansi16,0),s.bgColor.ansi[t]=i(o.ansi16,10)),"ansi256"in o&&(s.color.ansi256[t]=n(o.ansi256,0),s.bgColor.ansi256[t]=n(o.ansi256,10)),"rgb"in o&&(s.color.ansi16m[t]=r(o.rgb,0),s.bgColor.ansi16m[t]=r(o.rgb,10))}return s}})}(Yf)),Yf.exports),n=td().stdout,r=function(){if(Vf)return Hf;Vf=1;const t=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,e=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,i=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,n=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,r=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function s(t){return"u"===t[0]&&5===t.length||"x"===t[0]&&3===t.length?String.fromCharCode(parseInt(t.slice(1),16)):r.get(t)||t}function o(t,e){const r=[],o=e.trim().split(/\s*,\s*/g);let a;for(const e of o)if(isNaN(e)){if(!(a=e.match(i)))throw new Error(`Invalid Chalk template style argument: ${e} (in style '${t}')`);r.push(a[2].replace(n,((t,e,i)=>e?s(e):i)))}else r.push(Number(e));return r}function a(t){e.lastIndex=0;const i=[];let n;for(;null!==(n=e.exec(t));){const t=n[1];if(n[2]){const e=o(t,n[2]);i.push([t].concat(e))}else i.push([t])}return i}function u(t,e){const i={};for(const t of e)for(const e of t.styles)i[e[0]]=t.inverse?null:e.slice(1);let n=t;for(const t of Object.keys(i))if(Array.isArray(i[t])){if(!(t in n))throw new Error(`Unknown Chalk style: ${t}`);n=i[t].length>0?n[t].apply(n,i[t]):n[t]}return n}return Hf=(e,i)=>{const n=[],r=[];let o=[];if(i.replace(t,((t,i,l,c,h,p)=>{if(i)o.push(s(i));else if(c){const t=o.join("");o=[],r.push(0===n.length?t:u(e,n)(t)),n.push({inverse:l,styles:a(c)})}else if(h){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(u(e,n)(o.join(""))),o=[],n.pop()}else o.push(p)})),r.push(o.join("")),n.length>0){const t=`Chalk template literal is missing ${n.length} closing bracket${1===n.length?"":"s"} (\`}\`)`;throw new Error(t)}return r.join("")},Hf}(),s="win32"===process.platform&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),o=["ansi","ansi","ansi256","ansi16m"],a=new Set(["gray"]),u=Object.create(null);function l(t,e){e=e||{};const i=n?n.level:0;t.level=void 0===e.level?i:e.level,t.enabled="enabled"in e?e.enabled:t.level>0}function c(t){if(!this||!(this instanceof c)||this.template){const e={};return l(e,t),e.template=function(){const t=[].slice.call(arguments);return d.apply(null,[e.template].concat(t))},Object.setPrototypeOf(e,c.prototype),Object.setPrototypeOf(e.template,e),e.template.constructor=c,e.template}l(this,t)}s&&(i.blue.open="");for(const t of Object.keys(i))i[t].closeRe=new RegExp(e(i[t].close),"g"),u[t]={get(){const e=i[t];return p.call(this,this._styles?this._styles.concat(e):[e],this._empty,t)}};u.visible={get(){return p.call(this,this._styles||[],!0,"visible")}},i.color.closeRe=new RegExp(e(i.color.close),"g");for(const t of Object.keys(i.color.ansi))a.has(t)||(u[t]={get(){const e=this.level;return function(){const n={open:i.color[o[e]][t].apply(null,arguments),close:i.color.close,closeRe:i.color.closeRe};return p.call(this,this._styles?this._styles.concat(n):[n],this._empty,t)}}});i.bgColor.closeRe=new RegExp(e(i.bgColor.close),"g");for(const t of Object.keys(i.bgColor.ansi)){if(a.has(t))continue;u["bg"+t[0].toUpperCase()+t.slice(1)]={get(){const e=this.level;return function(){const n={open:i.bgColor[o[e]][t].apply(null,arguments),close:i.bgColor.close,closeRe:i.bgColor.closeRe};return p.call(this,this._styles?this._styles.concat(n):[n],this._empty,t)}}}}const h=Object.defineProperties((()=>{}),u);function p(t,e,i){const n=function(){return f.apply(n,arguments)};n._styles=t,n._empty=e;const r=this;return Object.defineProperty(n,"level",{enumerable:!0,get:()=>r.level,set(t){r.level=t}}),Object.defineProperty(n,"enabled",{enumerable:!0,get:()=>r.enabled,set(t){r.enabled=t}}),n.hasGrey=this.hasGrey||"gray"===i||"grey"===i,n.__proto__=h,n}function f(){const t=arguments,e=t.length;let n=String(arguments[0]);if(0===e)return"";if(e>1)for(let i=1;ie(t))).join("\n"):r}return i}(i,t)}return t},ef.shouldHighlight=fd;var id=nf,nd=rf,rd=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var i=sd(e);if(i&&i.has(t))return i.get(t);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var o=r?Object.getOwnPropertyDescriptor(t,s):null;o&&(o.get||o.set)?Object.defineProperty(n,s,o):n[s]=t[s]}return n.default=t,i&&i.set(t,n),n}(Bf,!0);function sd(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,i=new WeakMap;return(sd=function(t){return t?i:e})(t)}const od="object"!=typeof process||"0"!==process.env.FORCE_COLOR&&"false"!==process.env.FORCE_COLOR?rd.default:(0,rd.createColors)(!1),ad=(t,e)=>i=>t(e(i)),ud=new Set(["as","async","from","get","of","set"]);const ld=/\r\n|[\n\r\u2028\u2029]/,cd=/^[()[\]{}]$/;let hd,pd;{const t=/^[a-z][\w-]*$/i,e=function(e,i,n){if("name"===e.type){if((0,nd.isKeyword)(e.value)||(0,nd.isStrictReservedWord)(e.value,!0)||ud.has(e.value))return"keyword";if(t.test(e.value)&&("<"===n[i-1]||"(null!=t||(t=ed()),i?(null!=e||(e=new t.constructor({enabled:!0,level:1})),e):t)}Object.defineProperty(tf,"__esModule",{value:!0});var dd=tf.codeFrameColumns=xd;tf.default=function(t,e,i,n={}){if(!kd){kd=!0;const t="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(t,"DeprecationWarning");else{new Error(t).name="DeprecationWarning",console.warn(new Error(t))}}const r={start:{column:i=Math.max(i,0),line:e}};return xd(t,r,n)};var gd=ef,md=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var i=yd(e);if(i&&i.has(t))return i.get(t);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var o=r?Object.getOwnPropertyDescriptor(t,s):null;o&&(o.get||o.set)?Object.defineProperty(n,s,o):n[s]=t[s]}return n.default=t,i&&i.set(t,n),n}(Bf,!0);function yd(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,i=new WeakMap;return(yd=function(t){return t?i:e})(t)}const bd="object"!=typeof process||"0"!==process.env.FORCE_COLOR&&"false"!==process.env.FORCE_COLOR?md.default:(0,md.createColors)(!1),wd=(t,e)=>i=>t(e(i));let vd;function Dd(t){return t?(null!=vd||(vd=(0,md.createColors)(!0)),vd):bd}let kd=!1;const Ed=/\r\n|[\n\r\u2028\u2029]/;function xd(t,e,i={}){const n=(i.highlightCode||i.forceColor)&&(0,gd.shouldHighlight)(i),r=Dd(i.forceColor),s=function(t){return{gutter:t.gray,marker:wd(t.red,t.bold),message:wd(t.red,t.bold)}}(r),o=(t,e)=>n?t(e):e,a=t.split(Ed),{start:u,end:l,markerLines:c}=function(t,e,i){const n=Object.assign({column:0,line:-1},t.start),r=Object.assign({},n,t.end),{linesAbove:s=2,linesBelow:o=3}=i||{},a=n.line,u=n.column,l=r.line,c=r.column;let h=Math.max(a-(s+1),0),p=Math.min(e.length,l+o);-1===a&&(h=0),-1===l&&(p=e.length);const f=l-a,d={};if(f)for(let t=0;t<=f;t++){const i=t+a;if(u)if(0===t){const t=e[i-1].length;d[i]=[u,t-u+1]}else if(t===f)d[i]=[0,c];else{const n=e[i-t].length;d[i]=[0,n]}else d[i]=!0}else d[a]=u===c?!u||[u,0]:[u,c-u];return{start:h,end:p,markerLines:d}}(e,a,i),h=e.start&&"number"==typeof e.start.column,p=String(l).length;let f=(n?(0,gd.default)(t,i):t).split(Ed,l).slice(u,l).map(((t,e)=>{const n=u+1+e,r=` ${` ${n}`.slice(-p)} |`,a=c[n],l=!c[n+1];if(a){let e="";if(Array.isArray(a)){const n=t.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," "),u=a[1]||1;e=["\n ",o(s.gutter,r.replace(/\d/g," "))," ",n,o(s.marker,"^").repeat(u)].join(""),l&&i.message&&(e+=" "+o(s.message,i.message))}return[o(s.marker,">"),o(s.gutter,r),t.length>0?` ${t}`:"",e].join("")}return` ${o(s.gutter,r)}${t.length>0?` ${t}`:""}`})).join("\n");return i.message&&!h&&(f=`${" ".repeat(p+1)}${i.message}\n${f}`),n?r.reset(f):f}var Ad="\n",Fd=function(){function t(t){this.length=t.length;for(var e=[0],i=0;ithis.length)return null;for(var e=0,i=this.offsets;i[e+1]<=t;)e++;return{line:e,column:t-i[e]}},t.prototype.indexForLocation=function(t){var e=t.line,i=t.column;return e<0||e>=this.offsets.length||i<0||i>this.lengthOfLine(e)?null:this.offsets[e]+i},t.prototype.lengthOfLine=function(t){var e=this.offsets[t];return(t===this.offsets.length-1?this.length:this.offsets[t+1])-e},t}();const Cd=Gp("JSONError",{fileName:Gp.append("in %s"),codeFrame:Gp.append("\n\n%s\n")});function Sd(t,e,i){"string"==typeof e&&(i=e,e=null);try{try{return JSON.parse(t,e)}catch(i){throw Xp(t,e),i}}catch(e){e.message=e.message.replace(/\n/g,"");const n=e.message.match(/in JSON at position (\d+) while parsing/),r=new Cd(e);if(i&&(r.fileName=i),n&&n.length>0){const e=new Fd(t),i=Number(n[1]),s=e.locationForIndex(i),o=dd(t,{start:{line:s.line+1,column:s.column+1}},{highlightCode:!0});r.codeFrame=o}throw r}}var _d,jd,Od,Bd,Td,Rd={exports:{}},Id={exports:{}};function $d(){if(jd)return _d;jd=1;var t=1e3,e=60*t,i=60*e,n=24*i,r=7*n,s=365.25*n;function o(t,e,i,n){var r=e>=1.5*i;return Math.round(t/i)+" "+n+(r?"s":"")}return _d=function(a,u){u=u||{};var l=typeof a;if("string"===l&&a.length>0)return function(o){if((o=String(o)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(o);if(!a)return;var u=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return u*s;case"weeks":case"week":case"w":return u*r;case"days":case"day":case"d":return u*n;case"hours":case"hour":case"hrs":case"hr":case"h":return u*i;case"minutes":case"minute":case"mins":case"min":case"m":return u*e;case"seconds":case"second":case"secs":case"sec":case"s":return u*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}(a);if("number"===l&&isFinite(a))return u.long?function(r){var s=Math.abs(r);if(s>=n)return o(r,s,n,"day");if(s>=i)return o(r,s,i,"hour");if(s>=e)return o(r,s,e,"minute");if(s>=t)return o(r,s,t,"second");return r+" ms"}(a):function(r){var s=Math.abs(r);if(s>=n)return Math.round(r/n)+"d";if(s>=i)return Math.round(r/i)+"h";if(s>=e)return Math.round(r/e)+"m";if(s>=t)return Math.round(r/t)+"s";return r+"ms"}(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))},_d}function Nd(){if(Bd)return Od;return Bd=1,Od=function(t){function e(t){let n,r,s,o=null;function a(...t){if(!a.enabled)return;const i=a,r=Number(new Date),s=r-(n||r);i.diff=s,i.prev=n,i.curr=r,n=r,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let o=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,((n,r)=>{if("%%"===n)return"%";o++;const s=e.formatters[r];if("function"==typeof s){const e=t[o];n=s.call(i,e),t.splice(o,1),o--}return n})),e.formatArgs.call(i,t);(i.log||e.log).apply(i,t)}return a.namespace=t,a.useColors=e.useColors(),a.color=e.selectColor(t),a.extend=i,a.destroy=e.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(r!==e.namespaces&&(r=e.namespaces,s=e.enabled(t)),s),set:t=>{o=t}}),"function"==typeof e.init&&e.init(a),a}function i(t,i){const n=e(this.namespace+(void 0===i?":":i)+t);return n.log=this.log,n}function n(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){if(t instanceof Error)return t.stack||t.message;return t},e.disable=function(){const t=[...e.names.map(n),...e.skips.map(n).map((t=>"-"+t))].join(",");return e.enable(""),t},e.enable=function(t){let i;e.save(t),e.namespaces=t,e.names=[],e.skips=[];const n=("string"==typeof t?t:"").split(/[\s,]+/),r=n.length;for(i=0;i{e[i]=t[i]})),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let i=0;for(let e=0;e=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in Md)return"GITHUB_ACTIONS"in Md||"GITEA_ACTIONS"in Md?3:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((t=>t in Md))||"codeship"===Md.CI_NAME?1:s;if("TEAMCITY_VERSION"in Md)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Md.TEAMCITY_VERSION)?1:0;if("truecolor"===Md.COLORTERM)return 3;if("xterm-kitty"===Md.TERM)return 3;if("TERM_PROGRAM"in Md){const t=Number.parseInt((Md.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Md.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Md.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Md.TERM)||"COLORTERM"in Md?1:s}function Ud(t,e={}){return function(t){return 0!==t&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}(qd(t,{streamIsTTY:t&&t.isTTY,...e}))}Pd("no-color")||Pd("no-colors")||Pd("color=false")||Pd("color=never")?zd=0:(Pd("color")||Pd("colors")||Pd("color=true")||Pd("color=always"))&&(zd=1);const Gd={stdout:Ud({isTTY:b.isatty(1)}),stderr:Ud({isTTY:b.isatty(2)})};var Wd,Hd=U(Object.freeze({__proto__:null,createSupportsColor:Ud,default:Gd}));"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?Rd.exports=(Td||(Td=1,function(t,e){e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const i="color: "+this.color;e.splice(1,0,i,"color: inherit");let n=0,r=0;e[0].replace(/%[a-zA-Z%]/g,(t=>{"%%"!==t&&(n++,"%c"===t&&(r=n))})),e.splice(r,0,i)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(t){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t},e.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage=function(){try{return localStorage}catch(t){}}(),e.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=Nd()(e);const{formatters:i}=t.exports;i.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}(Id,Id.exports)),Id.exports):Rd.exports=(Wd||(Wd=1,function(t,e){const i=w,n=c;e.init=function(t){t.inspectOpts={};const i=Object.keys(e.inspectOpts);for(let n=0;n{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),e.colors=[6,2,3,4,5,1];try{const t=Hd;t&&(t.stderr||t).level>=2&&(e.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(t){}e.inspectOpts=Object.keys(process.env).filter((t=>/^debug_/i.test(t))).reduce(((t,e)=>{const i=e.substring(6).toLowerCase().replace(/_([a-z])/g,((t,e)=>e.toUpperCase()));let n=process.env[e];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),t[i]=n,t}),{}),t.exports=Nd()(e);const{formatters:r}=t.exports;r.o=function(t){return this.inspectOpts.colors=this.useColors,n.inspect(t,this.inspectOpts).split("\n").map((t=>t.trim())).join(" ")},r.O=function(t){return this.inspectOpts.colors=this.useColors,n.inspect(t,this.inspectOpts)}}(Ld,Ld.exports)),Ld.exports);var Vd=q(Rd.exports),Kd={};Object.defineProperty(Kd,"__esModule",{value:!0}),Kd.walkUp=void 0;const Yd=o;Kd.walkUp=function*(t){for(t=(0,Yd.resolve)(t);t;){yield t;const e=(0,Yd.dirname)(t);if(e===t)break;t=e}};const{hasOwnProperty:Jd}=Object.prototype,Zd=(t,e={})=>{"string"==typeof e&&(e={section:e}),e.align=!0===e.align,e.newline=!0===e.newline,e.sort=!0===e.sort,e.whitespace=!0===e.whitespace||!0===e.align,e.platform=e.platform||"undefined"!=typeof process&&process.platform,e.bracketedArray=!1!==e.bracketedArray;const i="win32"===e.platform?"\r\n":"\n",n=e.whitespace?" = ":"=",r=[],s=e.sort?Object.keys(t).sort():Object.keys(t);let o=0;e.align&&(o=eg(s.filter((e=>null===t[e]||Array.isArray(t[e])||"object"!=typeof t[e])).map((e=>Array.isArray(t[e])?`${e}[]`:e)).concat([""]).reduce(((t,e)=>eg(t).length>=eg(e).length?t:e))).length);let a="";const u=e.bracketedArray?"[]":"";for(const e of s){const s=t[e];if(s&&Array.isArray(s))for(const t of s)a+=eg(`${e}${u}`).padEnd(o," ")+n+eg(t)+i;else s&&"object"==typeof s?r.push(e):a+=eg(e).padEnd(o," ")+n+eg(s)+i}e.section&&a.length&&(a="["+eg(e.section)+"]"+(e.newline?i+i:i)+a);for(const n of r){const r=Qd(n,".").join("\\."),s=(e.section?e.section+".":"")+r,o=Zd(t[n],{...e,section:s});a.length&&o.length&&(a+=i),a+=o}return a};function Qd(t,e){var i=0,n=0,r=0,s=[];do{if(-1!==(r=t.indexOf(e,i))){if(i=r+e.length,r>0&&"\\"===t[r-1])continue;s.push(t.slice(n,r)),n=r+e.length}}while(-1!==r);return s.push(t.slice(n)),s}const Xd=(t,e={})=>{e.bracketedArray=!1!==e.bracketedArray;const i=Object.create(null);let n=i,r=null;const s=/^\[([^\]]*)\]\s*$|^([^=]+)(=(.*))?$/i,o=t.split(/[\r\n]+/g),a={};for(const t of o){if(!t||t.match(/^\s*[;#]/)||t.match(/^\s*$/))continue;const o=t.match(s);if(!o)continue;if(void 0!==o[1]){if(r=ig(o[1]),"__proto__"===r){n=Object.create(null);continue}n=i[r]=i[r]||Object.create(null);continue}const u=ig(o[2]);let l;e.bracketedArray?l=u.length>2&&"[]"===u.slice(-2):(a[u]=(a?.[u]||0)+1,l=a[u]>1);const c=l?u.slice(0,-2):u;if("__proto__"===c)continue;const h=!o[3]||ig(o[4]),p="true"===h||"false"===h||"null"===h?JSON.parse(h):h;l&&(Jd.call(n,c)?Array.isArray(n[c])||(n[c]=[n[c]]):n[c]=[]),Array.isArray(n[c])?n[c].push(p):n[c]=p}const u=[];for(const t of Object.keys(i)){if(!Jd.call(i,t)||"object"!=typeof i[t]||Array.isArray(i[t]))continue;const e=Qd(t,".");n=i;const r=e.pop(),s=r.replace(/\\\./g,".");for(const t of e)"__proto__"!==t&&(Jd.call(n,t)&&"object"==typeof n[t]||(n[t]=Object.create(null)),n=n[t]);n===i&&s===r||(n[s]=i[t],u.push(t))}for(const t of u)delete i[t];return i},tg=t=>t.startsWith('"')&&t.endsWith('"')||t.startsWith("'")&&t.endsWith("'"),eg=t=>"string"!=typeof t||t.match(/[=\r\n]/)||t.match(/^\[/)||t.length>1&&tg(t)||t!==t.trim()?JSON.stringify(t):t.split(";").join("\\;").split("#").join("\\#"),ig=t=>{if(t=(t||"").trim(),!tg(t)){let e=!1,i="";for(let n=0,r=t.length;ne?1:-1}var ag=process.env.DEBUG_NOPT||process.env.NOPT_DEBUG?(...t)=>console.error(...t):()=>{};const ug=p,lg=o,cg=E.Stream,hg=h,pg=ag;var fg={String:{type:String,validate:function(t,e,i){t[e]=String(i)}},Boolean:{type:Boolean,validate:function(t,e,i){i="string"==typeof i?isNaN(i)?"null"!==i&&"false"!==i:!!+i:!!i,t[e]=i}},url:{type:ug,validate:function(t,e,i){if(!(i=ug.parse(String(i))).host)return!1;t[e]=i.href}},Number:{type:Number,validate:function(t,e,i){if(pg("validate Number %j %j %j",e,i,isNaN(i)),isNaN(i))return!1;t[e]=+i}},path:{type:lg,validate:function(t,e,i){if(!0===i)return!1;if(null===i)return!0;i=String(i);const n="win32"===process.platform?/^~(\/|\\)/:/^~\//,r=hg.homedir();return r&&i.match(n)?t[e]=lg.resolve(r,i.slice(2)):t[e]=lg.resolve(i),!0}},Stream:{type:cg,validate:function(t,e,i){if(!(i instanceof cg))return!1;t[e]=i}},Date:{type:Date,validate:function(t,e,i){const n=Date.parse(i);if(pg("validate Date %j %j %j",e,i,n),isNaN(n))return!1;t[e]=new Date(i)}},Array:{type:Array}};const dg=sg,gg=ag,mg=fg,yg=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),bg=(t,{types:e,dynamicTypes:i})=>{let n=yg(e,t),r=e[t];if(!n&&"function"==typeof i){const e=i(t);void 0!==e&&(r=e,n=!0)}return[n,r]},wg=(t,e)=>e&&t===e,vg=(t,e)=>e&&-1!==t.indexOf(e),Dg=(t,e)=>e&&!vg(t,e);function kg(t,{types:e={},typeDefs:i={},dynamicTypes:n,invalidHandler:r,typeDefault:s}={}){const o=i.String?.type,a=i.Number?.type,u=i.Array?.type,l=i.Boolean?.type,c=i.Date?.type,h=void 0!==s;h||(s=[!1,!0,null],o&&s.push(o),u&&s.push(u));const p={};Object.keys(t).forEach((o=>{if("argv"===o)return;let f=t[o];gg("val=%j",f);const d=Array.isArray(f);let[g,m]=bg(o,{types:e,dynamicTypes:n}),y=m;d||(f=[f]),y||(y=s),wg(y,u)&&(y=s.concat(u)),Array.isArray(y)||(y=[y]),gg("val=%j",f),gg("types=",y),f=f.map((e=>{if("string"==typeof e&&(gg("string %j",e),"null"===(e=e.trim())&&~y.indexOf(null)||"true"===e&&(~y.indexOf(!0)||vg(y,l))||"false"===e&&(~y.indexOf(!1)||vg(y,l))?(e=JSON.parse(e),gg("jsonable %j",e)):vg(y,a)&&!isNaN(e)?(gg("convert to number",e),e=+e):vg(y,c)&&!isNaN(Date.parse(e))&&(gg("convert to date",e),e=new Date(e))),!g){if(!h)return e;m=s}!1!==e||!~y.indexOf(null)||~y.indexOf(!1)||vg(y,l)||(e=null);const n={};return n[o]=e,gg("prevalidated val",n,e,m),Eg(n,o,e,m,{typeDefs:i})?(gg("validated v",n,e,m),n[o]):(r?r(o,e,m,t):!1!==r&&gg("invalid: "+o+"="+e,m),p)})).filter((t=>t!==p)),!f.length&&Dg(y,u)?(gg("VAL HAS NO LENGTH, DELETE IT",f,o,y.indexOf(u)),delete t[o]):d?(gg(d,t[o],f),t[o]=f):t[o]=f[0],gg("k=%s val=%j",o,f,t[o])}))}function Eg(t,e,i,n,{typeDefs:r}={}){const s=r?.Array?.type;if(Array.isArray(n)){for(let o=0,a=n.length;o1){const i=f.indexOf("=");if(i>-1){d=!0;const e=f.slice(i+1);f=f.slice(0,i),t.splice(r,1,f,e)}const g=Cg(f,p,h,{shorthands:s});if(gg("arg=%j shRes=%j",f,g),g&&(t.splice.apply(t,[r,1].concat(g)),f!==g[0])){r--;continue}f=f.replace(/^-+/,"");let m=null;for(;0===f.toLowerCase().indexOf("no-");)m=!m,f=f.slice(3);h[f]&&(f=h[f]);let[y,b]=bg(f,{types:n,dynamicTypes:o}),w=Array.isArray(b);w&&1===b.length&&(w=!1,b=b[0]);let v,D=wg(b,l)||w&&vg(b,l);!y&&yg(e,f)&&(Array.isArray(e[f])||(e[f]=[e[f]]),D=!0);let k=t[r+1];if("boolean"==typeof m||wg(b,c)||w&&vg(b,c)||void 0===b&&!d||"false"===k&&(null===b||w&&~b.indexOf(null))){v=!m,"true"!==k&&"false"!==k||(v=JSON.parse(k),k=null,m&&(v=!v),r++),w&&k&&(~b.indexOf(k)?(v=k,r++):"null"===k&&~b.indexOf(null)?(v=null,r++):k.match(/^-{2,}[^-]/)||isNaN(k)||!vg(b,u)?!k.match(/^-[^-]/)&&vg(b,a)&&(v=k,r++):(v=+k,r++)),D?(e[f]=e[f]||[]).push(v):e[f]=v;continue}wg(b,a)&&(void 0===k?k="":k.match(/^-{1,2}[^-]+/)&&(k="",r--)),k&&k.match(/^-{2,}$/)&&(k=void 0,r--),v=void 0===k||k,D?(e[f]=e[f]||[]).push(v):e[f]=v,r++}else i.push(f)}}const Ag=Symbol("singles"),Fg=(t,e)=>{let i=e[Ag];i||(i=Object.keys(e).filter((t=>1===t.length)).reduce(((t,e)=>(t[e]=!0,t)),{}),e[Ag]=i,gg("shorthand singles",i));const n=t.split("").filter((t=>i[t]));return n.join("")===t?n:null};function Cg(t,...e){const{types:i={},shorthands:n={}}=e.length?e.pop():{},r=e[0]??dg(Object.keys(n)),s=e[1]??dg(Object.keys(i));if(s[t=t.replace(/^-+/,"")]===t)return null;if(n[t])return n[t]&&!Array.isArray(n[t])&&(n[t]=n[t].split(/\s+/)),n[t];const o=Fg(t,n);return o?o.map((t=>n[t])).reduce(((t,e)=>t.concat(e)),[]):s[t]&&!n[t]?null:(r[t]&&(t=r[t]),n[t]&&!Array.isArray(n[t])&&(n[t]=n[t].split(/\s+/)),n[t])}var Sg={nopt:function(t,{types:e,shorthands:i,typeDefs:n,invalidHandler:r,typeDefault:s,dynamicTypes:o}={}){gg(e,i,t,n);const a={},u={remain:[],cooked:t,original:t.slice(0)};return xg(t,a,u.remain,{typeDefs:n,types:e,dynamicTypes:o,shorthands:i}),kg(a,{types:e,dynamicTypes:o,typeDefs:n,invalidHandler:r,typeDefault:s}),a.argv=u,Object.defineProperty(a.argv,"toString",{value:function(){return this.original.map(JSON.stringify).join(" ")},enumerable:!1}),a},clean:kg,parse:xg,validate:Eg,resolveShort:Cg,typeDefs:mg};!function(t,e){const i=Sg,n=fg;rg.exports=e=function(t,n,r=process.argv,s=2){return i.nopt(r.slice(s),{types:t||{},shorthands:n||{},typeDefs:e.typeDefs,invalidHandler:e.invalidHandler})},e.clean=function(t,n,r=e.typeDefs){return i.clean(t,{types:n||{},typeDefs:r,invalidHandler:e.invalidHandler})},e.typeDefs=n,e.lib=i}(0,rg.exports);var _g=rg.exports;const{basename:jg,dirname:Og}=o;var Bg={},Tg=mt,Rg=function(t){if(!t)return[];"{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2));return Vg(function(t){return t.split("\\\\").join(Ig).split("\\{").join($g).split("\\}").join(Ng).split("\\,").join(Lg).split("\\.").join(Pg)}(t),!0).map(zg)},Ig="\0SLASH"+Math.random()+"\0",$g="\0OPEN"+Math.random()+"\0",Ng="\0CLOSE"+Math.random()+"\0",Lg="\0COMMA"+Math.random()+"\0",Pg="\0PERIOD"+Math.random()+"\0";function Mg(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function zg(t){return t.split(Ig).join("\\").split($g).join("{").split(Ng).join("}").split(Lg).join(",").split(Pg).join(".")}function qg(t){if(!t)return[""];var e=[],i=Tg("{","}",t);if(!i)return t.split(",");var n=i.pre,r=i.body,s=i.post,o=n.split(",");o[o.length-1]+="{"+r+"}";var a=qg(s);return s.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function Ug(t){return"{"+t+"}"}function Gg(t){return/^-?0\d/.test(t)}function Wg(t,e){return t<=e}function Hg(t,e){return t>=e}function Vg(t,e){var i=[],n=Tg("{","}",t);if(!n)return[t];var r=n.pre,s=n.post.length?Vg(n.post,!1):[""];if(/\$$/.test(n.pre))for(var o=0;o=0;if(!p&&!f)return n.post.match(/,.*\}/)?Vg(t=n.pre+"{"+n.body+Ng+n.post):[t];if(p)u=n.body.split(/\.\./);else if(1===(u=qg(n.body)).length&&1===(u=Vg(u[0],!1).map(Ug)).length)return s.map((function(t){return n.pre+u[0]+t}));if(p){var d=Mg(u[0]),g=Mg(u[1]),m=Math.max(u[0].length,u[1].length),y=3==u.length?Math.abs(Mg(u[2])):1,b=Wg;g0){var E=new Array(k+1).join("0");D=v<0?"-"+E+D.slice(1):E+D}}l.push(D)}}else{l=[];for(var x=0;x{if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")};var Yg={},Jg={};Object.defineProperty(Jg,"__esModule",{value:!0}),Jg.parseClass=void 0;const Zg={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},Qg=t=>t.replace(/[[\]\\-]/g,"\\$&"),Xg=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),tm=t=>t.join("");Jg.parseClass=(t,e)=>{const i=e;if("["!==t.charAt(i))throw new Error("not in a brace expression");const n=[],r=[];let s=i+1,o=!1,a=!1,u=!1,l=!1,c=i,h="";t:for(;sh?n.push(Qg(h)+"-"+Qg(e)):e===h&&n.push(Qg(e)),h="",s++):t.startsWith("-]",s+1)?(n.push(Qg(e+"-")),s+=2):t.startsWith("-",s+1)?(h=e,s+=2):(n.push(Qg(e)),s++)}else u=!0,s++}else l=!0,s++}if(ce?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"),Object.defineProperty(Yg,"__esModule",{value:!0}),Yg.AST=void 0;const im=Jg,nm=em,rm=new Set(["!","?","+","*","@"]),sm=t=>rm.has(t),om="(?!\\.)",am=new Set(["[","."]),um=new Set(["..","."]),lm=new Set("().*{}+?[]^$\\!"),cm=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),hm="[^/]",pm=hm+"*?",fm=hm+"+?";class dm{type;#t;#e;#i=!1;#n=[];#r;#s;#o;#a=!1;#u;#l;#c=!1;constructor(t,e,i={}){this.type=t,t&&(this.#e=!0),this.#r=e,this.#t=this.#r?this.#r.#t:this,this.#u=this.#t===this?i:this.#t.#u,this.#o=this.#t===this?[]:this.#t.#o,"!"!==t||this.#t.#a||this.#o.push(this),this.#s=this.#r?this.#r.#n.length:0}get hasMagic(){if(void 0!==this.#e)return this.#e;for(const t of this.#n)if("string"!=typeof t&&(t.type||t.hasMagic))return this.#e=!0;return this.#e}toString(){return void 0!==this.#l?this.#l:this.type?this.#l=this.type+"("+this.#n.map((t=>String(t))).join("|")+")":this.#l=this.#n.map((t=>String(t))).join("")}#h(){if(this!==this.#t)throw new Error("should only call on root");if(this.#a)return this;let t;for(this.toString(),this.#a=!0;t=this.#o.pop();){if("!"!==t.type)continue;let e=t,i=e.#r;for(;i;){for(let n=e.#s+1;!i.type&&n"string"==typeof t?t:t.toJSON())):[this.type,...this.#n.map((t=>t.toJSON()))];return this.isStart()&&!this.type&&t.unshift([]),this.isEnd()&&(this===this.#t||this.#t.#a&&"!"===this.#r?.type)&&t.push({}),t}isStart(){if(this.#t===this)return!0;if(!this.#r?.isStart())return!1;if(0===this.#s)return!0;const t=this.#r;for(let e=0;e{const[n,r,s,o]="string"==typeof e?dm.#f(e,this.#e,i):e.toRegExpSource(t);return this.#e=this.#e||s,this.#i=this.#i||o,n})).join("");let r="";if(this.isStart()&&"string"==typeof this.#n[0]){if(!(1===this.#n.length&&um.has(this.#n[0]))){const i=am,s=e&&i.has(n.charAt(0))||n.startsWith("\\.")&&i.has(n.charAt(2))||n.startsWith("\\.\\.")&&i.has(n.charAt(4)),o=!e&&!t&&i.has(n.charAt(0));r=s?"(?!(?:^|/)\\.\\.?(?:$|/))":o?om:""}}let s="";this.isEnd()&&this.#t.#a&&"!"===this.#r?.type&&(s="(?:$|\\/)");return[r+n+s,(0,nm.unescape)(n),this.#e=!!this.#e,this.#i]}const i="*"===this.type||"+"===this.type,n="!"===this.type?"(?:(?!(?:":"(?:";let r=this.#d(e);if(this.isStart()&&this.isEnd()&&!r&&"!"!==this.type){const t=this.toString();return this.#n=[t],this.type=null,this.#e=void 0,[t,(0,nm.unescape)(this.toString()),!1,!1]}let s=!i||t||e?"":this.#d(!0);s===r&&(s=""),s&&(r=`(?:${r})(?:${s})*?`);let o="";if("!"===this.type&&this.#c)o=(this.isStart()&&!e?om:"")+fm;else{o=n+r+("!"===this.type?"))"+(!this.isStart()||e||t?"":om)+pm+")":"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&s?")":"*"===this.type&&s?")?":`)${this.type}`)}return[o,(0,nm.unescape)(r),this.#e=!!this.#e,this.#i]}#d(t){return this.#n.map((e=>{if("string"==typeof e)throw new Error("string type in extglob ast??");const[i,n,r,s]=e.toRegExpSource(t);return this.#i=this.#i||s,i})).filter((t=>!(this.isStart()&&this.isEnd()&&!t))).join("|")}static#f(t,e,i=!1){let n=!1,r="",s=!1;for(let o=0;oe?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),function(t){var e=z&&z.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(t,"__esModule",{value:!0}),t.unescape=t.escape=t.AST=t.Minimatch=t.match=t.makeRe=t.braceExpand=t.defaults=t.filter=t.GLOBSTAR=t.sep=t.minimatch=void 0;const i=e(Rg),n=Kg,r=Yg,s=gm,o=em;t.minimatch=(t,e,i={})=>((0,n.assertValidPattern)(e),!(!i.nocomment&&"#"===e.charAt(0))&&new B(e,i).match(t));const a=/^\*+([^+@!?\*\[\(]*)$/,u=t=>e=>!e.startsWith(".")&&e.endsWith(t),l=t=>e=>e.endsWith(t),c=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),h=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),p=/^\*+\.\*+$/,f=t=>!t.startsWith(".")&&t.includes("."),d=t=>"."!==t&&".."!==t&&t.includes("."),g=/^\.\*+$/,m=t=>"."!==t&&".."!==t&&t.startsWith("."),y=/^\*+$/,b=t=>0!==t.length&&!t.startsWith("."),w=t=>0!==t.length&&"."!==t&&".."!==t,v=/^\?+([^+@!?\*\[\(]*)?$/,D=([t,e=""])=>{const i=A([t]);return e?(e=e.toLowerCase(),t=>i(t)&&t.toLowerCase().endsWith(e)):i},k=([t,e=""])=>{const i=F([t]);return e?(e=e.toLowerCase(),t=>i(t)&&t.toLowerCase().endsWith(e)):i},E=([t,e=""])=>{const i=F([t]);return e?t=>i(t)&&t.endsWith(e):i},x=([t,e=""])=>{const i=A([t]);return e?t=>i(t)&&t.endsWith(e):i},A=([t])=>{const e=t.length;return t=>t.length===e&&!t.startsWith(".")},F=([t])=>{const e=t.length;return t=>t.length===e&&"."!==t&&".."!==t},C="object"==typeof process&&process?"object"==typeof process.env&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",S={sep:"\\"},_={sep:"/"};t.sep="win32"===C?S.sep:_.sep,t.minimatch.sep=t.sep,t.GLOBSTAR=Symbol("globstar **"),t.minimatch.GLOBSTAR=t.GLOBSTAR;t.filter=(e,i={})=>n=>(0,t.minimatch)(n,e,i),t.minimatch.filter=t.filter;const j=(t,e={})=>Object.assign({},t,e);t.defaults=e=>{if(!e||"object"!=typeof e||!Object.keys(e).length)return t.minimatch;const i=t.minimatch;return Object.assign(((t,n,r={})=>i(t,n,j(e,r))),{Minimatch:class extends i.Minimatch{constructor(t,i={}){super(t,j(e,i))}static defaults(t){return i.defaults(j(e,t)).Minimatch}},AST:class extends i.AST{constructor(t,i,n={}){super(t,i,j(e,n))}static fromGlob(t,n={}){return i.AST.fromGlob(t,j(e,n))}},unescape:(t,n={})=>i.unescape(t,j(e,n)),escape:(t,n={})=>i.escape(t,j(e,n)),filter:(t,n={})=>i.filter(t,j(e,n)),defaults:t=>i.defaults(j(e,t)),makeRe:(t,n={})=>i.makeRe(t,j(e,n)),braceExpand:(t,n={})=>i.braceExpand(t,j(e,n)),match:(t,n,r={})=>i.match(t,n,j(e,r)),sep:i.sep,GLOBSTAR:t.GLOBSTAR})},t.minimatch.defaults=t.defaults;t.braceExpand=(t,e={})=>((0,n.assertValidPattern)(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,i.default)(t)),t.minimatch.braceExpand=t.braceExpand;t.makeRe=(t,e={})=>new B(t,e).makeRe(),t.minimatch.makeRe=t.makeRe;t.match=(t,e,i={})=>{const n=new B(e,i);return t=t.filter((t=>n.match(t))),n.options.nonull&&!t.length&&t.push(e),t},t.minimatch.match=t.match;const O=/[?*]|[+@!]\(.*?\)|\[|\]/;class B{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(t,e={}){(0,n.assertValidPattern)(t),e=e||{},this.options=e,this.pattern=t,this.platform=e.platform||C,this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!e.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!e.nonegate,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==e.windowsNoMagicRoot?e.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const e of t)if("string"!=typeof e)return!0;return!1}debug(...t){}make(){const t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],e.debug&&(this.debug=(...t)=>console.error(...t)),this.debug(this.pattern,this.globSet);const i=this.globSet.map((t=>this.slashSplit(t)));this.globParts=this.preprocess(i),this.debug(this.pattern,this.globParts);let n=this.globParts.map(((t,e,i)=>{if(this.isWindows&&this.windowsNoMagicRoot){const e=!(""!==t[0]||""!==t[1]||"?"!==t[2]&&O.test(t[2])||O.test(t[3])),i=/^[a-z]:/i.test(t[0]);if(e)return[...t.slice(0,4),...t.slice(4).map((t=>this.parse(t)))];if(i)return[t[0],...t.slice(1).map((t=>this.parse(t)))]}return t.map((t=>this.parse(t)))}));if(this.debug(this.pattern,n),this.set=n.filter((t=>-1===t.indexOf(!1))),this.isWindows)for(let t=0;t=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=e>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map((t=>{let e=-1;for(;-1!==(e=t.indexOf("**",e+1));){let i=e;for(;"**"===t[i+1];)i++;i!==e&&t.splice(e,i-e)}return t}))}levelOneOptimize(t){return t.map((t=>(t=t.reduce(((t,e)=>{const i=t[t.length-1];return"**"===e&&"**"===i?t:".."===e&&i&&".."!==i&&"."!==i&&"**"!==i?(t.pop(),t):(t.push(e),t)}),[]),0===t.length?[""]:t)))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let e=!1;do{if(e=!1,!this.preserveMultipleSlashes){for(let i=1;in&&i.splice(n+1,r-n);let s=i[n+1];const o=i[n+2],a=i[n+3];if(".."!==s)continue;if(!o||"."===o||".."===o||!a||"."===a||".."===a)continue;e=!0,i.splice(n,1);const u=i.slice(0);u[n]="**",t.push(u),n--}if(!this.preserveMultipleSlashes){for(let t=1;tt.length))}partsMatch(t,e,i=!1){let n=0,r=0,s=[],o="";for(;ns?i=i.slice(o):s>o&&(e=e.slice(s)))}}const{optimizationLevel:s=1}=this.options;s>=2&&(e=this.levelTwoFileOptimize(e)),this.debug("matchOne",this,{file:e,pattern:i}),this.debug("matchOne",e.length,i.length);for(var o=0,a=0,u=e.length,l=i.length;o>> no match, partial?",e,p,i,f),p!==u))}let s;if("string"==typeof c?(s=h===c,this.debug("string match",c,h,s)):(s=c.test(h),this.debug("pattern match",c,h,s)),!s)return!1}if(o===u&&a===l)return!0;if(o===u)return n;if(a===l)return o===u-1&&""===e[o];throw new Error("wtf?")}braceExpand(){return(0,t.braceExpand)(this.pattern,this.options)}parse(e){(0,n.assertValidPattern)(e);const i=this.options;if("**"===e)return t.GLOBSTAR;if(""===e)return"";let s,o=null;(s=e.match(y))?o=i.dot?w:b:(s=e.match(a))?o=(i.nocase?i.dot?h:c:i.dot?l:u)(s[1]):(s=e.match(v))?o=(i.nocase?i.dot?k:D:i.dot?E:x)(s):(s=e.match(p))?o=i.dot?d:f:(s=e.match(g))&&(o=m);const A=r.AST.fromGlob(e,this.options).toMMPattern();return o&&"object"==typeof A&&Reflect.defineProperty(A,"test",{value:o}),A}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const e=this.set;if(!e.length)return this.regexp=!1,this.regexp;const i=this.options,n=i.noglobstar?"[^/]*?":i.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",r=new Set(i.nocase?["i"]:[]);let s=e.map((e=>{const i=e.map((e=>{if(e instanceof RegExp)for(const t of e.flags.split(""))r.add(t);return"string"==typeof e?(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))(e):e===t.GLOBSTAR?t.GLOBSTAR:e._src}));return i.forEach(((e,r)=>{const s=i[r+1],o=i[r-1];e===t.GLOBSTAR&&o!==t.GLOBSTAR&&(void 0===o?void 0!==s&&s!==t.GLOBSTAR?i[r+1]="(?:\\/|"+n+"\\/)?"+s:i[r]=n:void 0===s?i[r-1]=o+"(?:\\/|"+n+")?":s!==t.GLOBSTAR&&(i[r-1]=o+"(?:\\/|\\/"+n+"\\/)"+s,i[r+1]=t.GLOBSTAR))})),i.filter((e=>e!==t.GLOBSTAR)).join("/")})).join("|");const[o,a]=e.length>1?["(?:",")"]:["",""];s="^"+o+s+a+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...r].join(""))}catch(t){this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t,e=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;const i=this.options;this.isWindows&&(t=t.split("\\").join("/"));const n=this.slashSplit(t);this.debug(this.pattern,"split",n);const r=this.set;this.debug(this.pattern,"set",r);let s=n[n.length-1];if(!s)for(let t=n.length-2;!s&&t>=0;t--)s=n[t];for(let t=0;tString(t).replace(bm,""),Em=(t,e,i=0)=>({message:`${t} while parsing ${e}`,position:i});class xm extends SyntaxError{constructor(t,e,i,n){const r=((t,e,i=20)=>{let n=t.message;if(!e)return Em(n,"empty string");const r=n.match(Dm),s=n.match(/ position\s+(\d+)/i);let o;if(r&&(n=n.replace(Dm,`Unexpected token ${JSON.stringify(r[1])} (${(t=>{const e=t.charCodeAt(0).toString(16).toUpperCase();return`0x${e.length%2?"0":""}${e}`})(r[1])})$2 `)),s?o=+s[1]:n.match(/^Unexpected end of JSON.*/i)&&(o=e.length-1),null==o)return Em(n,`'${e.slice(0,2*i)}'`);const a=o<=i?0:o-i,u=o+i>=e.length?e.length:o+i,l=`${a?"...":""}${e.slice(a,u)}${u===e.length?"":"..."}`;return Em(n,`${e===l?"":"near "}${JSON.stringify(l)}`,o)})(t,e,i);super(r.message),Object.assign(this,r),this.code="EJSONPARSE",this.systemError=t,Error.captureStackTrace(this,n||this.constructor)}get name(){return this.constructor.name}set name(t){}get[Symbol.toStringTag](){return this.constructor.name}}const Am=(t,e)=>{const i=JSON.parse(t,e);if(i&&"object"==typeof i){const e=t.match(vm)||t.match(wm)||[null,"",""];i[ym]=e[1]??"\n",i[mm]=e[2]??" "}return i},Fm=(t,e,i)=>{const n=km(t);try{return Am(n,e)}catch(e){if("string"!=typeof t&&!Buffer.isBuffer(t)){const i=Array.isArray(t)&&0===t.length?"an empty array":String(t);throw Object.assign(new TypeError(`Cannot parse ${i}`),{code:"EJSONPARSE",systemError:e})}throw new xm(e,n,i,Fm)}};var Cm=Fm;Fm.JSONParseError=xm,Fm.noExceptions=(t,e)=>{try{return Am(km(t),e)}catch{}};const{join:Sm,basename:_m}=o,jm=t=>t.name?(t.bin={[t.name]:t.bin},Tm(t)):Bm(t),Om=t=>(t.bin=t.bin.reduce(((t,e)=>(t[_m(e)]=e,t)),{}),Tm(t)),Bm=t=>(delete t.bin,t),Tm=t=>{const e=t.bin,i={};let n=!1;return Object.keys(e).forEach((t=>{const r=Sm("/",_m(t.replace(/\\|:/g,"/"))).slice(1);if("string"!=typeof e[t]||!r)return;const s=Sm("/",e[t].replace(/\\/g,"/")).replace(/\\/g,"/").slice(1);s&&(i[r]=s,n=!0)})),n?t.bin=i:delete t.bin,t};var Rm=t=>t.bin?"string"==typeof t.bin?jm(t):Array.isArray(t.bin)?Om(t):"object"==typeof t.bin?Tm(t):Bm(t):Bm(t);const{readFile:Im,lstat:$m,readdir:Nm}=I,Lm=Cm,Pm=Rm,{resolve:Mm,dirname:zm,join:qm,relative:Um}=o,Gm=t=>Im(t,"utf8").then((e=>Wm(t,Km(Vm(Lm(e)))))).catch((e=>{throw e.path=t,e})),Wm=async(t,e)=>{if(e.bin)return e;const i=e.directories&&e.directories.bin;if(!i||"string"!=typeof i)return e;const n=zm(t),r=qm(".",qm("/",i));return e.bin=await Hm(n,r,{}),e},Hm=async(t,e,i)=>{const n=await Nm(Mm(t,e)).catch((()=>[]));for(const r of n){if("."===r.charAt(0))continue;const n=Mm(t,e,r),s=await $m(n).catch((()=>null));s&&(s.isFile()?i[r]=Um(t,n):s.isDirectory()&&await Hm(t,qm(e,r),i))}return i},Vm=t=>{for(const e of Object.keys(t).filter((t=>/^_/.test(t))))delete t[e];return t},Km=t=>(Ym(t),Zm(t),Jm(t),Qm(t),Xm(t),Pm(t),t);Gm.normalize=Km;const Ym=t=>(t.name&&t.version&&(t._id=`${t.name}@${t.version}`),t),Jm=t=>{const e=t.optionalDependencies,i=t.dependencies||{};if(e&&"object"==typeof e)for(const t of Object.keys(e))delete i[t];return 0===Object.keys(i).length&&delete t.dependencies,t},Zm=t=>{const e=t.bundledDependencies,i=void 0===t.bundleDependencies?e:t.bundleDependencies;return!1===i?t.bundleDependencies=[]:!0===i?t.bundleDependencies=Object.keys(t.dependencies||{}):i&&"object"==typeof i?Array.isArray(i)?t.bundleDependencies=i:t.bundleDependencies=Object.keys(i):delete t.bundleDependencies,delete t.bundledDependencies,t},Qm=t=>{if(!t.scripts||"object"!=typeof t.scripts)return delete t.scripts,t;for(const[e,i]of Object.entries(t.scripts))"string"!=typeof i&&delete t.scripts[e];return t},Xm=t=>(t.funding&&"string"==typeof t.funding&&(t.funding={url:t.funding}),t);var ty=Gm,ey={},iy={},ny={},ry={};Object.defineProperty(ry,"__esModule",{value:!0}),ry.LRUCache=void 0;const sy="object"==typeof performance&&performance&&"function"==typeof performance.now?performance:Date,oy=new Set,ay="object"==typeof process&&process?process:{},uy=(t,e,i,n)=>{"function"==typeof ay.emitWarning?ay.emitWarning(t,e,i,n):console.error(`[${i}] ${e}: ${t}`)};let ly=globalThis.AbortController,cy=globalThis.AbortSignal;if(void 0===ly){cy=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(t,e){this._onabort.push(e)}},ly=class{constructor(){e()}signal=new cy;abort(t){if(!this.signal.aborted){this.signal.reason=t,this.signal.aborted=!0;for(const e of this.signal._onabort)e(t);this.signal.onabort?.(t)}}};let t="1"!==ay.env?.LRU_CACHE_IGNORE_AC_WARNING;const e=()=>{t&&(t=!1,uy("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",e))}}const hy=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),py=t=>hy(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?fy:null:null;let fy=class extends Array{constructor(t){super(t),this.fill(0)}},dy=class t{heap;length;static#g=!1;static create(e){const i=py(e);if(!i)return[];t.#g=!0;const n=new t(e,i);return t.#g=!1,n}constructor(e,i){if(!t.#g)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new i(e),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}},gy=class t{#m;#y;#b;#w;#v;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#D;#k;#E;#x;#A;#F;#C;#S;#_;#j;#O;#B;#T;#R;#I;#$;#N;static unsafeExposeInternals(t){return{starts:t.#T,ttls:t.#R,sizes:t.#B,keyMap:t.#E,keyList:t.#x,valList:t.#A,next:t.#F,prev:t.#C,get head(){return t.#S},get tail(){return t.#_},free:t.#j,isBackgroundFetch:e=>t.#L(e),backgroundFetch:(e,i,n,r)=>t.#P(e,i,n,r),moveToTail:e=>t.#M(e),indexes:e=>t.#z(e),rindexes:e=>t.#q(e),isStale:e=>t.#U(e)}}get max(){return this.#m}get maxSize(){return this.#y}get calculatedSize(){return this.#k}get size(){return this.#D}get fetchMethod(){return this.#v}get dispose(){return this.#b}get disposeAfter(){return this.#w}constructor(e){const{max:i=0,ttl:n,ttlResolution:r=1,ttlAutopurge:s,updateAgeOnGet:o,updateAgeOnHas:a,allowStale:u,dispose:l,disposeAfter:c,noDisposeOnSet:h,noUpdateTTL:p,maxSize:f=0,maxEntrySize:d=0,sizeCalculation:g,fetchMethod:m,noDeleteOnFetchRejection:y,noDeleteOnStaleGet:b,allowStaleOnFetchRejection:w,allowStaleOnFetchAbort:v,ignoreFetchAbort:D}=e;if(0!==i&&!hy(i))throw new TypeError("max option must be a nonnegative integer");const k=i?py(i):Array;if(!k)throw new Error("invalid max value: "+i);if(this.#m=i,this.#y=f,this.maxEntrySize=d||this.#y,this.sizeCalculation=g,this.sizeCalculation){if(!this.#y&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if("function"!=typeof this.sizeCalculation)throw new TypeError("sizeCalculation set to non-function")}if(void 0!==m&&"function"!=typeof m)throw new TypeError("fetchMethod must be a function if specified");if(this.#v=m,this.#$=!!m,this.#E=new Map,this.#x=new Array(i).fill(void 0),this.#A=new Array(i).fill(void 0),this.#F=new k(i),this.#C=new k(i),this.#S=0,this.#_=0,this.#j=dy.create(i),this.#D=0,this.#k=0,"function"==typeof l&&(this.#b=l),"function"==typeof c?(this.#w=c,this.#O=[]):(this.#w=void 0,this.#O=void 0),this.#I=!!this.#b,this.#N=!!this.#w,this.noDisposeOnSet=!!h,this.noUpdateTTL=!!p,this.noDeleteOnFetchRejection=!!y,this.allowStaleOnFetchRejection=!!w,this.allowStaleOnFetchAbort=!!v,this.ignoreFetchAbort=!!D,0!==this.maxEntrySize){if(0!==this.#y&&!hy(this.#y))throw new TypeError("maxSize must be a positive integer if specified");if(!hy(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#G()}if(this.allowStale=!!u,this.noDeleteOnStaleGet=!!b,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!a,this.ttlResolution=hy(r)||0===r?r:1,this.ttlAutopurge=!!s,this.ttl=n||0,this.ttl){if(!hy(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#W()}if(0===this.#m&&0===this.ttl&&0===this.#y)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#m&&!this.#y){const e="LRU_CACHE_UNBOUNDED";if((t=>!oy.has(t))(e)){oy.add(e);uy("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",e,t)}}}getRemainingTTL(t){return this.#E.has(t)?1/0:0}#W(){const t=new fy(this.#m),e=new fy(this.#m);this.#R=t,this.#T=e,this.#H=(i,n,r=sy.now())=>{if(e[i]=0!==n?r:0,t[i]=n,0!==n&&this.ttlAutopurge){const t=setTimeout((()=>{this.#U(i)&&this.delete(this.#x[i])}),n+1);t.unref&&t.unref()}},this.#V=i=>{e[i]=0!==t[i]?sy.now():0},this.#K=(r,s)=>{if(t[s]){const o=t[s],a=e[s];if(!o||!a)return;r.ttl=o,r.start=a,r.now=i||n();const u=r.now-a;r.remainingTTL=o-u}};let i=0;const n=()=>{const t=sy.now();if(this.ttlResolution>0){i=t;const e=setTimeout((()=>i=0),this.ttlResolution);e.unref&&e.unref()}return t};this.getRemainingTTL=r=>{const s=this.#E.get(r);if(void 0===s)return 0;const o=t[s],a=e[s];if(!o||!a)return 1/0;return o-((i||n())-a)},this.#U=r=>{const s=e[r],o=t[r];return!!o&&!!s&&(i||n())-s>o}}#V=()=>{};#K=()=>{};#H=()=>{};#U=()=>!1;#G(){const t=new fy(this.#m);this.#k=0,this.#B=t,this.#Y=e=>{this.#k-=t[e],t[e]=0},this.#J=(t,e,i,n)=>{if(this.#L(e))return 0;if(!hy(i)){if(!n)throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");if("function"!=typeof n)throw new TypeError("sizeCalculation must be a function");if(i=n(e,t),!hy(i))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return i},this.#Z=(e,i,n)=>{if(t[e]=i,this.#y){const i=this.#y-t[e];for(;this.#k>i;)this.#Q(!0)}this.#k+=t[e],n&&(n.entrySize=i,n.totalCalculatedSize=this.#k)}}#Y=t=>{};#Z=(t,e,i)=>{};#J=(t,e,i,n)=>{if(i||n)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#z({allowStale:t=this.allowStale}={}){if(this.#D)for(let e=this.#_;this.#X(e)&&(!t&&this.#U(e)||(yield e),e!==this.#S);)e=this.#C[e]}*#q({allowStale:t=this.allowStale}={}){if(this.#D)for(let e=this.#S;this.#X(e)&&(!t&&this.#U(e)||(yield e),e!==this.#_);)e=this.#F[e]}#X(t){return void 0!==t&&this.#E.get(this.#x[t])===t}*entries(){for(const t of this.#z())void 0===this.#A[t]||void 0===this.#x[t]||this.#L(this.#A[t])||(yield[this.#x[t],this.#A[t]])}*rentries(){for(const t of this.#q())void 0===this.#A[t]||void 0===this.#x[t]||this.#L(this.#A[t])||(yield[this.#x[t],this.#A[t]])}*keys(){for(const t of this.#z()){const e=this.#x[t];void 0===e||this.#L(this.#A[t])||(yield e)}}*rkeys(){for(const t of this.#q()){const e=this.#x[t];void 0===e||this.#L(this.#A[t])||(yield e)}}*values(){for(const t of this.#z()){void 0===this.#A[t]||this.#L(this.#A[t])||(yield this.#A[t])}}*rvalues(){for(const t of this.#q()){void 0===this.#A[t]||this.#L(this.#A[t])||(yield this.#A[t])}}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,e={}){for(const i of this.#z()){const n=this.#A[i],r=this.#L(n)?n.__staleWhileFetching:n;if(void 0!==r&&t(r,this.#x[i],this))return this.get(this.#x[i],e)}}forEach(t,e=this){for(const i of this.#z()){const n=this.#A[i],r=this.#L(n)?n.__staleWhileFetching:n;void 0!==r&&t.call(e,r,this.#x[i],this)}}rforEach(t,e=this){for(const i of this.#q()){const n=this.#A[i],r=this.#L(n)?n.__staleWhileFetching:n;void 0!==r&&t.call(e,r,this.#x[i],this)}}purgeStale(){let t=!1;for(const e of this.#q({allowStale:!0}))this.#U(e)&&(this.delete(this.#x[e]),t=!0);return t}info(t){const e=this.#E.get(t);if(void 0===e)return;const i=this.#A[e],n=this.#L(i)?i.__staleWhileFetching:i;if(void 0===n)return;const r={value:n};if(this.#R&&this.#T){const t=this.#R[e],i=this.#T[e];if(t&&i){const e=t-(sy.now()-i);r.ttl=e,r.start=Date.now()}}return this.#B&&(r.size=this.#B[e]),r}dump(){const t=[];for(const e of this.#z({allowStale:!0})){const i=this.#x[e],n=this.#A[e],r=this.#L(n)?n.__staleWhileFetching:n;if(void 0===r||void 0===i)continue;const s={value:r};if(this.#R&&this.#T){s.ttl=this.#R[e];const t=sy.now()-this.#T[e];s.start=Math.floor(Date.now()-t)}this.#B&&(s.size=this.#B[e]),t.unshift([i,s])}return t}load(t){this.clear();for(const[e,i]of t){if(i.start){const t=Date.now()-i.start;i.start=sy.now()-t}this.set(e,i.value,i)}}set(t,e,i={}){if(void 0===e)return this.delete(t),this;const{ttl:n=this.ttl,start:r,noDisposeOnSet:s=this.noDisposeOnSet,sizeCalculation:o=this.sizeCalculation,status:a}=i;let{noUpdateTTL:u=this.noUpdateTTL}=i;const l=this.#J(t,e,i.size||0,o);if(this.maxEntrySize&&l>this.maxEntrySize)return a&&(a.set="miss",a.maxEntrySizeExceeded=!0),this.delete(t),this;let c=0===this.#D?void 0:this.#E.get(t);if(void 0===c)c=0===this.#D?this.#_:0!==this.#j.length?this.#j.pop():this.#D===this.#m?this.#Q(!1):this.#D,this.#x[c]=t,this.#A[c]=e,this.#E.set(t,c),this.#F[this.#_]=c,this.#C[c]=this.#_,this.#_=c,this.#D++,this.#Z(c,l,a),a&&(a.set="add"),u=!1;else{this.#M(c);const i=this.#A[c];if(e!==i){if(this.#$&&this.#L(i)){i.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:e}=i;void 0===e||s||(this.#I&&this.#b?.(e,t,"set"),this.#N&&this.#O?.push([e,t,"set"]))}else s||(this.#I&&this.#b?.(i,t,"set"),this.#N&&this.#O?.push([i,t,"set"]));if(this.#Y(c),this.#Z(c,l,a),this.#A[c]=e,a){a.set="replace";const t=i&&this.#L(i)?i.__staleWhileFetching:i;void 0!==t&&(a.oldValue=t)}}else a&&(a.set="update")}if(0===n||this.#R||this.#W(),this.#R&&(u||this.#H(c,n,r),a&&this.#K(a,c)),!s&&this.#N&&this.#O){const t=this.#O;let e;for(;e=t?.shift();)this.#w?.(...e)}return this}pop(){try{for(;this.#D;){const t=this.#A[this.#S];if(this.#Q(!0),this.#L(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(void 0!==t)return t}}finally{if(this.#N&&this.#O){const t=this.#O;let e;for(;e=t?.shift();)this.#w?.(...e)}}}#Q(t){const e=this.#S,i=this.#x[e],n=this.#A[e];return this.#$&&this.#L(n)?n.__abortController.abort(new Error("evicted")):(this.#I||this.#N)&&(this.#I&&this.#b?.(n,i,"evict"),this.#N&&this.#O?.push([n,i,"evict"])),this.#Y(e),t&&(this.#x[e]=void 0,this.#A[e]=void 0,this.#j.push(e)),1===this.#D?(this.#S=this.#_=0,this.#j.length=0):this.#S=this.#F[e],this.#E.delete(i),this.#D--,e}has(t,e={}){const{updateAgeOnHas:i=this.updateAgeOnHas,status:n}=e,r=this.#E.get(t);if(void 0!==r){const t=this.#A[r];if(this.#L(t)&&void 0===t.__staleWhileFetching)return!1;if(!this.#U(r))return i&&this.#V(r),n&&(n.has="hit",this.#K(n,r)),!0;n&&(n.has="stale",this.#K(n,r))}else n&&(n.has="miss");return!1}peek(t,e={}){const{allowStale:i=this.allowStale}=e,n=this.#E.get(t);if(void 0===n||!i&&this.#U(n))return;const r=this.#A[n];return this.#L(r)?r.__staleWhileFetching:r}#P(t,e,i,n){const r=void 0===e?void 0:this.#A[e];if(this.#L(r))return r;const s=new ly,{signal:o}=i;o?.addEventListener("abort",(()=>s.abort(o.reason)),{signal:s.signal});const a={signal:s.signal,options:i,context:n},u=(n,r=!1)=>{const{aborted:o}=s.signal,u=i.ignoreFetchAbort&&void 0!==n;if(i.status&&(o&&!r?(i.status.fetchAborted=!0,i.status.fetchError=s.signal.reason,u&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),o&&!u&&!r)return l(s.signal.reason);const h=c;return this.#A[e]===c&&(void 0===n?h.__staleWhileFetching?this.#A[e]=h.__staleWhileFetching:this.delete(t):(i.status&&(i.status.fetchUpdated=!0),this.set(t,n,a.options))),n},l=n=>{const{aborted:r}=s.signal,o=r&&i.allowStaleOnFetchAbort,a=o||i.allowStaleOnFetchRejection,u=a||i.noDeleteOnFetchRejection,l=c;if(this.#A[e]===c){!u||void 0===l.__staleWhileFetching?this.delete(t):o||(this.#A[e]=l.__staleWhileFetching)}if(a)return i.status&&void 0!==l.__staleWhileFetching&&(i.status.returnedStale=!0),l.__staleWhileFetching;if(l.__returned===l)throw n};i.status&&(i.status.fetchDispatched=!0);const c=new Promise(((e,n)=>{const o=this.#v?.(t,r,a);o&&o instanceof Promise&&o.then((t=>e(void 0===t?void 0:t)),n),s.signal.addEventListener("abort",(()=>{i.ignoreFetchAbort&&!i.allowStaleOnFetchAbort||(e(void 0),i.allowStaleOnFetchAbort&&(e=t=>u(t,!0)))}))})).then(u,(t=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=t),l(t)))),h=Object.assign(c,{__abortController:s,__staleWhileFetching:r,__returned:void 0});return void 0===e?(this.set(t,h,{...a.options,status:void 0}),e=this.#E.get(t)):this.#A[e]=h,h}#L(t){if(!this.#$)return!1;const e=t;return!!e&&e instanceof Promise&&e.hasOwnProperty("__staleWhileFetching")&&e.__abortController instanceof ly}async fetch(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:r=this.noDeleteOnStaleGet,ttl:s=this.ttl,noDisposeOnSet:o=this.noDisposeOnSet,size:a=0,sizeCalculation:u=this.sizeCalculation,noUpdateTTL:l=this.noUpdateTTL,noDeleteOnFetchRejection:c=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:h=this.allowStaleOnFetchRejection,ignoreFetchAbort:p=this.ignoreFetchAbort,allowStaleOnFetchAbort:f=this.allowStaleOnFetchAbort,context:d,forceRefresh:g=!1,status:m,signal:y}=e;if(!this.#$)return m&&(m.fetch="get"),this.get(t,{allowStale:i,updateAgeOnGet:n,noDeleteOnStaleGet:r,status:m});const b={allowStale:i,updateAgeOnGet:n,noDeleteOnStaleGet:r,ttl:s,noDisposeOnSet:o,size:a,sizeCalculation:u,noUpdateTTL:l,noDeleteOnFetchRejection:c,allowStaleOnFetchRejection:h,allowStaleOnFetchAbort:f,ignoreFetchAbort:p,status:m,signal:y};let w=this.#E.get(t);if(void 0===w){m&&(m.fetch="miss");const e=this.#P(t,w,b,d);return e.__returned=e}{const e=this.#A[w];if(this.#L(e)){const t=i&&void 0!==e.__staleWhileFetching;return m&&(m.fetch="inflight",t&&(m.returnedStale=!0)),t?e.__staleWhileFetching:e.__returned=e}const r=this.#U(w);if(!g&&!r)return m&&(m.fetch="hit"),this.#M(w),n&&this.#V(w),m&&this.#K(m,w),e;const s=this.#P(t,w,b,d),o=void 0!==s.__staleWhileFetching&&i;return m&&(m.fetch=r?"stale":"refresh",o&&r&&(m.returnedStale=!0)),o?s.__staleWhileFetching:s.__returned=s}}get(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:r=this.noDeleteOnStaleGet,status:s}=e,o=this.#E.get(t);if(void 0!==o){const e=this.#A[o],a=this.#L(e);return s&&this.#K(s,o),this.#U(o)?(s&&(s.get="stale"),a?(s&&i&&void 0!==e.__staleWhileFetching&&(s.returnedStale=!0),i?e.__staleWhileFetching:void 0):(r||this.delete(t),s&&i&&(s.returnedStale=!0),i?e:void 0)):(s&&(s.get="hit"),a?e.__staleWhileFetching:(this.#M(o),n&&this.#V(o),e))}s&&(s.get="miss")}#tt(t,e){this.#C[e]=t,this.#F[t]=e}#M(t){t!==this.#_&&(t===this.#S?this.#S=this.#F[t]:this.#tt(this.#C[t],this.#F[t]),this.#tt(this.#_,t),this.#_=t)}delete(t){let e=!1;if(0!==this.#D){const i=this.#E.get(t);if(void 0!==i)if(e=!0,1===this.#D)this.clear();else{this.#Y(i);const e=this.#A[i];if(this.#L(e)?e.__abortController.abort(new Error("deleted")):(this.#I||this.#N)&&(this.#I&&this.#b?.(e,t,"delete"),this.#N&&this.#O?.push([e,t,"delete"])),this.#E.delete(t),this.#x[i]=void 0,this.#A[i]=void 0,i===this.#_)this.#_=this.#C[i];else if(i===this.#S)this.#S=this.#F[i];else{const t=this.#C[i];this.#F[t]=this.#F[i];const e=this.#F[i];this.#C[e]=this.#C[i]}this.#D--,this.#j.push(i)}}if(this.#N&&this.#O?.length){const t=this.#O;let e;for(;e=t?.shift();)this.#w?.(...e)}return e}clear(){for(const t of this.#q({allowStale:!0})){const e=this.#A[t];if(this.#L(e))e.__abortController.abort(new Error("deleted"));else{const i=this.#x[t];this.#I&&this.#b?.(e,i,"delete"),this.#N&&this.#O?.push([e,i,"delete"])}}if(this.#E.clear(),this.#A.fill(void 0),this.#x.fill(void 0),this.#R&&this.#T&&(this.#R.fill(0),this.#T.fill(0)),this.#B&&this.#B.fill(0),this.#S=0,this.#_=0,this.#j.length=0,this.#k=0,this.#D=0,this.#N&&this.#O){const t=this.#O;let e;for(;e=t?.shift();)this.#w?.(...e)}}};ry.LRUCache=gy;var my={};!function(t){var e=z&&z.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(t,"__esModule",{value:!0}),t.Minipass=t.isWritable=t.isReadable=t.isStream=void 0;const i="object"==typeof process&&process?process:{stdout:null,stderr:null},n=u,r=e(E),s=$;t.isStream=e=>!!e&&"object"==typeof e&&(e instanceof W||e instanceof r.default||(0,t.isReadable)(e)||(0,t.isWritable)(e));t.isReadable=t=>!!t&&"object"==typeof t&&t instanceof n.EventEmitter&&"function"==typeof t.pipe&&t.pipe!==r.default.Writable.prototype.pipe;t.isWritable=t=>!!t&&"object"==typeof t&&t instanceof n.EventEmitter&&"function"==typeof t.write&&"function"==typeof t.end;const o=Symbol("EOF"),a=Symbol("maybeEmitEnd"),l=Symbol("emittedEnd"),c=Symbol("emittingEnd"),h=Symbol("emittedError"),p=Symbol("closed"),f=Symbol("read"),d=Symbol("flush"),g=Symbol("flushChunk"),m=Symbol("encoding"),y=Symbol("decoder"),b=Symbol("flowing"),w=Symbol("paused"),v=Symbol("resume"),D=Symbol("buffer"),k=Symbol("pipes"),x=Symbol("bufferLength"),A=Symbol("bufferPush"),F=Symbol("bufferShift"),C=Symbol("objectMode"),S=Symbol("destroyed"),_=Symbol("error"),j=Symbol("emitData"),O=Symbol("emitEnd"),B=Symbol("emitEnd2"),T=Symbol("async"),R=Symbol("abort"),I=Symbol("aborted"),N=Symbol("signal"),L=Symbol("dataListeners"),P=Symbol("discarded"),M=t=>Promise.resolve().then(t),q=t=>t();class U{src;dest;opts;ondrain;constructor(t,e,i){this.src=t,this.dest=e,this.opts=i,this.ondrain=()=>t[v](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(t){}end(){this.unpipe(),this.opts.end&&this.dest.end()}}class G extends U{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(t,e,i){super(t,e,i),this.proxyErrors=t=>e.emit("error",t),t.on("error",this.proxyErrors)}}class W extends n.EventEmitter{[b]=!1;[w]=!1;[k]=[];[D]=[];[C];[m];[T];[y];[o]=!1;[l]=!1;[c]=!1;[p]=!1;[h]=null;[x]=0;[S]=!1;[N];[I]=!1;[L]=0;[P]=!1;writable=!0;readable=!0;constructor(...t){const e=t[0]||{};if(super(),e.objectMode&&"string"==typeof e.encoding)throw new TypeError("Encoding and objectMode may not be used together");e.objectMode?(this[C]=!0,this[m]=null):(t=>!t.objectMode&&!!t.encoding&&"buffer"!==t.encoding)(e)?(this[m]=e.encoding,this[C]=!1):(this[C]=!1,this[m]=null),this[T]=!!e.async,this[y]=this[m]?new s.StringDecoder(this[m]):null,e&&!0===e.debugExposeBuffer&&Object.defineProperty(this,"buffer",{get:()=>this[D]}),e&&!0===e.debugExposePipes&&Object.defineProperty(this,"pipes",{get:()=>this[k]});const{signal:i}=e;i&&(this[N]=i,i.aborted?this[R]():i.addEventListener("abort",(()=>this[R]())))}get bufferLength(){return this[x]}get encoding(){return this[m]}set encoding(t){throw new Error("Encoding must be set at instantiation time")}setEncoding(t){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[C]}set objectMode(t){throw new Error("objectMode must be set at instantiation time")}get async(){return this[T]}set async(t){this[T]=this[T]||!!t}[R](){this[I]=!0,this.emit("abort",this[N]?.reason),this.destroy(this[N]?.reason)}get aborted(){return this[I]}set aborted(t){}write(t,e,i){if(this[I])return!1;if(this[o])throw new Error("write after end");if(this[S])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;"function"==typeof e&&(i=e,e="utf8"),e||(e="utf8");const n=this[T]?M:q;if(!this[C]&&!Buffer.isBuffer(t))if(r=t,!Buffer.isBuffer(r)&&ArrayBuffer.isView(r))t=Buffer.from(t.buffer,t.byteOffset,t.byteLength);else if((t=>t instanceof ArrayBuffer||!!t&&"object"==typeof t&&t.constructor&&"ArrayBuffer"===t.constructor.name&&t.byteLength>=0)(t))t=Buffer.from(t);else if("string"!=typeof t)throw new Error("Non-contiguous data written to non-objectMode stream");var r;return this[C]?(this[b]&&0!==this[x]&&this[d](!0),this[b]?this.emit("data",t):this[A](t),0!==this[x]&&this.emit("readable"),i&&n(i),this[b]):t.length?("string"!=typeof t||e===this[m]&&!this[y]?.lastNeed||(t=Buffer.from(t,e)),Buffer.isBuffer(t)&&this[m]&&(t=this[y].write(t)),this[b]&&0!==this[x]&&this[d](!0),this[b]?this.emit("data",t):this[A](t),0!==this[x]&&this.emit("readable"),i&&n(i),this[b]):(0!==this[x]&&this.emit("readable"),i&&n(i),this[b])}read(t){if(this[S])return null;if(this[P]=!1,0===this[x]||0===t||t&&t>this[x])return this[a](),null;this[C]&&(t=null),this[D].length>1&&!this[C]&&(this[D]=[this[m]?this[D].join(""):Buffer.concat(this[D],this[x])]);const e=this[f](t||null,this[D][0]);return this[a](),e}[f](t,e){if(this[C])this[F]();else{const i=e;t===i.length||null===t?this[F]():"string"==typeof i?(this[D][0]=i.slice(t),e=i.slice(0,t),this[x]-=t):(this[D][0]=i.subarray(t),e=i.subarray(0,t),this[x]-=t)}return this.emit("data",e),this[D].length||this[o]||this.emit("drain"),e}end(t,e,i){return"function"==typeof t&&(i=t,t=void 0),"function"==typeof e&&(i=e,e="utf8"),void 0!==t&&this.write(t,e),i&&this.once("end",i),this[o]=!0,this.writable=!1,!this[b]&&this[w]||this[a](),this}[v](){this[S]||(this[L]||this[k].length||(this[P]=!0),this[w]=!1,this[b]=!0,this.emit("resume"),this[D].length?this[d]():this[o]?this[a]():this.emit("drain"))}resume(){return this[v]()}pause(){this[b]=!1,this[w]=!0,this[P]=!1}get destroyed(){return this[S]}get flowing(){return this[b]}get paused(){return this[w]}[A](t){this[C]?this[x]+=1:this[x]+=t.length,this[D].push(t)}[F](){return this[C]?this[x]-=1:this[x]-=this[D][0].length,this[D].shift()}[d](t=!1){do{}while(this[g](this[F]())&&this[D].length);t||this[D].length||this[o]||this.emit("drain")}[g](t){return this.emit("data",t),this[b]}pipe(t,e){if(this[S])return t;this[P]=!1;const n=this[l];return e=e||{},t===i.stdout||t===i.stderr?e.end=!1:e.end=!1!==e.end,e.proxyErrors=!!e.proxyErrors,n?e.end&&t.end():(this[k].push(e.proxyErrors?new G(this,t,e):new U(this,t,e)),this[T]?M((()=>this[v]())):this[v]()),t}unpipe(t){const e=this[k].find((e=>e.dest===t));e&&(1===this[k].length?(this[b]&&0===this[L]&&(this[b]=!1),this[k]=[]):this[k].splice(this[k].indexOf(e),1),e.unpipe())}addListener(t,e){return this.on(t,e)}on(t,e){const i=super.on(t,e);if("data"===t)this[P]=!1,this[L]++,this[k].length||this[b]||this[v]();else if("readable"===t&&0!==this[x])super.emit("readable");else if((t=>"end"===t||"finish"===t||"prefinish"===t)(t)&&this[l])super.emit(t),this.removeAllListeners(t);else if("error"===t&&this[h]){const t=e;this[T]?M((()=>t.call(this,this[h]))):t.call(this,this[h])}return i}removeListener(t,e){return this.off(t,e)}off(t,e){const i=super.off(t,e);return"data"===t&&(this[L]=this.listeners("data").length,0!==this[L]||this[P]||this[k].length||(this[b]=!1)),i}removeAllListeners(t){const e=super.removeAllListeners(t);return"data"!==t&&void 0!==t||(this[L]=0,this[P]||this[k].length||(this[b]=!1)),e}get emittedEnd(){return this[l]}[a](){this[c]||this[l]||this[S]||0!==this[D].length||!this[o]||(this[c]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[p]&&this.emit("close"),this[c]=!1)}emit(t,...e){const i=e[0];if("error"!==t&&"close"!==t&&t!==S&&this[S])return!1;if("data"===t)return!(!this[C]&&!i)&&(this[T]?(M((()=>this[j](i))),!0):this[j](i));if("end"===t)return this[O]();if("close"===t){if(this[p]=!0,!this[l]&&!this[S])return!1;const t=super.emit("close");return this.removeAllListeners("close"),t}if("error"===t){this[h]=i,super.emit(_,i);const t=!(this[N]&&!this.listeners("error").length)&&super.emit("error",i);return this[a](),t}if("resume"===t){const t=super.emit("resume");return this[a](),t}if("finish"===t||"prefinish"===t){const e=super.emit(t);return this.removeAllListeners(t),e}const n=super.emit(t,...e);return this[a](),n}[j](t){for(const e of this[k])!1===e.dest.write(t)&&this.pause();const e=!this[P]&&super.emit("data",t);return this[a](),e}[O](){return!this[l]&&(this[l]=!0,this.readable=!1,this[T]?(M((()=>this[B]())),!0):this[B]())}[B](){if(this[y]){const t=this[y].end();if(t){for(const e of this[k])e.dest.write(t);this[P]||super.emit("data",t)}}for(const t of this[k])t.end();const t=super.emit("end");return this.removeAllListeners("end"),t}async collect(){const t=Object.assign([],{dataLength:0});this[C]||(t.dataLength=0);const e=this.promise();return this.on("data",(e=>{t.push(e),this[C]||(t.dataLength+=e.length)})),await e,t}async concat(){if(this[C])throw new Error("cannot concat in objectMode");const t=await this.collect();return this[m]?t.join(""):Buffer.concat(t,t.dataLength)}async promise(){return new Promise(((t,e)=>{this.on(S,(()=>e(new Error("stream destroyed")))),this.on("error",(t=>e(t))),this.on("end",(()=>t()))}))}[Symbol.asyncIterator](){this[P]=!1;let t=!1;const e=async()=>(this.pause(),t=!0,{value:void 0,done:!0});return{next:()=>{if(t)return e();const i=this.read();if(null!==i)return Promise.resolve({done:!1,value:i});if(this[o])return e();let n,r;const s=t=>{this.off("data",a),this.off("end",u),this.off(S,l),e(),r(t)},a=t=>{this.off("error",s),this.off("end",u),this.off(S,l),this.pause(),n({value:t,done:!!this[o]})},u=()=>{this.off("error",s),this.off("data",a),this.off(S,l),e(),n({done:!0,value:void 0})},l=()=>s(new Error("stream destroyed"));return new Promise(((t,e)=>{r=e,n=t,this.once(S,l),this.once("error",s),this.once("end",u),this.once("data",a)}))},throw:e,return:e,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[P]=!1;let t=!1;const e=()=>(this.pause(),this.off(_,e),this.off(S,e),this.off("end",e),t=!0,{done:!0,value:void 0});return this.once("end",e),this.once(_,e),this.once(S,e),{next:()=>{if(t)return e();const i=this.read();return null===i?e():{done:!1,value:i}},throw:e,return:e,[Symbol.iterator](){return this}}}destroy(t){if(this[S])return t?this.emit("error",t):this.emit(S),this;this[S]=!0,this[P]=!0,this[D].length=0,this[x]=0;return"function"!=typeof this.close||this[p]||this.close(),t?this.emit("error",t):this.emit(S),this}static get isStream(){return t.isStream}}t.Minipass=W}(my);var yy=z&&z.__createBinding||(Object.create?function(t,e,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(e,i);r&&!("get"in r?!e.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return e[i]}}),Object.defineProperty(t,n,r)}:function(t,e,i,n){void 0===n&&(n=i),t[n]=e[i]}),by=z&&z.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),wy=z&&z.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)"default"!==i&&Object.prototype.hasOwnProperty.call(t,i)&&yy(e,t,i);return by(e,t),e};Object.defineProperty(ny,"__esModule",{value:!0}),ny.PathScurry=ny.Path=ny.PathScurryDarwin=ny.PathScurryPosix=ny.PathScurryWin32=ny.PathScurryBase=ny.PathPosix=ny.PathWin32=ny.PathBase=ny.ChildrenCache=ny.ResolveCache=void 0;const vy=ry,Dy=o,ky=p,Ey=wy(a),xy=a,Ay=xy.realpathSync.native,Fy=I,Cy=my,Sy={lstatSync:xy.lstatSync,readdir:xy.readdir,readdirSync:xy.readdirSync,readlinkSync:xy.readlinkSync,realpathSync:Ay,promises:{lstat:Fy.lstat,readdir:Fy.readdir,readlink:Fy.readlink,realpath:Fy.realpath}},_y=t=>t&&t!==Sy&&t!==Ey?{...Sy,...t,promises:{...Sy.promises,...t.promises||{}}}:Sy,jy=/^\\\\\?\\([a-z]:)\\?$/i,Oy=/[\\\/]/,By=10,Ty=15,Ry=-16,Iy=128,$y=256,Ny=512,Ly=t=>t.isFile()?8:t.isDirectory()?4:t.isSymbolicLink()?By:t.isCharacterDevice()?2:t.isBlockDevice()?6:t.isSocket()?12:t.isFIFO()?1:0,Py=new Map,My=t=>{const e=Py.get(t);if(e)return e;const i=t.normalize("NFKD");return Py.set(t,i),i},zy=new Map,qy=t=>{const e=zy.get(t);if(e)return e;const i=My(t.toLowerCase());return zy.set(t,i),i};class Uy extends vy.LRUCache{constructor(){super({max:256})}}ny.ResolveCache=Uy;class Gy extends vy.LRUCache{constructor(t=16384){super({maxSize:t,sizeCalculation:t=>t.length+1})}}ny.ChildrenCache=Gy;const Wy=Symbol("PathScurry setAsCwd");class Hy{name;root;roots;parent;nocase;#et;#it;get dev(){return this.#it}#nt;get mode(){return this.#nt}#rt;get nlink(){return this.#rt}#st;get uid(){return this.#st}#ot;get gid(){return this.#ot}#at;get rdev(){return this.#at}#ut;get blksize(){return this.#ut}#lt;get ino(){return this.#lt}#D;get size(){return this.#D}#ct;get blocks(){return this.#ct}#ht;get atimeMs(){return this.#ht}#pt;get mtimeMs(){return this.#pt}#ft;get ctimeMs(){return this.#ft}#dt;get birthtimeMs(){return this.#dt}#gt;get atime(){return this.#gt}#mt;get mtime(){return this.#mt}#yt;get ctime(){return this.#yt}#bt;get birthtime(){return this.#bt}#wt;#vt;#Dt;#kt;#Et;#xt;#At;#Ft;#Ct;#St;get path(){return(this.parent||this).fullpath()}constructor(t,e=0,i,n,r,s,o){this.name=t,this.#wt=r?qy(t):My(t),this.#At=1023&e,this.nocase=r,this.roots=n,this.root=i||this,this.#Ft=s,this.#Dt=o.fullpath,this.#Et=o.relative,this.#xt=o.relativePosix,this.parent=o.parent,this.parent?this.#et=this.parent.#et:this.#et=_y(o.fs)}depth(){return void 0!==this.#vt?this.#vt:this.parent?this.#vt=this.parent.depth()+1:this.#vt=0}childrenCache(){return this.#Ft}resolve(t){if(!t)return this;const e=this.getRootString(t),i=t.substring(e.length).split(this.splitSep);return e?this.getRoot(e).#_t(i):this.#_t(i)}#_t(t){let e=this;for(const i of t)e=e.child(i);return e}children(){const t=this.#Ft.get(this);if(t)return t;const e=Object.assign([],{provisional:0});return this.#Ft.set(this,e),this.#At&=-17,e}child(t,e){if(""===t||"."===t)return this;if(".."===t)return this.parent||this;const i=this.children(),n=this.nocase?qy(t):My(t);for(const t of i)if(t.#wt===n)return t;const r=this.parent?this.sep:"",s=this.#Dt?this.#Dt+r+t:void 0,o=this.newChild(t,0,{...e,parent:this,fullpath:s});return this.canReaddir()||(o.#At|=Iy),i.push(o),o}relative(){if(void 0!==this.#Et)return this.#Et;const t=this.name,e=this.parent;if(!e)return this.#Et=this.name;const i=e.relative();return i+(i&&e.parent?this.sep:"")+t}relativePosix(){if("/"===this.sep)return this.relative();if(void 0!==this.#xt)return this.#xt;const t=this.name,e=this.parent;if(!e)return this.#xt=this.fullpathPosix();const i=e.relativePosix();return i+(i&&e.parent?"/":"")+t}fullpath(){if(void 0!==this.#Dt)return this.#Dt;const t=this.name,e=this.parent;if(!e)return this.#Dt=this.name;const i=e.fullpath()+(e.parent?this.sep:"")+t;return this.#Dt=i}fullpathPosix(){if(void 0!==this.#kt)return this.#kt;if("/"===this.sep)return this.#kt=this.fullpath();if(!this.parent){const t=this.fullpath().replace(/\\/g,"/");return/^[a-z]:\//i.test(t)?this.#kt=`//?/${t}`:this.#kt=t}const t=this.parent,e=t.fullpathPosix(),i=e+(e&&t.parent?"/":"")+this.name;return this.#kt=i}isUnknown(){return!(this.#At&Ty)}isType(t){return this[`is${t}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return 8==(this.#At&Ty)}isDirectory(){return 4==(this.#At&Ty)}isCharacterDevice(){return 2==(this.#At&Ty)}isBlockDevice(){return 6==(this.#At&Ty)}isFIFO(){return 1==(this.#At&Ty)}isSocket(){return 12==(this.#At&Ty)}isSymbolicLink(){return(this.#At&By)===By}lstatCached(){return 32&this.#At?this:void 0}readlinkCached(){return this.#Ct}realpathCached(){return this.#St}readdirCached(){const t=this.children();return t.slice(0,t.provisional)}canReadlink(){if(this.#Ct)return!0;if(!this.parent)return!1;const t=this.#At&Ty;return!(0!==t&&t!==By||this.#At&$y||this.#At&Iy)}calledReaddir(){return!!(16&this.#At)}isENOENT(){return!!(this.#At&Iy)}isNamed(t){return this.nocase?this.#wt===qy(t):this.#wt===My(t)}async readlink(){const t=this.#Ct;if(t)return t;if(this.canReadlink()&&this.parent)try{const t=await this.#et.promises.readlink(this.fullpath()),e=(await this.parent.realpath())?.resolve(t);if(e)return this.#Ct=e}catch(t){return void this.#jt(t.code)}}readlinkSync(){const t=this.#Ct;if(t)return t;if(this.canReadlink()&&this.parent)try{const t=this.#et.readlinkSync(this.fullpath()),e=this.parent.realpathSync()?.resolve(t);if(e)return this.#Ct=e}catch(t){return void this.#jt(t.code)}}#Ot(t){this.#At|=16;for(let e=t.provisional;ee(null,t)))}readdirCB(t,e=!1){if(!this.canReaddir())return void(e?t(null,[]):queueMicrotask((()=>t(null,[]))));const i=this.children();if(this.calledReaddir()){const n=i.slice(0,i.provisional);return void(e?t(null,n):queueMicrotask((()=>t(null,n))))}if(this.#Ut.push(t),this.#Gt)return;this.#Gt=!0;const n=this.fullpath();this.#et.readdir(n,{withFileTypes:!0},((t,e)=>{if(t)this.#$t(t.code),i.provisional=0;else{for(const t of e)this.#Lt(t,i);this.#Ot(i)}this.#Wt(i.slice(0,i.provisional))}))}#Ht;async readdir(){if(!this.canReaddir())return[];const t=this.children();if(this.calledReaddir())return t.slice(0,t.provisional);const e=this.fullpath();if(this.#Ht)await this.#Ht;else{let i=()=>{};this.#Ht=new Promise((t=>i=t));try{for(const i of await this.#et.promises.readdir(e,{withFileTypes:!0}))this.#Lt(i,t);this.#Ot(t)}catch(e){this.#$t(e.code),t.provisional=0}this.#Ht=void 0,i()}return t.slice(0,t.provisional)}readdirSync(){if(!this.canReaddir())return[];const t=this.children();if(this.calledReaddir())return t.slice(0,t.provisional);const e=this.fullpath();try{for(const i of this.#et.readdirSync(e,{withFileTypes:!0}))this.#Lt(i,t);this.#Ot(t)}catch(e){this.#$t(e.code),t.provisional=0}return t.slice(0,t.provisional)}canReaddir(){if(704&this.#At)return!1;const t=Ty&this.#At;return 0===t||4===t||t===By}shouldWalk(t,e){return!(4&~this.#At)&&!(704&this.#At)&&!t.has(this)&&(!e||e(this))}async realpath(){if(this.#St)return this.#St;if(!(896&this.#At))try{const t=await this.#et.promises.realpath(this.fullpath());return this.#St=this.resolve(t)}catch(t){this.#Rt()}}realpathSync(){if(this.#St)return this.#St;if(!(896&this.#At))try{const t=this.#et.realpathSync(this.fullpath());return this.#St=this.resolve(t)}catch(t){this.#Rt()}}[Wy](t){if(t===this)return;const e=new Set([]);let i=[],n=this;for(;n&&n.parent;)e.add(n),n.#Et=i.join(this.sep),n.#xt=i.join("/"),n=n.parent,i.push("..");for(n=t;n&&n.parent&&!e.has(n);)n.#Et=void 0,n.#xt=void 0,n=n.parent}}ny.PathBase=Hy;class Vy extends Hy{sep="\\";splitSep=Oy;constructor(t,e=0,i,n,r,s,o){super(t,e,i,n,r,s,o)}newChild(t,e=0,i={}){return new Vy(t,e,this.root,this.roots,this.nocase,this.childrenCache(),i)}getRootString(t){return Dy.win32.parse(t).root}getRoot(t){if((t=(t=>t.replace(/\//g,"\\").replace(jy,"$1\\"))(t.toUpperCase()))===this.root.name)return this.root;for(const[e,i]of Object.entries(this.roots))if(this.sameRoot(t,e))return this.roots[t]=i;return this.roots[t]=new Jy(t,this).root}sameRoot(t,e=this.root.name){return(t=t.toUpperCase().replace(/\//g,"\\").replace(jy,"$1\\"))===e}}ny.PathWin32=Vy;class Ky extends Hy{splitSep="/";sep="/";constructor(t,e=0,i,n,r,s,o){super(t,e,i,n,r,s,o)}getRootString(t){return t.startsWith("/")?"/":""}getRoot(t){return this.root}newChild(t,e=0,i={}){return new Ky(t,e,this.root,this.roots,this.nocase,this.childrenCache(),i)}}ny.PathPosix=Ky;class Yy{root;rootPath;roots;cwd;#Vt;#Kt;#Ft;nocase;#et;constructor(t=process.cwd(),e,i,{nocase:n,childrenCacheSize:r=16384,fs:s=Sy}={}){this.#et=_y(s),(t instanceof URL||t.startsWith("file://"))&&(t=(0,ky.fileURLToPath)(t));const o=e.resolve(t);this.roots=Object.create(null),this.rootPath=this.parseRootPath(o),this.#Vt=new Uy,this.#Kt=new Uy,this.#Ft=new Gy(r);const a=o.substring(this.rootPath.length).split(i);if(1!==a.length||a[0]||a.pop(),void 0===n)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=n,this.root=this.newRoot(this.#et),this.roots[this.rootPath]=this.root;let u=this.root,l=a.length-1;const c=e.sep;let h=this.rootPath,p=!1;for(const t of a){const e=l--;u=u.child(t,{relative:new Array(e).fill("..").join(c),relativePosix:new Array(e).fill("..").join("/"),fullpath:h+=(p?"":c)+t}),p=!0}this.cwd=u}depth(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.depth()}childrenCache(){return this.#Ft}resolve(...t){let e="";for(let i=t.length-1;i>=0;i--){const n=t[i];if(n&&"."!==n&&(e=e?`${n}/${e}`:n,this.isAbsolute(n)))break}const i=this.#Vt.get(e);if(void 0!==i)return i;const n=this.cwd.resolve(e).fullpath();return this.#Vt.set(e,n),n}resolvePosix(...t){let e="";for(let i=t.length-1;i>=0;i--){const n=t[i];if(n&&"."!==n&&(e=e?`${n}/${e}`:n,this.isAbsolute(n)))break}const i=this.#Kt.get(e);if(void 0!==i)return i;const n=this.cwd.resolve(e).fullpathPosix();return this.#Kt.set(e,n),n}relative(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.relative()}relativePosix(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.relativePosix()}basename(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.name}dirname(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),(t.parent||t).fullpath()}async readdir(t=this.cwd,e={withFileTypes:!0}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t,t=this.cwd);const{withFileTypes:i}=e;if(t.canReaddir()){const e=await t.readdir();return i?e:e.map((t=>t.name))}return[]}readdirSync(t=this.cwd,e={withFileTypes:!0}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t,t=this.cwd);const{withFileTypes:i=!0}=e;return t.canReaddir()?i?t.readdirSync():t.readdirSync().map((t=>t.name)):[]}async lstat(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.lstat()}lstatSync(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.lstatSync()}async readlink(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t.withFileTypes,t=this.cwd);const i=await t.readlink();return e?i:i?.fullpath()}readlinkSync(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t.withFileTypes,t=this.cwd);const i=t.readlinkSync();return e?i:i?.fullpath()}async realpath(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t.withFileTypes,t=this.cwd);const i=await t.realpath();return e?i:i?.fullpath()}realpathSync(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t.withFileTypes,t=this.cwd);const i=t.realpathSync();return e?i:i?.fullpath()}async walk(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t,t=this.cwd);const{withFileTypes:i=!0,follow:n=!1,filter:r,walkFilter:s}=e,o=[];r&&!r(t)||o.push(i?t:t.fullpath());const a=new Set,u=(t,e)=>{a.add(t),t.readdirCB(((t,l)=>{if(t)return e(t);let c=l.length;if(!c)return e();const h=()=>{0==--c&&e()};for(const t of l)r&&!r(t)||o.push(i?t:t.fullpath()),n&&t.isSymbolicLink()?t.realpath().then((t=>t?.isUnknown()?t.lstat():t)).then((t=>t?.shouldWalk(a,s)?u(t,h):h())):t.shouldWalk(a,s)?u(t,h):h()}),!0)},l=t;return new Promise(((t,e)=>{u(l,(i=>{if(i)return e(i);t(o)}))}))}walkSync(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t,t=this.cwd);const{withFileTypes:i=!0,follow:n=!1,filter:r,walkFilter:s}=e,o=[];r&&!r(t)||o.push(i?t:t.fullpath());const a=new Set([t]);for(const t of a){const e=t.readdirSync();for(const t of e){r&&!r(t)||o.push(i?t:t.fullpath());let e=t;if(t.isSymbolicLink()){if(!n||!(e=t.realpathSync()))continue;e.isUnknown()&&e.lstatSync()}e.shouldWalk(a,s)&&a.add(e)}}return o}[Symbol.asyncIterator](){return this.iterate()}iterate(t=this.cwd,e={}){return"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t,t=this.cwd),this.stream(t,e)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t,t=this.cwd);const{withFileTypes:i=!0,follow:n=!1,filter:r,walkFilter:s}=e;r&&!r(t)||(yield i?t:t.fullpath());const o=new Set([t]);for(const t of o){const e=t.readdirSync();for(const t of e){r&&!r(t)||(yield i?t:t.fullpath());let e=t;if(t.isSymbolicLink()){if(!n||!(e=t.realpathSync()))continue;e.isUnknown()&&e.lstatSync()}e.shouldWalk(o,s)&&o.add(e)}}}stream(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t,t=this.cwd);const{withFileTypes:i=!0,follow:n=!1,filter:r,walkFilter:s}=e,o=new Cy.Minipass({objectMode:!0});r&&!r(t)||o.write(i?t:t.fullpath());const a=new Set,u=[t];let l=0;const c=()=>{let t=!1;for(;!t;){const e=u.shift();if(!e)return void(0===l&&o.end());l++,a.add(e);const h=(e,f,d=!1)=>{if(e)return o.emit("error",e);if(n&&!d){const t=[];for(const e of f)e.isSymbolicLink()&&t.push(e.realpath().then((t=>t?.isUnknown()?t.lstat():t)));if(t.length)return void Promise.all(t).then((()=>h(null,f,!0)))}for(const e of f)!e||r&&!r(e)||o.write(i?e:e.fullpath())||(t=!0);l--;for(const t of f){const e=t.realpathCached()||t;e.shouldWalk(a,s)&&u.push(e)}t&&!o.flowing?o.once("drain",c):p||c()};let p=!0;e.readdirCB(h,!0),p=!1}};return c(),o}streamSync(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t,t=this.cwd);const{withFileTypes:i=!0,follow:n=!1,filter:r,walkFilter:s}=e,o=new Cy.Minipass({objectMode:!0}),a=new Set;r&&!r(t)||o.write(i?t:t.fullpath());const u=[t];let l=0;const c=()=>{let t=!1;for(;!t;){const e=u.shift();if(!e)return void(0===l&&o.end());l++,a.add(e);const c=e.readdirSync();for(const e of c)r&&!r(e)||o.write(i?e:e.fullpath())||(t=!0);l--;for(const t of c){let e=t;if(t.isSymbolicLink()){if(!n||!(e=t.realpathSync()))continue;e.isUnknown()&&e.lstatSync()}e.shouldWalk(a,s)&&u.push(e)}}t&&!o.flowing&&o.once("drain",c)};return c(),o}chdir(t=this.cwd){const e=this.cwd;this.cwd="string"==typeof t?this.cwd.resolve(t):t,this.cwd[Wy](e)}}ny.PathScurryBase=Yy;class Jy extends Yy{sep="\\";constructor(t=process.cwd(),e={}){const{nocase:i=!0}=e;super(t,Dy.win32,"\\",{...e,nocase:i}),this.nocase=i;for(let t=this.cwd;t;t=t.parent)t.nocase=this.nocase}parseRootPath(t){return Dy.win32.parse(t).root.toUpperCase()}newRoot(t){return new Vy(this.rootPath,4,void 0,this.roots,this.nocase,this.childrenCache(),{fs:t})}isAbsolute(t){return t.startsWith("/")||t.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(t)}}ny.PathScurryWin32=Jy;class Zy extends Yy{sep="/";constructor(t=process.cwd(),e={}){const{nocase:i=!1}=e;super(t,Dy.posix,"/",{...e,nocase:i}),this.nocase=i}parseRootPath(t){return"/"}newRoot(t){return new Ky(this.rootPath,4,void 0,this.roots,this.nocase,this.childrenCache(),{fs:t})}isAbsolute(t){return t.startsWith("/")}}ny.PathScurryPosix=Zy;class Qy extends Zy{constructor(t=process.cwd(),e={}){const{nocase:i=!0}=e;super(t,{...e,nocase:i})}}ny.PathScurryDarwin=Qy,ny.Path="win32"===process.platform?Vy:Ky,ny.PathScurry="win32"===process.platform?Jy:"darwin"===process.platform?Qy:Zy;var Xy={};Object.defineProperty(Xy,"__esModule",{value:!0}),Xy.Pattern=void 0;const tb=Bg;class eb{#Yt;#Jt;#Zt;length;#Qt;#Xt;#te;#ee;#ie;#ne;#re=!0;constructor(t,e,i,n){if(!(t.length>=1))throw new TypeError("empty pattern list");if(!(e.length>=1))throw new TypeError("empty glob list");if(e.length!==t.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=t.length,i<0||i>=this.length)throw new TypeError("index out of range");if(this.#Yt=t,this.#Jt=e,this.#Zt=i,this.#Qt=n,0===this.#Zt)if(this.isUNC()){const[t,e,i,n,...r]=this.#Yt,[s,o,a,u,...l]=this.#Jt;""===r[0]&&(r.shift(),l.shift());const c=[t,e,i,n,""].join("/"),h=[s,o,a,u,""].join("/");this.#Yt=[c,...r],this.#Jt=[h,...l],this.length=this.#Yt.length}else if(this.isDrive()||this.isAbsolute()){const[t,...e]=this.#Yt,[i,...n]=this.#Jt;""===e[0]&&(e.shift(),n.shift());const r=t+"/",s=i+"/";this.#Yt=[r,...e],this.#Jt=[s,...n],this.length=this.#Yt.length}}pattern(){return this.#Yt[this.#Zt]}isString(){return"string"==typeof this.#Yt[this.#Zt]}isGlobstar(){return this.#Yt[this.#Zt]===tb.GLOBSTAR}isRegExp(){return this.#Yt[this.#Zt]instanceof RegExp}globString(){return this.#te=this.#te||(0===this.#Zt?this.isAbsolute()?this.#Jt[0]+this.#Jt.slice(1).join("/"):this.#Jt.join("/"):this.#Jt.slice(this.#Zt).join("/"))}hasMore(){return this.length>this.#Zt+1}rest(){return void 0!==this.#Xt?this.#Xt:this.hasMore()?(this.#Xt=new eb(this.#Yt,this.#Jt,this.#Zt+1,this.#Qt),this.#Xt.#ne=this.#ne,this.#Xt.#ie=this.#ie,this.#Xt.#ee=this.#ee,this.#Xt):this.#Xt=null}isUNC(){const t=this.#Yt;return void 0!==this.#ie?this.#ie:this.#ie="win32"===this.#Qt&&0===this.#Zt&&""===t[0]&&""===t[1]&&"string"==typeof t[2]&&!!t[2]&&"string"==typeof t[3]&&!!t[3]}isDrive(){const t=this.#Yt;return void 0!==this.#ee?this.#ee:this.#ee="win32"===this.#Qt&&0===this.#Zt&&this.length>1&&"string"==typeof t[0]&&/^[a-z]:$/i.test(t[0])}isAbsolute(){const t=this.#Yt;return void 0!==this.#ne?this.#ne:this.#ne=""===t[0]&&t.length>1||this.isDrive()||this.isUNC()}root(){const t=this.#Yt[0];return"string"==typeof t&&this.isAbsolute()&&0===this.#Zt?t:""}checkFollowGlobstar(){return!(0===this.#Zt||!this.isGlobstar()||!this.#re)}markFollowGlobstar(){return!(0===this.#Zt||!this.isGlobstar()||!this.#re)&&(this.#re=!1,!0)}}Xy.Pattern=eb;var ib={},nb={};Object.defineProperty(nb,"__esModule",{value:!0}),nb.Ignore=void 0;const rb=Bg,sb=Xy,ob="object"==typeof process&&process&&"string"==typeof process.platform?process.platform:"linux";nb.Ignore=class{relative;relativeChildren;absolute;absoluteChildren;constructor(t,{nobrace:e,nocase:i,noext:n,noglobstar:r,platform:s=ob}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[];const o={dot:!0,nobrace:e,nocase:i,noext:n,noglobstar:r,optimizationLevel:2,platform:s,nocomment:!0,nonegate:!0};for(const e of t){const t=new rb.Minimatch(e,o);for(let e=0;e[t,!!(2&e),!!(1&e)]))}}ab.MatchRecord=cb;class hb{store=new Map;add(t,e){if(!t.canReaddir())return;const i=this.store.get(t);i?i.find((t=>t.globString()===e.globString()))||i.push(e):this.store.set(t,[e])}get(t){const e=this.store.get(t);if(!e)throw new Error("attempting to walk unknown path");return e}entries(){return this.keys().map((t=>[t,this.store.get(t)]))}keys(){return[...this.store.keys()].filter((t=>t.canReaddir()))}}ab.SubWalks=hb;class pb{hasWalkedCache;matches=new cb;subwalks=new hb;patterns;follow;dot;opts;constructor(t,e){this.opts=t,this.follow=!!t.follow,this.dot=!!t.dot,this.hasWalkedCache=e?e.copy():new lb}processPatterns(t,e){this.patterns=e;const i=e.map((e=>[t,e]));for(let[t,e]of i){this.hasWalkedCache.storeWalked(t,e);const i=e.root(),n=e.isAbsolute()&&!1!==this.opts.absolute;if(i){t=t.resolve("/"===i&&void 0!==this.opts.root?this.opts.root:i);const n=e.rest();if(!n){this.matches.add(t,!0,!1);continue}e=n}if(t.isENOENT())continue;let r,s,o=!1;for(;"string"==typeof(r=e.pattern())&&(s=e.rest());){const i=t.resolve(r);t=i,e=s,o=!0}if(r=e.pattern(),s=e.rest(),o){if(this.hasWalkedCache.hasWalked(t,e))continue;this.hasWalkedCache.storeWalked(t,e)}if("string"!=typeof r)if(r===ub.GLOBSTAR){(!t.isSymbolicLink()||this.follow||e.checkFollowGlobstar())&&this.subwalks.add(t,e);const i=s?.pattern(),r=s?.rest();if(s&&(""!==i&&"."!==i||r)){if(".."===i){const e=t.parent||t;r?this.hasWalkedCache.hasWalked(e,r)||this.subwalks.add(e,r):this.matches.add(e,n,!0)}}else this.matches.add(t,n,""===i||"."===i)}else r instanceof RegExp&&this.subwalks.add(t,e);else{const e=".."===r||""===r||"."===r;this.matches.add(t.resolve(r),n,e)}}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new pb(this.opts,this.hasWalkedCache)}filterEntries(t,e){const i=this.subwalks.get(t),n=this.child();for(const t of e)for(const e of i){const i=e.isAbsolute(),r=e.pattern(),s=e.rest();r===ub.GLOBSTAR?n.testGlobstar(t,e,s,i):r instanceof RegExp?n.testRegExp(t,r,s,i):n.testString(t,r,s,i)}return n}testGlobstar(t,e,i,n){if(!this.dot&&t.name.startsWith(".")||(e.hasMore()||this.matches.add(t,n,!1),t.canReaddir()&&(this.follow||!t.isSymbolicLink()?this.subwalks.add(t,e):t.isSymbolicLink()&&(i&&e.checkFollowGlobstar()?this.subwalks.add(t,i):e.markFollowGlobstar()&&this.subwalks.add(t,e)))),i){const e=i.pattern();if("string"==typeof e&&".."!==e&&""!==e&&"."!==e)this.testString(t,e,i.rest(),n);else if(".."===e){const e=t.parent||t;this.subwalks.add(e,i)}else e instanceof RegExp&&this.testRegExp(t,e,i.rest(),n)}}testRegExp(t,e,i,n){e.test(t.name)&&(i?this.subwalks.add(t,i):this.matches.add(t,n,!1))}testString(t,e,i,n){t.isNamed(e)&&(i?this.subwalks.add(t,i):this.matches.add(t,n,!1))}}ab.Processor=pb,Object.defineProperty(ib,"__esModule",{value:!0}),ib.GlobStream=ib.GlobWalker=ib.GlobUtil=void 0;const fb=my,db=nb,gb=ab;class mb{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#se=[];#oe;#ae;signal;maxDepth;constructor(t,e,i){this.patterns=t,this.path=e,this.opts=i,this.#ae=i.posix||"win32"!==i.platform?"/":"\\",i.ignore&&(this.#oe=((t,e)=>"string"==typeof t?new db.Ignore([t],e):Array.isArray(t)?new db.Ignore(t,e):t)(i.ignore,i)),this.maxDepth=i.maxDepth||1/0,i.signal&&(this.signal=i.signal,this.signal.addEventListener("abort",(()=>{this.#se.length=0})))}#ue(t){return this.seen.has(t)||!!this.#oe?.ignored?.(t)}#le(t){return!!this.#oe?.childrenIgnored?.(t)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;let t;for(this.paused=!1;!this.paused&&(t=this.#se.shift());)t()}onResume(t){this.signal?.aborted||(this.paused?this.#se.push(t):t())}async matchCheck(t,e){if(e&&this.opts.nodir)return;let i;if(this.opts.realpath){if(i=t.realpathCached()||await t.realpath(),!i)return;t=i}const n=t.isUnknown()||this.opts.stat?await t.lstat():t;if(this.opts.follow&&this.opts.nodir&&n?.isSymbolicLink()){const t=await n.realpath();t&&(t.isUnknown()||this.opts.stat)&&await t.lstat()}return this.matchCheckTest(n,e)}matchCheckTest(t,e){return!t||!(this.maxDepth===1/0||t.depth()<=this.maxDepth)||e&&!t.canReaddir()||this.opts.nodir&&t.isDirectory()||this.opts.nodir&&this.opts.follow&&t.isSymbolicLink()&&t.realpathCached()?.isDirectory()||this.#ue(t)?void 0:t}matchCheckSync(t,e){if(e&&this.opts.nodir)return;let i;if(this.opts.realpath){if(i=t.realpathCached()||t.realpathSync(),!i)return;t=i}const n=t.isUnknown()||this.opts.stat?t.lstatSync():t;if(this.opts.follow&&this.opts.nodir&&n?.isSymbolicLink()){const t=n.realpathSync();t&&(t?.isUnknown()||this.opts.stat)&&t.lstatSync()}return this.matchCheckTest(n,e)}matchFinish(t,e){if(this.#ue(t))return;const i=void 0===this.opts.absolute?e:this.opts.absolute;this.seen.add(t);const n=this.opts.mark&&t.isDirectory()?this.#ae:"";if(this.opts.withFileTypes)this.matchEmit(t);else if(i){const e=this.opts.posix?t.fullpathPosix():t.fullpath();this.matchEmit(e+n)}else{const e=this.opts.posix?t.relativePosix():t.relative(),i=this.opts.dotRelative&&!e.startsWith(".."+this.#ae)?"."+this.#ae:"";this.matchEmit(e?i+e+n:"."+n)}}async match(t,e,i){const n=await this.matchCheck(t,i);n&&this.matchFinish(n,e)}matchSync(t,e,i){const n=this.matchCheckSync(t,i);n&&this.matchFinish(n,e)}walkCB(t,e,i){this.signal?.aborted&&i(),this.walkCB2(t,e,new gb.Processor(this.opts),i)}walkCB2(t,e,i,n){if(this.#le(t))return n();if(this.signal?.aborted&&n(),this.paused)return void this.onResume((()=>this.walkCB2(t,e,i,n)));i.processPatterns(t,e);let r=1;const s=()=>{0==--r&&n()};for(const[t,e,n]of i.matches.entries())this.#ue(t)||(r++,this.match(t,e,n).then((()=>s())));for(const t of i.subwalkTargets()){if(this.maxDepth!==1/0&&t.depth()>=this.maxDepth)continue;r++;const e=t.readdirCached();t.calledReaddir()?this.walkCB3(t,e,i,s):t.readdirCB(((e,n)=>this.walkCB3(t,n,i,s)),!0)}s()}walkCB3(t,e,i,n){i=i.filterEntries(t,e);let r=1;const s=()=>{0==--r&&n()};for(const[t,e,n]of i.matches.entries())this.#ue(t)||(r++,this.match(t,e,n).then((()=>s())));for(const[t,e]of i.subwalks.entries())r++,this.walkCB2(t,e,i.child(),s);s()}walkCBSync(t,e,i){this.signal?.aborted&&i(),this.walkCB2Sync(t,e,new gb.Processor(this.opts),i)}walkCB2Sync(t,e,i,n){if(this.#le(t))return n();if(this.signal?.aborted&&n(),this.paused)return void this.onResume((()=>this.walkCB2Sync(t,e,i,n)));i.processPatterns(t,e);let r=1;const s=()=>{0==--r&&n()};for(const[t,e,n]of i.matches.entries())this.#ue(t)||this.matchSync(t,e,n);for(const t of i.subwalkTargets()){if(this.maxDepth!==1/0&&t.depth()>=this.maxDepth)continue;r++;const e=t.readdirSync();this.walkCB3Sync(t,e,i,s)}s()}walkCB3Sync(t,e,i,n){i=i.filterEntries(t,e);let r=1;const s=()=>{0==--r&&n()};for(const[t,e,n]of i.matches.entries())this.#ue(t)||this.matchSync(t,e,n);for(const[t,e]of i.subwalks.entries())r++,this.walkCB2Sync(t,e,i.child(),s);s()}}ib.GlobUtil=mb;ib.GlobWalker=class extends mb{matches;constructor(t,e,i){super(t,e,i),this.matches=new Set}matchEmit(t){this.matches.add(t)}async walk(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&await this.path.lstat(),await new Promise(((t,e)=>{this.walkCB(this.path,this.patterns,(()=>{this.signal?.aborted?e(this.signal.reason):t(this.matches)}))})),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,(()=>{if(this.signal?.aborted)throw this.signal.reason})),this.matches}};ib.GlobStream=class extends mb{results;constructor(t,e,i){super(t,e,i),this.results=new fb.Minipass({signal:this.signal,objectMode:!0}),this.results.on("drain",(()=>this.resume())),this.results.on("resume",(()=>this.resume()))}matchEmit(t){this.results.write(t),this.results.flowing||this.pause()}stream(){const t=this.path;return t.isUnknown()?t.lstat().then((()=>{this.walkCB(t,this.patterns,(()=>this.results.end()))})):this.walkCB(t,this.patterns,(()=>this.results.end())),this.results}streamSync(){return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,(()=>this.results.end())),this.results}},Object.defineProperty(iy,"__esModule",{value:!0}),iy.Glob=void 0;const yb=Bg,bb=ny,wb=p,vb=Xy,Db=ib,kb="object"==typeof process&&process&&"string"==typeof process.platform?process.platform:"linux";class Eb{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;opts;patterns;constructor(t,e){if(!e)throw new TypeError("glob options required");if(this.withFileTypes=!!e.withFileTypes,this.signal=e.signal,this.follow=!!e.follow,this.dot=!!e.dot,this.dotRelative=!!e.dotRelative,this.nodir=!!e.nodir,this.mark=!!e.mark,e.cwd?(e.cwd instanceof URL||e.cwd.startsWith("file://"))&&(e.cwd=(0,wb.fileURLToPath)(e.cwd)):this.cwd="",this.cwd=e.cwd||"",this.root=e.root,this.magicalBraces=!!e.magicalBraces,this.nobrace=!!e.nobrace,this.noext=!!e.noext,this.realpath=!!e.realpath,this.absolute=e.absolute,this.noglobstar=!!e.noglobstar,this.matchBase=!!e.matchBase,this.maxDepth="number"==typeof e.maxDepth?e.maxDepth:1/0,this.stat=!!e.stat,this.ignore=e.ignore,this.withFileTypes&&void 0!==this.absolute)throw new Error("cannot set absolute and withFileTypes:true");if("string"==typeof t&&(t=[t]),this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(t=t.map((t=>t.replace(/\\/g,"/")))),this.matchBase){if(e.noglobstar)throw new TypeError("base matching requires globstar");t=t.map((t=>t.includes("/")?t:`./**/${t}`))}if(this.pattern=t,this.platform=e.platform||kb,this.opts={...e,platform:this.platform},e.scurry){if(this.scurry=e.scurry,void 0!==e.nocase&&e.nocase!==e.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{const t="win32"===e.platform?bb.PathScurryWin32:"darwin"===e.platform?bb.PathScurryDarwin:e.platform?bb.PathScurryPosix:bb.PathScurry;this.scurry=new t(this.cwd,{nocase:e.nocase,fs:e.fs})}this.nocase=this.scurry.nocase;const i="darwin"===this.platform||"win32"===this.platform,n={...e,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:i,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},r=this.pattern.map((t=>new yb.Minimatch(t,n))),[s,o]=r.reduce(((t,e)=>(t[0].push(...e.set),t[1].push(...e.globParts),t)),[[],[]]);this.patterns=s.map(((t,e)=>{const i=o[e];if(!i)throw new Error("invalid pattern object");return new vb.Pattern(t,i,0,this.platform)}))}async walk(){return[...await new Db.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).walk()]}walkSync(){return[...new Db.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).walkSync()]}stream(){return new Db.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).stream()}streamSync(){return new Db.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}}iy.Glob=Eb;var xb={};Object.defineProperty(xb,"__esModule",{value:!0}),xb.hasMagic=void 0;const Ab=Bg;xb.hasMagic=(t,e={})=>{Array.isArray(t)||(t=[t]);for(const i of t)if(new Ab.Minimatch(i,e).hasMagic())return!0;return!1},function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.glob=t.hasMagic=t.Glob=t.unescape=t.escape=t.sync=t.iterate=t.iterateSync=t.stream=t.streamSync=t.globIterate=t.globIterateSync=t.globSync=t.globStream=t.globStreamSync=void 0;const e=Bg,i=iy,n=xb;function r(t,e={}){return new i.Glob(t,e).streamSync()}function s(t,e={}){return new i.Glob(t,e).stream()}function o(t,e={}){return new i.Glob(t,e).walkSync()}async function a(t,e={}){return new i.Glob(t,e).walk()}function u(t,e={}){return new i.Glob(t,e).iterateSync()}function l(t,e={}){return new i.Glob(t,e).iterate()}t.globStreamSync=r,t.globStream=s,t.globSync=o,t.globIterateSync=u,t.globIterate=l,t.streamSync=r,t.stream=Object.assign(s,{sync:r}),t.iterateSync=u,t.iterate=Object.assign(l,{sync:u}),t.sync=Object.assign(o,{stream:r,iterate:u});var c=Bg;Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return c.escape}}),Object.defineProperty(t,"unescape",{enumerable:!0,get:function(){return c.unescape}});var h=iy;Object.defineProperty(t,"Glob",{enumerable:!0,get:function(){return h.Glob}});var p=xb;Object.defineProperty(t,"hasMagic",{enumerable:!0,get:function(){return p.hasMagic}}),t.glob=Object.assign(a,{glob:a,globSync:o,sync:t.sync,globStream:s,stream:t.stream,globStreamSync:r,streamSync:t.streamSync,globIterate:l,iterate:t.iterate,globIterateSync:u,iterateSync:t.iterateSync,Glob:i.Glob,hasMagic:n.hasMagic,escape:e.escape,unescape:e.unescape}),t.glob.glob=t.glob}(ey);const Fb=o,Cb=t=>!!t&&((t,e)=>"@"===t.charAt(0)?`${t}/${e}`:e)(jg(Og(t)),jg(t)),{minimatch:Sb}=Bg,_b=ty,{glob:jb}=ey;function Ob(t){const e=Array.isArray(t.packages)?t.packages:t;if(!Array.isArray(e))throw Ib({message:"workspaces config expects an Array",code:"EWORKSPACESCONFIG"});return function(t){const e=[];for(let i of t){const t=i.match(/^!+/);t&&(i=i.slice(t[0].length)),i=i.replace(/^\/+/,"");const n=t&&t[0].length%2==1;e.push({pattern:i,negate:n})}return e}(e)}function Bb(t,e){const{name:i}=t;return i||Cb(e)}function Tb(t){return(...e)=>{const i=t.cwd?t.cwd:process.cwd();return Fb.join.apply(null,[i,...e])}}function Rb(t){return(t=t.replace(/\\/g,"/")).endsWith("/")?t:`${t}/`}function Ib({Type:t=TypeError,message:e,code:i}){return Object.assign(new t(e),{code:i})}async function $b(t={}){if(!t||!t.pkg)throw Ib({message:"mapWorkspaces missing pkg info",code:"EMAPWORKSPACESPKG"});const{workspaces:e=[]}=t.pkg,i=Ob(e),n=new Map,r=new Map;if(!i.length)return n;const s=Tb(t);for(const e of i){let i=await jb(Rb(e.pattern),{...t,ignore:[...t.ignore||[],"**/node_modules/**"]});i=i.sort(((t,e)=>t.localeCompare(e,"en")));for(const t of i){let i;const n=s(t,"package.json"),o=Fb.dirname(n);try{i=await _b(n)}catch(t){if("ENOENT"===t.code)continue;throw t}const a=Bb(i,o);let u=r.get(a);u||(u=new Set,r.set(a,u)),e.negate?u.delete(o):u.add(o)}}const o=["must not have multiple workspaces with the same name"];for(const[t,e]of r)0!==e.size&&(e.size>1?Nb(o,t,e):n.set(t,e.values().next().value));if(o.length>1)throw Ib({Type:Error,message:o.join("\n"),code:"EDUPLICATEWORKSPACE"});return n}function Nb(t,e,i){t.push(`package '${e}' has conflicts in the following paths:`);for(const e of i)t.push(" "+e)}$b.virtual=function(t={}){if(!t||!t.lockfile)throw Ib({message:"mapWorkspaces.virtual missing lockfile info",code:"EMAPWORKSPACESLOCKFILE"});const{packages:e={}}=t.lockfile,{workspaces:i=[]}=e[""]||{},n=new Map,r=Ob(i);if(!r.length)return n;r.push({pattern:"**/node_modules/**",negate:!0});const s=Tb(t);for(const t of Object.keys(e))if(""!==t)for(const i of r)if(Sb(t,i.pattern)){const r=s(t),o=Bb(e[t],r);i.negate?n.delete(r):n.set(r,o)}return function(t){return new Map(Array.from(t,(t=>t.reverse())))}(n)};var Lb=$b;const Pb=["notice","error","warn","info","verbose","http","silly","pause","resume"],Mb=t=>(...e)=>process.emit("log",t,...e),zb={};for(const t of Pb)zb[t]=Mb(t);zb.LEVELS=Pb;var qb=zb,Ub={exports:{}};const Gb=t=>{if("string"==typeof t){if(/^0o?[0-7]+$/.test(t))return parseInt(t.replace(/^0o?/,""),8);if(/^[1-9][0-9]*$/.test(t))return parseInt(t,10);throw new Error(`invalid umask value: ${t}`)}if("number"!=typeof t)throw new Error(`invalid umask value: ${t}`);if((t=Math.floor(t))<0||t>511)throw new Error(`invalid umask value: ${t}`);return t};var Wb={Umask:class{},parse:Gb,validate:(t,e,i)=>{try{return t[e]=Gb(i),!0}catch(t){return!1}}},Hb={exports:{}};var Vb={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};var Kb="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};!function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:r}=Vb,s=Kb,o=(e=t.exports={}).re=[],a=e.safeRe=[],u=e.src=[],l=e.t={};let c=0;const h="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",r],[h,n]],f=(t,e,i)=>{const n=(t=>{for(const[e,i]of p)t=t.split(`${e}*`).join(`${e}{0,${i}}`).split(`${e}+`).join(`${e}{1,${i}}`);return t})(e),r=c++;s(t,r,e),l[t]=r,u[r]=e,o[r]=new RegExp(e,i?"g":void 0),a[r]=new RegExp(n,i?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h}*`),f("MAINVERSION",`(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${u[l.NUMERICIDENTIFIER]}|${u[l.NONNUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${u[l.NUMERICIDENTIFIERLOOSE]}|${u[l.NONNUMERICIDENTIFIER]})`),f("PRERELEASE",`(?:-(${u[l.PRERELEASEIDENTIFIER]}(?:\\.${u[l.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${u[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[l.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER",`${h}+`),f("BUILD",`(?:\\+(${u[l.BUILDIDENTIFIER]}(?:\\.${u[l.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${u[l.MAINVERSION]}${u[l.PRERELEASE]}?${u[l.BUILD]}?`),f("FULL",`^${u[l.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${u[l.MAINVERSIONLOOSE]}${u[l.PRERELEASELOOSE]}?${u[l.BUILD]}?`),f("LOOSE",`^${u[l.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${u[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${u[l.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:${u[l.PRERELEASE]})?${u[l.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:${u[l.PRERELEASELOOSE]})?${u[l.BUILD]}?)?)?`),f("XRANGE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAINLOOSE]}$`),f("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`),f("COERCE",`${u[l.COERCEPLAIN]}(?:$|[^\\d])`),f("COERCEFULL",u[l.COERCEPLAIN]+`(?:${u[l.PRERELEASE]})?`+`(?:${u[l.BUILD]})?(?:$|[^\\d])`),f("COERCERTL",u[l.COERCE],!0),f("COERCERTLFULL",u[l.COERCEFULL],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${u[l.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",f("TILDE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${u[l.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",f("CARET",`^${u[l.LONECARET]}${u[l.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${u[l.LONECARET]}${u[l.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${u[l.GTLT]}\\s*(${u[l.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]}|${u[l.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${u[l.XRANGEPLAIN]})\\s+-\\s+(${u[l.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${u[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[l.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}(Hb,Hb.exports);var Yb=Hb.exports;const Jb=Object.freeze({loose:!0}),Zb=Object.freeze({});var Qb=t=>t?"object"!=typeof t?Jb:t:Zb;const Xb=/^[0-9]+$/,tw=(t,e)=>{const i=Xb.test(t),n=Xb.test(e);return i&&n&&(t=+t,e=+e),t===e?0:i&&!n?-1:n&&!i?1:ttw(e,t)};const iw=Kb,{MAX_LENGTH:nw,MAX_SAFE_INTEGER:rw}=Vb,{safeRe:sw,t:ow}=Yb,aw=Qb,{compareIdentifiers:uw}=ew;var lw=class t{constructor(e,i){if(i=aw(i),e instanceof t){if(e.loose===!!i.loose&&e.includePrerelease===!!i.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>nw)throw new TypeError(`version is longer than ${nw} characters`);iw("SemVer",e,i),this.options=i,this.loose=!!i.loose,this.includePrerelease=!!i.includePrerelease;const n=e.trim().match(i.loose?sw[ow.LOOSE]:sw[ow.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>rw||this.major<0)throw new TypeError("Invalid major version");if(this.minor>rw||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>rw||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((t=>{if(/^[0-9]+$/.test(t)){const e=+t;if(e>=0&&e=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(e===this.prerelease.join(".")&&!1===i)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(t)}}if(e){let n=[e,t];!1===i&&(n=[e]),0===uw(this.prerelease[0],e)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};const cw=lw;var hw=(t,e,i=!1)=>{if(t instanceof cw)return t;try{return new cw(t,e)}catch(t){if(!i)return null;throw t}};const pw=hw;var fw=(t,e)=>{const i=pw(t,e);return i?i.version:null};const dw=hw;var gw=(t,e)=>{const i=dw(t.trim().replace(/^[=v]+/,""),e);return i?i.version:null};const mw=lw;var yw=(t,e,i,n,r)=>{"string"==typeof i&&(r=n,n=i,i=void 0);try{return new mw(t instanceof mw?t.version:t,i).inc(e,n,r).version}catch(t){return null}};const bw=hw;var ww=(t,e)=>{const i=bw(t,null,!0),n=bw(e,null,!0),r=i.compare(n);if(0===r)return null;const s=r>0,o=s?i:n,a=s?n:i,u=!!o.prerelease.length;if(!!a.prerelease.length&&!u)return a.patch||a.minor?o.patch?"patch":o.minor?"minor":"major":"major";const l=u?"pre":"";return i.major!==n.major?l+"major":i.minor!==n.minor?l+"minor":i.patch!==n.patch?l+"patch":"prerelease"};const vw=lw;var Dw=(t,e)=>new vw(t,e).major;const kw=lw;var Ew=(t,e)=>new kw(t,e).minor;const xw=lw;var Aw=(t,e)=>new xw(t,e).patch;const Fw=hw;var Cw=(t,e)=>{const i=Fw(t,e);return i&&i.prerelease.length?i.prerelease:null};const Sw=lw;var _w=(t,e,i)=>new Sw(t,i).compare(new Sw(e,i));const jw=_w;var Ow=(t,e,i)=>jw(e,t,i);const Bw=_w;var Tw=(t,e)=>Bw(t,e,!0);const Rw=lw;var Iw=(t,e,i)=>{const n=new Rw(t,i),r=new Rw(e,i);return n.compare(r)||n.compareBuild(r)};const $w=Iw;var Nw=(t,e)=>t.sort(((t,i)=>$w(t,i,e)));const Lw=Iw;var Pw=(t,e)=>t.sort(((t,i)=>Lw(i,t,e)));const Mw=_w;var zw=(t,e,i)=>Mw(t,e,i)>0;const qw=_w;var Uw=(t,e,i)=>qw(t,e,i)<0;const Gw=_w;var Ww=(t,e,i)=>0===Gw(t,e,i);const Hw=_w;var Vw=(t,e,i)=>0!==Hw(t,e,i);const Kw=_w;var Yw=(t,e,i)=>Kw(t,e,i)>=0;const Jw=_w;var Zw=(t,e,i)=>Jw(t,e,i)<=0;const Qw=Ww,Xw=Vw,tv=zw,ev=Yw,iv=Uw,nv=Zw;var rv=(t,e,i,n)=>{switch(e){case"===":return"object"==typeof t&&(t=t.version),"object"==typeof i&&(i=i.version),t===i;case"!==":return"object"==typeof t&&(t=t.version),"object"==typeof i&&(i=i.version),t!==i;case"":case"=":case"==":return Qw(t,i,n);case"!=":return Xw(t,i,n);case">":return tv(t,i,n);case">=":return ev(t,i,n);case"<":return iv(t,i,n);case"<=":return nv(t,i,n);default:throw new TypeError(`Invalid operator: ${e}`)}};const sv=lw,ov=hw,{safeRe:av,t:uv}=Yb;var lv,cv,hv,pv,fv=(t,e)=>{if(t instanceof sv)return t;if("number"==typeof t&&(t=String(t)),"string"!=typeof t)return null;let i=null;if((e=e||{}).rtl){const n=e.includePrerelease?av[uv.COERCERTLFULL]:av[uv.COERCERTL];let r;for(;(r=n.exec(t))&&(!i||i.index+i[0].length!==t.length);)i&&r.index+r[0].length===i.index+i[0].length||(i=r),n.lastIndex=r.index+r[1].length+r[2].length;n.lastIndex=-1}else i=t.match(e.includePrerelease?av[uv.COERCEFULL]:av[uv.COERCE]);if(null===i)return null;const n=i[2],r=i[3]||"0",s=i[4]||"0",o=e.includePrerelease&&i[5]?`-${i[5]}`:"",a=e.includePrerelease&&i[6]?`+${i[6]}`:"";return ov(`${n}.${r}.${s}${o}${a}`,e)};function dv(){if(cv)return lv;cv=1;class t{constructor(e,r){if(r=i(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof n)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((t=>this.parseRange(t.trim()))).filter((t=>t.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const t=this.set[0];if(this.set=this.set.filter((t=>!f(t[0]))),0===this.set.length)this.set=[t];else if(this.set.length>1)for(const t of this.set)if(1===t.length&&d(t[0])){this.set=[t];break}}this.format()}format(){return this.range=this.set.map((t=>t.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(t){const i=((this.options.includePrerelease&&h)|(this.options.loose&&p))+":"+t,s=e.get(i);if(s)return s;const d=this.options.loose,g=d?o[a.HYPHENRANGELOOSE]:o[a.HYPHENRANGE];t=t.replace(g,F(this.options.includePrerelease)),r("hyphen replace",t),t=t.replace(o[a.COMPARATORTRIM],u),r("comparator trim",t),t=t.replace(o[a.TILDETRIM],l),r("tilde trim",t),t=t.replace(o[a.CARETTRIM],c),r("caret trim",t);let y=t.split(" ").map((t=>m(t,this.options))).join(" ").split(/\s+/).map((t=>A(t,this.options)));d&&(y=y.filter((t=>(r("loose invalid filter",t,this.options),!!t.match(o[a.COMPARATORLOOSE]))))),r("range list",y);const b=new Map,w=y.map((t=>new n(t,this.options)));for(const t of w){if(f(t))return[t];b.set(t.value,t)}b.size>1&&b.has("")&&b.delete("");const v=[...b.values()];return e.set(i,v),v}intersects(e,i){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some((t=>g(t,i)&&e.set.some((e=>g(e,i)&&t.every((t=>e.every((e=>t.intersects(e,i)))))))))}test(t){if(!t)return!1;if("string"==typeof t)try{t=new s(t,this.options)}catch(t){return!1}for(let e=0;e"<0.0.0-0"===t.value,d=t=>""===t.value,g=(t,e)=>{let i=!0;const n=t.slice();let r=n.pop();for(;i&&n.length;)i=n.every((t=>r.intersects(t,e))),r=n.pop();return i},m=(t,e)=>(r("comp",t,e),t=v(t,e),r("caret",t),t=b(t,e),r("tildes",t),t=k(t,e),r("xrange",t),t=x(t,e),r("stars",t),t),y=t=>!t||"x"===t.toLowerCase()||"*"===t,b=(t,e)=>t.trim().split(/\s+/).map((t=>w(t,e))).join(" "),w=(t,e)=>{const i=e.loose?o[a.TILDELOOSE]:o[a.TILDE];return t.replace(i,((e,i,n,s,o)=>{let a;return r("tilde",t,e,i,n,s,o),y(i)?a="":y(n)?a=`>=${i}.0.0 <${+i+1}.0.0-0`:y(s)?a=`>=${i}.${n}.0 <${i}.${+n+1}.0-0`:o?(r("replaceTilde pr",o),a=`>=${i}.${n}.${s}-${o} <${i}.${+n+1}.0-0`):a=`>=${i}.${n}.${s} <${i}.${+n+1}.0-0`,r("tilde return",a),a}))},v=(t,e)=>t.trim().split(/\s+/).map((t=>D(t,e))).join(" "),D=(t,e)=>{r("caret",t,e);const i=e.loose?o[a.CARETLOOSE]:o[a.CARET],n=e.includePrerelease?"-0":"";return t.replace(i,((e,i,s,o,a)=>{let u;return r("caret",t,e,i,s,o,a),y(i)?u="":y(s)?u=`>=${i}.0.0${n} <${+i+1}.0.0-0`:y(o)?u="0"===i?`>=${i}.${s}.0${n} <${i}.${+s+1}.0-0`:`>=${i}.${s}.0${n} <${+i+1}.0.0-0`:a?(r("replaceCaret pr",a),u="0"===i?"0"===s?`>=${i}.${s}.${o}-${a} <${i}.${s}.${+o+1}-0`:`>=${i}.${s}.${o}-${a} <${i}.${+s+1}.0-0`:`>=${i}.${s}.${o}-${a} <${+i+1}.0.0-0`):(r("no pr"),u="0"===i?"0"===s?`>=${i}.${s}.${o}${n} <${i}.${s}.${+o+1}-0`:`>=${i}.${s}.${o}${n} <${i}.${+s+1}.0-0`:`>=${i}.${s}.${o} <${+i+1}.0.0-0`),r("caret return",u),u}))},k=(t,e)=>(r("replaceXRanges",t,e),t.split(/\s+/).map((t=>E(t,e))).join(" ")),E=(t,e)=>{t=t.trim();const i=e.loose?o[a.XRANGELOOSE]:o[a.XRANGE];return t.replace(i,((i,n,s,o,a,u)=>{r("xRange",t,i,n,s,o,a,u);const l=y(s),c=l||y(o),h=c||y(a),p=h;return"="===n&&p&&(n=""),u=e.includePrerelease?"-0":"",l?i=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(c&&(o=0),a=0,">"===n?(n=">=",c?(s=+s+1,o=0,a=0):(o=+o+1,a=0)):"<="===n&&(n="<",c?s=+s+1:o=+o+1),"<"===n&&(u="-0"),i=`${n+s}.${o}.${a}${u}`):c?i=`>=${s}.0.0${u} <${+s+1}.0.0-0`:h&&(i=`>=${s}.${o}.0${u} <${s}.${+o+1}.0-0`),r("xRange return",i),i}))},x=(t,e)=>(r("replaceStars",t,e),t.trim().replace(o[a.STAR],"")),A=(t,e)=>(r("replaceGTE0",t,e),t.trim().replace(o[e.includePrerelease?a.GTE0PRE:a.GTE0],"")),F=t=>(e,i,n,r,s,o,a,u,l,c,h,p,f)=>`${i=y(n)?"":y(r)?`>=${n}.0.0${t?"-0":""}`:y(s)?`>=${n}.${r}.0${t?"-0":""}`:o?`>=${i}`:`>=${i}${t?"-0":""}`} ${u=y(l)?"":y(c)?`<${+l+1}.0.0-0`:y(h)?`<${l}.${+c+1}.0-0`:p?`<=${l}.${c}.${h}-${p}`:t?`<${l}.${c}.${+h+1}-0`:`<=${u}`}`.trim(),C=(t,e,i)=>{for(let i=0;i0){const n=t[i].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0};return lv}function gv(){if(pv)return hv;pv=1;const t=Symbol("SemVer ANY");class e{static get ANY(){return t}constructor(n,r){if(r=i(r),n instanceof e){if(n.loose===!!r.loose)return n;n=n.value}n=n.trim().split(/\s+/).join(" "),o("comparator",n,r),this.options=r,this.loose=!!r.loose,this.parse(n),this.semver===t?this.value="":this.value=this.operator+this.semver.version,o("comp",this)}parse(e){const i=this.options.loose?n[r.COMPARATORLOOSE]:n[r.COMPARATOR],s=e.match(i);if(!s)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==s[1]?s[1]:"","="===this.operator&&(this.operator=""),s[2]?this.semver=new a(s[2],this.options.loose):this.semver=t}toString(){return this.value}test(e){if(o("Comparator.test",e,this.options.loose),this.semver===t||e===t)return!0;if("string"==typeof e)try{e=new a(e,this.options)}catch(t){return!1}return s(e,this.operator,this.semver,this.options)}intersects(t,n){if(!(t instanceof e))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new u(t.value,n).test(this.value):""===t.operator?""===t.value||new u(this.value,n).test(t.semver):(!(n=i(n)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==t.value)&&(!(!n.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!t.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!t.operator.startsWith("<"))||(!(this.semver.version!==t.semver.version||!this.operator.includes("=")||!t.operator.includes("="))||(!!(s(this.semver,"<",t.semver,n)&&this.operator.startsWith(">")&&t.operator.startsWith("<"))||!!(s(this.semver,">",t.semver,n)&&this.operator.startsWith("<")&&t.operator.startsWith(">")))))))}}hv=e;const i=Qb,{safeRe:n,t:r}=Yb,s=rv,o=Kb,a=lw,u=dv();return hv}const mv=dv();var yv=(t,e,i)=>{try{e=new mv(e,i)}catch(t){return!1}return e.test(t)};const bv=dv();var wv=(t,e)=>new bv(t,e).set.map((t=>t.map((t=>t.value)).join(" ").trim().split(" ")));const vv=lw,Dv=dv();var kv=(t,e,i)=>{let n=null,r=null,s=null;try{s=new Dv(e,i)}catch(t){return null}return t.forEach((t=>{s.test(t)&&(n&&-1!==r.compare(t)||(n=t,r=new vv(n,i)))})),n};const Ev=lw,xv=dv();var Av=(t,e,i)=>{let n=null,r=null,s=null;try{s=new xv(e,i)}catch(t){return null}return t.forEach((t=>{s.test(t)&&(n&&1!==r.compare(t)||(n=t,r=new Ev(n,i)))})),n};const Fv=lw,Cv=dv(),Sv=zw;var _v=(t,e)=>{t=new Cv(t,e);let i=new Fv("0.0.0");if(t.test(i))return i;if(i=new Fv("0.0.0-0"),t.test(i))return i;i=null;for(let e=0;e{const e=new Fv(t.semver.version);switch(t.operator){case">":0===e.prerelease.length?e.patch++:e.prerelease.push(0),e.raw=e.format();case"":case">=":r&&!Sv(e,r)||(r=e);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${t.operator}`)}})),!r||i&&!Sv(i,r)||(i=r)}return i&&t.test(i)?i:null};const jv=dv();var Ov=(t,e)=>{try{return new jv(t,e).range||"*"}catch(t){return null}};const Bv=lw,Tv=gv(),{ANY:Rv}=Tv,Iv=dv(),$v=yv,Nv=zw,Lv=Uw,Pv=Zw,Mv=Yw;var zv=(t,e,i,n)=>{let r,s,o,a,u;switch(t=new Bv(t,n),e=new Iv(e,n),i){case">":r=Nv,s=Pv,o=Lv,a=">",u=">=";break;case"<":r=Lv,s=Mv,o=Nv,a="<",u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if($v(t,e,n))return!1;for(let i=0;i{t.semver===Rv&&(t=new Tv(">=0.0.0")),c=c||t,h=h||t,r(t.semver,c.semver,n)?c=t:o(t.semver,h.semver,n)&&(h=t)})),c.operator===a||c.operator===u)return!1;if((!h.operator||h.operator===a)&&s(t,h.semver))return!1;if(h.operator===u&&o(t,h.semver))return!1}return!0};const qv=zv;var Uv=(t,e,i)=>qv(t,e,">",i);const Gv=zv;var Wv=(t,e,i)=>Gv(t,e,"<",i);const Hv=dv();var Vv=(t,e,i)=>(t=new Hv(t,i),e=new Hv(e,i),t.intersects(e,i));const Kv=yv,Yv=_w;const Jv=dv(),Zv=gv(),{ANY:Qv}=Zv,Xv=yv,tD=_w,eD=[new Zv(">=0.0.0-0")],iD=[new Zv(">=0.0.0")],nD=(t,e,i)=>{if(t===e)return!0;if(1===t.length&&t[0].semver===Qv){if(1===e.length&&e[0].semver===Qv)return!0;t=i.includePrerelease?eD:iD}if(1===e.length&&e[0].semver===Qv){if(i.includePrerelease)return!0;e=iD}const n=new Set;let r,s,o,a,u,l,c;for(const e of t)">"===e.operator||">="===e.operator?r=rD(r,e,i):"<"===e.operator||"<="===e.operator?s=sD(s,e,i):n.add(e.semver);if(n.size>1)return null;if(r&&s){if(o=tD(r.semver,s.semver,i),o>0)return null;if(0===o&&(">="!==r.operator||"<="!==s.operator))return null}for(const t of n){if(r&&!Xv(t,String(r),i))return null;if(s&&!Xv(t,String(s),i))return null;for(const n of e)if(!Xv(t,String(n),i))return!1;return!0}let h=!(!s||i.includePrerelease||!s.semver.prerelease.length)&&s.semver,p=!(!r||i.includePrerelease||!r.semver.prerelease.length)&&r.semver;h&&1===h.prerelease.length&&"<"===s.operator&&0===h.prerelease[0]&&(h=!1);for(const t of e){if(c=c||">"===t.operator||">="===t.operator,l=l||"<"===t.operator||"<="===t.operator,r)if(p&&t.semver.prerelease&&t.semver.prerelease.length&&t.semver.major===p.major&&t.semver.minor===p.minor&&t.semver.patch===p.patch&&(p=!1),">"===t.operator||">="===t.operator){if(a=rD(r,t,i),a===t&&a!==r)return!1}else if(">="===r.operator&&!Xv(r.semver,String(t),i))return!1;if(s)if(h&&t.semver.prerelease&&t.semver.prerelease.length&&t.semver.major===h.major&&t.semver.minor===h.minor&&t.semver.patch===h.patch&&(h=!1),"<"===t.operator||"<="===t.operator){if(u=sD(s,t,i),u===t&&u!==s)return!1}else if("<="===s.operator&&!Xv(s.semver,String(t),i))return!1;if(!t.operator&&(s||r)&&0!==o)return!1}return!(r&&l&&!s&&0!==o)&&(!(s&&c&&!r&&0!==o)&&(!p&&!h))},rD=(t,e,i)=>{if(!t)return e;const n=tD(t.semver,e.semver,i);return n>0?t:n<0||">"===e.operator&&">="===t.operator?e:t},sD=(t,e,i)=>{if(!t)return e;const n=tD(t.semver,e.semver,i);return n<0?t:n>0||"<"===e.operator&&"<="===t.operator?e:t};var oD=(t,e,i={})=>{if(t===e)return!0;t=new Jv(t,i),e=new Jv(e,i);let n=!1;t:for(const r of t.set){for(const t of e.set){const e=nD(r,t,i);if(n=n||null!==e,e)continue t}if(n)return!1}return!0};const aD=Yb,uD=Vb,lD=lw,cD=ew,hD=(t,e,i)=>{const n=[];let r=null,s=null;const o=t.sort(((t,e)=>Yv(t,e,i)));for(const t of o){Kv(t,e,i)?(s=t,r||(r=t)):(s&&n.push([r,s]),s=null,r=null)}r&&n.push([r,null]);const a=[];for(const[t,e]of n)t===e?a.push(t):e||t!==o[0]?e?t===o[0]?a.push(`<=${e}`):a.push(`${t} - ${e}`):a.push(`>=${t}`):a.push("*");const u=a.join(" || "),l="string"==typeof e.raw?e.raw:String(e);return u.length{const n=r.valid(i);if(!n)return!1;t[e]=n},description:"full valid SemVer string"},Umask:{type:i,validate:n,description:"octal number in range 0o000..0o777 (0..511)"},url:{...e.typeDefs.url,description:'full url with "http://"'},path:{...e.typeDefs.path,validate:(t,e,i)=>"string"==typeof i&&s(t,e,i),description:"valid filesystem path"},Number:{...e.typeDefs.Number,description:"numeric value"},Boolean:{...e.typeDefs.Boolean,description:"boolean value (true or false)"},Date:{...e.typeDefs.Date,description:"valid Date string"}},e.typeDefs=t.exports}(Ub);var dD=Ub.exports;const{URL:gD}=p;const mD=/(?t.replace(mD,((t,i,n)=>{const r=void 0!==e[n]?e[n]:`\${${n}}`;return i.length%2?t.slice((i.length+1)/2):i.slice(i.length/2)+r}));const bD=dD,wD=yD,{resolve:vD}=o,{parse:DD}=Wb,kD=(t,e,i,n=!1)=>{if("string"!=typeof t&&!Array.isArray(t))return t;const{platform:r,types:s,home:o,env:a}=i,u=new Set([].concat(s[e])),l=u.has(bD.path.type),c=u.has(bD.Boolean.type),h=l||u.has(bD.String.type),p=u.has(bD.Umask.type),f=u.has(bD.Number.type),d=!n&&u.has(Array),g=u.has(bD.Date.type);if(Array.isArray(t))return d?t.map((t=>kD(t,e,i,!0))):t;if(t=t.trim(),d)return kD(t.split("\n\n"),e,i);if(c&&!h&&""===t)return!0;if(!h&&!l&&!f)switch(t){case"true":return!0;case"false":return!1;case"null":return null;case"undefined":return}if(t=wD(t,a),g)return new Date(t);if(l){t=("win32"===r?/^~(\/|\\)/:/^~\//).test(t)&&o?vD(o,t.slice(2)):vD(t)}if(p)try{return DD(t)}catch(e){return t}return f&&!isNaN(t)&&(t=+t),t};var ED=kD;const xD=dD,AD=t=>{if(!t||"function"!=typeof t&&"object"!=typeof t)return t;if(Array.isArray(t))return t.map((t=>AD(t)));for(const{type:e,description:i}of Object.values(xD))if(e===t)return i||e;return t};const FD=t=>Array.isArray(t)?t.map((t=>FD(t))).join("\n\n"):null==t||!1===t?"":"object"==typeof t?null:String(t),CD=(t,e)=>Array.isArray(e)&&Array.isArray(t)?SD(t,e):t===e,SD=(t,e)=>{if(t.length!==e.length)return!1;for(let i=0;i{const n=FD(i),r=((t,e)=>!/^[/@_]/.test(t)&&"string"==typeof FD(e)&&`npm_config_${t.replace(/-/g,"_").toLowerCase()}`)(e,n);r&&null!==n&&(t[r]=n)};var jD=t=>{const{env:e,defaults:i,definitions:n,list:[r,s]}=t;e.INIT_CWD=process.cwd();const o=new Set(Object.keys(r)),a=new Set(Object.keys(s));for(const t in r){const{deprecated:u,envExport:l=!0}=n[t]||{};u||!1===l||(CD(i[t],r[t])?CD(s[t],r[t])||_D(e,t,r[t]):a.has(t)&&!o.has(t)||_D(e,t,r[t]))}e.HOME=t.home,e.npm_config_global_prefix=t.globalPrefix,e.npm_config_local_prefix=t.localPrefix,r.editor&&(e.EDITOR=r.editor),r["node-options"]&&(e.NODE_OPTIONS=r["node-options"]),require.main&&require.main.filename&&(e.npm_execpath=require.main.filename),e.NODE=e.npm_node_execpath=t.execPath};var OD={ErrInvalidAuth:class extends Error{constructor(t){let e="Invalid auth configuration found: ";e+=t.map((t=>"delete"===t.action?`\`${t.key}\` is not allowed in ${t.where} config`:"rename"===t.action?`\`${t.from}\` must be renamed to \`${t.to}\` in ${t.where} config`:void 0)).join(", "),e+="\nPlease run `npm config fix` to repair your configuration.`",super(e),this.code="ERR_INVALID_AUTH",this.problems=t}}};const{walkUp:BD}=Kd,TD=ng,RD=_g,ID=Lb,$D=ty,ND=qb,{resolve:LD,dirname:PD,join:MD}=o,{homedir:zD}=h,{readFile:qD,writeFile:UD,chmod:GD,unlink:WD,stat:HD,mkdir:VD}=I,KD=(...t)=>HD(LD(...t)).then((t=>t.isFile())).catch((()=>!1)),YD=(...t)=>HD(LD(...t)).then((t=>t.isDirectory())).catch((()=>!1)),JD=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),ZD=(t,e,i)=>{Object.defineProperty(t,e,{get:i,set(i){Object.defineProperty(t,e,{value:i,configurable:!0,writable:!0,enumerable:!0})},configurable:!0,enumerable:!0})},QD=dD,XD=t=>{const e=new gD(t),i=`${e.protocol}//${e.host}${e.pathname}`,n=new gD(".",i);return`//${n.host}${n.pathname}`},tk=yD,ek=ED,ik=t=>[].concat(AD(t)).filter((t=>void 0!==t)),nk=jD,{ErrInvalidAuth:rk}=OD,sk=new Set(["global","user","project"]),ok=new Set(["default","builtin",...sk,"env","cli"]);const ak=Symbol("loadError"),uk=Symbol("valid");class lk{#ce;#he=null;#pe=null;constructor(t){this.#ce=Object.create(t&&t.data),this.#pe={},this[uk]=!0}get data(){return this.#ce}get valid(){return this[uk]}set source(t){if(this.#he)throw new Error("cannot set ConfigData source more than once");this.#he=t}get source(){return this.#he}set loadError(t){if(this[ak]||Object.keys(this.#pe).length)throw new Error("cannot set ConfigData loadError after load");this[ak]=t}get loadError(){return this[ak]}set raw(t){if(Object.keys(this.#pe).length||this[ak])throw new Error("cannot set ConfigData raw after load");this.#pe=t}get raw(){return this.#pe}}var ck=class{#fe=!1;#de;#ge=null;static get typeDefs(){return QD}constructor({definitions:t,shorthands:e,flatten:i,npmPath:n,env:r=process.env,argv:s=process.argv,platform:o=process.platform,execPath:a=process.execPath,cwd:u=process.cwd(),excludeNpmCwd:l=!1}){this.definitions=t;const c={},h={};this.deprecated={};for(const[e,i]of Object.entries(t))h[e]=i.default,c[e]=i.type,i.deprecated&&(this.deprecated[e]=i.deprecated.trim().replace(/\n +/,"\n"));this.#de=i,this.types=c,this.shorthands=e,this.defaults=h,this.npmPath=n,this.argv=s,this.env=r,this.execPath=a,this.platform=o,this.cwd=u,this.excludeNpmCwd=l,this.globalPrefix=null,this.localPrefix=null,this.localPackage=null,this.home=null;const p=[...ok];this.data=new Map;let f=null;for(const t of p)this.data.set(t,f=new lk(f));this.data.set=()=>{throw new Error("cannot change internal config data structure")},this.data.delete=()=>{throw new Error("cannot change internal config data structure")},this.sources=new Map([]),this.list=[];for(const{data:t}of this.data.values())this.list.unshift(t);Object.freeze(this.list),this.#fe=!1}get loaded(){return this.#fe}get prefix(){return this.#me("global")?this.globalPrefix:this.localPrefix}find(t){if(!this.loaded)throw new Error("call config.load() before reading values");const e=[...this.data.entries()];for(let i=e.length-1;i>-1;i--){const[n,{data:r}]=e[i];if(JD(r,t))return n}return null}get(t,e){if(!this.loaded)throw new Error("call config.load() before reading values");return this.#me(t,e)}#me(t,e=null){if(null!==e&&!ok.has(e))throw new Error("invalid config location param: "+e);const{data:i}=this.data.get(e||"cli");return null===e||JD(i,t)?i[t]:void 0}set(t,e,i="cli"){if(!this.loaded)throw new Error("call config.load() before setting values");if(!ok.has(i))throw new Error("invalid config location param: "+i);this.#ye(t);const{data:n,raw:r}=this.data.get(i);n[t]=e,["global","user","project"].includes(i)&&(r[t]=e),this.data.get(i)[uk]=null,this.#ge=null}get flat(){if(this.#ge)return this.#ge;process.emit("time","config:load:flatten"),this.#ge={};for(const{data:t}of this.data.values())this.#de(t,this.#ge);return process.emit("timeEnd","config:load:flatten"),this.#ge}delete(t,e="cli"){if(!this.loaded)throw new Error("call config.load() before deleting values");if(!ok.has(e))throw new Error("invalid config location param: "+e);const{data:i,raw:n}=this.data.get(e);delete i[t],["global","user","project"].includes(e)&&delete n[t]}async load(){if(this.loaded)throw new Error("attempting to load npm config multiple times");process.emit("time","config:load"),process.emit("time","config:load:defaults"),this.loadDefaults(),process.emit("timeEnd","config:load:defaults"),process.emit("time","config:load:builtin"),await this.loadBuiltinConfig(),process.emit("timeEnd","config:load:builtin"),process.emit("time","config:load:cli"),this.loadCLI(),process.emit("timeEnd","config:load:cli"),process.emit("time","config:load:env"),this.loadEnv(),process.emit("timeEnd","config:load:env"),process.emit("time","config:load:project"),await this.loadProjectConfig(),process.emit("timeEnd","config:load:project"),process.emit("time","config:load:user"),await this.loadUserConfig(),process.emit("timeEnd","config:load:user"),process.emit("time","config:load:global"),await this.loadGlobalConfig(),process.emit("timeEnd","config:load:global"),this.#fe=!0,this.globalPrefix=this.get("prefix"),process.emit("time","config:load:setEnvs"),this.setEnvs(),process.emit("timeEnd","config:load:setEnvs"),process.emit("timeEnd","config:load")}loadDefaults(){this.loadGlobalPrefix(),this.loadHome();const t={...this.defaults,prefix:this.globalPrefix};try{t["npm-version"]=ri(MD(this.npmPath,"package.json")).version}catch{}this.#be(t,"default","default values");const{data:e}=this.data.get("default");ZD(e,"metrics-registry",(()=>this.#me("registry"))),ZD(e,"globalconfig",(()=>LD(this.#me("prefix"),"etc/npmrc")))}loadHome(){this.home=this.env.HOME||zD()}loadGlobalPrefix(){if(this.globalPrefix)throw new Error("cannot load default global prefix more than once");this.env.PREFIX?this.globalPrefix=this.env.PREFIX:"win32"===this.platform?this.globalPrefix=PD(this.execPath):(this.globalPrefix=PD(PD(this.execPath)),this.env.DESTDIR&&(this.globalPrefix=MD(this.env.DESTDIR,this.globalPrefix)))}loadEnv(){const t=Object.create(null);for(const[e,i]of Object.entries(this.env)){if(!/^npm_config_/i.test(e)||""===i)continue;let n=e.slice(11);n.startsWith("//")||(n=n.replace(/(?!^)_/g,"-").toLowerCase()),t[n]=i}this.#be(t,"env","environment")}loadCLI(){RD.invalidHandler=(t,e,i)=>this.invalidHandler(t,e,i,"command line options","cli");const t=RD(this.types,this.shorthands,this.argv);RD.invalidHandler=null,this.parsedArgv=t.argv,delete t.argv,this.#be(t,"cli","command line options")}get valid(){for(const[t,{valid:e}]of this.data.entries())if(!1===e||null===e&&!this.validate(t))return!1;return!0}validate(t){if(t){const e=this.data.get(t);return e[uk]=!0,RD.invalidHandler=(i,n,r)=>this.invalidHandler(i,n,r,e.source,t),RD.clean(e.data,this.types,QD),RD.invalidHandler=null,e[uk]}{let t=!0;const e=[];for(const i of this.data.keys()){if("default"===i||"builtin"===i||"cli"===i)continue;const n=this.validate(i);if(t=t&&n,["global","user","project"].includes(i)){for(const t of["_authtoken","-authtoken"])this.get(t,i)&&e.push({action:"delete",key:t,where:i});const t=XD(this.get("registry"));for(const n of["_auth","_authToken","username","_password"])this.get(n,i)&&(("username"!==n||this.get("_password",i))&&("_password"!==n||this.get("username",i))?e.push({action:"rename",from:n,to:`${t}:${n}`,where:i}):e.push({action:"delete",key:n,where:i}))}}if(e.length)throw new rk(e);return t}}repair(t){if(!t)try{this.validate()}catch(e){if("ERR_INVALID_AUTH"!==e.code)throw e;t=e.problems}finally{t||(t=[])}for(const e of t)if("delete"===e.action)this.delete(e.key,e.where);else if("rename"===e.action){const t=this.data.get(e.where).raw?.[e.from],i=this.get(e.from,e.where);this.set(e.to,t||i,e.where),this.delete(e.from,e.where)}}isDefault(t){const[e,...i]=[...ok],n=this.data.get(e).data;return JD(n,t)&&i.every((e=>{const i=this.data.get(e).data;return!JD(i,t)}))}invalidHandler(t,e,i,n,r){ND.warn("invalid config",t+"="+JSON.stringify(e),`set in ${n}`),this.data.get(r)[uk]=!1,Array.isArray(i)&&(i.includes(QD.url.type)?i=QD.url.type:i.includes(QD.path.type)&&(i=QD.path.type));const s=ik(i),o=s.filter((t=>void 0!==t&&t!==Array)),a="Must be"+this.#we(o,s),u=1===o.length?o[0]:[...new Set(o.map((t=>"string"==typeof t?t:JSON.stringify(t))))].join(", ");ND.warn("invalid config",a,u)}#we(t,e){let i;return i=1===t.length&&e.includes(Array)?" one or more":t.length>1&&e.includes(Array)?" one or more of:":t.length>1?" one of:":"",i}#be(t,e,i,n=null){const r=this.data.get(e);if(r.source){const t=`double-loading "${e}" configs from ${i}, previously loaded from ${r.source}`;throw new Error(t)}if(this.sources.has(i)){const t=`double-loading config "${i}" as "${e}", previously loaded as "${this.sources.get(i)}"`;throw new Error(t)}if(r.source=i,this.sources.set(i,e),n)r.loadError=n,"ENOENT"!==n.code&&ND.verbose("config",`error loading ${e} config`,n);else{r.raw=t;for(const[i,n]of Object.entries(t)){const s=tk(i,this.env),o=this.parseField(n,s);if("default"!==e&&(this.#ye(s,e,t,[i,n]),this.definitions[i]?.exclusive))for(const t of this.definitions[i].exclusive)if(!this.isDefault(t))throw new TypeError(`--${i} can not be provided when using --${t}`);r.data[s]=o}}}#ye(t,e,i,n){this.deprecated[t]&&ND.warn("config",t,this.deprecated[t])}parseField(t,e,i=!1){return ek(t,e,this,i)}async#ve(t,e){process.emit("time","config:load:file:"+t),await qD(t,"utf8").then((i=>this.#be(TD.parse(i),e,t)),(i=>this.#be(null,e,t,i))),process.emit("timeEnd","config:load:file:"+t)}loadBuiltinConfig(){return this.#ve(LD(this.npmPath,"npmrc"),"builtin")}async loadProjectConfig(){if(await this.loadLocalPrefix(),null==this.localPackage&&(this.localPackage=await KD(this.localPrefix,"package.json")),!0===this.#me("global")||"global"===this.#me("location"))return this.data.get("project").source="(global mode enabled, ignored)",void this.sources.set(this.data.get("project").source,"project");const t=LD(this.localPrefix,".npmrc");if(t!==this.#me("userconfig"))return this.#ve(t,"project");this.data.get("project").source='(same as "user" config, ignored)',this.sources.set(this.data.get("project").source,"project")}async loadLocalPrefix(){const t=this.#me("prefix","cli");if(t)return void(this.localPrefix=t);const e=this.#me("workspaces","cli"),i=this.#me("global")||"global"===this.#me("location");for(const t of BD(this.cwd)){if(this.excludeNpmCwd&&t===this.npmPath)break;const n=await KD(t,"package.json");if(this.localPrefix||!n&&!await YD(t,"node_modules")){if(this.localPrefix&&n){const e=await $D(LD(t,"package.json")).catch((()=>!1));if(!e)continue;const i=await ID({cwd:t,pkg:e});for(const e of i.values())if(e===this.localPrefix){await KD(this.localPrefix,".npmrc")&&ND.warn(`ignoring workspace config at ${this.localPrefix}/.npmrc`);const{data:e}=this.data.get("default");return e.workspace=[this.localPrefix],this.localPrefix=t,this.localPackage=n,void ND.info(`found workspace root at ${this.localPrefix}`)}}}else if(this.localPrefix=t,this.localPackage=n,!1===e||i)return}this.localPrefix||(this.localPrefix=this.cwd)}loadUserConfig(){return this.#ve(this.#me("userconfig"),"user")}loadGlobalConfig(){return this.#ve(this.#me("globalconfig"),"global")}async save(t){if(!this.loaded)throw new Error("call config.load() before saving");if(!sk.has(t))throw new Error("invalid config location param: "+t);const e=this.data.get(t);if(e[ak]=null,"user"===t){const t=XD(this.get("registry")),e=this.get(`${t}:email`,"user");e&&(this.delete(`${t}:email`,"user"),this.set("email",e,"user"))}const i=TD.stringify(e.raw).trim()+"\n";if(!i.trim())return void await WD(e.source).catch((t=>{}));const n=PD(e.source);await VD(n,{recursive:!0}),await UD(e.source,i,"utf8");const r="user"===t?384:438;await GD(e.source,r)}clearCredentialsByURI(t){const e=XD(t);if(XD(this.get("registry"))===e){this.delete("-authtoken","user"),this.delete("_authToken","user"),this.delete("_authtoken","user"),this.delete("_auth","user"),this.delete("_password","user"),this.delete("username","user");const t=this.get(`${e}:email`,"user");t&&this.set("email",t,"user")}this.delete(`${e}:_authToken`,"user"),this.delete(`${e}:_auth`,"user"),this.delete(`${e}:_password`,"user"),this.delete(`${e}:username`,"user"),this.delete(`${e}:email`,"user"),this.delete(`${e}:certfile`,"user"),this.delete(`${e}:keyfile`,"user")}setCredentialsByURI(t,{token:e,username:i,password:n,email:r,certfile:s,keyfile:o}){const a=XD(t);if(r=r||this.get("email","user"),this.delete(`${a}:always-auth`,"user"),this.delete(`${a}:email`,"user"),s&&o&&(this.set(`${a}:certfile`,s,"user"),this.set(`${a}:keyfile`,o,"user")),e)this.set(`${a}:_authToken`,e,"user"),this.delete(`${a}:_password`,"user"),this.delete(`${a}:username`,"user");else if(i||n){if(!i)throw new Error("must include username");if(!n)throw new Error("must include password");this.delete(`${a}:_authToken`,"user"),this.set(`${a}:username`,i,"user");const t=Buffer.from(n,"utf8").toString("base64");this.set(`${a}:_password`,t,"user")}else if(!s||!o)throw new Error("No credentials to set.")}getCredentialsByURI(t){const e=XD(t),i=XD(this.get("registry")),n={},r=this.get(`${e}:email`)||this.get("email");r&&(e===i&&this.set("email",r,"user"),n.email=r);const s=this.get(`${e}:certfile`),o=this.get(`${e}:keyfile`);s&&o&&(n.certfile=s,n.keyfile=o);const a=this.get(`${e}:_authToken`);if(a)return n.token=a,n;const u=this.get(`${e}:username`),l=this.get(`${e}:_password`);if(u&&l){n.username=u,n.password=Buffer.from(l,"base64").toString("utf8");const t=`${n.username}:${n.password}`;return n.auth=Buffer.from(t,"utf8").toString("base64"),n}const c=this.get(`${e}:_auth`);if(c){const t=Buffer.from(c,"base64").toString("utf8").split(":");return n.username=t.shift(),n.password=t.join(":"),n.auth=c,n}return n}setEnvs(){nk(this)}},hk=q(ck);const pk="win32"===m.platform,fk={}.hasOwnProperty,dk={};const gk=new Map;let mk;function yk(t,e,i){return gk.set(t,e),function(t,e){return i;function i(...i){const n=Error.stackTraceLimit;bk()&&(Error.stackTraceLimit=0);const r=new t;bk()&&(Error.stackTraceLimit=n);const s=function(t,e,i){const n=gk.get(t);if(N(void 0!==n,"expected `message` to be found"),"function"==typeof n)return N(n.length<=e.length,`Code: ${t}; The provided arguments length (${e.length}) does not match the required ones (${n.length}).`),Reflect.apply(n,i,e);const r=/%[dfijoOs]/g;let s=0;for(;null!==r.exec(n);)s++;return N(s===e.length,`Code: ${t}; The provided arguments length (${e.length}) does not match the required ones (${s}).`),0===e.length?n:(e.unshift(n),Reflect.apply(C,null,e))}(e,i,r);return Object.defineProperties(r,{message:{value:s,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),wk(r),r.code=e,r}}(i,t)}function bk(){try{if(P.startupSnapshot.isBuildingSnapshot())return!1}catch{}const t=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return void 0===t?Object.isExtensible(Error):fk.call(t,"writable")&&void 0!==t.writable?t.writable:void 0!==t.set}dk.ERR_INVALID_MODULE_SPECIFIER=yk("ERR_INVALID_MODULE_SPECIFIER",((t,e,i=void 0)=>`Invalid module "${t}" ${e}${i?` imported from ${i}`:""}`),TypeError),dk.ERR_INVALID_PACKAGE_CONFIG=yk("ERR_INVALID_PACKAGE_CONFIG",((t,e,i)=>`Invalid package config ${t}${e?` while importing ${e}`:""}${i?`. ${i}`:""}`),Error),dk.ERR_INVALID_PACKAGE_TARGET=yk("ERR_INVALID_PACKAGE_TARGET",((t,e,i,n=!1,r=void 0)=>{const s="string"==typeof i&&!n&&i.length>0&&!i.startsWith("./");return"."===e?(N(!1===n),`Invalid "exports" main target ${JSON.stringify(i)} defined in the package config ${t}package.json${r?` imported from ${r}`:""}${s?'; targets must start with "./"':""}`):`Invalid "${n?"imports":"exports"}" target ${JSON.stringify(i)} defined for '${e}' in the package config ${t}package.json${r?` imported from ${r}`:""}${s?'; targets must start with "./"':""}`}),Error),dk.ERR_MODULE_NOT_FOUND=yk("ERR_MODULE_NOT_FOUND",((t,e,i="package")=>`Cannot find ${i} '${t}' imported from ${e}`),Error),dk.ERR_NETWORK_IMPORT_DISALLOWED=yk("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),dk.ERR_PACKAGE_IMPORT_NOT_DEFINED=yk("ERR_PACKAGE_IMPORT_NOT_DEFINED",((t,e,i)=>`Package import specifier "${t}" is not defined${e?` in package ${e}package.json`:""} imported from ${i}`),TypeError),dk.ERR_PACKAGE_PATH_NOT_EXPORTED=yk("ERR_PACKAGE_PATH_NOT_EXPORTED",((t,e,i=void 0)=>"."===e?`No "exports" main defined in ${t}package.json${i?` imported from ${i}`:""}`:`Package subpath '${e}' is not defined by "exports" in ${t}package.json${i?` imported from ${i}`:""}`),Error),dk.ERR_UNSUPPORTED_DIR_IMPORT=yk("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),dk.ERR_UNKNOWN_FILE_EXTENSION=yk("ERR_UNKNOWN_FILE_EXTENSION",((t,e)=>`Unknown file extension "${t}" for ${e}`),TypeError),dk.ERR_INVALID_ARG_VALUE=yk("ERR_INVALID_ARG_VALUE",((t,e,i="is invalid")=>{let n=S(e);n.length>128&&(n=`${n.slice(0,128)}...`);return`The ${t.includes(".")?"property":"argument"} '${t}' ${i}. Received ${n}`}),TypeError),dk.ERR_UNSUPPORTED_ESM_URL_SCHEME=yk("ERR_UNSUPPORTED_ESM_URL_SCHEME",((t,e)=>{let i=`Only URLs with a scheme in: ${function(t,e="and"){return t.length<3?t.join(` ${e} `):`${t.slice(0,-1).join(", ")}, ${e} ${t[t.length-1]}`}(e)} are supported by the default ESM loader`;return pk&&2===t.protocol.length&&(i+=". On Windows, absolute paths must be valid file:// URLs"),i+=`. Received protocol '${t.protocol}'`,i}),Error);const wk=function(t){const e="__node_internal_"+t.name;return Object.defineProperty(t,"name",{value:e}),t}((function(t){const e=bk();return e&&(mk=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(t),e&&(Error.stackTraceLimit=mk),t}));const vk={read:function(e){try{return{string:t.readFileSync(v.toNamespacedPath(v.join(v.dirname(e),"package.json")),"utf8")}}catch(t){const e=t;if("ENOENT"===e.code)return{string:void 0};throw e}}};const{ERR_INVALID_PACKAGE_CONFIG:Dk}=dk,kk=new Map;function Ek(t,e,i){const n=kk.get(t);if(void 0!==n)return n;const r=vk.read(t).string;if(void 0===r){const e={pjsonPath:t,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return kk.set(t,e),e}let s;try{s=JSON.parse(r)}catch(n){const r=n;throw new Dk(t,(i?`"${e}" from `:"")+O(i||e),r.message)}const{exports:o,imports:a,main:u,name:l,type:c}=s,h={pjsonPath:t,exists:!0,main:"string"==typeof u?u:void 0,name:"string"==typeof l?l:void 0,type:"module"===c||"commonjs"===c?c:"none",exports:o,imports:a&&"object"==typeof a?a:void 0};return kk.set(t,h),h}function xk(t){let e=new B("package.json",t);for(;;){if(e.pathname.endsWith("node_modules/package.json"))break;const i=Ek(O(e),t);if(i.exists)return i;const n=e;if(e=new B("../package.json",e),e.pathname===n.pathname)break}const i=O(e),n={pjsonPath:i,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return kk.set(i,n),n}const{ERR_UNKNOWN_FILE_EXTENSION:Ak}=dk,Fk={}.hasOwnProperty,Ck={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};const Sk={__proto__:null,"data:":function(t){const{1:e}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(t.pathname)||[null,null,null];return function(t){return t&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(t)?"module":"application/json"===t?"json":null}(e)},"file:":function(t,e,i){const n=O(t),r=v.extname(n);if(".js"===r)return"module"===function(t){return xk(t).type}(t)?"module":"commonjs";const s=Ck[r];if(s)return s;if(i)return;throw new Ak(r,n)},"http:":_k,"https:":_k,"node:":()=>"builtin"};function _k(){}function jk(t,e){return Fk.call(Sk,t.protocol)&&Sk[t.protocol](t,e,!0)||null}const{ERR_INVALID_ARG_VALUE:Ok}=dk,Bk=Object.freeze(["node","import"]),Tk=new Set(Bk);function Rk(t){if(void 0!==t&&t!==Bk){if(!Array.isArray(t))throw new Ok("conditions",t,"expected an array");return new Set(t)}return Tk}const Ik=RegExp.prototype[Symbol.replace],$k=!1,{ERR_NETWORK_IMPORT_DISALLOWED:Nk,ERR_INVALID_MODULE_SPECIFIER:Lk,ERR_INVALID_PACKAGE_CONFIG:Pk,ERR_INVALID_PACKAGE_TARGET:Mk,ERR_MODULE_NOT_FOUND:zk,ERR_PACKAGE_IMPORT_NOT_DEFINED:qk,ERR_PACKAGE_PATH_NOT_EXPORTED:Uk,ERR_UNSUPPORTED_DIR_IMPORT:Gk,ERR_UNSUPPORTED_ESM_URL_SCHEME:Wk}=dk,Hk={}.hasOwnProperty,Vk=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,Kk=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,Yk=/^\.|%|\\/,Jk=/\*/g,Zk=/%2f|%5c/i,Qk=new Set,Xk=/[/\\]{2}/;function tE(t,e,i,n,r,s,o){const a=O(n),u=null!==Xk.exec(o?t:e);m.emitWarning(`Use of deprecated ${u?"double slash":"leading or trailing slash matching"} resolving "${t}" for module request "${e}" ${e===i?"":`matched to "${i}" `}in the "${r?"imports":"exports"}" field module resolution of the package at ${a}${s?` imported from ${O(s)}`:""}.`,"DeprecationWarning","DEP0166")}function eE(t,e,i,n){if("module"!==jk(t,{parentURL:i.href}))return;const r=O(t.href),s=O(new B(".",e)),o=O(i);n?m.emitWarning(`Package ${s} has a "main" field set to ${JSON.stringify(n)}, excluding the full filename and extension to the resolved file at "${r.slice(s.length)}", imported from ${o}.\n Automatic extension resolution of the "main" field isdeprecated for ES modules.`,"DeprecationWarning","DEP0151"):m.emitWarning(`No "main" or "exports" field defined in the package.json for ${s} resolving the main entry point "${r.slice(s.length)}", imported from ${o}.\nDefault "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function iE(t){try{return i(t)}catch{return new n}}function nE(t){const e=i(t,{throwIfNoEntry:!1}),n=e?e.isFile():void 0;return null!=n&&n}function rE(t,e,i){let n;if(void 0!==e.main){if(n=new B(e.main,t),nE(n))return n;const r=[`./${e.main}.js`,`./${e.main}.json`,`./${e.main}.node`,`./${e.main}/index.js`,`./${e.main}/index.json`,`./${e.main}/index.node`];let s=-1;for(;++se)):t+e,n,u)}}throw oE(i,t,n,o,r)}if(null!==Vk.exec(t.slice(2))){if(null!==Kk.exec(t.slice(2)))throw oE(i,t,n,o,r);if(!a){const a=s?i.replace("*",(()=>e)):i+e;tE(s?Ik.call(Jk,t,(()=>e)):t,a,i,n,o,r,!0)}}const l=new B(t,n),c=l.pathname,h=new B(".",n).pathname;if(!c.startsWith(h))throw oE(i,t,n,o,r);if(""===e)return l;if(null!==Vk.exec(e)){const u=s?i.replace("*",(()=>e)):i+e;if(null===Kk.exec(e)){if(!a){tE(s?Ik.call(Jk,t,(()=>e)):t,u,i,n,o,r,!1)}}else!function(t,e,i,n,r){const s=`request is not a valid match in pattern "${e}" for the "${n?"imports":"exports"}" resolution of ${O(i)}`;throw new Lk(t,s,r&&O(r))}(u,i,n,o,r)}return s?new B(Ik.call(Jk,l.href,(()=>e))):new B(e,l)}function uE(t){const e=Number(t);return`${e}`===t&&(e>=0&&e<4294967295)}function lE(t,e,i,n,r,s,o,a,u){if("string"==typeof e)return aE(e,i,n,t,r,s,o,a,u);if(Array.isArray(e)){const l=e;if(0===l.length)return null;let c,h=-1;for(;++h=i.length&&e.endsWith(s)&&1===pE(o,i)&&i.lastIndexOf("*")===r&&(o=i,a=e.slice(r,e.length-s.length))}}if(o){const i=lE(t,s[o],a,o,n,!0,!1,e.endsWith("/"),r);if(null==i)throw sE(e,t,n);return i}throw sE(e,t,n)}function pE(t,e){const i=t.indexOf("*"),n=e.indexOf("*"),r=-1===i?t.length:i+1,s=-1===n?e.length:n+1;return r>s?-1:s>r||-1===i?1:-1===n||t.length>e.length?-1:e.length>t.length?1:0}function fE(t,e,i){if("#"===t||t.startsWith("#/")||t.endsWith("/")){throw new Lk(t,"is not a valid internal imports specifier name",O(e))}let n;const r=xk(e);if(r.exists){n=T(r.pjsonPath);const s=r.imports;if(s)if(Hk.call(s,t)&&!t.includes("*")){const r=lE(n,s[t],"",t,e,!1,!0,!1,i);if(null!=r)return r}else{let r="",o="";const a=Object.getOwnPropertyNames(s);let u=-1;for(;++u=e.length&&t.endsWith(n)&&1===pE(r,e)&&e.lastIndexOf("*")===i&&(r=e,o=t.slice(i,t.length-n.length))}}if(r){const t=lE(n,s[r],o,r,e,!0,!0,!1,i);if(null!=t)return t}}}throw function(t,e,i){return new qk(t,e&&O(new B(".",e)),O(i))}(t,n,e)}function dE(t,e,i){if(L.includes(t))return new B("node:"+t);const{packageName:n,packageSubpath:r,isScoped:s}=function(t,e){let i=t.indexOf("/"),n=!0,r=!1;"@"===t[0]&&(r=!0,-1===i||0===t.length?n=!1:i=t.indexOf("/",i+1));const s=-1===i?t:t.slice(0,i);if(null!==Yk.exec(s)&&(n=!1),!n)throw new Lk(t,"is not a valid package name",O(e));return{packageName:s,packageSubpath:"."+(-1===i?"":t.slice(i)),isScoped:r}}(t,e),o=xk(e);if(o.exists){const t=T(o.pjsonPath);if(o.name===n&&void 0!==o.exports&&null!==o.exports)return hE(t,r,o,e,i)}let a,u=new B("./node_modules/"+n+"/package.json",e),l=O(u);do{if(!iE(l.slice(0,-13)).isDirectory()){a=l,u=new B((s?"../../../../node_modules/":"../../../node_modules/")+n+"/package.json",u),l=O(u);continue}const o=Ek(l,t,e);return void 0!==o.exports&&null!==o.exports?hE(u,r,o,e,i):"."===r?rE(u,o,e):new B(r,u)}while(l.length!==a.length);throw new zk(n,O(e))}function gE(t){return""!==t&&("/"===t[0]||function(t){if("."===t[0]){if(1===t.length||"/"===t[1])return!0;if("."===t[1]&&(2===t.length||"/"===t[2]))return!0}return!1}(t))}function mE(t,i,n,r){const s="http:"===i.protocol||"https:"===i.protocol;let o;if(gE(t))o=new B(t,i);else if(s||"#"!==t[0])try{o=new B(t)}catch{s||(o=dE(t,i,n))}else o=fE(t,i,n);return N(void 0!==o,"expected to be defined"),"file:"!==o.protocol?o:function(t,i,n){if(null!==Zk.exec(t.pathname))throw new Lk(t.pathname,'must not include encoded "/" or "\\" characters',O(i));const r=O(t),s=iE(r.endsWith("/")?r.slice(-1):r);if(s.isDirectory()){const e=new Gk(r,O(i));throw e.url=String(t),e}if(!s.isFile())throw new zk(r||t.pathname,i&&O(i),"module");if(!n){const i=e(r),{search:n,hash:s}=t;(t=T(i+(r.endsWith(v.sep)?"/":""))).search=n,t.hash=s}return t}(o,i,r)}function yE(t,e={}){const{parentURL:i}=e;let n,r;if(N(void 0!==i,"expected `parentURL` to be defined"),i)try{n=new B(i)}catch{}try{if(r=gE(t)?new B(t,n):new B(t),"data:"===r.protocol||$k&&("https:"===r.protocol||"http:"===r.protocol))return{url:r.href,format:null}}catch{}const s=function(t,e,i){if(e&&i&&("http:"===i.protocol||"https:"===i.protocol)){if(gE(t)){if(e&&"https:"!==e.protocol&&"http:"!==e.protocol)throw new Nk(t,i,"remote imports cannot import from a local location.");return{url:e.href}}if(L.includes(t))throw new Nk(t,i,"remote imports cannot import from a local location.");throw new Nk(t,i,"only relative and absolute specifiers are supported.")}}(t,r,n);if(s)return s;if(r&&"node:"===r.protocol)return{url:t};!function(t,e){if(t&&"file:"!==t.protocol&&"data:"!==t.protocol&&(!e||"https:"!==t.protocol&&"http:"!==t.protocol))throw new Wk(t,["file","data"].concat(e?["https","http"]:[]))}(r,$k);const o=Rk(e.conditions),a=mE(t,new B(i),o,!1);return function(t){if("file:"!==t.protocol&&"data:"!==t.protocol&&"node:"!==t.protocol)throw new Wk(t)}(a),{url:a.href,format:jk(a,{parentURL:i})}}const bE=void 0!==D.versions.electron,wE="win32"===D.platform,vE=D.argv[1]||"",DE=D.env.NVM_BIN,kE=wE?"":"lib",EE=new hk({definitions:{}});EE.loadGlobalPrefix();let xE=EE.globalPrefix;xE||(xE=wE?o.dirname(D.execPath):o.resolve(D.execPath,"../.."));const AE=bE||0===vE.indexOf(xE);let FE=o.resolve(xE,kE,"node_modules");async function CE(t,e={}){const i=e.prefix?e.prefix+("-"===e.prefix.charAt(e.prefix.length-1)?"":"-"):void 0,n=e.cwd,r=void 0===e.global||null===e.global?AE:e.global,s=Array.isArray(n)?n.concat():[n||D.cwd()];let o,a;if("."!==t.charAt(0)){r&&s.push(FE);let e="";if(i){if("@"===t.charAt(0)){const i=t.indexOf("/");-1!==i&&(e=t.slice(0,i+1),t=t.slice(i+1))}t.slice(0,i.length)!==i&&(o=e+i+t),t=e+t}}let u,l=-1;for(;++l0?parseInt(i):null};a{if(t){const e=OE("Cannot read given file `%s`\n%s",v.relative(this.cwd,s),t.stack);e.code="ENOENT",e.path=t.path,e.syscall=t.syscall,r(e)}else qr(this.create,((t,e)=>{t?(TE(t.message),r(OE("Cannot parse given file `%s`\n%s",v.relative(this.cwd,s),t.stack))):(TE("Read given file `%s`",s),r(e))}))(i,s);function r(t){n.givenFile=t,a(e,t)}}))}return}if(!this.detect)return i(null);e=v.resolve(this.cwd,e);const o=v.dirname(e);function a(t,e){let i=t.length;for(;i--;)u(t[i],e)}function u(t,e){Array.isArray(e)?e.push(t):e instanceof Error?t(e):t(null,e)}o in this.cache?u(i,this.cache[o]):(this.cache[o]=[i],function i(r){let s=-1;function o(){if(++s{t?c(OE("Cannot parse file `%s`\n%s",v.relative(n.cwd,i),t.message)):e&&e.filePath?(TE("Read file `%s`",i),c(null,e)):o()}))(e,i)}function c(t,e){const i=n.cache[r];n.cache[r]=t||e,a(i,t||e)}o()}(o))}}const IE=Vd("unified-engine:configuration"),$E={}.hasOwnProperty,NE={".json":qE,".cjs":ME,".mjs":ME,".js":ME,".yaml":zE,".yml":zE},LE=qE;class PE{constructor(t){const e=[];this.cwd=t.cwd,this.packageField=t.packageField,this.pluginPrefix=t.pluginPrefix,this.configTransform=t.configTransform,this.defaultConfig=t.defaultConfig,t.rcName&&(e.push(t.rcName,...Object.keys(NE).map((e=>t.rcName+e))),IE("Looking for `%s` configuration files",e)),t.packageField&&(e.push("package.json"),IE("Looking for `%s` fields in `package.json` files",t.packageField)),this.given={settings:t.settings,plugins:t.plugins},this.create=this.create.bind(this),this.findUp=new RE({cwd:t.cwd,filePath:t.rcPath,detect:t.detectConfig,names:e,create:this.create})}load(t,e){this.findUp.load(t||v.resolve(this.cwd,"stdin.js"),((t,i)=>{if(t||i)return e(t,i);this.create(void 0,void 0).then((t=>{e(null,t)}),e)}))}async create(t,e){const i={prefix:this.pluginPrefix,cwd:this.cwd},n={settings:{},plugins:[],filePath:void 0},r=e?v.extname(e):void 0,s=r&&r in NE?NE[r]:LE;let o;return e&&t&&(o=await s.call(this,t,e),this.configTransform&&void 0!==o&&(o=this.configTransform(o,e))),e&&"package.json"===v.basename(e)&&void 0===o&&(e=void 0),void 0===o?this.defaultConfig&&await UE(n,this.defaultConfig,Object.assign({},i,{root:this.cwd})):await UE(n,o,Object.assign({},i,{root:v.dirname(e)})),await UE(n,this.given,Object.assign({},i,{root:this.cwd})),n.filePath=e,n}}async function ME(t,e){return GE(e,this.cwd)}async function zE(t){return Ur.parse(String(t))}async function qE(t,e){const i=Sd(String(t),e);return"package.json"===v.basename(e)?i[this.packageField]:i}async function UE(t,e,i){if("object"!=typeof e||null===e)throw new Error("Expected preset, not `"+e+"`");return await async function(e){const i=e.plugins;if(null==i);else{if("object"!=typeof i||null===i)throw new Error("Expected a list or object of plugins, not `"+i+"`");await(Array.isArray(i)?async function(t){let e=-1;for(;++e{throw OE("Could not find module `%s`\n%s",e,i.stack)}),n)}const o=await GE(s,i.root);try{"function"==typeof o?r(o,n):await UE(t,o,Object.assign({},i,{root:v.dirname(s)}))}catch{throw OE("Error: Expected preset or plugin, not %s, at `%s`",o,v.relative(i.root,s))}}(e,n):"function"==typeof e?r(e,n):await UE(t,e,i)}function r(e,i){const n=function(t,e){let i=-1;for(;++i{if(i)e(i);else if(n){const i=v.relative(v.resolve(this.cwd,"cwd"===this.ignorePathResolveFrom?".":n.filePath),v.resolve(this.cwd,t));""===i||".."===i||i.charAt(0)===v.sep||i.slice(0,3)===".."+v.sep?e(null,!1):e(null,n.ignores(i))}else e(null,!1)}))}}function HE(t,e){return Object.assign(Xe().add(String(t)),{filePath:v.dirname(e)})}const VE="object"==typeof process&&process&&"win32"===process.platform;const KE=YE=(t,e,i={})=>(ux(e),!(!i.nocomment&&"#"===e.charAt(0))&&new px(e,i).match(t));var YE=KE;const JE=VE?{sep:"\\"}:{sep:"/"};KE.sep=JE.sep;const ZE=Symbol("globstar **");KE.GLOBSTAR=ZE;const QE=Rg,XE={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},tx="[^/]",ex=tx+"*?",ix=t=>t.split("").reduce(((t,e)=>(t[e]=!0,t)),{}),nx=ix("().*{}+?[]^$\\!"),rx=ix("[.("),sx=/\/+/;KE.filter=(t,e={})=>(i,n,r)=>KE(i,t,e);const ox=(t,e={})=>{const i={};return Object.keys(t).forEach((e=>i[e]=t[e])),Object.keys(e).forEach((t=>i[t]=e[t])),i};KE.defaults=t=>{if(!t||"object"!=typeof t||!Object.keys(t).length)return KE;const e=KE,i=(i,n,r)=>e(i,n,ox(t,r));return i.Minimatch=class extends e.Minimatch{constructor(e,i){super(e,ox(t,i))}},i.Minimatch.defaults=i=>e.defaults(ox(t,i)).Minimatch,i.filter=(i,n)=>e.filter(i,ox(t,n)),i.defaults=i=>e.defaults(ox(t,i)),i.makeRe=(i,n)=>e.makeRe(i,ox(t,n)),i.braceExpand=(i,n)=>e.braceExpand(i,ox(t,n)),i.match=(i,n,r)=>e.match(i,n,ox(t,r)),i},KE.braceExpand=(t,e)=>ax(t,e);const ax=(t,e={})=>(ux(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:QE(t)),ux=t=>{if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")},lx=Symbol("subparse");KE.makeRe=(t,e)=>new px(t,e||{}).makeRe(),KE.match=(t,e,i={})=>{const n=new px(e,i);return t=t.filter((t=>n.match(t))),n.options.nonull&&!t.length&&t.push(e),t};const cx=t=>t.replace(/\\([^-\]])/g,"$1"),hx=t=>t.replace(/[[\]\\]/g,"\\$&");let px=class{constructor(t,e){ux(t),e||(e={}),this.options=e,this.set=[],this.pattern=t,this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.make()}debug(){}make(){const t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate();let i=this.globSet=this.braceExpand();e.debug&&(this.debug=(...t)=>console.error(...t)),this.debug(this.pattern,i),i=this.globParts=i.map((t=>t.split(sx))),this.debug(this.pattern,i),i=i.map(((t,e,i)=>t.map(this.parse,this))),this.debug(this.pattern,i),i=i.filter((t=>-1===t.indexOf(!1))),this.debug(this.pattern,i),this.set=i}parseNegate(){if(this.options.nonegate)return;const t=this.pattern;let e=!1,i=0;for(let n=0;n>> no match, partial?",t,h,e,p),h!==o))}if("string"==typeof l?(u=c===l,this.debug("string match",l,c,u)):(u=c.match(l),this.debug("pattern match",l,c,u)),!u)return!1}if(r===o&&s===a)return!0;if(r===o)return i;if(s===a)return r===o-1&&""===t[r];throw new Error("wtf?")}braceExpand(){return ax(this.pattern,this.options)}parse(t,e){ux(t);const i=this.options;if("**"===t){if(!i.noglobstar)return ZE;t="*"}if(""===t)return"";let n="",r=!1,s=!1;const o=[],a=[];let u,l,c,h,p=!1,f=-1,d=-1,g="."===t.charAt(0),m=i.dot||g;const y=t=>"."===t.charAt(0)?"":i.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",b=()=>{if(u){switch(u){case"*":n+=ex,r=!0;break;case"?":n+=tx,r=!0;break;default:n+="\\"+u}this.debug("clearStateChar %j %j",u,n),u=!1}};for(let e,h=0;h(i||(i="\\"),e+e+i+"|"))),this.debug("tail=%j\n %s",t,t,c,n);const e="*"===c.type?ex:"?"===c.type?tx:"\\"+c.type;r=!0,n=n.slice(0,c.reStart)+e+"\\("+t}b(),s&&(n+="\\\\");const w=rx[n.charAt(0)];for(let t=a.length-1;t>-1;t--){const i=a[t],r=n.slice(0,i.reStart),s=n.slice(i.reStart,i.reEnd-8);let o=n.slice(i.reEnd);const u=n.slice(i.reEnd-8,i.reEnd)+o,l=r.split(")").length,c=r.split("(").length-l;let h=o;for(let t=0;tt.replace(/\\(.)/g,"$1"))(t);const v=i.nocase?"i":"";try{return Object.assign(new RegExp("^"+n+"$",v),{_glob:t,_src:n})}catch(t){return new RegExp("$.")}}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const t=this.set;if(!t.length)return this.regexp=!1,this.regexp;const e=this.options,i=e.noglobstar?ex:e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=e.nocase?"i":"";let r=t.map((t=>(t=t.map((t=>"string"==typeof t?(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))(t):t===ZE?ZE:t._src)).reduce(((t,e)=>(t[t.length-1]===ZE&&e===ZE||t.push(e),t)),[]),t.forEach(((e,n)=>{e===ZE&&t[n-1]!==ZE&&(0===n?t.length>1?t[n+1]="(?:\\/|"+i+"\\/)?"+t[n+1]:t[n]=i:n===t.length-1?t[n-1]+="(?:\\/|"+i+")?":(t[n-1]+="(?:\\/|\\/"+i+"\\/)"+t[n+1],t[n+1]=ZE))})),t.filter((t=>t!==ZE)).join("/")))).join("|");r="^(?:"+r+")$",this.negate&&(r="^(?!"+r+").*$");try{this.regexp=new RegExp(r,n)}catch(t){this.regexp=!1}return this.regexp}match(t,e=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;const i=this.options;"/"!==JE.sep&&(t=t.split(JE.sep).join("/")),t=t.split(sx),this.debug(this.pattern,"split",t);const n=this.set;let r;this.debug(this.pattern,"set",n);for(let e=t.length-1;e>=0&&(r=t[e],!r);e--);for(let s=0;sthis.maxLength)return!1;if(!this.stat&&u(this.cache,e)){var n=this.cache[e];if(Array.isArray(n)&&(n="DIR"),!i||"DIR"===n)return n;if(i&&"FILE"===n)return!1}var r=this.statCache[e];if(!r){var s;try{s=this.fs.lstatSync(e)}catch(t){if(t&&("ENOENT"===t.code||"ENOTDIR"===t.code))return this.statCache[e]=!1,!1}if(s&&s.isSymbolicLink())try{r=this.fs.statSync(e)}catch(t){r=s}else r=s}return this.statCache[e]=r,n=!0,r&&(n=r.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||n,(!i||"FILE"!==n)&&n},f.prototype._mark=function(t){return s.mark(this,t)},f.prototype._makeAbs=function(t){return s.makeAbs(this,t)},gx}(),h=fx,p=h.setopts,f=h.ownProp,d=_e,g=h.childrenIgnored,m=h.isIgnored,y=Ae;function b(t,e,i){if("function"==typeof e&&(i=e,e={}),e||(e={}),e.sync){if(i)throw new TypeError("callback provided to sync glob");return c(t,e)}return new v(t,e,i)}b.sync=c;var w=b.GlobSync=c.GlobSync;function v(t,e,i){if("function"==typeof e&&(i=e,e=null),e&&e.sync){if(i)throw new TypeError("callback provided to sync glob");return new w(t,e)}if(!(this instanceof v))return new v(t,e,i);p(this,t,e),this._didRealPath=!1;var n=this.minimatch.set.length;this.matches=new Array(n),"function"==typeof i&&(i=y(i),this.on("error",i),this.on("end",(function(t){i(null,t)})));var r=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===n)return a();for(var s=!0,o=0;o1)return!0;for(var r=0;rthis.maxLength)return e();if(!this.stat&&f(this.cache,i)){var r=this.cache[i];if(Array.isArray(r)&&(r="DIR"),!n||"DIR"===r)return e(null,r);if(n&&"FILE"===r)return e()}var s=this.statCache[i];if(void 0!==s){if(!1===s)return e(null,s);var o=s.isDirectory()?"DIR":"FILE";return n&&"FILE"===o?e():e(null,o,s)}var a=this,u=d("stat\0"+i,(function(n,r){if(r&&r.isSymbolicLink())return a.fs.stat(i,(function(n,s){n?a._stat2(t,i,null,r,e):a._stat2(t,i,n,s,e)}));a._stat2(t,i,n,r,e)}));u&&a.fs.lstat(i,u)},v.prototype._stat2=function(t,e,i,n,r){if(i&&("ENOENT"===i.code||"ENOTDIR"===i.code))return this.statCache[e]=!1,r();var s="/"===t.slice(-1);if(this.statCache[e]=n,"/"===e.slice(-1)&&n&&!n.isDirectory())return r(null,!1,n);var o=!0;return n&&(o=n.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||o,s&&"FILE"===o?r():r(null,o,n)},yx}var _x=q(Sx()),jx=q((function(t){return null!=t&&null!=t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}));function Ox(t){return t&&"object"==typeof t?"position"in t||"type"in t?Tx(t.position):"start"in t||"end"in t?Tx(t):"line"in t||"column"in t?Bx(t):"":""}function Bx(t){return Rx(t&&t.line)+":"+Rx(t&&t.column)}function Tx(t){return Bx(t&&t.start)+"-"+Bx(t&&t.end)}function Rx(t){return t&&"number"==typeof t?t:1}class Ix extends Error{constructor(t,e,i){const n=[null,null];let r={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof e&&(i=e,e=void 0),"string"==typeof i){const t=i.indexOf(":");-1===t?n[1]=i:(n[0]=i.slice(0,t),n[1]=i.slice(t+1))}e&&("type"in e||"position"in e?e.position&&(r=e.position):"start"in e||"end"in e?r=e:("line"in e||"column"in e)&&(r.start=e)),this.name=Ox(e)||"1:1",this.message="object"==typeof t?t.message:t,this.stack="","object"==typeof t&&t.stack&&(this.stack=t.stack),this.reason=this.message,this.fatal,this.line=r.start.line,this.column=r.start.column,this.position=r,this.source=n[0],this.ruleId=n[1],this.file,this.actual,this.expected,this.url,this.note}}function $x(t){return null!==t&&"object"==typeof t&&t.href&&t.origin}Ix.prototype.file="",Ix.prototype.name="",Ix.prototype.reason="",Ix.prototype.message="",Ix.prototype.stack="",Ix.prototype.fatal=null,Ix.prototype.column=null,Ix.prototype.line=null,Ix.prototype.source=null,Ix.prototype.ruleId=null,Ix.prototype.position=null;const Nx=["history","path","basename","stem","extname","dirname"];class Lx{constructor(t){let e;e=t?"string"==typeof t||function(t){return jx(t)}(t)?{value:t}:$x(t)?{path:t}:t:{},this.data={},this.messages=[],this.history=[],this.cwd=D.cwd(),this.value,this.stored,this.result,this.map;let i,n=-1;for(;++n{n||(t?(n=!0,u(t)):(s++,r=r.concat(i),s===o&&Gx(r,e,u)))}))):(i=v.relative(e.cwd,v.resolve(e.cwd,i))||".",r.push(i));else{const t=i.path?v.relative(e.cwd,i.path):e.cwd;i.cwd=e.cwd,i.path=t,i.history=[t],r.push(i)}}o||Gx(r,e,u);function u(t,e){t||!e?i(t):i(null,{input:r,output:e})}}(t,e,((t,e)=>{t||!e?i(t):i(null,{oneFileMode:Hx(e),files:e.output})}))}function Gx(e,i,n){const r=Xe().add(i.ignorePatterns);let s=0,o=0,a=-1,u=[];for(;++a{o=e,c(t)})));function c(t){l++,t?(n(t),l=-1):l===u&&n(null,{stats:o,ignored:a||""!==s&&".."!==s&&s.charAt(0)!==v.sep&&s.slice(0,3)!==".."+v.sep&&i.extraIgnore.ignores(s)})}i.ignore.check(r,((t,e)=>{a=e,setImmediate(c,t)}))}(e,Object.assign({},i,{extraIgnore:r}),((n,r)=>{const s=r&&r.ignored,o=r&&r.stats&&r.stats.isDirectory();if(s&&(i.nested||i.silentlyIgnore))return c(null,[]);if(!s&&o)return t.readdir(v.resolve(i.cwd,Wx(e)),((t,n)=>{if(t){const t=qx(Wx(e));t.cwd=i.cwd;try{t.fail("Cannot read directory")}catch{}c(null,[t])}else Gx(n.map((t=>v.join(Wx(e),t))),Object.assign({},i,{nested:!0}),c)}));if(!o&&i.nested&&i.extensions.length>0&&(!a||!i.extensions.includes(a)))return c(null,[]);if((e=qx(e)).cwd=i.cwd,s)try{e.fail("Cannot process specified file: it’s ignored")}catch{}if(n&&"ENOENT"===n.code)try{e.fail("stat"===n.syscall?"No such file or directory":n)}catch{}c(null,[e])})))}s||n(null,u)}function Wx(t){return"string"==typeof t?t:t.path}function Hx(t){return 1===t.output.length&&1===t.input.length&&t.output[0].path===t.input[0]}qx.readSync=function(t,e){const i=qx(t);return i.value=a.readFileSync(o.resolve(i.cwd,i.path),e),i},qx.writeSync=function(t,e){const i=qx(t);return a.writeFileSync(o.resolve(i.cwd,i.path),i.value||"",e),i},qx.read=function(t,e,i){const n=qx(t);if(i||"function"!=typeof e||(i=e,e=null),!i)return new Promise(r);function r(t,i){let r;try{r=o.resolve(n.cwd,n.path)}catch(t){return i(t)}a.readFile(r,e,(function(e,r){e?i(e):(n.value=r,t(n))}))}r((function(t){i(null,t)}),i)},qx.write=function(t,e,i){const n=qx(t);if(i||"function"!=typeof e||(i=e,e=void 0),!i)return new Promise(r);function r(t,i){let r;try{r=o.resolve(n.cwd,n.path)}catch(t){return i(t,null)}a.writeFile(r,n.value||"",e||null,(function(e){e?i(e,null):t(n)}))}r((function(t){i(null,t)}),i)};var Vx,Kx,Yx,Jx,Zx,Qx,Xx={exports:{}};function tA(){return Kx?Vx:(Kx=1,Vx=E)}function eA(){if(Jx)return Yx;function t(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function e(e){for(var n=1;n0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,i=""+e.data;e=e.next;)i+=t+e.data;return i}},{key:"concat",value:function(t){if(0===this.length)return s.alloc(0);for(var e=s.allocUnsafe(t>>>0),i=this.head,n=0;i;)u(i.data,e,n),n+=i.data.length,i=i.next;return e}},{key:"consume",value:function(t,e){var i;return tr.length?r.length:t;if(s===r.length?n+=r:n+=r.slice(0,t),0==(t-=s)){s===r.length?(++i,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=r.slice(s));break}++i}return this.length-=i,n}},{key:"_getBuffer",value:function(t){var e=s.allocUnsafe(t),i=this.head,n=1;for(i.data.copy(e),t-=i.data.length;i=i.next;){var r=i.data,o=t>r.length?r.length:t;if(r.copy(e,e.length-t,0,o),0==(t-=o)){o===r.length?(++n,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=r.slice(o));break}++n}return this.length-=n,e}},{key:a,value:function(t,i){return o(this,e(e({},i),{},{depth:0,customInspect:!1}))}}],r&&n(i.prototype,r),l&&n(i,l),Object.defineProperty(i,"prototype",{writable:!1}),t}(),Yx}function iA(){if(Qx)return Zx;function t(t,n){i(t,n),e(t)}function e(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function i(t,e){t.emit("error",e)}return Qx=1,Zx={destroy:function(n,r){var s=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(r?r(n):n&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(i,this,n)):process.nextTick(i,this,n)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(n||null,(function(i){!r&&i?s._writableState?s._writableState.errorEmitted?process.nextTick(e,s):(s._writableState.errorEmitted=!0,process.nextTick(t,s,i)):process.nextTick(t,s,i):r?(process.nextTick(e,s),r(i)):process.nextTick(e,s)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var i=t._readableState,n=t._writableState;i&&i.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}},Zx}var nA,rA,sA,oA,aA,uA,lA,cA,hA,pA={};function fA(){if(nA)return pA;nA=1;const t={};function e(e,i,n){n||(n=Error);class r extends n{constructor(t,e,n){super(function(t,e,n){return"string"==typeof i?i:i(t,e,n)}(t,e,n))}}r.prototype.name=n.name,r.prototype.code=e,t[e]=r}function i(t,e){if(Array.isArray(t)){const i=t.length;return t=t.map((t=>String(t))),i>2?`one of ${e} ${t.slice(0,i-1).join(", ")}, or `+t[i-1]:2===i?`one of ${e} ${t[0]} or ${t[1]}`:`of ${e} ${t[0]}`}return`of ${e} ${String(t)}`}return e("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),e("ERR_INVALID_ARG_TYPE",(function(t,e,n){let r,s;if("string"==typeof e&&function(t,e,i){return t.substr(!i||i<0?0:+i,e.length)===e}(e,"not ")?(r="must not be",e=e.replace(/^not /,"")):r="must be",function(t,e,i){return(void 0===i||i>t.length)&&(i=t.length),t.substring(i-e.length,i)===e}(t," argument"))s=`The ${t} ${r} ${i(e,"type")}`;else{const n=function(t,e,i){return"number"!=typeof i&&(i=0),!(i+e.length>t.length)&&-1!==t.indexOf(e,i)}(t,".")?"property":"argument";s=`The "${t}" ${n} ${r} ${i(e,"type")}`}return s+=". Received type "+typeof n,s}),TypeError),e("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),e("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),e("ERR_STREAM_PREMATURE_CLOSE","Premature close"),e("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),e("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),e("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),e("ERR_STREAM_WRITE_AFTER_END","write after end"),e("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),e("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),e("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),pA.codes=t,pA}function dA(){if(sA)return rA;sA=1;var t=fA().codes.ERR_INVALID_OPT_VALUE;return rA={getHighWaterMark:function(e,i,n,r){var s=function(t,e,i){return null!=t.highWaterMark?t.highWaterMark:e?t[i]:null}(i,r,n);if(null!=s){if(!isFinite(s)||Math.floor(s)!==s||s<0)throw new t(r?n:"highWaterMark",s);return Math.floor(s)}return e.objectMode?16:16384}},rA}function gA(){if(lA)return uA;function t(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,i){var n=t.entry;t.entry=null;for(;n;){var r=n.callback;e.pendingcb--,r(i),n=n.next}e.corkedRequestsFree.next=t}(e,t)}}var e;lA=1,uA=k,k.WritableState=D;var i={deprecate:aA?oA:(aA=1,oA=c.deprecate)},n=tA(),r=F.Buffer,s=(void 0!==z?z:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var o,a=iA(),u=dA().getHighWaterMark,l=fA().codes,h=l.ERR_INVALID_ARG_TYPE,p=l.ERR_METHOD_NOT_IMPLEMENTED,f=l.ERR_MULTIPLE_CALLBACK,d=l.ERR_STREAM_CANNOT_PIPE,g=l.ERR_STREAM_DESTROYED,m=l.ERR_STREAM_NULL_VALUES,y=l.ERR_STREAM_WRITE_AFTER_END,b=l.ERR_UNKNOWN_ENCODING,w=a.errorOrDestroy;function v(){}function D(i,n,r){e=e||mA(),i=i||{},"boolean"!=typeof r&&(r=n instanceof e),this.objectMode=!!i.objectMode,r&&(this.objectMode=this.objectMode||!!i.writableObjectMode),this.highWaterMark=u(this,i,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===i.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=i.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var i=t._writableState,n=i.sync,r=i.writecb;if("function"!=typeof r)throw new f;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(i),e)!function(t,e,i,n,r){--e.pendingcb,i?(process.nextTick(r,n),process.nextTick(_,t,e),t._writableState.errorEmitted=!0,w(t,n)):(r(n),t._writableState.errorEmitted=!0,w(t,n),_(t,e))}(t,i,n,e,r);else{var s=C(i)||t.destroyed;s||i.corked||i.bufferProcessing||!i.bufferedRequest||A(t,i),n?process.nextTick(x,t,i,s,r):x(t,i,s,r)}}(n,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==i.emitClose,this.autoDestroy=!!i.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function k(t){var i=this instanceof(e=e||mA());if(!i&&!o.call(k,this))return new k(t);this._writableState=new D(t,this,i),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),n.call(this)}function E(t,e,i,n,r,s,o){e.writelen=n,e.writecb=o,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new g("write")):i?t._writev(r,e.onwrite):t._write(r,s,e.onwrite),e.sync=!1}function x(t,e,i,n){i||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),_(t,e)}function A(e,i){i.bufferProcessing=!0;var n=i.bufferedRequest;if(e._writev&&n&&n.next){var r=i.bufferedRequestCount,s=new Array(r),o=i.corkedRequestsFree;o.entry=n;for(var a=0,u=!0;n;)s[a]=n,n.isBuf||(u=!1),n=n.next,a+=1;s.allBuffers=u,E(e,i,!0,i.length,s,"",o.finish),i.pendingcb++,i.lastBufferedRequest=null,o.next?(i.corkedRequestsFree=o.next,o.next=null):i.corkedRequestsFree=new t(i),i.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,h=n.callback;if(E(e,i,!1,i.objectMode?1:l.length,l,c,h),n=n.next,i.bufferedRequestCount--,i.writing)break}null===n&&(i.lastBufferedRequest=null)}i.bufferedRequest=n,i.bufferProcessing=!1}function C(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function S(t,e){t._final((function(i){e.pendingcb--,i&&w(t,i),e.prefinished=!0,t.emit("prefinish"),_(t,e)}))}function _(t,e){var i=C(e);if(i&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,process.nextTick(S,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var n=t._readableState;(!n||n.autoDestroy&&n.endEmitted)&&t.destroy()}return i}return ee(k,n),D.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(D.prototype,"buffer",{get:i.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(o=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(t){return!!o.call(this,t)||this===k&&(t&&t._writableState instanceof D)}})):o=function(t){return t instanceof this},k.prototype.pipe=function(){w(this,new d)},k.prototype.write=function(t,e,i){var n,o=this._writableState,a=!1,u=!o.objectMode&&(n=t,r.isBuffer(n)||n instanceof s);return u&&!r.isBuffer(t)&&(t=function(t){return r.from(t)}(t)),"function"==typeof e&&(i=e,e=null),u?e="buffer":e||(e=o.defaultEncoding),"function"!=typeof i&&(i=v),o.ending?function(t,e){var i=new y;w(t,i),process.nextTick(e,i)}(this,i):(u||function(t,e,i,n){var r;return null===i?r=new m:"string"==typeof i||e.objectMode||(r=new h("chunk",["string","Buffer"],i)),!r||(w(t,r),process.nextTick(n,r),!1)}(this,o,t,i))&&(o.pendingcb++,a=function(t,e,i,n,s,o){if(!i){var a=function(t,e,i){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=r.from(e,i));return e}(e,n,s);n!==a&&(i=!0,s="buffer",n=a)}var u=e.objectMode?1:n.length;e.length+=u;var l=e.length-1))throw new b(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),k.prototype._write=function(t,e,i){i(new p("_write()"))},k.prototype._writev=null,k.prototype.end=function(t,e,i){var n=this._writableState;return"function"==typeof t?(i=t,t=null,e=null):"function"==typeof e&&(i=e,e=null),null!=t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||function(t,e,i){e.ending=!0,_(t,e),i&&(e.finished?process.nextTick(i):t.once("finish",i));e.ended=!0,t.writable=!1}(this,n,i),this},Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),k.prototype.destroy=a.destroy,k.prototype._undestroy=a.undestroy,k.prototype._destroy=function(t,e){e(t)},uA}function mA(){if(hA)return cA;hA=1;var t=Object.keys||function(t){var e=[];for(var i in t)e.push(i);return e};cA=o;var e=PA(),i=gA();ee(o,e);for(var n=t(i.prototype),r=0;r>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function r(t){var e=this.lastTotal-this.lastNeed,i=function(t,e,i){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==i?i:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function s(t,e){if((t.length-e)%2==0){var i=t.toString("utf16le",e);if(i){var n=i.charCodeAt(i.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],i.slice(0,-1)}return i}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function o(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var i=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,i)}return e}function a(t,e){var i=(t.length-e)%3;return 0===i?t.toString("base64",e):(this.lastNeed=3-i,this.lastTotal=3,1===i?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-i))}function u(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function l(t){return t.toString(this.encoding)}function c(t){return t&&t.length?this.write(t):""}return yA.StringDecoder=i,i.prototype.write=function(t){if(0===t.length)return"";var e,i;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i=0)return s>0&&(t.lastNeed=s-1),s;if(--r=0)return s>0&&(t.lastNeed=s-2),s;if(--r=0)return s>0&&(2===s?s=0:t.lastNeed=s-3),s;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=i;var r=t.length-(i-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",e,r)},i.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length},yA}function $A(){if(DA)return vA;DA=1;var t=fA().codes.ERR_STREAM_PREMATURE_CLOSE;function e(){}return vA=function i(n,r,s){if("function"==typeof r)return i(n,null,r);r||(r={}),s=function(t){var e=!1;return function(){if(!e){e=!0;for(var i=arguments.length,n=new Array(i),r=0;r0)if("string"==typeof e||l.objectMode||Object.getPrototypeOf(e)===n.prototype||(e=function(t){return n.from(t)}(e)),o)l.endEmitted?v(t,new w):A(t,l,e,!0);else if(l.ended)v(t,new y);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!i?(e=l.decoder.write(e),l.objectMode||0!==e.length?A(t,l,e,!1):O(t,l)):A(t,l,e,!1)}else o||(l.reading=!1,O(t,l));return!l.ended&&(l.lengthe.highWaterMark&&(e.highWaterMark=function(t){return t>=C?t=C:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function _(t){var e=t._readableState;s("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(s("emitReadable",e.flowing),e.emittedReadable=!0,process.nextTick(j,t))}function j(t){var e=t._readableState;s("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,$(t)}function O(t,e){e.readingMore||(e.readingMore=!0,process.nextTick(B,t,e))}function B(t,e){for(;!e.reading&&!e.ended&&(e.length0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function R(t){s("readable nexttick read 0"),t.read(0)}function I(t,e){s("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),$(t),e.flowing&&!e.reading&&t.read(0)}function $(t){var e=t._readableState;for(s("flow",e.flowing);e.flowing&&null!==t.read(););}function N(t,e){return 0===e.length?null:(e.objectMode?i=e.buffer.shift():!t||t>=e.length?(i=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):i=e.buffer.consume(t,e.decoder),i);var i}function L(t){var e=t._readableState;s("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,process.nextTick(P,e,t))}function P(t,e){if(s("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var i=e._writableState;(!i||i.autoDestroy&&i.finished)&&e.destroy()}}function M(t,e){for(var i=0,n=t.length;i=e.highWaterMark:e.length>0)||e.ended))return s("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?L(this):_(this),null;if(0===(t=S(t,e))&&e.ended)return 0===e.length&&L(this),null;var n,r=e.needReadable;return s("need readable",r),(0===e.length||e.length-t0?N(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),i!==t&&e.ended&&L(this)),null!==n&&this.emit("data",n),n},E.prototype._read=function(t){v(this,new b("_read()"))},E.prototype.pipe=function(t,i){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=t;break;case 1:r.pipes=[r.pipes,t];break;default:r.pipes.push(t)}r.pipesCount+=1,s("pipe count=%d opts=%j",r.pipesCount,i);var o=(!i||!1!==i.end)&&t!==process.stdout&&t!==process.stderr?u:g;function a(e,i){s("onunpipe"),e===n&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,s("cleanup"),t.removeListener("close",f),t.removeListener("finish",d),t.removeListener("drain",l),t.removeListener("error",p),t.removeListener("unpipe",a),n.removeListener("end",u),n.removeListener("end",g),n.removeListener("data",h),c=!0,!r.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}function u(){s("onend"),t.end()}r.endEmitted?process.nextTick(o):n.once("end",o),t.on("unpipe",a);var l=function(t){return function(){var i=t._readableState;s("pipeOnDrain",i.awaitDrain),i.awaitDrain&&i.awaitDrain--,0===i.awaitDrain&&e(t,"data")&&(i.flowing=!0,$(t))}}(n);t.on("drain",l);var c=!1;function h(e){s("ondata");var i=t.write(e);s("dest.write",i),!1===i&&((1===r.pipesCount&&r.pipes===t||r.pipesCount>1&&-1!==M(r.pipes,t))&&!c&&(s("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function p(i){s("onerror",i),g(),t.removeListener("error",p),0===e(t,"error")&&v(t,i)}function f(){t.removeListener("finish",d),g()}function d(){s("onfinish"),t.removeListener("close",f),g()}function g(){s("unpipe"),n.unpipe(t)}return n.on("data",h),function(t,e,i){if("function"==typeof t.prependListener)return t.prependListener(e,i);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(i):t._events[e]=[i,t._events[e]]:t.on(e,i)}(t,"error",p),t.once("close",f),t.once("finish",d),t.emit("pipe",n),r.flowing||(s("pipe resume"),n.resume()),t},E.prototype.unpipe=function(t){var e=this._readableState,i={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,i)),this;if(!t){var n=e.pipes,r=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var s=0;s0,!1!==r.flowing&&this.resume()):"readable"===t&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,s("on readable",r.length,r.reading),r.length?_(this):r.reading||process.nextTick(R,this))),n},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(t,e){var n=i.prototype.removeListener.call(this,t,e);return"readable"===t&&process.nextTick(T,this),n},E.prototype.removeAllListeners=function(t){var e=i.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||process.nextTick(T,this),e},E.prototype.resume=function(){var t=this._readableState;return t.flowing||(s("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,process.nextTick(I,t,e))}(this,t)),t.paused=!1,this},E.prototype.pause=function(){return s("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(s("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(t){var e=this,i=this._readableState,n=!1;for(var r in t.on("end",(function(){if(s("wrapped end"),i.decoder&&!i.ended){var t=i.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(r){(s("wrapped data"),i.decoder&&(r=i.decoder.write(r)),i.objectMode&&null==r)||(i.objectMode||r&&r.length)&&(e.push(r)||(n=!0,t.pause()))})),t)void 0===this[r]&&"function"==typeof t[r]&&(this[r]=function(e){return function(){return t[e].apply(t,arguments)}}(r));for(var o=0;o0,(function(t){l||(l=t),t&&h.forEach(s),r||(h.forEach(s),c(l))}))}));return a.reduce(o)},BA}!function(t,e){var i=E;"disable"===process.env.READABLE_STREAM&&i?(t.exports=i.Readable,Object.assign(t.exports,i),t.exports.Stream=i):((e=t.exports=PA()).Stream=i||e,e.Readable=e,e.Writable=gA(),e.Duplex=mA(),e.Transform=MA(),e.PassThrough=function(){if(OA)return jA;OA=1,jA=e;var t=MA();function e(i){if(!(this instanceof e))return new e(i);t.call(this,i)}return ee(e,t),e.prototype._transform=function(t,e,i){i(null,t)},jA}(),e.finished=$A(),e.pipeline=zA())}(Xx,Xx.exports);var qA=Xx.exports,UA=Object.prototype.toString,GA="undefined"!=typeof Buffer&&"function"==typeof Buffer.alloc&&"function"==typeof Buffer.allocUnsafe&&"function"==typeof Buffer.from;var WA,HA=function(t,e,i){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return n=t,"ArrayBuffer"===UA.call(n).slice(8,-1)?function(t,e,i){e>>>=0;var n=t.byteLength-e;if(n<0)throw new RangeError("'offset' is out of bounds");if(void 0===i)i=n;else if((i>>>=0)>n)throw new RangeError("'length' is out of bounds");return GA?Buffer.from(t.slice(e,e+i)):new Buffer(new Uint8Array(t.slice(e,e+i)))}(t,e,i):"string"==typeof t?function(t,e){if("string"==typeof e&&""!==e||(e="utf8"),!Buffer.isEncoding(e))throw new TypeError('"encoding" must be a valid string encoding');return GA?Buffer.from(t,e):new Buffer(t,e)}(t,e):GA?Buffer.from(t):new Buffer(t);var n},VA={};var KA=qA.Writable,YA=ee,JA=HA;if("undefined"==typeof Uint8Array)var ZA=(WA||(WA=1,function(t){var e,i,n,r=void 0,s=(e=Object.prototype.toString,i=Object.prototype.hasOwnProperty,{Class:function(t){return e.call(t).replace(/^\[object *|\]$/g,"")},HasProperty:function(t,e){return e in t},HasOwnProperty:function(t,e){return i.call(t,e)},IsCallable:function(t){return"function"==typeof t},ToInt32:function(t){return 0|t},ToUint32:function(t){return t>>>0}}),o=Math.LN2,a=Math.abs,u=Math.floor,l=Math.log,c=Math.min,h=Math.pow,p=Math.round;function f(t){if(d&&n){var e,i=d(t);for(e=0;e>i}function m(t,e){var i=32-e;return t<>>i}function y(t){return[255&t]}function b(t){return g(t[0],8)}function w(t){return[255&t]}function v(t){return m(t[0],8)}function D(t){return[(t=p(Number(t)))<0?0:t>255?255:255&t]}function k(t){return[t>>8&255,255&t]}function E(t){return g(t[0]<<8|t[1],16)}function x(t){return[t>>8&255,255&t]}function A(t){return m(t[0]<<8|t[1],16)}function F(t){return[t>>24&255,t>>16&255,t>>8&255,255&t]}function C(t){return g(t[0]<<24|t[1]<<16|t[2]<<8|t[3],32)}function S(t){return[t>>24&255,t>>16&255,t>>8&255,255&t]}function _(t){return m(t[0]<<24|t[1]<<16|t[2]<<8|t[3],32)}function j(t,e,i){var n,r,s,p,f,d,g,m=(1<.5||e%2?e+1:e}for(t!=t?(r=(1<=h(2,1-m)?(r=c(u(l(t)/o),1023),(s=y(t/h(2,r)*h(2,i)))/h(2,i)>=2&&(r+=1,s=1),r>m?(r=(1<>=1;return p.reverse(),o=p.join(""),a=(1<0?u*h(2,l-a)*(1+c/h(2,i)):0!==c?u*h(2,-(a-1))*(c/h(2,i)):u<0?-0:0}function B(t){return O(t,11,52)}function T(t){return j(t,11,52)}function R(t){return O(t,8,23)}function I(t){return j(t,8,23)}!function(){var e=function(t){if((t=s.ToInt32(t))<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");var e;for(this.byteLength=t,this._bytes=[],this._bytes.length=t,e=0;ethis.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=s.ToUint32(r),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 for(a=arguments[0],this.length=s.ToUint32(a.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new e(this.byteLength),this.byteOffset=0,l=0;l1e5)throw new RangeError("Array too large for polyfill");var e;for(e=0;e=this.length)return r;var e,i,n=[];for(e=0,i=this.byteOffset+t*this.BYTES_PER_ELEMENT;e=this.length)return r;var i,n,o=this._pack(e);for(i=0,n=this.byteOffset+t*this.BYTES_PER_ELEMENT;ithis.length)throw new RangeError("Offset plus length of array is out of range");if(c=this.byteOffset+r*this.BYTES_PER_ELEMENT,h=i.length*this.BYTES_PER_ELEMENT,i.buffer===this.buffer){for(p=[],a=0,u=i.byteOffset;athis.length)throw new RangeError("Offset plus length of array is out of range");for(a=0;ai?i:t}t=s.ToInt32(t),e=s.ToInt32(e),arguments.length<1&&(t=0),arguments.length<2&&(e=this.length),t<0&&(t=this.length+t),e<0&&(e=this.length+e),t=i(t,0,this.length);var n=(e=i(e,0,this.length))-t;return n<0&&(n=0),new this.constructor(this.buffer,this.byteOffset+t*this.BYTES_PER_ELEMENT,n)},u}var a=o(1,y,b),u=o(1,w,v),l=o(1,D,v),c=o(2,k,E),h=o(2,x,A),p=o(4,F,C),d=o(4,S,_),g=o(4,I,R),m=o(8,T,B);t.Int8Array=t.Int8Array||a,t.Uint8Array=t.Uint8Array||u,t.Uint8ClampedArray=t.Uint8ClampedArray||l,t.Int16Array=t.Int16Array||c,t.Uint16Array=t.Uint16Array||h,t.Int32Array=t.Int32Array||p,t.Uint32Array=t.Uint32Array||d,t.Float32Array=t.Float32Array||g,t.Float64Array=t.Float64Array||m}(),function(){function e(t,e){return s.IsCallable(t.get)?t.get(e):t[e]}var i,n=(i=new t.Uint16Array([4660]),18===e(new t.Uint8Array(i.buffer),0)),r=function(e,i,n){if(0===arguments.length)e=new t.ArrayBuffer(0);else if(!(e instanceof t.ArrayBuffer||"ArrayBuffer"===s.Class(e)))throw new TypeError("TypeError");if(this.buffer=e||new t.ArrayBuffer(0),this.byteOffset=s.ToUint32(i),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=arguments.length<3?this.buffer.byteLength-this.byteOffset:s.ToUint32(n),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");f(this)};function o(i){return function(r,o){if((r=s.ToUint32(r))+i.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");r+=this.byteOffset;var a,u=new t.Uint8Array(this.buffer,r,i.BYTES_PER_ELEMENT),l=[];for(a=0;athis.byteLength)throw new RangeError("Array index out of range");var u,l=new i([o]),c=new t.Uint8Array(l.buffer),h=[];for(u=0;u{this.actual++,this.actual>=this.expected&&this.emit("done")}))}valueOf(){return this.files}use(t){const e=this.pipeline;let i=!1;return t&&t.pluginId&&(i=this.plugins.some((e=>e.pluginId===t.pluginId))),!i&&this.plugins.includes(t)&&(i=!0),i||(this.plugins.push(t),e.use(t)),this}add(t){return"string"==typeof t&&(t=qx(t)),this.origins.includes(t.history[0])||(this.origins.push(t.history[0]),this.valueOf().push(t),this.expected++,setImmediate((()=>{this.emit("add",t)}))),this}}const rF=Vd("unified-engine:file-pipeline:read");var sF=Object.prototype.hasOwnProperty,oF=Object.prototype.toString;var aF=q((function(t){if(null==t)return!0;if("boolean"==typeof t)return!1;if("number"==typeof t)return 0===t;if("string"==typeof t)return 0===t.length;if("function"==typeof t)return 0===t.length;if(Array.isArray(t))return 0===t.length;if(t instanceof Error)return""===t.message;if(t.toString==oF)switch(t.toString()){case"[object File]":case"[object Map]":case"[object Set]":return 0===t.size;case"[object Object]":for(var e in t)if(sF.call(t,e))return!1;return!0}return!1}));const uF=Vd("unified-engine:file-pipeline:configure");const lF=Vd("unified-engine:file-pipeline:parse");const cF=Vd("unified-engine:file-pipeline:transform");const hF=Vd("unified-engine:file-pipeline:queue"),pF={}.hasOwnProperty;const fF={}.hasOwnProperty,dF=CF(1,22),gF=CF(2,22),mF=CF(33,39),yF=CF(32,39),bF=/(?:(?:\u001B\[)|\u009B)(?:\d{1,3})?(?:(?:;\d{0,3})*)?[A-M|f-m]|\u001B[A-M]/g;function wF(t,e){return vF(t,e).replace(bF,"")}function vF(t,e){return DF(t,{showPositions:!e||null===e.showPositions||void 0===e.showPositions||e.showPositions})}function DF(t,e){return _F(t)?EF(t,e):SF(t)?xF(t,e):kF(t)}function kF(t){return JSON.stringify(t)}function EF(t,e){const i=String(t.length-1).length,n=[];let r=-1;for(;++r0?gF("│"):" ")+" ")}(n,e),s=_F(n.children)?EF(n.children,e):"";return r&&i.push(r),s&&i.push(s),i.join("\n")}function AF(t,e){const i=[dF(t.type)],n=t,r=n.tagName||n.name,s=e.showPositions?function(t){const e=[],i=[],n=[];t&&"object"==typeof t&&(r("start"in t?t.start:void 0),r("end"in t?t.end:void 0));i.length>0&&e.push(i.join("-"));n.length>0&&e.push(n.join("-"));return e.join(", ");function r(t){if(t&&"object"==typeof t){const e="line"in t&&"number"==typeof t.line?t.line:1,r="column"in t&&"number"==typeof t.column?t.column:1;i.push(e+":"+r),"offset"in t&&"number"==typeof t.offset&&n.push(String(t.offset||0))}}}(t.position):"";return"string"==typeof r&&i.push("<",r,">"),_F(n.children)?i.push(gF("["),mF(String(n.children.length)),gF("]")):"string"==typeof n.value&&i.push(" ",yF(kF(n.value))),s&&i.push(" ",gF("("),s,gF(")")),i.join("")}function FF(t,e,i){if(!t)return t;const n=t.split("\n");let r=i?0:-1;for(;++r{let s=-1;if(!r)return i(n);if(!r.filePath&&t.settings.ignoreUnconfigured)uF("Ignoring file w/o corresponding config file"),e.data.unifiedEngineIgnored=!0;else{const e=r.plugins||[];for(uF("Using settings `%j`",r.settings),t.processor.data("settings",r.settings),uF("Using `%d` plugins",e.length);++s{rF("Read `%s` (error: %s)",r,t),i.value=e||"",n(t)})))})).use((function(t,e){if(!Mr(e).fatal&&!e.data.unifiedEngineIgnored){if(t.settings.treeIn){lF("Not parsing already parsed document");try{t.tree=Sd(e.toString())}catch(t){const i=t;e.message(new Error("Cannot read file as JSON\n"+i.message)).fatal=!0}return e.path&&(e.extname=t.settings.extensions[0]),void(e.value="")}lF("Parsing `%s`",e.path),t.tree=t.processor.parse(e),lF("Parsed document")}})).use((function(t,e,i){Mr(e).fatal||e.data.unifiedEngineIgnored?i():(cF("Transforming document `%s`",e.path),t.processor.run(t.tree,e,((e,n)=>{cF("Transformed document (error: %s)",e),t.tree=n,i(e)})))})))).use(IF(zr().use((function(t,e,i){let n=e.history[0],r=t.fileSet.complete,s=!0;r||(r={},t.fileSet.complete=r),hF("Queueing `%s`",n),r[n]=i;const o=t.fileSet.valueOf();let a=-1;for(;++a1)return n(new Error("Cannot write multiple files to single output: "+o));i[t?"dirname":"path"]=v.relative(i.cwd,o),OF("Copying document from %s to %s",s,i.path),n()}OF("Copying `%s`",s),t.stat(o,((e,i)=>{if(e){if("ENOENT"!==e.code||r.charAt(r.length-1)===v.sep)return n(new Error("Cannot read output directory. Error:\n"+e.message));t.stat(v.dirname(o),(t=>{t?n(new Error("Cannot read parent directory. Error:\n"+t.message)):a(!1)}))}else a(i.isDirectory())}))})).use((function(t,e,i){e.data.unifiedEngineGiven?Mr(e).fatal||e.data.unifiedEngineIgnored||t.settings.output||!t.settings.out?(BF("Ignoring writing to `streamOut`"),i()):(BF("Writing document to `streamOut`"),t.settings.streamOut.write(e.toString(),i)):(BF("Ignoring programmatically added file"),i())})).use((function(e,i,n){if(!e.settings.output)return TF("Ignoring writing to file-system"),n();if(!i.data.unifiedEngineGiven||i.data.unifiedEngineIgnored)return TF("Ignoring programmatically added or ignored file"),n();let r=i.path;return r?Mr(i).fatal?(TF("Cannot write file with a fatal error"),n()):(r=v.resolve(e.settings.cwd,r),TF("Writing document to `%s`",r),i.stored=!0,void t.writeFile(r,i.toString(),n)):(TF("Cannot write file without a `destinationPath`"),n(new Error("Cannot write file without an output path")))}))));function IF(t){return function(e,i,n){t.run(e,i,(t=>{const e=i.messages;if(t){const n=e.indexOf(t);-1===n?Object.assign(i.message(t),{fatal:!0}):e[n].fatal=!0}n()}))}}const $F=function({onlyFirst:t=!1}={}){const e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(e,t?void 0:"g")}();var NF={exports:{}};!function(t){var e={};function i(t){return t.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}NF.exports=e,e.eastAsianWidth=function(t){var e=t.charCodeAt(0),i=2==t.length?t.charCodeAt(1):0,n=e;return 55296<=e&&e<=56319&&56320<=i&&i<=57343&&(n=(e&=1023)<<10|(i&=1023),n+=65536),12288==n||65281<=n&&n<=65376||65504<=n&&n<=65510?"F":8361==n||65377<=n&&n<=65470||65474<=n&&n<=65479||65482<=n&&n<=65487||65490<=n&&n<=65495||65498<=n&&n<=65500||65512<=n&&n<=65518?"H":4352<=n&&n<=4447||4515<=n&&n<=4519||4602<=n&&n<=4607||9001<=n&&n<=9002||11904<=n&&n<=11929||11931<=n&&n<=12019||12032<=n&&n<=12245||12272<=n&&n<=12283||12289<=n&&n<=12350||12353<=n&&n<=12438||12441<=n&&n<=12543||12549<=n&&n<=12589||12593<=n&&n<=12686||12688<=n&&n<=12730||12736<=n&&n<=12771||12784<=n&&n<=12830||12832<=n&&n<=12871||12880<=n&&n<=13054||13056<=n&&n<=19903||19968<=n&&n<=42124||42128<=n&&n<=42182||43360<=n&&n<=43388||44032<=n&&n<=55203||55216<=n&&n<=55238||55243<=n&&n<=55291||63744<=n&&n<=64255||65040<=n&&n<=65049||65072<=n&&n<=65106||65108<=n&&n<=65126||65128<=n&&n<=65131||110592<=n&&n<=110593||127488<=n&&n<=127490||127504<=n&&n<=127546||127552<=n&&n<=127560||127568<=n&&n<=127569||131072<=n&&n<=194367||177984<=n&&n<=196605||196608<=n&&n<=262141?"W":32<=n&&n<=126||162<=n&&n<=163||165<=n&&n<=166||172==n||175==n||10214<=n&&n<=10221||10629<=n&&n<=10630?"Na":161==n||164==n||167<=n&&n<=168||170==n||173<=n&&n<=174||176<=n&&n<=180||182<=n&&n<=186||188<=n&&n<=191||198==n||208==n||215<=n&&n<=216||222<=n&&n<=225||230==n||232<=n&&n<=234||236<=n&&n<=237||240==n||242<=n&&n<=243||247<=n&&n<=250||252==n||254==n||257==n||273==n||275==n||283==n||294<=n&&n<=295||299==n||305<=n&&n<=307||312==n||319<=n&&n<=322||324==n||328<=n&&n<=331||333==n||338<=n&&n<=339||358<=n&&n<=359||363==n||462==n||464==n||466==n||468==n||470==n||472==n||474==n||476==n||593==n||609==n||708==n||711==n||713<=n&&n<=715||717==n||720==n||728<=n&&n<=731||733==n||735==n||768<=n&&n<=879||913<=n&&n<=929||931<=n&&n<=937||945<=n&&n<=961||963<=n&&n<=969||1025==n||1040<=n&&n<=1103||1105==n||8208==n||8211<=n&&n<=8214||8216<=n&&n<=8217||8220<=n&&n<=8221||8224<=n&&n<=8226||8228<=n&&n<=8231||8240==n||8242<=n&&n<=8243||8245==n||8251==n||8254==n||8308==n||8319==n||8321<=n&&n<=8324||8364==n||8451==n||8453==n||8457==n||8467==n||8470==n||8481<=n&&n<=8482||8486==n||8491==n||8531<=n&&n<=8532||8539<=n&&n<=8542||8544<=n&&n<=8555||8560<=n&&n<=8569||8585==n||8592<=n&&n<=8601||8632<=n&&n<=8633||8658==n||8660==n||8679==n||8704==n||8706<=n&&n<=8707||8711<=n&&n<=8712||8715==n||8719==n||8721==n||8725==n||8730==n||8733<=n&&n<=8736||8739==n||8741==n||8743<=n&&n<=8748||8750==n||8756<=n&&n<=8759||8764<=n&&n<=8765||8776==n||8780==n||8786==n||8800<=n&&n<=8801||8804<=n&&n<=8807||8810<=n&&n<=8811||8814<=n&&n<=8815||8834<=n&&n<=8835||8838<=n&&n<=8839||8853==n||8857==n||8869==n||8895==n||8978==n||9312<=n&&n<=9449||9451<=n&&n<=9547||9552<=n&&n<=9587||9600<=n&&n<=9615||9618<=n&&n<=9621||9632<=n&&n<=9633||9635<=n&&n<=9641||9650<=n&&n<=9651||9654<=n&&n<=9655||9660<=n&&n<=9661||9664<=n&&n<=9665||9670<=n&&n<=9672||9675==n||9678<=n&&n<=9681||9698<=n&&n<=9701||9711==n||9733<=n&&n<=9734||9737==n||9742<=n&&n<=9743||9748<=n&&n<=9749||9756==n||9758==n||9792==n||9794==n||9824<=n&&n<=9825||9827<=n&&n<=9829||9831<=n&&n<=9834||9836<=n&&n<=9837||9839==n||9886<=n&&n<=9887||9918<=n&&n<=9919||9924<=n&&n<=9933||9935<=n&&n<=9953||9955==n||9960<=n&&n<=9983||10045==n||10071==n||10102<=n&&n<=10111||11093<=n&&n<=11097||12872<=n&&n<=12879||57344<=n&&n<=63743||65024<=n&&n<=65039||65533==n||127232<=n&&n<=127242||127248<=n&&n<=127277||127280<=n&&n<=127337||127344<=n&&n<=127386||917760<=n&&n<=917999||983040<=n&&n<=1048573||1048576<=n&&n<=1114109?"A":"N"},e.characterLength=function(t){var e=this.eastAsianWidth(t);return"F"==e||"W"==e||"A"==e?2:1},e.length=function(t){for(var e=i(t),n=0,r=0;r=n-(2==c?1:0)){if(!(o+c<=r))break;s+=l}o+=c}return s}}();var LF=q(NF.exports),PF=q((function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}));function MF(t,e={}){if("string"!=typeof t||0===t.length)return 0;if(e={ambiguousIsNarrow:!0,...e},0===(t=function(t){if("string"!=typeof t)throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);return t.replace($F,"")}(t)).length)return 0;t=t.replace(PF()," ");const i=e.ambiguousIsNarrow?1:2;let n=0;for(const e of t){const t=e.codePointAt(0);if(t<=31||t>=127&&t<=159)continue;if(t>=768&&t<=879)continue;switch(LF.eastAsianWidth(e)){case"F":case"W":n+=2;break;case"A":n+=i;break;default:n+=1}}return n}const zF={true:2,false:1,null:0,undefined:0};function qF(t,e){return UF(t,e,"line")||UF(t,e,"column")||zF[String(e.fatal)]-zF[String(t.fatal)]||GF(t,e,"source")||GF(t,e,"ruleId")||GF(t,e,"reason")||0}function UF(t,e,i){return(t[i]||0)-(e[i]||0)}function GF(t,e,i){return String(t[i]||"").localeCompare(e[i]||"")}const WF=Gd.stderr.hasBasic,HF=m.platform,VF={}.hasOwnProperty,KF="win32"===HF?{error:"×",warning:"‼"}:{error:"✖",warning:"⚠"},YF={true:"error",false:"warning",null:"info",undefined:"info"};function JF(t,e){if(!t)return"";if("name"in t&&"message"in t)return String(t.stack||t);const i=e||{};return Array.isArray(t)?QF(ZF(t,i),!1,i):QF(ZF([t],i),!0,i)}function ZF(t,e){const i=[],n=[],r={place:0,label:0,reason:0,ruleId:0,source:0};let s=-1;for(;++s0)&&i.push({type:"file",file:t[s],stats:Mr(a)},...u)}var o;return{rows:i,stats:Mr(n),sizes:r}}function QF(t,e,i){const n=void 0===i.color||null===i.color?WF:i.color,r=[];let s=-1;for(;++s";u=!e||i.defaultName||o.file.history[0]?(n?""+(a.fatal?"":a.total?"":"")+u+"":u)+(o.file.stored&&o.file.path!==o.file.history[0]?" > "+o.file.path:""):"",a.total||(u=(u?u+": ":"")+(o.file.stored?n?"written":"written":"no issues found")),u&&(s&&!("type"in t.rows[s-1])&&r.push(""),r.push(u))}else{let e=o.reason;const i=/\r?\n|\r/.exec(e);let s;i?(s=e.slice(i.index),e=e.slice(0,i.index)):s="",r.push((" "+" ".repeat(t.sizes.place-XF(o.place))+o.place+" "+(n?("error"===o.label?"":"")+o.label+"":o.label)+" ".repeat(t.sizes.label-XF(o.label))+" "+e+" ".repeat(t.sizes.reason-XF(e))+" "+o.ruleId+" ".repeat(t.sizes.ruleId-XF(o.ruleId))+" "+(o.source||"")).replace(/ +$/,"")+s)}}const o=t.stats;if(o.fatal||o.warn){let t="";o.fatal&&(t=(n?""+KF.error+"":KF.error)+" "+o.fatal+" "+YF.true+(1===o.fatal?"":"s")),o.warn&&(t=(t?t+", ":"")+(n?""+KF.warning+"":KF.warning)+" "+o.warn+" "+YF.false+(1===o.warn?"":"s")),o.total!==o.fatal&&o.total!==o.warn&&(t=o.total+" messages ("+t+")"),r.push("",t)}return r.join("\n")}function XF(t){const e=/\r?\n|\r/.exec(t);return MF(e?t.slice(0,e.index):t)}const tC=zr().use((function(t,e){t.configuration=new PE(e)})).use((function(t,e,i){function n(t,e){return t.path{if(!s)return void i(r);const o=s.files;o.sort(n);let a=-1;for(;++a0){let t;return iF("Ignoring `streamIn`"),e.filePath&&(t=new Error("Do not pass both `--file-path` and real files.\nDid you mean to pass stdin instead of files?")),void i(t)}if(e.streamIn.isTTY)return iF("Cannot read from `tty` stream"),void i(new Error("No input"));iF("Reading from `streamIn`"),e.streamIn.pipe(eF({encoding:"string"},(n=>{const r=qx(e.filePath);iF("Read from `streamIn`"),r.cwd=e.cwd,r.value=n,r.data.unifiedEngineGiven=!0,r.data.unifiedEngineStreamIn=!0,t.files=[r],e.out=null===e.out||void 0===e.out||e.out,i()})))})).use((function(t,e,i){const n=new nF;if(t.fileSet=n,n.on("add",(i=>{RF.run({configuration:t.configuration,processor:e.processor(),fileSet:n,settings:e},i,(t=>{t&&Object.assign(i.message(t),{fatal:!0}),n.emit("one",i)}))})),n.on("done",i),0===t.files.length)i();else{let e=-1;for(;++et.data.unifiedEngineGiven&&!t.data.unifiedEngineIgnored)),Object.assign({},e.reporterOptions,{quiet:e.quiet,silent:e.silent,color:e.color}));if(n)return"\n"!==n.charAt(n.length-1)&&(n+="\n"),new Promise((t=>{e.streamError.write(n,t)}))}));var eC,iC,nC,rC,sC,oC,aC,uC,lC={exports:{}};function cC(){if(rC)return nC;rC=1;const t=iC?eC:(iC=1,eC={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]}),e={};for(const i of Object.keys(t))e[t[i]]=i;const i={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"]}};nC=i;for(const t of Object.keys(i)){if(!("channels"in i[t]))throw new Error("missing channels property: "+t);if(!("labels"in i[t]))throw new Error("missing channel labels property: "+t);if(i[t].labels.length!==i[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:n}=i[t];delete i[t].channels,delete i[t].labels,Object.defineProperty(i[t],"channels",{value:e}),Object.defineProperty(i[t],"labels",{value:n})}return i.rgb.hsl=function(t){const e=t[0]/255,i=t[1]/255,n=t[2]/255,r=Math.min(e,i,n),s=Math.max(e,i,n),o=s-r;let a,u;s===r?a=0:e===s?a=(i-n)/o:i===s?a=2+(n-e)/o:n===s&&(a=4+(e-i)/o),a=Math.min(60*a,360),a<0&&(a+=360);const l=(r+s)/2;return u=s===r?0:l<=.5?o/(s+r):o/(2-s-r),[a,100*u,100*l]},i.rgb.hsv=function(t){let e,i,n,r,s;const o=t[0]/255,a=t[1]/255,u=t[2]/255,l=Math.max(o,a,u),c=l-Math.min(o,a,u),h=function(t){return(l-t)/6/c+.5};return 0===c?(r=0,s=0):(s=c/l,e=h(o),i=h(a),n=h(u),o===l?r=n-i:a===l?r=1/3+e-n:u===l&&(r=2/3+i-e),r<0?r+=1:r>1&&(r-=1)),[360*r,100*s,100*l]},i.rgb.hwb=function(t){const e=t[0],n=t[1];let r=t[2];const s=i.rgb.hsl(t)[0],o=1/255*Math.min(e,Math.min(n,r));return r=1-1/255*Math.max(e,Math.max(n,r)),[s,100*o,100*r]},i.rgb.cmyk=function(t){const e=t[0]/255,i=t[1]/255,n=t[2]/255,r=Math.min(1-e,1-i,1-n);return[100*((1-e-r)/(1-r)||0),100*((1-i-r)/(1-r)||0),100*((1-n-r)/(1-r)||0),100*r]},i.rgb.keyword=function(i){const n=e[i];if(n)return n;let r,s=1/0;for(const e of Object.keys(t)){const n=t[e],u=(a=n,((o=i)[0]-a[0])**2+(o[1]-a[1])**2+(o[2]-a[2])**2);u.04045?((e+.055)/1.055)**2.4:e/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;return[100*(.4124*e+.3576*i+.1805*n),100*(.2126*e+.7152*i+.0722*n),100*(.0193*e+.1192*i+.9505*n)]},i.rgb.lab=function(t){const e=i.rgb.xyz(t);let n=e[0],r=e[1],s=e[2];n/=95.047,r/=100,s/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,s=s>.008856?s**(1/3):7.787*s+16/116;return[116*r-16,500*(n-r),200*(r-s)]},i.hsl.rgb=function(t){const e=t[0]/360,i=t[1]/100,n=t[2]/100;let r,s,o;if(0===i)return o=255*n,[o,o,o];r=n<.5?n*(1+i):n+i-n*i;const a=2*n-r,u=[0,0,0];for(let t=0;t<3;t++)s=e+1/3*-(t-1),s<0&&s++,s>1&&s--,o=6*s<1?a+6*(r-a)*s:2*s<1?r:3*s<2?a+(r-a)*(2/3-s)*6:a,u[t]=255*o;return u},i.hsl.hsv=function(t){const e=t[0];let i=t[1]/100,n=t[2]/100,r=i;const s=Math.max(n,.01);n*=2,i*=n<=1?n:2-n,r*=s<=1?s:2-s;return[e,100*(0===n?2*r/(s+r):2*i/(n+i)),100*((n+i)/2)]},i.hsv.rgb=function(t){const e=t[0]/60,i=t[1]/100;let n=t[2]/100;const r=Math.floor(e)%6,s=e-Math.floor(e),o=255*n*(1-i),a=255*n*(1-i*s),u=255*n*(1-i*(1-s));switch(n*=255,r){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]}},i.hsv.hsl=function(t){const e=t[0],i=t[1]/100,n=t[2]/100,r=Math.max(n,.01);let s,o;o=(2-i)*n;const a=(2-i)*r;return s=i*r,s/=a<=1?a:2-a,s=s||0,o/=2,[e,100*s,100*o]},i.hwb.rgb=function(t){const e=t[0]/360;let i=t[1]/100,n=t[2]/100;const r=i+n;let s;r>1&&(i/=r,n/=r);const o=Math.floor(6*e),a=1-n;s=6*e-o,1&o&&(s=1-s);const u=i+s*(a-i);let l,c,h;switch(o){default:case 6:case 0:l=a,c=u,h=i;break;case 1:l=u,c=a,h=i;break;case 2:l=i,c=a,h=u;break;case 3:l=i,c=u,h=a;break;case 4:l=u,c=i,h=a;break;case 5:l=a,c=i,h=u}return[255*l,255*c,255*h]},i.cmyk.rgb=function(t){const e=t[0]/100,i=t[1]/100,n=t[2]/100,r=t[3]/100;return[255*(1-Math.min(1,e*(1-r)+r)),255*(1-Math.min(1,i*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r))]},i.xyz.rgb=function(t){const e=t[0]/100,i=t[1]/100,n=t[2]/100;let r,s,o;return r=3.2406*e+-1.5372*i+-.4986*n,s=-.9689*e+1.8758*i+.0415*n,o=.0557*e+-.204*i+1.057*n,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,r=Math.min(Math.max(0,r),1),s=Math.min(Math.max(0,s),1),o=Math.min(Math.max(0,o),1),[255*r,255*s,255*o]},i.xyz.lab=function(t){let e=t[0],i=t[1],n=t[2];e/=95.047,i/=100,n/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;return[116*i-16,500*(e-i),200*(i-n)]},i.lab.xyz=function(t){let e,i,n;i=(t[0]+16)/116,e=t[1]/500+i,n=i-t[2]/200;const r=i**3,s=e**3,o=n**3;return i=r>.008856?r:(i-16/116)/7.787,e=s>.008856?s:(e-16/116)/7.787,n=o>.008856?o:(n-16/116)/7.787,e*=95.047,i*=100,n*=108.883,[e,i,n]},i.lab.lch=function(t){const e=t[0],i=t[1],n=t[2];let r;r=360*Math.atan2(n,i)/2/Math.PI,r<0&&(r+=360);return[e,Math.sqrt(i*i+n*n),r]},i.lch.lab=function(t){const e=t[0],i=t[1],n=t[2]/360*2*Math.PI;return[e,i*Math.cos(n),i*Math.sin(n)]},i.rgb.ansi16=function(t,e=null){const[n,r,s]=t;let o=null===e?i.rgb.hsv(t)[2]:e;if(o=Math.round(o/50),0===o)return 30;let a=30+(Math.round(s/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===o&&(a+=60),a},i.hsv.ansi16=function(t){return i.rgb.ansi16(i.hsv.rgb(t),t[2])},i.rgb.ansi256=function(t){const e=t[0],i=t[1],n=t[2];if(e===i&&i===n)return e<8?16:e>248?231:Math.round((e-8)/247*24)+232;return 16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5)},i.ansi16.rgb=function(t){let e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const i=.5*(1+~~(t>50));return[(1&e)*i*255,(e>>1&1)*i*255,(e>>2&1)*i*255]},i.ansi256.rgb=function(t){if(t>=232){const e=10*(t-232)+8;return[e,e,e]}let e;t-=16;return[Math.floor(t/36)/5*255,Math.floor((e=t%36)/6)/5*255,e%6/5*255]},i.rgb.hex=function(t){const e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},i.hex.rgb=function(t){const e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let i=e[0];3===e[0].length&&(i=i.split("").map((t=>t+t)).join(""));const n=parseInt(i,16);return[n>>16&255,n>>8&255,255&n]},i.rgb.hcg=function(t){const e=t[0]/255,i=t[1]/255,n=t[2]/255,r=Math.max(Math.max(e,i),n),s=Math.min(Math.min(e,i),n),o=r-s;let a,u;return a=o<1?s/(1-o):0,u=o<=0?0:r===e?(i-n)/o%6:r===i?2+(n-e)/o:4+(e-i)/o,u/=6,u%=1,[360*u,100*o,100*a]},i.hsl.hcg=function(t){const e=t[1]/100,i=t[2]/100,n=i<.5?2*e*i:2*e*(1-i);let r=0;return n<1&&(r=(i-.5*n)/(1-n)),[t[0],100*n,100*r]},i.hsv.hcg=function(t){const e=t[1]/100,i=t[2]/100,n=e*i;let r=0;return n<1&&(r=(i-n)/(1-n)),[t[0],100*n,100*r]},i.hcg.rgb=function(t){const e=t[0]/360,i=t[1]/100,n=t[2]/100;if(0===i)return[255*n,255*n,255*n];const r=[0,0,0],s=e%1*6,o=s%1,a=1-o;let u=0;switch(Math.floor(s)){case 0:r[0]=1,r[1]=o,r[2]=0;break;case 1:r[0]=a,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=o;break;case 3:r[0]=0,r[1]=a,r[2]=1;break;case 4:r[0]=o,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=a}return u=(1-i)*n,[255*(i*r[0]+u),255*(i*r[1]+u),255*(i*r[2]+u)]},i.hcg.hsv=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);let n=0;return i>0&&(n=e/i),[t[0],100*n,100*i]},i.hcg.hsl=function(t){const e=t[1]/100,i=t[2]/100*(1-e)+.5*e;let n=0;return i>0&&i<.5?n=e/(2*i):i>=.5&&i<1&&(n=e/(2*(1-i))),[t[0],100*n,100*i]},i.hcg.hwb=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);return[t[0],100*(i-e),100*(1-i)]},i.hwb.hcg=function(t){const e=t[1]/100,i=1-t[2]/100,n=i-e;let r=0;return n<1&&(r=(i-n)/(1-n)),[t[0],100*n,100*r]},i.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},i.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},i.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},i.gray.hsl=function(t){return[0,0,t[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(t){return[0,100,t[0]]},i.gray.cmyk=function(t){return[0,0,0,t[0]]},i.gray.lab=function(t){return[t[0],0,0]},i.gray.hex=function(t){const e=255&Math.round(t[0]/100*255),i=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(i.length)+i},i.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]},nC}function hC(){if(oC)return sC;oC=1;const t=cC();function e(e){const i=function(){const e={},i=Object.keys(t);for(let t=i.length,n=0;n{i[n]={},Object.defineProperty(i[n],"channels",{value:t[n].channels}),Object.defineProperty(i[n],"labels",{value:t[n].labels});const r=e(n);Object.keys(r).forEach((t=>{const e=r[t];i[n][t]=function(t){const e=function(...e){const i=e[0];if(null==i)return i;i.length>1&&(e=i);const n=t(e);if("object"==typeof n)for(let t=n.length,e=0;e1&&(e=i),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(e)}))})),aC=i}!function(t){const e=(t,e)=>(...i)=>`[${t(...i)+e}m`,i=(t,e)=>(...i)=>{const n=t(...i);return`[${38+e};5;${n}m`},n=(t,e)=>(...i)=>{const n=t(...i);return`[${38+e};2;${n[0]};${n[1]};${n[2]}m`},r=t=>t,s=(t,e,i)=>[t,e,i],o=(t,e,i)=>{Object.defineProperty(t,e,{get:()=>{const n=i();return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})};let a;const u=(t,e,i,n)=>{void 0===a&&(a=pC());const r=n?10:0,s={};for(const[n,o]of Object.entries(a)){const a="ansi16"===n?"ansi":n;n===e?s[a]=t(i,r):"object"==typeof o&&(s[a]=t(o[e],r))}return s};Object.defineProperty(t,"exports",{enumerable:!0,get:function(){const t=new Map,a={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],blackBright:[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]}};a.color.gray=a.color.blackBright,a.bgColor.bgGray=a.bgColor.bgBlackBright,a.color.grey=a.color.blackBright,a.bgColor.bgGrey=a.bgColor.bgBlackBright;for(const[e,i]of Object.entries(a)){for(const[e,n]of Object.entries(i))a[e]={open:`[${n[0]}m`,close:`[${n[1]}m`},i[e]=a[e],t.set(n[0],n[1]);Object.defineProperty(a,e,{value:i,enumerable:!1})}return Object.defineProperty(a,"codes",{value:t,enumerable:!1}),a.color.close="",a.bgColor.close="",o(a.color,"ansi",(()=>u(e,"ansi16",r,!1))),o(a.color,"ansi256",(()=>u(i,"ansi256",r,!1))),o(a.color,"ansi16m",(()=>u(n,"rgb",s,!1))),o(a.bgColor,"ansi",(()=>u(e,"ansi16",r,!0))),o(a.bgColor,"ansi256",(()=>u(i,"ansi256",r,!0))),o(a.bgColor,"ansi16m",(()=>u(n,"rgb",s,!0))),a}})}(lC);var fC=lC.exports,dC=(t,e=process.argv)=>{const i=t.startsWith("-")?"":1===t.length?"-":"--",n=e.indexOf(i+t),r=e.indexOf("--");return-1!==n&&(-1===r||n=2,has16m:t>=3}}function DC(t,e){if(0===wC)return 0;if(yC("color=16m")||yC("color=full")||yC("color=truecolor"))return 3;if(yC("color=256"))return 2;if(t&&!e&&void 0===wC)return 0;const i=wC||0;if("dumb"===bC.TERM)return i;if("win32"===process.platform){const t=gC.release().split(".");return Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in bC)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((t=>t in bC))||"codeship"===bC.CI_NAME?1:i;if("TEAMCITY_VERSION"in bC)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(bC.TEAMCITY_VERSION)?1:0;if("truecolor"===bC.COLORTERM)return 3;if("TERM_PROGRAM"in bC){const t=parseInt((bC.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(bC.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(bC.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(bC.TERM)||"COLORTERM"in bC?1:i}yC("no-color")||yC("no-colors")||yC("color=false")||yC("color=never")?wC=0:(yC("color")||yC("colors")||yC("color=true")||yC("color=always"))&&(wC=1),"FORCE_COLOR"in bC&&(wC="true"===bC.FORCE_COLOR?1:"false"===bC.FORCE_COLOR?0:0===bC.FORCE_COLOR.length?1:Math.min(parseInt(bC.FORCE_COLOR,10),3));var kC={supportsColor:function(t){return vC(DC(t,t&&t.isTTY))},stdout:vC(DC(!0,mC.isatty(1))),stderr:vC(DC(!0,mC.isatty(2)))};var EC,xC,AC={stringReplaceAll:(t,e,i)=>{let n=t.indexOf(e);if(-1===n)return t;const r=e.length;let s=0,o="";do{o+=t.substr(s,n-s)+e+i,s=n+r,n=t.indexOf(e,s)}while(-1!==n);return o+=t.substr(s),o},stringEncaseCRLFWithFirstIndex:(t,e,i,n)=>{let r=0,s="";do{const o="\r"===t[n-1];s+=t.substr(r,(o?n-1:n)-r)+e+(o?"\r\n":"\n")+i,r=n+1,n=t.indexOf("\n",r)}while(-1!==n);return s+=t.substr(r),s}};const FC=fC,{stdout:CC,stderr:SC}=kC,{stringReplaceAll:_C,stringEncaseCRLFWithFirstIndex:jC}=AC,{isArray:OC}=Array,BC=["ansi","ansi","ansi256","ansi16m"],TC=Object.create(null);let RC=class{constructor(t){return IC(t)}};const IC=t=>{const e={};return((t,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const i=CC?CC.level:0;t.level=void 0===e.level?i:e.level})(e,t),e.template=(...t)=>UC(e.template,...t),Object.setPrototypeOf(e,$C.prototype),Object.setPrototypeOf(e.template,e),e.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},e.template.Instance=RC,e.template};function $C(t){return IC(t)}for(const[t,e]of Object.entries(FC))TC[t]={get(){const i=MC(this,PC(e.open,e.close,this._styler),this._isEmpty);return Object.defineProperty(this,t,{value:i}),i}};TC.visible={get(){const t=MC(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:t}),t}};const NC=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const t of NC)TC[t]={get(){const{level:e}=this;return function(...i){const n=PC(FC.color[BC[e]][t](...i),FC.color.close,this._styler);return MC(this,n,this._isEmpty)}}};for(const t of NC){TC["bg"+t[0].toUpperCase()+t.slice(1)]={get(){const{level:e}=this;return function(...i){const n=PC(FC.bgColor[BC[e]][t](...i),FC.bgColor.close,this._styler);return MC(this,n,this._isEmpty)}}}}const LC=Object.defineProperties((()=>{}),{...TC,level:{enumerable:!0,get(){return this._generator.level},set(t){this._generator.level=t}}}),PC=(t,e,i)=>{let n,r;return void 0===i?(n=t,r=e):(n=i.openAll+t,r=e+i.closeAll),{open:t,close:e,openAll:n,closeAll:r,parent:i}},MC=(t,e,i)=>{const n=(...t)=>OC(t[0])&&OC(t[0].raw)?zC(n,UC(n,...t)):zC(n,1===t.length?""+t[0]:t.join(" "));return Object.setPrototypeOf(n,LC),n._generator=t,n._styler=e,n._isEmpty=i,n},zC=(t,e)=>{if(t.level<=0||!e)return t._isEmpty?"":e;let i=t._styler;if(void 0===i)return e;const{openAll:n,closeAll:r}=i;if(-1!==e.indexOf(""))for(;void 0!==i;)e=_C(e,i.close,i.open),i=i.parent;const s=e.indexOf("\n");return-1!==s&&(e=jC(e,r,n,s)),n+e+r};let qC;const UC=(t,...e)=>{const[i]=e;if(!OC(i)||!OC(i.raw))return e.join(" ");const n=e.slice(1),r=[i.raw[0]];for(let t=1;te?s(e):i)))}else r.push(o)}return r}function a(t){e.lastIndex=0;const i=[];let n;for(;null!==(n=e.exec(t));){const t=n[1];if(n[2]){const e=o(t,n[2]);i.push([t].concat(e))}else i.push([t])}return i}function u(t,e){const i={};for(const t of e)for(const e of t.styles)i[e[0]]=t.inverse?null:e.slice(1);let n=t;for(const[t,e]of Object.entries(i))if(Array.isArray(e)){if(!(t in n))throw new Error(`Unknown Chalk style: ${t}`);n=e.length>0?n[t](...e):n[t]}return n}return EC=(e,i)=>{const n=[],r=[];let o=[];if(i.replace(t,((t,i,l,c,h,p)=>{if(i)o.push(s(i));else if(c){const t=o.join("");o=[],r.push(0===n.length?t:u(e,n)(t)),n.push({inverse:l,styles:a(c)})}else if(h){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(u(e,n)(o.join(""))),o=[],n.pop()}else o.push(p)})),r.push(o.join("")),n.length>0){const t=`Chalk template literal is missing ${n.length} closing bracket${1===n.length?"":"s"} (\`}\`)`;throw new Error(t)}return r.join("")},EC}()),qC(t,r.join(""))};Object.defineProperties($C.prototype,TC);const GC=$C();GC.supportsColor=CC,GC.stderr=$C({level:SC?SC.level:0}),GC.stderr.supportsColor=SC;var WC=q(GC);const HC={addendum:"addenda",aircraft:"aircraft",alga:"algae",alumna:"alumnae",alumnus:"alumni",alveolus:"alveoli",amoeba:"amoebae",analysis:"analyses",antenna:"antennae",antithesis:"antitheses",apex:"apices",appendix:"appendices",automaton:"automata",axis:"axes",bacillus:"bacilli",bacterium:"bacteria",baculum:"bacula",barracks:"barracks",basis:"bases",beau:"beaux",bison:"bison",buffalo:"buffalo",bureau:"bureaus",cactus:"cacti",calf:"calves",carcinoma:"carcinomata",carp:"carp",census:"censuses",chassis:"chassis",cherub:"cherubim",child:"children","château":"châteaus",cloaca:"cloacae",cod:"cod",codex:"codices",concerto:"concerti",consortium:"consortia",corpus:"corpora",crisis:"crises",criterion:"criteria",curriculum:"curricula",cystoma:"cystomata",datum:"data",deer:"deer",diagnosis:"diagnoses",die:"dice",dwarf:"dwarfs",echo:"echoes",elf:"elves",elk:"elk",ellipsis:"ellipses",embargo:"embargoes",emphasis:"emphases",erratum:"errata","faux pas":"faux pas",fez:"fezes",firmware:"firmware",fish:"fish",focus:"foci",foot:"feet",formula:"formulae",fungus:"fungi",gallows:"gallows",genus:"genera",glomerulus:"glomeruli",goose:"geese",graffito:"graffiti",grouse:"grouse",half:"halves",hamulus:"hamuli",hero:"heroes",hippopotamus:"hippopotami",hoof:"hooves",hovercraft:"hovercraft",hypothesis:"hypotheses",iliac:"ilia",incubus:"incubi",index:"indices",interstitium:"interstitia",kakapo:"kakapo",knife:"knives",larva:"larvae",leaf:"leaves",libretto:"libretti",life:"lives",loaf:"loaves",loculus:"loculi",locus:"loci",louse:"lice",man:"men",matrix:"matrices",means:"means",measles:"measles",media:"media",medium:"media",memorandum:"memoranda",millennium:"millennia",minutia:"minutiae",moose:"moose",mouse:"mice",nebula:"nebulae",nemesis:"nemeses",neurosis:"neuroses",news:"news",nucleolus:"nucleoli",nucleus:"nuclei",oasis:"oases",occiput:"occipita",offspring:"offspring",omphalos:"omphaloi",opus:"opera",ovum:"ova",ox:"oxen",paralysis:"paralyses",parenthesis:"parentheses",person:"people",phenomenon:"phenomena",phylum:"phyla",pike:"pike",polyhedron:"polyhedra",potato:"potatoes",primus:"primi",prognosis:"prognoses",quiz:"quizzes",radius:"radii",referendum:"referenda",salmon:"salmon",scarf:"scarves",scrotum:"scrota",self:"selves",seminoma:"seminomata",series:"series",sheep:"sheep",shelf:"shelves",shrimp:"shrimp",simulacrum:"simulacra",soliloquy:"soliloquies",spacecraft:"spacecraft",species:"species",spectrum:"spectra",squid:"squid",stimulus:"stimuli",stratum:"strata",swine:"swine",syconium:"syconia",syllabus:"syllabi",symposium:"symposia",synopsis:"synopses",synthesis:"syntheses",tableau:"tableaus",testis:"testes",that:"those",thesis:"theses",thief:"thieves",this:"these",thrombus:"thrombi",tomato:"tomatoes",tooth:"teeth",torus:"tori",trout:"trout",tuna:"tuna",umbilicus:"umbilici",uterus:"uteri",vertebra:"vertebrae",vertex:"vertices",veto:"vetoes",vita:"vitae",vortex:"vortices",watercraft:"watercraft",wharf:"wharves",wife:"wives",wolf:"wolves",woman:"women"};var VC=q(new Map(Object.entries(HC)));function KC(t,e,i){if("number"==typeof e&&(i=e),VC.has(t.toLowerCase())){e=VC.get(t.toLowerCase());const i=t.charAt(0);i===i.toUpperCase()&&(e=i+e.slice(1));t===t.toUpperCase()&&(e=e.toUpperCase())}else"string"!=typeof e&&(e=(t.replace(/(?:s|x|z|ch|sh)$/i,"$&e").replace(/([^aeiou])y$/i,"$1ie")+"s").replace(/i?e?s$/i,(e=>t.slice(-1)===t.slice(-1).toLowerCase()?e.toLowerCase():e.toUpperCase())));return 1===Math.abs(i)?t:e}const YC="[",JC="]",ZC="",QC=";",XC="Apple_Terminal"===process.env.TERM_PROGRAM,tS={cursorTo:(t,e)=>{if("number"!=typeof t)throw new TypeError("The `x` argument is required");return"number"!=typeof e?YC+(t+1)+"G":YC+(e+1)+";"+(t+1)+"H"},cursorMove:(t,e)=>{if("number"!=typeof t)throw new TypeError("The `x` argument is required");let i="";return t<0?i+=YC+-t+"D":t>0&&(i+=YC+t+"C"),e<0?i+=YC+-e+"A":e>0&&(i+=YC+e+"B"),i},cursorUp:(t=1)=>YC+t+"A",cursorDown:(t=1)=>YC+t+"B",cursorForward:(t=1)=>YC+t+"C",cursorBackward:(t=1)=>YC+t+"D",cursorLeft:""};tS.cursorSavePosition=XC?"7":"",tS.cursorRestorePosition=XC?"8":"",tS.cursorGetPosition="",tS.cursorNextLine="",tS.cursorPrevLine="",tS.cursorHide="[?25l",tS.cursorShow="[?25h",tS.eraseLines=t=>{let e="";for(let i=0;i[JC,"8",QC,QC,e,ZC,t,JC,"8",QC,QC,ZC].join(""),tS.image=(t,e={})=>{let i=`${JC}1337;File=inline=1`;return e.width&&(i+=`;width=${e.width}`),e.height&&(i+=`;height=${e.height}`),!1===e.preserveAspectRatio&&(i+=";preserveAspectRatio=0"),i+":"+t.toString("base64")+ZC},tS.iTerm={setCwd:(t=process.cwd())=>`${JC}50;CurrentDir=${t}${ZC}`,annotation:(t,e={})=>{let i=`${JC}1337;`;const n=void 0!==e.x,r=void 0!==e.y;if((n||r)&&(!n||!r||void 0===e.length))throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");return t=t.replace(/\|/g,""),i+=e.isHidden?"AddHiddenAnnotation=":"AddAnnotation=",e.length>0?i+=(n?[t,e.length,e.x,e.y]:[e.length,t]).join("|"):i+=t,i+ZC}};const eS=h,iS=w,nS=dC,{env:rS}=process;let sS;function oS(t){return 0!==t&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function aS(t,e){if(0===sS)return 0;if(nS("color=16m")||nS("color=full")||nS("color=truecolor"))return 3;if(nS("color=256"))return 2;if(t&&!e&&void 0===sS)return 0;const i=sS||0;if("dumb"===rS.TERM)return i;if("win32"===process.platform){const t=eS.release().split(".");return Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in rS)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((t=>t in rS))||"codeship"===rS.CI_NAME?1:i;if("TEAMCITY_VERSION"in rS)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(rS.TEAMCITY_VERSION)?1:0;if("truecolor"===rS.COLORTERM)return 3;if("TERM_PROGRAM"in rS){const t=parseInt((rS.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(rS.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(rS.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(rS.TERM)||"COLORTERM"in rS?1:i}nS("no-color")||nS("no-colors")||nS("color=false")||nS("color=never")?sS=0:(nS("color")||nS("colors")||nS("color=true")||nS("color=always"))&&(sS=1),"FORCE_COLOR"in rS&&(sS="true"===rS.FORCE_COLOR?1:"false"===rS.FORCE_COLOR?0:0===rS.FORCE_COLOR.length?1:Math.min(parseInt(rS.FORCE_COLOR,10),3));var uS={supportsColor:function(t){return oS(aS(t,t&&t.isTTY))},stdout:oS(aS(!0,iS.isatty(1))),stderr:oS(aS(!0,iS.isatty(2)))};const lS=uS,cS=dC;function hS(t){if(/^\d{3,4}$/.test(t)){const e=/(\d{1,2})(\d{2})/.exec(t);return{major:0,minor:parseInt(e[1],10),patch:parseInt(e[2],10)}}const e=(t||"").split(".").map((t=>parseInt(t,10)));return{major:e[0],minor:e[1],patch:e[2]}}function pS(t){const{env:e}=process;if("FORCE_HYPERLINK"in e)return!(e.FORCE_HYPERLINK.length>0&&0===parseInt(e.FORCE_HYPERLINK,10));if(cS("no-hyperlink")||cS("no-hyperlinks")||cS("hyperlink=false")||cS("hyperlink=never"))return!1;if(cS("hyperlink=true")||cS("hyperlink=always"))return!0;if("NETLIFY"in e)return!0;if(!lS.supportsColor(t))return!1;if(t&&!t.isTTY)return!1;if("win32"===process.platform)return!1;if("CI"in e)return!1;if("TEAMCITY_VERSION"in e)return!1;if("TERM_PROGRAM"in e){const t=hS(e.TERM_PROGRAM_VERSION);switch(e.TERM_PROGRAM){case"iTerm.app":return 3===t.major?t.minor>=1:t.major>3;case"WezTerm":return t.major>=20200620;case"vscode":return t.major>1||1===t.major&&t.minor>=72}}if("VTE_VERSION"in e){if("0.50.0"===e.VTE_VERSION)return!1;const t=hS(e.VTE_VERSION);return t.major>0||t.minor>=50}return!1}var fS={supportsHyperlink:pS,stdout:pS(process.stdout),stderr:pS(process.stderr)};const dS={"10x":{repository:"https://github.com/JonnyBurger/eslint-plugin-10x"},"66nao":{repository:"https://github.com/66nao/eslint-glugin-66nao"},"6river":{repository:"https://github.com/6RiverSystems/eslint-plugin-6river"},"7g":{repository:"https://github.com/7Geese/eslint-plugin-7g"},"@-k/eslint-plugin":{repository:"https://github.com/AdrieanKhisbe/my-node-libraries"},"@0x706b/eslint-plugin-align-assignments":{repository:"https://github.com/0x706b/eslint-plugin-align-assignments"},"@0y0/eslint-plugin-react":{repository:"https://github.com/o0y0o/f2e-dev-toolkit"},"@10stars/eslint-plugin-react-hooks":{repository:"https://github.com/facebook/react"},"@10up/eslint-plugin":{repository:"https://github.com/10up/10up-toolkit"},"@18f/eslint-plugin-identity":{repository:"https://github.com/18f/identity-idp"},"@20minutes/eslint-plugin-graphql":{repository:"https://github.com/20minutes/eslint-plugin-graphql"},"@2chevskii/eslint-plugin-putout":{repository:"https://github.com/2chevskii/eslint-plugin-putout"},"@4dvn-hieu/eslint-plugin-dollar-sign":{repository:"https://github.com/erikdesjardins/eslint-plugin-dollar-sign"},"@6river/eslint-plugin-6river":{repository:"https://github.com/6RiverSystems/eslint-plugin-6river"},"@aarondewes/wp-eslint-plugin":{repository:"https://github.com/AaronDewes/gutenberg"},"@acmecryptocorp/eslint-plugin":{repository:"https://github.com/acmecryptocorp/eslint-plugin"},"@adalo/eslint-plugin-axios":{repository:"https://github.com/AdaloHQ/eslint"},"@adnovum-eslint/eslint-plugin":{repository:"https://github.com/npm/security-holder"},"@aereal/eslint-plugin-react-type-safe-render":{repository:"https://github.com/aereal/react-type-safe-render"},"@aiou/eslint-plugin-analyze":{repository:"https://github.com/JiangWeixian/templates"},"@aiou/eslint-plugin-progress":{repository:"https://github.com/JiangWeixian/eslint-config"},"@akphi/eslint-plugin":{repository:"https://github.com/akphi/config-tester"},"@alasdair/eslint-plugin-max-len":{repository:"https://github.com/alasdairhurst/eslint-plugin-max-len"},"@alexrafael10/eslint-plugin-prettier-vue":{repository:"https://github.com/alexrafael10/eslint-plugin-prettier-vue"},"@alexreardon/eslint-plugin-react-hooks":{repository:"https://github.com/facebook/react"},"@alibaba-aero/eslint-plugin-json":{repository:"https://github.com/azeemba/eslint-plugin-json"},"@alixfachin/eslint-plugin-riotjs":{repository:"https://github.com/AlixFachin/eslint-plugin-riotjs"},"@alongvili/eslint-plugin-remix":{repository:"https://github.com/AlonGvili/eslint-plugin-remix"},"@americanexpress/eslint-plugin-one-app":{repository:"https://github.com/americanexpress/one-app-cli"},"@aminya/eslint-plugin-only-warn":{repository:"https://github.com/aminya/eslint-plugin-only-warn"},"@anansi/eslint-plugin":{repository:"https://github.com/ntucker/anansi"},"@andreyvolokitin/eslint-plugin-destructuring":{repository:"https://github.com/lukeapage/eslint-plugin-destructuring"},"@angelventura/eslint-plugin-ejs":{repository:"https://github.com/angelventura/eslint-plugin-ejs"},"@angular-eslint/eslint-plugin":{repository:"https://github.com/angular-eslint/angular-eslint"},"@angular-eslint/eslint-plugin-template":{repository:"https://github.com/angular-eslint/angular-eslint"},"@angular-ru/eslint-plugin-enterprise":{repository:"https://github.com/Angular-RU/angular-ru-sdk"},"@anireact/eslint-plugin":{repository:"https://github.com/anireact/zc"},"@anshulsanghi/eslint-plugin-enforce-apollo-error-handling":{repository:"https://github.com/anshap1719/eslint-plugin-enforce-apollo-error-handling"},"@anshulsanghi/eslint-plugin-playwright":{repository:"https://github.com/anshap1719/eslint-plugin-playwright"},"@aortman/eslint-plugin-import":{repository:"https://github.com/benmosher/eslint-plugin-import"},"@applitools/eslint-plugin-compat":{repository:"https://github.com/applitools/eslint-plugin-compat"},"@appruut/eslint-plugin":{repository:"https://github.com/appruut/eslint-plugin"},"@appulate/eslint-plugin":{repository:"https://github.com/appulate/eslint-plugin-appulate"},"@arnaud-barre/eslint-plugin-custom":{repository:"https://github.com/ArnaudBarre/eslint-config"},"@arnaud-barre/eslint-plugin-local":{repository:"https://github.com/ArnaudBarre/eslint-config"},"@asbjorn/eslint-plugin-groq":{repository:"https://github.com/asbjornh/eslint-plugin-groq"},"@atlauncher/eslint-plugin-atlauncher":{repository:"https://github.com/ATLauncher/javascript"},"@augustaba/eslint-plugin":{repository:"https://github.com/augustaba/rider"},"@authing/eslint-plugin-nestjs":{repository:"https://github.com/Authing/eslint-plugin-nestjs"},"@autoguru/eslint-plugin":{repository:"https://github.com/autoguru-au/octane"},"@automattic/eslint-plugin-wpvip":{repository:"https://github.com/Automattic/eslint-config-wpvip"},"@avaly/eslint-plugin-import-order":{repository:"https://github.com/avaly/eslint-plugin-import-order"},"@babel/eslint-plugin":{repository:"https://github.com/babel/babel"},"@babel/eslint-plugin-development":{repository:"https://github.com/babel/babel"},"@bdwain/eslint-plugin-better-mutation":{repository:"https://github.com/sloops77/eslint-plugin-better-mutation"},"@beequeue/eslint-plugin":{repository:"https://github.com/BeeeQueue/eslint-plugin"},"@bel0v/eslint-plugin-deprecate":{repository:"https://github.com/AlexMost/eslint-plugin-deprecate"},"@bem-react/eslint-plugin":{repository:"https://github.com/bem/bem-react"},"@bentley/eslint-plugin":{repository:"https://github.com/imodeljs/imodeljs"},"@berlysia/generator-eslint-plugin":{repository:"https://github.com/berlysia/generator-eslint-plugin"},"@bernardmcmanus/eslint-plugin":{repository:"https://github.com/bernardmcmanus/standards"},"@bigcommerce/eslint-plugin":{repository:"https://github.com/bigcommerce/eslint-config"},"@bigtaddy/eslint-plugin-simple-import-sort":{repository:"https://github.com/bigtaddy/eslint-plugin-simple-import-sort"},"@bigtest/eslint-plugin":{repository:"https://github.com/thefrontside/bigtest"},"@binary64/eslint-plugin":{repository:"https://github.com/binary64/eslint-plugin"},"@bitassembly/eslint-plugin-import-alias":{repository:"https://github.com/jamsuu/eslint-plugin-import-alias"},"@bjervis/eslint-plugin-redundant-stack":{repository:"https://github.com/benjervis/eslint-plugin-redundant-stack"},"@bjervis/eslint-plugin-scoobie":{repository:"https://github.com/benjervis/eslint-plugin-scoobie"},"@black_hole/eslint-plugin":{repository:"https://github.com/netless-io/eslint-plugin"},"@black_hole/eslint-plugin-black_hole":{repository:"https://github.com/netless-io/eslint-plugin-netless"},"@black_hole/eslint-plugin-netless":{repository:"https://github.com/netless-io/eslint-plugin-netless"},"@blackflux/eslint-plugin-rules":{repository:"https://github.com/blackflux/eslint-plugin-rules"},"@bluecateng/eslint-plugin":{repository:"https://github.com/bluecatengineering/eslint-packages"},"@bluelovers/eslint-plugin":{repository:"https://github.com/bluelovers/ws-node-bluelovers"},"@blueprint-modernized/eslint-plugin":{repository:"https://github.com/palantir/blueprint"},"@blueprintjs/eslint-plugin":{repository:"https://github.com/palantir/blueprint"},"@blueprintjs/eslint-plugin-blueprint":{repository:"https://github.com/palantir/blueprint"},"@bo2kshelf/eslint-plugin":{repository:"https://github.com/bo2kshelf/eslint-plugin"},"@br/eslint-plugin-laws-of-the-game":{repository:"https://github.com/bleacherreport/eslint-plugin-laws-of-the-game"},"@breadhead/eslint-plugin-react-hooks":{repository:"https://github.com/breadhead/eslint-plugin-react-hooks"},"@breautek/eslint-plugin":{repository:"https://github.com/breautek/eslint-plugin"},"@brettz9/eslint-plugin":{repository:"https://github.com/brettz9/eslint-plugin"},"@builder.io/eslint-plugin-mitosis":{repository:"https://github.com/BuilderIO/mitosis"},"@buildertrend/eslint-plugin-enterprise-extras":{repository:"https://github.com/buildertrend/eslint-plugin-enterprise-extras"},"@bullhorn/eslint-plugin-bullhorn":{repository:"https://github.com/bullhorn/eslint-plugin-bullhorn"},"@busybox/eslint-plugin-json":{repository:"https://github.com/davidNHK/busybox"},"@bve/eslint-plugin":{repository:"https://github.com/bvejs/bve"},"@byteever/eslint-plugin":{repository:"https://github.com/byteever/eslint-plugin"},"@c-hess/eslint-plugin-enterprise-extras":{repository:"https://github.com/C-Hess/eslint-plugin-enterprise-extras"},"@calm/eslint-plugin-react-intl":{repository:"https://github.com/calm/eslint-plugin-react-intl"},"@canarise/snowpack-eslint-plugin":{repository:"https://github.com/leebeydoun/snowpack-eslint-plugin"},"@cazoo/eslint-plugin-eslint":{repository:"https://github.com/Cazoo-uk/cazoo-eslint"},"@cebus/eslint-plugin":{repository:"https://github.com/cebus-org/cebus"},"@chainsafe/eslint-plugin-node":{repository:"https://github.com/mysticatea/eslint-plugin-node"},"@change-org/eslint-plugin-change":{repository:"https://github.com/change/javascript"},"@channel.io/eslint-plugin":{repository:"https://github.com/channel-io/eslint-plugin"},"@chanzuckerberg/eslint-plugin-stories":{repository:"https://github.com/chanzuckerberg/frontend-libs"},"@checkdigit/eslint-plugin":{repository:"https://github.com/checkdigit/eslint-plugin"},"@chensi-thunder/eslint-plugin-vue":{repository:"https://github.com/chensi-thunder/eslint-plugin-vue"},"@chialab/eslint-plugin":{repository:"https://github.com/chialab/eslint-config"},"@chris-zhu/eslint-plugin":{repository:"https://github.com/chris-zhu/eslint-config"},"@clark/eslint-plugin-import-helpers-with-package":{repository:"https://github.com/ClarkSource/eslint-config"},"@cloudfour/eslint-plugin":{repository:"https://github.com/cloudfour/eslint-config"},"@clr/eslint-plugin-clarity-adoption":{repository:"https://github.com/vmware-clarity/core"},"@codaco/eslint-plugin-spellcheck":{repository:"https://github.com/codaco/eslint-plugin-spellcheck"},"@codar/eslint-plugin":{repository:"https://github.com/codarme/stylelint"},"@code-atlantic/eslint-plugin":{repository:"https://github.com/code-atlantic/coding-standards"},"@coderscamp/eslint-plugin":{repository:"https://github.com/npm/security-holder"},"@codeutils/eslint-plugin-code-struct":{repository:"https://github.com/cssmiles/eslint-code-struct"},"@cognibox/eslint-plugin-no-super-async":{repository:"https://github.com/cognibox/eslint-no-super-async"},"@cognibox/eslint-plugin-vue-require-component-key":{repository:"https://github.com/cognibox/eslint-vue-require-component-key"},"@cometjs/eslint-plugin":{repository:"https://github.com/cometkim/cometjs"},"@compas/eslint-plugin":{repository:"https://github.com/compasjs/compas"},"@compass-aiden/eslint-plugin":{repository:"https://github.com/Aiden-FE/compass-eslint"},"@compiled/eslint-plugin":{repository:"https://github.com/atlassian-labs/compiled"},"@coorpacademy/eslint-plugin-coorpacademy":{repository:"https://github.com/CoorpAcademy/eslint-plugin-coorpacademy"},"@copyist/eslint-plugin":{repository:"https://github.com/ooooevan/copyist"},"@corbinu/eslint-plugin-typescript":{repository:"https://github.com/typescript-eslint/typescript-eslint"},"@corefw/eslint-plugin-corefw":{repository:"https://github.com/corefw/core-eslint-plugin-corefw"},"@creuna/eslint-plugin-prop-types-csharp":{repository:"https://github.com/Creuna-Oslo/eslint-plugin-prop-types-csharp"},"@crishellco/eslint-plugin":{repository:"https://github.com/crishellco/eslint-plugin"},"@croct/eslint-plugin":{repository:"https://github.com/croct-tech/coding-standard-js"},"@croutonn/eslint-plugin":{repository:"https://github.com/croutonn/eslint-plugin"},"@cspell/eslint-plugin":{repository:"https://github.com/streetsidesoftware/cspell"},"@cypress/eslint-plugin-dev":{repository:"https://github.com/cypress-io/cypress"},"@cypress/eslint-plugin-json":{repository:"https://github.com/cypress-io/eslint-plugin-json"},"@d-hussar/eslint-plugin":{repository:"https://github.com/d-hussar/eslint-plugin"},"@d0whc3r/eslint-plugin-stencil":{repository:"https://github.com/d0whc3r/stencil-eslint"},"@d3banking/eslint-plugin":{repository:"https://github.com/LodoSoftware/javascript-style-guide"},"@danifoldi/eslint-plugin-eslint-presets":{repository:"https://github.com/DaniFoldi/linters"},"@darkobits/eslint-plugin":{repository:"https://github.com/darkobits/eslint-plugin"},"@darraghor/eslint-plugin-nestjs-typed":{repository:"https://github.com/darraghoriordan/eslint-plugin-nestjs-typed"},"@dbenfouzari/eslint-plugin-i18n":{repository:"https://github.com/dbenfouzari/packages"},"@dbenfouzari/eslint-plugin-react-native":{repository:"https://github.com/dbenfouzari/eslint-plugin-react-native"},"@dekode/eslint-plugin":{repository:"https://github.com/DekodeInteraktiv/coding-standards"},"@delagen/eslint-plugin-deprecation":{repository:"https://github.com/delagen/eslint-plugin-deprecation"},"@demands/eslint-plugin-import":{repository:"https://github.com/benmosher/eslint-plugin-import"},"@denis-sokolov/eslint-plugin":{repository:"https://github.com/denis-sokolov/eslint-plugin"},"@devahn/eslint-plugin-compat":{repository:"https://github.com/panda0603/eslint-plugin-compat-mod"},"@devil7softwares/eslint-plugin-axios-swagger":{repository:"https://github.com/Devil7-Softwares/eslint-plugin-axios-swagger"},"@devinrhode2/eslint-plugin-node":{repository:"https://github.com/mysticatea/eslint-plugin-node"},"@devsisters/eslint-plugin-web":{repository:"https://github.com/devsisters/web-packages"},"@dhmk/eslint-plugin-atom":{repository:"https://github.com/dhmk083/dhmk-eslint-plugin-atom"},"@dimensiondev/eslint-plugin":{repository:"https://github.com/DimensionDev/eslint-plugin"},"@divyagnan/eslint-plugin-inline-styles":{repository:"https://github.com/divyagnan/eslint-plugin-inline-styles"},"@docusaurus/eslint-plugin":{repository:"https://github.com/facebook/docusaurus"},"@doochik/eslint-plugin-location":{repository:"https://github.com/doochik/eslint-plugin-location"},"@doodad-js/eslint-plugin-doodad":{repository:"https://github.com/doodadjs/eslint-plugin-doodad"},"@dr.potapoff/eslint-plugin":{repository:"https://github.com/typescript-eslint/typescript-eslint"},"@dreipol/eslint-plugin-export-keys":{repository:"https://github.com/dreipol/eslint-plugin-export-keys"},"@dword-design/eslint-plugin-import-alias":{repository:"https://github.com/dword-design/eslint-plugin-import-alias"},"@einride/eslint-plugin":{repository:"https://github.com/einride/eslint-plugin"},"@ejhammond/eslint-plugin":{repository:"https://github.com/ejhammond/eslint-plugin-ejhammond"},"@eladavron/eslint-plugin-jinja":{repository:"https://github.com/eladavron/eslint-plugin-jinja"},"@elastic/eslint-plugin-eui":{repository:"https://github.com/elastic/eui"},"@elastic/eslint-plugin-kibana-custom":{repository:"https://github.com/elastic/kibana"},"@elastic/eslint-plugin-react-intl":{repository:"https://github.com/elastic/eslint-plugin-react-intl"},"@elementor/eslint-plugin-editor":{repository:"https://github.com/elementor/elementor-editor-packages"},"@elementor/eslint-plugin-elementor":{repository:"https://github.com/elementor/elementor-editor-packages"},"@elfin-fe/eslint-plugin-elfin":{repository:"https://github.com/elfinFE/elfin-convention"},"@elfinct/eslint-plugin-elfin":{repository:"https://github.com/elfinFE/elfin-convention"},"@elux/eslint-plugin":{repository:"https://github.com/hiisea/elux/tree/master"},"@elyby/eslint-plugin":{repository:"https://github.com/elyby/eslint-config"},"@emotion/eslint-plugin":{repository:"https://github.com/emotion-js/emotion"},"@empathyco/eslint-plugin-x":{repository:"https://github.com/empathyco/x"},"@emrys-myrddin/eslint-plugin":{repository:"https://github.com/dotansimha/graphql-eslint"},"@endpass/eslint-plugin-endpass":{repository:"https://github.com/endpass/endpass-core"},"@episerver/eslint-plugin-cms":{repository:"https://github.com/seriema/eslint-plugin-episerver-cms"},"@essex/eslint-plugin":{repository:"https://github.com/microsoft/essex-alpha-build-infra"},"@euberdeveloper/eslint-plugin":{repository:"https://github.com/euberdeveloper/eslint-plugin"},"@euberdeveloper/eslint-plugin-slim":{repository:"https://github.com/euberdeveloper/eslint-plugin"},"@evojs/eslint-plugin":{repository:"https://github.com/evotool/js-eslint-plugin"},"@ezcater/eslint-plugin-recipe":{repository:"https://github.com/ezcater/recipe"},"@fable/eslint-plugin-implicit-dependencies":{repository:"https://github.com/fablestudios/eslint-plugin-implicit-dependencies"},"@fabriece/eslint-plugin-react-typescript":{repository:"https://github.com/sfabriece/eslint-plugin-react-typescript"},"@fasttime/eslint-plugin":{repository:"https://github.com/fasttime/eslint-plugin"},"@feature-driven/eslint-plugin":{repository:"https://github.com/feature-driven/eslint-config"},"@feature-sliced/eslint-plugin-messages":{repository:"https://github.com/feature-sliced/eslint-config"},"@fellow/eslint-plugin-coffee":{repository:"https://github.com/aminland/eslint-plugin-coffee"},"@fengyinchao/eslint-plugin-custom":{repository:"https://github.com/fengyinchao/eslint-plugin-custom"},"@ferocia-oss/eslint-plugin":{repository:"https://github.com/ferocia/eslint-plugin"},"@fezvrasta/eslint-plugin-no-iife":{repository:"https://github.com/FezVrasta/eslint-plugin-no-iife"},"@fictiv/eslint-plugin-import":{repository:"https://github.com/benmosher/eslint-plugin-import"},"@fingerartur/eslint-plugin-import":{repository:"https://github.com/import-js/eslint-plugin-import"},"@finos/eslint-plugin-legend-studio":{repository:"https://github.com/finos/legend-studio"},"@fintechstudios/eslint-plugin-chai-as-promised":{repository:"https://github.com/fintechstudios/eslint-plugin-chai-as-promised"},"@flowio/eslint-plugin-flowio":{repository:"https://github.com/flowcommerce/eslint-plugin-flowio"},"@floydspace/eslint-plugin-rules":{repository:"https://github.com/floydspace/eslint-plugin-rules"},"@fltri/eslint-plugin-local-rules":{repository:"https://github.com/idaho/fltri-eslint-plugin-local-rules"},"@fluentui/eslint-plugin":{repository:"https://github.com/microsoft/fluentui"},"@fluentwind/eslint-plugin-vue-i18n":{repository:"https://github.com/fluentwind/eslint-plugin-vue-i18n"},"@flycode-org/eslint-plugin-react-i18next":{repository:"https://github.com/flycode-org/eslint-plugin-react-i18next"},"@forxtu/eslint-plugin-react-native-a11y":{repository:"https://github.com/forxtu/fx2-eslint-plugin-react-native-a11y"},"@foxglove/eslint-plugin":{repository:"https://github.com/foxglove/eslint-plugin"},"@frogeducation/eslint-plugin-jquery-compat":{repository:"https://github.com/frogeducation/eslint-plugin-jquery-compat"},"@frux/eslint-plugin":{repository:"https://github.com/frux/dotfiles"},"@fuelrats/eslint-plugin":{repository:"https://github.com/FuelRats/eslint-config-fuelrats"},"@funboxteam/eslint-plugin-no-only-tests":{repository:"https://github.com/funbox/eslint-plugin-no-only-tests"},"@fundingoptions/eslint-plugin-funding-options":{repository:"https://github.com/FundingOptions/eslint-plugin-funding-options"},"@furugomu/eslint-plugin":{repository:"https://github.com/furugomu/eslint-plugin"},"@fuzeman/eslint-plugin-import":{repository:"https://github.com/fuzeman/eslint-plugin-import"},"@fz6m/eslint-plugin-sakina":{repository:"https://github.com/xn-sakina/eslint-plugin-sakina"},"@gamechanger/eslint-plugin":{repository:"https://github.com/gamechanger/lint"},"@geekie/eslint-plugin":{repository:"https://github.com/geekie/eslint-plugin"},"@genus-machina/eslint-plugin-node":{repository:"https://github.com/genus-machina/eslint-plugin-node"},"@getify/eslint-plugin-proper-arrows":{repository:"https://github.com/getify/eslint-plugin-proper-arrows"},"@getify/eslint-plugin-proper-ternary":{repository:"https://github.com/getify/eslint-plugin-proper-ternary"},"@getstation/eslint-plugin-markdown":{repository:"https://github.com/eslint/eslint-plugin-markdown"},"@glimmerx/eslint-plugin":{repository:"https://github.com/glimmerjs/glimmer-experimental"},"@godaddy/eslint-plugin-react-intl":{repository:"https://github.com/godaddy/eslint-plugin-react-intl"},"@gomarky/eslint-plugin-no-const-enum":{repository:"https://github.com/GoMarky/eslint-no-const-enum"},"@goodforonefare/eslint-plugin-shopify":{repository:"https://github.com/Shopify/eslint-plugin-shopify"},"@graphql-eslint/eslint-plugin":{repository:"https://github.com/B2o5T/graphql-eslint"},"@gravitywelluk/eslint-plugin":{repository:"https://github.com/GravitywellUK/eslint-plugin"},"@gravitywelluk/eslint-plugin-test":{repository:"https://github.com/GravitywellUK/eslint-plugin"},"@greguintow/eslint-plugin-nestjs-typed":{repository:"https://github.com/greguintow/eslint-plugin-nestjs-typed"},"@griffel/eslint-plugin":{repository:"https://github.com/microsoft/griffel"},"@grncdr/eslint-plugin-react-hooks":{repository:"https://github.com/facebook/react"},"@guardian/eslint-plugin-source-foundations":{repository:"https://github.com/guardian/source"},"@guardian/eslint-plugin-source-react-components":{repository:"https://github.com/guardian/source"},"@h4iuiuc/eslint-plugin":{repository:"https://github.com/hack4impact-uiuc/eslint-plugin"},"@hack4impact-uiuc/eslint-plugin":{repository:"https://github.com/hack4impact-uiuc/eslint-plugin"},"@hallettj/eslint-plugin-ts-graphql":{repository:"https://github.com/Originate/eslint-plugin-ts-graphql"},"@hannoeru/eslint-plugin":{repository:"https://github.com/hannoeru/eslint-config"},"@hapi/eslint-plugin":{repository:"https://github.com/hapijs/eslint-plugin"},"@hd-ui/eslint-plugin-hd-ui":{repository:"https://github.com/hd-ui/hd-ui"},"@hh.ru/eslint-plugin-import-rules":{repository:"https://github.com/hhru/eslint-plugin-import-rules"},"@hi18n/eslint-plugin":{repository:"https://github.com/wantedly/hi18n"},"@hirasaki/eslint-plugin-coding-rules":{repository:"https://github.com/hirasaki1985/eslint-plugin-coding-rules"},"@hn-ui/eslint-plugin-hn-ui":{repository:"https://github.com/hn-ui/hn-ui"},"@homer0/eslint-plugin":{repository:"https://github.com/homer0/packages"},"@hrax/eslint-plugin-now-best-practices":{repository:"https://github.com/hrax/eslint-plugin-now-best-practices"},"@html-eslint/eslint-plugin":{repository:"https://github.com/yeonjuan/html-eslint"},"@hypnosphi/eslint-plugin-import":{repository:"https://github.com/benmosher/eslint-plugin-import"},"@hypnosphi/eslint-plugin-react":{repository:"https://github.com/yannickcr/eslint-plugin-react"},"@iameax/eslint-plugin":{repository:"https://github.com/iameax/eslint-plugin-code-style"},"@iameax/eslint-plugin-code-style":{repository:"https://github.com/iameax/eslint-plugin-code-style"},"@iamstarkov/eslint-plugin-require-path-exists":{repository:"https://github.com/BohdanTkachenko/eslint-plugin-require-path-exists"},"@ianwremmel/eslint-plugin-ianwremmel":{repository:"https://github.com/ianwremmel/eslint-plugin-ianwremmel"},"@igneel64/eslint-plugin-dangerous":{repository:"https://github.com/igneel64/eslint-plugin-dangerous"},"@int-component/eslint-plugin-vue-require-id-attr":{repository:"https://github.com/linkerGitHub/eslint-plugin-vue-require-id-attr"},"@interactive-solutions/eslint-plugin-eslint-react":{repository:"https://github.com/interactive-solutions/interactive-solutions-mono"},"@intlify/eslint-plugin-svelte":{repository:"https://github.com/intlify/eslint-plugin-svelte"},"@intlify/eslint-plugin-vue-i18n":{repository:"https://github.com/intlify/eslint-plugin-vue-i18n"},"@itgenio/eslint-plugin-import":{repository:"https://github.com/benmosher/eslint-plugin-import"},"@itwin/eslint-plugin":{repository:"https://github.com/iTwin/itwinjs-core"},"@jakzo/eslint-plugin":{repository:"https://github.com/jakzo/things"},"@jamashita/eslint-plugin":{repository:"https://github.com/jamashita/eslint-plugin"},"@jambit/eslint-plugin-typed-redux-saga":{repository:"https://github.com/jambit/eslint-plugin-typed-redux-saga"},"@jankuca/eslint-plugin-react-usecallback":{repository:"https://github.com/jankuca/eslint-plugin-react-usecallback"},"@jaredmcateer/eslint-plugin-shouldjs":{repository:"https://github.com/jaredmcateer/eslint-plugin-shouldjs"},"@jdb8/eslint-plugin-monorepo":{repository:"https://github.com/jdb8/eslint-plugin-monorepo"},"@jetbrains/eslint-plugin-angular":{repository:"https://github.com/Gillespie59/eslint-plugin-angularjs"},"@jl917/eslint-plugin-jl":{repository:"https://github.com/jl917/eslint-plugin-jl"},"@joshbcondie/eslint-plugin":{repository:"https://github.com/joshbcondie/eslint-plugin"},"@joyeecheung/eslint-plugin-node-core":{repository:"https://github.com/joyeecheung/eslint-plugin-node-core"},"@jsx-lite/eslint-plugin":{repository:"https://github.com/BuilderIO/jsx-lite"},"@jupyterlab/eslint-plugin-jinja":{repository:"https://github.com/alexkuz/eslint-plugin-jinja"},"@kablamo/eslint-plugin":{repository:"https://github.com/KablamoOSS/kerosene"},"@kaciras/eslint-plugin":{repository:"https://github.com/Kaciras/eslint-config-kaciras"},"@kapouer/eslint-plugin-no-return-in-loop":{repository:"https://github.com/kapouer/eslint-plugin-no-return-in-loop"},"@kargotech/eslint-plugin-internal":{repository:"https://github.com/kargotech/web-project-configs"},"@katoid/eslint-plugin":{repository:"https://github.com/katoid/eslint"},"@kejistan/eslint-plugin-relay":{repository:"https://github.com/kejistan/eslint-plugin-relay"},"@kentcdodds/eslint-plugin-react":{repository:"https://github.com/yannickcr/eslint-plugin-react"},"@kfed/eslint-plugin-i18n":{repository:"https://github.com/Kyr/eslint-plugin-i18n"},"@khanacademy/eslint-plugin":{repository:"https://github.com/Khan/eslint-plugin-khan"},"@kiwi/eslint-plugin":{repository:"https://github.com/kaisermann/kiwi"},"@kmdavis/eslint-plugin-sort-imports":{repository:"https://github.com/kmdavis/eslint-plugin-sort-imports"},"@kollabit/eslint-plugin":{repository:"https://github.com/ionic-team/stencil-eslint"},"@kraftr/eslint-plugin":{repository:"https://github.com/kraftrio/kraftr"},"@kraftvaerk/eslint-plugin-guidelines":{repository:"https://github.com/kraftvaerk/eslint-plugin-guidelines"},"@ksjogo/eslint-plugin-import":{repository:"https://github.com/benmosher/eslint-plugin-import"},"@kunlunjs/eslint-plugin":{repository:"https://github.com/turing-fe/kunlun-eslint-plugin"},"@kusotenpa/eslint-plugin":{repository:"https://github.com/kusotenpa/eslint-plugin"},"@kyleshevlin/eslint-plugin":{repository:"https://github.com/kyleshevlin/eslint-plugin"},"@kzmat/eslint-plugin-commentout":{repository:"https://github.com/kzmat/eslint-plugin-commentout"},"@layout-css/eslint-plugin-styled-components":{repository:"https://github.com/studiosciences/layout-css"},"@lbwa/eslint-plugin":{repository:"https://github.com/lbwa/eslint-plugin"},"@lcooper/eslint-plugin":{repository:"https://github.com/luciancooper/eslint-configs"},"@lewisl9029/eslint-plugin-react-hooks":{repository:"https://github.com/facebook/react"},"@lewisl9029/eslint-plugin-react-hooks-for-react-anonymous":{repository:"https://github.com/facebook/react"},"@lifeomic/eslint-plugin-frontend":{repository:"https://github.com/lifeomic/eslint-plugin-frontend"},"@lifeomic/eslint-plugin-i18next":{repository:"https://github.com/lifeomic/eslint-plugin-i18next"},"@lifeomic/eslint-plugin-node":{repository:"https://github.com/lifeomic/eslint-plugin-node"},"@liferay/eslint-plugin":{repository:"https://github.com/liferay/liferay-frontend-projects"},"@lights-on-io/eslint-plugin":{repository:"https://github.com/lights-on-io/oss"},"@lightscript/eslint-plugin":{repository:"https://github.com/wcjohnson/lightscript-eslint"},"@limegrass/eslint-plugin-import-alias":{repository:"https://github.com/Limegrass/eslint-plugin-import-alias"},"@lint-md/eslint-plugin":{repository:"https://github.com/lint-md/eslint-plugin"},"@lint-ts-index/eslint-plugin":{repository:"https://github.com/bbenoist/lint-ts-index"},"@logicalhq/eslint-plugin":{repository:"https://github.com/logicalhq/eslint-plugin"},"@logicsoftware/eslint-plugin-ep-custom":{repository:"https://github.com/LogicSoftware/eslint-plugin-ep-custom"},"@lokalise/eslint-plugin":{repository:"https://github.com/lokalise/eslint-plugin"},"@ludus/eslint-plugin":{repository:"https://github.com/kredati/ludus"},"@luma-dev/eslint-plugin-svelte3":{repository:"https://github.com/luma-dev/luma-style-guide"},"@lwc/eslint-plugin-lwc":{repository:"https://github.com/salesforce/eslint-plugin-lwc"},"@m6web/eslint-plugin-i18n":{repository:"https://github.com/M6Web/eslint-plugin-m6web-i18n"},"@maccuaa/eslint-plugin-i18n-json":{repository:"https://github.com/godaddy/eslint-plugin-i18n-json"},"@magicspace/eslint-plugin":{repository:"https://github.com/makeflow/magicspace"},"@manu-xav/eslint-plugin-prettier-vue":{repository:"https://github.com/meteorlxy/eslint-plugin-prettier-vue"},"@manuth/eslint-plugin-typescript":{repository:"https://github.com/manuth/ESLintPresets"},"@mapbox/eslint-plugin-script-tags":{repository:"https://github.com/mapbox/eslint-plugin-script-tags"},"@mapbox/eslint-plugin-stickler":{repository:"https://github.com/mapbox/stickler"},"@mariosetenal/eslint-plugin-css-modules":{repository:"https://github.com/atfzl/eslint-plugin-css-modules"},"@marudor/eslint-plugin-header":{repository:"https://github.com/Stuk/eslint-plugin-header"},"@materya/eslint-plugin":{repository:"https://github.com/materya/eslint-config"},"@matsgottenbos/eslint-plugin-import-alias":{repository:"https://github.com/matsgottenbos/eslint-plugin-import-alias"},"@max-revops/eslint-plugin-testing-library":{repository:"https://github.com/max-revops/eslint-plugin-testing-library"},"@max-revops/eslint-plugin-testing-library-revops":{repository:"https://github.com/max-revops/eslint-plugin-testing-library-revops"},"@medflyt/eslint-plugin-graphql-type-checker":{repository:"https://github.com/MedFlyt/eslint-plugin-graphql-type-checker"},"@medux/eslint-plugin-recommended":{repository:"https://github.com/wooline/medux"},"@mesteche/eslint-plugin-neat-ternaries":{repository:"https://github.com/mesteche/eslint-plugin-ternary"},"@michaeljaltamirano/eslint-plugin":{repository:"https://github.com/michaeljaltamirano/eslint-plugin"},"@michaelkramer/eslint-plugin-facepalm":{repository:"https://github.com/michaelkramer/eslint-plugin-facepalm"},"@microsoft/eslint-plugin-sdl":{repository:"https://github.com/microsoft/eslint-plugin-sdl"},"@minar-kotonoha/eslint-plugin-react-directives":{repository:"https://github.com/chengzhuo5/eslint-plugin-react-directives"},"@mizdra/eslint-plugin-layout-shift":{repository:"https://github.com/mizdra/eslint-plugin-layout-shift"},"@mkusaka/eslint-plugin-prefer-type-annotate":{repository:"https://github.com/mkusaka/eslint-plugin-prefer-type-annotate"},"@mll-lab/eslint-plugin":{repository:"https://github.com/mll-lab/eslint-plugin"},"@moneteam/eslint-plugin-nestjs":{repository:"https://github.com/NarHakobyan/eslint-plugin-nestjs"},"@moneyforward/code-review-action-eslint-plugin":{repository:"https://github.com/moneyforward/eslint-action"},"@mongodb-js/eslint-plugin-compass":{repository:"https://github.com/mongodb-js/compass"},"@mparticle/eslint-plugin":{repository:"https://github.com/mparticle/eslint-plugin"},"@mpxjs/eslint-plugin-mpx":{repository:"https://github.com/mpx-ecology/eslint-plugin-mpx"},"@mufan/eslint-plugin":{repository:"https://github.com/makeflow/mufan-code"},"@mysticatea/eslint-plugin":{repository:"https://github.com/mysticatea/eslint-plugin"},"@mysticatea/eslint-plugin-vue":{repository:"https://github.com/mysticatea/eslint-plugin-vue-trial"},"@nacho008/eslint-plugin-dynamic-media-children":{repository:"https://github.com/nacho008/eslint-plugin-dynamic-media-children"},"@naturacosmeticos/eslint-plugin-i18n-checker":{repository:"https://github.com/natura-cosmeticos/eslint-plugin-i18n-checker"},"@nbsolutions/eslint-plugin":{repository:"https://github.com/nbsolutions-ca/eslint-plugin"},"@neatfreak/eslint-plugin":{repository:"https://github.com/freakyneat/neatfreak"},"@netless/eslint-plugin":{repository:"https://github.com/netless-io/eslint-plugin"},"@netless/eslint-plugin-netless":{repository:"https://github.com/netless-io/eslint-plugin-netless"},"@netsells/eslint-plugin-require-jsdoc-except":{repository:"https://github.com/netsells/eslint-plugin-require-jsdoc-except"},"@newrelic/eslint-plugin-newrelic":{repository:"https://github.com/NewRelic/eslint-plugin-newrelic"},"@next/eslint-plugin-next":{repository:"https://github.com/vercel/next.js"},"@nextcloud/eslint-plugin":{repository:"https://github.com/nextcloud/eslint-plugin"},"@nextnextools/nextools-eslint-plugin":{repository:"https://github.com/nextnextools/metarepo"},"@nexxtway/eslint-plugin-rainbow":{repository:"https://github.com/nexxtway/eslint-plugin-rainbow"},"@ngbasics/eslint-plugin":{repository:"https://github.com/fruchtzwerg/ngbasics"},"@ngneat/eslint-plugin-reactive-forms":{repository:"https://github.com/ngneat/reactive-forms"},"@nice-move/eslint-plugin-html":{repository:"https://github.com/nice-move/eslint-plugin-html"},"@nisje/eslint-plugin":{repository:"https://github.com/nisje/styleguide-javascript"},"@nlib/eslint-plugin":{repository:"https://github.com/nlibjs/eslint-plugin"},"@nod/eslint-plugin-nod":{repository:"https://github.com/NOD-studios/eslint-plugin-nod"},"@notarize/eslint-plugin-react-intl-ensure":{repository:"https://github.com/notarize/eslint-plugin-react-intl-ensure"},"@novemberborn/eslint-plugin-as-i-preach":{repository:"https://github.com/novemberborn/as-i-preach"},"@nozbe/eslint-plugin-nozbe":{repository:"https://github.com/Nozbe/eslint-plugin-nozbe"},"@nrwl/eslint-plugin-nx":{repository:"https://github.com/nrwl/nx"},"@numso/eslint-plugin-import":{repository:"https://github.com/numso/eslint-plugin-import"},"@octogonz/eslint-plugin":{repository:"https://github.com/typescript-eslint/typescript-eslint"},"@olsonpm/eslint-plugin-import":{repository:"https://github.com/import-js/eslint-plugin-import"},"@onekeyfe/eslint-plugin-literal-blacklist":{repository:"https://github.com/OneKeyHQ/literal-blacklist"},"@opencreek/eslint-plugin-nextjs":{repository:"https://github.com/opencreek/eslint-plugin-ts"},"@opencreek/eslint-plugin-storybook":{repository:"https://github.com/opencreek/eslint-plugin-ts"},"@opencreek/eslint-plugin-ts":{repository:"https://github.com/opencreek/eslint-plugin-ts"},"@openlayers/eslint-plugin":{repository:"https://github.com/openlayers/eslint-plugin"},"@operation_code/eslint-plugin-custom-rules":{repository:"https://github.com/operationcode/configs"},"@originate/eslint-plugin-ts-graphql":{repository:"https://github.com/Originate/eslint-plugin-ts-graphql"},"@orzechowskid/eslint-plugin-typelint":{repository:"https://github.com/orzechowskid/eslint-plugin-typelint"},"@ota-meshi/eslint-plugin":{repository:"https://github.com/ota-meshi/eslint-plugin"},"@ota-meshi/eslint-plugin-svelte":{repository:"https://github.com/ota-meshi/eslint-plugin-svelte"},"@ottofeller/eslint-plugin-ottofeller":{repository:"https://github.com/ottofeller/eslint-plugin-ottofeller"},"@pathscale/eslint-plugin-vue3":{repository:"https://github.com/pathscale/eslint-plugin-vue3"},"@paztis/eslint-plugin-import":{repository:"https://github.com/benmosher/eslint-plugin-import"},"@pdq/eslint-plugin-pdq":{repository:"https://github.com/pdq/eslint-plugin-pdq"},"@peeky/eslint-plugin":{repository:"https://github.com/Akryum/peeky"},"@percolate/eslint-plugin":{repository:"https://github.com/percolate/blend"},"@pgilad/eslint-plugin-react-redux":{repository:"https://github.com/pgilad/eslint-plugin-react-redux"},"@phaphoso/eslint-plugin-dprint":{repository:"https://github.com/mysticatea/eslint-plugin-dprint"},"@phryg1an/eslint-plugin-strict":{repository:"https://github.com/fokye/eslint-plugin-strict"},"@pixellot/eslint-plugin":{repository:"https://github.com/Pixellot/eslint-plugin-pixellot"},"@pob/use-eslint-plugin":{repository:"https://github.com/christophehurpeau/eslint-config-pob"},"@pongo-ui/eslint-plugin":{repository:"https://github.com/PongoAI/pongo-ui"},"@poool/eslint-plugin":{repository:"https://github.com/p3ol/eslint-config"},"@prodo-ai/eslint-plugin":{repository:"https://github.com/prodo-ai/eslint-plugin-prodo"},"@prodo-ai/eslint-plugin-prodo":{repository:"https://github.com/prodo-ai/eslint-plugin-prodo"},"@prodo/eslint-plugin":{repository:"https://github.com/prodo-ai/prodo"},"@profi.co/eslint-plugin":{repository:"https://github.com/profico/eslint-plugin-profico"},"@projectsophon/eslint-plugin-typescript-enum":{repository:"https://github.com/projectsophon/eslint-plugin-typescript-enum"},"@propelinc/eslint-plugin":{repository:"https://github.com/typescript-eslint/typescript-eslint"},"@public-js/eslint-plugin-node":{repository:"https://github.com/public-js/eslint-plugin-node"},"@public-js/eslint-plugin-react-native":{repository:"https://github.com/public-js/eslint-plugin-react-native"},"@qhlab/eslint-plugin":{repository:"https://github.com/QhlabTeam/qhlab-eslint-plugin"},"@qooxdoo/eslint-plugin-qx":{repository:"https://github.com/qooxdoo/eslint-plugin-qx"},"@quero/eslint-plugin-vue":{repository:"https://github.com/quero-edu/guidelines"},"@ranwawa/eslint-plugin":{repository:"https://github.com/ranwawa/configurations"},"@react-native-community/eslint-plugin":{repository:"https://github.com/facebook/react-native"},"@react-native/eslint-plugin-specs":{repository:"https://github.com/facebook/react-native"},"@redguy12/eslint-plugin":{repository:"https://github.com/RedGuy12/configs"},"@redwoodjs/eslint-plugin-redwood":{repository:"https://github.com/redwoodjs/redwood"},"@reflektor/eslint-plugin-react":{repository:"https://github.com/reflektor-digital-inc/eslint-plugin-react"},"@reflektor/eslint-plugin-vue":{repository:"https://github.com/reflektor-digital-inc/eslint-plugin-vue"},"@reggev/eslint-plugin-it-should-be-skipped":{repository:"https://github.com/reggev/it-should-be-skipped"},"@regru/eslint-plugin-jquery-dollar-sign-reference":{repository:"https://github.com/regru/eslint-plugin-jquery-dollar-sign-reference"},"@regru/eslint-plugin-one-var":{repository:"https://github.com/regru/eslint-plugin-one-var"},"@regru/eslint-plugin-prefer-early-return":{repository:"https://github.com/regru/eslint-plugin-prefer-early-return"},"@rensovargas/eslint-plugin-riot":{repository:"https://github.com/rensovargas/eslint-plugin-riot"},"@repo-tooling/eslint-plugin-dprint":{repository:"https://github.com/repo-tooling/eslint"},"@reverecre/eslint-plugin-relay":{repository:"https://github.com/relayjs/eslint-plugin-relay"},"@revved/eslint-plugin-immutable":{repository:"https://github.com/jhusain/eslint-plugin-immutable"},"@rhangai/eslint-plugin":{repository:"https://github.com/rhangai/config"},"@ridedott/eslint-plugin":{repository:"https://github.com/ridedott/eslint-plugin"},"@rimac-technology/eslint-plugin":{repository:"https://github.com/RimacTechnology/eslint-plugin"},"@rinfel/eslint-plugin-unicorn":{repository:"https://github.com/rinfeldev/eslint-plugin-unicorn"},"@rjwadley/eslint-plugin-format-gsap":{repository:"https://github.com/RJWadley/eslint"},"@rnx-kit/eslint-plugin":{repository:"https://github.com/microsoft/rnx-kit"},"@roadmunk/eslint-plugin-roadmunk-custom":{repository:"https://github.com/Roadmunk/eslint-plugin-roadmunk"},"@rogach/eslint-plugin":{repository:"https://github.com/Rogach/rogach-eslint-plugin"},"@romeovs/eslint-plugin-css-modules":{repository:"https://github.com/atfzl/eslint-plugin-css-modules"},"@roq/eslint-plugin":{repository:"https://github.com/roqtech/roq-linter"},"@rushplay/eslint-plugin-objects":{repository:"https://github.com/RushPlay/eslint-plugin-objects"},"@rushstack/eslint-plugin":{repository:"https://github.com/microsoft/rushstack"},"@rushstack/eslint-plugin-packlets":{repository:"https://github.com/microsoft/rushstack"},"@rushstack/eslint-plugin-security":{repository:"https://github.com/microsoft/rushstack"},"@rygine/eslint-plugin-import":{repository:"https://github.com/rygine/eslint-plugin-import"},"@saji/eslint-plugin-brace-rules":{repository:"https://github.com/marek-saji/eslint-plugin-brace-rules"},"@salesforce/eslint-plugin-aura":{repository:"https://github.com/forcedotcom/eslint-plugin-aura"},"@salesforce/eslint-plugin-lightning":{repository:"https://github.com/salesforce/eslint-plugin-lightning"},"@salesforce/eslint-plugin-visualforce":{repository:"https://github.com/forcedotcom/eslint-plugin-visualforce"},"@samual/eslint-plugin-hackmud2":{repository:"https://github.com/samualtnorman/eslint-plugin-hackmud2"},"@santie/eslint-plugin-scheme":{repository:"https://github.com/sieestaa/eslint-plugin-scheme"},"@satel/eslint-plugin":{repository:"https://github.com/SatelCreative/eslint-plugin"},"@sayari/eslint-plugin":{repository:"https://github.com/sayari-analytics/eslint-plugin-sayari"},"@scitotec/eslint-plugin-rules":{repository:"https://github.com/scitotec/eslint-plugin-scitotec-rules"},"@scorpionknifes/eslint-plugin-prettier-vue":{repository:"https://github.com/scorpionknifes/eslint-plugin-prettier-vue"},"@scottnonnenberg/eslint-plugin-thehelp":{repository:"https://github.com/scottnonnenberg/eslint-plugin-thehelp"},"@scrumble-nl/eslint-plugin-scrumble-rules":{repository:"https://github.com/scrumble-nl/eslint-plugin-scrumble-rules"},"@seatentacle/eslint-plugin":{repository:"https://github.com/seatentacle/eslint-plugin"},"@seedcompany/eslint-plugin":{repository:"https://github.com/seedcompany/eslint-plugin"},"@seiyab/eslint-plugin-react-hooks":{repository:"https://github.com/seiyab/react"},"@sentry-internal/eslint-plugin-sdk":{repository:"https://github.com/getsentry/sentry-javascript"},"@sentry-murz/eslint-plugin-sdk":{repository:"https://github.com/getsentry/sentry-javascript"},"@severi/eslint-plugin-sort-imports-es6-autofix":{repository:"https://github.com/schuchertmanagementberatung/eslint-plugin-sort-imports-es6-autofix"},"@sharegate/eslint-plugin-apricot":{repository:"https://github.com/gsoft-inc/sg-eslint-plugin-apricot"},"@sharkykh/eslint-plugin-vue-extra":{repository:"https://github.com/sharkykh/eslint-plugin-vue-extra"},"@shipwreck/eslint-plugin":{repository:"https://github.com/Bounty-Bay/shipwreck"},"@shopify/eslint-plugin":{repository:"https://github.com/Shopify/web-configs"},"@shopify/eslint-plugin-hydrogen":{repository:"https://github.com/Shopify/hydrogen"},"@silverhand/eslint-plugin-fp":{repository:"https://github.com/silverhand-io/eslint-plugin-fp"},"@silvermine/eslint-plugin-silvermine":{repository:"https://github.com/silvermine/eslint-plugin-silvermine"},"@simplysm/eslint-plugin":{repository:"https://github.com/kslhunter/simplysm7"},"@sincronia/eslint-plugin":{repository:"https://github.com/nuvolo/sincronia"},"@singlestore/eslint-plugin-react-hooks-disable-import":{repository:"https://github.com/memsql/eslint-react-hooks-disable-import"},"@sinonjs/eslint-plugin-no-prototype-methods":{repository:"https://github.com/sinonjs/eslint-plugin-no-prototype-methods"},"@skylib/eslint-plugin":{repository:"https://github.com/ilyub/eslint-plugin"},"@softvisio/eslint-plugin":{repository:"https://github.com/softvisio/eslint-plugin"},"@sourcegraph/eslint-plugin-sourcegraph":{repository:"https://github.com/sourcegraph/codemod"},"@spalger/eslint-plugin-import":{repository:"https://github.com/spalger/eslint-plugin-import"},"@spotify/eslint-plugin":{repository:"https://github.com/spotify/web-scripts"},"@sprucelabs/eslint-plugin-spruce":{repository:"https://github.com/sprucelabsai/workspace.sprucebot-skills-kit"},"@starryinternet/eslint-plugin-starry":{repository:"https://github.com/StarryInternet/eslint-plugin-starry"},"@stayradiated/eslint-plugin-prefer-arrow-functions":{repository:"https://github.com/stayradiated/eslint-plugin-prefer-arrow-functions"},"@steadier/eslint-plugin-node":{repository:"https://github.com/tavoyne/steadier"},"@steadier/eslint-plugin-typescript":{repository:"https://github.com/tavoyne/steadier"},"@stencil/eslint-plugin":{repository:"https://github.com/ionic-team/stencil-eslint"},"@storipress/eslint-plugin-block":{repository:"https://github.com/storipress/eslint-plugin-block"},"@straits/eslint-plugin":{repository:"https://github.com/peoro/straits-eslint-plugin"},"@studysync/eslint-plugin-jsx-conditionals":{repository:"https://github.com/julianburr/eslint-plugin-jsx-conditionals"},"@studysync/eslint-plugin-material-ui":{repository:"https://github.com/dkadrios/eslint-plugin-material-ui"},"@studysync/eslint-plugin-persnickety":{repository:"https://github.com/dkadrios/eslint-plugin-persnickety"},"@superdispatch/eslint-plugin":{repository:"https://github.com/superdispatch/js-tools"},"@superdispatch/eslint-plugin-ui":{repository:"https://github.com/superdispatch/ui"},"@susisu/eslint-plugin-safe-typescript":{repository:"https://github.com/susisu/eslint-plugin-safe-typescript"},"@swarmion/eslint-plugin":{repository:"https://github.com/swarmion/swarmion"},"@swissquote/eslint-plugin-swissquote":{repository:"https://github.com/swissquote/crafty"},"@swrlab/eslint-plugin-swr":{repository:"https://github.com/swrlab/eslint-plugin-swr"},"@tablecheck/eslint-plugin":{repository:"https://github.com/tablecheck/tablecheck-react-system"},"@taccolaa/eslint-plugin-typeorm":{repository:"https://github.com/Polyconseil/eslint-plugin-typeorm"},"@tapsellorg/eslint-plugin":{repository:"https://github.com/tapsellorg/eslint-plugin"},"@taskade/eslint-plugin":{repository:"https://github.com/taskade/eslint"},"@teazn/eslint-plugin-teazn":{repository:"https://github.com/teazn/eslint-plugin-teazn"},"@technote-space/eslint-plugin-strict-dependencies":{repository:"https://github.com/technote-space/eslint-plugin-strict-dependencies"},"@theobassan/eslint-plugin":{repository:"https://github.com/theobassan/eslint-plugin"},"@therealklanni/eslint-plugin":{repository:"https://github.com/therealklanni/eslint"},"@thibaudcolas/eslint-plugin-cookbook":{repository:"https://github.com/thibaudcolas/eslint-plugin-cookbook"},"@thorborn/eslint-plugin":{repository:"https://github.com/thorborn-dev/web-configs"},"@thundercraft5/eslint-plugin":{repository:"https://github.com/thundercraft5/eslint-plugin"},"@tinkoff/eslint-plugin":{repository:"https://github.com/TinkoffCreditSystems/linters"},"@tinkoff/eslint-plugin-tramvai":{repository:"https://github.com/TinkoffCreditSystems/tramvai"},"@tinymce/eslint-plugin":{repository:"https://github.com/tinymce/eslint-plugin"},"@tivac/eslint-plugin-svelte":{repository:"https://github.com/tivac/eslint-plugin-svelte"},"@trevorblades/eslint-plugin":{repository:"https://github.com/trevorblades/eslint-plugin"},"@tripphamm/eslint-plugin":{repository:"https://github.com/tripphamm/eslint-plugin-tripphamm"},"@ts-gql/eslint-plugin":{repository:"https://github.com/Thinkmill/ts-gql"},"@twist/eslint-plugin-core":{repository:"https://github.com/adobe/eslint-plugin-twist"},"@tyankatsu0105/eslint-plugin":{repository:"https://github.com/tyankatsu0105/eslint-plugin"},"@tyankatsu0105/eslint-plugin-with-typescript":{repository:"https://github.com/tyankatsu0105/eslint-plugin-with-typescript"},"@typeofweb/eslint-plugin":{repository:"https://github.com/typeofweb/eslint-plugin"},"@types/eslint-plugin-markdown":{repository:"https://github.com/DefinitelyTyped/DefinitelyTyped"},"@types/eslint-plugin-prettier":{repository:"https://github.com/DefinitelyTyped/DefinitelyTyped"},"@typescript-eslint/eslint-plugin":{repository:"https://github.com/typescript-eslint/typescript-eslint"},"@typescript-eslint/eslint-plugin-tslint":{repository:"https://github.com/typescript-eslint/typescript-eslint"},"@ueno/eslint-plugin-internal":{repository:"https://github.com/ueno-llc/styleguide"},"@unemati/eslint-plugin-sort-imports":{repository:"https://github.com/unematiii/eslint-plugin-sort-imports"},"@untitled-engineer/eslint-plugin-lit-a11y":{repository:"https://github.com/open-wc/open-wc"},"@untitled-engineer/eslint-plugin-wc":{repository:"https://github.com/43081j/eslint-plugin-wc"},"@upleveled/eslint-plugin-upleveled":{repository:"https://github.com/upleveled/eslint-plugin-upleveled"},"@uwatch/eslint-plugin":{repository:"https://github.com/uwatch-live/eslint-plugin"},"@vanta-inc/eslint-plugin-vanta":{repository:"https://github.com/VantaInc/eslint-plugin-vanta"},"@versett/eslint-plugin-versett":{repository:"https://github.com/versett/eslint-plugin-versett"},"@vertical-made/eslint-plugin-no-arithmetic":{repository:"https://github.com/vertical-made/eslint-plugin-no-arithmetic"},"@vinsea/eslint-plugin-custom":{repository:"https://github.com/Vinsea/toolkit"},"@vovkasm/eslint-plugin-std":{repository:"https://github.com/vovkasm/eslint-plugin-std"},"@vtex/eslint-plugin-admin-ui":{repository:"https://github.com/vtex/admin-ui"},"@vue/eslint-plugin":{repository:"https://github.com/vuejs/eslint-plugin-vue"},"@waltari/eslint-plugin-ban-realm-spread":{repository:"https://github.com/Waltari10/eslint-plugin-ban-realm-spread"},"@washingtonpost/eslint-plugin-wpds":{repository:"https://github.com/washingtonpost/wpds-ui-kit"},"@web-bee-ru/eslint-plugin":{repository:"https://github.com/web-bee-ru/eslint-plugin"},"@web-configs/eslint-plugin":{repository:"https://github.com/thundermiracle/web-configs"},"@weex-project/eslint-plugin-weex-bundle":{repository:"https://github.com/Hanks10100/eslint-plugin-weex-bundle"},"@weiran.zsd/eslint-plugin-node":{repository:"https://github.com/weiran-zsd/eslint-plugin-node"},"@welldone-software/eslint-plugin":{repository:"https://github.com/welldone-software/eslint-plugin-welldone"},"@wikimedia/eslint-plugin-jquery":{repository:"https://github.com/wikimedia/eslint-plugin-jquery"},"@withbluedot/eslint-plugin-ghost":{repository:"https://github.com/TryGhost/eslint-plugin-ghost"},"@wogns3623/eslint-plugin-better-exhaustive-deps":{repository:"https://github.com/wogns3623/eslint-plugin-better-exhaustive-deps"},"@woocommerce/eslint-plugin":{repository:"https://github.com/woocommerce/woocommerce-admin"},"@wordpress/eslint-plugin":{repository:"https://github.com/WordPress/gutenberg"},"@xcritical/eslint-plugin-xcritical":{repository:"https://github.com/xcritical-software/xc-front-presets"},"@xianzhengquan/vite-eslint-plugin":{repository:"https://github.com/XianZhengquan/vite-plugin-eslint"},"@xtrctio/eslint-plugin-disallow-date":{repository:"https://github.com/xtrctio/eslint-plugin-disallow-date"},"@yolkai/eslint-plugin-nx":{repository:"https://github.com/nrwl/nx"},"@yonycalsin/eslint-plugin-import-sort":{repository:"https://github.com/yonycalsin/eslint-config"},"@younho9/eslint-plugin":{repository:"https://github.com/younho9/eslint-plugin"},"@z-brain/eslint-plugin-z-brain":{repository:"https://github.com/z-brain/eslint-plugin-z-brain"},"@zamiell/eslint-plugin-comment-length":{repository:"https://github.com/lasselupe33/eslint-plugin-comment-length"},"@zhike/eslint-plugin":{repository:"https://github.com/zhike-team/eslint-plugin-zhike"},"@znemz/eslint-plugin-nem":{repository:"https://github.com/nmccready/eslint-plugin-nem"},"@zsoltszavo/eslint-plugin-import-lines":{repository:"https://github.com/zsoltszavo/eslint-plugin-import-lines"},"@zstark/eslint-plugin-zstark":{repository:"https://github.com/PinghuaZhuang/zstark"},abbyy:{repository:"https://github.com/jim-y/eslint-plugin-abbyy"},"absolute-imports":{repository:"https://github.com/jchen1/eslint-plugin-absolute-imports"},"absolute-imports-only":{repository:"https://github.com/fr0stf0x/eslint-plugin-absolute-imports"},"absolute-only":{repository:"https://github.com/jpwallace22/eslint-plugin-absolute-only"},actano:{repository:"https://github.com/actano/eslint-plugin-actano"},actions:{repository:"https://github.com/ylemkimon/eslint-plugin-actions"},actool:{repository:"https://github.com/actool/eslint-plugin-actool"},"ad-hok":{repository:"https://github.com/helixbass/eslint-plugin-ad-hok"},adeira:{repository:"https://github.com/adeira/universe"},adonis:{repository:"https://github.com/AdonisCommunity/eslint-plugin-adonis"},"adventure-land":{repository:"https://github.com/davidtimmons/eslint-plugin-adventure-land"},"agoda-compat":{repository:"https://github.com/amilajack/eslint-plugin-compat"},agpl:{repository:"https://github.com/ArekZc/eslint-plugin-agpl"},agree:{repository:"https://github.com/ast2018/eslint-plugin-agree"},"ahaha-miniprogram":{repository:"https://github.com/littleprincewdk/eslint-plugin-ahaha-miniprogram"},airbnb:{repository:"https://github.com/npm/security-holder"},"airbnb-base":{repository:"https://github.com/npm/security-holder"},"airbnb-react":{repository:"https://github.com/algesthesiah/eslint-plugin-airbnb-react"},airtight:{repository:"https://github.com/snyk/eslint-plugin-airtight"},ala:{repository:"https://github.com/alaameddeb/ESLint-plugin"},algolia:{repository:"https://github.com/algolia/eslint-plugin-algolia"},ali:{repository:"https://github.com/alibaba/f2e-spec"},"alias-paths":{repository:"https://github.com/mkusaka/eslint-plugin-alias-paths"},align:{repository:"https://github.com/akluball/eslint-plugin-align"},alint:{repository:"https://github.com/AlanFoster/eslint-plugin-alint"},alloy:{repository:"https://github.com/appcelerator/eslint-plugin-alloy"},alphabetize:{repository:"https://github.com/NickHeiner/eslint-plugin-alphabetize"},altair:{repository:"https://github.com/altairtv/eslint-plugin-altair"},always:{repository:"https://github.com/jenssimon/eslint-plugin-always"},"amd-imports":{repository:"https://github.com/jkieboom/eslint-plugin-amd-imports"},ami:{repository:"https://github.com/ami-team/eslint-plugin-ami"},"amphtml-internal":{repository:"https://github.com/npm/security-holder"},analyze:{repository:"https://github.com/th317erd/eslint-plugin-analyze"},angular:{docs:"https://github.com/Gillespie59/eslint-plugin-angularjs/blob/master/docs/rules/",repository:"https://github.com/Gillespie59/eslint-plugin-angularjs"},"angular-data-test-id":{repository:"https://github.com/danielstevenberger/eslint-plugin-angular-data-test-id"},"angular-file-naming":{repository:"https://github.com/takuya-nakayasu/eslint-plugin-angular-file-naming"},"angular-hobbicloud":{repository:"https://github.com/caglarcem/eslint-plugin-angular"},"angular-template-consistent-this":{repository:"https://github.com/jerone/eslint-plugin-angular-template-consistent-this"},angularjs:{repository:"https://github.com/sahibinden/eslint-plugin-angularjs"},ante:{repository:"https://github.com/twuni/eslint-plugin-ante"},"anti-trojan-source":{repository:"https://github.com/lirantal/eslint-plugin-anti-trojan-source"},antony:{repository:"https://github.com/antony1060/lint"},apa:{repository:"https://github.com/lekrans/eslint-plugin-apa"},"apklab-frida":{repository:"https://github.com/avast/eslint-plugin-apklab-frida"},appjson:{repository:"https://github.com/unfold/eslint-config-appjson"},aqsc:{repository:"https://github.com/qdhuadi/eslint-plugin-aqsc"},arcadia:{repository:"https://github.com/salesmessage/javascript"},arguments:{repository:"https://github.com/ronapelbaum/eslint-plugin-arguments"},arista:{repository:"https://github.com/aristanetworks/cloudvision-frontend-config"},arithmetic:{repository:"https://github.com/JonnyBurger/eslint-plugin-arithmetic"},"array-func":{repository:"https://github.com/freaktechnik/eslint-plugin-array-func"},"arrow-function-brace":{repository:"https://github.com/hayawata3626/eslint-plugin-arrow-function-brace"},artistco:{repository:"https://github.com/svengau/eslint-plugin-artistco"},ascii:{repository:"https://github.com/jsus1/eslint-plugin-ascii"},aspida:{repository:"https://github.com/ibuki2003/eslint-plugin-aspida"},asrt:{repository:"https://github.com/pzapalski/asrt"},assignment:{repository:"https://github.com/Chamion/eslint-plugin-assignment"},astro:{repository:"https://github.com/ota-meshi/eslint-plugin-astro"},"async-await":{repository:"https://github.com/59naga/eslint-plugin-async-await"},"atlassian-webapis":{repository:"https://github.com/samhh/eslint-plugin-atlassian-webapis"},"atomic-design":{repository:"https://github.com/RyoNkmr/eslint-plugin-atomic-design"},"atomic-design-hierarchy":{repository:"https://github.com/robinalaerts1/eslint-plugin-atomic-design-hierarchy"},"atomic-redesign":{repository:"https://github.com/recruit-tech/eslint-plugin-atomic-redesign"},attributes:{repository:"https://github.com/xjmforweb/eslint-plugin-attributes"},aurelia:{repository:"https://github.com/bryanrsmith/eslint-plugin-aurelia"},"authing-nestjs":{repository:"https://github.com/Authing/eslint-plugin-nestjs"},"auto-import-ts":{repository:"https://github.com/abstractball/eslint-plugin-auto-import-ts"},autofix:{repository:"https://github.com/aladdin-add/eslint-plugin/tree/master"},automatic:{repository:"https://github.com/gaoxiaosong/eslint-plugin-automatic"},ava:{docs:"https://github.com/avajs/eslint-plugin-ava/blob/main/docs/rules/",repository:"https://github.com/avajs/eslint-plugin-ava"},"avoid-explicit-extension":{repository:"https://github.com/rchougule/eslint-plugin-avoid-explicit-extension"},avol:{repository:"https://github.com/Avol-V/eslint-plugin-avol"},"await-in-async":{repository:"https://github.com/gzzhanghao/eslint-plugin-await-in-async"},"await-require-catch":{repository:"https://github.com/Learn-form-Zakas/eslint-plugin-await-require-catch"},"awesome-lint":{repository:"https://github.com/L1114/eslint-plugin-awesome-lint"},awscdk:{repository:"https://github.com/corymhall/eslint-plugin-awscdk"},axe:{repository:"https://github.com/dequelabs/axe-core"},azumuta:{repository:"https://github.com/Azumuta/eslint-plugin-azumuta"},"azure-sdk":{repository:"https://github.com/npm/security-holder"},babel:{repository:"https://github.com/babel/eslint-plugin-babel"},backk:{repository:"https://github.com/backk-node/eslint-plugin-backk"},backpack:{repository:"https://github.com/Skyscanner/eslint-plugin-backpack"},"bad-smells":{repository:"https://github.com/lucas-paiva98/eslint-plugin-bad-smells"},"baitshop-hooks":{repository:"https://github.com/aarongoin/eslint-plugin-baitshop-hooks"},bam:{repository:"https://github.com/bamlab/eslint-plugin-bam"},ban:{docs:"https://github.com/remithomas/eslint-plugin-ban/blob/master/docs/rules/",repository:"https://github.com/remithomas/eslint-plugin-ban"},"ban-package-import":{repository:"https://github.com/AlexandrKrivosheev/eslint-plugin-ban-package-import"},banno:{repository:"https://github.com/Banno/eslint-plugin-banno"},barm:{repository:"https://github.com/BARMPlus/eslint-plugin-barm"},basad:{repository:"https://github.com/EdenGottlieb/eslint-plugin-basad"},"base-style-config":{repository:"https://github.com/gmullerb/base-style-config"},baseui:{repository:"https://github.com/uber/baseweb"},"basic-kiva":{repository:"https://github.com/SystemLight/eslint-kiva"},bbva:{repository:"https://github.com/BBVAEngineering/javascript"},"be-consistent":{repository:"https://github.com/designfrontier/eslint-consistent"},"beautiful-imports":{repository:"https://github.com/sergeyshpadyrev/eslint-plugin-beautiful-imports"},"beautiful-sort":{repository:"https://github.com/allohamora/eslint-plugin-beautiful-sort"},belgradian:{repository:"https://github.com/proctorio/eslint-plugin-belgradian.js"},"bem-xjst":{repository:"https://github.com/bem/eslint-plugin-bem-xjst"},benderthecrime:{repository:"https://github.com/benderTheCrime/eslint-plugin-benderthecrime"},bes:{repository:"https://github.com/ykshang/eslint-custom-rule"},bestpractice:{repository:"https://github.com/strawlion/eslint-plugin-bestpractice"},"better-align":{repository:"https://github.com/CGQAQ/eslint-rule-import-align"},"better-dates":{repository:"https://github.com/chdsbd/eslint-plugin-better-dates"},"better-mutation":{repository:"https://github.com/sloops77/eslint-plugin-better-mutation"},"better-styled-components":{repository:"https://github.com/siffogh/eslint-plugin-better-styled-components"},"big-number-rules":{repository:"https://github.com/shuckster/eslint-plugin-big-number-rules"},bitrefill:{repository:"https://github.com/bitrefill/eslint-plugin-bitrefill"},"blank-line":{repository:"https://github.com/xbdtb/eslint-plugin-blank-line"},"block-function-spacing":{repository:"https://github.com/mgeraci/eslint-plugin-block-function-spacing"},"bof-newline":{repository:"https://github.com/lucastaliberti/eslint-plugin-bof-newline"},bonk2:{repository:"https://github.com/escorponox/eslint-plugin-bonk2"},botland:{repository:"https://github.com/freaktechnik/eslint-plugin-botland"},boundaries:{repository:"https://github.com/javierbrea/eslint-plugin-boundaries"},boyscout:{repository:"https://github.com/nicolaslt/eslint-plugin-boyscout"},"bpmn-io":{repository:"https://github.com/bpmn-io/eslint-plugin-bpmn-io"},brackets:{repository:"https://github.com/kentor/eslint-plugin-brackets"},"breakaway-eslint-plugin-patternfly-react":{repository:"https://github.com/pfbreakaway/breakaway-patternfly-react"},brlt:{repository:"https://github.com/nberlette/eslint-config"},"bs-eslint-rules":{repository:"https://github.com/Ticalie/bs-eslint"},bud:{repository:"https://github.com/samAroundGitHub/eslint-plugin-bud"},budapestian:{repository:"https://github.com/sverweij/eslint-plugin-budapestian"},"build-app":{repository:"https://github.com/gwmccull/eslint-plugin-build-app"},buildium:{repository:"https://github.com/buildium/eslint-plugin-buildium"},"builtin-compat":{repository:"https://github.com/instea/eslint-plugin-builtin-compat"},bullhorn:{repository:"https://github.com/bullhorn/eslint-plugin-bullhorn"},"bus-stuff":{repository:"https://github.com/erikmaday/eslint-config-bus-stuff"},cake:{repository:"https://github.com/sbdchd/eslint-plugin-cake"},caleb:{repository:"https://github.com/calebeby/eslint-config"},"call-func-with-return":{repository:"https://github.com/elvinn/eslint-plugin-call-func-with-return"},callback:{repository:"https://github.com/andreysm/eslint-plugin-callback"},"camelcase-ohm":{repository:"https://github.com/ohmlang/eslint-plugin-camelcase-ohm"},"camunda-licensed":{repository:"https://github.com/camunda/eslint-plugin-camunda-licensed"},caniuse:{repository:"https://github.com/amilajack/eslint-plugin-caniuse"},canonical:{repository:"https://github.com/gajus/eslint-plugin-canonical"},"capital-case":{repository:"https://github.com/tcorley/eslint-plugin-capital-case"},"caps-on":{repository:"https://github.com/or109/eslint-plugin-caps-on"},capture:{repository:"https://github.com/edgarinvillegas/eslint-plugin-capture"},careaxiom:{repository:"https://github.com/umar-muneer/eslint-plugin-careaxiom"},"cascading-imports":{repository:"https://github.com/cheap-glitch/eslint-plugin-cascading-imports"},"cde-ejs-html":{repository:"https://github.com/clubedaentrega/eslint-plugin-cde-ejs-html"},cdk:{repository:"https://github.com/hupe1980/cdkdx"},censor:{repository:"https://github.com/pustovitDmytro/eslint-plugin-censor"},"chai-assert-bdd":{repository:"https://github.com/t-huth/eslint-plugin-chai-assert-bdd"},"chai-asserts":{repository:"https://github.com/orloffv/eslint-plugin-chai-asserts"},"chai-expect":{repository:"https://github.com/turbo87/eslint-plugin-chai-expect"},"chai-expect-keywords":{repository:"https://github.com/gavinaiken/eslint-plugin-chai-expect-keywords"},"chai-friendly":{repository:"https://github.com/ihordiachenko/eslint-plugin-chai-friendly"},chain:{repository:"https://github.com/cenfun/eslint-plugin-chain"},"chakra-ui":{repository:"https://github.com/Monchi/eslint-plugin-chakra-ui"},chalk:{repository:"https://github.com/xuqingkuang/eslint-plugin-chalk"},chameleon:{repository:"https://github.com/vuejs/eslint-plugin-vue"},"chamion-typescript":{repository:"https://github.com/Chamion/eslint-plugin-chamion-typescript"},"change-detection-strategy":{repository:"https://github.com/num13ru/eslint-plugin-change-detection-strategy"},chartjs:{repository:"https://github.com/Manu1400/eslint-plugin-chartjs"},"check-class-name":{repository:"https://github.com/SkyblueWZZQ/eslint-plugin-check-class-name"},"check-diff-chinese":{repository:"https://github.com/pandaCure/lerna"},"check-file":{repository:"https://github.com/DukeLuo/eslint-plugin-check-file"},"check-umi-import":{repository:"https://github.com/ETRick/eslint-plugin-check-umi-import"},chotot:{repository:"https://github.com/chototoss/chotot-web-standards"},"chowa-standard":{repository:"https://github.com/chowa/eslint-plugin-chowa-standard"},cjk:{repository:"https://github.com/bluelovers/ws-eslint"},"ckeditor5-rules":{repository:"https://github.com/ckeditor/ckeditor5-linters-config"},ckhtml:{repository:"https://github.com/BenoitZugmeyer/eslint-plugin-html"},"class-extends":{repository:"https://github.com/wesbaker/eslint-plugin-class-extends"},"class-method-newlines":{repository:"https://github.com/kondi/eslint-plugin-class-method-newlines"},"class-methods-use-this-regex":{repository:"https://github.com/Donov4n/eslint-plugin-class-methods-use-this-regex"},"class-methods-use-this-regexp":{repository:"https://github.com/teryaew/eslint-plugin-class-methods-use-this-regexp"},"class-prefer-methods":{repository:"https://github.com/buildo/eslint-plugin-class-prefer-methods"},"class-types":{repository:"https://github.com/fleck/eslint-plugin-class-types"},classnames:{repository:"https://github.com/fsubal/eslint-plugin-classnames"},"clean-code":{repository:"https://github.com/pksilen/eslint-plugin-clean-code"},"clean-codestyle":{repository:"https://github.com/jsaguet/eslint-plugin-clean-codestyle"},"clean-testing":{repository:"https://github.com/Mjtlittle/eslint-plugin-clean-testing"},"clean-timer":{repository:"https://github.com/littlee/eslint-plugin-clean-timer"},cleanjs:{repository:"https://github.com/eslint-plugin-cleanjs/eslint-plugin-cleanjs"},closure:{repository:"https://github.com/google/eslint-closure"},"closure-library":{repository:"https://github.com/koba04/eslint-plugin-closure-library"},clutter:{repository:"https://github.com/43081j/notneeded"},"code-import-patterns":{repository:"https://github.com/pkerschbaum/eslint-plugin-code-import-patterns"},"code-struct":{repository:"https://github.com/cssmiles/eslint-code-struct"},codebox:{repository:"https://github.com/asn007/eslint-plugin-codebox"},"codebox-jh":{repository:"https://github.com/judithhartmann/eslint-plugin-codebox"},codeceptjs:{repository:"https://github.com/poenneby/eslint-plugin-codeceptjs"},codeceptjs2:{repository:"https://github.com/APshenkin/eslint-plugin-codeceptjs"},codegen:{repository:"https://github.com/mmkal/ts"},coffee:{repository:"https://github.com/helixbass/eslint-plugin-coffee"},"coffee-scope":{repository:"https://github.com/apaleslimghost/eslint-plugin-coffee-scope"},coffeescript:{repository:"https://github.com/a-x-/eslint-plugin-coffeescript"},"coffeescript-es7":{repository:"https://github.com/ovikholt/eslint-plugin-coffeescript"},coherence:{repository:"https://github.com/leonardodino/eslint-plugin-coherence"},coinbase:{repository:"https://github.com/npm/security-holder"},"comment-annotations":{repository:"https://github.com/102/eslint-plugin-comment-annotations"},"comment-length":{repository:"https://github.com/lasselupe33/eslint-plugin-comment-length"},"comment-length-2":{repository:"https://github.com/lasselupe33/eslint-plugin-comment-length"},"comment-reflow":{repository:"https://github.com/jfroelich/eslint-plugin-comment-reflow"},comments:{repository:"https://github.com/lo1tuma/eslint-plugin-comments"},"comments-key":{repository:"https://github.com/ATQQ/eslint-plugin-comments-key"},commonjs:{repository:"https://github.com/d-band/eslint-plugin-commonjs"},"commonjs-require-case":{repository:"https://github.com/charlesbjohnson/eslint-module-plugins"},"commonjs-require-name":{repository:"https://github.com/charlesbjohnson/eslint-module-plugins"},"communist-spelling":{repository:"https://github.com/dprgarner/eslint-plugin-communist-spelling"},community:{repository:"https://github.com/tzellman/eslint-plugin-community"},compat:{docs:"https://github.com/amilajack/eslint-plugin-compat/blob/main/docs/rules/",repository:"https://github.com/amilajack/eslint-plugin-compat"},compfest:{repository:"https://github.com/COMPFEST/eslint-plugin-compfest"},"config-files":{repository:"https://github.com/tyankatsu0105/eslint-plugin-config-files"},"consistent-modules-import":{repository:"https://github.com/kiwi-code/eslint-plugin-consistent-import"},"consistent-subscribe":{repository:"https://github.com/Gvozd/eslint-plugin-consistent-subscribe"},"const-case":{repository:"https://github.com/k03mad/eslint-plugin-const-case"},"const-immutable":{repository:"https://github.com/zeronone/eslint-plugin-const-immutable"},"cookie-often":{repository:"https://github.com/fortune-cook1e/eslint-plugin-cookie-often"},core:{repository:"https://github.com/Braised-Cakes/eslint-plugin-core"},coremail:{repository:"https://github.com/Mailtech/eslint-config-coremail"},couchdb:{repository:"https://github.com/scdf/eslint-plugin-couchdb"},coursera:{repository:"https://github.com/coursera/eslint-plugin-coursera"},crb:{repository:"https://github.com/chrisbreiding/eslint-plugin-crb"},criteo:{repository:"https://github.com/criteo/eslint-plugin-criteo"},css:{repository:"https://github.com/ota-meshi/eslint-plugin-css"},"css-in-js":{repository:"https://github.com/jackyho112/eslint-plugin-css-in-js"},"css-modules":{repository:"https://github.com/atfzl/eslint-plugin-css-modules"},"css-modules-amannn-fork":{repository:"https://github.com/atfzl/eslint-plugin-css-modules"},"css-modules-es":{repository:"https://github.com/csu-feizao/eslint-plugin-css-modules-es"},"css-modules-mariosetenal":{repository:"https://github.com/atfzl/eslint-plugin-css-modules"},"css-reorder":{repository:"https://github.com/myuon/eslint-plugin-css-reorder"},"ct.macro":{repository:"https://github.com/fleck/eslint-plugin-ct.macro"},cucumber:{docs:"https://github.com/darrinholst/eslint-plugin-cucumber/blob/master/docs/rules/",repository:"https://github.com/darrinholst/eslint-plugin-cucumber"},cup:{repository:"https://github.com/rtsao/create-universal-package"},"curly-quotes":{repository:"https://github.com/younesaassila/eslint-plugin-curly-quotes"},curology:{repository:"https://github.com/PocketDerm/eslint-plugin-curology"},"custom-display-name":{repository:"https://github.com/nissy-dev/eslint-plugin-custom-display-name"},"custom-elements":{repository:"https://github.com/github/eslint-plugin-custom-elements"},"custom-jsx-props-order":{repository:"https://github.com/fenbka/eslint-plugin-custom-jsx-props-order"},"custom-prettier":{repository:"https://github.com/shaneu/eslint-plugin-custom-prettier"},"custom-rule":{repository:"https://github.com/imiklos/eslint-plugin-custom-rule"},cwkr:{repository:"https://github.com/cwkr/coding-guidelines"},cx:{repository:"https://github.com/artemdudkin/eslint-plugin-cx"},cxweb:{repository:"https://github.com/metreniuk/eslint-plugin-cxweb"},cypress:{docs:"https://github.com/cypress-io/eslint-plugin-cypress/blob/master/docs/rules/",repository:"https://github.com/cypress-io/eslint-plugin-cypress"},"cypress-dev":{repository:"https://github.com/cypress-io/eslint-plugin-cypress-dev"},"cypress-parallelize":{repository:"https://github.com/vtex/eslint-plugin-cypress-parallelize"},"cypress-test-best-practices":{repository:"https://github.com/lewis-prescott-cruk/eslint-plugin-cypress-test-best-practices"},date:{repository:"https://github.com/HeavenSky/eslint-plugin-date"},"date-timezone":{repository:"https://github.com/msobas/eslint-plugin-date-timezone"},deckgl:{repository:"https://github.com/jstaab/eslint-plugin-deckgl"},"declaration-quotes":{repository:"https://github.com/726b/eslint-plugin-declaration-quotes"},"decorator-position":{repository:"https://github.com/NullVoxPopuli/eslint-plugin-decorator-position"},"define-script":{repository:"https://github.com/eslift/eslint-plugin-define-script"},deku:{repository:"https://github.com/deku-scrubs/eslint-plugin-deku"},"delegated-events":{repository:"https://github.com/dgraham/eslint-plugin-delegated-events"},"deny-some-modules-full-import":{repository:"https://github.com/ZWkang/eslint-plugin-deny-some-modules-full-import"},deoxxa:{repository:"https://github.com/deoxxa/eslint-plugin-deoxxa"},dependencies:{repository:"https://github.com/zertosh/eslint-plugin-dependencies"},"dependency-relation":{repository:"https://github.com/YutamaKotaro/eslint-plugin-dependencies-relation"},deprecate:{repository:"https://github.com/AlexMost/eslint-plugin-deprecate"},"deprecate-import":{repository:"https://github.com/findmypast-oss/eslint-plugin-deprecate-import"},deprecated:{repository:"https://github.com/ayqy/eslint-plugin-deprecated"},deprecation:{repository:"https://github.com/gund/eslint-plugin-deprecation"},"design-system":{repository:"https://github.com/dslounge/eslint-plugin-design-system"},destructuring:{repository:"https://github.com/lukeapage/eslint-plugin-destructuring"},"destructuring-newline":{repository:"https://github.com/kusotenpa/eslint-plugin-destructuring-newline"},"detect-bad-words":{repository:"https://github.com/darwintantuco/eslint-plugin-detect-bad-words"},"detect-haiku":{repository:"https://github.com/sadnessOjisan/eslint-plugin-detect-haiku"},"detect-hard-code":{repository:"https://github.com/felipebruce/detect-hard-code"},"detect-headers-without-current-year":{repository:"https://github.com/felipebruce/detect-headers-without-current-year"},"detect-no-assignment":{repository:"https://github.com/felipebruce/detect-no-assignment"},"detox-bcp":{repository:"https://github.com/wix-incubator/eslint-plugin-detox-bcp"},dfsx:{repository:"https://github.com/dfsxdev/eslint-plugin-dfsx"},diff:{repository:"https://github.com/paleite/eslint-plugin-diff"},dirs:{repository:"https://github.com/Xooone47/eslint-plugin-dirs"},disable:{repository:"https://github.com/mradionov/eslint-plugin-disable"},"disable-autofix":{repository:"https://github.com/chiefmikey/eslint-plugin-disable-autofix"},"disable-features":{repository:"https://github.com/brendenpalmer/eslint-plugin-disable-features"},"disallow-literals-as-jsxelement-children":{repository:"https://github.com/dominiczaq/eslint-plugin-disallow-literals-as-jsxelement-children"},"diversity-inclusion":{repository:"https://github.com/manij89/eslint-plugin-diversity-inclusion"},django:{repository:"https://github.com/benspaulding/eslint-plugin-django"},"document-write":{repository:"https://github.com/phanect/eslint-plugin-no-document-write"},"dollar-sign":{repository:"https://github.com/erikdesjardins/eslint-plugin-dollar-sign"},dollarshaveclub:{repository:"https://github.com/dollarshaveclub/eslint-plugin-dollarshaveclub"},dom:{repository:"https://github.com/amilajack/eslint-plugin-dom"},"double-semi":{repository:"https://github.com/flet/eslint-plugin-double-semi"},"dp-taro-eslint-plugin-taro":{repository:"https://github.com/NervJS/taro"},dprint:{repository:"https://github.com/mysticatea/eslint-plugin-dprint"},drupal:{repository:"https://github.com/theodoreb/eslint-plugin-drupal"},"drupal-contrib":{repository:"https://github.com/coldfrontlabs/eslint-plugin-drupal-contrib"},dtslint:{repository:"https://github.com/cartant/eslint-plugin-dtslint"},duck:{repository:"https://github.com/enkidevs/eslint-plugin-duck"},dulcet:{repository:"https://github.com/khanhduy1407/eslint-plugin-dulcet"},"dynamic-jest-global":{repository:"https://github.com/nickshevr/eslint-plugin-dynamic-jest-global"},"easy-loops":{repository:"https://github.com/bennypowers/eslint-plugin-easy-loops"},ebdd:{repository:"https://github.com/fasttime/eslint-plugin-ebdd"},ecmalist:{repository:"https://github.com/ivangeorgiew/eslint-plugin-ecmalist"},"ecmascript-compat":{repository:"https://github.com/robatwilliams/es-compat"},editorconfig:{repository:"https://github.com/phanect/eslint-plugin-editorconfig"},effector:{repository:"https://github.com/effector/eslint-plugin"},eggache:{repository:"https://github.com/eggjs/eslint-plugin-eggache"},"egrand-vue":{repository:"https://github.com/wuyuweixin/eslint-plugin-egrand-vue"},"ejs-js":{repository:"https://github.com/overlookmotel/eslint-plugin-ejs-js"},ekimlinger:{repository:"https://github.com/ekimlinger/eslint-plugin-ekimlinger"},"elastic-charts":{repository:"https://github.com/npm/security-holder"},"elrond-childapp-bound":{repository:"https://github.com/abeet/eslint-plugin-elrond-childapp-bound"},"email-css-rules":{repository:"https://github.com/taskworld/eslint-plugin-email-css-rules"},ember:{docs:"https://github.com/ember-cli/eslint-plugin-ember/blob/master/docs/rules/",repository:"https://github.com/ember-cli/eslint-plugin-ember"},"ember-cleanup":{docs:"https://github.com/onechiporenko/eslint-plugin-ember-cleanup/blob/master/docs/rules/",repository:"https://github.com/onechiporenko/eslint-plugin-ember-cleanup"},"ember-concurrency":{repository:"https://github.com/simplabs/eslint-plugin-ember-concurrency"},"ember-data":{repository:"https://github.com/npm/security-holder"},"ember-es6-class":{repository:"https://github.com/scalvert/eslint-plugin-ember-es6-class"},"ember-internal":{repository:"https://github.com/Turbo87/eslint-plugin-ember-internal"},"ember-later-lint-rules":{repository:"https://github.com/blb451/ember-later-lint-rules"},"ember-rules-twitch":{repository:"https://github.com/npm/security-holder"},"ember-standard":{repository:"https://github.com/ciena-blueplanet/eslint-plugin-ember-standard"},emmanuel:{repository:"https://github.com/Manu1400/eslint-plugin-emmanuel"},"emotion-utils":{repository:"https://github.com/danielhusar/eslint-plugin-emotion-utils"},"empty-returns":{repository:"https://github.com/aero31aero/eslint-plugin-empty-returns"},enact:{repository:"https://github.com/enactjs/eslint-plugin-enact"},"enchanted-curly":{repository:"https://github.com/kobezzza/eslint-plugin-enchanted-curly"},endpass:{repository:"https://github.com/endpass/endpass-core"},"enforce-test-id-jsx":{repository:"https://github.com/xblurx/eslint-jsx-enforce-test-id"},"engelhorn-sfcc":{repository:"https://github.com/t-huth/eslint-plugin-engelhorn-sfcc"},"enterprise-extras":{repository:"https://github.com/buildertrend/eslint-plugin-enterprise-extras"},env:{repository:"https://github.com/rtsao/eslint-plugin-env"},enzyme:{repository:"https://github.com/giamir/eslint-plugin-enzyme"},"eqeqeq-fix":{repository:"https://github.com/Zamiell/eslint-plugin-eqeqeq-fix"},es:{docs:"https://github.com/mysticatea/eslint-plugin-es/blob/master/docs/rules/",repository:"https://github.com/mysticatea/eslint-plugin-es"},"es-beautifier":{repository:"https://github.com/dai-shi/es-beautifier"},"es-roikoren":{repository:"https://github.com/roikoren755/eslint-plugin-es"},"es-x":{repository:"https://github.com/ota-meshi/eslint-plugin-es-x"},es5:{repository:"https://github.com/nkt/eslint-plugin-es5"},"es5-jquery-lodash":{repository:"https://github.com/NicolasReibnitz/eslint-plugin-es5-jquery-lodash"},es6:{repository:"https://github.com/nadongguri/eslint-plugin-es6"},"es6-recommended":{repository:"https://github.com/mgtitimoli/eslint-plugin-es6-recommended"},escompat:{repository:"https://github.com/keithamus/eslint-plugin-escompat"},"eslint-comments":{docs:"https://github.com/mysticatea/eslint-plugin-eslint-comments/blob/master/docs/rules/",repository:"https://github.com/mysticatea/eslint-plugin-eslint-comments"},"eslint-config":{repository:"https://github.com/g-rath/eslint-plugin-eslint-config"},"eslint-plugin":{docs:"https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/main/docs/rules/",repository:"https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin"},"eslint-vertical-import":{repository:"https://github.com/eydrian/eslint-vertical-import"},esquery:{repository:"https://github.com/suchipi/eslint-plugin-esquery"},etc:{repository:"https://github.com/cartant/eslint-plugin-etc"},etiqa:{repository:"https://github.com/Etiqa/eslint-plugin-etiqa"},evelyn:{repository:"https://github.com/evelynhathaway/eslint-plugin-evelyn"},"event-listener":{repository:"https://github.com/SinLucifer/eslint-plugin-event-listeners"},evernote:{repository:"https://github.com/evernote/eslint-plugin-evernote"},"excel-custom-functions":{repository:"https://github.com/OfficeDev/Office-Addin-Scripts"},"exclude-nunjuck-tags":{repository:"https://github.com/ibrahim12/eslint-plugin-exclude-nunjuck-tags"},"exclude-php-tags":{repository:"https://github.com/Alexnder/eslint-plugin-exclude-php-tags"},"expect-type":{repository:"https://github.com/JoshuaKGoldberg/eslint-plugin-expect-type"},expires:{repository:"https://github.com/digencer/eslint-plugin-expires"},"explicit-comparator":{repository:"https://github.com/sam-parsons/eslint-plugin-explicit-comparator"},"exports-order":{repository:"https://github.com/simonprod/eslint-plugin-exports-order"},ext:{repository:"https://github.com/jiangfengming/eslint-plugin-ext"},extend:{repository:"https://github.com/bregenspan/eslint-plugin-extend"},extended:{repository:"https://github.com/thenativeweb/eslint-plugin-extended"},extendscript:{repository:"https://github.com/adambrgmn/eslint-plugin-extendscript"},extjs:{repository:"https://github.com/burnnat/eslint-plugin-extjs"},extra:{repository:"https://github.com/gevgeny/eslint-plugin-extra"},"extra-syntax":{repository:"https://github.com/th317erd/eslint-plugin-extra-syntax"},fabmanager:{repository:"https://github.com/sleede/fabmanager-rules"},faltest:{repository:"https://github.com/CrowdStrike/faltest"},"fastify-security-rules":{repository:"https://github.com/lirantal/eslint-plugin-security"},"fat-arrow-same-line":{repository:"https://github.com/pzuraq/eslint-plugin-fat-arrow-same-line"},"fb-www":{repository:"https://github.com/aaronabramov/eslint-plugin-fb-www"},fbi:{repository:"https://github.com/fbi-js/eslint-plugin-fbi"},fda:{repository:"https://github.com/meetromb/eslint-plugin-fda"},fest:{repository:"https://github.com/Angmor23/eslint-plugin-fest"},"fetch-options":{repository:"https://github.com/piatra/eslint-plugin-fetch"},"file-header":{repository:"https://github.com/Sekhmet/eslint-plugin-file-header"},"file-layout":{repository:"https://github.com/keik/eslint-plugin-file-layout"},"file-path-comment":{repository:"https://github.com/samelliottdlt/eslint-plugin-file-path-comment"},"file-progress":{repository:"https://github.com/sibiraj-s/eslint-plugin-file-progress"},filename:{repository:"https://github.com/benyasin/eslint-plugin-filename"},"filename-checker":{repository:"https://github.com/amirzenoozi/eslint-plugin-filename-checker"},"filename-consistency":{repository:"https://github.com/wmdanor/eslint-plugin-filename-consistency"},"filename-rules":{repository:"https://github.com/dolsem/eslint-plugin-filename-rules"},filenames:{repository:"https://github.com/selaux/eslint-plugin-filenames"},"filenames-simple":{repository:"https://github.com/epaew/eslint-plugin-filenames-simple"},filesize:{repository:"https://github.com/voltrevo/eslint-plugin-filesize"},"firebase-functions":{repository:"https://github.com/alii/eslint-plugin-firebase-functions"},"fix-deps":{repository:"https://github.com/mitchellhamilton/eslint-plugin-fix-deps"},flipper:{repository:"https://github.com/npm/security-holder"},flow:{repository:"https://github.com/gajus/eslint-plugin-flowtype"},"flow-check":{repository:"https://github.com/marionebl/eslint-plugin-flow-check"},"flow-header":{repository:"https://github.com/eirikurn/eslint-plugin-flow-header"},"flow-missing":{repository:"https://github.com/alburkerk/eslint-plugin-flow-missing"},"flow-typed":{repository:"https://github.com/marudor/eslint-plugin-flow-typed"},"flowspace-es5":{repository:"https://github.com/Flowspace-Team/eslint-plugin-es5"},flowtype:{repository:"https://github.com/gajus/eslint-plugin-flowtype"},"flowtype-comment":{repository:"https://github.com/hczhcz/eslint-plugin-flowtype-comment"},"flowtype-errors":{repository:"https://github.com/amilajack/eslint-plugin-flowtype-errors"},"flowtype-esm":{repository:"https://github.com/ganesankv/eslint-plugin-flowtype"},"flux-standard-actions":{repository:"https://github.com/aosyatnik/eslint-plugin-flux-standard-actions"},fly:{repository:"https://github.com/Hzy0913/eslint-plugin-fly"},folders:{repository:"https://github.com/christopherbradleybanks/eslint-plugin-folders"},"folders-rules":{repository:"https://github.com/yoobic/eslint-plugin-folders-rules"},folders2:{repository:"https://github.com/pajarraco/eslint-plugin-folders2"},foo:{repository:"https://github.com/Time-coding/eslint-plugin-foo"},"for-wtools":{repository:"https://github.com/Wandalen/EslintPluginForWtools"},"forbidden-package":{repository:"https://github.com/Krosantos/eslint-plugin-forbidden-package"},"force-theme-colors":{repository:"https://github.com/martini97/eslint-plugin-force-theme-colors"},"force-void":{repository:"https://github.com/pat841/eslint-plugin-force-void"},"format-message":{repository:"https://github.com/format-message/format-message"},formatjs:{repository:"https://github.com/formatjs/formatjs"},"formatjs-no-id-duplication":{repository:"https://github.com/gopollock/eslint-plugin-formatjs-no-id-duplication"},formatting:{repository:"https://github.com/dugokontov/eslint-plugin-formatting"},"fp-jxl":{repository:"https://github.com/jesterxl/eslint-plugin-fp-jxl"},"fp-ts":{repository:"https://github.com/buildo/eslint-plugin-fp-ts"},"fp-ts-strict":{repository:"https://github.com/SandroMaglione/eslint-plugin-fp-ts-strict"},fpcs:{repository:"https://github.com/flowerpress/eslint-plugin-fpcs"},"frank-eslint-plugin-i18n-json":{repository:"https://github.com/godaddy/eslint-plugin-i18n-json"},freaking:{repository:"https://github.com/iandarling/eslint-plugin-freaking"},"front-require-in-package":{repository:"https://github.com/frontapp/eslint-plugin-require-in-package"},frontend:{repository:"https://github.com/obartra/eslint-plugin-frontend"},fsa:{repository:"https://github.com/joseph-galindo/eslint-plugin-fsa"},"ft-flow":{repository:"https://github.com/flow-typed/eslint-plugin-ft-flow"},ftgp:{repository:"https://github.com/foretagsplatsen/ftgp-eslint"},"full-import":{repository:"https://github.com/mdebbar/eslint-plugin-full-import"},fullfilename:{repository:"https://github.com/litelite/eslint-plugin-fullfilename"},"func-call":{repository:"https://github.com/titarenko/eslint-plugin-func-call"},"func-params-args":{repository:"https://github.com/abdusabri/eslint-plugin-func-params-args"},"function-call-context":{repository:"https://github.com/Glinkis/eslint-plugin-function-call-context"},"function-name":{repository:"https://github.com/legend80s/eslint-plugin-function-name"},"function-return-assigned-name":{repository:"https://github.com/Jephuff/eslint-plugin-function-return-assigned-name"},functional:{repository:"https://github.com/jonaskello/eslint-plugin-functional"},"functional-noshiro-fixed":{repository:"https://github.com/jonaskello/eslint-plugin-functional"},funfp:{repository:"https://github.com/twilson63/eslint-plugin-funfp"},"fuse-box-eslint-plugin":{repository:"https://github.com/DoumanAsh/fuse-box-eslint-plugin"},fxa:{repository:"https://github.com/mozilla/eslint-plugin-fxa"},galaxy:{repository:"https://github.com/CyanSalt/eslint-plugin-galaxy"},gamut:{repository:"https://github.com/Codecademy/gamut"},gatsby:{repository:"https://github.com/SSouik/eslint-plugin-gatsby"},"gatsby-no-static-queries":{repository:"https://github.com/larowlan/eslint-plugin-gatsby-no-static-queries"},gb:{repository:"https://github.com/garyb432/eslint-plugin-gb"},"gcp-samples":{repository:"https://github.com/googleapis/eslint-plugin-gcp-samples"},geekie:{repository:"https://github.com/geekie/eslint-plugin"},geojson:{repository:"https://github.com/arlyn-bones/eslint-plugin-json"},gerhut:{repository:"https://github.com/Gerhut/eslint-plugin-gerhut"},"get-off-my-lawn":{repository:"https://github.com/manovotny/eslint-plugin-get-off-my-lawn"},getsentry:{repository:"https://github.com/getsentry/eslint-plugin-getsentry"},getsize:{repository:"https://github.com/timqha/eslint-plugin-getsize"},gettext:{repository:"https://github.com/appannie/eslint-plugin-gettext"},ghost:{repository:"https://github.com/TryGhost/eslint-plugin-ghost"},github:{repository:"https://github.com/github/eslint-plugin-github"},glip:{repository:"https://github.com/brettpaden/eslint-plugin-glip"},"glob-in-npm-script":{repository:"https://github.com/m-sureshraj/eslint-plugin-glob-in-npm-script"},gm:{repository:"https://github.com/gmfe/eslint-plugin-gm"},gmfe:{repository:"https://github.com/gmfe/eslint-plugin-gmfe"},"good-practices":{repository:"https://github.com/Rahul9046/eslint-plugin-good-practices"},goodeggs:{repository:"https://github.com/goodeggs/eslint-plugin-goodeggs"},"google-camelcase":{repository:"https://github.com/greggman/eslint-plugin-google-camelcase"},googleappsscript:{repository:"https://github.com/selectnull/eslint-plugin-googleappsscript"},googlemaps:{repository:"https://github.com/googlemaps/eslint-plugin-googlemaps"},googshift:{repository:"https://github.com/gberaudo/eslint-plugin-googshift"},grailed:{repository:"https://github.com/npm/security-holder"},grapes:{repository:"https://github.com/Krosantos/eslint-plugin-grapes"},graphql:{repository:"https://github.com/apollostack/eslint-plugin-graphql"},"graphql-next":{repository:"https://github.com/apollostack/eslint-plugin-graphql"},"graphql-optimistic-response":{repository:"https://github.com/bl42/eslint-plugin-graphql-optimistic-response"},"graphql-schema":{repository:"https://github.com/joshuaNathaniel/eslint-plugin-graphql-schema"},gridsome:{repository:"https://github.com/gridsome/eslint-plugin-gridsome"},grind:{repository:"https://github.com/grindjs/eslint-plugin-grind"},grommet:{repository:"https://github.com/grommet/eslint-plugin-grommet"},"grouped-import":{repository:"https://github.com/kairome/eslint-plugin-grouped-import"},"grouped-imports":{repository:"https://github.com/gohabereg/eslint-plugin-grouped-imports"},hackmud:{repository:"https://github.com/apazzolini/eslint-hackmud"},hackmud2:{repository:"https://github.com/KuroTsuto/eslint-plugin-hackmud"},hammerhead:{repository:"https://github.com/LavrovArtem/eslint-plugin-hammerhead"},haraka:{repository:"https://github.com/haraka/haraka-eslint"},harmony:{repository:"https://github.com/unional/eslint-plugin-harmony"},"hash-exempt":{repository:"https://github.com/ckarper/eslint-plugin-hash-exempt"},hbs:{repository:"https://github.com/psbanka/eslint-plugin-hbs"},header:{repository:"https://github.com/Stuk/eslint-plugin-header"},healthier:{repository:"https://github.com/KidkArolis/eslint-plugin-healthier"},"helix-structure":{repository:"https://github.com/jeppeskovsen/eslint-plugin-helix-structure"},hijup:{repository:"https://github.com/hijup/eslint-plugin-hijup"},"hook-break-line":{repository:"https://github.com/meerkat-morecats/eslint-plugin-hook-break-line"},hooks:{repository:"https://github.com/hiukky/eslint-plugin-hooks"},hsl:{repository:"https://github.com/hsl947/eslint-plugin-hsl"},htm:{repository:"https://github.com/rx-ts/eslint"},html:{repository:"https://github.com/BenoitZugmeyer/eslint-plugin-html"},"html-erb":{repository:"https://github.com/pmrotule/eslint-plugin-html-erb"},hydrogen:{repository:"https://github.com/Shopify/hydrogen"},"hydrogen-matt":{repository:"https://github.com/Shopify/hydrogen"},"i-bem-js":{repository:"https://github.com/Realetive/eslint-plugin-i-bem-js"},i18n:{repository:"https://github.com/chejen/eslint-plugin-i18n"},"i18n-checker":{repository:"https://github.com/LuciNyan/eslint-plugin-i18n-checker"},"i18n-json":{repository:"https://github.com/godaddy/eslint-plugin-i18n-json"},"i18n-lingui":{repository:"https://github.com/OkCupid/eslint-plugin-i18n-lingui"},"i18n-plus":{repository:"https://github.com/alandre/eslint-plugin-i18n-plus"},"i18n-text":{repository:"https://github.com/dgraham/eslint-plugin-i18n-text"},"i18n-text-localize":{repository:"https://github.com/dgraham/eslint-plugin-i18n-text"},"i18n-validator":{repository:"https://github.com/OvalMoney/eslint-plugin-i18n-validator"},i18n2:{repository:"https://github.com/imhele/eslint-plugin-i18n2"},i18next:{repository:"https://github.com/edvardchen/eslint-plugin-i18next"},i18nlint:{repository:"https://github.com/B1gF4ceC4t/eslint-plugin-i18nlint"},"icon-button":{repository:"https://github.com/SmallImprovements-OpenSource/eslint-plugin-icon-button"},ideal:{repository:"https://github.com/gyandeeps/eslint-plugin-ideal"},"idiomatic-jsx-u":{repository:"https://github.com/Jgaona/eslint-plugin-idiomatic-jsx"},"ie-jsapi":{repository:"https://github.com/rainAgain/eslint-plugin-ie-jsapi"},"ie-static-methods":{repository:"https://github.com/rfeie/eslint-plugin-ie-static-methods"},ie11:{repository:"https://github.com/Volox/eslint-plugin-ie11"},"ignore-erb-mogix":{repository:"https://github.com/mogix/eslint-plugin-ignore-erb"},"ignore-generated":{repository:"https://github.com/zertosh/eslint-plugin-ignore-generated"},"ignore-generated-and-nolint":{repository:"https://github.com/zertosh/eslint-plugin-ignore-generated-and-nolint"},"ignore-native-decl":{repository:"https://github.com/darahak/eslint-plugin-ignore-native-decl"},ignoreuglify:{repository:"https://github.com/ruanyf/eslint-plugin-ignoreuglify"},immer:{repository:"https://github.com/supremebeing7/eslint-plugin-immer"},"immer-reducer":{repository:"https://github.com/skoshy/eslint-plugin-immer-reducer"},immutable:{repository:"https://github.com/jhusain/eslint-plugin-immutable"},"immutable-class":{repository:"https://github.com/implydata/immutable-class"},immutablefork:{repository:"https://github.com/raphaelbadia/eslint-plugin-immutable"},imperative:{repository:"https://github.com/guidesmiths/eslint-plugin-imperative"},"implicit-dependencies":{repository:"https://github.com/lennym/eslint-plugin-implicit-dependencies"},import:{docs:"https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/",repository:"https://github.com/import-js/eslint-plugin-import"},"import-1nd":{repository:"https://github.com/benmosher/eslint-plugin-import"},"import-access":{repository:"https://github.com/uhyo/eslint-plugin-import-access"},"import-alias":{repository:"https://github.com/steelsojka/eslint-import-alias"},"import-auto-name":{repository:"https://github.com/shnhrrsn/eslint-plugin-import-auto-name"},"import-b5a962":{repository:"https://github.com/benmosher/eslint-plugin-import"},"import-fix-is-scoped":{repository:"https://github.com/benmosher/eslint-plugin-import"},"import-force-abbr":{repository:"https://github.com/deser/eslint-plugin-import-force-abbr"},"import-helpers":{repository:"https://github.com/Tibfib/eslint-plugin-import-helpers"},"import-length":{repository:"https://github.com/steelsojka/eslint-import-length"},"import-monorepo":{repository:"https://github.com/igogo5yo/eslint-plugin-import-monorepo"},"import-name":{repository:"https://github.com/R1ON/eslint-plugin-import-name"},"import-newlines":{repository:"https://github.com/SeinopSys/eslint-plugin-import-newlines"},"import-only-from-index":{repository:"https://github.com/fourside/eslint-plugin-import-only-from-index"},"import-order-aesthetic":{repository:"https://github.com/Recidvst/eslint-plugin-import-order-aesthetic"},"import-order-all":{repository:"https://github.com/electrovir/eslint-plugin-import-order-all"},"import-order-alphabetical":{repository:"https://github.com/janpaul123/eslint-plugin-import-order-alphabetical"},"import-order-autofix":{repository:"https://github.com/AlexJuarez/eslint-plugin-import-order-autofix"},"import-order-autosorter":{repository:"https://github.com/AlexJuarez/eslint-plugin-import-order-autofix"},"import-order-emotion":{repository:"https://github.com/jfrej/eslint-plugin-import-order-emotion"},"import-path":{repository:"https://github.com/andrienko/eslint-plugin-import-path"},"import-quotes":{repository:"https://github.com/xneek/eslint-plugin-import-quotes"},"import-restrictions":{repository:"https://github.com/sfrieson/eslint-plugin-import-restrictions"},"import-root":{repository:"https://github.com/freckstergit/eslint-plugin-import-root"},"import-sorter":{repository:"https://github.com/fengkfengk/eslint-plugin-import-sorter"},"import-splitnsort":{repository:"https://github.com/mflorence99/eslint-plugin-import-splitnsort"},"import-updated":{repository:"https://github.com/benmosher/eslint-plugin-import"},"import-userlike":{repository:"https://github.com/anilanar/eslint-plugin-import-userlike"},impress:{repository:"https://github.com/aqrln/eslint-plugin-impress"},inclusive:{repository:"https://github.com/shibulijack/eslint-plugin-inclusive"},"inclusive-language":{repository:"https://github.com/muenzpraeger/eslint-plugin-inclusive-language"},"indent-class-properties":{repository:"https://github.com/larsmunkholm/eslint-plugin-indent-class-properties"},"indent-empty-lines":{repository:"https://github.com/funmaker/eslint-plugin-indent-empty-lines"},index:{repository:"https://github.com/artlaman/eslint-plugin-index"},infermedica:{repository:"https://github.com/infermedica/eslint-plugin-infermedica"},inferno:{repository:"https://github.com/infernojs/eslint-plugin-inferno"},"injected-proptypes":{repository:"https://github.com/ammaraskar/eslint-injected-proptypes"},instawork:{repository:"https://github.com/Instawork/eslint-plugin-instawork"},"instructure-ui":{repository:"https://github.com/instructure/instructure-ui"},interfaced:{repository:"https://github.com/interfaced/eslint-plugin-interfaced"},ioc:{repository:"https://github.com/amaro0/eslint-plugin-ioc"},"ionic-tappable":{repository:"https://github.com/takuya-nakayasu/eslint-plugin-ionic-tappable"},irm:{repository:"https://github.com/hadeshe93/eslint-plugin-irm"},iruhl:{repository:"https://github.com/LeadingLight/eslint-plugin-iruhl"},isaacscript:{repository:"https://github.com/IsaacScript/isaacscript"},isml:{repository:"https://github.com/Neskromny/eslint-plugin-isml"},isotropic:{repository:"https://github.com/ibi-group/eslint-plugin-isotropic"},istanbul:{repository:"https://github.com/istanbuljs/eslint-plugin-istanbul"},itgalaxy:{repository:"https://github.com/itgalaxy/eslint-plugin-itgalaxy"},ja:{repository:"https://github.com/mysticatea/eslint-plugin-ja"},"jacobsmith-custom":{repository:"https://github.com/jacobsmith/jacobsmith-eslint-plugins"},jam3:{repository:"https://github.com/Jam3/eslint-plugin-jam3"},jane:{repository:"https://github.com/jane/eslint-plugin-jane"},jasmine:{docs:"https://github.com/tlvince/eslint-plugin-jasmine/blob/master/docs/rules/",repository:"https://github.com/tlvince/eslint-plugin-jasmine"},"jasmine-jquery":{repository:"https://github.com/xxnatc/eslint-plugin-jasmine-jquery"},jest:{docs:"https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/",repository:"https://github.com/jest-community/eslint-plugin-jest"},"jest-dom":{docs:"https://github.com/testing-library/eslint-plugin-jest-dom/blob/main/docs/rules/",repository:"https://github.com/testing-library/eslint-plugin-jest-dom"},"jest-extended":{repository:"https://github.com/mattphillips/eslint-plugin-jest-extended"},"jest-formatting":{docs:"https://github.com/dangreenisrael/eslint-plugin-jest-formatting/blob/master/docs/rules/",repository:"https://github.com/dangreenisrael/eslint-plugin-jest-formatting"},"jest-playwright":{repository:"https://github.com/mxschmitt/eslint-plugin-playwright"},"jest-react":{repository:"https://github.com/Codecademy/eslint-plugin-jest-react"},jestx:{repository:"https://github.com/benmonro/eslint-plugin-jest"},jinja:{repository:"https://github.com/alexkuz/eslint-plugin-jinja"},jinja2:{repository:"https://github.com/alexkuz/eslint-plugin-jinja"},"jinja2-processor":{repository:"https://github.com/paulhfischer/eslint-plugin-jinja2-processor"},"jira-ticket-todo-comment":{repository:"https://github.com/bamboechop/eslint-plugin-jira-ticket-todo-comment"},"jira-ticket-todos":{repository:"https://github.com/Adam-Schlichtmann/jira-ticket-todos"},jmacs:{repository:"https://github.com/blake-regalia/jmacs.js"},joyent:{repository:"https://github.com/joyent/node-eslint-plugin-joyent"},jquery:{repository:"https://github.com/dgraham/eslint-plugin-jquery"},"jquery-selectors":{repository:"https://github.com/rardoz/eslint-plugin-jquery-selectors"},"jquery-unsafe":{repository:"https://github.com/cdd/eslint-plugin-jquery-unsafe"},jsapps:{repository:"https://github.com/ideadapt/eslint-plugin-jsapps"},jsbox:{repository:"https://github.com/EqualMa/eslint-plugin-jsbox"},jsdoc:{repository:"https://github.com/gajus/eslint-plugin-jsdoc"},"jsdoc-ex":{repository:"https://github.com/gajus/eslint-plugin-jsdoc"},"jsdom-internal":{repository:"https://github.com/npm/security-holder"},jsfix:{repository:"https://github.com/Digyter/eslint-plugin-jsfix"},jshow:{repository:"https://github.com/j-show/eslint-plugin-jshow"},json:{repository:"https://github.com/azeemba/eslint-plugin-json"},"json-beta":{repository:"https://github.com/azeemba/eslint-plugin-json"},"json-es":{repository:"https://github.com/zeitport/eslint-plugin-json-es"},"json-files":{repository:"https://github.com/kellyselden/eslint-plugin-json-files"},"json-format":{repository:"https://github.com/bkucera/eslint-plugin-json-format"},"json-light-pmb":{repository:"https://github.com/mk-pmb/eslint-plugin-json-light-pmb"},"json-lite":{repository:"https://github.com/jacob-israel-turner/eslint-plugin-json-lite"},"json-processor":{repository:"https://github.com/doochik/eslint-plugin-json-processor"},"json-schema-validator":{docs:"https://github.com/ota-meshi/eslint-plugin-json-schema-validator/blob/main/docs/rules/",repository:"https://github.com/ota-meshi/eslint-plugin-json-schema-validator"},json5:{repository:"https://github.com/bayesimpact/eslint-plugin-json5"},jsonc:{repository:"https://github.com/ota-meshi/eslint-plugin-jsonc"},jsort:{repository:"https://github.com/nate-wilkins/eslint-plugin-jsort"},jsspec:{repository:"https://github.com/JSSpec/eslint-plugin-jsspec"},jsx:{repository:"https://github.com/jkroso/eslint-plugin-jsx"},"jsx-a11y":{docs:"https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/",repository:"https://github.com/jsx-eslint/eslint-plugin-jsx-a11y"},"jsx-conditional":{repository:"https://github.com/luisadame/eslint-plugin-jsx-conditional"},"jsx-conditionals":{repository:"https://github.com/julianburr/eslint-plugin-jsx-conditionals"},"jsx-control-statements":{repository:"https://github.com/vkbansal/eslint-plugin-jsx-control-statements"},"jsx-dollar":{repository:"https://github.com/kyoncy/eslint-plugin-jsx-dollar"},"jsx-expressions":{repository:"https://github.com/hpersson/eslint-plugin-jsx-expressions"},"jsx-falsy":{repository:"https://github.com/jeremy-deutsch/eslint-plugin-jsx-falsy"},"jsx-helpers":{repository:"https://github.com/DmitriyNikolenko/eslint-plugin-jsx-helpers"},"jsx-img-no-referrer":{repository:"https://github.com/darwintantuco/eslint-plugin-jsx-img-no-referrer"},jsxspacing:{repository:"https://github.com/alexbird/eslint-plugin-jsxspacing"},julius:{repository:"https://github.com/ncaq/eslint-plugin-julius"},k4ntin:{repository:"https://github.com/k4ntin/eslint-plugin-k4ntin"},kaola:{repository:"https://github.com/Deol/eslint-plugin-kaola"},kavak:{repository:"https://github.com/npm/security-holder"},"kdu-libs":{repository:"https://github.com/khanhduy1407/eslint-plugin-kdu-libs"},kengoldfarb:{repository:"https://github.com/kengoldfarb/lint"},kiwicom:{repository:"https://github.com/kiwicom/eslint-plugin-kiwicom"},knex:{repository:"https://github.com/antonniklasson/eslint-plugin-knex"},koot:{repository:"https://github.com/cmux/koot-eslint"},korolint:{repository:"https://github.com/OBKoro1/eslint-plugin-koro-create"},kyt:{repository:"https://github.com/nytimes/kyt"},lab:{repository:"https://github.com/rankida/eslint-plugin-lab"},"lambda-calculus":{repository:"https://github.com/david-davidson/eslint-plugin-lambda-calculus"},langs:{repository:"https://github.com/infodusha/eslint-plugin-langs"},"lazy-load":{repository:"https://github.com/frankie0917/eslint-plugin-lazy-load"},"lcb-mini":{repository:"https://github.com/douzi8/eslint-plugin-lcb-mini"},lcom:{repository:"https://github.com/FujiHaruka/eslint-plugin-lcom"},"lean-imports":{repository:"https://github.com/eslint-plugins/eslint-plugin-lean-imports"},leboncoin:{repository:"https://github.com/leboncoin/frontend-web-tools/tree/master"},letemplate:{repository:"https://github.com/vuejs/eslint-plugin-vue"},levitate:{repository:"https://github.com/ThisIsManta/eslint-plugin-levitate"},"license-header":{repository:"https://github.com/nikku/eslint-plugin-license-header"},"lightning-components":{repository:"https://github.com/reiniergs/eslint-plugin-lightning-components"},"link-slash-end":{repository:"https://github.com/HaganHan/eslint-plugin-link-slash-end"},linklink:{repository:"https://github.com/Java-http/eslint-plugin-linklink"},lint:{repository:"https://github.com/zertosh/eslint-plugin-lint"},"lint-md":{repository:"https://github.com/lint-md/eslint-plugin-lint-md"},listeners:{repository:"https://github.com/foad/eslint-plugin-listeners"},lit:{repository:"https://github.com/43081j/eslint-plugin-lit"},"lit-a11y":{repository:"https://github.com/open-wc/open-wc"},"literal-blacklist":{repository:"https://github.com/kyaido/eslint-plugin-literal-blacklist"},"literal-check":{repository:"https://github.com/youngjuning/eslint-plugin-literal-check"},"literal-checker":{repository:"https://github.com/youngjuning/eslint-plugin-literal-checker"},"loadable-component":{repository:"https://github.com/miqdadfwz/eslint-plugin-loadable-component"},local:{repository:"https://github.com/taskworld/eslint-plugin-local"},"local-rules":{repository:"https://github.com/cletusw/eslint-plugin-local-rules"},lodash:{docs:"https://github.com/wix/eslint-plugin-lodash/blob/master/docs/rules/",repository:"https://github.com/wix/eslint-plugin-lodash"},"lodash-f":{repository:"https://github.com/AndreaPontrandolfo/eslint-plugin-lodash"},"lodash-fp":{repository:"https://github.com/jfmengels/eslint-plugin-lodash-fp"},"lodash-magic-import":{repository:"https://github.com/bitsnap/eslint-plugin-lodash-magic-import"},"lodash-restrictions":{repository:"https://github.com/idesi/eslint-plugin-lodash-restrictions"},"lodash-template":{repository:"https://github.com/ota-meshi/eslint-plugin-lodash-template"},"lodash-tree-shakeable-import":{repository:"https://github.com/natterstefan/eslint-plugin-lodash-tree-shakeable-import"},loft:{repository:"https://github.com/Loft-Brasil/eslint-plugin-loft"},log:{repository:"https://github.com/omrilotan/eslint-plugin-log"},"log-filenames":{repository:"https://github.com/justlep/eslint-plugin-log-filenames"},"log-linter":{repository:"https://github.com/michael5891/eslint-plugin-log-linter"},logdna:{repository:"https://github.com/logdna/eslint-plugin-logdna"},lola:{repository:"https://github.com/lolatravel/eslint-plugin-lola"},"lookbehind-assertions":{repository:"https://github.com/takuya-nakayasu/eslint-plugin-lookbehind-assertions"},loyaltylion:{repository:"https://github.com/loyaltylion/eslint-plugin-loyaltylion"},"lucky-monkey":{repository:"https://github.com/borenXue/eslint-plugin-lucky-monkey"},lvksh:{repository:"https://github.com/lvkdotsh/javascript"},lwc:{repository:"https://github.com/npm/security-holder"},"lwintch-wyze":{repository:"https://github.com/lwintch/eslint-plugin-wyze"},m99coder:{repository:"https://github.com/m99coder/eslint-plugin-m99coder"},magicdawn:{repository:"https://github.com/magicdawn/eslint-plugin-magicdawn"},makestyles:{repository:"https://github.com/madflanderz/eslint-plugin-makestyles"},markdown:{repository:"https://github.com/eslint/eslint-plugin-markdown"},"markdown-antd":{repository:"https://github.com/eslint/eslint-plugin-markdown"},"markdown-runkit":{repository:"https://github.com/eslint/eslint-plugin-markdown"},markup:{repository:"https://github.com/rx-ts/eslint"},"markup-replace":{repository:"https://github.com/xsjohn0306/eslint-plugin-markup-replace"},maru:{repository:"https://github.com/jshan2017/eslint-plugin-maru"},"material-ui-dkadrios":{repository:"https://github.com/mui-org/material-ui"},"material-ui-unused-classes":{repository:"https://github.com/jens-ox/eslint-plugin-material-ui-unused-classes"},"matrix-org":{repository:"https://github.com/matrix-org/eslint-config-matrix-org"},mattermost:{repository:"https://github.com/npm/security-holder"},mavenlint:{repository:"https://github.com/mavenlink/mavenlint"},"max-comments-per-function":{repository:"https://github.com/miangraham/eslint-plugin-max-comments-per-function"},"max-len-2":{repository:"https://github.com/andreineculau/eslint-plugin-max-len-2"},"max-methods-per-class":{repository:"https://github.com/mawrkus/eslint-plugin-max-methods-per-class"},"max-params-no-constructor":{repository:"https://github.com/paulomenezes/max-params-no-constructor"},mayaka:{repository:"https://github.com/g-plane/eslint-plugin-mayaka"},md:{repository:"https://github.com/leo-buneev/eslint-plugin-md"},mdx:{repository:"https://github.com/mdx-js/eslint-mdx"},"mdx-patch":{repository:"https://github.com/ianlet/eslint-plugin-mdx-patch"},mediawiki:{repository:"https://github.com/wikimedia/eslint-plugin-mediawiki"},meetup:{repository:"https://github.com/meetup/eslint-plugin-meetup"},meow:{repository:"https://github.com/coderzhaoziwei/eslint-plugin-meow"},metafizzy:{repository:"https://github.com/metafizzy/eslint-plugin-metafizzy"},meteor:{repository:"https://github.com/dferber90/eslint-plugin-meteor"},miniprogram:{repository:"https://github.com/airbnb/eslint-plugin-miniprogram"},minxing:{repository:"https://github.com/stuartZhang/eslint-plugin-minxing"},mirego:{repository:"https://github.com/mirego/eslint-plugin-mirego"},mishguru:{repository:"https://github.com/mishguruorg/eslint-plugin-mishguru"},mistertemp:{repository:"https://github.com/lzientek/eslint-plugin-mistertemp"},"mix-lang":{repository:"https://github.com/Jogyly/mix-lang"},mizyind:{repository:"https://github.com/miZyind/eslint-plugin-mizyind"},mobx:{repository:"https://github.com/mobxjs/mobx"},"mobx-computed-getters":{repository:"https://github.com/kubk/eslint-plugin-mobx-computed-getters"},"mobx-observer-checker":{repository:"https://github.com/mkupriichuk/eslint-plugin-mobx-observer-checker"},mocha:{docs:"https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/",repository:"https://github.com/lo1tuma/eslint-plugin-mocha"},"mocha-cleanup":{repository:"https://github.com/onechiporenko/eslint-plugin-mocha-cleanup"},"mocha-no-only":{repository:"https://github.com/lewazo/eslint-mocha-no-only"},modulajs:{repository:"https://github.com/freewheel/eslint-plugin-modulajs"},module:{repository:"https://github.com/raxjs/rax-scripts"},"module-name":{repository:"https://github.com/iambrandonn/eslint-plugin-module-name"},"module-resolver":{repository:"https://github.com/HeroProtagonist/eslint-plugin-module-resolver"},"modules-newline":{repository:"https://github.com/gmsorrow/eslint-plugin-modules-newline"},"modules-newline-fixed":{repository:"https://github.com/CyberWalrus/eslint-plugin-modules-newline"},"modules-newline2":{repository:"https://github.com/gmsorrow/eslint-plugin-modules-newline"},"modules-newlines":{repository:"https://github.com/ruudandriessen/eslint-plugin-modules-newline"},moment:{repository:"https://github.com/geranton93/eslint-plugin-moment"},"moment-timezone":{repository:"https://github.com/hollandmatt/eslint-plugin-moment-timezone"},momentjs:{repository:"https://github.com/schnaser/eslint-plugin-momentjs"},"mongo-projection":{repository:"https://github.com/kaizendorks/eslint-plugin-mongo-projection"},mongodb:{repository:"https://github.com/nfroidure/eslint-plugin-mongodb"},"mongodb-server":{repository:"https://github.com/visemet/eslint-plugin-mongodb-server"},monorepo:{repository:"https://github.com/azz/eslint-plugin-monorepo"},"monorepo-cop":{repository:"https://github.com/sterlingwes/eslint-plugin-monorepo-cop"},more:{repository:"https://github.com/WebbyLab/eslint-plugin-more"},"more-naming-conventions":{repository:"https://github.com/TheKoopaKingdom/eslint-plugin-more-naming-conventions"},"more-naming-conventions-leading-underscore":{repository:"https://github.com/alex-zissis/eslint-plugin-more-naming-conventions"},"move-files":{repository:"https://github.com/JamieMason/eslint-plugin-move-files"},moxio:{repository:"https://github.com/Moxio/eslint-plugin-moxio"},mp:{repository:"https://github.com/mp-components/eslint-plugin-mp"},mpirik:{repository:"https://github.com/mpirik/eslint-plugin-mpirik"},mpx:{repository:"https://github.com/mpx-ecology/eslint-plugin-mpx"},mui:{repository:"https://github.com/rafaelgomesxyz/eslint-plugin-mui"},"mui-unused-classes":{repository:"https://github.com/jens-ox/eslint-plugin-material-ui-unused-classes"},muralco:{repository:"https://github.com/muralco/eslint-plugin-muralco"},muriki:{repository:"https://github.com/Moeriki/eslint-plugin-muriki"},"must-use-await":{repository:"https://github.com/mikemaccana/eslint-plugin-must-use-await"},myself:{repository:"https://github.com/kangkai124/eslint-plugin-myself"},mysticatea:{repository:"https://github.com/mysticatea/eslint-plugin"},n:{repository:"https://github.com/weiran-zsd/eslint-plugin-node"},"n8n-nodes-base":{repository:"https://github.com/ivov/eslint-plugin-n8n-nodes-base"},nada:{repository:"https://github.com/leonardoanalista/eslint-plugin-nada"},"named-unassigned-functions":{repository:"https://github.com/ValYouW/eslint-plugin-named-unassigned-functions"},nanachi:{repository:"https://github.com/shaoyudong/eslint-plugin-nanachi"},"native-ie":{repository:"https://github.com/yskszk63/eslint-plugin-native-ie"},"native-over-lodash":{repository:"https://github.com/Coobaha/eslint-plugin-native-over-lodash"},"nebulas-contract":{repository:"https://github.com/xingyunwork/eslint-plugin-nebulas-contract"},nestjs:{repository:"https://github.com/unlight/eslint-plugin-nestjs"},"nestjs-framework":{repository:"https://github.com/wisedog/eslint-plugin-nestjs-framework"},neverthrow:{repository:"https://github.com/mdbetancourt/eslint-plugin-nevethrow"},"new-line-before-if":{repository:"https://github.com/nisshii0313/eslint-plugin-new-line-before-if"},"new-with-error":{repository:"https://github.com/Trott/eslint-plugin-new-with-error"},newline:{repository:"https://github.com/Joon1313/eslint-plugin-newline"},"newline-after-if-condition":{repository:"https://github.com/marcosc90/eslint-plugin-newline-after-if-condition"},"newline-before-paren":{repository:"https://github.com/pat841/eslint-plugin-newline-before-paren"},"newline-destructuring":{repository:"https://github.com/urielvan/eslint-plugin-newline-destructuring"},"ng-test-identifier":{repository:"https://github.com/MindesignGCV/test-identifier"},ngrx:{repository:"https://github.com/timdeschryver/eslint-plugin-ngrx"},"ngx-eslint":{repository:"https://github.com/phhien203/eslint-plugin-ngx-eslint"},"ngxs-style-guide":{repository:"https://github.com/unlight/eslint-plugin-ngxs-style-guide"},"nkgrnkgr-react":{repository:"https://github.com/nkgrnkgr/eslint-plugin-nkgrnkgr-react"},nnimetz:{repository:"https://github.com/NicolasNimetz/eslint-plugin-nnimetz"},"no-allow-react-context":{repository:"https://github.com/azu/eslint-plugin-no-allow-react-context"},"no-ambiguous":{repository:"https://github.com/eight04/eslint-plugin-no-ambiguous"},"no-anonymous-functions":{repository:"https://github.com/preacherxp/eslint-plugin-no-anonymous-functions"},"no-array-any":{repository:"https://github.com/Zamiell/eslint-plugin-no-array-any"},"no-array-concat":{repository:"https://github.com/mkpoli/eslint-plugin-no-array-concat"},"no-array-reduce":{repository:"https://github.com/mkosir/eslint-plugin-no-array-reduce"},"no-arrow-labels":{repository:"https://github.com/bryanrsmith/eslint-plugin-no-arrow-labels"},"no-arrow-this":{repository:"https://github.com/wentout/eslint-plugin-no-arrow-this"},"no-async":{repository:"https://github.com/yoavniran/eslint-plugin-no-async"},"no-async-without-await":{repository:"https://github.com/zertosh/eslint-plugin-no-async-without-await"},"no-autofix":{repository:"https://github.com/aladdin-add/eslint-plugin/tree/master"},"no-await-async-call":{repository:"https://github.com/christensson/eslint-plugin-no-await-async-call"},"no-bad-naming-variables":{repository:"https://github.com/kovboyjder/eslint-no-bad-naming"},"no-block-comments":{repository:"https://github.com/alex-shnayder/eslint-plugin-no-empty-blocks"},"no-call":{repository:"https://github.com/igat64/eslint-plugin-no-call"},"no-catch-all":{repository:"https://github.com/MrLoh/eslint-plugin-no-catch-all"},"no-catch-destructuring":{repository:"https://github.com/tizmagik/eslint-plugin-no-catch-destructuring"},"no-class":{repository:"https://github.com/emmenko/eslint-plugin-no-class"},"no-classname-with-stylename":{repository:"https://github.com/bendtherules/eslint-plugin-no-classname-with-stylename"},"no-comments":{repository:"https://github.com/wisniewski94/eslint-plugin-no-comments"},"no-compound-assigned-await":{repository:"https://github.com/PJWalker/eslint-plugin-no-compound-assigned-await"},"no-confusing-arrow":{repository:"https://github.com/jasperck/eslint-plugin-no-confusing-arrow"},"no-constructor-bind":{docs:"https://github.com/markalfred/eslint-plugin-no-constructor-bind/blob/master/docs/rules/",repository:"https://github.com/markalfred/eslint-plugin-no-constructor-bind"},"no-constructor-bind-no-fix":{repository:"https://github.com/Hastaroth1/eslint-plugin-no-constructor-bind"},"no-copy-paste-default-export":{repository:"https://github.com/buildo/eslint-plugin-no-copy-paste-default-export"},"no-credentials":{repository:"https://github.com/oprogramador/eslint-plugin-no-credentials"},"no-cyrillic-string":{repository:"https://github.com/eprincev-egor/no-cyrillic-string"},"no-dangerous":{repository:"https://github.com/arx-8/eslint-plugin-no-dangerous"},"no-date-parsing":{repository:"https://github.com/amzn/eslint-plugin-no-date-parsing"},"no-deprecated-variable":{repository:"https://github.com/frichti/eslint-plugin-no-deprecated-variable"},"no-dupe-class-fields":{repository:"https://github.com/Macil/eslint-plugin-no-dupe-class-fields"},"no-editor-code":{repository:"https://github.com/lukebelliveau/eslint-plugin-no-editor-code"},"no-empty-disable":{repository:"https://github.com/edwardpayton/eslint-plugin-no-empty-disable"},"no-empty-statement":{repository:"https://github.com/zhanzhenzhen/eslint-plugin-no-empty-statement"},"no-es2015":{repository:"https://github.com/NatureFeng/eslint-plugin-no-es2015"},"no-eslint-disable":{repository:"https://github.com/unlight/eslint-plugin-no-eslint-disable"},"no-except":{repository:"https://github.com/ryan-rushton/eslint-plugin-no-except"},"no-expectsaga-without-return":{repository:"https://github.com/mmakarin/eslint-plugin-no-expectSaga-without-return"},"no-explicit-type-exports":{repository:"https://github.com/intuit/eslint-plugin-no-explicit-type-exports"},"no-extension-in-require":{repository:"https://github.com/pdubroy/eslint-plugin-no-extension-in-require"},"no-floating-promise":{repository:"https://github.com/SebastienGllmt/eslint-plugin-no-floating-promise"},"no-for-loop":{repository:"https://github.com/AkifumiSato/eslint-plugin-no-for-loop"},"no-for-of-loops":{repository:"https://github.com/dharFr/eslint-plugin-no-for-of-loops"},"no-foreach":{repository:"https://github.com/flying-sheep/eslint-plugin-no-foreach"},"no-func-space":{repository:"https://github.com/Jxck/eslint-plugin-no-func-space"},"no-function-declare-after-return":{repository:"https://github.com/bhumijgupta/eslint-plugin-no-function-declare-after-return"},"no-generic-identifier":{repository:"https://github.com/d7my11/eslint-plugin-no-generic-identifier"},"no-global-lodash":{repository:"https://github.com/adalbertoteixeira/eslint-plugin-no-global-lodash"},"no-http-protocol":{repository:"https://github.com/pstephenwille/no-http-protocol"},"no-hyogo-police":{repository:"https://github.com/pipboy3000/eslint-plugin-no-hyogo-police"},"no-if-not":{repository:"https://github.com/bakkot/eslint-plugin-no-if-not"},"no-implicit-map-set-loops":{repository:"https://github.com/Zamiell/eslint-plugin-no-implicit-map-set-loops"},"no-implicit-side-effects":{repository:"https://github.com/jussi-kalliokoski/eslint-plugin-no-implicit-side-effects"},"no-inferred-method-name":{repository:"https://github.com/johnstonbl01/eslint-no-inferred-method-name"},"no-inline-styles":{repository:"https://github.com/nmanthena18/eslint-no-inline-styles"},"no-jp":{repository:"https://github.com/K-Sato1995/eslint-plugin-no-jp"},"no-jquery":{repository:"https://github.com/wikimedia/eslint-plugin-no-jquery"},"no-js":{repository:"https://github.com/chicoxyzzy/eslint-plugin-no-js"},"no-kebab-case-props":{repository:"https://github.com/JofArnold/eslint-plugin-no-kebab-case-props"},"no-let-any":{repository:"https://github.com/Zamiell/eslint-plugin-no-let-any"},"no-link-component":{repository:"https://github.com/julienben/eslint-plugin-no-link-component"},"no-lookahead-lookbehind-regexp":{repository:"https://github.com/JonasBa/eslint-plugin-no-lookahead-lookbehind-regexp"},"no-loops":{repository:"https://github.com/buildo/eslint-plugin-no-loops"},"no-memo-displayname":{repository:"https://github.com/patrykkopycinski/eslint-plugin-no-memo-displayname"},"no-mixed-operators":{repository:"https://github.com/kevin940726/eslint-plugin-no-mixed-operators"},"no-named-imports":{repository:"https://github.com/gabemeola/eslint-plugin-no-named-imports"},"no-named-test-function":{repository:"https://github.com/sglord/eslint-plugin-no-named-test-function"},"no-named-test-functions":{repository:"https://github.com/sglord/eslint-plugin-no-named-test-functions"},"no-not-accumulator-reassign":{repository:"https://github.com/mathieudutour/eslint-plugin-no-not-accumulator-reassign"},"no-null":{repository:"https://github.com/nene/eslint-plugin-no-null"},"no-one-time-vars":{repository:"https://github.com/Bas950/eslint-plugin-no-one-time-vars"},"no-only-tests":{repository:"https://github.com/levibuzolic/eslint-plugin-no-only-tests"},"no-process-lint":{repository:"https://github.com/xyl66/eslint-plugin-no-process"},"no-react-component-snapshots":{repository:"https://github.com/rileygowan/eslint-plugin-no-react-component-snapshots"},"no-react-scope-bound-assignment":{repository:"https://github.com/betaorbust/eslint-plugin-no-react-scope-bound-assignment"},"no-recursion":{repository:"https://github.com/simon-andrews/eslint-plugin-no-recursion"},"no-regex-dot":{repository:"https://github.com/vitalif/eslint-plugin-no-regex-dot"},"no-relative-import-paths":{repository:"https://github.com/MelvinVermeer/eslint-plugin-no-relative-import-paths"},"no-relative-parent-require":{repository:"https://github.com/ersel/eslint-plugin-no-relative-parent-require"},"no-require-self-ref":{repository:"https://github.com/austinkelleher/eslint-plugin-no-require-self-ref"},"no-return":{repository:"https://github.com/boiyaa/eslint-plugin-no-return"},"no-secrets":{repository:"https://github.com/nickdeis/eslint-plugin-no-secrets"},"no-shit":{repository:"https://github.com/jakubsadura/eslint-plugin-no-shit"},"no-skip-tests":{repository:"https://github.com/romaingaillardjs/eslint-plugin-no-skip-tests"},"no-smart-quotes":{repository:"https://github.com/seleb/eslint-plugin-no-smart-quotes"},"no-snapshot-testing":{repository:"https://github.com/VicJer/eslint-plugin-no-snapshot-testing"},"no-snapshots":{repository:"https://github.com/Johannesklint/eslint-plugin-snapshots"},"no-string":{repository:"https://github.com/yangjiagongzi/eslint-plugin-no-string"},"no-string-in-jsx":{repository:"https://github.com/kdnk/eslint-plugin-no-string-in-jsx"},"no-template-curly-in-string-fix":{repository:"https://github.com/Zamiell/eslint-plugin-no-template-curly-in-string-fix"},"no-this-in-jsx-component-name":{repository:"https://github.com/julienben/eslint-plugin-no-this-in-jsx-component-name"},"no-type-assertion":{repository:"https://github.com/Dremora/eslint-plugin-no-type-assertion"},"no-undef-class-this":{repository:"https://github.com/langdonx/eslint-plugin-no-undef-class-this"},"no-unsafe-chars":{repository:"https://github.com/DerZyklop/eslint-plugin-no-unsafe-chars"},"no-unused-code":{repository:"https://github.com/oaltman/eslint-plugin-no-unused-code"},"no-unused-expressions":{repository:"https://github.com/clark800/eslint-plugin-no-unused-expressions"},"no-unused-vars-rest":{repository:"https://github.com/bryanrsmith/eslint-plugin-no-unused-vars-rest"},"no-use-extend-native":{repository:"https://github.com/dustinspecker/eslint-plugin-no-use-extend-native"},"no-useless-assign":{repository:"https://github.com/erikdesjardins/eslint-plugin-no-useless-assign"},"no-useless-const":{repository:"https://github.com/p7g/eslint-plugin-no-useless-const"},"no-var-reassign":{repository:"https://github.com/jacksonrayhamilton/eslint-plugin-no-var-reassign"},"no-void-return-type":{repository:"https://github.com/Zamiell/eslint-plugin-no-void-return-type"},"no-vue":{repository:"https://github.com/avdeev/eslint-plugin-no-vue"},node:{docs:"https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/",repository:"https://github.com/mysticatea/eslint-plugin-node"},"node-dependencies":{repository:"https://github.com/ota-meshi/eslint-plugin-node-dependencies"},"node-devinrhode2":{repository:"https://github.com/mysticatea/eslint-plugin-node"},"node-papandreou":{repository:"https://github.com/mysticatea/eslint-plugin-node"},"node-roikoren":{repository:"https://github.com/roikoren755/eslint-plugin-node"},"node-security-rules":{repository:"https://github.com/lirantal/eslint-plugin-security"},nodejs:{repository:"https://github.com/geek/eslint-plugin-nodejs"},noko:{repository:"https://github.com/doronwix/eslint-plugin-noko"},nolint:{repository:"https://github.com/HaoChuan9421/eslint-plugin-nolint"},nommon:{repository:"https://github.com/doochik/eslint-plugin-nommon"},"nonoptimal-innerhtml":{repository:"https://github.com/oxfist/eslint-plugin-nonoptimal-innerhtml"},nop:{repository:"https://github.com/pasaran/eslint-plugin-nop"},nosettimeout:{repository:"https://github.com/eva1963/eslint-plugin-noSetimeoutTime"},notice:{repository:"https://github.com/nickdeis/eslint-plugin-notice"},nova:{repository:"https://github.com/panicinc/eslint-plugin-nova"},"number-literal-case":{repository:"https://github.com/kyriacos/eslint-plugin-number-literal-case"},nuxt:{docs:"https://github.com/nuxt/eslint-plugin-nuxt/blob/master/docs/rules/",repository:"https://github.com/nuxt/eslint-plugin-nuxt"},nwronski:{repository:"https://github.com/nwronski/eslint-plugin"},ocd:{repository:"https://github.com/ciena-blueplanet/eslint-plugin-ocd"},"office-addins":{repository:"https://github.com/OfficeDev/Office-Addin-Scripts"},"old-c-programmer":{repository:"https://github.com/apowers313/eslint-plugin-old-c-programmer"},"only-error":{repository:"https://github.com/davidjbradshaw/eslint-plugin-only-error"},"only-var":{repository:"https://github.com/deecewan/eslint-plugin-only-var"},"only-warn":{repository:"https://github.com/bfanger/eslint-plugin-only-warn"},opensphere:{repository:"https://github.com/ngageoint/eslint-plugin-opensphere"},opinionated:{repository:"https://github.com/dogma-io/eslint-plugin-opinionated"},opipe:{repository:"https://github.com/peoro/eslint-plugin-opipe"},optimics:{repository:"https://github.com/optimics/eslint-config"},"optimize-regex":{docs:"https://github.com/BrainMaestro/eslint-plugin-optimize-regex/blob/master/docs/rules/",repository:"https://github.com/BrainMaestro/eslint-plugin-optimize-regex"},"optional-comma-spacing":{repository:"https://github.com/greggman/eslint-plugin-optional-comma-spacing"},"orbit-components":{repository:"https://github.com/kiwicom/orbit"},"orbit-internal":{repository:"https://github.com/npm/security-holder"},"orbit-kotko":{repository:"https://github.com/npm/security-holder"},"ordered-grouped-import":{repository:"https://github.com/catchfashion/eslint-plugin-grouped-import"},"ordered-imports":{repository:"https://github.com/KyleMayes/eslint-plugin-ordered-imports"},"organize-imports":{repository:"https://github.com/sagiavinash/eslint-plugin-organize-imports"},oro:{repository:"https://github.com/laboro/eslint-plugin-oro"},p5js:{repository:"https://github.com/marksherman/eslint-plugin-p5js"},pabigot:{repository:"https://github.com/pabigot/eslint-plugin-pabigot"},"package-json-dependencies":{repository:"https://github.com/idan-at/eslint-plugin-package-json-dependencies"},"package-lock":{repository:"https://github.com/lucavb/eslint-plugin-package-lock"},padding:{repository:"https://github.com/mu-io/eslint-plugin-padding"},"parentheses-around-await":{repository:"https://github.com/yakovenkodenis/eslint-plugin-parentheses-around-await"},"parentheses-single-line-jsx":{repository:"https://github.com/lukasgjetting/eslint-plugin-parentheses-single-line-jsx"},path:{repository:"https://github.com/qDanik/eslint-plugin-path"},"path-alias":{repository:"https://github.com/msfragala/eslint-plugin-path-alias"},pathnames:{repository:"https://github.com/dvpnt/eslint-plugin-pathnames"},"patternfly-react":{repository:"https://github.com/patternfly/patternfly-react"},"patternfly-test":{repository:"https://github.com/patternfly/patternfly-react"},patternplate:{repository:"https://github.com/marionebl/eslint-plugin-patternplate"},pb:{repository:"https://github.com/npm/security-holder"},peace:{repository:"https://github.com/thoamsy/eslint-plugin-peace"},pedantor:{repository:"https://github.com/jnvm/eslint-plugin-pedantor"},peopleai:{repository:"https://github.com/behind-the-moon/eslint-plugin-peopleai"},"pep8-blank-lines":{repository:"https://github.com/othree/eslint-plugin-pep8-blank-lines"},perf:{repository:"https://github.com/amilajack/eslint-plugin-perf"},"perf-standard":{repository:"https://github.com/Raynos/eslint-plugin-perf-standard"},"personalized-recommended":{repository:"https://github.com/robint-liu/eslint-plugin-personalized-recommended"},"pg-sql":{repository:"https://github.com/benjie/eslint-plugin-pg-sql"},"php-markup":{repository:"https://github.com/tengattack/eslint-plugin-php-markup"},pii:{repository:"https://github.com/shiva-hack/eslint-plugin-pii"},plantain:{repository:"https://github.com/plantain-00/eslint-plugin-plantain"},playlyfe:{repository:"https://github.com/Mayank1791989/eslint-plugin-playlyfe"},playwright:{repository:"https://github.com/playwright-community/eslint-plugin-playwright"},plugintutorial:{repository:"https://github.com/allan2coder/eslint-plugin-plugintutorial"},"pocket-fluff":{repository:"https://github.com/betaorbust/eslint-plugin-pocket-fluff"},pokemon:{repository:"https://github.com/alessio-libardi/eslint-plugin-pokemon"},polymer:{repository:"https://github.com/stramel/eslint-plugin-polymer"},"polymer-components":{repository:"https://github.com/Comcast/eslint-plugin-polymer-components"},"pony-comments":{repository:"https://github.com/Revelation2019/eslint-plugin-pony-comments"},"postcss-modules":{repository:"https://github.com/bmatcuk/eslint-plugin-postcss-modules"},postro4no:{repository:"https://github.com/frontstall/eslint-plugin-postro4no"},"pragmatic-deprecate":{repository:"https://github.com/bhaskar20/pragmatic-deprecate"},"preact-i18n":{repository:"https://github.com/synacor/eslint-plugin-preact-i18n"},prebid:{repository:"https://github.com/npm/security-holder"},"prefer-arrow":{repository:"https://github.com/TristonJ/eslint-plugin-prefer-arrow"},"prefer-arrow-functions":{repository:"https://github.com/JamieMason/eslint-plugin-prefer-arrow-functions"},"prefer-import":{repository:"https://github.com/dferrazm/eslint-plugin-prefer-import"},"prefer-let":{repository:"https://github.com/thefrontside/javascript"},"prefer-number-isnan":{repository:"https://github.com/Chamion/eslint-plugin-prefer-number-isnan"},"prefer-smart-quotes":{repository:"https://github.com/totallymoney/eslint-plugin-prefer-smart-quotes"},"prefer-type-alias":{repository:"https://github.com/otofu-square/eslint-plugin-prefer-type-alias"},"preferred-import-path":{repository:"https://github.com/luisadame/eslint-plugin-preferred-import-path"},"prefix-types":{repository:"https://github.com/kwaimind/eslint-plugin-prefix-types"},prettier:{repository:"https://github.com/prettier/eslint-plugin-prettier"},"prettier-doc":{repository:"https://github.com/fisker/eslint-plugin-prettier-doc"},"prettier-eslint-plugin":{repository:"https://github.com/dmacdnld/prettier-eslint-webpack-plugin"},"prettier-internal-rules":{repository:"https://github.com/prettier/eslint-plugin-prettier-internal-rules"},"prettier-rules":{repository:"https://github.com/iambrandonn/eslint-plugin-prettier-rules"},"prettier-vue":{repository:"https://github.com/meteorlxy/eslint-plugin-prettier-vue"},"prettier-vue-scorpionknifes":{repository:"https://github.com/scorpionknifes/eslint-plugin-prettier-vue"},prettierx:{repository:"https://github.com/aMarCruz/eslint-plugin-prettierx"},prettiest:{repository:"https://github.com/eamodio/eslint-plugin-prettiest"},"primer-react":{repository:"https://github.com/primer/eslint-plugin-primer-react"},"private-variables":{repository:"https://github.com/shovon/javascript-private-variables"},progress:{repository:"https://github.com/zero-t4/eslint-plugin-progress"},promise:{docs:"https://github.com/xjamundx/eslint-plugin-promise/blob/master/docs/rules/",repository:"https://github.com/xjamundx/eslint-plugin-promise"},"promise-catch":{repository:"https://github.com/jakwuh/eslint-plugin-promise-catch"},promiseparams:{repository:"https://github.com/jden/eslint-plugin-promiseparams"},"prop-has-no-shadow-declaration":{repository:"https://github.com/tknysh/eslint-plugin-prop-has-no-shadow-declaration"},"prop-types-shorthand":{repository:"https://github.com/helixbass/eslint-plugin-prop-types-shorthand"},proposal:{repository:"https://github.com/peakchen90/eslint-plugin-proposal"},prototype:{repository:"https://github.com/noyobo/eslint-plugin-prototype"},"prototype-pollution-security-rules":{repository:"https://github.com/LewisArdern/eslint-plugin-prototype-pollution-security-rules"},protractor:{docs:"https://github.com/alecxe/eslint-plugin-protractor/blob/master/docs/rules/",repository:"https://github.com/alecxe/eslint-plugin-protractor"},pug:{repository:"https://github.com/myfreeweb/eslint-plugin-pug"},pulsovi:{repository:"https://github.com/pulsovi/eslint-config-pulsovi"},punctuation:{repository:"https://github.com/smanwaring/eslint-plugin-punctuation"},pureness:{repository:"https://github.com/rom-melnyk/eslint-plugin-pureness"},putout:{repository:"https://github.com/coderaiser/putout"},quasar:{repository:"https://github.com/quasarframework/eslint-plugin-quasar"},query:{repository:"https://github.com/brettz9/eslint-plugin-query"},"quick-prettier":{repository:"https://github.com/SalvatorePreviti/eslint-plugin-quick-prettier"},quintoandar:{repository:"https://github.com/quintoandar/eslint-config-quintoandar"},qunar:{repository:"https://github.com/zhongzhi107/eslint-plugin-qunar"},qunit:{docs:"https://github.com/platinumazure/eslint-plugin-qunit/blob/master/docs/rules/",repository:"https://github.com/platinumazure/eslint-plugin-qunit"},"qunit-dom":{repository:"https://github.com/simplabs/eslint-plugin-qunit-dom"},qwik:{repository:"https://github.com/BuilderIO/qwik"},radar:{repository:"https://github.com/es-joy/eslint-plugin-radar"},radargun:{repository:"https://github.com/dsfields/eslint-plugin-radargun"},rainbow:{repository:"https://github.com/nexxtway/eslint-plugin-rainbow"},ramda:{repository:"https://github.com/ramda/eslint-plugin-ramda"},rapid7:{repository:"https://github.com/rapid7/eslint-plugin-rapid7"},rax:{repository:"https://github.com/raxjs/rax-scripts"},razzle:{repository:"https://github.com/grasilife/eslint-plugin-razzle"},react:{docs:"https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/",repository:"https://github.com/jsx-eslint/eslint-plugin-react"},"react-app":{repository:"https://github.com/mmazzarolo/eslint-plugin-react-app"},"react-classname-sort":{repository:"https://github.com/agumy/eslint-plugin-react-classname-sort"},"react-compat":{repository:"https://github.com/dogma-io/eslint-plugin-react-compat"},"react-css-module-hints":{repository:"https://github.com/Bwca/eslint-plugin-react-css-modules"},"react-custom-rules":{repository:"https://github.com/adalbertoteixeira/eslint-plugin-react-custom-rules"},"react-data-attr":{repository:"https://github.com/recruit-tech/eslint-plugin-react-data-attr"},"react-directives":{repository:"https://github.com/peakchen90/eslint-plugin-react-directives"},"react-ep":{repository:"https://github.com/yannickcr/eslint-plugin-react"},"react-etc":{repository:"https://github.com/cartant/eslint-plugin-react-etc"},"react-extended":{repository:"https://github.com/pustovalov/eslint-plugin-react-extended"},"react-extra":{repository:"https://github.com/buythewhale/eslint-plugin-react-extra"},"react-filename-matches-class":{repository:"https://github.com/mapbox/eslint-plugin-react-filenames"},"react-filenames":{repository:"https://github.com/mapbox/eslint-plugin-react-filenames"},"react-flow":{repository:"https://github.com/Kiwka/eslint-plugin-react-flow"},"react-form-fields":{repository:"https://github.com/kotarella1110/eslint-plugin-react-form-fields"},"react-func":{repository:"https://github.com/TomScavo/eslint-plugin-react-func"},"react-functional-set-state":{repository:"https://github.com/BE-Webdesign/eslint-plugin-react-functional-set-state"},"react-hook-form":{repository:"https://github.com/andykao1213/eslint-plugin-react-hook-form"},"react-hooks":{repository:"https://github.com/facebook/react"},"react-hooks-addons":{repository:"https://github.com/szhsin/eslint-plugin-react-hooks-addons"},"react-hooks-breadhead":{repository:"https://github.com/breadhead/eslint-plugin-react-hooks-breadhead"},"react-hooks-fix-via-todo-comment":{repository:"https://github.com/lab-yue/react"},"react-hooks-ssr":{repository:"https://github.com/correttojs/eslint-plugin-react-hooks-ssr"},"react-hooks-static-deps":{repository:"https://github.com/stoikio/eslint-plugin-react-hooks-static-deps"},"react-hooks2":{repository:"https://github.com/imhele/eslint-plugin-react-hooks2"},"react-html-invalid-prop-test":{repository:"https://github.com/sai6855/eslint-plugin-react-html-invalid-prop"},"react-html-prop-validator":{repository:"https://github.com/Roxiler/eslint-plugin-react-html-props"},"react-html-spellcheck":{repository:"https://github.com/sai6855/eslint-plugin-react-html-spellcheck"},"react-html-svg-invalid":{repository:"https://github.com/sai6855/eslint-plugin-react-html-svg-invalid"},"react-i18n":{repository:"https://github.com/lolatravel/eslint-plugin-react-i18n"},"react-internal":{repository:"https://github.com/npm/security-holder"},"react-intl-extractor":{repository:"https://github.com/kesko-dev/eslint-plugin-react-intl-extractor"},"react-intl-format":{repository:"https://github.com/calm/eslint-plugin-react-intl-format"},"react-intl-sammy":{repository:"https://github.com/calm/eslint-plugin-react-intl"},"react-intl-static":{repository:"https://github.com/leonardodino/eslint-plugin-react-intl-static"},"react-jss":{repository:"https://github.com/dashxhq/eslint-plugin-react-jss"},"react-kiva":{repository:"https://github.com/SystemLight/eslint-kiva"},"react-lazy-notation":{repository:"https://github.com/vgulaev/eslint-plugin-react-lazy-notation"},"react-memo":{repository:"https://github.com/steadicat/eslint-plugin-react-memo"},"react-native":{docs:"https://github.com/intellicode/eslint-plugin-react-native/blob/master/docs/rules/",repository:"https://github.com/intellicode/eslint-plugin-react-native"},"react-native-a11y":{repository:"https://github.com/FormidableLabs/eslint-plugin-react-native-a11y"},"react-native-animation-linter":{repository:"https://github.com/khan/eslint-plugin-react-native-animation-linter"},"react-native-globals":{repository:"https://github.com/satya164/eslint-plugin-react-native-globals"},"react-native-no-get-item-layout-prop-on-virtualized-list":{repository:"https://github.com/yannickcr/eslint-plugin-react"},"react-native-normalized":{repository:"https://github.com/JonnyBurger/eslint-plugin-react-native-normalized"},"react-native-wix":{repository:"https://github.com/wix/eslint-config-wix"},"react-percy":{repository:"https://github.com/percy/react-percy"},"react-perf":{docs:"https://github.com/cvazac/eslint-plugin-react-perf/blob/master/docs/rules/",repository:"https://github.com/cvazac/eslint-plugin-react-perf"},"react-performance-check":{repository:"https://github.com/siling1990/ESLintRule"},"react-prefer-function-component":{repository:"https://github.com/tatethurston/eslint-plugin-react-prefer-function-component"},"react-project":{repository:"https://github.com/gilfoylehuang/eslint-plugin-react-project"},"react-props":{repository:"https://github.com/craigbilner/eslint-plugin-react-props"},"react-pug":{repository:"https://github.com/ezhlobo/eslint-plugin-react-pug"},"react-query":{repository:"https://github.com/KubaJastrz/eslint-plugin-react-query"},"react-redux":{repository:"https://github.com/DianaSuvorova/eslint-plugin-react-redux"},"react-refresh":{repository:"https://github.com/ArnaudBarre/eslint-plugin-react-refresh"},"react-ssr":{repository:"https://github.com/ytanruengsri/eslint-plugin-react-ssr"},"react-svg":{repository:"https://github.com/raix/eslint-plugin-react-svg"},"react-use-props":{repository:"https://github.com/docccdev/eslint-plugin-react-use-props"},"react-with-classes":{repository:"https://github.com/jameswomack/eslint-plugin-react-with-classes"},"react-with-styles":{repository:"https://github.com/airbnb/eslint-plugin-react-with-styles"},"react-xhooks":{repository:"https://github.com/xsjohn0306/eslint-plugin-react-xhooks"},reactxp:{repository:"https://github.com/a-tarasyuk/eslint-plugin-reactxp"},readable:{repository:"https://github.com/YounGoat/eslint-plugin-readable"},reanimated:{repository:"https://github.com/wcandillon/eslint-plugin-reanimated"},rebase:{repository:"https://github.com/AndersDJohnson/eslint-plugin-rebase"},redos:{repository:"https://github.com/makenowjust-labs/recheck"},"redos-detector":{repository:"https://github.com/tjenkinson/eslint-plugin-redos-detector"},"redundant-undefined":{repository:"https://github.com/a-tarasyuk/eslint-plugin-redundant-undefined"},redux:{repository:"https://github.com/Intellicode/eslint-plugin-redux"},"redux-reselect":{repository:"https://github.com/viktor-ku/eslint-plugin-redux-reselect"},"redux-saga":{repository:"https://github.com/pke/eslint-plugin-redux-saga"},regex:{repository:"https://github.com/gmullerb/eslint-plugin-regex"},regexp:{docs:"https://github.com/ota-meshi/eslint-plugin-regexp/blob/master/docs/rules/",repository:"https://github.com/ota-meshi/eslint-plugin-regexp"},"regexp-header":{repository:"https://github.com/b4rd/eslint-plugin-regexp-header"},regru:{repository:"https://github.com/regru/eslint-plugin-regru"},"regularjs-beautify":{repository:"https://github.com/hsiaosiyuan0/regularjs-beautify"},reiwa:{repository:"https://github.com/otofu-square/eslint-plugin-reiwa"},relations:{repository:"https://github.com/theKashey/eslint-plugin-relations"},relay:{repository:"https://github.com/relayjs/eslint-plugin-relay"},reload:{repository:"https://github.com/reload/eslint"},remix:{repository:"https://github.com/alii/eslint-plugin-remix"},"remove-test-urls":{repository:"https://github.com/fuadpashayev/eslint-plugin-remove-test-urls"},replyguy:{repository:"https://github.com/jlengstorf/eslint-plugin-replyguy"},require:{repository:"https://github.com/bregenspan/eslint-plugin-require"},"require-call":{repository:"https://github.com/NelsonFrancisco/eslint-plugin-require-call"},"require-decorator":{repository:"https://github.com/ipekmuhammet/eslint-plugin-require-decorator"},"require-docs":{repository:"https://github.com/findmypast-oss/eslint-plugin-require-docs"},"require-duplicate":{repository:"https://github.com/LukaPrebil/eslint-plugin-require-duplicate"},"require-exact-proptypes":{repository:"https://github.com/patrick-addepar/eslint-plugin-require-exact-proptypes"},"require-explicit-generics":{repository:"https://github.com/mattorchard/eslint-plugin-require-explicit-generics"},"require-jsdoc-except":{repository:"https://github.com/MaienM/eslint-plugin-require-jsdoc-except"},"require-jsdoc-focus":{repository:"https://github.com/Bernardstanislas/eslint-plugin-require-jsdoc"},"require-path-exists":{repository:"https://github.com/BohdanTkachenko/eslint-plugin-require-path-exists"},"require-sort":{repository:"https://github.com/zcuric/eslint-plugin-require-sort"},"require-trailing-comma":{repository:"https://github.com/greggman/eslint-plugin-require-trailing-comma"},requirejs:{repository:"https://github.com/cvisco/eslint-plugin-requirejs"},"reselect-utils":{repository:"https://github.com/sgrishchenko/reselect-utils"},ressurectit:{repository:"https://github.com/ressurectit/eslint-plugin-ressurectit"},"restify-use-next":{repository:"https://github.com/rajatkumar/eslint-plugin-restify-use-next"},"restrict-named-import":{repository:"https://github.com/ozaki25/eslint-plugin-restrict-named-import"},resub:{repository:"https://github.com/a-tarasyuk/eslint-plugin-resub"},"return-early-dont-assign":{repository:"https://github.com/deadbeef404/eslint-plugin-return-early-dont-assign"},"return-types-object-literals":{repository:"https://github.com/upload-io/eslint-plugin-return-types-object-literals"},revizto:{repository:"https://github.com/revizto/eslint-rules"},"richtext-cp":{repository:"https://github.com/dmonego/eslint-plugin-richtext-cp"},riot:{repository:"https://github.com/txchen/eslint-plugin-riot"},risxss:{repository:"https://github.com/theodo/RisXSS"},"rn-a11y":{repository:"https://github.com/grgr-dkrk/eslint-plugin-rn-a11y"},"robber-language":{repository:"https://github.com/santi/eslint-plugin-robber-language"},roku:{repository:"https://github.com/RokuRoad/eslint-plugin-roku"},"row-num":{repository:"https://github.com/codsen/eslint-plugin-row-num"},rpgmaker:{repository:"https://github.com/waynee95/eslint-plugin-rpgmaker"},rs:{repository:"https://github.com/skyRoma/eslint-plugin-rs"},rtaro:{repository:"https://github.com/NervJS/taro"},"ru-typography":{repository:"https://github.com/doochik/eslint-plugin-ru-typography"},rulesdir:{repository:"https://github.com/not-an-aardvark/eslint-plugin-rulesdir"},rut:{repository:"https://github.com/milesj/rut"},"rwell-camelcase":{repository:"https://github.com/RoundingWellOS/eslint-plugin-rwell-camelcase"},rxjs:{repository:"https://github.com/cartant/eslint-plugin-rxjs"},"rxjs-angular":{repository:"https://github.com/cartant/eslint-plugin-rxjs-angular"},"rxjs-traits":{repository:"https://github.com/cartant/eslint-plugin-rxjs-traits"},ryanair:{repository:"https://github.com/ryanair/linters"},"salesforce-commercecloud":{repository:"https://github.com/t-huth/eslint-plugin-salesforce-commercecloud"},saxo:{repository:"https://github.com/saxobank/eslint-plugin-saxo"},"sbnc-rules":{repository:"https://github.com/BenceSzalai/eslint-plugin-sbnc-rules"},"scanjs-rules":{repository:"https://github.com/mozfreddyb/eslint-plugin-scanjs-rules"},scd:{repository:"https://github.com/uttk/eslint-plugin-scd"},scissors:{repository:"https://github.com/Colafornia/eslint-plugin-scissors"},screeps:{repository:"https://github.com/postcrafter/eslint-plugin-screeps"},"sdwvit-eslint-plugin-svelte3":{repository:"https://github.com/sveltejs/eslint-plugin-svelte3"},security:{repository:"https://github.com/nodesecurity/eslint-plugin-security"},"security-node":{repository:"https://github.com/gkouziik/eslint-plugin-security-node"},"security-rules":{repository:"https://github.com/lasselupe33/eslint-plugin-security-rules"},"segment-ember-actions":{repository:"https://github.com/authmaker/segment-ember-actions"},self:{repository:"https://github.com/not-an-aardvark/eslint-plugin-self"},"self-dir":{repository:"https://github.com/not-an-aardvark/eslint-plugin-self"},"seller-ui-eslint-plugin":{repository:"https://github.com/npm/security-holder"},"semantic-naming":{repository:"https://github.com/Moncader/eslint-plugin-semantic-naming"},sensible:{repository:"https://github.com/esatterwhite/eslint-plugin-sensible"},"sentry-csii-internal-eslint-plugin-sdk":{repository:"https://github.com/getsentry/sentry-javascript"},sequel:{repository:"https://github.com/5app/eslint-plugin-sequel"},"sequelize-node":{repository:"https://github.com/loomhq/eslint-plugin-sequelize-node"},sequence:{repository:"https://github.com/adashrod/eslint-plugin-sequence"},"serverless-eslint-plugin":{repository:"https://github.com/nishantjain91/serverless-eslint-plugin"},servicenow:{repository:"https://github.com/arnoudkooi/eslint-plugin-servicenow"},"set-iterable":{repository:"https://github.com/fernap3/eslint-plugin-set-iterable"},settimeout:{repository:"https://github.com/udemy/eslint-udemy"},"sfdx-typegen":{repository:"https://github.com/aheber/eslint-plugin-sfdx-typegen"},shitsurei:{repository:"https://github.com/yoidea/eslint-plugin-shitsurei"},shopify:{repository:"https://github.com/Shopify/eslint-plugin-shopify"},"shopify-lean":{repository:"https://github.com/sebastian-software/eslint-plugin-shopify-lean"},"should-promised":{repository:"https://github.com/dbrockman/eslint-plugin-should-promised"},"should-skip-update":{repository:"https://github.com/joeyparis/eslint-plugin-should-skip-update"},"sickle-eslint":{repository:"https://github.com/wffe-team/eslint"},"simple-import-sort":{repository:"https://github.com/lydell/eslint-plugin-simple-import-sort"},"simple-jsx":{repository:"https://github.com/putan/eslint-plugin-simple-jsx"},sinful:{repository:"https://github.com/FauxFaux/eslint-plugin-sinful"},"skip-adobe-directives":{repository:"https://github.com/KisoYuki/eslint-plugin-skip-adobe-directives"},"skip-nolint-lines":{repository:"https://github.com/gregsabo/eslint-plugin-skip-nolint-lines"},"skyscanner-dates":{repository:"https://github.com/Skyscanner/eslint-plugin-skyscanner-dates"},slite:{repository:"https://github.com/sliteteam/eslint-plugin-slite"},"slonik-safe-json":{repository:"https://github.com/Nilithus/eslint-plugin-slonik-safe-json"},"small-import":{repository:"https://github.com/JonnyBurger/eslint-plugin-react-native-normalized"},"smart-quotes":{repository:"https://github.com/jmont/eslint-plugin-smart-quotes"},"smart-sort":{repository:"https://github.com/MoonW1nd/eslint-plugin-smart-sort"},"smarter-tabs":{repository:"https://github.com/cheap-glitch/eslint-plugin-smarter-tabs"},smarthr:{repository:"https://github.com/kufu/eslint-plugin-smarthr"},smartprocure:{repository:"https://github.com/smartprocure/eslint-plugin-smartprocure"},smells:{repository:"https://github.com/elijahmanor/eslint-plugin-smells"},smelly:{repository:"https://github.com/qix-/eslint-plugin-smelly"},"smile-ember":{repository:"https://github.com/smile-io/eslint-plugin-smile-ember"},smtxt:{repository:"https://github.com/sematext/eslint-plugin-smtxt"},snakecasejs:{repository:"https://github.com/ptkdev/eslint-plugin-snakecasejs"},"so-jah-seh":{repository:"https://github.com/independentgeorge/eslint-plugin-so-jah-seh"},solfege:{repository:"https://github.com/neolao/eslint-plugin-solfege"},solfegejs:{repository:"https://github.com/solfegejs/eslint-plugin"},solid:{repository:"https://github.com/joshwilsonvu/eslint-plugin-solid"},sonar:{repository:"https://github.com/rx-ts/eslint-plugin-sonar"},sonarjs:{repository:"https://github.com/SonarSource/eslint-plugin-sonarjs"},"sonarjs-6":{repository:"https://github.com/SonarSource/eslint-plugin-sonarjs"},sort:{repository:"https://github.com/mskelton/eslint-plugin-sort"},"sort-class-members":{repository:"https://github.com/bryanrsmith/eslint-plugin-sort-class-members"},"sort-class-members-allow-null":{repository:"https://github.com/haxxxton/eslint-plugin-sort-class-members"},"sort-destructure-keys":{repository:"https://github.com/mthadley/eslint-plugin-sort-destructure-keys"},"sort-export-all":{repository:"https://github.com/nirtamir2/eslint-plugin-sort-export-all"},"sort-exports":{repository:"https://github.com/jrdrg/eslint-plugin-sort-exports"},"sort-import":{repository:"https://github.com/mistertemp/eslint-plugin-sort-import"},"sort-imports-es6-autofix":{repository:"https://github.com/schuchertmanagementberatung/eslint-plugin-sort-imports-es6-autofix"},"sort-keys":{repository:"https://github.com/namnm/eslint-plugin-sort-keys"},"sort-keys-custom":{repository:"https://github.com/elliesec/eslint-plugin-sort-keys-custom"},"sort-keys-custom-order":{repository:"https://github.com/hugoattal/eslint-plugin-sort-keys-custom-order"},"sort-keys-custom-order-fix":{repository:"https://github.com/brenopolanski/eslint-plugin-sort-keys-custom-order-fix"},"sort-keys-fix":{repository:"https://github.com/leo-buneev/eslint-plugin-sort-keys-fix"},"sort-keys-shorthand":{repository:"https://github.com/fxOne/eslint-plugin-sort-keys-shorthand"},"sort-requires-by-path":{repository:"https://github.com/oaltman/eslint-plugin-sort-requires-by-path"},sorting:{repository:"https://github.com/jacobrask/eslint-plugin-sorting"},"sowing-machine":{repository:"https://github.com/harrysolovay/sowing-machine"},spellcheck:{repository:"https://github.com/aotaduy/eslint-plugin-spellcheck"},speller:{repository:"https://github.com/itlci/eslint-plugin-speller"},spellingbee:{repository:"https://github.com/eschaefer/eslint-plugin-spellingbee"},"split-classnames":{repository:"https://github.com/remorses/split-classnames"},springload:{repository:"https://github.com/springload/eslint-plugin-springload"},springworks:{repository:"https://github.com/Springworks/eslint-plugin-springworks"},spruce:{repository:"https://github.com/sprucelabsai/workspace.sprucebot-skills-kit"},sql:{repository:"https://github.com/gajus/eslint-plugin-sql"},"sql-injection":{repository:"https://github.com/gavinaiken/eslint-plugin-sql-injection"},"sql-pretty":{repository:"https://github.com/devthejo/eslint-plugin-sql-pretty"},square:{repository:"https://github.com/square/eslint-plugin-square"},"srp-hints":{repository:"https://github.com/eliasm307/eslint-plugin-srp-hints"},"ssr-friendly":{repository:"https://github.com/kopiro/eslint-plugin-ssr-friendly"},"ssr-vue":{repository:"https://github.com/jy0529/eslint-plugin-ssr-vue"},"standard-cra":{repository:"https://github.com/kegi/eslint-plugin-standard-cra"},standard2:{repository:"https://github.com/aeharding/eslint-plugin-standard2"},starry:{repository:"https://github.com/StarryInternet/eslint-plugin-starry"},starscraper:{repository:"https://github.com/star-scraper/eslint-plugin-starscraper"},state:{repository:"https://github.com/JackFei/eslint-plugin-state"},stencil:{repository:"https://github.com/addtoevent/stencil-eslint"},"step-functions":{repository:"https://github.com/bdgamble/eslint-plugin-step-functions"},storage:{repository:"https://github.com/mrjones2014/eslint-plugin-storage"},"stormtrooper-eslint-plugin-css-modules":{repository:"https://github.com/atfzl/eslint-plugin-css-modules"},storybook:{repository:"https://github.com/storybookjs/eslint-plugin-storybook"},"strict-booleans":{repository:"https://github.com/vinceau/eslint-plugin-strict-booleans"},"strict-cast":{repository:"https://github.com/TrySound/strict-cast"},"strict-dependencies":{repository:"https://github.com/knowledge-work/eslint-plugin-strict-dependencies"},"strict-null-checks":{repository:"https://github.com/JaroslawPokropinski/eslint-plugin-strict-null-check"},"strict-vue":{repository:"https://github.com/GlebkaF/eslint-plugin-strict-vue"},strudel:{repository:"https://github.com/strudeljs/eslint-plugin-strudel"},style:{repository:"https://github.com/tao-cumplido/eslint-plugin-style"},styled:{repository:"https://github.com/andrienko/eslint-plugin-styled"},"styled-components-sort":{repository:"https://github.com/siffogh/eslint-plugin-better-styled-components"},"styled-components-varname":{repository:"https://github.com/macinjoke/eslint-plugin-styled-components-varname"},"styled-no-color-value":{repository:"https://github.com/phobal/eslint-plugin-styled-no-color-value"},styles:{repository:"https://github.com/eslift/eslint-plugin-styles"},"styles-object":{repository:"https://github.com/helixbass/eslint-plugin-styles-object"},stzhang:{repository:"https://github.com/stuartZhang/eslint-plugin-amo"},"suitcss-classnames":{repository:"https://github.com/azu/eslint-plugin-suitcss-classnames"},suitescript:{repository:"https://github.com/acdvs/eslint-plugin-suitescript"},summer:{repository:"https://github.com/1natsu172/eslint-summer"},superstition:{repository:"https://github.com/gurov/eslint-plugin-superstition"},supfiger:{repository:"https://github.com/supfiger/eslint-plugin-supfiger"},svelte:{repository:"https://github.com/JounQin/eslint-plugin-svelte"},"svelte-inline-compile":{repository:"https://github.com/DockYard/svelte-inline-compile"},svelte3:{repository:"https://github.com/sveltejs/eslint-plugin-svelte3"},"svelte3-new":{repository:"https://github.com/sveltejs/eslint-plugin-svelte3"},"svelte3-patch":{repository:"https://github.com/sveltejs/eslint-plugin-svelte3"},"svelte3-preprocess":{repository:"https://github.com/sveltejs/eslint-plugin-svelte3"},"svg-import-helper":{repository:"https://github.com/mkupriichuk/eslint-plugin-svg-import-helper"},"swarmia-dev":{repository:"https://github.com/swarmia/eslint"},"switch-error-warn":{repository:"https://github.com/finnmerlett/eslint-plugin-switch-error-warn"},"system-import-strings":{repository:"https://github.com/pwmckenna/eslint-plugin-system-import-strings"},t:{repository:"https://github.com/eslift/eslint-plugin-t"},tachecker:{repository:"https://github.com/linshaolie/eslint-plugin-tachecker"},"tachyons-jsx":{repository:"https://github.com/Bebersohl/eslint-plugin-tachyons-jsx"},tailwind:{repository:"https://github.com/Idered/eslint-plugin-tailwind"},tailwindcss:{repository:"https://github.com/francoismassart/eslint-plugin-tailwindcss"},"tailwindcss-jit-restrict":{repository:"https://github.com/nju33/eslint-plugin-tailwindcss-jit-restrict"},talentpair:{repository:"https://github.com/talentpair/eslint-plugin-talentpair"},talltotal:{repository:"https://github.com/talltotal/eslint-plugin-talltotal"},tanda:{repository:"https://github.com/deecewan/eslint-plugin-tanda"},tanok:{repository:"https://github.com/kindritskyiMax/eslint-plugin-tanok"},tap:{repository:"https://github.com/getoslash/eslint-plugin-tap"},"tap-given":{repository:"https://github.com/dex4er/js-eslint-plugin-tap-given"},taro:{repository:"https://github.com/NervJS/taro"},tdd:{repository:"https://github.com/Fox-n-Rabbit/fxnrbt"},"team-vals":{repository:"https://github.com/team-vals/eslint-config-team-vals"},template:{repository:"https://github.com/gramener/eslint-plugin-template"},"template-template":{repository:"https://github.com/sam-parsons/eslint-plugin-template"},ternaries:{repository:"https://github.com/divyagnan/eslint-plugin-ternaries"},ternary:{repository:"https://github.com/grayedfox/eslint-plugin-ternary"},"test-eslint-plugin-sdk":{repository:"https://github.com/getsentry/sentry-javascript"},"test-filenames":{repository:"https://github.com/spalger/eslint-plugin-test-filenames"},"test-id":{repository:"https://github.com/prashantswami/eslint-plugin-test-id"},"test-import-paths":{repository:"https://github.com/jeyj0/eslint-plugin-test-import-paths"},"test-names":{repository:"https://github.com/DanielMSchmidt/eslint-plugin-test-names"},"test-num":{repository:"https://github.com/codsen/eslint-plugin-test-num"},"test-project-eslint-plugin-clarity-adoption":{repository:"https://github.com/vmware-clarity/core"},test91:{repository:"https://github.com/netless-io/eslint-plugin-netless"},"testcafe-community":{repository:"https://github.com/testcafe-community/eslint-plugin-testcafe-community"},"testcafe-extended":{repository:"https://github.com/stefanschenk/eslint-plugin-testcafe-extended"},"testing-library":{docs:"https://github.com/testing-library/eslint-plugin-testing-library/blob/main/docs/rules/",repository:"https://github.com/testing-library/eslint-plugin-testing-library"},tests:{repository:"https://github.com/matthizou/eslint-plugin-tests"},tgandrews:{repository:"https://github.com/tgandrews/eslint-plugin-tgandrews"},"the-step-down-rule":{repository:"https://github.com/skabbi/eslint-plugin-the-step-down-rule"},this:{repository:"https://github.com/matijs/eslint-plugin-this"},"throws-on-load":{repository:"https://github.com/not-an-aardvark/eslint-plugin-throws-on-load"},thunderball:{repository:"https://github.com/angieslist/thunderball.io"},"tick-tock-jsdoc":{repository:"https://github.com/ewandennis/eslint-plugin-tick-tock-jsdoc"},"tilted-react":{repository:"https://github.com/tilted-tm/eslint-plugin-tilted-react"},tinkoff:{repository:"https://github.com/npm/security-holder"},"todo-comments":{repository:"https://github.com/fXy-during/eslint-plugin-todo-comments"},"todo-ddl":{repository:"https://github.com/ATQQ/eslint-plugin-todo-ddl"},"todo-errors":{repository:"https://github.com/KollegOFF/eslint-plugin-todo-errors"},"todo-format":{repository:"https://github.com/YekaiZ/eslint-plugin-todo-format"},"todo-plz":{repository:"https://github.com/sawyerh/eslint-plugin-todo-plz"},todos:{repository:"https://github.com/auhau/eslint-plugin-todos"},toml:{repository:"https://github.com/ota-meshi/eslint-plugin-toml"},tools:{repository:"https://github.com/fengyinchao/eslint-plugin-custom"},toplevel:{repository:"https://github.com/HKalbasi/eslint-plugin-toplevel"},"total-functions":{repository:"https://github.com/danielnixon/eslint-plugin-total-functions"},"tree-shaking":{repository:"https://github.com/lukastaegert/eslint-plugin-tree-shaking"},tribou:{repository:"https://github.com/tribou/eslint-plugin-tribou"},trim:{repository:"https://github.com/doinki/eslint-plugin-trim"},ts:{repository:"https://github.com/ovidiubute/eslint-plugin-ts"},"ts-ban-snippets":{repository:"https://github.com/mrseanryan/eslint-plugin-ts-ban-snippets"},"ts-expect":{repository:"https://github.com/4Catalyzer/eslint-plugin-ts-expect"},"ts-exports":{repository:"https://github.com/wcandillon/eslint-plugin-ts-exports"},"ts-import":{repository:"https://github.com/bradennapier/eslint-plugin-ts-import"},"ts-wasmify":{repository:"https://github.com/JaroslawPokropinski/eslint-plugin-ts-wasmify"},tsc:{repository:"https://github.com/unlight/eslint-plugin-tsc"},tsday:{repository:"https://github.com/dmeneses/eslint-plugin-tsday"},tsdoc:{repository:"https://github.com/microsoft/tsdoc"},tsex:{repository:"https://github.com/wiinuk/eslint-plugin-tsex"},"tshirt-sizes":{repository:"https://github.com/Naoto-Ida/eslint-plugin-tshirt-sizes"},"tslint-comments":{repository:"https://github.com/drewwyatt/eslint-plugin-tslint-comments"},"tss-unused-classes":{repository:"https://github.com/garronej/eslint-plugin-tss-unused-classes"},ttag:{repository:"https://github.com/ttag-org/eslint-plugin-ttag"},turbopatent:{repository:"https://github.com/PatentNavigation/eslint-plugin-turbopatent"},"type-graphql":{repository:"https://github.com/borremosch/eslint-plugin-type-graphql"},types:{repository:"https://github.com/dissimulate/eslint-plugin-types"},"typescript-custom-sort-keys":{repository:"https://github.com/prash471/eslint-plugin-typescript-sort-keys"},"typescript-enum":{repository:"https://github.com/shian15810/eslint-plugin-typescript-enum"},"typescript-eslint-jsx-conditionals":{repository:"https://github.com/ColeWalker/typescript-eslint-jsx-conditionals"},"typescript-kiva":{repository:"https://github.com/SystemLight/eslint-kiva"},"typescript-names":{repository:"https://github.com/rejifald/eslint-plugin-typescript-names"},"typescript-react-kiva":{repository:"https://github.com/SystemLight/eslint-kiva"},"typescript-require-readonly":{repository:"https://github.com/krailler/eslint-plugin-typescript-require-readonly"},"typescript-sort-keys":{repository:"https://github.com/infctr/eslint-plugin-typescript-sort-keys"},typling:{repository:"https://github.com/jamen/eslint-plugin-typling"},udemy:{repository:"https://github.com/udemy/js-tooling"},"ui-testing":{repository:"https://github.com/kwoding/eslint-plugin-ui-testing"},ui5depchk:{repository:"https://github.com/kennyzhangdev/ui5depchk"},unar:{repository:"https://github.com/lkdghzh/eslint-plugin-unar-extends"},"uncalled-iife":{repository:"https://github.com/romainmenke/eslint-plugin-uncalled-iife"},"undef-init":{repository:"https://github.com/bendtherules/eslint-plugin-undef-init"},underscore_case:{repository:"https://github.com/tylerlong/eslint-plugin-underscore_case"},"undocumented-env":{repository:"https://github.com/lennym/eslint-plugin-implicit-dependencies"},unicorn:{docs:"https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/",repository:"https://github.com/sindresorhus/eslint-plugin-unicorn"},"unnecessary-filename-in-import":{repository:"https://github.com/ska-kialo/eslint-plugin-unnecessary-filename-in-import"},"unsafe-property-assignment":{repository:"https://github.com/jonathanKingston/eslint-plugin-unsafe-property-assignment"},"unused-imports":{docs:"https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/",repository:"https://github.com/sweepline/eslint-plugin-unused-imports"},url:{repository:"https://github.com/keyfoxth/eslint-plugin-url"},usagisah:{repository:"https://github.com/gxs114/eslint-plugin-usagisah"},"use-decorator":{repository:"https://github.com/team-parallax/eslint-plugin-use-decorator"},"use-encapsulation":{repository:"https://github.com/kyleshevlin/eslint-plugin-use-encapsulation"},"use-macros":{repository:"https://github.com/wantedly/frolint"},"use-numeric-separator":{repository:"https://github.com/RateGravity/eslint-plugin-use-numeric-separator"},"use-optional-annotation":{repository:"https://github.com/Akagire/eslint-plugin-use-optional-annotation"},"use-selector-with":{repository:"https://github.com/Codecademy/use-selector-with"},"use-storeon":{repository:"https://github.com/Minyens/eslint-plugin-use-storeon"},userscripts:{repository:"https://github.com/Yash-Singh1/eslint-plugin-userscripts"},utils:{repository:"https://github.com/rx-ts/eslint"},uuapp:{repository:"https://github.com/jiridudekusy/eslint-plugin-uuapp"},uvu:{repository:"https://github.com/yudai-nkt/eslint-plugin-uvu"},"validate-declared-imports":{repository:"https://github.com/yardenporat/eslint-plugin-validate-declared-imports"},valtech:{repository:"https://github.com/valtech-nyc/eslint-plugin-valtech"},valtio:{repository:"https://github.com/pmndrs/eslint-plugin-valtio"},"var-length":{repository:"https://github.com/uhyo/eslint-plugin-var-length"},variablenamecheck:{repository:"https://github.com/npm/npm"},variablenamecheck1:{repository:"https://github.com/npm/npm"},variables:{repository:"https://github.com/frsv/eslint-plugin-variables"},various:{repository:"https://github.com/oculus42/eslint-plugin-various"},verdaccio:{repository:"https://github.com/verdaccio/monorepo"},videoamp:{repository:"https://github.com/VideoAmp/eslint-plugin-videoamp"},"view-models":{repository:"https://github.com/asbjornh/eslint-plugin-view-models"},"viper-v2":{repository:"https://github.com/Nigiss/eslint-plugin-viper"},"viper-v3":{repository:"https://github.com/Nigiss/eslint-plugin-viper-v3"},"virtru-lint":{repository:"https://github.com/npm/security-holder"},"vitest-globals":{repository:"https://github.com/saqqdy/eslint-plugin-vitest-globals"},vitsaus:{repository:"https://github.com/Vitsaus/eslint-plugin-vitsaus"},void:{repository:"https://github.com/Chamion/eslint-plugin-void"},"void-only-side-effects":{repository:"https://github.com/Chamion/eslint-plugin-void-only-side-effects"},vtex:{repository:"https://github.com/vtex/typescript"},vue:{docs:"https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/",repository:"https://github.com/vuejs/eslint-plugin-vue"},"vue-2-object-reactivity":{repository:"https://github.com/Maxim-Mazurok/eslint-plugin-vue-2-object-reactivity"},"vue-crooks-nits":{repository:"https://github.com/idlethumbs/eslint-plugin-vue-crooks-nits"},"vue-enhanced":{repository:"https://github.com/fisker/eslint-plugin-vue-enhanced"},"vue-extras":{repository:"https://github.com/przemyslawjanpietrzak/eslint-plugin-vue-extras"},"vue-i18nstring":{repository:"https://github.com/FlyDreame/eslint-plugin-vue-i18n"},"vue-lang":{repository:"https://github.com/FuckingUsername/eslint-plugin-vue-lang"},"vue-libs":{repository:"https://github.com/vuejs/eslint-plugin-vue-libs"},"vue-oboi":{repository:"https://github.com/maxming2333/eslint-plugin-vue-oboi"},"vue-property-precheck":{repository:"https://github.com/CooLNuanfeng/eslint-plugin-vue-property-precheck"},"vue-pug":{repository:"https://github.com/rashfael/eslint-plugin-vue-pug"},"vue-root-class":{repository:"https://github.com/wiese/eslint-plugin-vue-root-class"},"vue-scoped-css":{repository:"https://github.com/future-architect/eslint-plugin-vue-scoped-css"},"vue-split-by-script-lang":{repository:"https://github.com/kmathmann/eslint-plugin-vue-split-by-script-lang"},"vue-style-tag":{repository:"https://github.com/talltotal/eslint-plugin-vue-style-tag"},"vue-types":{repository:"https://github.com/dwightjack/eslint-plugin-vue-types"},"vue3-jsx":{repository:"https://github.com/lk0606/lint"},vuefix:{repository:"https://github.com/lkiarest/eslint-plugin-vuefix"},"vuejs-accessibility":{repository:"https://github.com/vue-a11y/eslint-plugin-vuejs-accessibility"},vuetify:{repository:"https://github.com/vuetifyjs/eslint-plugin-vuetify"},"wang_eslint-plugin-vue":{repository:"https://github.com/vuejs/eslint-plugin-vue"},wantedly:{repository:"https://github.com/wantedly/frolint"},wc:{repository:"https://github.com/43081j/eslint-plugin-wc"},wdio:{repository:"https://github.com/webdriverio/webdriverio"},web:{repository:"https://github.com/aladdin-add/eslint-plugin"},webassembly:{repository:"https://github.com/xtuc/webassemblyjs"},webgl:{repository:"https://github.com/amilajack/eslint-plugin-webgl"},"webgl-logic":{repository:"https://github.com/peteward44/eslint-plugin-webgl-logic"},"webpack-eslint-plugin":{repository:"https://github.com/eyasliu/webpack-eslint-plugin"},weex:{repository:"https://github.com/erha19/eslint-plugin-weex"},"weex-vue":{repository:"https://github.com/erha19/eslint-plugin-weex-vue"},weiyi:{repository:"https://github.com/borenXue/front-packages"},wemlion:{repository:"https://github.com/AngusFu/wemlion-frontend-conf"},whitespace:{repository:"https://github.com/willklein/eslint-plugin-whitespace"},why:{repository:"https://github.com/coleturner/eslint-plugin-why"},widen:{repository:"https://github.com/Widen/eslint-config"},"winniepukki-guidelines":{repository:"https://github.com/winniepukki/guidelines"},"with-tsc-error":{repository:"https://github.com/mkusaka/eslint-plugin-with-tsc-error"},"wix-custom-rules":{repository:"https://github.com/wix-incubator/wix-eslint-custom-rules"},"wix-editor":{repository:"https://github.com/wix/eslint-plugin-wix-editor"},"wix-style-react":{repository:"https://github.com/wix/wix-ui"},wkovacs64:{repository:"https://github.com/wKovacs64/eslint-plugin-wkovacs64"},woke:{repository:"https://github.com/amwmedia/eslint-plugin-woke"},wolkenkit:{repository:"https://github.com/thenativeweb/eslint-plugin-wolkenkit"},workspaces:{repository:"https://github.com/joshuajaco/eslint-plugin-workspaces"},wpcalypso:{repository:"https://github.com/Automattic/wp-calypso"},wpy:{repository:"https://github.com/romoo/eslint-plugin-wpy"},wrapper:{repository:"https://github.com/mmkal/eslint-plugin-wrapper"},"write-good-comments":{repository:"https://github.com/kantord/eslint-plugin-write-good-comments"},wtf:{repository:"https://github.com/qix-/eslint-plugin-wtf"},wtlin:{repository:"https://github.com/wtlin1228/eslint-plugin-wtlin"},wxml:{repository:"https://github.com/wxmlfile/eslint-plugin-wxml"},xgh:{repository:"https://github.com/fabioemoutinho/xgh"},"xod-fp":{repository:"https://github.com/xodio/eslint-plugin-xod-fp"},xogroup:{repository:"https://github.com/xogroup/eslint-plugin-xogroup"},xss:{repository:"https://github.com/Rantanen/eslint-plugin-xss"},xstate:{repository:"https://github.com/rlaffers/eslint-plugin-xstate"},xunit:{repository:"https://github.com/rochejul/eslint-plugin-xunit"},xurei:{repository:"https://github.com/xurei/eslint-plugin"},"xxx-eslint":{repository:"https://github.com/SaiRS/eslint-plugin-xxx-eslint"},yaml:{repository:"https://github.com/aminya/eslint-plugin-yaml"},"yandex-maps":{repository:"https://github.com/npm/security-holder"},yaypay:{repository:"https://github.com/SergiiKudriashov/eslint-plugin-yaypay"},"yen-symbol-check":{repository:"https://github.com/yaofangchao/eslint-plugin-yen-symbol-check"},yml:{repository:"https://github.com/ota-meshi/eslint-plugin-yml"},yola:{repository:"https://github.com/yola/eslint-plugin-yola"},"you-dont-need-lodash-underscore":{repository:"https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore"},"you-dont-need-momentjs":{repository:"https://github.com/you-dont-need/You-Dont-Need-Momentjs"},"you-dont-need-recompose":{repository:"https://github.com/icrosil/eslint-plugin-you-dont-need-recompose"},zero:{repository:"https://github.com/zero-config/eslint-plugin-zero"},"zero-config":{repository:"https://github.com/exelord/eslint-plugin-zero-config"},zflow:{repository:"https://github.com/tzstone/eslint-plugin-flow"},zillow:{repository:"https://github.com/zillow/javascript"},zob:{repository:"https://github.com/xovel/zob"},zoelint:{repository:"https://github.com/bombbombbeng/eslint-plugin-zoelint"},zooshgroup:{repository:"https://github.com/zooshgroup/eslint-plugin-zooshgroup"},"zving-specifications":{repository:"https://github.com/abeet/eslint-plugin-zving-specifications"}};var gS=q((function(t){const[e,i]=t.split("/");if(!i)return{exactMatch:!0,url:"https://eslint.org/docs/rules/"+t};const n=dS[e];if(!n)throw new Error("No documentation found for rule");if(n.docs)return{exactMatch:!0,url:`${n.docs}${i}.md`};if(n.repository)return{exactMatch:!1,url:n.repository};throw new Error("No documentation found for rule")}));const mS={};function yS(t,e,i){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||i?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return bS(t.children,e,i)}return Array.isArray(t)?bS(t,e,i):""}function bS(t,e,i){const n=[];let r=-1;for(;++rr?0:r+e:e>r?r:e,i=i>0?i:0,n.length<1e4)s=Array.from(n),s.unshift(e,i),t.splice(...s);else for(i&&t.splice(e,i);o0?(wS(t,t.length,0,e),t):e}const DS={}.hasOwnProperty;function kS(t){const e={};let i=-1;for(;++is))return;const i=e.events.length;let r,a,u=i;for(;u--;)if("exit"===e.events[u][0]&&"chunkFlow"===e.events[u][1].type){if(r){a=e.events[u][1].end;break}r=!0}for(y(o),t=i;tn;){const n=i[r];e.containerState=n[1],n[0].exit.call(e,t)}i.length=n}function b(){n.write([null]),r=void 0,n=void 0,e.containerState._closeFlow=void 0}}},zS={tokenize:function(t,e,i){return LS(t,t.attempt(this.parser.constructs.document,e,i),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};function qS(t){return null===t||TS(t)||$S(t)?1:IS(t)?2:void 0}function US(t,e,i){const n=[];let r=-1;for(;++r1&&t[c][1].end.offset-t[c][1].start.offset>1?2:1;const h=Object.assign({},t[i][1].end),p=Object.assign({},t[c][1].start);WS(h,-a),WS(p,a),s={type:a>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},t[i][1].end)},o={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[c][1].start),end:p},r={type:a>1?"strongText":"emphasisText",start:Object.assign({},t[i][1].end),end:Object.assign({},t[c][1].start)},n={type:a>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},o.end)},t[i][1].end=Object.assign({},s.start),t[c][1].start=Object.assign({},o.end),u=[],t[i][1].end.offset-t[i][1].start.offset&&(u=vS(u,[["enter",t[i][1],e],["exit",t[i][1],e]])),u=vS(u,[["enter",n,e],["enter",s,e],["exit",s,e],["enter",r,e]]),u=vS(u,US(e.parser.constructs.insideSpan.null,t.slice(i+1,c),e)),u=vS(u,[["exit",r,e],["enter",o,e],["exit",o,e],["exit",n,e]]),t[c][1].end.offset-t[c][1].start.offset?(l=2,u=vS(u,[["enter",t[c][1],e],["exit",t[c][1],e]])):l=0,wS(t,i-1,c-i+3,u),c=i+u.length-l-2;break}c=-1;for(;++c",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"⁡",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"⁣",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},ZS={}.hasOwnProperty;function QS(t){return!!ZS.call(JS,t)&&JS[t]}const XS={name:"characterReference",tokenize:function(t,e,i){const n=this;let r,s,o=0;return function(e){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(e),t.exit("characterReferenceMarker"),a};function a(e){return 35===e?(t.enter("characterReferenceMarkerNumeric"),t.consume(e),t.exit("characterReferenceMarkerNumeric"),u):(t.enter("characterReferenceValue"),r=31,s=FS,l(e))}function u(e){return 88===e||120===e?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(e),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),r=6,s=jS,l):(t.enter("characterReferenceValue"),r=7,s=_S,l(e))}function l(a){if(59===a&&o){const r=t.exit("characterReferenceValue");return s!==FS||QS(n.sliceSerialize(r))?(t.enter("characterReferenceMarker"),t.consume(a),t.exit("characterReferenceMarker"),t.exit("characterReference"),e):i(a)}return s(a)&&o++=a?(t.exit("codeFencedFenceSequence"),RS(e)?LS(t,h,"whitespace")(e):h(e)):i(e)}function h(n){return null===n||BS(n)?(t.exit("codeFencedFence"),e(n)):i(n)}},partial:!0};let s,o=0,a=0;return function(e){return function(e){const i=n.events[n.events.length-1];return o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,s=e,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),u(e)}(e)};function u(e){return e===s?(a++,t.consume(e),u):a<3?i(e):(t.exit("codeFencedFenceSequence"),RS(e)?LS(t,l,"whitespace")(e):l(e))}function l(i){return null===i||BS(i)?(t.exit("codeFencedFence"),n.interrupt?e(i):t.check(t_,f,b)(i)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),c(i))}function c(e){return null===e||BS(e)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),l(e)):RS(e)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),LS(t,h,"whitespace")(e)):96===e&&e===s?i(e):(t.consume(e),c)}function h(e){return null===e||BS(e)?l(e):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),p(e))}function p(e){return null===e||BS(e)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),l(e)):96===e&&e===s?i(e):(t.consume(e),p)}function f(e){return t.attempt(r,b,d)(e)}function d(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),g}function g(e){return o>0&&RS(e)?LS(t,m,"linePrefix",o+1)(e):m(e)}function m(e){return null===e||BS(e)?t.check(t_,f,b)(e):(t.enter("codeFlowValue"),y(e))}function y(e){return null===e||BS(e)?(t.exit("codeFlowValue"),m(e)):(t.consume(e),y)}function b(i){return t.exit("codeFenced"),e(i)}},concrete:!0};const i_={name:"codeIndented",tokenize:function(t,e,i){const n=this;return function(e){return t.enter("codeIndented"),LS(t,r,"linePrefix",5)(e)};function r(t){const e=n.events[n.events.length-1];return e&&"linePrefix"===e[1].type&&e[2].sliceSerialize(e[1],!0).length>=4?s(t):i(t)}function s(e){return null===e?a(e):BS(e)?t.attempt(n_,s,a)(e):(t.enter("codeFlowValue"),o(e))}function o(e){return null===e||BS(e)?(t.exit("codeFlowValue"),s(e)):(t.consume(e),o)}function a(i){return t.exit("codeIndented"),e(i)}}},n_={tokenize:function(t,e,i){const n=this;return r;function r(e){return n.parser.lazy[n.now().line]?i(e):BS(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),r):LS(t,s,"linePrefix",5)(e)}function s(t){const s=n.events[n.events.length-1];return s&&"linePrefix"===s[1].type&&s[2].sliceSerialize(s[1],!0).length>=4?e(t):BS(t)?r(t):i(t)}},partial:!0};const r_={name:"codeText",tokenize:function(t,e,i){let n,r,s=0;return function(e){return t.enter("codeText"),t.enter("codeTextSequence"),o(e)};function o(e){return 96===e?(t.consume(e),s++,o):(t.exit("codeTextSequence"),a(e))}function a(e){return null===e?i(e):32===e?(t.enter("space"),t.consume(e),t.exit("space"),a):96===e?(r=t.enter("codeTextSequence"),n=0,l(e)):BS(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),a):(t.enter("codeTextData"),u(e))}function u(e){return null===e||32===e||96===e||BS(e)?(t.exit("codeTextData"),a(e)):(t.consume(e),u)}function l(i){return 96===i?(t.consume(i),n++,l):n===s?(t.exit("codeTextSequence"),t.exit("codeText"),e(i)):(r.type="codeTextData",u(i))}},resolve:function(t){let e,i,n=t.length-4,r=3;if(!("lineEnding"!==t[r][1].type&&"space"!==t[r][1].type||"lineEnding"!==t[n][1].type&&"space"!==t[n][1].type))for(e=r;++e=4?e(r):t.interrupt(n.parser.constructs.flow,i,e)(r)}},partial:!0};function l_(t,e,i,n,r,s,o,a,u){const l=u||Number.POSITIVE_INFINITY;let c=0;return function(e){if(60===e)return t.enter(n),t.enter(r),t.enter(s),t.consume(e),t.exit(s),h;if(null===e||32===e||41===e||SS(e))return i(e);return t.enter(n),t.enter(o),t.enter(a),t.enter("chunkString",{contentType:"string"}),d(e)};function h(i){return 62===i?(t.enter(s),t.consume(i),t.exit(s),t.exit(r),t.exit(n),e):(t.enter(a),t.enter("chunkString",{contentType:"string"}),p(i))}function p(e){return 62===e?(t.exit("chunkString"),t.exit(a),h(e)):null===e||60===e||BS(e)?i(e):(t.consume(e),92===e?f:p)}function f(e){return 60===e||62===e||92===e?(t.consume(e),p):p(e)}function d(r){return c||null!==r&&41!==r&&!TS(r)?c999||null===h||91===h||93===h&&!a||94===h&&!u&&"_hiddenFootnoteSupport"in o.parser.constructs?i(h):93===h?(t.exit(s),t.enter(r),t.consume(h),t.exit(r),t.exit(n),e):BS(h)?(t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),l):(t.enter("chunkString",{contentType:"string"}),c(h))}function c(e){return null===e||91===e||93===e||BS(e)||u++>999?(t.exit("chunkString"),l(e)):(t.consume(e),a||(a=!RS(e)),92===e?h:c)}function h(e){return 91===e||92===e||93===e?(t.consume(e),u++,c):c(e)}}function h_(t,e,i,n,r,s){let o;return function(e){if(34===e||39===e||40===e)return t.enter(n),t.enter(r),t.consume(e),t.exit(r),o=40===e?41:e,a;return i(e)};function a(i){return i===o?(t.enter(r),t.consume(i),t.exit(r),t.exit(n),e):(t.enter(s),u(i))}function u(e){return e===o?(t.exit(s),a(o)):null===e?i(e):BS(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),LS(t,u,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),l(e))}function l(e){return e===o||null===e||BS(e)?(t.exit("chunkString"),u(e)):(t.consume(e),92===e?c:l)}function c(e){return e===o||92===e?(t.consume(e),l):l(e)}}function p_(t,e){let i;return function n(r){if(BS(r))return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),i=!0,n;if(RS(r))return LS(t,n,i?"linePrefix":"lineSuffix")(r);return e(r)}}function f_(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const d_={name:"definition",tokenize:function(t,e,i){const n=this;let r;return function(e){return t.enter("definition"),function(e){return c_.call(n,t,s,i,"definitionLabel","definitionLabelMarker","definitionLabelString")(e)}(e)};function s(e){return r=f_(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),58===e?(t.enter("definitionMarker"),t.consume(e),t.exit("definitionMarker"),o):i(e)}function o(e){return TS(e)?p_(t,a)(e):a(e)}function a(e){return l_(t,u,i,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(e)}function u(e){return t.attempt(g_,l,l)(e)}function l(e){return RS(e)?LS(t,c,"whitespace")(e):c(e)}function c(s){return null===s||BS(s)?(t.exit("definition"),n.parser.defined.push(r),e(s)):i(s)}}},g_={tokenize:function(t,e,i){return function(e){return TS(e)?p_(t,n)(e):i(e)};function n(e){return h_(t,r,i,"definitionTitle","definitionTitleMarker","definitionTitleString")(e)}function r(e){return RS(e)?LS(t,s,"whitespace")(e):s(e)}function s(t){return null===t||BS(t)?e(t):i(t)}},partial:!0};const m_={name:"hardBreakEscape",tokenize:function(t,e,i){return function(e){return t.enter("hardBreakEscape"),t.consume(e),n};function n(n){return BS(n)?(t.exit("hardBreakEscape"),e(n)):i(n)}}};const y_={name:"headingAtx",tokenize:function(t,e,i){let n=0;return function(e){return t.enter("atxHeading"),function(e){return t.enter("atxHeadingSequence"),r(e)}(e)};function r(e){return 35===e&&n++<6?(t.consume(e),r):null===e||TS(e)?(t.exit("atxHeadingSequence"),s(e)):i(e)}function s(i){return 35===i?(t.enter("atxHeadingSequence"),o(i)):null===i||BS(i)?(t.exit("atxHeading"),e(i)):RS(i)?LS(t,s,"whitespace")(i):(t.enter("atxHeadingText"),a(i))}function o(e){return 35===e?(t.consume(e),o):(t.exit("atxHeadingSequence"),s(e))}function a(e){return null===e||35===e||TS(e)?(t.exit("atxHeadingText"),s(e)):(t.consume(e),a)}},resolve:function(t,e){let i,n,r=t.length-2,s=3;"whitespace"===t[s][1].type&&(s+=2);r-2>s&&"whitespace"===t[r][1].type&&(r-=2);"atxHeadingSequence"===t[r][1].type&&(s===r-1||r-4>s&&"whitespace"===t[r-2][1].type)&&(r-=s+1===r?2:4);r>s&&(i={type:"atxHeadingText",start:t[s][1].start,end:t[r][1].end},n={type:"chunkText",start:t[s][1].start,end:t[r][1].end,contentType:"text"},wS(t,s,r-s+1,[["enter",i,e],["enter",n,e],["exit",n,e],["exit",i,e]]));return t}};const b_=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],w_=["pre","script","style","textarea"],v_={name:"htmlFlow",tokenize:function(t,e,i){const n=this;let r,s,o,a,u;return function(e){return function(e){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(e),l}(e)};function l(a){return 33===a?(t.consume(a),c):47===a?(t.consume(a),s=!0,f):63===a?(t.consume(a),r=3,n.interrupt?e:R):AS(a)?(t.consume(a),o=String.fromCharCode(a),d):i(a)}function c(s){return 45===s?(t.consume(s),r=2,h):91===s?(t.consume(s),r=5,a=0,p):AS(s)?(t.consume(s),r=4,n.interrupt?e:R):i(s)}function h(r){return 45===r?(t.consume(r),n.interrupt?e:R):i(r)}function p(r){const s="CDATA[";return r===s.charCodeAt(a++)?(t.consume(r),6===a?n.interrupt?e:F:p):i(r)}function f(e){return AS(e)?(t.consume(e),o=String.fromCharCode(e),d):i(e)}function d(a){if(null===a||47===a||62===a||TS(a)){const u=47===a,l=o.toLowerCase();return u||s||!w_.includes(l)?b_.includes(o.toLowerCase())?(r=6,u?(t.consume(a),g):n.interrupt?e(a):F(a)):(r=7,n.interrupt&&!n.parser.lazy[n.now().line]?i(a):s?m(a):y(a)):(r=1,n.interrupt?e(a):F(a))}return 45===a||FS(a)?(t.consume(a),o+=String.fromCharCode(a),d):i(a)}function g(r){return 62===r?(t.consume(r),n.interrupt?e:F):i(r)}function m(e){return RS(e)?(t.consume(e),m):x(e)}function y(e){return 47===e?(t.consume(e),x):58===e||95===e||AS(e)?(t.consume(e),b):RS(e)?(t.consume(e),y):x(e)}function b(e){return 45===e||46===e||58===e||95===e||FS(e)?(t.consume(e),b):w(e)}function w(e){return 61===e?(t.consume(e),v):RS(e)?(t.consume(e),w):y(e)}function v(e){return null===e||60===e||61===e||62===e||96===e?i(e):34===e||39===e?(t.consume(e),u=e,D):RS(e)?(t.consume(e),v):k(e)}function D(e){return e===u?(t.consume(e),u=null,E):null===e||BS(e)?i(e):(t.consume(e),D)}function k(e){return null===e||34===e||39===e||47===e||60===e||61===e||62===e||96===e||TS(e)?w(e):(t.consume(e),k)}function E(t){return 47===t||62===t||RS(t)?y(t):i(t)}function x(e){return 62===e?(t.consume(e),A):i(e)}function A(e){return null===e||BS(e)?F(e):RS(e)?(t.consume(e),A):i(e)}function F(e){return 45===e&&2===r?(t.consume(e),j):60===e&&1===r?(t.consume(e),O):62===e&&4===r?(t.consume(e),I):63===e&&3===r?(t.consume(e),R):93===e&&5===r?(t.consume(e),T):!BS(e)||6!==r&&7!==r?null===e||BS(e)?(t.exit("htmlFlowData"),C(e)):(t.consume(e),F):(t.exit("htmlFlowData"),t.check(D_,$,C)(e))}function C(e){return t.check(k_,S,$)(e)}function S(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),_}function _(e){return null===e||BS(e)?C(e):(t.enter("htmlFlowData"),F(e))}function j(e){return 45===e?(t.consume(e),R):F(e)}function O(e){return 47===e?(t.consume(e),o="",B):F(e)}function B(e){if(62===e){const i=o.toLowerCase();return w_.includes(i)?(t.consume(e),I):F(e)}return AS(e)&&o.length<8?(t.consume(e),o+=String.fromCharCode(e),B):F(e)}function T(e){return 93===e?(t.consume(e),R):F(e)}function R(e){return 62===e?(t.consume(e),I):45===e&&2===r?(t.consume(e),R):F(e)}function I(e){return null===e||BS(e)?(t.exit("htmlFlowData"),$(e)):(t.consume(e),I)}function $(i){return t.exit("htmlFlow"),e(i)}},resolveTo:function(t){let e=t.length;for(;e--&&("enter"!==t[e][0]||"htmlFlow"!==t[e][1].type););e>1&&"linePrefix"===t[e-2][1].type&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2));return t},concrete:!0},D_={tokenize:function(t,e,i){return function(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),t.attempt(VS,e,i)}},partial:!0},k_={tokenize:function(t,e,i){const n=this;return function(e){if(BS(e))return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),r;return i(e)};function r(t){return n.parser.lazy[n.now().line]?i(t):e(t)}},partial:!0};const E_={name:"htmlText",tokenize:function(t,e,i){const n=this;let r,s,o;return function(e){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(e),a};function a(e){return 33===e?(t.consume(e),u):47===e?(t.consume(e),v):63===e?(t.consume(e),b):AS(e)?(t.consume(e),E):i(e)}function u(e){return 45===e?(t.consume(e),l):91===e?(t.consume(e),s=0,f):AS(e)?(t.consume(e),y):i(e)}function l(e){return 45===e?(t.consume(e),p):i(e)}function c(e){return null===e?i(e):45===e?(t.consume(e),h):BS(e)?(o=c,B(e)):(t.consume(e),c)}function h(e){return 45===e?(t.consume(e),p):c(e)}function p(t){return 62===t?O(t):45===t?h(t):c(t)}function f(e){const n="CDATA[";return e===n.charCodeAt(s++)?(t.consume(e),6===s?d:f):i(e)}function d(e){return null===e?i(e):93===e?(t.consume(e),g):BS(e)?(o=d,B(e)):(t.consume(e),d)}function g(e){return 93===e?(t.consume(e),m):d(e)}function m(e){return 62===e?O(e):93===e?(t.consume(e),m):d(e)}function y(e){return null===e||62===e?O(e):BS(e)?(o=y,B(e)):(t.consume(e),y)}function b(e){return null===e?i(e):63===e?(t.consume(e),w):BS(e)?(o=b,B(e)):(t.consume(e),b)}function w(t){return 62===t?O(t):b(t)}function v(e){return AS(e)?(t.consume(e),D):i(e)}function D(e){return 45===e||FS(e)?(t.consume(e),D):k(e)}function k(e){return BS(e)?(o=k,B(e)):RS(e)?(t.consume(e),k):O(e)}function E(e){return 45===e||FS(e)?(t.consume(e),E):47===e||62===e||TS(e)?x(e):i(e)}function x(e){return 47===e?(t.consume(e),O):58===e||95===e||AS(e)?(t.consume(e),A):BS(e)?(o=x,B(e)):RS(e)?(t.consume(e),x):O(e)}function A(e){return 45===e||46===e||58===e||95===e||FS(e)?(t.consume(e),A):F(e)}function F(e){return 61===e?(t.consume(e),C):BS(e)?(o=F,B(e)):RS(e)?(t.consume(e),F):x(e)}function C(e){return null===e||60===e||61===e||62===e||96===e?i(e):34===e||39===e?(t.consume(e),r=e,S):BS(e)?(o=C,B(e)):RS(e)?(t.consume(e),C):(t.consume(e),_)}function S(e){return e===r?(t.consume(e),r=void 0,j):null===e?i(e):BS(e)?(o=S,B(e)):(t.consume(e),S)}function _(e){return null===e||34===e||39===e||60===e||61===e||96===e?i(e):47===e||62===e||TS(e)?x(e):(t.consume(e),_)}function j(t){return 47===t||62===t||TS(t)?x(t):i(t)}function O(n){return 62===n?(t.consume(n),t.exit("htmlTextData"),t.exit("htmlText"),e):i(n)}function B(e){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),T}function T(e){return RS(e)?LS(t,R,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):R(e)}function R(e){return t.enter("htmlTextData"),o(e)}}};const x_={name:"labelEnd",tokenize:function(t,e,i){const n=this;let r,s,o=n.events.length;for(;o--;)if(("labelImage"===n.events[o][1].type||"labelLink"===n.events[o][1].type)&&!n.events[o][1]._balanced){r=n.events[o][1];break}return function(e){if(!r)return i(e);if(r._inactive)return c(e);return s=n.parser.defined.includes(f_(n.sliceSerialize({start:r.end,end:n.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelEnd"),a};function a(e){return 40===e?t.attempt(A_,l,s?l:c)(e):91===e?t.attempt(F_,l,s?u:c)(e):s?l(e):c(e)}function u(e){return t.attempt(C_,l,c)(e)}function l(t){return e(t)}function c(t){return r._balanced=!0,i(t)}},resolveTo:function(t,e){let i,n,r,s,o=t.length,a=0;for(;o--;)if(i=t[o][1],n){if("link"===i.type||"labelLink"===i.type&&i._inactive)break;"enter"===t[o][0]&&"labelLink"===i.type&&(i._inactive=!0)}else if(r){if("enter"===t[o][0]&&("labelImage"===i.type||"labelLink"===i.type)&&!i._balanced&&(n=o,"labelLink"!==i.type)){a=2;break}}else"labelEnd"===i.type&&(r=o);const u={type:"labelLink"===t[n][1].type?"link":"image",start:Object.assign({},t[n][1].start),end:Object.assign({},t[t.length-1][1].end)},l={type:"label",start:Object.assign({},t[n][1].start),end:Object.assign({},t[r][1].end)},c={type:"labelText",start:Object.assign({},t[n+a+2][1].end),end:Object.assign({},t[r-2][1].start)};return s=[["enter",u,e],["enter",l,e]],s=vS(s,t.slice(n+1,n+a+3)),s=vS(s,[["enter",c,e]]),s=vS(s,US(e.parser.constructs.insideSpan.null,t.slice(n+a+4,r-3),e)),s=vS(s,[["exit",c,e],t[r-2],t[r-1],["exit",l,e]]),s=vS(s,t.slice(r+1)),s=vS(s,[["exit",u,e]]),wS(t,n,t.length,s),t},resolveAll:function(t){let e=-1;for(;++e=3&&(null===s||BS(s))?(t.exit("thematicBreak"),e(s)):i(s)}function o(e){return e===n?(t.consume(e),r++,o):(t.exit("thematicBreakSequence"),RS(e)?LS(t,s,"whitespace")(e):s(e))}}};const B_={name:"list",tokenize:function(t,e,i){const n=this,r=n.events[n.events.length-1];let s=r&&"linePrefix"===r[1].type?r[2].sliceSerialize(r[1],!0).length:0,o=0;return function(e){const r=n.containerState.type||(42===e||43===e||45===e?"listUnordered":"listOrdered");if("listUnordered"===r?!n.containerState.marker||e===n.containerState.marker:_S(e)){if(n.containerState.type||(n.containerState.type=r,t.enter(r,{_container:!0})),"listUnordered"===r)return t.enter("listItemPrefix"),42===e||45===e?t.check(O_,i,u)(e):u(e);if(!n.interrupt||49===e)return t.enter("listItemPrefix"),t.enter("listItemValue"),a(e)}return i(e)};function a(e){return _S(e)&&++o<10?(t.consume(e),a):(!n.interrupt||o<2)&&(n.containerState.marker?e===n.containerState.marker:41===e||46===e)?(t.exit("listItemValue"),u(e)):i(e)}function u(e){return t.enter("listItemMarker"),t.consume(e),t.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||e,t.check(VS,n.interrupt?i:l,t.attempt(T_,h,c))}function l(t){return n.containerState.initialBlankLine=!0,s++,h(t)}function c(e){return RS(e)?(t.enter("listItemPrefixWhitespace"),t.consume(e),t.exit("listItemPrefixWhitespace"),h):i(e)}function h(i){return n.containerState.size=s+n.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(i)}},continuation:{tokenize:function(t,e,i){const n=this;return n.containerState._closeFlow=void 0,t.check(VS,r,s);function r(i){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,LS(t,e,"listItemIndent",n.containerState.size+1)(i)}function s(i){return n.containerState.furtherBlankLines||!RS(i)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,o(i)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,t.attempt(R_,e,o)(i))}function o(r){return n.containerState._closeFlow=!0,n.interrupt=void 0,LS(t,t.attempt(B_,e,i),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(r)}}},exit:function(t){t.exit(this.containerState.type)}},T_={tokenize:function(t,e,i){const n=this;return LS(t,(function(t){const r=n.events[n.events.length-1];return!RS(t)&&r&&"listItemPrefixWhitespace"===r[1].type?e(t):i(t)}),"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},R_={tokenize:function(t,e,i){const n=this;return LS(t,(function(t){const r=n.events[n.events.length-1];return r&&"listItemIndent"===r[1].type&&r[2].sliceSerialize(r[1],!0).length===n.containerState.size?e(t):i(t)}),"listItemIndent",n.containerState.size+1)},partial:!0};const I_={name:"setextUnderline",tokenize:function(t,e,i){const n=this;let r;return function(e){let o,a=n.events.length;for(;a--;)if("lineEnding"!==n.events[a][1].type&&"linePrefix"!==n.events[a][1].type&&"content"!==n.events[a][1].type){o="paragraph"===n.events[a][1].type;break}if(!n.parser.lazy[n.now().line]&&(n.interrupt||o))return t.enter("setextHeadingLine"),r=e,function(e){return t.enter("setextHeadingLineSequence"),s(e)}(e);return i(e)};function s(e){return e===r?(t.consume(e),s):(t.exit("setextHeadingLineSequence"),RS(e)?LS(t,o,"lineSuffix")(e):o(e))}function o(n){return null===n||BS(n)?(t.exit("setextHeadingLine"),e(n)):i(n)}},resolveTo:function(t,e){let i,n,r,s=t.length;for(;s--;)if("enter"===t[s][0]){if("content"===t[s][1].type){i=s;break}"paragraph"===t[s][1].type&&(n=s)}else"content"===t[s][1].type&&t.splice(s,1),r||"definition"!==t[s][1].type||(r=s);const o={type:"setextHeading",start:Object.assign({},t[n][1].start),end:Object.assign({},t[t.length-1][1].end)};t[n][1].type="setextHeadingText",r?(t.splice(n,0,["enter",o,e]),t.splice(r+1,0,["exit",t[i][1],e]),t[i][1].end=Object.assign({},t[r][1].end)):t[i][1]=o;return t.push(["exit",o,e]),t}};const $_={tokenize:function(t){const e=this,i=t.attempt(VS,(function(n){if(null===n)return void t.consume(n);return t.enter("lineEndingBlank"),t.consume(n),t.exit("lineEndingBlank"),e.currentConstruct=void 0,i}),t.attempt(this.parser.constructs.flowInitial,n,LS(t,t.attempt(this.parser.constructs.flow,n,t.attempt(a_,n)),"linePrefix")));return i;function n(n){if(null!==n)return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),e.currentConstruct=void 0,i;t.consume(n)}}};const N_={resolveAll:z_()},L_=M_("string"),P_=M_("text");function M_(t){return{tokenize:function(e){const i=this,n=this.parser.constructs[t],r=e.attempt(n,s,o);return s;function s(t){return u(t)?r(t):o(t)}function o(t){if(null!==t)return e.enter("data"),e.consume(t),a;e.consume(t)}function a(t){return u(t)?(e.exit("data"),r(t)):(e.consume(t),a)}function u(t){if(null===t)return!0;const e=n[t];let r=-1;if(e)for(;++r-1){const t=o[0];"string"==typeof t?o[0]=t.slice(n):o.shift()}s>0&&o.push(t[r].slice(0,s))}return o}(o,t)}function p(){const{line:t,column:e,offset:i,_index:r,_bufferIndex:s}=n;return{line:t,column:e,offset:i,_index:r,_bufferIndex:s}}function f(){let t;for(;n._index13&&i<32||i>126&&i<160||i>55295&&i<57344||i>64975&&i<65008||!(65535&~i)||65534==(65535&i)||i>1114111?"�":String.fromCharCode(i)}const tj=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ej(t){return t.replace(tj,ij)}function ij(t,e,i){if(e)return e;if(35===i.charCodeAt(0)){const t=i.charCodeAt(1),e=120===t||88===t;return X_(i.slice(e?2:1),e?16:10)}return QS(i)||t}const nj={}.hasOwnProperty,rj=function(t,e,i){return"string"!=typeof e&&(i=e,e=void 0),function(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(it),autolinkProtocol:C,autolinkEmail:C,atxHeading:a(Q),blockQuote:a(V),characterEscape:C,characterReference:C,codeFenced:a(K),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:a(K,u),codeText:a(Y,u),codeTextData:C,data:C,codeFlowValue:C,definition:a(J),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:a(Z),hardBreakEscape:a(X),hardBreakTrailing:a(X),htmlFlow:a(tt,u),htmlFlowData:C,htmlText:a(tt,u),htmlTextData:C,image:a(et),label:u,link:a(it),listItem:a(rt),listItemValue:d,listOrdered:a(nt,f),listUnordered:a(nt),paragraph:a(st),reference:z,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:a(Q),strong:a(ot),thematicBreak:a(ut)},exit:{atxHeading:c(),atxHeadingSequence:E,autolink:c(),autolinkEmail:H,autolinkProtocol:W,blockQuote:c(),characterEscapeValue:S,characterReferenceMarkerHexadecimal:U,characterReferenceMarkerNumeric:U,characterReferenceValue:G,codeFenced:c(b),codeFencedFence:y,codeFencedFenceInfo:g,codeFencedFenceMeta:m,codeFlowValue:S,codeIndented:c(w),codeText:c(T),codeTextData:S,data:S,definition:c(),definitionDestinationString:k,definitionLabelString:v,definitionTitleString:D,emphasis:c(),hardBreakEscape:c(j),hardBreakTrailing:c(j),htmlFlow:c(O),htmlFlowData:S,htmlText:c(B),htmlTextData:S,image:c(I),label:N,labelText:$,lineEnding:_,link:c(R),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:q,resourceDestinationString:L,resourceTitleString:P,resource:M,setextHeading:c(F),setextHeadingLineSequence:A,setextHeadingText:x,strong:c(),thematicBreak:c()}};oj(e,(t||{}).mdastExtensions||[]);const i={};return n;function n(t){let i={type:"root",children:[]};const n={stack:[i],tokenStack:[],config:e,enter:l,exit:h,buffer:u,resume:p,setData:s,getData:o},a=[];let c=-1;for(;++c0){const t=n.tokenStack[n.tokenStack.length-1];(t[1]||uj).call(n,void 0,t[0])}for(i.position={start:sj(t.length>0?t[0][1].start:{line:1,column:1,offset:0}),end:sj(t.length>0?t[t.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c"+(i?"":" ")+t}function pj(t,e){return fj(t,e.inConstruct,!0)&&!fj(t,e.notInConstruct,!1)}function fj(t,e,i){if("string"==typeof e&&(e=[e]),!e||0===e.length)return i;let n=-1;for(;++n":""),""+c+")")})}var c;return h;function h(){let l,c,h,p=[];if((!e||r(o,a,u[u.length-1]||null))&&(p=function(t){if(Array.isArray(t))return t;if("number"==typeof t)return[Ej,t];return[t]}(i(o,u)),p[0]===xj))return p;if(o.children&&p[0]!==Aj)for(c=(n?o.children.length:-1)+s,h=u.concat(o);c>-1&&c{if("value"in t&&/\r?\n|\r/.test(t.value)||"break"===t.type)return i=!0,xj})),Boolean((!t.depth||t.depth<3)&&_j(t)&&(e.options.setext||i))}function Tj(t){return t.value||""}function Rj(t,e,i,n){const r=yj(i),s='"'===r?"Quote":"Apostrophe",o=i.enter("image");let a=i.enter("label");const u=i.createTracker(n);let l=u.move("![");return l+=u.move(i.safe(t.alt,{before:l,after:"]",...u.current()})),l+=u.move("]("),a(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(a=i.enter("destinationLiteral"),l+=u.move("<"),l+=u.move(i.safe(t.url,{before:l,after:">",...u.current()})),l+=u.move(">")):(a=i.enter("destinationRaw"),l+=u.move(i.safe(t.url,{before:l,after:t.title?" ":")",...u.current()}))),a(),t.title&&(a=i.enter(`title${s}`),l+=u.move(" "+r),l+=u.move(i.safe(t.title,{before:l,after:r,...u.current()})),l+=u.move(r),a()),l+=u.move(")"),o(),l}function Ij(t,e,i,n){const r=t.referenceType,s=i.enter("imageReference");let o=i.enter("label");const a=i.createTracker(n);let u=a.move("![");const l=i.safe(t.alt,{before:u,after:"]",...a.current()});u+=a.move(l+"]["),o();const c=i.stack;i.stack=[],o=i.enter("reference");const h=i.safe(i.associationId(t),{before:u,after:"]",...a.current()});return o(),i.stack=c,s(),"full"!==r&&l&&l===h?"shortcut"===r?u=u.slice(0,-1):u+=a.move("]"):u+=a.move(h+"]"),u}function $j(t){if(!t._compiled){const e=(t.atBreak?"[\\r\\n][\\t ]*":"")+(t.before?"(?:"+t.before+")":"");t._compiled=new RegExp((e?"("+e+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(t.character)?"\\":"")+t.character+(t.after?"(?:"+t.after+")":""),"g")}return t._compiled}function Nj(t,e,i){let n=t.value||"",r="`",s=-1;for(;new RegExp("(^|[^`])"+r+"([^`]|$)").test(n);)r+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++s\u007F]/.test(t.url))}function Pj(t,e,i,n){const r=yj(i),s='"'===r?"Quote":"Apostrophe",o=i.createTracker(n);let a,u;if(Lj(t,i)){const e=i.stack;i.stack=[],a=i.enter("autolink");let n=o.move("<");return n+=o.move(i.containerPhrasing(t,{before:n,after:">",...o.current()})),n+=o.move(">"),a(),i.stack=e,n}a=i.enter("link"),u=i.enter("label");let l=o.move("[");return l+=o.move(i.containerPhrasing(t,{before:l,after:"](",...o.current()})),l+=o.move("]("),u(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(u=i.enter("destinationLiteral"),l+=o.move("<"),l+=o.move(i.safe(t.url,{before:l,after:">",...o.current()})),l+=o.move(">")):(u=i.enter("destinationRaw"),l+=o.move(i.safe(t.url,{before:l,after:t.title?" ":")",...o.current()}))),u(),t.title&&(u=i.enter(`title${s}`),l+=o.move(" "+r),l+=o.move(i.safe(t.title,{before:l,after:r,...o.current()})),l+=o.move(r),u()),l+=o.move(")"),a(),l}function Mj(t,e,i,n){const r=t.referenceType,s=i.enter("linkReference");let o=i.enter("label");const a=i.createTracker(n);let u=a.move("[");const l=i.containerPhrasing(t,{before:u,after:"]",...a.current()});u+=a.move(l+"]["),o();const c=i.stack;i.stack=[],o=i.enter("reference");const h=i.safe(i.associationId(t),{before:u,after:"]",...a.current()});return o(),i.stack=c,s(),"full"!==r&&l&&l===h?"shortcut"===r?u=u.slice(0,-1):u+=a.move("]"):u+=a.move(h+"]"),u}function zj(t){const e=t.options.bullet||"*";if("*"!==e&&"+"!==e&&"-"!==e)throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function qj(t){const e=t.options.bulletOrdered||".";if("."!==e&&")"!==e)throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}function Uj(t){const e=t.options.rule||"*";if("*"!==e&&"-"!==e&&"_"!==e)throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function Gj(t,e,i,n){const r=function(t){const e=t.options.listItemIndent||"tab";if(1===e||"1"===e)return"one";if("tab"!==e&&"one"!==e&&"mixed"!==e)throw new Error("Cannot serialize items with `"+e+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return e}(i);let s=i.bulletCurrent||zj(i);e&&"list"===e.type&&e.ordered&&(s=("number"==typeof e.start&&e.start>-1?e.start:1)+(!1===i.options.incrementListMarker?0:e.children.indexOf(t))+s);let o=s.length+1;("tab"===r||"mixed"===r&&(e&&"list"===e.type&&e.spread||t.spread))&&(o=4*Math.ceil(o/4));const a=i.createTracker(n);a.move(s+" ".repeat(o-s.length)),a.shift(o);const u=i.enter("listItem"),l=i.indentLines(i.containerFlow(t,a.current()),(function(t,e,i){if(e)return(i?"":" ".repeat(o))+t;return(i?s:s+" ".repeat(o-s.length))+t}));return u(),l}Tj.peek=function(){return"<"},Rj.peek=function(){return"!"},Ij.peek=function(){return"!"},Nj.peek=function(){return"`"},Pj.peek=function(t,e,i){return Lj(t,i)?"<":"["},Mj.peek=function(){return"["};const Wj=vj(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function Hj(t,e,i,n){const r=function(t){const e=t.options.strong||"*";if("*"!==e&&"_"!==e)throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}(i),s=i.enter("strong"),o=i.createTracker(n);let a=o.move(r+r);return a+=o.move(i.containerPhrasing(t,{before:a,after:r,...o.current()})),a+=o.move(r+r),s(),a}Hj.peek=function(t,e,i){return i.options.strong||"*"};const Vj={blockquote:function(t,e,i,n){const r=i.enter("blockquote"),s=i.createTracker(n);s.move("> "),s.shift(2);const o=i.indentLines(i.containerFlow(t,s.current()),hj);return r(),o},break:dj,code:function(t,e,i,n){const r=function(t){const e=t.options.fence||"`";if("`"!==e&&"~"!==e)throw new Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}(i),s=t.value||"",o="`"===r?"GraveAccent":"Tilde";if(gj(t,i)){const t=i.enter("codeIndented"),e=i.indentLines(s,mj);return t(),e}const a=i.createTracker(n),u=r.repeat(Math.max(function(t,e){const i=String(t);let n=i.indexOf(e),r=n,s=0,o=0;if("string"!=typeof e)throw new TypeError("Expected substring");for(;-1!==n;)n===r?++s>o&&(o=s):s=1,r=n+e.length,n=i.indexOf(e,r);return o}(s,r)+1,3)),l=i.enter("codeFenced");let c=a.move(u);if(t.lang){const e=i.enter(`codeFencedLang${o}`);c+=a.move(i.safe(t.lang,{before:c,after:" ",encode:["`"],...a.current()})),e()}if(t.lang&&t.meta){const e=i.enter(`codeFencedMeta${o}`);c+=a.move(" "),c+=a.move(i.safe(t.meta,{before:c,after:"\n",encode:["`"],...a.current()})),e()}return c+=a.move("\n"),s&&(c+=a.move(s+"\n")),c+=a.move(u),l(),c},definition:function(t,e,i,n){const r=yj(i),s='"'===r?"Quote":"Apostrophe",o=i.enter("definition");let a=i.enter("label");const u=i.createTracker(n);let l=u.move("[");return l+=u.move(i.safe(i.associationId(t),{before:l,after:"]",...u.current()})),l+=u.move("]: "),a(),!t.url||/[\0- \u007F]/.test(t.url)?(a=i.enter("destinationLiteral"),l+=u.move("<"),l+=u.move(i.safe(t.url,{before:l,after:">",...u.current()})),l+=u.move(">")):(a=i.enter("destinationRaw"),l+=u.move(i.safe(t.url,{before:l,after:t.title?" ":"\n",...u.current()}))),a(),t.title&&(a=i.enter(`title${s}`),l+=u.move(" "+r),l+=u.move(i.safe(t.title,{before:l,after:r,...u.current()})),l+=u.move(r),a()),o(),l},emphasis:bj,hardBreak:dj,heading:function(t,e,i,n){const r=Math.max(Math.min(6,t.depth||1),1),s=i.createTracker(n);if(Bj(t,i)){const e=i.enter("headingSetext"),n=i.enter("phrasing"),o=i.containerPhrasing(t,{...s.current(),before:"\n",after:"\n"});return n(),e(),o+"\n"+(1===r?"=":"-").repeat(o.length-(Math.max(o.lastIndexOf("\r"),o.lastIndexOf("\n"))+1))}const o="#".repeat(r),a=i.enter("headingAtx"),u=i.enter("phrasing");s.move(o+" ");let l=i.containerPhrasing(t,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(l)&&(l="&#x"+l.charCodeAt(0).toString(16).toUpperCase()+";"+l.slice(1)),l=l?o+" "+l:o,i.options.closeAtx&&(l+=" "+o),u(),a(),l},html:Tj,image:Rj,imageReference:Ij,inlineCode:Nj,link:Pj,linkReference:Mj,list:function(t,e,i,n){const r=i.enter("list"),s=i.bulletCurrent;let o=t.ordered?qj(i):zj(i);const a=t.ordered?function(t){const e=qj(t),i=t.options.bulletOrderedOther;if(!i)return"."===e?")":".";if("."!==i&&")"!==i)throw new Error("Cannot serialize items with `"+i+"` for `options.bulletOrderedOther`, expected `*`, `+`, or `-`");if(i===e)throw new Error("Expected `bulletOrdered` (`"+e+"`) and `bulletOrderedOther` (`"+i+"`) to be different");return i}(i):function(t){const e=zj(t),i=t.options.bulletOther;if(!i)return"*"===e?"-":"*";if("*"!==i&&"+"!==i&&"-"!==i)throw new Error("Cannot serialize items with `"+i+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(i===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+i+"`) to be different");return i}(i),u=i.bulletLastUsed;let l=!1;if(e&&(t.ordered?i.options.bulletOrderedOther:i.options.bulletOther)&&u&&o===u&&(l=!0),!t.ordered){const e=t.children?t.children[0]:void 0;if("*"!==o&&"-"!==o||!e||e.children&&e.children[0]||"list"!==i.stack[i.stack.length-1]||"listItem"!==i.stack[i.stack.length-2]||"list"!==i.stack[i.stack.length-3]||"listItem"!==i.stack[i.stack.length-4]||0!==i.indexStack[i.indexStack.length-1]||0!==i.indexStack[i.indexStack.length-2]||0!==i.indexStack[i.indexStack.length-3]||(l=!0),Uj(i)===o&&e){let e=-1;for(;++eWj(t)))?i.containerPhrasing:i.containerFlow).call(i,t,n)},strong:Hj,text:function(t,e,i,n){return i.safe(t.value,n)},thematicBreak:function(t,e,i){const n=(Uj(i)+(i.options.ruleSpaces?" ":"")).repeat(function(t){const e=t.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}(i));return i.options.ruleSpaces?n.slice(0,-1):n}},Kj=[function(t,e,i,n){if("code"===e.type&&gj(e,n)&&("list"===t.type||t.type===e.type&&gj(t,n)))return!1;if("list"===t.type&&t.type===e.type&&Boolean(t.ordered)===Boolean(e.ordered)&&!(t.ordered?n.options.bulletOrderedOther:n.options.bulletOther))return!1;if("spread"in i&&"boolean"==typeof i.spread){if("paragraph"===t.type&&(t.type===e.type||"definition"===e.type||"heading"===e.type&&Bj(e,n)))return;return i.spread?1:0}}];const Yj=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],Jj=[{character:"\t",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",before:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:Yj},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:Yj},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:"(?:[ \t\r\n*])"},{character:"*",inConstruct:"phrasing",notInConstruct:Yj},{atBreak:!0,character:"+",after:"(?:[ \t\r\n])"},{atBreak:!0,character:"-",after:"(?:[ \t\r\n-])"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \t\r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:Yj},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:Yj},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:Yj},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:Yj},{atBreak:!0,character:"~"}];function Zj(t){return t.label||!t.identifier?t.label||"":ej(t.identifier)}function Qj(t,e,i){const n=e.indexStack,r=t.children||[],s=[];let o=-1,a=i.before;n.push(-1);let u=e.createTracker(i);for(;++o0&&("\r"===a||"\n"===a)&&"html"===l.type&&(s[s.length-1]=s[s.length-1].replace(/(\r?\n|\r)$/," "),a=" ",u=e.createTracker(i),u.move(s.join(""))),s.push(u.move(e.handle(l,t,e,{...u.current(),before:a,after:c}))),a=s[s.length-1].slice(-1)}return n.pop(),s.join("")}function Xj(t,e,i){const n=e.indexStack,r=t.children||[],s=e.createTracker(i),o=[];let a=-1;for(n.push(-1);++a=l||(t+10&&!i&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),i}function jO(t,e){const i=String(t);if("string"!=typeof e)throw new TypeError("Expected character");let n=0,r=i.indexOf(e);for(;-1!==r;)n++,r=i.indexOf(e,r+e.length);return n}kO[43]=DO,kO[45]=DO,kO[46]=DO,kO[95]=DO,kO[72]=[DO,vO],kO[104]=[DO,vO],kO[87]=[DO,wO],kO[119]=[DO,wO];const OO={}.hasOwnProperty,BO=function(t,e,i,n){let r,s;"string"==typeof e||e instanceof RegExp?(s=[[e,i]],r=n):(s=e,r=i),r||(r={});const o=vj(r.ignore||[]),a=function(t){const e=[];if("object"!=typeof t)throw new TypeError("Expected array or object as schema");if(Array.isArray(t)){let i=-1;for(;++i0?{type:"text",value:a}:void 0),!1!==a&&(s!==i&&c.push({type:"text",value:t.value.slice(s,i)}),Array.isArray(a)?c.push(...a):a&&c.push(a),s=i+h[0].length,l=!0),!n.global)break;h=n.exec(t.value)}l?(st}const IO="phrasing",$O=["autolink","link","image","label"],NO={transforms:[function(t){BO(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,MO],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,zO]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(t){this.enter({type:"link",title:null,url:"",children:[]},t)},literalAutolinkEmail:PO,literalAutolinkHttp:PO,literalAutolinkWww:PO},exit:{literalAutolink:function(t){this.exit(t)},literalAutolinkEmail:function(t){this.config.exit.autolinkEmail.call(this,t)},literalAutolinkHttp:function(t){this.config.exit.autolinkProtocol.call(this,t)},literalAutolinkWww:function(t){this.config.exit.data.call(this,t);const e=this.stack[this.stack.length-1];e.url="http://"+this.sliceSerialize(t)}}},LO={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:IO,notInConstruct:$O},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:IO,notInConstruct:$O},{character:":",before:"[ps]",after:"\\/",inConstruct:IO,notInConstruct:$O}]};function PO(t){this.config.enter.autolinkProtocol.call(this,t)}function MO(t,e,i,n,r){let s="";if(!qO(r))return!1;if(/^w/i.test(e)&&(i=e+i,e="",s="http://"),!function(t){const e=t.split(".");if(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))return!1;return!0}(i))return!1;const o=function(t){const e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let i=e[0],n=i.indexOf(")");const r=jO(t,"(");let s=jO(t,")");for(;-1!==n&&r>s;)t+=i.slice(0,n+1),i=i.slice(n+1),n=i.indexOf(")"),s++;return[t,i]}(i+n);if(!o[0])return!1;const a={type:"link",title:null,url:s+e+o[0],children:[{type:"text",value:e+o[0]}]};return o[1]?[a,{type:"text",value:o[1]}]:a}function zO(t,e,i,n){return!(!qO(n,!0)||/[-\d_]$/.test(i))&&{type:"link",title:null,url:"mailto:"+e+"@"+i,children:[{type:"text",value:e+"@"+i}]}}function qO(t,e){const i=t.input.charCodeAt(t.index-1);return(0===t.index||$S(i)||IS(i))&&(!e||47!==i)}const UO={};function GO(t,e){const i=e||UO;return WO(t,"boolean"!=typeof i.includeImageAlt||i.includeImageAlt,"boolean"!=typeof i.includeHtml||i.includeHtml)}function WO(t,e,i){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||i?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return HO(t.children,e,i)}return Array.isArray(t)?HO(t,e,i):""}function HO(t,e,i){const n=[];let r=-1;for(;++r<~]))"].join("|");return new RegExp(e,t?void 0:"g")}();function KO(t){if("string"!=typeof t)throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);return t.replace(VO,"")}var YO,JO,ZO,QO,XO,tB,eB,iB,nB={exports:{}};function rB(){if(QO)return ZO;QO=1;const t=JO?YO:(JO=1,YO={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]}),e={};for(const i of Object.keys(t))e[t[i]]=i;const i={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"]}};ZO=i;for(const t of Object.keys(i)){if(!("channels"in i[t]))throw new Error("missing channels property: "+t);if(!("labels"in i[t]))throw new Error("missing channel labels property: "+t);if(i[t].labels.length!==i[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:n}=i[t];delete i[t].channels,delete i[t].labels,Object.defineProperty(i[t],"channels",{value:e}),Object.defineProperty(i[t],"labels",{value:n})}return i.rgb.hsl=function(t){const e=t[0]/255,i=t[1]/255,n=t[2]/255,r=Math.min(e,i,n),s=Math.max(e,i,n),o=s-r;let a,u;s===r?a=0:e===s?a=(i-n)/o:i===s?a=2+(n-e)/o:n===s&&(a=4+(e-i)/o),a=Math.min(60*a,360),a<0&&(a+=360);const l=(r+s)/2;return u=s===r?0:l<=.5?o/(s+r):o/(2-s-r),[a,100*u,100*l]},i.rgb.hsv=function(t){let e,i,n,r,s;const o=t[0]/255,a=t[1]/255,u=t[2]/255,l=Math.max(o,a,u),c=l-Math.min(o,a,u),h=function(t){return(l-t)/6/c+.5};return 0===c?(r=0,s=0):(s=c/l,e=h(o),i=h(a),n=h(u),o===l?r=n-i:a===l?r=1/3+e-n:u===l&&(r=2/3+i-e),r<0?r+=1:r>1&&(r-=1)),[360*r,100*s,100*l]},i.rgb.hwb=function(t){const e=t[0],n=t[1];let r=t[2];const s=i.rgb.hsl(t)[0],o=1/255*Math.min(e,Math.min(n,r));return r=1-1/255*Math.max(e,Math.max(n,r)),[s,100*o,100*r]},i.rgb.cmyk=function(t){const e=t[0]/255,i=t[1]/255,n=t[2]/255,r=Math.min(1-e,1-i,1-n);return[100*((1-e-r)/(1-r)||0),100*((1-i-r)/(1-r)||0),100*((1-n-r)/(1-r)||0),100*r]},i.rgb.keyword=function(i){const n=e[i];if(n)return n;let r,s=1/0;for(const e of Object.keys(t)){const n=t[e],u=(a=n,((o=i)[0]-a[0])**2+(o[1]-a[1])**2+(o[2]-a[2])**2);u.04045?((e+.055)/1.055)**2.4:e/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;return[100*(.4124*e+.3576*i+.1805*n),100*(.2126*e+.7152*i+.0722*n),100*(.0193*e+.1192*i+.9505*n)]},i.rgb.lab=function(t){const e=i.rgb.xyz(t);let n=e[0],r=e[1],s=e[2];n/=95.047,r/=100,s/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,s=s>.008856?s**(1/3):7.787*s+16/116;return[116*r-16,500*(n-r),200*(r-s)]},i.hsl.rgb=function(t){const e=t[0]/360,i=t[1]/100,n=t[2]/100;let r,s,o;if(0===i)return o=255*n,[o,o,o];r=n<.5?n*(1+i):n+i-n*i;const a=2*n-r,u=[0,0,0];for(let t=0;t<3;t++)s=e+1/3*-(t-1),s<0&&s++,s>1&&s--,o=6*s<1?a+6*(r-a)*s:2*s<1?r:3*s<2?a+(r-a)*(2/3-s)*6:a,u[t]=255*o;return u},i.hsl.hsv=function(t){const e=t[0];let i=t[1]/100,n=t[2]/100,r=i;const s=Math.max(n,.01);n*=2,i*=n<=1?n:2-n,r*=s<=1?s:2-s;return[e,100*(0===n?2*r/(s+r):2*i/(n+i)),100*((n+i)/2)]},i.hsv.rgb=function(t){const e=t[0]/60,i=t[1]/100;let n=t[2]/100;const r=Math.floor(e)%6,s=e-Math.floor(e),o=255*n*(1-i),a=255*n*(1-i*s),u=255*n*(1-i*(1-s));switch(n*=255,r){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]}},i.hsv.hsl=function(t){const e=t[0],i=t[1]/100,n=t[2]/100,r=Math.max(n,.01);let s,o;o=(2-i)*n;const a=(2-i)*r;return s=i*r,s/=a<=1?a:2-a,s=s||0,o/=2,[e,100*s,100*o]},i.hwb.rgb=function(t){const e=t[0]/360;let i=t[1]/100,n=t[2]/100;const r=i+n;let s;r>1&&(i/=r,n/=r);const o=Math.floor(6*e),a=1-n;s=6*e-o,1&o&&(s=1-s);const u=i+s*(a-i);let l,c,h;switch(o){default:case 6:case 0:l=a,c=u,h=i;break;case 1:l=u,c=a,h=i;break;case 2:l=i,c=a,h=u;break;case 3:l=i,c=u,h=a;break;case 4:l=u,c=i,h=a;break;case 5:l=a,c=i,h=u}return[255*l,255*c,255*h]},i.cmyk.rgb=function(t){const e=t[0]/100,i=t[1]/100,n=t[2]/100,r=t[3]/100;return[255*(1-Math.min(1,e*(1-r)+r)),255*(1-Math.min(1,i*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r))]},i.xyz.rgb=function(t){const e=t[0]/100,i=t[1]/100,n=t[2]/100;let r,s,o;return r=3.2406*e+-1.5372*i+-.4986*n,s=-.9689*e+1.8758*i+.0415*n,o=.0557*e+-.204*i+1.057*n,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,r=Math.min(Math.max(0,r),1),s=Math.min(Math.max(0,s),1),o=Math.min(Math.max(0,o),1),[255*r,255*s,255*o]},i.xyz.lab=function(t){let e=t[0],i=t[1],n=t[2];e/=95.047,i/=100,n/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;return[116*i-16,500*(e-i),200*(i-n)]},i.lab.xyz=function(t){let e,i,n;i=(t[0]+16)/116,e=t[1]/500+i,n=i-t[2]/200;const r=i**3,s=e**3,o=n**3;return i=r>.008856?r:(i-16/116)/7.787,e=s>.008856?s:(e-16/116)/7.787,n=o>.008856?o:(n-16/116)/7.787,e*=95.047,i*=100,n*=108.883,[e,i,n]},i.lab.lch=function(t){const e=t[0],i=t[1],n=t[2];let r;r=360*Math.atan2(n,i)/2/Math.PI,r<0&&(r+=360);return[e,Math.sqrt(i*i+n*n),r]},i.lch.lab=function(t){const e=t[0],i=t[1],n=t[2]/360*2*Math.PI;return[e,i*Math.cos(n),i*Math.sin(n)]},i.rgb.ansi16=function(t,e=null){const[n,r,s]=t;let o=null===e?i.rgb.hsv(t)[2]:e;if(o=Math.round(o/50),0===o)return 30;let a=30+(Math.round(s/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===o&&(a+=60),a},i.hsv.ansi16=function(t){return i.rgb.ansi16(i.hsv.rgb(t),t[2])},i.rgb.ansi256=function(t){const e=t[0],i=t[1],n=t[2];if(e===i&&i===n)return e<8?16:e>248?231:Math.round((e-8)/247*24)+232;return 16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5)},i.ansi16.rgb=function(t){let e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const i=.5*(1+~~(t>50));return[(1&e)*i*255,(e>>1&1)*i*255,(e>>2&1)*i*255]},i.ansi256.rgb=function(t){if(t>=232){const e=10*(t-232)+8;return[e,e,e]}let e;t-=16;return[Math.floor(t/36)/5*255,Math.floor((e=t%36)/6)/5*255,e%6/5*255]},i.rgb.hex=function(t){const e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},i.hex.rgb=function(t){const e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let i=e[0];3===e[0].length&&(i=i.split("").map((t=>t+t)).join(""));const n=parseInt(i,16);return[n>>16&255,n>>8&255,255&n]},i.rgb.hcg=function(t){const e=t[0]/255,i=t[1]/255,n=t[2]/255,r=Math.max(Math.max(e,i),n),s=Math.min(Math.min(e,i),n),o=r-s;let a,u;return a=o<1?s/(1-o):0,u=o<=0?0:r===e?(i-n)/o%6:r===i?2+(n-e)/o:4+(e-i)/o,u/=6,u%=1,[360*u,100*o,100*a]},i.hsl.hcg=function(t){const e=t[1]/100,i=t[2]/100,n=i<.5?2*e*i:2*e*(1-i);let r=0;return n<1&&(r=(i-.5*n)/(1-n)),[t[0],100*n,100*r]},i.hsv.hcg=function(t){const e=t[1]/100,i=t[2]/100,n=e*i;let r=0;return n<1&&(r=(i-n)/(1-n)),[t[0],100*n,100*r]},i.hcg.rgb=function(t){const e=t[0]/360,i=t[1]/100,n=t[2]/100;if(0===i)return[255*n,255*n,255*n];const r=[0,0,0],s=e%1*6,o=s%1,a=1-o;let u=0;switch(Math.floor(s)){case 0:r[0]=1,r[1]=o,r[2]=0;break;case 1:r[0]=a,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=o;break;case 3:r[0]=0,r[1]=a,r[2]=1;break;case 4:r[0]=o,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=a}return u=(1-i)*n,[255*(i*r[0]+u),255*(i*r[1]+u),255*(i*r[2]+u)]},i.hcg.hsv=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);let n=0;return i>0&&(n=e/i),[t[0],100*n,100*i]},i.hcg.hsl=function(t){const e=t[1]/100,i=t[2]/100*(1-e)+.5*e;let n=0;return i>0&&i<.5?n=e/(2*i):i>=.5&&i<1&&(n=e/(2*(1-i))),[t[0],100*n,100*i]},i.hcg.hwb=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);return[t[0],100*(i-e),100*(1-i)]},i.hwb.hcg=function(t){const e=t[1]/100,i=1-t[2]/100,n=i-e;let r=0;return n<1&&(r=(i-n)/(1-n)),[t[0],100*n,100*r]},i.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},i.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},i.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},i.gray.hsl=function(t){return[0,0,t[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(t){return[0,100,t[0]]},i.gray.cmyk=function(t){return[0,0,0,t[0]]},i.gray.lab=function(t){return[t[0],0,0]},i.gray.hex=function(t){const e=255&Math.round(t[0]/100*255),i=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(i.length)+i},i.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]},ZO}function sB(){if(tB)return XO;tB=1;const t=rB();function e(e){const i=function(){const e={},i=Object.keys(t);for(let t=i.length,n=0;n{i[n]={},Object.defineProperty(i[n],"channels",{value:t[n].channels}),Object.defineProperty(i[n],"labels",{value:t[n].labels});const r=e(n);Object.keys(r).forEach((t=>{const e=r[t];i[n][t]=function(t){const e=function(...e){const i=e[0];if(null==i)return i;i.length>1&&(e=i);const n=t(e);if("object"==typeof n)for(let t=n.length,e=0;e1&&(e=i),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(e)}))})),eB=i}!function(t){const e=(t,e)=>(...i)=>`[${t(...i)+e}m`,i=(t,e)=>(...i)=>{const n=t(...i);return`[${38+e};5;${n}m`},n=(t,e)=>(...i)=>{const n=t(...i);return`[${38+e};2;${n[0]};${n[1]};${n[2]}m`},r=t=>t,s=(t,e,i)=>[t,e,i],o=(t,e,i)=>{Object.defineProperty(t,e,{get:()=>{const n=i();return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})};let a;const u=(t,e,i,n)=>{void 0===a&&(a=oB());const r=n?10:0,s={};for(const[n,o]of Object.entries(a)){const a="ansi16"===n?"ansi":n;n===e?s[a]=t(i,r):"object"==typeof o&&(s[a]=t(o[e],r))}return s};Object.defineProperty(t,"exports",{enumerable:!0,get:function(){const t=new Map,a={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],blackBright:[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]}};a.color.gray=a.color.blackBright,a.bgColor.bgGray=a.bgColor.bgBlackBright,a.color.grey=a.color.blackBright,a.bgColor.bgGrey=a.bgColor.bgBlackBright;for(const[e,i]of Object.entries(a)){for(const[e,n]of Object.entries(i))a[e]={open:`[${n[0]}m`,close:`[${n[1]}m`},i[e]=a[e],t.set(n[0],n[1]);Object.defineProperty(a,e,{value:i,enumerable:!1})}return Object.defineProperty(a,"codes",{value:t,enumerable:!1}),a.color.close="",a.bgColor.close="",o(a.color,"ansi",(()=>u(e,"ansi16",r,!1))),o(a.color,"ansi256",(()=>u(i,"ansi256",r,!1))),o(a.color,"ansi16m",(()=>u(n,"rgb",s,!1))),o(a.bgColor,"ansi",(()=>u(e,"ansi16",r,!0))),o(a.bgColor,"ansi256",(()=>u(i,"ansi256",r,!0))),o(a.bgColor,"ansi16m",(()=>u(n,"rgb",s,!0))),a}})}(nB);var aB=nB.exports;const uB=h,lB=w,cB=dC,{env:hB}=process;let pB;function fB(t){return 0!==t&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function dB(t,e){if(0===pB)return 0;if(cB("color=16m")||cB("color=full")||cB("color=truecolor"))return 3;if(cB("color=256"))return 2;if(t&&!e&&void 0===pB)return 0;const i=pB||0;if("dumb"===hB.TERM)return i;if("win32"===process.platform){const t=uB.release().split(".");return Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in hB)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((t=>t in hB))||"codeship"===hB.CI_NAME?1:i;if("TEAMCITY_VERSION"in hB)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(hB.TEAMCITY_VERSION)?1:0;if("truecolor"===hB.COLORTERM)return 3;if("TERM_PROGRAM"in hB){const t=parseInt((hB.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(hB.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(hB.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(hB.TERM)||"COLORTERM"in hB?1:i}cB("no-color")||cB("no-colors")||cB("color=false")||cB("color=never")?pB=0:(cB("color")||cB("colors")||cB("color=true")||cB("color=always"))&&(pB=1),"FORCE_COLOR"in hB&&(pB="true"===hB.FORCE_COLOR?1:"false"===hB.FORCE_COLOR?0:0===hB.FORCE_COLOR.length?1:Math.min(parseInt(hB.FORCE_COLOR,10),3));var gB={supportsColor:function(t){return fB(dB(t,t&&t.isTTY))},stdout:fB(dB(!0,lB.isatty(1))),stderr:fB(dB(!0,lB.isatty(2)))};var mB,yB,bB={stringReplaceAll:(t,e,i)=>{let n=t.indexOf(e);if(-1===n)return t;const r=e.length;let s=0,o="";do{o+=t.substr(s,n-s)+e+i,s=n+r,n=t.indexOf(e,s)}while(-1!==n);return o+=t.substr(s),o},stringEncaseCRLFWithFirstIndex:(t,e,i,n)=>{let r=0,s="";do{const o="\r"===t[n-1];s+=t.substr(r,(o?n-1:n)-r)+e+(o?"\r\n":"\n")+i,r=n+1,n=t.indexOf("\n",r)}while(-1!==n);return s+=t.substr(r),s}};const wB=aB,{stdout:vB,stderr:DB}=gB,{stringReplaceAll:kB,stringEncaseCRLFWithFirstIndex:EB}=bB,{isArray:xB}=Array,AB=["ansi","ansi","ansi256","ansi16m"],FB=Object.create(null);class CB{constructor(t){return SB(t)}}const SB=t=>{const e={};return((t,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const i=vB?vB.level:0;t.level=void 0===e.level?i:e.level})(e,t),e.template=(...t)=>$B(e.template,...t),Object.setPrototypeOf(e,_B.prototype),Object.setPrototypeOf(e.template,e),e.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},e.template.Instance=CB,e.template};function _B(t){return SB(t)}for(const[t,e]of Object.entries(wB))FB[t]={get(){const i=TB(this,BB(e.open,e.close,this._styler),this._isEmpty);return Object.defineProperty(this,t,{value:i}),i}};FB.visible={get(){const t=TB(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:t}),t}};const jB=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const t of jB)FB[t]={get(){const{level:e}=this;return function(...i){const n=BB(wB.color[AB[e]][t](...i),wB.color.close,this._styler);return TB(this,n,this._isEmpty)}}};for(const t of jB){FB["bg"+t[0].toUpperCase()+t.slice(1)]={get(){const{level:e}=this;return function(...i){const n=BB(wB.bgColor[AB[e]][t](...i),wB.bgColor.close,this._styler);return TB(this,n,this._isEmpty)}}}}const OB=Object.defineProperties((()=>{}),{...FB,level:{enumerable:!0,get(){return this._generator.level},set(t){this._generator.level=t}}}),BB=(t,e,i)=>{let n,r;return void 0===i?(n=t,r=e):(n=i.openAll+t,r=e+i.closeAll),{open:t,close:e,openAll:n,closeAll:r,parent:i}},TB=(t,e,i)=>{const n=(...t)=>xB(t[0])&&xB(t[0].raw)?RB(n,$B(n,...t)):RB(n,1===t.length?""+t[0]:t.join(" "));return Object.setPrototypeOf(n,OB),n._generator=t,n._styler=e,n._isEmpty=i,n},RB=(t,e)=>{if(t.level<=0||!e)return t._isEmpty?"":e;let i=t._styler;if(void 0===i)return e;const{openAll:n,closeAll:r}=i;if(-1!==e.indexOf(""))for(;void 0!==i;)e=kB(e,i.close,i.open),i=i.parent;const s=e.indexOf("\n");return-1!==s&&(e=EB(e,r,n,s)),n+e+r};let IB;const $B=(t,...e)=>{const[i]=e;if(!xB(i)||!xB(i.raw))return e.join(" ");const n=e.slice(1),r=[i.raw[0]];for(let t=1;te?s(e):i)))}else r.push(o)}return r}function a(t){e.lastIndex=0;const i=[];let n;for(;null!==(n=e.exec(t));){const t=n[1];if(n[2]){const e=o(t,n[2]);i.push([t].concat(e))}else i.push([t])}return i}function u(t,e){const i={};for(const t of e)for(const e of t.styles)i[e[0]]=t.inverse?null:e.slice(1);let n=t;for(const[t,e]of Object.entries(i))if(Array.isArray(e)){if(!(t in n))throw new Error(`Unknown Chalk style: ${t}`);n=e.length>0?n[t](...e):n[t]}return n}return mB=(e,i)=>{const n=[],r=[];let o=[];if(i.replace(t,((t,i,l,c,h,p)=>{if(i)o.push(s(i));else if(c){const t=o.join("");o=[],r.push(0===n.length?t:u(e,n)(t)),n.push({inverse:l,styles:a(c)})}else if(h){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(u(e,n)(o.join(""))),o=[],n.pop()}else o.push(p)})),r.push(o.join("")),n.length>0){const t=`Chalk template literal is missing ${n.length} closing bracket${1===n.length?"":"s"} (\`}\`)`;throw new Error(t)}return r.join("")},mB}()),IB(t,r.join(""))};Object.defineProperties(_B.prototype,FB);const NB=_B();NB.supportsColor=vB,NB.stderr=_B({level:DB?DB.level:0}),NB.stderr.supportsColor=DB;var LB=q(NB);const PB=(t,e)=>e.some((e=>e instanceof RegExp?e.test(t):e===t)),MB=(t,{stripHash:e})=>{const i=/^data:(?[^,]*?),(?[^#]*?)(?:#(?.*))?$/.exec(t);if(!i)throw new Error(`Invalid URL: ${t}`);let{type:n,data:r,hash:s}=i.groups;const o=n.split(";");s=e?"":s;let a=!1;"base64"===o[o.length-1]&&(o.pop(),a=!0);const u=(o.shift()||"").toLowerCase(),l=o.map((t=>{let[e,i=""]=t.split("=").map((t=>t.trim()));return"charset"===e&&(i=i.toLowerCase(),"us-ascii"===i)?"":`${e}${i?`=${i}`:""}`})).filter(Boolean),c=[...l];return a&&c.push("base64"),(c.length>0||u&&"text/plain"!==u)&&c.unshift(u),`data:${c.join(";")},${a?r.trim():r}${s?`#${s}`:""}`};const zB={inlineCode:LB.cyan,heading:LB.bold,emphasis:LB.italic,strong:LB.bold,thematicBreak:LB.dim};function qB(t){const e={...zB,...(t=t||{}).style},i=t.stream||process.stdout,n=t.width||i.columns||3,r=function(t){if("0"===process.env.FORCE_HYPERLINK)return!1;if("1"===process.env.FORCE_HYPERLINK)return!0;if(!t.isTTY)return!1;return fS.supportsHyperlink(t)||!!process.env.WT_SESSION}(i),s=/^https?:\/\//,o=/^https?:\/\/(?:www\.)?npmjs\.com\/package\/([a-z0-9-_@!.]{1,214})$/i,a=/^https?:\/\/github\.com\/([\da-z][-\da-z]{0,38})\/((?:\.git[\w-]|\.(?!git)|[\w-])+)\/(commit|issues|pull)\/([a-f\d]+\/?(?=[#?]|$))/i,u=/^https?:\/\/github\.com\/([\da-z][-\da-z]{0,38})\/((?:\.git[\w-]|\.(?!git)|[\w-])+)/i,l={extensions:[EO],mdastExtensions:[NO]},c={extensions:[LO],bullet:"-",listItemIndent:"one",handlers:{inlineCode:t=>e.inlineCode(UB(t.value)),link(t,i,n){if(!t.url)return UB(GO(t));if(!r||!s.test(t.url))return UB(t.url);const l=function(t,e){return Boolean(t.url&&!t.title&&function(t,e){return t.children&&1===t.children.length&&t.children[0].type===e}(t,"text")&&(t.url===t.children[0].value||t.url==="mailto:"+t.children[0].value)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}(t)?function(t){let i=a.exec(t);if(i){return`${i[1]}/${i[2]}${"commit"===i[3]?"@":"#"}${i[4]}`}if(i=u.exec(t),i){const t=i[1],n=i[2];return e.inlineCode(`${t}/${n}`)}if(i=o.exec(t),i){const t=i[1];return e.inlineCode(t)}return UB(function(t,e){if(e={defaultProtocol:"http:",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,removeExplicitPort:!1,sortQueryParameters:!0,...e},t=t.trim(),/^data:/i.test(t))return MB(t,e);if(/^view-source:/i.test(t))throw new Error("`view-source:` is not supported as it is a non-standard protocol");const i=t.startsWith("//");!i&&/^\.*\//.test(t)||(t=t.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,e.defaultProtocol));const n=new URL(t);if(e.forceHttp&&e.forceHttps)throw new Error("The `forceHttp` and `forceHttps` options cannot be used together");if(e.forceHttp&&"https:"===n.protocol&&(n.protocol="http:"),e.forceHttps&&"http:"===n.protocol&&(n.protocol="https:"),e.stripAuthentication&&(n.username="",n.password=""),e.stripHash?n.hash="":e.stripTextFragment&&(n.hash=n.hash.replace(/#?:~:text.*?$/i,"")),n.pathname){const t=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g;let e=0,i="";for(;;){const r=t.exec(n.pathname);if(!r)break;const s=r[0],o=r.index;i+=n.pathname.slice(e,o).replace(/\/{2,}/g,"/"),i+=s,e=o+s.length}i+=n.pathname.slice(e,n.pathname.length).replace(/\/{2,}/g,"/"),n.pathname=i}if(n.pathname)try{n.pathname=decodeURI(n.pathname)}catch{}if(!0===e.removeDirectoryIndex&&(e.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(e.removeDirectoryIndex)&&e.removeDirectoryIndex.length>0){let t=n.pathname.split("/");const i=t[t.length-1];PB(i,e.removeDirectoryIndex)&&(t=t.slice(0,-1),n.pathname=t.slice(1).join("/")+"/")}if(n.hostname&&(n.hostname=n.hostname.replace(/\.$/,""),e.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(n.hostname)&&(n.hostname=n.hostname.replace(/^www\./,""))),Array.isArray(e.removeQueryParameters))for(const t of[...n.searchParams.keys()])PB(t,e.removeQueryParameters)&&n.searchParams.delete(t);if(Array.isArray(e.keepQueryParameters)||!0!==e.removeQueryParameters||(n.search=""),Array.isArray(e.keepQueryParameters)&&e.keepQueryParameters.length>0)for(const t of[...n.searchParams.keys()])PB(t,e.keepQueryParameters)||n.searchParams.delete(t);if(e.sortQueryParameters){n.searchParams.sort();try{n.search=decodeURIComponent(n.search)}catch{}}e.removeTrailingSlash&&(n.pathname=n.pathname.replace(/\/$/,"")),e.removeExplicitPort&&n.port&&(n.port="");const r=t;return t=n.toString(),e.removeSingleSlash||"/"!==n.pathname||r.endsWith("/")||""!==n.hash||(t=t.replace(/\/$/,"")),(e.removeTrailingSlash||"/"===n.pathname)&&""===n.hash&&e.removeSingleSlash&&(t=t.replace(/\/$/,"")),i&&!e.normalizeProtocol&&(t=t.replace(/^http:\/\//,"//")),e.stripProtocol&&(t=t.replace(/^(?:https?:)?\/\//,"")),t}(t,{stripProtocol:!0,stripWWW:!0}))}(t.url):UB(GO(t));return tS.link(l,t.url)},heading(t,i,n){const r=Math.max(Math.min(6,t.depth||1),1),s="#".repeat(r),o=UB(GO(t));return e.heading(o?s+" "+o:s)},emphasis:(t,i,n)=>e.emphasis(UB(GO(t))),strong:(t,i,n)=>e.strong(UB(GO(t))),thematicBreak:(t,i,r)=>e.thematicBreak("—".repeat(n))}};return function(t){const e=KO(t);return aO(rj(e,l),c).trim()}}function UB(t){return KO(String(t||""))}const GB=function(){if("win32"!==process.platform||process.env.CI||"xterm-256color"===process.env.TERM||process.env.WT_SESSION)return{info:"🔷",warning:"⚠️",error:"❌"};return{info:WC.blue("i"),warning:WC.yellow("‼"),error:WC.red("×")}}();function WB(t,e){e||(e={});const i=[],n=function(t){if("0"===process.env.FORCE_HYPERLINK)return!1;if("1"===process.env.FORCE_HYPERLINK)return!0;if(!t.isTTY)return!1;return fS.supportsHyperlink(t)||!!process.env.WT_SESSION}(process.stdout),r=qB({stream:process.stdout}),s=v.resolve(e.cwd||".");let o=0,a=0,u=0,l=0,c=0,h=!1;for(const e of t){const{messages:t}=e;if(0===t.length)continue;0!==i.length&&i.push({type:"separator"});for(const e of t)void 0!==e.fatal&&null==e.severity&&(e.severity=e.fatal?2:!1===e.fatal?1:0);const n=t.find(HB)||t[0],p=v.resolve(e.cwd||s,e.path),f=v.relative(s,p);i.push({type:"header",path:e.path,relativePath:f||".",isDir:KB(f,p),firstLinePos:Ox(n)});for(const e of t.sort(VB)){let{reason:t,severity:n}=e;0===n?o++:1===n?a++:u++,t=r(t);const s=Ox(e),p=MF(s),f=MF(t);l=Math.max(p,l),c=Math.max(f,c),h=h||""!==s,i.push({type:"message",severity:n,pos:s,posWidth:p,reason:t,reasonWidth:f,ruleId:[e.source,e.ruleId].filter(Boolean).join(":")||""})}}let p="\n";return process.stdout.isTTY&&!process.env.CI&&(p+=tS.iTerm.setCwd()),p+=i.map((function(t){if("header"===t.type){const e=h&&t.firstLinePos&&!t.isDir?WC.hidden.dim.gray(`:${t.firstLinePos}`):"";return" "+WC.underline((t.isDir?" ":"")+t.relativePath)+e}if("message"===t.type){const{ruleId:i,ruleUrl:r}=function(t,e){if(!t)return{ruleId:"",ruleUrl:""};let i;const n=t.replace(/[/]/g,":"),r=n.includes(":")?n:"eslint:"+n;if(/^remark-lint:/.test(r))i="https://github.com/remarkjs/remark-lint/blob/main/doc/rules.md";else if(/^(remark|hallmark|attend)[a-z0-9-]*:/.test(r))i="https://npmjs.com/package/"+r.split(":")[0];else{const n=t.replace(/:/g,"/").replace(/^eslint[/]/,"");try{i=e.rulesMeta[n].docs.url}catch{try{i=gS(n).url}catch{}}}return{ruleId:r,ruleUrl:i}}(t.ruleId,e),s=["",0===t.severity?GB.info:1===t.severity?GB.warning:GB.error," ".repeat(l-t.posWidth)+WC.gray(t.pos),t.reason," ".repeat(c-t.reasonWidth)+(r&&n?tS.link(WC.dim(i),r):WC.dim(i))];return h||s.splice(2,1),s.join(" ")}return""})).join("\n")+"\n\n",a>0&&(p+=" "+WC.yellow(`${a} ${KC("warning",a)}`)+"\n"),u>0&&(p+=" "+WC.red(`${u} ${KC("error",u)}`)+"\n"),u+a+o>0?p:""}function HB(t){return 2===t.severity}function VB(t,e){return t.severity===e.severity?t.line===e.line?t.column{if(!t&&e&&i){const r=o.stringify(e,i);null==r||("string"==typeof(n=r)||jx(n)?i.value=r:i.result=r),s(t,i)}else s(t);var n}))}i(null,e)}function g(t){let e;o.freeze(),lT("processSync",o.Parser),cT("processSync",o.Compiler);const i=dT(t);return o.process(i,(function(t){e=!0,YB(t)})),fT("processSync","process",e),i}}().freeze(),aT={}.hasOwnProperty;function uT(t,e){return"function"==typeof t&&t.prototype&&(function(t){let e;for(e in t)if(aT.call(t,e))return!0;return!1}(t.prototype)||e in t.prototype)}function lT(t,e){if("function"!=typeof e)throw new TypeError("Cannot `"+t+"` without `Parser`")}function cT(t,e){if("function"!=typeof e)throw new TypeError("Cannot `"+t+"` without `Compiler`")}function hT(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function pT(t){if(!SE(t)||"string"!=typeof t.type)throw new TypeError("Expected node, got `"+t+"`")}function fT(t,e,i){if(!i)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function dT(t){return function(t){return Boolean(t&&"object"==typeof t&&"message"in t&&"messages"in t)}(t)?t:new Lx(t)}const gT=oT().use((function(t){Object.assign(this,{Parser:e=>{const i=this.data("settings");return rj(e,Object.assign({},i,t,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})})).use((function(t){Object.assign(this,{Compiler:e=>{const i=this.data("settings");return aO(e,Object.assign({},i,t,{extensions:this.data("toMarkdownExtensions")||[]}))}})})).freeze(),mT={tokenize:function(t,e,i){const n=this;return LS(t,(function(t){const r=n.events[n.events.length-1];return r&&"gfmFootnoteDefinitionIndent"===r[1].type&&4===r[2].sliceSerialize(r[1],!0).length?e(t):i(t)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function yT(t,e,i){const n=this;let r=n.events.length;const s=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let o;for(;r--;){const t=n.events[r][1];if("labelImage"===t.type){o=t;break}if("gfmFootnoteCall"===t.type||"labelLink"===t.type||"label"===t.type||"image"===t.type||"link"===t.type)break}return function(r){if(!o||!o._balanced)return i(r);const a=f_(n.sliceSerialize({start:o.end,end:n.now()}));if(94!==a.codePointAt(0)||!s.includes(a.slice(1)))return i(r);return t.enter("gfmFootnoteCallLabelMarker"),t.consume(r),t.exit("gfmFootnoteCallLabelMarker"),e(r)}}function bT(t,e){let i=t.length;for(;i--;)if("labelImage"===t[i][1].type&&"enter"===t[i][0]){t[i][1];break}t[i+1][1].type="data",t[i+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},t[i+3][1].start),end:Object.assign({},t[t.length-1][1].end)},r={type:"gfmFootnoteCallMarker",start:Object.assign({},t[i+3][1].end),end:Object.assign({},t[i+3][1].end)};r.end.column++,r.end.offset++,r.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},r.end),end:Object.assign({},t[t.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},a=[t[i+1],t[i+2],["enter",n,e],t[i+3],t[i+4],["enter",r,e],["exit",r,e],["enter",s,e],["enter",o,e],["exit",o,e],["exit",s,e],t[t.length-2],t[t.length-1],["exit",n,e]];return t.splice(i,t.length-i+1,...a),t}function wT(t,e,i){const n=this,r=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let s,o=0;return function(e){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(e),t.exit("gfmFootnoteCallLabelMarker"),a};function a(e){return 94!==e?i(e):(t.enter("gfmFootnoteCallMarker"),t.consume(e),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",u)}function u(a){if(o>999||93===a&&!s||null===a||91===a||TS(a))return i(a);if(93===a){t.exit("chunkString");const s=t.exit("gfmFootnoteCallString");return r.includes(f_(n.sliceSerialize(s)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(a),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):i(a)}return TS(a)||(s=!0),o++,t.consume(a),92===a?l:u}function l(e){return 91===e||92===e||93===e?(t.consume(e),o++,u):u(e)}}function vT(t,e,i){const n=this,r=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let s,o,a=0;return function(e){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(e),t.exit("gfmFootnoteDefinitionLabelMarker"),u};function u(e){return 94===e?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(e),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",l):i(e)}function l(e){if(a>999||93===e&&!o||null===e||91===e||TS(e))return i(e);if(93===e){t.exit("chunkString");const i=t.exit("gfmFootnoteDefinitionLabelString");return s=f_(n.sliceSerialize(i)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(e),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),h}return TS(e)||(o=!0),a++,t.consume(e),92===e?c:l}function c(e){return 91===e||92===e||93===e?(t.consume(e),a++,l):l(e)}function h(e){return 58===e?(t.enter("definitionMarker"),t.consume(e),t.exit("definitionMarker"),r.includes(s)||r.push(s),LS(t,p,"gfmFootnoteDefinitionWhitespace")):i(e)}function p(t){return e(t)}}function DT(t,e,i){return t.check(VS,e,t.attempt(mT,e,i))}function kT(t){t.exit("gfmFootnoteDefinition")}function ET(t){let e=(t||{}).singleTilde;const i={tokenize:function(t,i,n){const r=this.previous,s=this.events;let o=0;return function(e){if(126===r&&"characterEscape"!==s[s.length-1][1].type)return n(e);return t.enter("strikethroughSequenceTemporary"),a(e)};function a(s){const u=qS(r);if(126===s)return o>1?n(s):(t.consume(s),o++,a);if(o<2&&!e)return n(s);const l=t.exit("strikethroughSequenceTemporary"),c=qS(s);return l._open=!c||2===c&&Boolean(u),l._close=!u||2===u&&Boolean(c),i(s)}},resolveAll:function(t,e){let i=-1;for(;++it[0]-e[0])),0===this.map.length)return;let e=this.map.length;const i=[];for(;e>0;)e-=1,i.push(t.slice(this.map[e][0]+this.map[e][1])),i.push(this.map[e][2]),t.length=this.map[e][0];i.push([...t]),t.length=0;let n=i.pop();for(;n;)t.push(...n),n=i.pop();this.map.length=0}}function AT(t,e){let i=!1;const n=[];for(;e-1;){const t=n.events[e][1].type;if("lineEnding"!==t&&"linePrefix"!==t)break;e--}const r=e>-1?n.events[e][1].type:null,s="tableHead"===r||"tableRow"===r?v:a;if(s===v&&n.parser.lazy[n.now().line])return i(t);return s(t)};function a(e){return t.enter("tableHead"),t.enter("tableRow"),function(t){if(124===t)return u(t);return r=!0,o+=1,u(t)}(e)}function u(e){return null===e?i(e):BS(e)?o>1?(o=0,n.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),h):i(e):RS(e)?LS(t,u,"whitespace")(e):(o+=1,r&&(r=!1,s+=1),124===e?(t.enter("tableCellDivider"),t.consume(e),t.exit("tableCellDivider"),r=!0,u):(t.enter("data"),l(e)))}function l(e){return null===e||124===e||TS(e)?(t.exit("data"),u(e)):(t.consume(e),92===e?c:l)}function c(e){return 92===e||124===e?(t.consume(e),l):l(e)}function h(e){return n.interrupt=!1,n.parser.lazy[n.now().line]?i(e):(t.enter("tableDelimiterRow"),r=!1,RS(e)?LS(t,p,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):p(e))}function p(e){return 45===e||58===e?d(e):124===e?(r=!0,t.enter("tableCellDivider"),t.consume(e),t.exit("tableCellDivider"),f):w(e)}function f(e){return RS(e)?LS(t,d,"whitespace")(e):d(e)}function d(e){return 58===e?(o+=1,r=!0,t.enter("tableDelimiterMarker"),t.consume(e),t.exit("tableDelimiterMarker"),g):45===e?(o+=1,g(e)):null===e||BS(e)?b(e):w(e)}function g(e){return 45===e?(t.enter("tableDelimiterFiller"),m(e)):w(e)}function m(e){return 45===e?(t.consume(e),m):58===e?(r=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(e),t.exit("tableDelimiterMarker"),y):(t.exit("tableDelimiterFiller"),y(e))}function y(e){return RS(e)?LS(t,b,"whitespace")(e):b(e)}function b(i){return 124===i?p(i):(null===i||BS(i))&&r&&s===o?(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(i)):w(i)}function w(t){return i(t)}function v(e){return t.enter("tableRow"),D(e)}function D(i){return 124===i?(t.enter("tableCellDivider"),t.consume(i),t.exit("tableCellDivider"),D):null===i||BS(i)?(t.exit("tableRow"),e(i)):RS(i)?LS(t,D,"whitespace")(i):(t.enter("data"),k(i))}function k(e){return null===e||124===e||TS(e)?(t.exit("data"),D(e)):(t.consume(e),92===e?E:k)}function E(e){return 92===e||124===e?(t.consume(e),k):k(e)}},resolveAll:function(t,e){let i,n,r,s=-1,o=!0,a=0,u=[0,0,0,0],l=[0,0,0,0],c=!1,h=0;const p=new xT;for(;++si[2]+1){const e=i[2]+1,n=i[3]-i[2]-1;t.add(e,n,[])}}t.add(i[3]+1,0,[["exit",o,e]])}return void 0!==r&&(s.end=Object.assign({},_T(e.events,r)),t.add(r,0,[["exit",s,e]]),s=void 0),s}function ST(t,e,i,n,r){const s=[],o=_T(e.events,i);r&&(r.end=Object.assign({},o),s.push(["exit",r,e])),n.end=Object.assign({},o),s.push(["exit",n,e]),t.add(i+1,0,s)}function _T(t,e){const i=t[e],n="enter"===i[0]?"start":"end";return i[1][n]}const jT={tokenize:function(t,e,i){const n=this;return function(e){if(null!==n.previous||!n._gfmTasklistFirstContentOfListItem)return i(e);return t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(e),t.exit("taskListCheckMarker"),r};function r(e){return TS(e)?(t.enter("taskListCheckValueUnchecked"),t.consume(e),t.exit("taskListCheckValueUnchecked"),s):88===e||120===e?(t.enter("taskListCheckValueChecked"),t.consume(e),t.exit("taskListCheckValueChecked"),s):i(e)}function s(e){return 93===e?(t.enter("taskListCheckMarker"),t.consume(e),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),o):i(e)}function o(n){return BS(n)?e(n):RS(n)?t.check({tokenize:BT},e,i)(n):i(n)}}},OT={text:{91:jT}};function BT(t,e,i){return LS(t,(function(t){return null===t?i(t):e(t)}),"whitespace")}function TT(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function RT(){this.buffer()}function IT(t){const e=this.resume(),i=this.stack[this.stack.length-1];i.label=e,i.identifier=f_(this.sliceSerialize(t)).toLowerCase()}function $T(t){this.exit(t)}function NT(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function LT(){this.buffer()}function PT(t){const e=this.resume(),i=this.stack[this.stack.length-1];i.label=e,i.identifier=f_(this.sliceSerialize(t)).toLowerCase()}function MT(t){this.exit(t)}function zT(t,e,i,n){const r=oO(n);let s=r.move("[^");const o=i.enter("footnoteReference"),a=i.enter("reference");return s+=r.move(nO(i,Zj(t),{...r.current(),before:s,after:"]"})),a(),o(),s+=r.move("]"),s}function qT(t,e,i,n){const r=oO(n);let s=r.move("[^");const o=i.enter("footnoteDefinition"),a=i.enter("label");return s+=r.move(nO(i,Zj(t),{...r.current(),before:s,after:"]"})),a(),s+=r.move("]:"+(t.children&&t.children.length>0?" ":"")),r.shift(4),s+=r.move(iO(Xj(t,i,r.current()),UT)),o(),s}function UT(t,e,i){return 0===e?t:(i?"":" ")+t}zT.peek=function(){return"["};HT.peek=function(){return"~"};const GT={canContainEols:["delete"],enter:{strikethrough:function(t){this.enter({type:"delete",children:[]},t)}},exit:{strikethrough:function(t){this.exit(t)}}},WT={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:HT}};function HT(t,e,i,n){const r=oO(n),s=i.enter("strikethrough");let o=r.move("~~");return o+=Qj(t,i,{...r.current(),before:o,after:"~"}),o+=r.move("~~"),s(),o}function VT(t){return t.length}function KT(t){const e="string"==typeof t?t.codePointAt(0):0;return 67===e||99===e?99:76===e||108===e?108:82===e||114===e?114:0}const YT={enter:{table:function(t){const e=t._align;this.enter({type:"table",align:e.map((t=>"none"===t?null:t)),children:[]},t),this.setData("inTable",!0)},tableData:ZT,tableHeader:ZT,tableRow:function(t){this.enter({type:"tableRow",children:[]},t)}},exit:{codeText:function(t){let e=this.resume();this.getData("inTable")&&(e=e.replace(/\\([\\|])/g,QT));const i=this.stack[this.stack.length-1];i.value=e,this.exit(t)},table:function(t){this.exit(t),this.setData("inTable")},tableData:JT,tableHeader:JT,tableRow:JT}};function JT(t){this.exit(t)}function ZT(t){this.enter({type:"tableCell",children:[]},t)}function QT(t,e){return"|"===e?e:t}function XT(t){const e=t||{},i=e.tableCellPadding,n=e.tablePipeAlign,r=e.stringLength,s=i?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(t,e,i,n){return a(function(t,e,i){const n=t.children;let r=-1;const s=[],o=e.enter("table");for(;++ru&&(u=t[l].length);++ha[h])&&(a[h]=t)}i.push(s)}s[l]=i,o[l]=r}var c;let h=-1;if("object"==typeof i&&"length"in i)for(;++ha[h]&&(a[h]=s),f[h]=s),p[h]=o}s.splice(1,0,p),o.splice(1,0,f),l=-1;const d=[];for(;++lthis.end)throw new Error("start must be <= end");this.pos=this.start}if(null!==this.fd)return void process.nextTick((function(){r._read()}));t.open(this.path,this.flags,this.mode,(function(t,e){if(t)return r.emit("error",t),void(r.readable=!1);r.fd=e,r.emit("open",e),r._read()}))},WriteStream:function e(i,n){if(!(this instanceof e))return new e(i,n);vR.call(this),this.path=i,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,n=n||{};for(var r=Object.keys(n),s=0,o=r.length;s= zero");this.pos=this.start}this.busy=!1,this._queue=[],null===this.fd&&(this._open=t.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}};var kR=function(t){if(null===t||"object"!=typeof t)return t;if(t instanceof Object)var e={__proto__:ER(t)};else e=Object.create(null);return Object.getOwnPropertyNames(t).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))})),e},ER=Object.getPrototypeOf||function(t){return t.__proto__};var xR,AR,FR=a,CR=wR,SR=DR,_R=kR,jR=c;function OR(t,e){Object.defineProperty(t,xR,{get:function(){return e}})}"function"==typeof Symbol&&"function"==typeof Symbol.for?(xR=Symbol.for("graceful-fs.queue"),AR=Symbol.for("graceful-fs.previous")):(xR="___graceful-fs.queue",AR="___graceful-fs.previous");var BR=function(){};if(jR.debuglog?BR=jR.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(BR=function(){var t=jR.format.apply(jR,arguments);t="GFS4: "+t.split(/\n/).join("\nGFS4: "),console.error(t)}),!FR[xR]){var TR=z[xR]||[];OR(FR,TR),FR.close=function(t){function e(e,i){return t.call(FR,e,(function(t){t||LR(),"function"==typeof i&&i.apply(this,arguments)}))}return Object.defineProperty(e,AR,{value:t}),e}(FR.close),FR.closeSync=function(t){function e(e){t.apply(FR,arguments),LR()}return Object.defineProperty(e,AR,{value:t}),e}(FR.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){BR(FR[xR]),l.equal(FR[xR].length,0)}))}z[xR]||OR(z,FR[xR]);var RR,IR=$R(_R(FR));function $R(t){CR(t),t.gracefulify=$R,t.createReadStream=function(e,i){return new t.ReadStream(e,i)},t.createWriteStream=function(e,i){return new t.WriteStream(e,i)};var e=t.readFile;t.readFile=function(t,i,n){"function"==typeof i&&(n=i,i=null);return function t(i,n,r,s){return e(i,n,(function(e){!e||"EMFILE"!==e.code&&"ENFILE"!==e.code?"function"==typeof r&&r.apply(this,arguments):NR([t,[i,n,r],e,s||Date.now(),Date.now()])}))}(t,i,n)};var i=t.writeFile;t.writeFile=function(t,e,n,r){"function"==typeof n&&(r=n,n=null);return function t(e,n,r,s,o){return i(e,n,r,(function(i){!i||"EMFILE"!==i.code&&"ENFILE"!==i.code?"function"==typeof s&&s.apply(this,arguments):NR([t,[e,n,r,s],i,o||Date.now(),Date.now()])}))}(t,e,n,r)};var n=t.appendFile;n&&(t.appendFile=function(t,e,i,r){"function"==typeof i&&(r=i,i=null);return function t(e,i,r,s,o){return n(e,i,r,(function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?"function"==typeof s&&s.apply(this,arguments):NR([t,[e,i,r,s],n,o||Date.now(),Date.now()])}))}(t,e,i,r)});var r=t.copyFile;r&&(t.copyFile=function(t,e,i,n){"function"==typeof i&&(n=i,i=0);return function t(e,i,n,s,o){return r(e,i,n,(function(r){!r||"EMFILE"!==r.code&&"ENFILE"!==r.code?"function"==typeof s&&s.apply(this,arguments):NR([t,[e,i,n,s],r,o||Date.now(),Date.now()])}))}(t,e,i,n)});var s=t.readdir;t.readdir=function(t,e,i){"function"==typeof e&&(i=e,e=null);var n=o.test(process.version)?function(t,e,i,n){return s(t,r(t,e,i,n))}:function(t,e,i,n){return s(t,e,r(t,e,i,n))};return n(t,e,i);function r(t,e,i,r){return function(s,o){!s||"EMFILE"!==s.code&&"ENFILE"!==s.code?(o&&o.sort&&o.sort(),"function"==typeof i&&i.call(this,s,o)):NR([n,[t,e,i],s,r||Date.now(),Date.now()])}}};var o=/^v[0-5]\./;if("v0.8"===process.version.substr(0,4)){var a=SR(t);p=a.ReadStream,f=a.WriteStream}var u=t.ReadStream;u&&(p.prototype=Object.create(u.prototype),p.prototype.open=function(){var t=this;g(t.path,t.flags,t.mode,(function(e,i){e?(t.autoClose&&t.destroy(),t.emit("error",e)):(t.fd=i,t.emit("open",i),t.read())}))});var l=t.WriteStream;l&&(f.prototype=Object.create(l.prototype),f.prototype.open=function(){var t=this;g(t.path,t.flags,t.mode,(function(e,i){e?(t.destroy(),t.emit("error",e)):(t.fd=i,t.emit("open",i))}))}),Object.defineProperty(t,"ReadStream",{get:function(){return p},set:function(t){p=t},enumerable:!0,configurable:!0}),Object.defineProperty(t,"WriteStream",{get:function(){return f},set:function(t){f=t},enumerable:!0,configurable:!0});var c=p;Object.defineProperty(t,"FileReadStream",{get:function(){return c},set:function(t){c=t},enumerable:!0,configurable:!0});var h=f;function p(t,e){return this instanceof p?(u.apply(this,arguments),this):p.apply(Object.create(p.prototype),arguments)}function f(t,e){return this instanceof f?(l.apply(this,arguments),this):f.apply(Object.create(f.prototype),arguments)}Object.defineProperty(t,"FileWriteStream",{get:function(){return h},set:function(t){h=t},enumerable:!0,configurable:!0});var d=t.open;function g(t,e,i,n){return"function"==typeof i&&(n=i,i=null),function t(e,i,n,r,s){return d(e,i,n,(function(o,a){!o||"EMFILE"!==o.code&&"ENFILE"!==o.code?"function"==typeof r&&r.apply(this,arguments):NR([t,[e,i,n,r],o,s||Date.now(),Date.now()])}))}(t,e,i,n)}return t.open=g,t}function NR(t){BR("ENQUEUE",t[0].name,t[1]),FR[xR].push(t),PR()}function LR(){for(var t=Date.now(),e=0;e2&&(FR[xR][e][3]=t,FR[xR][e][4]=t);PR()}function PR(){if(clearTimeout(RR),RR=void 0,0!==FR[xR].length){var t=FR[xR].shift(),e=t[0],i=t[1],n=t[2],r=t[3],s=t[4];if(void 0===r)BR("RETRY",e.name,i),e.apply(null,i);else if(Date.now()-r>=6e4){BR("TIMEOUT",e.name,i);var o=i.pop();"function"==typeof o&&o.call(null,n)}else{var a=Date.now()-s,u=Math.max(s-r,1);a>=Math.min(1.2*u,100)?(BR("RETRY",e.name,i),e.apply(null,i.concat([r]))):FR[xR].push(t)}void 0===RR&&(RR=setTimeout(PR,0))}}process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!FR.__patched&&(IR=$R(FR),FR.__patched=!0);var MR={exports:{}},zR=MR.exports=function(t){for(var e=0;e="\t"&&t<="\r"||" "===t||"᠎"===t||t>=" "&&t<=" "||"\u2028"===t||"\u2029"===t||" "===t||" "===t||" "===t},t.exports.isWhiteSpaceJSON=function(t){return" "===t||"\t"===t||"\n"===t||"\r"===t},t.exports.isLineTerminator=function(t){return"\n"===t||"\r"===t||"\u2028"===t||"\u2029"===t},t.exports.isLineTerminatorJSON=function(t){return"\n"===t||"\r"===t},t.exports.isIdentifierStart=function(t){return"$"===t||"_"===t||t>="A"&&t<="Z"||t>="a"&&t<="z"||t>="€"&&e.NonAsciiIdentifierStart.test(t)},t.exports.isIdentifierPart=function(t){return"$"===t||"_"===t||t>="A"&&t<="Z"||t>="a"&&t<="z"||t>="0"&&t<="9"||t>="€"&&e.NonAsciiIdentifierPart.test(t)},t.exports.NonAsciiIdentifierStart=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\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\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\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\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\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\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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]/,t.exports.NonAsciiIdentifierPart=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191C\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\u1DFC-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE26\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/}(UR);var GR=UR.exports;!function(t){var e=GR;function i(t){return t>="0"&&t<="9"||t>="A"&&t<="F"||t>="a"&&t<="f"}function n(t){return t>="0"&&t<="7"}function r(t){return t>="0"&&t<="9"}var s={"'":"'",'"':'"',"\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v","/":"/"};function o(t,o){var a,u=!("json"===o.mode||o.legacy),l=u?e.isLineTerminator:e.isLineTerminatorJSON,c=u?e.isWhiteSpace:e.isWhiteSpaceJSON,h=t.length,p=0,f=0,d=0,g=[],m=function(){},y=function(t){return t};function b(i){var n=d-f;if(!i)if(d=u&&(c+="^");break}if(l+=p,n===u?c+="^":n>u&&(c+="\t"===t[u]?"\t":" "),l.length>78)break}return a+"\n"+l+"\n"+c}(t,i,d,p,n,u));throw s.row=p+1,s.column=n+1,s}function w(e){"\r"===e&&"\n"===t[d]&&d++,f=d,p++}function v(){for(;d=h||e[r]!=t[d])&&(d=i-1,b()),d++}function A(){for(var e=o.null_prototype?Object.create(null):{},i={},n=!1;d="1"&&s<="9"){for(;d=h&&b(),o=t[d++],s[o]&&(u||"v"!=o&&"'"!=o))r+=s[o];else if(u&&l(o))w(o);else if("u"===o||"x"===o&&u){for(var a="u"===o?4:2,c=0;c=h&&b(),i(t[d])||b("Bad escape sequence"),d++;r+=String.fromCharCode(parseInt(t.substr(d-a,a),16))}else if(u&&n(o)){if(o<"4"&&n(t[d])&&n(t[d+1]))var p=3;else if(n(t[d]))p=2;else p=1;d+=p-1,r+=String.fromCharCode(parseInt(t.substr(d-p,p),8))}else u?r+=o:(d--,b());else l(o)?b():(!u&&o.charCodeAt(0)<32&&(d--,b("Unexpected control character")),r+=o)}b()}o._tokenize&&(a=null,m=function(){if(null!==a)throw Error("internal error, token overlap");a=d},y=function(e,i){if(a!=d){var n={raw:t.substr(a,d-a),type:i,stack:g.slice(0)};void 0!==e&&(n.value=e),o._tokenize.call(null,n)}return a=null,e}),k();var j=v();if(void 0!==j||d=h)return"function"==typeof o.reviver&&(j=o.reviver.call(null,"",j)),j;b()}else b(d?"No data, only a whitespace":"No data, empty input")}t.exports.parse=function(t,e){if("function"==typeof e&&(e={reviver:e}),void 0!==t){"string"!=typeof t&&(t=String(t)),null==e&&(e={}),null==e.reserved_keys&&(e.reserved_keys="ignore"),"throw"!==e.reserved_keys&&"ignore"!==e.reserved_keys||null==e.null_prototype&&(e.null_prototype=!0);try{return o(t,e)}catch(t){if(t instanceof SyntaxError&&null!=t.row&&null!=t.column){var i=t;(t=SyntaxError(i.message)).column=i.column,t.row=i.row}throw t}}},t.exports.tokenize=function(e,i){null==i&&(i={}),i._tokenize=function(t){i._addstack&&t.stack.unshift.apply(t.stack,i._addstack),n.push(t)};var n=[];return n.data=t.exports.parse(e,i),n}}(qR);var WR,HR,VR=qR.exports,KR=Up("JSONError",{fileName:Up.append("in %s")});var YR="function"==typeof Promise?Promise:function(){if(HR)return WR;HR=1;var t,e="pending",i="settled",n="fulfilled",r="rejected",s=function(){},o=void 0!==z&&void 0!==z.process&&"function"==typeof z.process.emit,a="undefined"==typeof setImmediate?setTimeout:setImmediate,u=[];function l(){for(var e=0;ethis.depth)return this.createChild(t,e);if(this.parent)return this.parent.add(t)}return wj(t,"definition")&&"string"==typeof t.identifier?this.root().definitions.set(t.identifier.toLowerCase(),t):this.content.push(t),this}createChild(t,e){const i=new e(this.depth+1,this,t);return this.children.push(i),i}tree(){const t=[];this.heading&&t.push(this.heading),this.content&&t.push(...this.content);for(const e of this.children)t.push(...e.tree());for(const e of this.definitions.values())t.push(e);return t}root(){return this.parent?this.parent.root():this}hasContent(){return this.content.length>0}isEmpty(){return!this.hasContent()&&0===this.children.length}}class n extends i{constructor(t,e,i){super(t,e,i),this.index=e.children.length,this.version=null,this.title=null,this.linkType=null,this.parseable=!1;const n=i.children||[];if(wj(n[0],"text")&&1===n.length){this.title=n[0].value;const[t,e,...i]=(n[0].value||"").split(" - ");i.length||(this.parseable=!0,this.version=t,this.date=e)}else if(wj(n[0],["link","linkReference"])&&fI(n[0],"text")){this.linkType=n[0].type;const t=n[0].children[0].value;if(1===n.length)this.parseable=!0,this.version=t,this.title=t;else if(2===n.length&&wj(n[1],"text")){const[e,i,...r]=(n[1].value||"").split(" - ");e||r.length||(this.parseable=!0,this.version=t,this.date=i)}}}add(t){return super.add(t,r)}createGroup(t){return this.createChild(rR("heading",{depth:3},[rR("text",t)]),r)}createNotice(t){return this.content.unshift(rR("paragraph",[rR("emphasis",[rR("text",String(t))])])),this}}class r extends i{add(t){return super.add(t,i)}hasValidHeading(){return!!wj(this.heading,{type:"heading",depth:3})&&null!=fI(this.heading,{type:"text"})}type(){const t=this.heading.children[0];return t?t.value:null}createList(e){const i=rR("list",{ordered:!1,spread:!1},e.map((e=>{const i=!!e.description,n=t(i?(r=e.title).endsWith(".")?r:r+".":e.title);var r;let s=!1;if(i){const i=e.description.split("\n");!function(t){return t=t.filter(Boolean),t.length>0&&t.every((t=>hI.test(t)))}(i)?(n.push(...t(e.description)),s=!0):n.push(function(e){const i=rR("list",{ordered:!1,spread:!1},[]);for(const n of e){if(!n)continue;const e=n.replace(hI,"").trim(),r=rR("listItem",{spread:!1},t(e));i.children.push(r)}return i}(i))}return rR("listItem",{spread:s},n)})));return this.add(i)}}const s=new class extends i{add(t){return!wj(t,"heading")||this.heading||this.hasContent()||1!==t.depth?super.add(t,n):(this.heading=t,this)}hasValidHeading(){return!!wj(this.heading,{type:"heading",depth:1})&&(!(!this.heading.children||1!==this.heading.children.length)&&wj(this.heading.children[0],{type:"text",value:"Changelog"}))}buildHeading(){wj(this.heading,{type:"heading",depth:1})?this.heading.children=[rR("text","Changelog")]:this.heading=rR("heading",{depth:1},[rR("text","Changelog")])}createRelease(t,e){return this.createChild(rR("heading",{depth:2},[rR("text",t+" - "+e)]),n)}};for(let t=0,i=s;t=0?this.maxPending=t.maxPending:this.maxPending=dI.DEFAULT_MAX_PENDING};dI.DEFAULT_TIMEOUT=0,dI.DEFAULT_MAX_OCCUPATION_TIME=0,dI.DEFAULT_MAX_EXECUTION_TIME=0,dI.DEFAULT_MAX_PENDING=1e3,dI.prototype.acquire=function(t,e,i,n){if(Array.isArray(t))return this._acquireBatch(t,e,i,n);if("function"!=typeof e)throw new Error("You must pass a function to execute");var r=null,s=null,o=null;"function"!=typeof i&&(n=i,i=null,o=new this.Promise((function(t,e){r=t,s=e}))),n=n||{};var a=!1,u=null,l=null,c=null,h=this,p=function(e,n,u){l&&(clearTimeout(l),l=null),c&&(clearTimeout(c),c=null),e&&(h.queues[t]&&0===h.queues[t].length&&delete h.queues[t],h.domainReentrant&&delete h.domains[t]),a||(o?n?s(n):r(u):"function"==typeof i&&i(n,u),a=!0),e&&h.queues[t]&&h.queues[t].length>0&&h.queues[t].shift()()},f=function(i){if(a)return p(i);u&&(clearTimeout(u),u=null),h.domainReentrant&&i&&(h.domains[t]=process.domain);var r=n.maxExecutionTime||h.maxExecutionTime;if(r&&(c=setTimeout((function(){h.queues[t]&&p(i,new Error("Maximum execution time is exceeded "+t))}),r)),1===e.length){var s=!1;try{e((function(t,e){s||(s=!0,p(i,t,e))}))}catch(t){s||(s=!0,p(i,t))}}else h._promiseTry((function(){return e()})).then((function(t){p(i,void 0,t)}),(function(t){p(i,t)}))};h.domainReentrant&&process.domain&&(f=process.domain.bind(f));var d=n.maxPending||h.maxPending;if(h.queues[t])if(h.domainReentrant&&process.domain&&process.domain===h.domains[t])f(!1);else if(h.queues[t].length>=d)p(!1,new Error("Too many pending tasks in queue "+t));else{var g=function(){f(!0)};n.skipQueue?h.queues[t].unshift(g):h.queues[t].push(g);var m=n.timeout||h.timeout;m&&(u=setTimeout((function(){u=null,p(!1,new Error("async-lock timed out in queue "+t))}),m))}else h.queues[t]=[],f(!0);var y=n.maxOccupationTime||h.maxOccupationTime;return y&&(l=setTimeout((function(){h.queues[t]&&p(!1,new Error("Maximum occupation time is exceeded in queue "+t))}),y)),o||void 0},dI.prototype._acquireBatch=function(t,e,i,n){"function"!=typeof i&&(n=i,i=null);var r=this,s=t.reduceRight((function(t,e){return function(t,e){return function(i){r.acquire(t,e,i,n)}}(e,t)}),e);if("function"!=typeof i)return new this.Promise((function(t,e){1===s.length?s((function(i,n){i?e(i):t(n)})):t(s())}));s(i)},dI.prototype.isBusy=function(t){return t?!!this.queues[t]:Object.keys(this.queues).length>0},dI.prototype._promiseTry=function(t){try{return this.Promise.resolve(t())}catch(t){return this.Promise.reject(t)}};var gI=q(dI),mI=RA.Buffer;function yI(t,e){this._block=mI.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}yI.prototype.update=function(t,e){"string"==typeof t&&(e=e||"utf8",t=mI.from(t,e));for(var i=this._block,n=this._blockSize,r=t.length,s=this._len,o=0;o=this._finalSize&&(this._update(this._block),this._block.fill(0));var i=8*this._len;if(i<=4294967295)this._block.writeUInt32BE(i,this._blockSize-4);else{var n=(4294967295&i)>>>0,r=(i-n)/4294967296;this._block.writeUInt32BE(r,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var s=this._hash();return t?s.toString(t):s},yI.prototype._update=function(){throw new Error("_update must be implemented by subclass")};var bI=ee,wI=yI,vI=RA.Buffer,DI=[1518500249,1859775393,-1894007588,-899497514],kI=new Array(80);function EI(){this.init(),this._w=kI,wI.call(this,64,56)}function xI(t){return t<<1|t>>>31}function AI(t){return t<<5|t>>>27}function FI(t){return t<<30|t>>>2}function CI(t,e,i,n){return 0===t?e&i|~e&n:2===t?e&i|e&n|i&n:e^i^n}bI(EI,wI),EI.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},EI.prototype._update=function(t){for(var e=this._w,i=0|this._a,n=0|this._b,r=0|this._c,s=0|this._d,o=0|this._e,a=0;a<16;++a)e[a]=t.readInt32BE(4*a);for(;a<80;++a)e[a]=xI(e[a-3]^e[a-8]^e[a-14]^e[a-16]);for(var u=0;u<80;++u){var l=~~(u/20),c=AI(i)+CI(l,n,r,s)+o+e[u]+DI[l]|0;o=s,s=r,r=FI(n),n=i,i=c}this._a=i+this._a|0,this._b=n+this._b|0,this._c=r+this._c|0,this._d=s+this._d|0,this._e=o+this._e|0},EI.prototype._hash=function(){var t=vI.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t};var SI,_I=q(EI),jI={};SI=jI,function(t){"undefined"==typeof DO_NOT_EXPORT_CRC?t(SI):t({})}((function(t){t.version="1.2.2";var e=function(){for(var t=0,e=new Array(256),i=0;256!=i;++i)t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=i)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1,e[i]=t;return"undefined"!=typeof Int32Array?new Int32Array(e):e}(),i=function(t){var e=0,i=0,n=0,r="undefined"!=typeof Int32Array?new Int32Array(4096):new Array(4096);for(n=0;256!=n;++n)r[n]=t[n];for(n=0;256!=n;++n)for(i=t[n],e=256+n;e<4096;e+=256)i=r[e]=i>>>8^t[255&i];var s=[];for(n=1;16!=n;++n)s[n-1]="undefined"!=typeof Int32Array?r.subarray(256*n,256*n+256):r.slice(256*n,256*n+256);return s}(e),n=i[0],r=i[1],s=i[2],o=i[3],a=i[4],u=i[5],l=i[6],c=i[7],h=i[8],p=i[9],f=i[10],d=i[11],g=i[12],m=i[13],y=i[14];t.table=e,t.bstr=function(t,i){for(var n=~i,r=0,s=t.length;r>>8^e[255&(n^t.charCodeAt(r++))];return~n},t.buf=function(t,i){for(var b=~i,w=t.length-15,v=0;v>8&255]^g[t[v++]^b>>16&255]^d[t[v++]^b>>>24]^f[t[v++]]^p[t[v++]]^h[t[v++]]^c[t[v++]]^l[t[v++]]^u[t[v++]]^a[t[v++]]^o[t[v++]]^s[t[v++]]^r[t[v++]]^n[t[v++]]^e[t[v++]];for(w+=15;v>>8^e[255&(b^t[v++])];return~b},t.str=function(t,i){for(var n=~i,r=0,s=t.length,o=0,a=0;r>>8^e[255&(n^o)]:o<2048?n=(n=n>>>8^e[255&(n^(192|o>>6&31))])>>>8^e[255&(n^(128|63&o))]:o>=55296&&o<57344?(o=64+(1023&o),a=1023&t.charCodeAt(r++),n=(n=(n=(n=n>>>8^e[255&(n^(240|o>>8&7))])>>>8^e[255&(n^(128|o>>2&63))])>>>8^e[255&(n^(128|a>>6&15|(3&o)<<4))])>>>8^e[255&(n^(128|63&a))]):n=(n=(n=n>>>8^e[255&(n^(224|o>>12&15))])>>>8^e[255&(n^(128|o>>6&63))])>>>8^e[255&(n^(128|63&o))];return~n}}));var OI=q(jI),BI={};!function(t){var e="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function i(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var n=e.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)i(n,r)&&(t[r]=n[r])}}return t},t.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var n={arraySet:function(t,e,i,n,r){if(e.subarray&&t.subarray)t.set(e.subarray(i,i+n),r);else for(var s=0;s=0;)t[e]=0}var MI=0,zI=29,qI=256,UI=qI+1+zI,GI=30,WI=19,HI=2*UI+1,VI=15,KI=16,YI=7,JI=256,ZI=16,QI=17,XI=18,t$=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],e$=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],i$=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],n$=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],r$=new Array(2*(UI+2));PI(r$);var s$=new Array(2*GI);PI(s$);var o$=new Array(512);PI(o$);var a$=new Array(256);PI(a$);var u$=new Array(zI);PI(u$);var l$,c$,h$,p$=new Array(GI);function f$(t,e,i,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=i,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function d$(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function g$(t){return t<256?o$[t]:o$[256+(t>>>7)]}function m$(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function y$(t,e,i){t.bi_valid>KI-i?(t.bi_buf|=e<>KI-t.bi_valid,t.bi_valid+=i-KI):(t.bi_buf|=e<>>=1,i<<=1}while(--e>0);return i>>>1}function v$(t,e,i){var n,r,s=new Array(VI+1),o=0;for(n=1;n<=VI;n++)s[n]=o=o+i[n-1]<<1;for(r=0;r<=e;r++){var a=t[2*r+1];0!==a&&(t[2*r]=w$(s[a]++,a))}}function D$(t){var e;for(e=0;e8?m$(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function E$(t,e,i,n){var r=2*e,s=2*i;return t[r]>1;i>=1;i--)x$(t,s,i);r=u;do{i=t.heap[1],t.heap[1]=t.heap[t.heap_len--],x$(t,s,1),n=t.heap[1],t.heap[--t.heap_max]=i,t.heap[--t.heap_max]=n,s[2*r]=s[2*i]+s[2*n],t.depth[r]=(t.depth[i]>=t.depth[n]?t.depth[i]:t.depth[n])+1,s[2*i+1]=s[2*n+1]=r,t.heap[1]=r++,x$(t,s,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var i,n,r,s,o,a,u=e.dyn_tree,l=e.max_code,c=e.stat_desc.static_tree,h=e.stat_desc.has_stree,p=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,d=e.stat_desc.max_length,g=0;for(s=0;s<=VI;s++)t.bl_count[s]=0;for(u[2*t.heap[t.heap_max]+1]=0,i=t.heap_max+1;id&&(s=d,g++),u[2*n+1]=s,n>l||(t.bl_count[s]++,o=0,n>=f&&(o=p[n-f]),a=u[2*n],t.opt_len+=a*(s+o),h&&(t.static_len+=a*(c[2*n+1]+o)));if(0!==g){do{for(s=d-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[d]--,g-=2}while(g>0);for(s=d;0!==s;s--)for(n=t.bl_count[s];0!==n;)(r=t.heap[--i])>l||(u[2*r+1]!==s&&(t.opt_len+=(s-u[2*r+1])*u[2*r],u[2*r+1]=s),n--)}}(t,e),v$(s,l,t.bl_count)}function C$(t,e,i){var n,r,s=-1,o=e[1],a=0,u=7,l=4;for(0===o&&(u=138,l=3),e[2*(i+1)+1]=65535,n=0;n<=i;n++)r=o,o=e[2*(n+1)+1],++a>=7;n0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,i=4093624447;for(e=0;e<=31;e++,i>>>=1)if(1&i&&0!==t.dyn_ltree[2*e])return NI;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return LI;for(e=32;e=3&&0===t.bl_tree[2*n$[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=r&&(r=s)):r=s=i+5,i+4<=r&&-1!==e?j$(t,e,i,n):4===t.strategy||s===r?(y$(t,2+(n?1:0),3),A$(t,r$,s$)):(y$(t,4+(n?1:0),3),function(t,e,i,n){var r;for(y$(t,e-257,5),y$(t,i-1,5),y$(t,n-4,4),r=0;r>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&i,t.last_lit++,0===e?t.dyn_ltree[2*i]++:(t.matches++,e--,t.dyn_ltree[2*(a$[i]+qI+1)]++,t.dyn_dtree[2*g$(e)]++),t.last_lit===t.lit_bufsize-1},II._tr_align=function(t){y$(t,2,3),b$(t,JI,r$),function(t){16===t.bi_valid?(m$(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)};var O$=function(t,e,i,n){for(var r=65535&t,s=t>>>16&65535,o=0;0!==i;){i-=o=i>2e3?2e3:i;do{s=s+(r=r+e[n++]|0)|0}while(--o);r%=65521,s%=65521}return r|s<<16};var B$=function(){for(var t,e=[],i=0;i<256;i++){t=i;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[i]=t}return e}();var T$,R$=function(t,e,i,n){var r=B$,s=n+i;t^=-1;for(var o=n;o>>8^r[255&(t^e[o])];return~t},I$={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},$$=BI,N$=II,L$=O$,P$=R$,M$=I$,z$=0,q$=4,U$=0,G$=-2,W$=-1,H$=4,V$=2,K$=8,Y$=9,J$=286,Z$=30,Q$=19,X$=2*J$+1,tN=15,eN=3,iN=258,nN=iN+eN+1,rN=42,sN=103,oN=113,aN=666,uN=1,lN=2,cN=3,hN=4;function pN(t,e){return t.msg=M$[e],e}function fN(t){return(t<<1)-(t>4?9:0)}function dN(t){for(var e=t.length;--e>=0;)t[e]=0}function gN(t){var e=t.state,i=e.pending;i>t.avail_out&&(i=t.avail_out),0!==i&&($$.arraySet(t.output,e.pending_buf,e.pending_out,i,t.next_out),t.next_out+=i,e.pending_out+=i,t.total_out+=i,t.avail_out-=i,e.pending-=i,0===e.pending&&(e.pending_out=0))}function mN(t,e){N$._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,gN(t.strm)}function yN(t,e){t.pending_buf[t.pending++]=e}function bN(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function wN(t,e,i,n){var r=t.avail_in;return r>n&&(r=n),0===r?0:(t.avail_in-=r,$$.arraySet(e,t.input,t.next_in,r,i),1===t.state.wrap?t.adler=L$(t.adler,e,r,i):2===t.state.wrap&&(t.adler=P$(t.adler,e,r,i)),t.next_in+=r,t.total_in+=r,r)}function vN(t,e){var i,n,r=t.max_chain_length,s=t.strstart,o=t.prev_length,a=t.nice_match,u=t.strstart>t.w_size-nN?t.strstart-(t.w_size-nN):0,l=t.window,c=t.w_mask,h=t.prev,p=t.strstart+iN,f=l[s+o-1],d=l[s+o];t.prev_length>=t.good_match&&(r>>=2),a>t.lookahead&&(a=t.lookahead);do{if(l[(i=e)+o]===d&&l[i+o-1]===f&&l[i]===l[s]&&l[++i]===l[s+1]){s+=2,i++;do{}while(l[++s]===l[++i]&&l[++s]===l[++i]&&l[++s]===l[++i]&&l[++s]===l[++i]&&l[++s]===l[++i]&&l[++s]===l[++i]&&l[++s]===l[++i]&&l[++s]===l[++i]&&so){if(t.match_start=e,o=n,n>=a)break;f=l[s+o-1],d=l[s+o]}}}while((e=h[e&c])>u&&0!=--r);return o<=t.lookahead?o:t.lookahead}function DN(t){var e,i,n,r,s,o=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=o+(o-nN)){$$.arraySet(t.window,t.window,o,o,0),t.match_start-=o,t.strstart-=o,t.block_start-=o,e=i=t.hash_size;do{n=t.head[--e],t.head[e]=n>=o?n-o:0}while(--i);e=i=o;do{n=t.prev[--e],t.prev[e]=n>=o?n-o:0}while(--i);r+=o}if(0===t.strm.avail_in)break;if(i=wN(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=i,t.lookahead+t.insert>=eN)for(s=t.strstart-t.insert,t.ins_h=t.window[s],t.ins_h=(t.ins_h<=eN&&(t.ins_h=(t.ins_h<=eN)if(n=N$._tr_tally(t,t.strstart-t.match_start,t.match_length-eN),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=eN){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<=eN&&(t.ins_h=(t.ins_h<4096)&&(t.match_length=eN-1)),t.prev_length>=eN&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-eN,n=N$._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-eN),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=(t.ins_h<15&&(o=2,n-=16),r<1||r>Y$||i!==K$||n<8||n>15||e<0||e>9||s<0||s>H$)return pN(t,G$);8===n&&(n=9);var a=new AN;return t.state=a,a.strm=t,a.wrap=o,a.gzhead=null,a.w_bits=n,a.w_size=1<t.pending_buf_size-5&&(i=t.pending_buf_size-5);;){if(t.lookahead<=1){if(DN(t),0===t.lookahead&&e===z$)return uN;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+i;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,mN(t,!1),0===t.strm.avail_out))return uN;if(t.strstart-t.block_start>=t.w_size-nN&&(mN(t,!1),0===t.strm.avail_out))return uN}return t.insert=0,e===q$?(mN(t,!0),0===t.strm.avail_out?cN:hN):(t.strstart>t.block_start&&(mN(t,!1),t.strm.avail_out),uN)})),new xN(4,4,8,4,kN),new xN(4,5,16,8,kN),new xN(4,6,32,32,kN),new xN(4,4,16,16,EN),new xN(8,16,32,32,EN),new xN(8,16,128,128,EN),new xN(8,32,128,256,EN),new xN(32,128,258,1024,EN),new xN(32,258,258,4096,EN)],RI.deflateInit=function(t,e){return SN(t,e,K$,15,8,0)},RI.deflateInit2=SN,RI.deflateReset=CN,RI.deflateResetKeep=FN,RI.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?G$:(t.state.gzhead=e,U$):G$},RI.deflate=function(t,e){var i,n,r,s;if(!t||!t.state||e>5||e<0)return t?pN(t,G$):G$;if(n=t.state,!t.output||!t.input&&0!==t.avail_in||n.status===aN&&e!==q$)return pN(t,0===t.avail_out?-5:G$);if(n.strm=t,i=n.last_flush,n.last_flush=e,n.status===rN)if(2===n.wrap)t.adler=0,yN(n,31),yN(n,139),yN(n,8),n.gzhead?(yN(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),yN(n,255&n.gzhead.time),yN(n,n.gzhead.time>>8&255),yN(n,n.gzhead.time>>16&255),yN(n,n.gzhead.time>>24&255),yN(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),yN(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(yN(n,255&n.gzhead.extra.length),yN(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=P$(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(yN(n,0),yN(n,0),yN(n,0),yN(n,0),yN(n,0),yN(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),yN(n,3),n.status=oN);else{var o=K$+(n.w_bits-8<<4)<<8;o|=(n.strategy>=2||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(o|=32),o+=31-o%31,n.status=oN,bN(n,o),0!==n.strstart&&(bN(n,t.adler>>>16),bN(n,65535&t.adler)),t.adler=1}if(69===n.status)if(n.gzhead.extra){for(r=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>r&&(t.adler=P$(t.adler,n.pending_buf,n.pending-r,r)),gN(t),r=n.pending,n.pending!==n.pending_buf_size));)yN(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>r&&(t.adler=P$(t.adler,n.pending_buf,n.pending-r,r)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){r=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>r&&(t.adler=P$(t.adler,n.pending_buf,n.pending-r,r)),gN(t),r=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindexr&&(t.adler=P$(t.adler,n.pending_buf,n.pending-r,r)),0===s&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){r=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>r&&(t.adler=P$(t.adler,n.pending_buf,n.pending-r,r)),gN(t),r=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindexr&&(t.adler=P$(t.adler,n.pending_buf,n.pending-r,r)),0===s&&(n.status=sN)}else n.status=sN;if(n.status===sN&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&gN(t),n.pending+2<=n.pending_buf_size&&(yN(n,255&t.adler),yN(n,t.adler>>8&255),t.adler=0,n.status=oN)):n.status=oN),0!==n.pending){if(gN(t),0===t.avail_out)return n.last_flush=-1,U$}else if(0===t.avail_in&&fN(e)<=fN(i)&&e!==q$)return pN(t,-5);if(n.status===aN&&0!==t.avail_in)return pN(t,-5);if(0!==t.avail_in||0!==n.lookahead||e!==z$&&n.status!==aN){var a=2===n.strategy?function(t,e){for(var i;;){if(0===t.lookahead&&(DN(t),0===t.lookahead)){if(e===z$)return uN;break}if(t.match_length=0,i=N$._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,i&&(mN(t,!1),0===t.strm.avail_out))return uN}return t.insert=0,e===q$?(mN(t,!0),0===t.strm.avail_out?cN:hN):t.last_lit&&(mN(t,!1),0===t.strm.avail_out)?uN:lN}(n,e):3===n.strategy?function(t,e){for(var i,n,r,s,o=t.window;;){if(t.lookahead<=iN){if(DN(t),t.lookahead<=iN&&e===z$)return uN;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=eN&&t.strstart>0&&(n=o[r=t.strstart-1])===o[++r]&&n===o[++r]&&n===o[++r]){s=t.strstart+iN;do{}while(n===o[++r]&&n===o[++r]&&n===o[++r]&&n===o[++r]&&n===o[++r]&&n===o[++r]&&n===o[++r]&&n===o[++r]&&rt.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=eN?(i=N$._tr_tally(t,1,t.match_length-eN),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(i=N$._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),i&&(mN(t,!1),0===t.strm.avail_out))return uN}return t.insert=0,e===q$?(mN(t,!0),0===t.strm.avail_out?cN:hN):t.last_lit&&(mN(t,!1),0===t.strm.avail_out)?uN:lN}(n,e):T$[n.level].func(n,e);if(a!==cN&&a!==hN||(n.status=aN),a===uN||a===cN)return 0===t.avail_out&&(n.last_flush=-1),U$;if(a===lN&&(1===e?N$._tr_align(n):5!==e&&(N$._tr_stored_block(n,0,0,!1),3===e&&(dN(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),gN(t),0===t.avail_out))return n.last_flush=-1,U$}return e!==q$?U$:n.wrap<=0?1:(2===n.wrap?(yN(n,255&t.adler),yN(n,t.adler>>8&255),yN(n,t.adler>>16&255),yN(n,t.adler>>24&255),yN(n,255&t.total_in),yN(n,t.total_in>>8&255),yN(n,t.total_in>>16&255),yN(n,t.total_in>>24&255)):(bN(n,t.adler>>>16),bN(n,65535&t.adler)),gN(t),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?U$:1)},RI.deflateEnd=function(t){var e;return t&&t.state?(e=t.state.status)!==rN&&69!==e&&73!==e&&91!==e&&e!==sN&&e!==oN&&e!==aN?pN(t,G$):(t.state=null,e===oN?pN(t,-3):U$):G$},RI.deflateSetDictionary=function(t,e){var i,n,r,s,o,a,u,l,c=e.length;if(!t||!t.state)return G$;if(2===(s=(i=t.state).wrap)||1===s&&i.status!==rN||i.lookahead)return G$;for(1===s&&(t.adler=L$(t.adler,e,c,0)),i.wrap=0,c>=i.w_size&&(0===s&&(dN(i.head),i.strstart=0,i.block_start=0,i.insert=0),l=new $$.Buf8(i.w_size),$$.arraySet(l,e,c-i.w_size,i.w_size,0),e=l,c=i.w_size),o=t.avail_in,a=t.next_in,u=t.input,t.avail_in=c,t.next_in=0,t.input=e,DN(i);i.lookahead>=eN;){n=i.strstart,r=i.lookahead-(eN-1);do{i.ins_h=(i.ins_h<=252?6:RN>=248?5:RN>=240?4:RN>=224?3:RN>=192?2:1;function IN(t,e){if(e<65534&&(t.subarray&&BN||!t.subarray&&ON))return String.fromCharCode.apply(null,jN.shrinkBuf(t,e));for(var i="",n=0;n>>6,e[s++]=128|63&i):i<65536?(e[s++]=224|i>>>12,e[s++]=128|i>>>6&63,e[s++]=128|63&i):(e[s++]=240|i>>>18,e[s++]=128|i>>>12&63,e[s++]=128|i>>>6&63,e[s++]=128|63&i);return e},_N.buf2binstring=function(t){return IN(t,t.length)},_N.binstring2buf=function(t){for(var e=new jN.Buf8(t.length),i=0,n=e.length;i4)a[n++]=65533,i+=s-1;else{for(r&=2===s?31:3===s?15:7;s>1&&i1?a[n++]=65533:r<65536?a[n++]=r:(r-=65536,a[n++]=55296|r>>10&1023,a[n++]=56320|1023&r)}return IN(a,n)},_N.utf8border=function(t,e){var i;for((e=e||t.length)>t.length&&(e=t.length),i=e-1;i>=0&&128==(192&t[i]);)i--;return i<0||0===i?e:i+TN[t[i]]>e?i:e};var $N=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},NN=RI,LN=BI,PN=_N,MN=I$,zN=$N,qN=Object.prototype.toString,UN=0,GN=-1,WN=0,HN=8;function VN(t){if(!(this instanceof VN))return new VN(t);this.options=LN.assign({level:GN,method:HN,chunkSize:16384,windowBits:15,memLevel:8,strategy:WN,to:""},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new zN,this.strm.avail_out=0;var i=NN.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(i!==UN)throw new Error(MN[i]);if(e.header&&NN.deflateSetHeader(this.strm,e.header),e.dictionary){var n;if(n="string"==typeof e.dictionary?PN.string2buf(e.dictionary):"[object ArrayBuffer]"===qN.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,(i=NN.deflateSetDictionary(this.strm,n))!==UN)throw new Error(MN[i]);this._dict_set=!0}}function KN(t,e){var i=new VN(e);if(i.push(t,!0),i.err)throw i.msg||MN[i.err];return i.result}VN.prototype.push=function(t,e){var i,n,r=this.strm,s=this.options.chunkSize;if(this.ended)return!1;n=e===~~e?e:!0===e?4:0,"string"==typeof t?r.input=PN.string2buf(t):"[object ArrayBuffer]"===qN.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;do{if(0===r.avail_out&&(r.output=new LN.Buf8(s),r.next_out=0,r.avail_out=s),1!==(i=NN.deflate(r,n))&&i!==UN)return this.onEnd(i),this.ended=!0,!1;0!==r.avail_out&&(0!==r.avail_in||4!==n&&2!==n)||("string"===this.options.to?this.onData(PN.buf2binstring(LN.shrinkBuf(r.output,r.next_out))):this.onData(LN.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||0===r.avail_out)&&1!==i);return 4===n?(i=NN.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===UN):2!==n||(this.onEnd(UN),r.avail_out=0,!0)},VN.prototype.onData=function(t){this.chunks.push(t)},VN.prototype.onEnd=function(t){t===UN&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=LN.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},TI.Deflate=VN,TI.deflate=KN,TI.deflateRaw=function(t,e){return(e=e||{}).raw=!0,KN(t,e)},TI.gzip=function(t,e){return(e=e||{}).gzip=!0,KN(t,e)};var YN={},JN={},ZN=BI,QN=15,XN=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],tL=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],eL=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],iL=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],nL=BI,rL=O$,sL=R$,oL=function(t,e){var i,n,r,s,o,a,u,l,c,h,p,f,d,g,m,y,b,w,v,D,k,E,x,A,F;i=t.state,n=t.next_in,A=t.input,r=n+(t.avail_in-5),s=t.next_out,F=t.output,o=s-(e-t.avail_out),a=s+(t.avail_out-257),u=i.dmax,l=i.wsize,c=i.whave,h=i.wnext,p=i.window,f=i.hold,d=i.bits,g=i.lencode,m=i.distcode,y=(1<>>=v=w>>>24,d-=v,0===(v=w>>>16&255))F[s++]=65535&w;else{if(!(16&v)){if(64&v){if(32&v){i.mode=12;break t}t.msg="invalid literal/length code",i.mode=30;break t}w=g[(65535&w)+(f&(1<>>=v,d-=v),d<15&&(f+=A[n++]<>>=v=w>>>24,d-=v,16&(v=w>>>16&255)){if(k=65535&w,d<(v&=15)&&(f+=A[n++]<u){t.msg="invalid distance too far back",i.mode=30;break t}if(f>>>=v,d-=v,k>(v=s-o)){if((v=k-v)>c&&i.sane){t.msg="invalid distance too far back",i.mode=30;break t}if(E=0,x=p,0===h){if(E+=l-v,v2;)F[s++]=x[E++],F[s++]=x[E++],F[s++]=x[E++],D-=3;D&&(F[s++]=x[E++],D>1&&(F[s++]=x[E++]))}else{E=s-k;do{F[s++]=F[E++],F[s++]=F[E++],F[s++]=F[E++],D-=3}while(D>2);D&&(F[s++]=F[E++],D>1&&(F[s++]=F[E++]))}break}if(64&v){t.msg="invalid distance code",i.mode=30;break t}w=m[(65535&w)+(f&(1<>3,f&=(1<<(d-=D<<3))-1,t.next_in=n,t.next_out=s,t.avail_in=n=1&&0===j[D];D--);if(k>D&&(k=D),0===D)return r[s++]=20971520,r[s++]=20971520,a.bits=1,0;for(v=1;v0&&(0===t||1!==D))return-1;for(O[1]=0,b=1;b852||2===t&&F>592)return 1;for(;;){d=b-x,o[w]f?(g=B[T+o[w]],m=S[_+o[w]]):(g=96,m=0),u=1<>x)+(l-=u)]=d<<24|g<<16|m}while(0!==l);for(u=1<>=1;if(0!==u?(C&=u-1,C+=u):C=0,w++,0==--j[b]){if(b===D)break;b=e[i+o[w]]}if(b>k&&(C&h)!==c){for(0===x&&(x=k),p+=v,A=1<<(E=b-x);E+x852||2===t&&F>592)return 1;r[c=C&h]=k<<24|E<<16|p-s}}return 0!==C&&(r[p+C]=b-x<<24|64<<16),a.bits=k,0},uL=1,lL=2,cL=0,hL=-2,pL=1,fL=12,dL=30,gL=852,mL=592;function yL(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function bL(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new nL.Buf16(320),this.work=new nL.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function wL(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=pL,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new nL.Buf32(gL),e.distcode=e.distdyn=new nL.Buf32(mL),e.sane=1,e.back=-1,cL):hL}function vL(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,wL(t)):hL}function DL(t,e){var i,n;return t&&t.state?(n=t.state,e<0?(i=0,e=-e):(i=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?hL:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=i,n.wbits=e,vL(t))):hL}function kL(t,e){var i,n;return t?(n=new bL,t.state=n,n.window=null,(i=DL(t,e))!==cL&&(t.state=null),i):hL}var EL,xL,AL=!0;function FL(t){if(AL){var e;for(EL=new nL.Buf32(512),xL=new nL.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(aL(uL,t.lens,0,288,EL,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;aL(lL,t.lens,0,32,xL,0,t.work,{bits:5}),AL=!1}t.lencode=EL,t.lenbits=9,t.distcode=xL,t.distbits=5}function CL(t,e,i,n){var r,s=t.state;return null===s.window&&(s.wsize=1<=s.wsize?(nL.arraySet(s.window,e,i-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):((r=s.wsize-s.wnext)>n&&(r=n),nL.arraySet(s.window,e,i-n,r,s.wnext),(n-=r)?(nL.arraySet(s.window,e,i-n,n,0),s.wnext=n,s.whave=s.wsize):(s.wnext+=r,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,i.check=sL(i.check,C,2,0),l=0,c=0,i.mode=2;break}if(i.flags=0,i.head&&(i.head.done=!1),!(1&i.wrap)||(((255&l)<<8)+(l>>8))%31){t.msg="incorrect header check",i.mode=dL;break}if(8!=(15&l)){t.msg="unknown compression method",i.mode=dL;break}if(c-=4,k=8+(15&(l>>>=4)),0===i.wbits)i.wbits=k;else if(k>i.wbits){t.msg="invalid window size",i.mode=dL;break}i.dmax=1<>8&1),512&i.flags&&(C[0]=255&l,C[1]=l>>>8&255,i.check=sL(i.check,C,2,0)),l=0,c=0,i.mode=3;case 3:for(;c<32;){if(0===a)break t;a--,l+=n[s++]<>>8&255,C[2]=l>>>16&255,C[3]=l>>>24&255,i.check=sL(i.check,C,4,0)),l=0,c=0,i.mode=4;case 4:for(;c<16;){if(0===a)break t;a--,l+=n[s++]<>8),512&i.flags&&(C[0]=255&l,C[1]=l>>>8&255,i.check=sL(i.check,C,2,0)),l=0,c=0,i.mode=5;case 5:if(1024&i.flags){for(;c<16;){if(0===a)break t;a--,l+=n[s++]<>>8&255,i.check=sL(i.check,C,2,0)),l=0,c=0}else i.head&&(i.head.extra=null);i.mode=6;case 6:if(1024&i.flags&&((f=i.length)>a&&(f=a),f&&(i.head&&(k=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Array(i.head.extra_len)),nL.arraySet(i.head.extra,n,s,f,k)),512&i.flags&&(i.check=sL(i.check,n,f,s)),a-=f,s+=f,i.length-=f),i.length))break t;i.length=0,i.mode=7;case 7:if(2048&i.flags){if(0===a)break t;f=0;do{k=n[s+f++],i.head&&k&&i.length<65536&&(i.head.name+=String.fromCharCode(k))}while(k&&f>9&1,i.head.done=!0),t.adler=i.check=0,i.mode=fL;break;case 10:for(;c<32;){if(0===a)break t;a--,l+=n[s++]<>>=7&c,c-=7&c,i.mode=27;break}for(;c<3;){if(0===a)break t;a--,l+=n[s++]<>>=1)){case 0:i.mode=14;break;case 1:if(FL(i),i.mode=20,6===e){l>>>=2,c-=2;break t}break;case 2:i.mode=17;break;case 3:t.msg="invalid block type",i.mode=dL}l>>>=2,c-=2;break;case 14:for(l>>>=7&c,c-=7&c;c<32;){if(0===a)break t;a--,l+=n[s++]<>>16^65535)){t.msg="invalid stored block lengths",i.mode=dL;break}if(i.length=65535&l,l=0,c=0,i.mode=15,6===e)break t;case 15:i.mode=16;case 16:if(f=i.length){if(f>a&&(f=a),f>u&&(f=u),0===f)break t;nL.arraySet(r,n,s,f,o),a-=f,s+=f,u-=f,o+=f,i.length-=f;break}i.mode=fL;break;case 17:for(;c<14;){if(0===a)break t;a--,l+=n[s++]<>>=5,c-=5,i.ndist=1+(31&l),l>>>=5,c-=5,i.ncode=4+(15&l),l>>>=4,c-=4,i.nlen>286||i.ndist>30){t.msg="too many length or distance symbols",i.mode=dL;break}i.have=0,i.mode=18;case 18:for(;i.have>>=3,c-=3}for(;i.have<19;)i.lens[S[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,x={bits:i.lenbits},E=aL(0,i.lens,0,19,i.lencode,0,i.work,x),i.lenbits=x.bits,E){t.msg="invalid code lengths set",i.mode=dL;break}i.have=0,i.mode=19;case 19:for(;i.have>>16&255,b=65535&F,!((m=F>>>24)<=c);){if(0===a)break t;a--,l+=n[s++]<>>=m,c-=m,i.lens[i.have++]=b;else{if(16===b){for(A=m+2;c>>=m,c-=m,0===i.have){t.msg="invalid bit length repeat",i.mode=dL;break}k=i.lens[i.have-1],f=3+(3&l),l>>>=2,c-=2}else if(17===b){for(A=m+3;c>>=m)),l>>>=3,c-=3}else{for(A=m+7;c>>=m)),l>>>=7,c-=7}if(i.have+f>i.nlen+i.ndist){t.msg="invalid bit length repeat",i.mode=dL;break}for(;f--;)i.lens[i.have++]=k}}if(i.mode===dL)break;if(0===i.lens[256]){t.msg="invalid code -- missing end-of-block",i.mode=dL;break}if(i.lenbits=9,x={bits:i.lenbits},E=aL(uL,i.lens,0,i.nlen,i.lencode,0,i.work,x),i.lenbits=x.bits,E){t.msg="invalid literal/lengths set",i.mode=dL;break}if(i.distbits=6,i.distcode=i.distdyn,x={bits:i.distbits},E=aL(lL,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,x),i.distbits=x.bits,E){t.msg="invalid distances set",i.mode=dL;break}if(i.mode=20,6===e)break t;case 20:i.mode=21;case 21:if(a>=6&&u>=258){t.next_out=o,t.avail_out=u,t.next_in=s,t.avail_in=a,i.hold=l,i.bits=c,oL(t,p),o=t.next_out,r=t.output,u=t.avail_out,s=t.next_in,n=t.input,a=t.avail_in,l=i.hold,c=i.bits,i.mode===fL&&(i.back=-1);break}for(i.back=0;y=(F=i.lencode[l&(1<>>16&255,b=65535&F,!((m=F>>>24)<=c);){if(0===a)break t;a--,l+=n[s++]<>w)])>>>16&255,b=65535&F,!(w+(m=F>>>24)<=c);){if(0===a)break t;a--,l+=n[s++]<>>=w,c-=w,i.back+=w}if(l>>>=m,c-=m,i.back+=m,i.length=b,0===y){i.mode=26;break}if(32&y){i.back=-1,i.mode=fL;break}if(64&y){t.msg="invalid literal/length code",i.mode=dL;break}i.extra=15&y,i.mode=22;case 22:if(i.extra){for(A=i.extra;c>>=i.extra,c-=i.extra,i.back+=i.extra}i.was=i.length,i.mode=23;case 23:for(;y=(F=i.distcode[l&(1<>>16&255,b=65535&F,!((m=F>>>24)<=c);){if(0===a)break t;a--,l+=n[s++]<>w)])>>>16&255,b=65535&F,!(w+(m=F>>>24)<=c);){if(0===a)break t;a--,l+=n[s++]<>>=w,c-=w,i.back+=w}if(l>>>=m,c-=m,i.back+=m,64&y){t.msg="invalid distance code",i.mode=dL;break}i.offset=b,i.extra=15&y,i.mode=24;case 24:if(i.extra){for(A=i.extra;c>>=i.extra,c-=i.extra,i.back+=i.extra}if(i.offset>i.dmax){t.msg="invalid distance too far back",i.mode=dL;break}i.mode=25;case 25:if(0===u)break t;if(f=p-u,i.offset>f){if((f=i.offset-f)>i.whave&&i.sane){t.msg="invalid distance too far back",i.mode=dL;break}f>i.wnext?(f-=i.wnext,d=i.wsize-f):d=i.wnext-f,f>i.length&&(f=i.length),g=i.window}else g=r,d=o-i.offset,f=i.length;f>u&&(f=u),u-=f,i.length-=f;do{r[o++]=g[d++]}while(--f);0===i.length&&(i.mode=21);break;case 26:if(0===u)break t;r[o++]=i.length,u--,i.mode=21;break;case 27:if(i.wrap){for(;c<32;){if(0===a)break t;a--,l|=n[s++]<=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&(15&e.windowBits||(e.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new RL,this.strm.avail_out=0;var i=_L.inflateInit2(this.strm,e.windowBits);if(i!==BL.Z_OK)throw new Error(TL[i]);if(this.header=new IL,_L.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=OL.string2buf(e.dictionary):"[object ArrayBuffer]"===$L.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(i=_L.inflateSetDictionary(this.strm,e.dictionary))!==BL.Z_OK))throw new Error(TL[i])}function LL(t,e){var i=new NL(e);if(i.push(t,!0),i.err)throw i.msg||TL[i.err];return i.result}NL.prototype.push=function(t,e){var i,n,r,s,o,a=this.strm,u=this.options.chunkSize,l=this.options.dictionary,c=!1;if(this.ended)return!1;n=e===~~e?e:!0===e?BL.Z_FINISH:BL.Z_NO_FLUSH,"string"==typeof t?a.input=OL.binstring2buf(t):"[object ArrayBuffer]"===$L.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=new jL.Buf8(u),a.next_out=0,a.avail_out=u),(i=_L.inflate(a,BL.Z_NO_FLUSH))===BL.Z_NEED_DICT&&l&&(i=_L.inflateSetDictionary(this.strm,l)),i===BL.Z_BUF_ERROR&&!0===c&&(i=BL.Z_OK,c=!1),i!==BL.Z_STREAM_END&&i!==BL.Z_OK)return this.onEnd(i),this.ended=!0,!1;a.next_out&&(0!==a.avail_out&&i!==BL.Z_STREAM_END&&(0!==a.avail_in||n!==BL.Z_FINISH&&n!==BL.Z_SYNC_FLUSH)||("string"===this.options.to?(r=OL.utf8border(a.output,a.next_out),s=a.next_out-r,o=OL.buf2string(a.output,r),a.next_out=s,a.avail_out=u-s,s&&jL.arraySet(a.output,a.output,r,s,0),this.onData(o)):this.onData(jL.shrinkBuf(a.output,a.next_out)))),0===a.avail_in&&0===a.avail_out&&(c=!0)}while((a.avail_in>0||0===a.avail_out)&&i!==BL.Z_STREAM_END);return i===BL.Z_STREAM_END&&(n=BL.Z_FINISH),n===BL.Z_FINISH?(i=_L.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===BL.Z_OK):n!==BL.Z_SYNC_FLUSH||(this.onEnd(BL.Z_OK),a.avail_out=0,!0)},NL.prototype.onData=function(t){this.chunks.push(t)},NL.prototype.onEnd=function(t){t===BL.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=jL.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},YN.Inflate=NL,YN.inflate=LL,YN.inflateRaw=function(t,e){return(e=e||{}).raw=!0,LL(t,e)},YN.ungzip=LL;var PL={};(0,BI.assign)(PL,TI,YN,SL);var ML=q(PL);const zL=(t,e)=>function(...i){return new(0,e.promiseModule)(((n,r)=>{e.multiArgs?i.push(((...t)=>{e.errorFirst?t[0]?r(t):(t.shift(),n(t)):n(t)})):e.errorFirst?i.push(((t,e)=>{t?r(t):n(e)})):i.push(n),t.apply(this,i)}))};var qL=(t,e)=>{e=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:!0,promiseModule:Promise},e);const i=typeof t;if(null===t||"object"!==i&&"function"!==i)throw new TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${null===t?"null":i}\``);const n=t=>{const i=e=>"string"==typeof e?t===e:e.test(t);return e.include?e.include.some(i):!e.exclude.some(i)};let r;r="function"===i?function(...i){return e.excludeMain?t(...i):zL(t,e).apply(this,i)}:Object.create(Object.getPrototypeOf(t));for(const i in t){const s=t[i];r[i]="function"==typeof s&&n(i)?zL(s,e):s}return r},UL=q(qL);function GL(t,e,i){return e=e instanceof RegExp?e:new RegExp(function(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(e),"g"),t.replace(e,i)}var WL=q({clean:function(t){if("string"!=typeof t)throw new Error("Expected a string, received: "+t);return t=GL(t,"./","/"),t=GL(t,"..","."),t=GL(t," ","-"),t=GL(t,/^[~^:?*\\\-]/g,""),t=GL(t,/[~^:?*\\]/g,"-"),t=GL(t,/[~^:?*\\\-]$/g,""),t=GL(t,"@{","-"),t=GL(t,/\.$/g,""),t=GL(t,/\/$/g,""),t=GL(t,/\.lock$/g,"")}}),HL=function(t,e){var i,n,r=t,s=e,o=r.length,a=s.length,u=!1,l=null,c=o+1,h=[],p=[],f=[],d="",g=function(t,e,i){return{x:t,y:e,k:i}},m=function(t,e){return{elem:t,t:e}},y=function(t,e,i){var n,u,l;for(n=e>i?h[t-1+c]:h[t+1+c],u=(l=Math.max(e,i))-t;u=a&&(i=r,n=o,r=s,s=i,o=a,a=n,u=!0,c=o+1),{SES_DELETE:-1,SES_COMMON:0,SES_ADD:1,editdistance:function(){return l},getlcs:function(){return d},getses:function(){return f},compose:function(){var t,e,i,n,b,w,v,D;for(t=a-o,e=o+a+3,i={},v=0;v=t+1;--D)i[D+c]=y(D,i[D-1+c]+1,i[D+1+c]);i[t+c]=y(t,i[t-1+c]+1,i[t+1+c])}while(i[t+c]!==a);for(l=t+2*n,b=h[t+c],w=[];-1!==b;)w[w.length]=new g(p[b].x,p[b].y,null),b=p[b].k;!function(t){var e,i,n;for(e=i=0,n=t.length-1;n>=0;--n)for(;ei-e?(f[f.length]=new m(s[i],u?-1:1),++i):t[n].y-t[n].x=0;--u)s[u].t===i.SES_COMMON?(r?(r.chain={file1index:o,file2index:a,chain:null},r=r.chain):r=n={file1index:o,file2index:a,chain:null},o--,a--):s[u].t===i.SES_DELETE?o--:s[u].t===i.SES_ADD&&a--;var l={file1index:-1,file2index:-1,chain:null};return r?(r.chain=l,n):l}(t,e);null!==s;s=s.chain){var o=n-s.file1index-1,a=r-s.file2index-1;n=s.file1index,r=s.file2index,(o||a)&&i.push({file1:[n+1,o],file2:[r+1,a]})}return i.reverse(),i}var KL=function(t,e,i){var n=[],r=[t,e,i],s=function(t,e,i){var n,r=VL(e,t),s=VL(e,i),o=[];function a(t,e){o.push([t.file1[0],e,t.file1[1],t.file2[0],t.file2[1]])}for(n=0;nl&&(u.push([1,l,t-l]),l=t)}for(var h=0;hg)break;g=Math.max(g,y+m[2]),h++}if(c(d),p==h)f[4]>0&&u.push([f[1],f[3],f[4]]);else{var b={0:[t.length,-1,e.length,-1],2:[i.length,-1,e.length,-1]};for(n=p;n<=h;n++){var w=b[(f=o[n])[1]],v=f[0],D=v+f[2],k=f[3],E=k+f[4];w[0]=Math.min(k,w[0]),w[1]=Math.max(E,w[1]),w[2]=Math.min(v,w[2]),w[3]=Math.max(D,w[3])}var x=b[0][0]+(d-b[0][2]),A=b[0][1]+(g-b[0][3]),F=b[2][0]+(d-b[2][2]),C=b[2][1]+(g-b[2][3]);u.push([-1,x,A-x,d,g-d,F,C-F])}l=g}return c(e.length),u}(t,e,i),o=[];function a(){o.length&&n.push({ok:o}),o=[]}function u(t){for(var e=0;e=this.buffer.length}tell(){return this._start}seek(t){this._start=t}slice(t){const e=this.buffer.slice(this._start,this._start+t);return this._start+=t,e}toString(t,e){const i=this.buffer.toString(t,this._start,this._start+e);return this._start+=e,i}write(t,e,i){const n=this.buffer.write(t,this._start,e,i);return this._start+=e,n}copy(t,e,i){const n=t.copy(this.buffer,this._start,e,i);return this._start+=n,n}readUInt8(){const t=this.buffer.readUInt8(this._start);return this._start+=1,t}writeUInt8(t){const e=this.buffer.writeUInt8(t,this._start);return this._start+=1,e}readUInt16BE(){const t=this.buffer.readUInt16BE(this._start);return this._start+=2,t}writeUInt16BE(t){const e=this.buffer.writeUInt16BE(t,this._start);return this._start+=2,e}readUInt32BE(){const t=this.buffer.readUInt32BE(this._start);return this._start+=4,t}writeUInt32BE(t){const e=this.buffer.writeUInt32BE(t,this._start);return this._start+=4,e}}function eP(t,e){return-(te)}function iP(t,e){return eP(t.path,e.path)}function nP(t){let e=t>0?t>>12:0;4!==e&&8!==e&&10!==e&&14!==e&&(e=8);let i=511&t;return i=73&i?493:420,8!==e&&(i=0),(e<<12)+i}const rP=2**32;function sP(t,e,i,n){if(void 0!==t&&void 0!==e)return[t,e];void 0===i&&(i=n.valueOf());const r=Math.floor(i/1e3);return[r,1e6*(i-1e3*r)]}function oP(t){const[e,i]=sP(t.ctimeSeconds,t.ctimeNanoseconds,t.ctimeMs,t.ctime),[n,r]=sP(t.mtimeSeconds,t.mtimeNanoseconds,t.mtimeMs,t.mtime);return{ctimeSeconds:e%rP,ctimeNanoseconds:i%rP,mtimeSeconds:n%rP,mtimeNanoseconds:r%rP,dev:t.dev%rP,ino:t.ino%rP,mode:nP(t.mode%rP),uid:t.uid%rP,gid:t.gid%rP,size:t.size>-1?t.size%rP:0}}let aP=null;async function uP(t){return null===aP&&(aP=await async function(){try{if("da39a3ee5e6b4b0d3255bfef95601890afd80709"===await lP(new Uint8Array([])))return!0}catch(t){}return!1}()),aP?lP(t):function(t){return(new _I).update(t).digest("hex")}(t)}async function lP(t){return function(t){let e="";for(const i of new Uint8Array(t))i<16&&(e+="0"),e+=i.toString(16);return e}(await crypto.subtle.digest("SHA-1",t))}class cP{constructor(t,e){this._dirty=!1,this._unmergedPaths=e||new Set,this._entries=t||new Map}_addEntry(t){if(0===t.flags.stage)t.stages=[t],this._entries.set(t.path,t),this._unmergedPaths.delete(t.path);else{let e=this._entries.get(t.path);e||(this._entries.set(t.path,t),e=t),e.stages[t.flags.stage]=t,this._unmergedPaths.add(t.path)}}static async from(t){if(Buffer.isBuffer(t))return cP.fromBuffer(t);if(null===t)return new cP(null);throw new QL("invalid type passed to GitIndex.from")}static async fromBuffer(t){if(0===t.length)throw new QL("Index file is empty (.git/index)");const e=new cP,i=new tP(t),n=i.toString("utf8",4);if("DIRC"!==n)throw new QL(`Invalid dircache magic file number: ${n}`);const r=await uP(t.slice(0,-20)),s=t.slice(-20).toString("hex");if(s!==r)throw new QL(`Invalid checksum in GitIndex buffer: expected ${s} but saw ${r}`);const o=i.readUInt32BE();if(2!==o)throw new QL(`Unsupported dircache version: ${o}`);const a=i.readUInt32BE();let u=0;for(;!i.eof()&&u>12,nameLength:4095&l});const s=t.indexOf(0,i.tell()+1)-i.tell();if(s<1)throw new QL(`Got a path length of: ${s}`);if(n.path=i.toString("utf8",s),n.path.includes("..\\")||n.path.includes("../"))throw new XL(n.path);let o=8-(i.tell()-12)%8;for(0===o&&(o=8);o--;){const t=i.readUInt8();if(0!==t)throw new QL(`Expected 1-8 null characters but got '${t}' after ${n.path}`);if(i.eof())throw new QL("Unexpected end of file")}n.stages=[],e._addEntry(n),u++}var l;return e}get unmergedPaths(){return[...this._unmergedPaths]}get entries(){return[...this._entries.values()].sort(iP)}get entriesMap(){return this._entries}get entriesFlat(){return[...this.entries].flatMap((t=>t.stages.length>1?t.stages.filter((t=>t)):t))}*[Symbol.iterator](){for(const t of this.entries)yield t}insert({filepath:t,stats:e,oid:i,stage:n=0}){e||(e={ctimeSeconds:0,ctimeNanoseconds:0,mtimeSeconds:0,mtimeNanoseconds:0,dev:0,ino:0,mode:0,uid:0,gid:0,size:0}),e=oP(e);const r=Buffer.from(t),s={ctimeSeconds:e.ctimeSeconds,ctimeNanoseconds:e.ctimeNanoseconds,mtimeSeconds:e.mtimeSeconds,mtimeNanoseconds:e.mtimeNanoseconds,dev:e.dev,ino:e.ino,mode:e.mode||33188,uid:e.uid,gid:e.gid,size:e.size,path:t,oid:i,flags:{assumeValid:!1,extended:!1,stage:n,nameLength:r.length<4095?r.length:4095},stages:[]};this._addEntry(s),this._dirty=!0}delete({filepath:t}){if(this._entries.has(t))this._entries.delete(t);else for(const e of this._entries.keys())e.startsWith(t+"/")&&this._entries.delete(e);this._unmergedPaths.has(t)&&this._unmergedPaths.delete(t),this._dirty=!0}clear(){this._entries.clear(),this._dirty=!0}has({filepath:t}){return this._entries.has(t)}render(){return this.entries.map((t=>`${t.mode.toString(8)} ${t.oid} ${t.path}`)).join("\n")}static async _entryToBuffer(t){const e=Buffer.from(t.path),i=8*Math.ceil((62+e.length+1)/8),n=Buffer.alloc(i),r=new tP(n),s=oP(t);return r.writeUInt32BE(s.ctimeSeconds),r.writeUInt32BE(s.ctimeNanoseconds),r.writeUInt32BE(s.mtimeSeconds),r.writeUInt32BE(s.mtimeNanoseconds),r.writeUInt32BE(s.dev),r.writeUInt32BE(s.ino),r.writeUInt32BE(s.mode),r.writeUInt32BE(s.uid),r.writeUInt32BE(s.gid),r.writeUInt32BE(s.size),r.write(t.oid,20,"hex"),r.writeUInt16BE(function(t){const e=t.flags;return e.extended=!1,e.nameLength=Math.min(Buffer.from(t.path).length,4095),(e.assumeValid?32768:0)+(e.extended?16384:0)+((3&e.stage)<<12)+(4095&e.nameLength)}(t)),r.write(t.path,e.length,"utf8"),n}async toObject(){const t=Buffer.alloc(12),e=new tP(t);e.write("DIRC",4,"utf8"),e.writeUInt32BE(2),e.writeUInt32BE(this.entriesFlat.length);let i=[];for(const t of this.entries)if(i.push(cP._entryToBuffer(t)),t.stages.length>1)for(const e of t.stages)e&&e!==t&&i.push(cP._entryToBuffer(e));i=await Promise.all(i);const n=Buffer.concat(i),r=Buffer.concat([t,n]),s=await uP(r);return Buffer.concat([r,Buffer.from(s,"hex")])}}function hP(t,e){const i=oP(t),n=oP(e);return i.mode!==n.mode||i.mtimeSeconds!==n.mtimeSeconds||i.ctimeSeconds!==n.ctimeSeconds||i.uid!==n.uid||i.gid!==n.gid||i.ino!==n.ino||i.size!==n.size}let pP=null;const fP=Symbol("IndexCache");class dP{static async acquire({fs:t,gitdir:e,cache:i,allowUnmerged:n=!0},r){i[fP]||(i[fP]={map:new Map,stats:new Map});const s=`${e}/index`;let o;null===pP&&(pP=new gI({maxPending:1/0}));let a=[];return await pP.acquire(s,(async()=>{await async function(t,e,i){const n=i.stats.get(e);if(void 0===n)return!0;const r=await t.lstat(e);return null!==n&&null!==r&&hP(n,r)}(t,s,i[fP])&&await async function(t,e,i){const n=await t.lstat(e),r=await t.read(e),s=await cP.from(r);i.map.set(e,s),i.stats.set(e,n)}(t,s,i[fP]);const e=i[fP].map.get(s);if(a=e.unmergedPaths,a.length&&!n)throw new ZL(a);if(o=await r(e),e._dirty){const n=await e.toObject();await t.write(s,n),i[fP].stats.set(s,await t.lstat(s)),e._dirty=!1}})),o}}function gP(t){const e=Math.max(t.lastIndexOf("/"),t.lastIndexOf("\\"));return e>-1&&(t=t.slice(e+1)),t}function mP(t){const e=Math.max(t.lastIndexOf("/"),t.lastIndexOf("\\"));return-1===e?".":0===e?"/":t.slice(0,e)}function yP(t){const e=new Map,i=function(t){if(!e.has(t)){const n={type:"tree",fullpath:t,basename:gP(t),metadata:{},children:[]};e.set(t,n),n.parent=i(mP(t)),n.parent&&n.parent!==n&&n.parent.children.push(n)}return e.get(t)},n=function(t,n){if(!e.has(t)){const r={type:"blob",fullpath:t,basename:gP(t),metadata:n,parent:i(mP(t)),children:[]};r.parent&&r.parent.children.push(r),e.set(t,r)}return e.get(t)};i(".");for(const e of t)n(e.path,e);return e}class bP{constructor({fs:t,gitdir:e,cache:i}){this.treePromise=dP.acquire({fs:t,gitdir:e,cache:i},(async function(t){return yP(t.entries)}));const n=this;this.ConstructEntry=class{constructor(t){this._fullpath=t,this._type=!1,this._mode=!1,this._stat=!1,this._oid=!1}async type(){return n.type(this)}async mode(){return n.mode(this)}async stat(){return n.stat(this)}async content(){return n.content(this)}async oid(){return n.oid(this)}}}async readdir(t){const e=t._fullpath,i=(await this.treePromise).get(e);if(!i)return null;if("blob"===i.type)return null;if("tree"!==i.type)throw new Error(`ENOTDIR: not a directory, scandir '${e}'`);const n=i.children.map((t=>t.fullpath));return n.sort(eP),n}async type(t){return!1===t._type&&await t.stat(),t._type}async mode(t){return!1===t._mode&&await t.stat(),t._mode}async stat(t){if(!1===t._stat){const e=(await this.treePromise).get(t._fullpath);if(!e)throw new Error(`ENOENT: no such file or directory, lstat '${t._fullpath}'`);const i="tree"===e.type?{}:oP(e.metadata);t._type="tree"===e.type?"tree":function(t){switch(t){case 16384:return"tree";case 33188:case 33261:case 40960:return"blob";case 57344:return"commit"}throw new QL(`Unexpected GitTree entry mode: ${t.toString(8)}`)}(i.mode),t._mode=i.mode,"tree"===e.type?t._stat=void 0:t._stat=i}return t._stat}async content(t){}async oid(t){if(!1===t._oid){const e=(await this.treePromise).get(t._fullpath);t._oid=e.metadata.oid}return t._oid}}const wP=Symbol("GitWalkSymbol");function vP(){const t=Object.create(null);return Object.defineProperty(t,wP,{value:function({fs:t,gitdir:e,cache:i}){return new bP({fs:t,gitdir:e,cache:i})}}),Object.freeze(t),t}class DP extends JL{constructor(t){super(`Could not find ${t}.`),this.code=this.name=DP.code,this.data={what:t}}}DP.code="NotFoundError";class kP extends JL{constructor(t,e,i,n){super(`Object ${t} ${n?`at ${n}`:""}was anticipated to be a ${i} but it is a ${e}.`),this.code=this.name=kP.code,this.data={oid:t,actual:e,expected:i,filepath:n}}}kP.code="ObjectTypeError";class EP extends JL{constructor(t){super(`Expected a 40-char hex object id but saw "${t}".`),this.code=this.name=EP.code,this.data={value:t}}}EP.code="InvalidOidError";class xP extends JL{constructor(t){super(`Could not find a fetch refspec for remote "${t}". Make sure the config file has an entry like the following:\n[remote "${t}"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n`),this.code=this.name=xP.code,this.data={remote:t}}}xP.code="NoRefspecError";class AP{constructor(t){if(this.refs=new Map,this.parsedConfig=[],t){let e=null;this.parsedConfig=t.trim().split("\n").map((t=>{if(/^\s*#/.test(t))return{line:t,comment:!0};const i=t.indexOf(" ");if(t.startsWith("^")){const i=t.slice(1);return this.refs.set(e+"^{}",i),{line:t,ref:e,peeled:i}}{const n=t.slice(0,i);return e=t.slice(i+1),this.refs.set(e,n),{line:t,ref:e,oid:n}}}))}return this}static from(t){return new AP(t)}delete(t){this.parsedConfig=this.parsedConfig.filter((e=>e.ref!==t)),this.refs.delete(t)}toString(){return this.parsedConfig.map((({line:t})=>t)).join("\n")+"\n"}}class FP{constructor({remotePath:t,localPath:e,force:i,matchPrefix:n}){Object.assign(this,{remotePath:t,localPath:e,force:i,matchPrefix:n})}static from(t){const[e,i,n,r,s]=t.match(/^(\+?)(.*?)(\*?):(.*?)(\*?)$/).slice(1),o="+"===e,a="*"===n;if(a!==("*"===s))throw new QL("Invalid refspec");return new FP({remotePath:i,localPath:r,force:o,matchPrefix:a})}translate(t){if(this.matchPrefix){if(t.startsWith(this.remotePath))return this.localPath+t.replace(this.remotePath,"")}else if(t===this.remotePath)return this.localPath;return null}reverseTranslate(t){if(this.matchPrefix){if(t.startsWith(this.localPath))return this.remotePath+t.replace(this.localPath,"")}else if(t===this.localPath)return this.remotePath;return null}}class CP{constructor(t=[]){this.rules=t}static from(t){const e=[];for(const i of t)e.push(FP.from(i));return new CP(e)}add(t){const e=FP.from(t);this.rules.push(e)}translate(t){const e=[];for(const i of this.rules)for(const n of t){const t=i.translate(n);t&&e.push([n,t])}return e}translateOne(t){let e=null;for(const i of this.rules){const n=i.translate(t);n&&(e=n)}return e}localNamespaces(){return this.rules.filter((t=>t.matchPrefix)).map((t=>t.localPath.replace(/\/$/,"")))}}function SP(t,e){const i=t.replace(/\^\{\}$/,""),n=e.replace(/\^\{\}$/,""),r=-(in);return 0===r?t.endsWith("^{}")?1:-1:r}const _P=new Map;function jP(t){let e=_P.get(t);return e||(e=function(t){if(t=t.split("/./").join("/").replace(/\/{2,}/g,"/"),"/."===t)return"/";if("./"===t)return".";t.startsWith("./")&&(t=t.slice(2));t.endsWith("/.")&&(t=t.slice(0,-2));t.length>1&&t.endsWith("/")&&(t=t.slice(0,-1));return""===t?".":t}(t),_P.set(t,e)),e}function OP(...t){return jP(t.map(jP).join("/"))}const BP=t=>{if("true"===(t=t.trim().toLowerCase())||"yes"===t||"on"===t)return!0;if("false"===t||"no"===t||"off"===t)return!1;throw Error(`Expected 'true', 'false', 'yes', 'no', 'on', or 'off', but got ${t}`)},TP={core:{filemode:BP,bare:BP,logallrefupdates:BP,symlinks:BP,ignorecase:BP,bigFileThreshold:t=>{t=t.toLowerCase();let e=parseInt(t);return t.endsWith("k")&&(e*=1024),t.endsWith("m")&&(e*=1048576),t.endsWith("g")&&(e*=1073741824),e}}},RP=/^\[([A-Za-z0-9-.]+)(?: "(.*)")?\]$/,IP=/^[A-Za-z0-9-.]+$/,$P=/^([A-Za-z][A-Za-z-]*)(?: *= *(.*))?$/,NP=/^[A-Za-z][A-Za-z-]*$/,LP=/^(.*?)( *[#;].*)$/,PP=t=>{const e=LP.exec(t);if(null==e)return t;const[i,n]=e.slice(1);return MP(i)&&MP(n)?`${i}${n}`:i},MP=t=>(t.match(/(?:^|[^\\])"/g)||[]).length%2!=0,zP=t=>t.split("").reduce(((t,e,i,n)=>{const r='"'===e&&"\\"!==n[i-1],s="\\"===e&&'"'===n[i+1];return r||s?t:t+e}),""),qP=t=>null!=t?t.toLowerCase():null,UP=(t,e,i)=>[qP(t),e,qP(i)].filter((t=>null!=t)).join("."),GP=t=>{const e=t.split("."),i=e.shift(),n=e.pop(),r=e.length?e.join("."):void 0;return{section:i,subsection:r,name:n,path:UP(i,r,n),sectionPath:UP(i,r,null)}};class WP{constructor(t){let e=null,i=null;this.parsedConfig=t.split("\n").map((t=>{let n=null,r=null;const s=t.trim(),o=(t=>{const e=RP.exec(t);if(null!=e){const[t,i]=e.slice(1);return[t,i]}return null})(s),a=null!=o;if(a)[e,i]=o;else{const t=(t=>{const e=$P.exec(t);if(null!=e){const[t,i="true"]=e.slice(1),n=PP(i);return[t,zP(n)]}return null})(s);null!=t&&([n,r]=t)}const u=UP(e,i,n);return{line:t,isSection:a,section:e,subsection:i,name:n,value:r,path:u}}))}static from(t){return new WP(t)}async get(t,e=!1){const i=GP(t).path,n=this.parsedConfig.filter((t=>t.path===i)).map((({section:t,name:e,value:i})=>{const n=TP[t]&&TP[t][e];return n?n(i):i}));return e?n:n.pop()}async getall(t){return this.get(t,!0)}async getSubsections(t){return this.parsedConfig.filter((e=>e.section===t&&e.isSection)).map((t=>t.subsection))}async deleteSection(t,e){this.parsedConfig=this.parsedConfig.filter((i=>!(i.section===t&&i.subsection===e)))}async append(t,e){return this.set(t,e,!0)}async set(t,e,i=!1){const{section:n,subsection:r,name:s,path:o,sectionPath:a}=GP(t),u=((t,e)=>t.reduce(((t,i,n)=>e(i)?n:t),-1))(this.parsedConfig,(t=>t.path===o));if(null==e)-1!==u&&this.parsedConfig.splice(u,1);else if(-1!==u){const t=this.parsedConfig[u],n=Object.assign({},t,{name:s,value:e,modified:!0});i?this.parsedConfig.splice(u+1,0,n):this.parsedConfig[u]=n}else{const t=this.parsedConfig.findIndex((t=>t.path===a)),i={section:n,subsection:r,name:s,value:e,modified:!0,path:o};if(IP.test(n)&&NP.test(s))if(t>=0)this.parsedConfig.splice(t+1,0,i);else{const t={section:n,subsection:r,modified:!0,path:a};this.parsedConfig.push(t,i)}}}toString(){return this.parsedConfig.map((({line:t,section:e,subsection:i,name:n,value:r,modified:s=!1})=>s?null!=n&&null!=r?"string"==typeof r&&/[#;]/.test(r)?`\t${n} = "${r}"`:`\t${n} = ${r}`:null!=i?`[${e} "${i}"]`:`[${e}]`:t)).join("\n")}}class HP{static async get({fs:t,gitdir:e}){const i=await t.read(`${e}/config`,{encoding:"utf8"});return WP.from(i)}static async save({fs:t,gitdir:e,config:i}){await t.write(`${e}/config`,i.toString(),{encoding:"utf8"})}}const VP=t=>[`${t}`,`refs/${t}`,`refs/tags/${t}`,`refs/heads/${t}`,`refs/remotes/${t}`,`refs/remotes/${t}/HEAD`],KP=["config","description","index","shallow","commondir"];class YP{static async updateRemoteRefs({fs:t,gitdir:e,remote:i,refs:n,symrefs:r,tags:s,refspecs:o,prune:a=!1,pruneTags:u=!1}){for(const t of n.values())if(!t.match(/[0-9a-f]{40}/))throw new EP(t);const l=await HP.get({fs:t,gitdir:e});if(!o){if(0===(o=await l.getall(`remote.${i}.fetch`)).length)throw new xP(i);o.unshift(`+HEAD:refs/remotes/${i}/HEAD`)}const c=CP.from(o),h=new Map;if(u){const i=await YP.listRefs({fs:t,gitdir:e,filepath:"refs/tags"});await YP.deleteRefs({fs:t,gitdir:e,refs:i.map((t=>`refs/tags/${t}`))})}if(s)for(const i of n.keys())if(i.startsWith("refs/tags")&&!i.endsWith("^{}")&&!await YP.exists({fs:t,gitdir:e,ref:i})){const t=n.get(i);h.set(i,t)}const p=c.translate([...n.keys()]);for(const[t,e]of p){const i=n.get(t);h.set(e,i)}const f=c.translate([...r.keys()]);for(const[t,e]of f){const i=r.get(t),n=c.translateOne(i);n&&h.set(e,`ref: ${n}`)}const d=[];if(a){for(const i of c.localNamespaces()){const n=(await YP.listRefs({fs:t,gitdir:e,filepath:i})).map((t=>`${i}/${t}`));for(const t of n)h.has(t)||d.push(t)}d.length>0&&await YP.deleteRefs({fs:t,gitdir:e,refs:d})}for(const[i,n]of h)await t.write(OP(e,i),`${n.trim()}\n`,"utf8");return{pruned:d}}static async writeRef({fs:t,gitdir:e,ref:i,value:n}){if(!n.match(/[0-9a-f]{40}/))throw new EP(n);await t.write(OP(e,i),`${n.trim()}\n`,"utf8")}static async writeSymbolicRef({fs:t,gitdir:e,ref:i,value:n}){await t.write(OP(e,i),`ref: ${n.trim()}\n`,"utf8")}static async deleteRef({fs:t,gitdir:e,ref:i}){return YP.deleteRefs({fs:t,gitdir:e,refs:[i]})}static async deleteRefs({fs:t,gitdir:e,refs:i}){await Promise.all(i.map((i=>t.rm(OP(e,i)))));let n=await t.read(`${e}/packed-refs`,{encoding:"utf8"});const r=AP.from(n),s=r.refs.size;for(const t of i)r.refs.has(t)&&r.delete(t);r.refs.size!KP.includes(t)));for(const i of o)if(r=await t.read(`${e}/${i}`,{encoding:"utf8"})||s.get(i),r)return YP.resolve({fs:t,gitdir:e,ref:r.trim(),depth:n});throw new DP(i)}static async exists({fs:t,gitdir:e,ref:i}){try{return await YP.expand({fs:t,gitdir:e,ref:i}),!0}catch(t){return!1}}static async expand({fs:t,gitdir:e,ref:i}){if(40===i.length&&/[0-9a-f]{40}/.test(i))return i;const n=await YP.packedRefs({fs:t,gitdir:e}),r=VP(i);for(const i of r){if(await t.exists(`${e}/${i}`))return i;if(n.has(i))return i}throw new DP(i)}static async expandAgainstMap({ref:t,map:e}){const i=VP(t);for(const t of i)if(await e.has(t))return t;throw new DP(t)}static resolveAgainstMap({ref:t,fullref:e=t,depth:i,map:n}){if(void 0!==i&&-1===--i)return{fullref:e,oid:t};if(t.startsWith("ref: "))return t=t.slice(5),YP.resolveAgainstMap({ref:t,fullref:e,depth:i,map:n});if(40===t.length&&/[0-9a-f]{40}/.test(t))return{fullref:e,oid:t};const r=VP(t);for(const t of r){const e=n.get(t);if(e)return YP.resolveAgainstMap({ref:e.trim(),fullref:t,depth:i,map:n})}throw new DP(t)}static async packedRefs({fs:t,gitdir:e}){const i=await t.read(`${e}/packed-refs`,{encoding:"utf8"});return AP.from(i).refs}static async listRefs({fs:t,gitdir:e,filepath:i}){const n=YP.packedRefs({fs:t,gitdir:e});let r=null;try{r=await t.readdirDeep(`${e}/${i}`),r=r.map((t=>t.replace(`${e}/${i}/`,"")))}catch(t){r=[]}for(let t of(await n).keys())t.startsWith(i)&&(t=t.replace(i+"/",""),r.includes(t)||r.push(t));return r.sort(SP),r}static async listBranches({fs:t,gitdir:e,remote:i}){return i?YP.listRefs({fs:t,gitdir:e,filepath:`refs/remotes/${i}`}):YP.listRefs({fs:t,gitdir:e,filepath:"refs/heads"})}static async listTags({fs:t,gitdir:e}){return(await YP.listRefs({fs:t,gitdir:e,filepath:"refs/tags"})).filter((t=>!t.endsWith("^{}")))}}function JP(t,e){return eP(ZP(t),ZP(e))}function ZP(t){return"040000"===t.mode?t.path+"/":t.path}function QP(t){switch(t){case"040000":return"tree";case"100644":case"100755":case"120000":return"blob";case"160000":return"commit"}throw new QL(`Unexpected GitTree entry mode: ${t}`)}function XP(t){return!t.oid&&t.sha&&(t.oid=t.sha),t.mode=function(t){if("number"==typeof t&&(t=t.toString(8)),t.match(/^0?4.*/))return"040000";if(t.match(/^1006.*/))return"100644";if(t.match(/^1007.*/))return"100755";if(t.match(/^120.*/))return"120000";if(t.match(/^160.*/))return"160000";throw new QL(`Could not understand file mode: ${t}`)}(t.mode),t.type||(t.type=QP(t.mode)),t}class tM{constructor(t){if(Buffer.isBuffer(t))this._entries=function(t){const e=[];let i=0;for(;i`${t.mode} ${t.type} ${t.oid} ${t.path}`)).join("\n")}toObject(){const t=[...this._entries];return t.sort(JP),Buffer.concat(t.map((t=>{const e=Buffer.from(t.mode.replace(/^0/,"")),i=Buffer.from(" "),n=Buffer.from(t.path,"utf8"),r=Buffer.from([0]),s=Buffer.from(t.oid,"hex");return Buffer.concat([e,i,n,r,s])})))}entries(){return this._entries}*[Symbol.iterator](){for(const t of this._entries)yield t}}class eM{static wrap({type:t,object:e}){return Buffer.concat([Buffer.from(`${t} ${e.byteLength.toString()}\0`),Buffer.from(e)])}static unwrap(t){const e=t.indexOf(32),i=t.indexOf(0),n=t.slice(0,e).toString("utf8"),r=t.slice(e+1,i).toString("utf8"),s=t.length-(i+1);if(parseInt(r)!==s)throw new QL(`Length mismatch: expected ${r} bytes but got ${s} instead.`);return{type:n,object:Buffer.from(t.slice(i+1))}}}function iM(t){let e=0,i=0,n=null;do{n=t.readUInt8(),e|=(127&n)<>=1,r+=8;return n}function rM(t,e){const i=t.readUInt8();if(128&i){const n=nM(t,15&i,4);let r=nM(t,(112&i)>>4,3);return 0===r&&(r=65536),e.slice(n,n+r)}return t.slice(i)}function sM(t){return t[Symbol.asyncIterator]?t[Symbol.asyncIterator]():t[Symbol.iterator]?t[Symbol.iterator]():t.next?t:function(t){let e=[t];return{next:()=>Promise.resolve({done:0===e.length,value:e.pop()}),return:()=>(e=[],{}),[Symbol.asyncIterator](){return this}}}(t)}class oM{constructor(t){this.stream=sM(t),this.buffer=null,this.cursor=0,this.undoCursor=0,this.started=!1,this._ended=!1,this._discardedBytes=0}eof(){return this._ended&&this.cursor===this.buffer.length}tell(){return this._discardedBytes+this.cursor}async byte(){if(!this.eof()&&(this.started||await this._init(),this.cursor!==this.buffer.length||(await this._loadnext(),!this._ended)))return this._moveCursor(1),this.buffer[this.undoCursor]}async chunk(){if(!this.eof()&&(this.started||await this._init(),this.cursor!==this.buffer.length||(await this._loadnext(),!this._ended)))return this._moveCursor(this.buffer.length),this.buffer.slice(this.undoCursor,this.cursor)}async read(t){if(!this.eof())return this.started||await this._init(),this.cursor+t>this.buffer.length&&(this._trim(),await this._accumulate(t)),this._moveCursor(t),this.buffer.slice(this.undoCursor,this.cursor)}async skip(t){this.eof()||(this.started||await this._init(),this.cursor+t>this.buffer.length&&(this._trim(),await this._accumulate(t)),this._moveCursor(t))}async undo(){this.cursor=this.undoCursor}async _next(){this.started=!0;let{done:t,value:e}=await this.stream.next();return t&&(this._ended=!0,!e)?Buffer.alloc(0):(e&&(e=Buffer.from(e)),e)}_trim(){this.buffer=this.buffer.slice(this.undoCursor),this.cursor-=this.undoCursor,this._discardedBytes+=this.undoCursor,this.undoCursor=0}_moveCursor(t){this.undoCursor=this.cursor,this.cursor+=t,this.cursor>this.buffer.length&&(this.cursor=this.buffer.length)}async _accumulate(t){if(this._ended)return;const e=[this.buffer];for(;this.cursor+t>aM(e);){const t=await this._next();if(this._ended)break;e.push(t)}this.buffer=Buffer.concat(e)}async _loadnext(){this._discardedBytes+=this.buffer.length,this.undoCursor=0,this.cursor=0,this.buffer=await this._next()}async _init(){this.buffer=await this._next()}}function aM(t){return t.reduce(((t,e)=>t+e.length),0)}async function uM(t){let e=await t.byte();const i=e>>4&7;let n,r,s=15&e;if(128&e){let i=4;do{e=await t.byte(),s|=(127&e)<2147483648)throw new QL("To keep implementation simple, I haven't implemented the layer 5 feature needed to support packfiles > 2GB in size.");i.seek(i.tell()+1020);const r=i.readUInt32BE(),s=[];for(let t=0;t{null===l&&(l=a);const u=Math.floor(100*(l-a)/l);u!==c&&i&&await i({phase:"Receiving objects",loaded:l-a,total:l}),c=u,(["commit","tree","blob","tag"].includes(e=n[e])||"ofs-delta"===e||"ref-delta"===e)&&(r[o]={type:e,offset:o})}));const h=Object.keys(r).map(Number);for(const[e,i]of h.entries()){const n=e+1===h.length?t.byteLength-20:h[e+1],s=r[i],o=OI.buf(t.slice(i,n))>>>0;s.end=n,s.crc=o}const p=new cM({pack:Promise.resolve(t),packfileSha:s,crcs:a,hashes:o,offsets:u,getExternalRefDelta:e});c=null;let f=0;const d=[0,0,0,0,0,0,0,0,0,0,0,0];for(let t in r){t=Number(t);const e=Math.floor(100*f/l);e!==c&&i&&await i({phase:"Resolving deltas",loaded:f,total:l}),f++,c=e;const n=r[t];if(!n.oid)try{p.readDepth=0,p.externalReadDepth=0;const{type:e,object:i}=await p.readSlice({start:t});d[p.readDepth]+=1;const r=await uP(eM.wrap({type:e,object:i}));n.oid=r,o.push(r),u.set(r,t),a[r]=n.crc}catch(t){continue}}return o.sort(),p}async toBuffer(){const t=[],e=(e,i)=>{t.push(Buffer.from(e,i))};e("ff744f63","hex"),e("00000002","hex");const i=new tP(Buffer.alloc(1024));for(let t=0;t<256;t++){let e=0;for(const i of this.hashes)parseInt(i.slice(0,2),16)<=t&&e++;i.writeUInt32BE(e)}t.push(i.buffer);for(const t of this.hashes)e(t,"hex");const n=new tP(Buffer.alloc(4*this.hashes.length));for(const t of this.hashes)n.writeUInt32BE(this.crcs[t]);t.push(n.buffer);const r=new tP(Buffer.alloc(4*this.hashes.length));for(const t of this.hashes)r.writeUInt32BE(this.offsets.get(t));t.push(r.buffer),e(this.packfileSha,"hex");const s=Buffer.concat(t),o=await uP(s),a=Buffer.alloc(20);return a.write(o,"hex"),Buffer.concat([s,a])}async load({pack:t}){this.pack=t}async unload(){this.pack=null}async read({oid:t}){if(!this.offsets.get(t)){if(this.getExternalRefDelta)return this.externalReadDepth++,this.getExternalRefDelta(t);throw new QL(`Could not read object ${t} from packfile`)}const e=this.offsets.get(t);return this.readSlice({start:e})}async readSlice({start:t}){if(this.offsetCache[t])return Object.assign({},this.offsetCache[t]);this.readDepth++;if(!this.pack)throw new QL("Tried to read from a GitPackIndex with no packfile loaded into memory");const e=(await this.pack).slice(t),i=new tP(e),n=i.readUInt8(),r=112&n;let s={16:"commit",32:"tree",48:"blob",64:"tag",96:"ofs_delta",112:"ref_delta"}[r];if(void 0===s)throw new QL("Unrecognized type: 0b"+r.toString(2));const o=15&n;let a=o;128&n&&(a=function(t,e){let i=e,n=4,r=null;do{r=t.readUInt8(),i|=(127&r)<t+1<<7|e),-1)}(i),n=t-e;({object:u,type:s}=await this.readSlice({start:n}))}if("ref_delta"===s){const t=i.slice(20).toString("hex");({object:u,type:s}=await this.read({oid:t}))}const c=e.slice(i.tell());if(l=Buffer.from(await lM(c)),l.byteLength!==a)throw new QL(`Packfile told us object would have length ${a} but it had length ${l.byteLength}`);return u&&(l=Buffer.from(function(t,e){const i=new tP(t),n=iM(i);if(n!==e.byteLength)throw new QL(`applyDelta expected source buffer to be ${n} bytes but the provided buffer was ${e.length} bytes`);const r=iM(i);let s;const o=rM(i,e);if(o.byteLength===r)s=o;else{s=Buffer.alloc(r);const t=new tP(s);for(t.copy(o);!i.eof();)t.copy(rM(i,e));const n=t.tell();if(r!==n)throw new QL(`applyDelta expected target buffer to be ${r} bytes but the resulting buffer was ${n} bytes`)}return s}(l,u))),this.readDepth>3&&(this.offsetCache[t]={type:s,object:l}),{type:s,format:"content",object:l}}}const hM=Symbol("PackfileCache");function pM({fs:t,cache:e,filename:i,getExternalRefDelta:n,emitter:r,emitterPrefix:s}){e[hM]||(e[hM]=new Map);let o=e[hM].get(i);return o||(o=async function({fs:t,filename:e,getExternalRefDelta:i,emitter:n,emitterPrefix:r}){const s=await t.read(e);return cM.fromIdx({idx:s,getExternalRefDelta:i})}({fs:t,filename:i,getExternalRefDelta:n,emitter:r,emitterPrefix:s}),e[hM].set(i,o)),o}async function fM({fs:t,cache:e,gitdir:i,oid:n,format:r="content"}){const s=n=>fM({fs:t,cache:e,gitdir:i,oid:n});let o;if("4b825dc642cb6eb9a060e54bf8d69288fbee4904"===n&&(o={format:"wrapped",object:Buffer.from("tree 0\0")}),o||(o=await async function({fs:t,gitdir:e,oid:i}){const n=`objects/${i.slice(0,2)}/${i.slice(2)}`,r=await t.read(`${e}/${n}`);return r?{object:r,format:"deflated",source:n}:null}({fs:t,gitdir:i,oid:n})),o||(o=await async function({fs:t,cache:e,gitdir:i,oid:n,format:r="content",getExternalRefDelta:s}){let o=await t.readdir(OP(i,"objects/pack"));o=o.filter((t=>t.endsWith(".idx")));for(const r of o){const o=`${i}/objects/pack/${r}`,a=await pM({fs:t,cache:e,filename:o,getExternalRefDelta:s});if(a.error)throw new QL(a.error);if(a.offsets.has(n)){if(!a.pack){const e=o.replace(/idx$/,"pack");a.pack=t.read(e)}const e=await a.read({oid:n,getExternalRefDelta:s});return e.format="content",e.source=`objects/pack/${r.replace(/idx$/,"pack")}`,e}}return null}({fs:t,cache:e,gitdir:i,oid:n,getExternalRefDelta:s})),!o)throw new DP(n);if("deflated"===r)return o;if("deflated"===o.format&&(o.object=Buffer.from(await lM(o.object)),o.format="wrapped"),"wrapped"===o.format){if("wrapped"===r&&"wrapped"===o.format)return o;const t=await uP(o.object);if(t!==n)throw new QL(`SHA check failed! Expected ${n}, computed ${t}`);const{object:e,type:i}=eM.unwrap(o.object);o.type=i,o.object=e,o.format="content"}if("content"===o.format)return"content"===r?o:void 0;throw new QL(`invalid format "${o.format}"`)}class dM extends JL{constructor(t,e,i=!0){super(`Failed to create ${t} at ${e} because it already exists.${i?` (Hint: use 'force: true' parameter to overwrite existing ${t}.)`:""}`),this.code=this.name=dM.code,this.data={noun:t,where:e,canForce:i}}}dM.code="AlreadyExistsError";class gM extends JL{constructor(t,e,i){super(`Found multiple ${t} matching "${e}" (${i.join(", ")}). Use a longer abbreviation length to disambiguate them.`),this.code=this.name=gM.code,this.data={nouns:t,short:e,matches:i}}}gM.code="AmbiguousError";class mM extends JL{constructor(t){super(`Your local changes to the following files would be overwritten by checkout: ${t.join(", ")}`),this.code=this.name=mM.code,this.data={filepaths:t}}}mM.code="CheckoutConflictError";class yM extends JL{constructor(t,e){super(`Failed to checkout "${t}" because commit ${e} is not available locally. Do a git fetch to make the branch available locally.`),this.code=this.name=yM.code,this.data={ref:t,oid:e}}}yM.code="CommitNotFetchedError";class bM extends JL{constructor(){super("Empty response from git server."),this.code=this.name=bM.code,this.data={}}}bM.code="EmptyServerResponseError";class wM extends JL{constructor(){super("A simple fast-forward merge was not possible."),this.code=this.name=wM.code,this.data={}}}wM.code="FastForwardError";class vM extends JL{constructor(t,e){super(`One or more branches were not updated: ${t}`),this.code=this.name=vM.code,this.data={prettyDetails:t,result:e}}}vM.code="GitPushError";class DM extends JL{constructor(t,e,i){super(`HTTP Error: ${t} ${e}`),this.code=this.name=DM.code,this.data={statusCode:t,statusMessage:e,response:i}}}DM.code="HttpError";class kM extends JL{constructor(t){let e="invalid filepath";"leading-slash"===t||"trailing-slash"===t?e='"filepath" parameter should not include leading or trailing directory separators because these can cause problems on some platforms.':"directory"===t&&(e='"filepath" should not be a directory.'),super(e),this.code=this.name=kM.code,this.data={reason:t}}}kM.code="InvalidFilepathError";class EM extends JL{constructor(t,e){super(`"${t}" would be an invalid git reference. (Hint: a valid alternative would be "${e}".)`),this.code=this.name=EM.code,this.data={ref:t,suggestion:e}}}EM.code="InvalidRefNameError";class xM extends JL{constructor(t){super(`Maximum search depth of ${t} exceeded.`),this.code=this.name=xM.code,this.data={depth:t}}}xM.code="MaxDepthError";class AM extends JL{constructor(){super("Merges with conflicts are not supported yet."),this.code=this.name=AM.code,this.data={}}}AM.code="MergeNotSupportedError";class FM extends JL{constructor(t,e,i,n){super(`Automatic merge failed with one or more merge conflicts in the following files: ${t.toString()}. Fix conflicts then commit the result.`),this.code=this.name=FM.code,this.data={filepaths:t,bothModified:e,deleteByUs:i,deleteByTheirs:n}}}FM.code="MergeConflictError";class CM extends JL{constructor(t){super(`No name was provided for ${t} in the argument or in the .git/config file.`),this.code=this.name=CM.code,this.data={role:t}}}CM.code="MissingNameError";class SM extends JL{constructor(t){super(`The function requires a "${t}" parameter but none was provided.`),this.code=this.name=SM.code,this.data={parameter:t}}}SM.code="MissingParameterError";class _M extends JL{constructor(t){super('There are multiple errors that were thrown by the method. Please refer to the "errors" property to see more'),this.code=this.name=_M.code,this.data={errors:t},this.errors=t}}_M.code="MultipleGitError";class jM extends JL{constructor(t,e){super(`Expected "${t}" but received "${e}".`),this.code=this.name=jM.code,this.data={expected:t,actual:e}}}jM.code="ParseError";class OM extends JL{constructor(t){let e="";"not-fast-forward"===t?e=" because it was not a simple fast-forward":"tag-exists"===t&&(e=" because tag already exists"),super(`Push rejected${e}. Use "force: true" to override.`),this.code=this.name=OM.code,this.data={reason:t}}}OM.code="PushRejectedError";class BM extends JL{constructor(t,e){super(`Remote does not support the "${t}" so the "${e}" parameter cannot be used.`),this.code=this.name=BM.code,this.data={capability:t,parameter:e}}}BM.code="RemoteCapabilityError";class TM extends JL{constructor(t,e){super(`Remote did not reply using the "smart" HTTP protocol. Expected "001e# service=git-upload-pack" but received: ${t}`),this.code=this.name=TM.code,this.data={preview:t,response:e}}}TM.code="SmartHttpError";class RM extends JL{constructor(t,e,i){super(`Git remote "${t}" uses an unrecognized transport protocol: "${e}"`),this.code=this.name=RM.code,this.data={url:t,transport:e,suggestion:i}}}RM.code="UnknownTransportError";class IM extends JL{constructor(t){super(`Cannot parse remote URL: "${t}"`),this.code=this.name=IM.code,this.data={url:t}}}IM.code="UrlParseError";class $M extends JL{constructor(){super("The operation was canceled."),this.code=this.name=$M.code,this.data={}}}$M.code="UserCanceledError";class NM extends JL{constructor(t){super(`Could not merge index: Entry for '${t}' is not up to date. Either reset the index entry to HEAD, or stage your unstaged changes.`),this.code=this.name=NM.code,this.data={filepath:t}}}NM.code="IndexResetError";var LM=Object.freeze({__proto__:null,AlreadyExistsError:dM,AmbiguousError:gM,CheckoutConflictError:mM,CommitNotFetchedError:yM,EmptyServerResponseError:bM,FastForwardError:wM,GitPushError:vM,HttpError:DM,InternalError:QL,InvalidFilepathError:kM,InvalidOidError:EP,InvalidRefNameError:EM,MaxDepthError:xM,MergeNotSupportedError:AM,MergeConflictError:FM,MissingNameError:CM,MissingParameterError:SM,MultipleGitError:_M,NoRefspecError:xP,NotFoundError:DP,ObjectTypeError:kP,ParseError:jM,PushRejectedError:OM,RemoteCapabilityError:BM,SmartHttpError:TM,UnknownTransportError:RM,UnsafeFilepathError:XL,UrlParseError:IM,UserCanceledError:$M,UnmergedPathsError:ZL,IndexResetError:NM});function PM({name:t,email:e,timestamp:i,timezoneOffset:n}){return n=function(t){const e=function(t){return Math.sign(t)||(Object.is(t,-0)?-1:1)}(function(t){return 0===t?t:-t}(t));t=Math.abs(t);const i=Math.floor(t/60);t-=60*i;let n=String(i),r=String(t);n.length<2&&(n="0"+n);r.length<2&&(r="0"+r);return(-1===e?"-":"+")+n+r}(n),`${t} <${e}> ${i} ${n}`}function MM(t){return t=(t=(t=t.replace(/\r/g,"")).replace(/^\n+/,"")).replace(/\n+$/,"")+"\n"}function zM(t){const[,e,i,n,r]=t.match(/^(.*) <(.*)> (.*) (.*)$/);return{name:e,email:i,timestamp:Number(n),timezoneOffset:qM(r)}}function qM(t){let[,e,i,n]=t.match(/(\+|-)(\d\d)(\d\d)/);return n=("+"===e?1:-1)*(60*Number(i)+Number(n)),function(t){return 0===t?t:-t}(n)}class UM{constructor(t){if("string"==typeof t)this._tag=t;else if(Buffer.isBuffer(t))this._tag=t.toString("utf8");else{if("object"!=typeof t)throw new QL("invalid type passed to GitAnnotatedTag constructor");this._tag=UM.render(t)}}static from(t){return new UM(t)}static render(t){return`object ${t.object}\ntype ${t.type}\ntag ${t.tag}\ntagger ${PM(t.tagger)}\n\n${t.message}\n${t.gpgsig?t.gpgsig:""}`}justHeaders(){return this._tag.slice(0,this._tag.indexOf("\n\n"))}message(){const t=this.withoutSignature();return t.slice(t.indexOf("\n\n")+2)}parse(){return Object.assign(this.headers(),{message:this.message(),gpgsig:this.gpgsig()})}render(){return this._tag}headers(){const t=this.justHeaders().split("\n"),e=[];for(const i of t)" "===i[0]?e[e.length-1]+="\n"+i.slice(1):e.push(i);const i={};for(const t of e){const e=t.slice(0,t.indexOf(" ")),n=t.slice(t.indexOf(" ")+1);Array.isArray(i[e])?i[e].push(n):i[e]=n}return i.tagger&&(i.tagger=zM(i.tagger)),i.committer&&(i.committer=zM(i.committer)),i}withoutSignature(){const t=MM(this._tag);return-1===t.indexOf("\n-----BEGIN PGP SIGNATURE-----")?t:t.slice(0,t.lastIndexOf("\n-----BEGIN PGP SIGNATURE-----"))}gpgsig(){if(-1===this._tag.indexOf("\n-----BEGIN PGP SIGNATURE-----"))return;return MM(this._tag.slice(this._tag.indexOf("-----BEGIN PGP SIGNATURE-----"),this._tag.indexOf("-----END PGP SIGNATURE-----")+27))}payload(){return this.withoutSignature()+"\n"}toObject(){return Buffer.from(this._tag,"utf8")}static async sign(t,e,i){const n=t.payload();let{signature:r}=await e({payload:n,secretKey:i});r=MM(r);const s=n+r;return UM.from(s)}}function GM(t){return t.trim().split("\n").map((t=>" "+t)).join("\n")+"\n"}class WM{constructor(t){if("string"==typeof t)this._commit=t;else if(Buffer.isBuffer(t))this._commit=t.toString("utf8");else{if("object"!=typeof t)throw new QL("invalid type passed to GitCommit constructor");this._commit=WM.render(t)}}static fromPayloadSignature({payload:t,signature:e}){const i=WM.justHeaders(t),n=WM.justMessage(t),r=MM(i+"\ngpgsig"+GM(e)+"\n"+n);return new WM(r)}static from(t){return new WM(t)}toObject(){return Buffer.from(this._commit,"utf8")}headers(){return this.parseHeaders()}message(){return WM.justMessage(this._commit)}parse(){return Object.assign({message:this.message()},this.headers())}static justMessage(t){return MM(t.slice(t.indexOf("\n\n")+2))}static justHeaders(t){return t.slice(0,t.indexOf("\n\n"))}parseHeaders(){const t=WM.justHeaders(this._commit).split("\n"),e=[];for(const i of t)" "===i[0]?e[e.length-1]+="\n"+i.slice(1):e.push(i);const i={parent:[]};for(const t of e){const e=t.slice(0,t.indexOf(" ")),n=t.slice(t.indexOf(" ")+1);Array.isArray(i[e])?i[e].push(n):i[e]=n}return i.author&&(i.author=zM(i.author)),i.committer&&(i.committer=zM(i.committer)),i}static renderHeaders(t){let e="";if(t.tree?e+=`tree ${t.tree}\n`:e+="tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904\n",t.parent){if(void 0===t.parent.length)throw new QL("commit 'parent' property should be an array");for(const i of t.parent)e+=`parent ${i}\n`}e+=`author ${PM(t.author)}\n`;return e+=`committer ${PM(t.committer||t.author)}\n`,t.gpgsig&&(e+="gpgsig"+GM(t.gpgsig)),e}static render(t){return WM.renderHeaders(t)+"\n"+MM(t.message)}render(){return this._commit}withoutSignature(){const t=MM(this._commit);if(-1===t.indexOf("\ngpgsig"))return t;return MM(t.slice(0,t.indexOf("\ngpgsig"))+"\n"+t.slice(t.indexOf("-----END PGP SIGNATURE-----\n")+28))}isolateSignature(){const t=this._commit.slice(this._commit.indexOf("-----BEGIN PGP SIGNATURE-----"),this._commit.indexOf("-----END PGP SIGNATURE-----")+27);return t.split("\n").map((t=>t.replace(/^ /,""))).join("\n")}static async sign(t,e,i){const n=t.withoutSignature(),r=WM.justMessage(t._commit);let{signature:s}=await e({payload:n,secretKey:i});s=MM(s);const o=WM.justHeaders(t._commit)+"\ngpgsig"+GM(s)+"\n"+r;return WM.from(o)}}async function HM({fs:t,cache:e,gitdir:i,oid:n}){if("4b825dc642cb6eb9a060e54bf8d69288fbee4904"===n)return{tree:tM.from([]),oid:n};const{type:r,object:s}=await fM({fs:t,cache:e,gitdir:i,oid:n});if("tag"===r)return HM({fs:t,cache:e,gitdir:i,oid:n=UM.from(s).parse().object});if("commit"===r)return HM({fs:t,cache:e,gitdir:i,oid:n=WM.from(s).parse().tree});if("tree"!==r)throw new kP(n,r,"tree");return{tree:tM.from(s),oid:n}}class VM{constructor({fs:t,gitdir:e,ref:i,cache:n}){this.fs=t,this.cache=n,this.gitdir=e,this.mapPromise=(async()=>{const n=new Map;let r;try{r=await YP.resolve({fs:t,gitdir:e,ref:i})}catch(t){t instanceof DP&&(r="4b825dc642cb6eb9a060e54bf8d69288fbee4904")}const s=await HM({fs:t,cache:this.cache,gitdir:e,oid:r});return s.type="tree",s.mode="40000",n.set(".",s),n})();const r=this;this.ConstructEntry=class{constructor(t){this._fullpath=t,this._type=!1,this._mode=!1,this._stat=!1,this._content=!1,this._oid=!1}async type(){return r.type(this)}async mode(){return r.mode(this)}async stat(){return r.stat(this)}async content(){return r.content(this)}async oid(){return r.oid(this)}}}async readdir(t){const e=t._fullpath,{fs:i,cache:n,gitdir:r}=this,s=await this.mapPromise,o=s.get(e);if(!o)throw new Error(`No obj for ${e}`);const a=o.oid;if(!a)throw new Error(`No oid for obj ${JSON.stringify(o)}`);if("tree"!==o.type)return null;const{type:u,object:l}=await fM({fs:i,cache:n,gitdir:r,oid:a});if(u!==o.type)throw new kP(a,u,o.type);const c=tM.from(l);for(const t of c)s.set(OP(e,t.path),t);return c.entries().map((t=>OP(e,t.path)))}async type(t){if(!1===t._type){const e=await this.mapPromise,{type:i}=e.get(t._fullpath);t._type=i}return t._type}async mode(t){if(!1===t._mode){const e=await this.mapPromise,{mode:i}=e.get(t._fullpath);t._mode=nP(parseInt(i,8))}return t._mode}async stat(t){}async content(t){if(!1===t._content){const e=await this.mapPromise,{fs:i,cache:n,gitdir:r}=this,s=e.get(t._fullpath).oid,{type:o,object:a}=await fM({fs:i,cache:n,gitdir:r,oid:s});t._content="blob"!==o?void 0:new Uint8Array(a)}return t._content}async oid(t){if(!1===t._oid){const e=(await this.mapPromise).get(t._fullpath);t._oid=e.oid}return t._oid}}function KM({ref:t="HEAD"}={}){const e=Object.create(null);return Object.defineProperty(e,wP,{value:function({fs:e,gitdir:i,cache:n}){return new VM({fs:e,gitdir:i,ref:t,cache:n})}}),Object.freeze(e),e}class YM{constructor({fs:t,dir:e,gitdir:i,cache:n}){this.fs=t,this.cache=n,this.dir=e,this.gitdir=i;const r=this;this.ConstructEntry=class{constructor(t){this._fullpath=t,this._type=!1,this._mode=!1,this._stat=!1,this._content=!1,this._oid=!1}async type(){return r.type(this)}async mode(){return r.mode(this)}async stat(){return r.stat(this)}async content(){return r.content(this)}async oid(){return r.oid(this)}}}async readdir(t){const e=t._fullpath,{fs:i,dir:n}=this,r=await i.readdir(OP(n,e));return null===r?null:r.map((t=>OP(e,t)))}async type(t){return!1===t._type&&await t.stat(),t._type}async mode(t){return!1===t._mode&&await t.stat(),t._mode}async stat(t){if(!1===t._stat){const{fs:e,dir:i}=this;let n=await e.lstat(`${i}/${t._fullpath}`);if(!n)throw new Error(`ENOENT: no such file or directory, lstat '${t._fullpath}'`);let r=n.isDirectory()?"tree":"blob";"blob"!==r||n.isFile()||n.isSymbolicLink()||(r="special"),t._type=r,n=oP(n),t._mode=n.mode,-1===n.size&&t._actualSize&&(n.size=t._actualSize),t._stat=n}return t._stat}async content(t){if(!1===t._content){const{fs:e,dir:i}=this;if("tree"===await t.type())t._content=void 0;else{const n=await e.read(`${i}/${t._fullpath}`);t._actualSize=n.length,t._stat&&-1===t._stat.size&&(t._stat.size=t._actualSize),t._content=new Uint8Array(n)}}return t._content}async oid(t){if(!1===t._oid){const{fs:e,gitdir:i,cache:n}=this;let r;await dP.acquire({fs:e,gitdir:i,cache:n},(async function(e){const i=e.entriesMap.get(t._fullpath),n=await t.stat();if(!i||hP(n,i)){void 0===await t.content()?r=void 0:(r=await uP(eM.wrap({type:"blob",object:await t.content()})),i&&r===i.oid&&n.mode===i.mode&&hP(n,i)&&e.insert({filepath:t._fullpath,stats:n,oid:r}))}else r=i.oid})),t._oid=r}return t._oid}}function JM(){const t=Object.create(null);return Object.defineProperty(t,wP,{value:function({fs:t,dir:e,gitdir:i,cache:n}){return new YM({fs:t,dir:e,gitdir:i,cache:n})}}),Object.freeze(t),t}const ZM=void 0===Array.prototype.flat?t=>t.reduce(((t,e)=>t.concat(e)),[]):t=>t.flat();class QM{constructor(){this.value=null}consider(t){null!=t&&(null===this.value||te),reduce:o=(async(t,e)=>{const i=ZM(e);return void 0!==t&&i.unshift(t),i}),iterate:a=((t,e)=>Promise.all([...e].map(t)))}){const u=r.map((r=>r[wP]({fs:t,dir:i,gitdir:n,cache:e}))),l=new Array(u.length).fill("."),c=function(t,e){const i=e-t;return Array.from({length:i},((e,i)=>t+i))}(0,u.length),h=async t=>{const{entries:e,children:i}=await(async t=>{c.map((e=>{t[e]=t[e]&&new u[e].ConstructEntry(t[e])}));const e=(await Promise.all(c.map((e=>t[e]?u[e].readdir(t[e]):[])))).map((t=>null===t?[]:t)).map((t=>t[Symbol.iterator]()));return{entries:t,children:XM(e)}})(t),n=e.find((t=>t&&t._fullpath))._fullpath,r=await s(n,e);if(null!==r){let t=await a(h,i);return t=t.filter((t=>void 0!==t)),o(r,t)}};return h(l)}async function ez(t,e){const i=await t.readdir(e);null==i?await t.rm(e):i.length?await Promise.all(i.map((i=>{const n=OP(e,i);return t.lstat(n).then((e=>{if(e)return e.isDirectory()?ez(t,n):t.rm(n)}))}))).then((()=>t.rmdir(e))):await t.rmdir(e)}function iz(t){return"function"==typeof t}function nz(t){return function(t){return t&&"object"==typeof t}(e=(t=>{try{return t.readFile().catch((t=>t))}catch(t){return t}})(t))&&iz(e.then)&&iz(e.catch);var e}const rz=["readFile","writeFile","mkdir","rmdir","unlink","stat","lstat","readdir","readlink","symlink"];function sz(t,e){if(nz(e))for(const i of rz)t[`_${i}`]=e[i].bind(e);else for(const i of rz)t[`_${i}`]=UL(e[i].bind(e));nz(e)?e.rm?t._rm=e.rm.bind(e):e.rmdir.length>1?t._rm=e.rmdir.bind(e):t._rm=ez.bind(null,t):e.rm?t._rm=UL(e.rm.bind(e)):e.rmdir.length>2?t._rm=UL(e.rmdir.bind(e)):t._rm=ez.bind(null,t)}class oz{constructor(t){if(void 0!==t._original_unwrapped_fs)return t;const e=Object.getOwnPropertyDescriptor(t,"promises");e&&e.enumerable?sz(this,t.promises):sz(this,t),this._original_unwrapped_fs=t}async exists(t,e={}){try{return await this._stat(t),!0}catch(t){if("ENOENT"===t.code||"ENOTDIR"===t.code)return!1;throw console.log('Unhandled error in "FileSystem.exists()" function',t),t}}async read(t,e={}){try{let i=await this._readFile(t,e);return"string"!=typeof i&&(i=Buffer.from(i)),i}catch(t){return null}}async write(t,e,i={}){try{return void await this._writeFile(t,e,i)}catch(n){await this.mkdir(mP(t)),await this._writeFile(t,e,i)}}async mkdir(t,e=!1){try{return void await this._mkdir(t)}catch(i){if(null===i)return;if("EEXIST"===i.code)return;if(e)throw i;if("ENOENT"===i.code){const e=mP(t);if("."===e||"/"===e||e===t)throw i;await this.mkdir(e),await this.mkdir(t,!0)}}}async rm(t){try{await this._unlink(t)}catch(t){if("ENOENT"!==t.code)throw t}}async rmdir(t,e){try{e&&e.recursive?await this._rm(t,e):await this._rmdir(t)}catch(t){if("ENOENT"!==t.code)throw t}}async readdir(t){try{const e=await this._readdir(t);return e.sort(eP),e}catch(t){return"ENOTDIR"===t.code?null:[]}}async readdirDeep(t){const e=await this._readdir(t);return(await Promise.all(e.map((async e=>{const i=t+"/"+e;return(await this._stat(i)).isDirectory()?this.readdirDeep(i):i})))).reduce(((t,e)=>t.concat(e)),[])}async lstat(t){try{return await this._lstat(t)}catch(t){if("ENOENT"===t.code)return null;throw t}}async readlink(t,e={encoding:"buffer"}){try{const i=await this._readlink(t,e);return Buffer.isBuffer(i)?i:Buffer.from(i)}catch(t){if("ENOENT"===t.code)return null;throw t}}async writelink(t,e){return this._symlink(e.toString("utf8"),t)}}function az(t,e){if(void 0===e)throw new SM(t)}async function uz(t,e){return!(!t&&!e)&&(!(!t||e)||(!(t||!e)||("tree"!==await t.type()||"tree"!==await e.type())&&(await t.type()!==await e.type()||await t.mode()!==await e.mode()||await t.oid()!==await e.oid())))}class lz{static async isIgnored({fs:t,dir:e,gitdir:i=OP(e,".git"),filepath:n}){if(".git"===gP(n))return!0;if("."===n)return!1;let r="";const s=OP(i,"info","exclude");await t.exists(s)&&(r=await t.read(s,"utf8"));const o=[{gitignore:OP(e,".gitignore"),filepath:n}],a=n.split("/").filter(Boolean);for(let t=1;t{if(!s){if(await lz.isIgnored({fs:i,dir:t,gitdir:e,filepath:n}))return}const a=await i.lstat(OP(t,n));if(!a)throw new DP(n);if(a.isDirectory()){const a=await i.readdir(OP(t,n));if(o){const u=a.map((a=>dz({dir:t,gitdir:e,fs:i,filepath:[OP(n,a)],index:r,force:s,parallel:o})));await Promise.all(u)}else for(const u of a)await dz({dir:t,gitdir:e,fs:i,filepath:[OP(n,u)],index:r,force:s,parallel:o})}else{const s=a.isSymbolicLink()?await i.readlink(OP(t,n)).then(fz):await i.read(OP(t,n));if(null===s)throw new DP(n);const o=await pz({fs:i,gitdir:e,type:"blob",object:s});r.insert({filepath:n,stats:a,oid:o})}})),u=await Promise.allSettled(a),l=u.filter((t=>"rejected"===t.status)).map((t=>t.reason));if(l.length>1)throw new _M(l);if(1===l.length)throw l[0];return u.filter((t=>"fulfilled"===t.status&&t.value)).map((t=>t.value))}async function gz({fs:t,cache:e,onSign:i,gitdir:n,message:r,author:s,committer:o,signingKey:a,dryRun:u=!1,noUpdateBranch:l=!1,ref:c,parent:h,tree:p}){return c||(c=await YP.resolve({fs:t,gitdir:n,ref:"HEAD",depth:2})),dP.acquire({fs:t,gitdir:n,cache:e,allowUnmerged:!1},(async function(e){const f=yP(e.entries).get(".");if(p||(p=await mz({fs:t,gitdir:n,inode:f,dryRun:u})),h)h=await Promise.all(h.map((e=>YP.resolve({fs:t,gitdir:n,ref:e}))));else try{h=[await YP.resolve({fs:t,gitdir:n,ref:c})]}catch(t){h=[]}let d=WM.from({tree:p,parent:h,author:s,committer:o,message:r});a&&(d=await WM.sign(d,i,a));const g=await pz({fs:t,gitdir:n,type:"commit",object:d.toObject(),dryRun:u});return l||u||await YP.writeRef({fs:t,gitdir:n,ref:c,value:g}),g}))}async function mz({fs:t,gitdir:e,inode:i,dryRun:n}){const r=i.children;for(const i of r)"tree"===i.type&&(i.metadata.mode="040000",i.metadata.oid=await mz({fs:t,gitdir:e,inode:i,dryRun:n}));const s=r.map((t=>({mode:t.metadata.mode,path:t.basename,oid:t.metadata.oid,type:t.type}))),o=tM.from(s);return await pz({fs:t,gitdir:e,type:"tree",object:o.toObject(),dryRun:n})}async function yz({fs:t,cache:e,gitdir:i,oid:n,filepath:r}){if(r.startsWith("/"))throw new kM("leading-slash");if(r.endsWith("/"))throw new kM("trailing-slash");const s=n,o=await HM({fs:t,cache:e,gitdir:i,oid:n}),a=o.tree;if(""===r)n=o.oid;else{const o=r.split("/");n=await bz({fs:t,cache:e,gitdir:i,tree:a,pathArray:o,oid:s,filepath:r})}return n}async function bz({fs:t,cache:e,gitdir:i,tree:n,pathArray:r,oid:s,filepath:o}){const a=r.shift();for(const u of n)if(u.path===a){if(0===r.length)return u.oid;{const{type:a,object:l}=await fM({fs:t,cache:e,gitdir:i,oid:u.oid});if("tree"!==a)throw new kP(s,a,"tree",o);return bz({fs:t,cache:e,gitdir:i,tree:n=tM.from(l),pathArray:r,oid:s,filepath:o})}}throw new DP(`file or directory found at "${s}:${o}"`)}async function wz({fs:t,cache:e,gitdir:i,oid:n,filepath:r}){void 0!==r&&(n=await yz({fs:t,cache:e,gitdir:i,oid:n,filepath:r}));const{tree:s,oid:o}=await HM({fs:t,cache:e,gitdir:i,oid:n});return{oid:o,tree:s.entries()}}async function vz({fs:t,gitdir:e,tree:i}){const n=tM.from(i).toObject();return await pz({fs:t,gitdir:e,type:"tree",object:n,format:"content"})}async function Dz({fs:t,gitdir:e,path:i}){return(await HP.get({fs:t,gitdir:e})).get(i)}async function kz({fs:t,gitdir:e,author:i={}}){let{name:n,email:r,timestamp:s,timezoneOffset:o}=i;if(n=n||await Dz({fs:t,gitdir:e,path:"user.name"}),r=r||await Dz({fs:t,gitdir:e,path:"user.email"})||"",void 0!==n)return s=null!=s?s:Math.floor(Date.now()/1e3),o=null!=o?o:new Date(1e3*s).getTimezoneOffset(),{name:n,email:r,timestamp:s,timezoneOffset:o}}async function Ez({fs:t,gitdir:e,author:i,committer:n}){return n=Object.assign({},n||i),i&&(n.timestamp=n.timestamp||i.timestamp,n.timezoneOffset=n.timezoneOffset||i.timezoneOffset),n=await kz({fs:t,gitdir:e,author:n})}async function xz({fs:t,gitdir:e,remote:i,url:n,force:r}){if(i!==WL.clean(i))throw new EM(i,WL.clean(i));const s=await HP.get({fs:t,gitdir:e});if(!r){if((await s.getSubsections("remote")).includes(i)&&n!==await s.get(`remote.${i}.url`))throw new dM("remote",i)}await s.set(`remote.${i}.url`,n),await s.set(`remote.${i}.fetch`,`+refs/heads/*:refs/remotes/${i}/*`),await HP.save({fs:t,gitdir:e,config:s})}const Az=(t,e)=>"."===t||null==e||0===e.length||"."===e||(e.length>=t.length?e.startsWith(t):t.startsWith(e));async function Fz({fs:t,cache:e,onProgress:i,dir:n,gitdir:r,remote:s,ref:o,filepaths:a,noCheckout:u,noUpdateHead:l,dryRun:c,force:h,track:p=!0}){let f;try{f=await YP.resolve({fs:t,gitdir:r,ref:o})}catch(e){if("HEAD"===o)throw e;const i=`${s}/${o}`;if(f=await YP.resolve({fs:t,gitdir:r,ref:i}),p){const e=await HP.get({fs:t,gitdir:r});await e.set(`branch.${o}.remote`,s),await e.set(`branch.${o}.merge`,`refs/heads/${o}`),await HP.save({fs:t,gitdir:r,config:e})}await YP.writeRef({fs:t,gitdir:r,ref:`refs/heads/${o}`,value:f})}if(!u){let s;try{s=await async function({fs:t,cache:e,onProgress:i,dir:n,gitdir:r,ref:s,force:o,filepaths:a}){let u=0;return tz({fs:t,cache:e,dir:n,gitdir:r,trees:[KM({ref:s}),JM(),vP()],map:async function(t,[e,n,r]){if("."===t)return;if(a&&!a.some((e=>Az(t,e))))return null;i&&await i({phase:"Analyzing workdir",loaded:++u});switch([!!r,!!e,!!n].map(Number).join("")){case"000":return;case"001":return o&&a&&a.includes(t)?["delete",t]:void 0;case"010":switch(await e.type()){case"tree":return["mkdir",t];case"blob":return["create",t,await e.oid(),await e.mode()];case"commit":return["mkdir-index",t,await e.oid(),await e.mode()];default:return["error",`new entry Unhandled type ${await e.type()}`]}case"011":switch(`${await e.type()}-${await n.type()}`){case"tree-tree":case"commit-tree":return;case"tree-blob":case"blob-tree":case"commit-blob":return["conflict",t];case"blob-blob":return await e.oid()!==await n.oid()?o?["update",t,await e.oid(),await e.mode(),await e.mode()!==await n.mode()]:["conflict",t]:await e.mode()!==await n.mode()?o?["update",t,await e.oid(),await e.mode(),!0]:["conflict",t]:["create-index",t,await e.oid(),await e.mode()];default:return["error",`new entry Unhandled type ${e.type}`]}case"100":return["delete-index",t];case"101":switch(await r.type()){case"tree":return["rmdir",t];case"blob":return await r.oid()!==await n.oid()?o?["delete",t]:["conflict",t]:["delete",t];case"commit":return["rmdir-index",t];default:return["error",`delete entry Unhandled type ${await r.type()}`]}case"110":case"111":switch(`${await r.type()}-${await e.type()}`){case"tree-tree":return;case"blob-blob":if(await r.oid()===await e.oid()&&await r.mode()===await e.mode()&&!o)return;if(n){if(await n.oid()!==await r.oid()&&await n.oid()!==await e.oid())return o?["update",t,await e.oid(),await e.mode(),await e.mode()!==await n.mode()]:["conflict",t]}else if(o)return["update",t,await e.oid(),await e.mode(),await e.mode()!==await r.mode()];return await e.mode()!==await r.mode()?["update",t,await e.oid(),await e.mode(),!0]:await e.oid()!==await r.oid()?["update",t,await e.oid(),await e.mode(),!1]:void 0;case"tree-blob":return["update-dir-to-blob",t,await e.oid()];case"blob-tree":return["update-blob-to-tree",t];case"commit-commit":return["mkdir-index",t,await e.oid(),await e.mode()];default:return["error",`update entry Unhandled type ${await r.type()}-${await e.type()}`]}}},reduce:async function(t,e){return e=ZM(e),t?t&&"rmdir"===t[0]?(e.push(t),e):(e.unshift(t),e):e}})}({fs:t,cache:e,onProgress:i,dir:n,gitdir:r,ref:o,force:h,filepaths:a})}catch(t){throw t instanceof DP&&t.data.what===f?new yM(o,f):t}const u=s.filter((([t])=>"conflict"===t)).map((([t,e])=>e));if(u.length>0)throw new mM(u);const l=s.filter((([t])=>"error"===t)).map((([t,e])=>e));if(l.length>0)throw new QL(l.join(", "));if(c)return;let p=0;const d=s.length;await dP.acquire({fs:t,gitdir:r,cache:e},(async function(e){await Promise.all(s.filter((([t])=>"delete"===t||"delete-index"===t)).map((async function([r,s]){const o=`${n}/${s}`;"delete"===r&&await t.rm(o),e.delete({filepath:s}),i&&await i({phase:"Updating workdir",loaded:++p,total:d})})))})),await dP.acquire({fs:t,gitdir:r,cache:e},(async function(e){for(const[r,o]of s)if("rmdir"===r||"rmdir-index"===r){const s=`${n}/${o}`;try{"rmdir-index"===r&&e.delete({filepath:o}),await t.rmdir(s),i&&await i({phase:"Updating workdir",loaded:++p,total:d})}catch(t){if("ENOTEMPTY"!==t.code)throw t;console.log(`Did not delete ${o} because directory is not empty`)}}})),await Promise.all(s.filter((([t])=>"mkdir"===t||"mkdir-index"===t)).map((async function([e,r]){const s=`${n}/${r}`;await t.mkdir(s),i&&await i({phase:"Updating workdir",loaded:++p,total:d})}))),await dP.acquire({fs:t,gitdir:r,cache:e},(async function(o){await Promise.all(s.filter((([t])=>"create"===t||"create-index"===t||"update"===t||"mkdir-index"===t)).map((async function([s,a,u,l,c]){const h=`${n}/${a}`;try{if("create-index"!==s&&"mkdir-index"!==s){const{object:i}=await fM({fs:t,cache:e,gitdir:r,oid:u});if(c&&await t.rm(h),33188===l)await t.write(h,i);else if(33261===l)await t.write(h,i,{mode:511});else{if(40960!==l)throw new QL(`Invalid mode 0o${l.toString(8)} detected in blob ${u}`);await t.writelink(h,i)}}const n=await t.lstat(h);33261===l&&(n.mode=493),"mkdir-index"===s&&(n.mode=57344),o.insert({filepath:a,stats:n,oid:u}),i&&await i({phase:"Updating workdir",loaded:++p,total:d})}catch(t){console.log(t)}})))}))}if(!l){const e=await YP.expand({fs:t,gitdir:r,ref:o});e.startsWith("refs/heads")?await YP.writeSymbolicRef({fs:t,gitdir:r,ref:"HEAD",value:e}):await YP.writeRef({fs:t,gitdir:r,ref:"HEAD",value:f})}}const Cz=new RegExp("^refs/(heads/|tags/|remotes/)?(.*)");function Sz(t){const e=Cz.exec(t);return e?"remotes/"===e[1]&&t.endsWith("/HEAD")?e[2].slice(0,-5):e[2]:t}async function _z({fs:t,gitdir:e,fullname:i=!1,test:n=!1}){const r=await YP.resolve({fs:t,gitdir:e,ref:"HEAD",depth:2});if(n)try{await YP.resolve({fs:t,gitdir:e,ref:r})}catch(t){return}if(r.startsWith("refs/"))return i?r:Sz(r)}function jz({username:t="",password:e=""}){return`Basic ${Buffer.from(`${t}:${e}`).toString("base64")}`}async function Oz(t,e){const i=sM(t);for(;;){const{value:t,done:n}=await i.next();if(t&&await e(t),n)break}i.return&&i.return()}async function Bz(t){let e=0;const i=[];await Oz(t,(t=>{i.push(t),e+=t.byteLength}));const n=new Uint8Array(e);let r=0;for(const t of i)n.set(t,r),r+=t.byteLength;return n}function Tz(t){let e=t.match(/^https?:\/\/([^/]+)@/);if(null==e)return{url:t,auth:{}};e=e[1];const[i,n]=e.split(":");return{url:t=t.replace(`${e}@`,""),auth:{username:i,password:n}}}function Rz(t,e){const i=e.toString(16);return"0".repeat(t-i.length)+i}class Iz{static flush(){return Buffer.from("0000","utf8")}static delim(){return Buffer.from("0001","utf8")}static encode(t){"string"==typeof t&&(t=Buffer.from(t));const e=Rz(4,t.length+4);return Buffer.concat([Buffer.from(e,"utf8"),t])}static streamReader(t){const e=new oM(t);return async function(){try{let t=await e.read(4);if(null==t)return!0;if(t=parseInt(t.toString("utf8"),16),0===t)return null;if(1===t)return null;const i=await e.read(t-4);return null==i||i}catch(e){return t.error=e,!0}}}}async function $z(t){const e={};let i;for(;i=await t(),!0!==i;){if(null===i)continue;i=i.toString("utf8").replace(/\n$/,"");const t=i.indexOf("=");if(t>-1){const n=i.slice(0,t),r=i.slice(t+1);e[n]=r}else e[i]=!0}return{protocolVersion:2,capabilities2:e}}async function Nz(t,{service:e}){const i=new Set,n=new Map,r=new Map,s=Iz.streamReader(t);let o=await s();for(;null===o;)o=await s();if(!0===o)throw new bM;if(o.includes("version 2"))return $z(s);if(o.toString("utf8").replace(/\n$/,"")!==`# service=${e}`)throw new jM(`# service=${e}\\n`,o.toString("utf8"));let a=await s();for(;null===a;)a=await s();if(!0===a)return{capabilities:i,refs:n,symrefs:r};if(a=a.toString("utf8"),a.includes("version 2"))return $z(s);const[u,l]=Lz(a,"\0","\\x00");l.split(" ").map((t=>i.add(t)));const[c,h]=Lz(u," "," ");for(n.set(h,c);;){const t=await s();if(!0===t)break;if(null!==t){const[e,i]=Lz(t.toString("utf8")," "," ");n.set(i,e)}}for(const t of i)if(t.startsWith("symref=")){const e=t.match(/symref=([^:]+):(.*)/);3===e.length&&r.set(e[1],e[2])}return{protocolVersion:1,capabilities:i,refs:n,symrefs:r}}function Lz(t,e,i){const n=t.trim().split(e);if(2!==n.length)throw new jM(`Two strings separated by '${i}'`,t.toString("utf8"));return n}const Pz=(t,e)=>t.endsWith("?")?`${t}${e}`:`${t}/${e.replace(/^https?:\/\//,"")}`,Mz=(t,e)=>{(e.username||e.password)&&(t.Authorization=jz(e)),e.headers&&Object.assign(t,e.headers)},zz=async t=>{try{const e=Buffer.from(await Bz(t.body)),i=e.toString("utf8");return{preview:i.length<256?i:i.slice(0,256)+"...",response:i,data:e}}catch(t){return{}}};class qz{static async capabilities(){return["discover","connect"]}static async discover({http:t,onProgress:e,onAuth:i,onAuthSuccess:n,onAuthFailure:r,corsProxy:s,service:o,url:a,headers:u,protocolVersion:l}){let{url:c,auth:h}=Tz(a);const p=s?Pz(s,c):c;let f,d;(h.username||h.password)&&(u.Authorization=jz(h)),2===l&&(u["Git-Protocol"]="version=2");let g=!1;do{if(f=await t.request({onProgress:e,method:"GET",url:`${p}/info/refs?service=${o}`,headers:u}),d=!1,401===f.statusCode||203===f.statusCode){const t=g?r:i;if(t){if(h=await t(c,{...h,headers:{...u}}),h&&h.cancel)throw new $M;h&&(Mz(u,h),g=!0,d=!0)}}else 200===f.statusCode&&g&&n&&await n(c,h)}while(d);if(200!==f.statusCode){const{response:t}=await zz(f);throw new DM(f.statusCode,f.statusMessage,t)}if(f.headers["content-type"]===`application/x-${o}-advertisement`){const t=await Nz(f.body,{service:o});return t.auth=h,t}{const{preview:t,response:e,data:i}=await zz(f);try{const t=await Nz([i],{service:o});return t.auth=h,t}catch(i){throw new TM(t,e)}}}static async connect({http:t,onProgress:e,corsProxy:i,service:n,url:r,auth:s,body:o,headers:a}){const u=Tz(r);u&&(r=u.url),i&&(r=Pz(i,r)),a["content-type"]=`application/x-${n}-request`,a.accept=`application/x-${n}-result`,Mz(a,s);const l=await t.request({onProgress:e,method:"POST",url:`${r}/${n}`,body:o,headers:a});if(200!==l.statusCode){const{response:t}=zz(l);throw new DM(l.statusCode,l.statusMessage,t)}return l}}class Uz{static getRemoteHelperFor({url:t}){const e=new Map;e.set("http",qz),e.set("https",qz);const i=function({url:t}){if(t.startsWith("git@"))return{transport:"ssh",address:t};const e=t.match(/(\w+)(:\/\/|::)(.*)/);return null!==e?"://"===e[2]?{transport:e[1],address:e[0]}:"::"===e[2]?{transport:e[1],address:e[3]}:void 0:void 0}({url:t});if(!i)throw new IM(t);if(e.has(i.transport))return e.get(i.transport);throw new RM(t,i.transport,"ssh"===i.transport?function(t){return(t=t.replace(/^git@([^:]+):/,"https://$1/")).replace(/^ssh:\/\//,"https://")}(t):void 0)}}let Gz=null;class Wz{static async read({fs:t,gitdir:e}){null===Gz&&(Gz=new gI);const i=OP(e,"shallow"),n=new Set;return await Gz.acquire(i,(async function(){const e=await t.read(i,{encoding:"utf8"});return null===e||""===e.trim()?n:void e.trim().split("\n").map((t=>n.add(t)))})),n}static async write({fs:t,gitdir:e,oids:i}){null===Gz&&(Gz=new gI);const n=OP(e,"shallow");if(i.size>0){const e=[...i].join("\n")+"\n";await Gz.acquire(n,(async function(){await t.write(n,e,{encoding:"utf8"})}))}else await Gz.acquire(n,(async function(){await t.rm(n)}))}}async function Hz({fs:t,cache:e,gitdir:i,oid:n,format:r="content"}){const s=n=>fM({fs:t,cache:e,gitdir:i,oid:n});let o=await async function({fs:t,gitdir:e,oid:i}){const n=`objects/${i.slice(0,2)}/${i.slice(2)}`;return t.exists(`${e}/${n}`)}({fs:t,gitdir:i,oid:n});return o||(o=await async function({fs:t,cache:e,gitdir:i,oid:n,getExternalRefDelta:r}){let s=await t.readdir(OP(i,"objects/pack"));s=s.filter((t=>t.endsWith(".idx")));for(const o of s){const s=`${i}/objects/pack/${o}`,a=await pM({fs:t,cache:e,filename:s,getExternalRefDelta:r});if(a.error)throw new QL(a.error);if(a.offsets.has(n))return!0}return!1}({fs:t,cache:e,gitdir:i,oid:n,getExternalRefDelta:s})),o}function Vz(t,e){const i=t.map((t=>t.split("=",1)[0]));return e.filter((t=>{const e=t.split("=",1)[0];return i.includes(e)}))}const Kz={name:"isomorphic-git",version:"1.25.6",agent:"git/isomorphic-git@1.25.6"};class Yz{constructor(){this._queue=[]}write(t){if(this._ended)throw Error("You cannot write to a FIFO that has already been ended!");if(this._waiting){const e=this._waiting;this._waiting=null,e({value:t})}else this._queue.push(t)}end(){if(this._ended=!0,this._waiting){const t=this._waiting;this._waiting=null,t({done:!0})}}destroy(t){this.error=t,this.end()}async next(){if(this._queue.length>0)return{value:this._queue.shift()};if(this._ended)return{done:!0};if(this._waiting)throw Error("You cannot call read until the previous call to read has returned!");return new Promise((t=>{this._waiting=t}))}}function Jz(t){const e=t.indexOf("\r"),i=t.indexOf("\n");return-1===e&&-1===i?-1:-1===e?i+1:-1===i?e+1:i===e+1?i+1:Math.min(e,i)+1}function Zz(t){const e=new Yz;let i="";return(async()=>{await Oz(t,(t=>{for(t=t.toString("utf8"),i+=t;;){const t=Jz(i);if(-1===t)break;e.write(i.slice(0,t)),i=i.slice(t)}})),i.length>0&&e.write(i),e.end()})(),e}class Qz{static demux(t){const e=Iz.streamReader(t),i=new Yz,n=new Yz,r=new Yz,s=async function(){const o=await e();if(null===o)return s();if(!0===o)return i.end(),r.end(),void(t.error?n.destroy(t.error):n.end());switch(o[0]){case 1:n.write(o.slice(1));break;case 2:r.write(o.slice(1));break;case 3:{const t=o.slice(1);return r.write(t),i.end(),r.end(),void n.destroy(new Error(t.toString("utf8")))}default:i.write(o)}s()};return s(),{packetlines:i,packfile:n,progress:r}}}async function Xz({fs:t,cache:e,http:i,onProgress:n,onMessage:r,onAuth:s,onAuthSuccess:o,onAuthFailure:a,gitdir:u,ref:l,remoteRef:c,remote:h,url:p,corsProxy:f,depth:d=null,since:g=null,exclude:m=[],relative:y=!1,tags:b=!1,singleBranch:w=!1,headers:v={},prune:D=!1,pruneTags:k=!1}){const E=l||await _z({fs:t,gitdir:u,test:!0}),x=await HP.get({fs:t,gitdir:u}),A=h||E&&await x.get(`branch.${E}.remote`)||"origin",F=p||await x.get(`remote.${A}.url`);if(void 0===F)throw new SM("remote OR url");const C=c||E&&await x.get(`branch.${E}.merge`)||l||"HEAD";void 0===f&&(f=await x.get("http.corsProxy"));const S=Uz.getRemoteHelperFor({url:F}),_=await S.discover({http:i,onAuth:s,onAuthSuccess:o,onAuthFailure:a,corsProxy:f,service:"git-upload-pack",url:F,headers:v,protocolVersion:1}),j=_.auth,O=_.refs;if(0===O.size)return{defaultBranch:null,fetchHead:null,fetchHeadDescription:null};if(null!==d&&!_.capabilities.has("shallow"))throw new BM("shallow","depth");if(null!==g&&!_.capabilities.has("deepen-since"))throw new BM("deepen-since","since");if(m.length>0&&!_.capabilities.has("deepen-not"))throw new BM("deepen-not","exclude");if(!0===y&&!_.capabilities.has("deepen-relative"))throw new BM("deepen-relative","relative");const{oid:B,fullref:T}=YP.resolveAgainstMap({ref:C,map:O});for(const t of O.keys())t===T||"HEAD"===t||t.startsWith("refs/heads/")||b&&t.startsWith("refs/tags/")||O.delete(t);const R=Vz([..._.capabilities],["multi_ack_detailed","no-done","side-band-64k","ofs-delta",`agent=${Kz.agent}`]);y&&R.push("deepen-relative");const I=w?[B]:O.values(),$=w?[E]:await YP.listRefs({fs:t,gitdir:u,filepath:"refs"});let N=[];for(let i of $)try{i=await YP.expand({fs:t,gitdir:u,ref:i});const n=await YP.resolve({fs:t,gitdir:u,ref:i});await Hz({fs:t,cache:e,gitdir:u,oid:n})&&N.push(n)}catch(t){}N=[...new Set(N)];const L=await Wz.read({fs:t,gitdir:u}),P=function({capabilities:t=[],wants:e=[],haves:i=[],shallows:n=[],depth:r=null,since:s=null,exclude:o=[]}){const a=[];e=[...new Set(e)];let u=` ${t.join(" ")}`;for(const t of e)a.push(Iz.encode(`want ${t}${u}\n`)),u="";for(const t of n)a.push(Iz.encode(`shallow ${t}\n`));null!==r&&a.push(Iz.encode(`deepen ${r}\n`)),null!==s&&a.push(Iz.encode(`deepen-since ${Math.floor(s.valueOf()/1e3)}\n`));for(const t of o)a.push(Iz.encode(`deepen-not ${t}\n`));a.push(Iz.flush());for(const t of i)a.push(Iz.encode(`have ${t}\n`));return a.push(Iz.encode("done\n")),a}({capabilities:R,wants:I,haves:N,shallows:_.capabilities.has("shallow")?[...L]:[],depth:d,since:g,exclude:m}),M=Buffer.from(await Bz(P)),z=await S.connect({http:i,onProgress:n,corsProxy:f,service:"git-upload-pack",url:F,auth:j,body:[M],headers:v}),q=await async function(t){const{packetlines:e,packfile:i,progress:n}=Qz.demux(t),r=[],s=[],o=[];let a=!1,u=!1;return new Promise(((l,c)=>{Oz(e,(e=>{const h=e.toString("utf8").trim();if(h.startsWith("shallow")){const t=h.slice(-41).trim();40!==t.length&&c(new EP(t)),r.push(t)}else if(h.startsWith("unshallow")){const t=h.slice(-41).trim();40!==t.length&&c(new EP(t)),s.push(t)}else if(h.startsWith("ACK")){const[,t,e]=h.split(" ");o.push({oid:t,status:e}),e||(u=!0)}else h.startsWith("NAK")?(a=!0,u=!0):(u=!0,a=!0);u&&(t.error?c(t.error):l({shallows:r,unshallows:s,acks:o,nak:a,packfile:i,progress:n}))})).finally((()=>{u||(t.error?c(t.error):l({shallows:r,unshallows:s,acks:o,nak:a,packfile:i,progress:n}))}))}))}(z.body);z.headers&&(q.headers=z.headers);for(const i of q.shallows)if(!L.has(i))try{const{object:n}=await fM({fs:t,cache:e,gitdir:u,oid:i}),r=new WM(n),s=await Promise.all(r.headers().parent.map((i=>Hz({fs:t,cache:e,gitdir:u,oid:i})))),o=0===s.length||s.every((t=>t));o||L.add(i)}catch(t){L.add(i)}for(const t of q.unshallows)L.delete(t);if(await Wz.write({fs:t,gitdir:u,oids:L}),w){const e=new Map([[T,B]]),i=new Map;let n=10,r=T;for(;n--;){const t=_.symrefs.get(r);if(void 0===t)break;i.set(r,t),r=t}const s=O.get(r);s&&e.set(r,s);const{pruned:o}=await YP.updateRemoteRefs({fs:t,gitdir:u,remote:A,refs:e,symrefs:i,tags:b,prune:D});D&&(q.pruned=o)}else{const{pruned:e}=await YP.updateRemoteRefs({fs:t,gitdir:u,remote:A,refs:O,symrefs:_.symrefs,tags:b,prune:D,pruneTags:k});D&&(q.pruned=e)}if(q.HEAD=_.symrefs.get("HEAD"),void 0===q.HEAD){const{oid:t}=YP.resolveAgainstMap({ref:"HEAD",map:O});for(const[e,i]of O.entries())if("HEAD"!==e&&i===t){q.HEAD=e;break}}const U=T.startsWith("refs/tags")?"tag":"branch";if(q.FETCH_HEAD={oid:B,description:`${U} '${Sz(T)}' of ${F}`},n||r){Oz(Zz(q.progress),(async t=>{if(r&&await r(t),n){const e=t.match(/([^:]*).*\((\d+?)\/(\d+?)\)/);e&&await n({phase:e[1].trim(),loaded:parseInt(e[2],10),total:parseInt(e[3],10)})}}))}const G=Buffer.from(await Bz(q.packfile));if(z.body.error)throw z.body.error;const W=G.slice(-20).toString("hex"),H={defaultBranch:q.HEAD,fetchHead:q.FETCH_HEAD.oid,fetchHeadDescription:q.FETCH_HEAD.description};if(q.headers&&(H.headers=q.headers),D&&(H.pruned=q.pruned),""!==W&&"5041434b0000000200000000"!==G.slice(0,12).toString("hex")){H.packfile=`objects/pack/pack-${W}.pack`;const i=OP(u,H.packfile);await t.write(i,G);const r=i=>fM({fs:t,cache:e,gitdir:u,oid:i}),s=await cM.fromPack({pack:G,getExternalRefDelta:r,onProgress:n});await t.write(i.replace(/\.pack$/,".idx"),await s.toBuffer())}return H}async function tq({fs:t,bare:e=!1,dir:i,gitdir:n=(e?i:OP(i,".git")),defaultBranch:r="master"}){if(await t.exists(n+"/config"))return;let s=["hooks","info","objects/info","objects/pack","refs/heads","refs/tags"];s=s.map((t=>n+"/"+t));for(const e of s)await t.mkdir(e);await t.write(n+"/config",`[core]\n\trepositoryformatversion = 0\n\tfilemode = false\n\tbare = ${e}\n`+(e?"":"\tlogallrefupdates = true\n")+"\tsymlinks = false\n\tignorecase = true\n"),await t.write(n+"/HEAD",`ref: refs/heads/${r}\n`)}async function eq({fs:t,cache:e,gitdir:i,oid:n}){const r=await async function({fs:t,gitdir:e,oid:i}){const n=i.slice(0,2);return(await t.readdir(`${e}/objects/${n}`)).map((t=>`${n}${t}`)).filter((t=>t.startsWith(i)))}({fs:t,gitdir:i,oid:n}),s=await async function({fs:t,cache:e,gitdir:i,oid:n,getExternalRefDelta:r}){const s=[];let o=await t.readdir(OP(i,"objects/pack"));o=o.filter((t=>t.endsWith(".idx")));for(const a of o){const o=`${i}/objects/pack/${a}`,u=await pM({fs:t,cache:e,filename:o,getExternalRefDelta:r});if(u.error)throw new QL(u.error);for(const t of u.offsets.keys())t.startsWith(n)&&s.push(t)}return s}({fs:t,cache:e,gitdir:i,oid:n,getExternalRefDelta:n=>fM({fs:t,cache:e,gitdir:i,oid:n})});for(const t of s)-1===r.indexOf(t)&&r.push(t);if(1===r.length)return r[0];if(r.length>1)throw new gM("oids",n,r);throw new DP(`an object matching "${n}"`)}async function iq({fs:t,cache:e,gitdir:i,oids:n}){const r={},s=n.length;let o=n.map(((t,e)=>({index:e,oid:t})));for(;o.length;){const n=new Set;for(const{oid:t,index:e}of o)r[t]||(r[t]=new Set),r[t].add(e),r[t].size===s&&n.add(t);if(n.size>0)return[...n];const a=new Map;for(const{oid:n,index:s}of o)try{const{object:o}=await fM({fs:t,cache:e,gitdir:i,oid:n}),u=WM.from(o),{parent:l}=u.parseHeaders();for(const t of l)r[t]&&r[t].has(s)||a.set(t+":"+s,{oid:t,index:s})}catch(t){}o=Array.from(a.values())}return[]}const nq=/^.*(\r?\n|$)/gm;function rq({branches:t,contents:e}){const i=t[1],n=t[2],r=e[0],s=e[1],o=e[2],a=s.match(nq),u=r.match(nq),l=o.match(nq),c=YL(a,u,l);let h="",p=!0;for(const t of c)t.ok&&(h+=t.ok.join("")),t.conflict&&(p=!1,h+=`${"<".repeat(7)} ${i}\n`,h+=t.conflict.a.join(""),h+=`${"=".repeat(7)}\n`,h+=t.conflict.b.join(""),h+=`${">".repeat(7)} ${n}\n`);return{cleanMerge:p,mergedText:h}}async function sq({fs:t,cache:e,dir:i,gitdir:n=OP(i,".git"),index:r,ourOid:s,baseOid:o,theirOid:a,ourName:u="ours",baseName:l="base",theirName:c="theirs",dryRun:h=!1,abortOnConflict:p=!0,mergeDriver:f}){const d=KM({ref:s}),g=KM({ref:o}),m=KM({ref:a}),y=[],b=[],w=[],v=[],D=await tz({fs:t,cache:e,dir:i,gitdir:n,trees:[d,g,m],map:async function(e,[i,s,o]){const a=gP(e);switch(`${await uz(i,s)}-${await uz(o,s)}`){case"false-false":return{mode:await s.mode(),path:a,oid:await s.oid(),type:await s.type()};case"false-true":return o?{mode:await o.mode(),path:a,oid:await o.oid(),type:await o.type()}:void 0;case"true-false":return i?{mode:await i.mode(),path:a,oid:await i.oid(),type:await i.type()}:void 0;case"true-true":if(i&&s&&o&&"blob"===await i.type()&&"blob"===await s.type()&&"blob"===await o.type())return async function({fs:t,gitdir:e,path:i,ours:n,base:r,theirs:s,ourName:o,theirName:a,baseName:u,dryRun:l,mergeDriver:c=rq}){const h="blob",p=await r.mode()===await n.mode()?await s.mode():await n.mode();if(await n.oid()===await s.oid())return{cleanMerge:!0,mergeResult:{mode:p,path:i,oid:await n.oid(),type:h}};if(await n.oid()===await r.oid())return{cleanMerge:!0,mergeResult:{mode:p,path:i,oid:await s.oid(),type:h}};if(await s.oid()===await r.oid())return{cleanMerge:!0,mergeResult:{mode:p,path:i,oid:await n.oid(),type:h}};const f=Buffer.from(await n.content()).toString("utf8"),d=Buffer.from(await r.content()).toString("utf8"),g=Buffer.from(await s.content()).toString("utf8"),{mergedText:m,cleanMerge:y}=await c({branches:[u,o,a],contents:[d,f,g],path:i}),b=await pz({fs:t,gitdir:e,type:"blob",object:Buffer.from(m,"utf8"),dryRun:l});return{cleanMerge:y,mergeResult:{mode:p,path:i,oid:b,type:h}}}({fs:t,gitdir:n,path:a,ours:i,base:s,theirs:o,ourName:u,baseName:l,theirName:c,mergeDriver:f}).then((async t=>{if(t.cleanMerge)p||r.insert({filepath:e,oid:t.mergeResult.oid,stage:0});else if(y.push(e),b.push(e),!p){const t=await s.oid(),n=await i.oid(),a=await o.oid();r.delete({filepath:e}),r.insert({filepath:e,oid:t,stage:1}),r.insert({filepath:e,oid:n,stage:2}),r.insert({filepath:e,oid:a,stage:3})}return t.mergeResult}));if(s&&!i&&o&&"blob"===await s.type()&&"blob"===await o.type()){if(y.push(e),w.push(e),!p){const t=await s.oid(),i=await o.oid();r.delete({filepath:e}),r.insert({filepath:e,oid:t,stage:1}),r.insert({filepath:e,oid:i,stage:3})}return{mode:await o.mode(),oid:await o.oid(),type:"blob",path:a}}if(s&&i&&!o&&"blob"===await s.type()&&"blob"===await i.type()){if(y.push(e),v.push(e),!p){const t=await s.oid(),n=await i.oid();r.delete({filepath:e}),r.insert({filepath:e,oid:t,stage:1}),r.insert({filepath:e,oid:n,stage:2})}return{mode:await i.mode(),oid:await i.oid(),type:"blob",path:a}}if(s&&!i&&!o&&"blob"===await s.type())return;throw new AM}},reduce:0===y.length||i&&!p?async(e,i)=>{const r=i.filter(Boolean);if(e&&(!e||"tree"!==e.type||0!==r.length)){if(r.length>0){const i=new tM(r).toObject(),s=await pz({fs:t,gitdir:n,type:"tree",object:i,dryRun:h});e.oid=s}return e}}:void 0});return 0!==y.length?(i&&!p&&await tz({fs:t,cache:e,dir:i,gitdir:n,trees:[KM({ref:D.oid})],map:async function(e,[n]){const r=`${i}/${e}`;if("blob"===await n.type()){const e=await n.mode(),i=(new TextDecoder).decode(await n.content());await t.write(r,i,{mode:e})}return!0}}),new FM(y,b,w,v)):D.oid}async function oq({fs:t,cache:e,dir:i,gitdir:n,ours:r,theirs:s,fastForward:o=!0,fastForwardOnly:a=!1,dryRun:u=!1,noUpdateBranch:l=!1,abortOnConflict:c=!0,message:h,author:p,committer:f,signingKey:d,onSign:g,mergeDriver:m}){void 0===r&&(r=await _z({fs:t,gitdir:n,fullname:!0})),r=await YP.expand({fs:t,gitdir:n,ref:r}),s=await YP.expand({fs:t,gitdir:n,ref:s});const y=await YP.resolve({fs:t,gitdir:n,ref:r}),b=await YP.resolve({fs:t,gitdir:n,ref:s}),w=await iq({fs:t,cache:e,gitdir:n,oids:[y,b]});if(1!==w.length)throw new AM;const v=w[0];if(v===b)return{oid:y,alreadyMerged:!0};if(o&&v===y)return u||l||await YP.writeRef({fs:t,gitdir:n,ref:r,value:b}),{oid:b,fastForward:!0};{if(a)throw new wM;const o=await dP.acquire({fs:t,gitdir:n,cache:e,allowUnmerged:!1},(async o=>sq({fs:t,cache:e,dir:i,gitdir:n,index:o,ourOid:y,theirOid:b,baseOid:v,ourName:Sz(r),baseName:"base",theirName:Sz(s),dryRun:u,abortOnConflict:c,mergeDriver:m})));if(o instanceof FM)throw o;h||(h=`Merge branch '${Sz(s)}' into ${Sz(r)}`);return{oid:await gz({fs:t,cache:e,gitdir:n,message:h,ref:r,tree:o,parent:[y,b],author:p,committer:f,signingKey:d,onSign:g,dryRun:u,noUpdateBranch:l}),tree:o,mergeCommit:!0}}}async function aq({fs:t,cache:e,http:i,onProgress:n,onMessage:r,onAuth:s,onAuthSuccess:o,onAuthFailure:a,dir:u,gitdir:l,ref:c,url:h,remote:p,remoteRef:f,prune:d,pruneTags:g,fastForward:m,fastForwardOnly:y,corsProxy:b,singleBranch:w,headers:v,author:D,committer:k,signingKey:E}){try{if(!c){const e=await _z({fs:t,gitdir:l});if(!e)throw new SM("ref");c=e}const{fetchHead:x,fetchHeadDescription:A}=await Xz({fs:t,cache:e,http:i,onProgress:n,onMessage:r,onAuth:s,onAuthSuccess:o,onAuthFailure:a,gitdir:l,corsProxy:b,ref:c,url:h,remote:p,remoteRef:f,singleBranch:w,headers:v,prune:d,pruneTags:g});await oq({fs:t,cache:e,gitdir:l,ours:c,theirs:x,fastForward:m,fastForwardOnly:y,message:`Merge ${A}`,author:D,committer:k,signingKey:E,dryRun:!1,noUpdateBranch:!1}),await Fz({fs:t,cache:e,onProgress:n,dir:u,gitdir:l,ref:c,remote:p,noCheckout:!1})}catch(t){throw t.caller="git.pull",t}}async function uq({fs:t,filepath:e}){if(await t.exists(OP(e,".git")))return e;{const i=mP(e);if(i===e)throw new DP(`git root for ${e}`);return uq({fs:t,filepath:i})}}function lq(t,e,i,n){const r=[];for(const[s,o]of t.refs){if(e&&!s.startsWith(e))continue;if(s.endsWith("^{}")){if(n){const t=s.replace("^{}",""),e=r[r.length-1],i=e.ref===t?e:r.find((e=>e.ref===t));if(void 0===i)throw new Error("I did not expect this to happen");i.peeled=o}continue}const a={ref:s,oid:o};i&&t.symrefs.has(s)&&(a.target=t.symrefs.get(s)),r.push(a)}return r}async function cq({fs:t,cache:e,gitdir:i,oid:n,ancestor:r,depth:s}){const o=await Wz.read({fs:t,gitdir:i});if(!n)throw new SM("oid");if(!r)throw new SM("ancestor");if(n===r)return!1;const a=[n],u=new Set;let l=0;for(;a.length;){if(l++===s)throw new xM(s);const n=a.shift(),{type:c,object:h}=await fM({fs:t,cache:e,gitdir:i,oid:n});if("commit"!==c)throw new kP(n,c,"commit");const p=WM.from(h).parse();for(const t of p.parent)if(t===r)return!0;if(!o.has(n))for(const t of p.parent)u.has(t)||(a.push(t),u.add(t))}return!1}async function hq({fs:t,gitdir:e,ref:i,cache:n}){if(i){const r=await YP.resolve({gitdir:e,fs:t,ref:i}),s=[];return await pq({fs:t,cache:n,gitdir:e,oid:r,filenames:s,prefix:""}),s}return dP.acquire({fs:t,gitdir:e,cache:n},(async function(t){return t.entries.map((t=>t.path))}))}async function pq({fs:t,cache:e,gitdir:i,oid:n,filenames:r,prefix:s}){const{tree:o}=await wz({fs:t,cache:e,gitdir:i,oid:n});for(const n of o)"tree"===n.type?await pq({fs:t,cache:e,gitdir:i,oid:n.oid,filenames:r,prefix:OP(s,n.path)}):r.push(OP(s,n.path))}async function fq({fs:t,cache:e,gitdir:i,oid:n}){const{type:r,object:s}=await fM({fs:t,cache:e,gitdir:i,oid:n});if("tag"===r)return fq({fs:t,cache:e,gitdir:i,oid:n=UM.from(s).parse().object});if("commit"!==r)throw new kP(n,r,"commit");return{commit:WM.from(s),oid:n}}async function dq({fs:t,cache:e,gitdir:i,oid:n}){const{commit:r,oid:s}=await fq({fs:t,cache:e,gitdir:i,oid:n});return{oid:s,commit:r.parse(),payload:r.withoutSignature()}}function gq(t,e){return t.committer.timestamp-e.committer.timestamp}const mq="e69de29bb2d1d6434b8b29ae775ad8c2e48c5391";async function yq({fs:t,cache:e,gitdir:i,oid:n,fileId:r}){if(r===mq)return;const s=n;let o;const a=await HM({fs:t,cache:e,gitdir:i,oid:n}),u=a.tree;return r===a.oid?o=a.path:(o=await bq({fs:t,cache:e,gitdir:i,tree:u,fileId:r,oid:s}),Array.isArray(o)&&(0===o.length?o=void 0:1===o.length&&(o=o[0]))),o}async function bq({fs:t,cache:e,gitdir:i,tree:n,fileId:r,oid:s,filepaths:o=[],parentPath:a=""}){const u=n.entries().map((function(n){let u;return n.oid===r?(u=OP(a,n.path),o.push(u)):"tree"===n.type&&(u=fM({fs:t,cache:e,gitdir:i,oid:n.oid}).then((function({object:u}){return bq({fs:t,cache:e,gitdir:i,tree:tM.from(u),fileId:r,oid:s,filepaths:o,parentPath:OP(a,n.path)})}))),u}));return await Promise.all(u),o}const wq={commit:16,tree:32,blob:48,tag:64,ofs_delta:96,ref_delta:112};async function vq({fs:t,cache:e,dir:i,gitdir:n=OP(i,".git"),oids:r}){const s=new _I,o=[];function a(t,e){const i=Buffer.from(t,e);o.push(i),s.update(i)}async function u({stype:t,object:e}){const i=wq[t];let n=e.length,r=n>15?128:0;const s=15&n;n>>>=4;let o=(r|i|s).toString(16);for(a(o,"hex");r;)r=n>127?128:0,o=r|127&n,a(Rz(2,o),"hex"),n>>>=7;a(Buffer.from(await hz(e)))}a("PACK"),a("00000002","hex"),a(Rz(8,r.length),"hex");for(const i of r){const{type:r,object:s}=await fM({fs:t,cache:e,gitdir:n,oid:i});await u({write:a,object:s,stype:r})}const l=s.digest();return o.push(l),o}async function Dq({fs:t,cache:e,dir:i,gitdir:n=OP(i,".git"),oids:r}){const s=new Set;async function o(i){if(s.has(i))return;s.add(i);const{type:r,object:a}=await fM({fs:t,cache:e,gitdir:n,oid:i});if("tag"===r){const t=UM.from(a).headers().object;await o(t)}else if("commit"===r){const t=WM.from(a).headers().tree;await o(t)}else if("tree"===r){const t=tM.from(a);for(const e of t)"blob"===e.type&&s.add(e.oid),"tree"===e.type&&await o(e.oid)}}for(const t of r)await o(t);return s}async function kq({fs:t,cache:e,http:i,onProgress:n,onMessage:r,onAuth:s,onAuthSuccess:o,onAuthFailure:a,gitdir:u,ref:l,remoteRef:c,remote:h,url:p,force:f=!1,delete:d=!1,corsProxy:g,headers:m={}}){const y=l||await _z({fs:t,gitdir:u});if(void 0===y)throw new SM("ref");const b=await HP.get({fs:t,gitdir:u});h=h||await b.get(`branch.${y}.pushRemote`)||await b.get("remote.pushDefault")||await b.get(`branch.${y}.remote`)||"origin";const w=p||await b.get(`remote.${h}.pushurl`)||await b.get(`remote.${h}.url`);if(void 0===w)throw new SM("remote OR url");const v=c||await b.get(`branch.${y}.merge`);if(void 0===w)throw new SM("remoteRef");void 0===g&&(g=await b.get("http.corsProxy"));const D=await YP.expand({fs:t,gitdir:u,ref:y}),k=d?"0000000000000000000000000000000000000000":await YP.resolve({fs:t,gitdir:u,ref:D}),E=Uz.getRemoteHelperFor({url:w}),x=await E.discover({http:i,onAuth:s,onAuthSuccess:o,onAuthFailure:a,corsProxy:g,service:"git-receive-pack",url:w,headers:m,protocolVersion:1}),A=x.auth;let F;if(v)try{F=await YP.expandAgainstMap({ref:v,map:x.refs})}catch(t){if(!(t instanceof DP))throw t;F=v.startsWith("refs/")?v:`refs/heads/${v}`}else F=D;const C=x.refs.get(F)||"0000000000000000000000000000000000000000",S=!x.capabilities.has("no-thin");let _=new Set;if(!d){const i=[...x.refs.values()];let n=new Set;if("0000000000000000000000000000000000000000"!==C){const r=await iq({fs:t,cache:e,gitdir:u,oids:[k,C]});for(const t of r)i.push(t);S&&(n=await Dq({fs:t,cache:e,gitdir:u,oids:r}))}if(!i.includes(k)){const n=await async function({fs:t,cache:e,dir:i,gitdir:n=OP(i,".git"),start:r,finish:s}){const o=await Wz.read({fs:t,gitdir:n}),a=new Set,u=new Set;for(const e of r)a.add(await YP.resolve({fs:t,gitdir:n,ref:e}));for(const e of s)try{const i=await YP.resolve({fs:t,gitdir:n,ref:e});u.add(i)}catch(t){}const l=new Set;async function c(i){l.add(i);const{type:r,object:s}=await fM({fs:t,cache:e,gitdir:n,oid:i});if("tag"===r)return c(UM.from(s).headers().object);if("commit"!==r)throw new kP(i,r,"commit");if(!o.has(i)){const t=WM.from(s).headers().parent;for(i of t)u.has(i)||l.has(i)||await c(i)}}for(const t of a)await c(t);return l}({fs:t,cache:e,gitdir:u,start:[k],finish:i});_=await Dq({fs:t,cache:e,gitdir:u,oids:n})}if(S){try{const i=await YP.resolve({fs:t,gitdir:u,ref:`refs/remotes/${h}/HEAD`,depth:2}),{oid:r}=await YP.resolveAgainstMap({ref:i.replace(`refs/remotes/${h}/`,""),fullref:i,map:x.refs}),s=[r];for(const i of await Dq({fs:t,cache:e,gitdir:u,oids:s}))n.add(i)}catch(t){}for(const t of n)_.delete(t)}if(k===C&&(f=!0),!f){if(D.startsWith("refs/tags")&&"0000000000000000000000000000000000000000"!==C)throw new OM("tag-exists");if("0000000000000000000000000000000000000000"!==k&&"0000000000000000000000000000000000000000"!==C&&!await cq({fs:t,cache:e,gitdir:u,oid:k,ancestor:C,depth:-1}))throw new OM("not-fast-forward")}}const j=Vz([...x.capabilities],["report-status","side-band-64k",`agent=${Kz.agent}`]),O=await async function({capabilities:t=[],triplets:e=[]}){const i=[];let n=`\0 ${t.join(" ")}`;for(const t of e)i.push(Iz.encode(`${t.oldoid} ${t.oid} ${t.fullRef}${n}\n`)),n="";return i.push(Iz.flush()),i}({capabilities:j,triplets:[{oldoid:C,oid:k,fullRef:F}]}),B=d?[]:await vq({fs:t,cache:e,gitdir:u,oids:[..._]}),T=await E.connect({http:i,onProgress:n,corsProxy:g,service:"git-receive-pack",url:w,auth:A,headers:m,body:[...O,...B]}),{packfile:R,progress:I}=await Qz.demux(T.body);if(r){Oz(Zz(I),(async t=>{await r(t)}))}const $=await async function(t){const e={};let i="";const n=Iz.streamReader(t);let r=await n();for(;!0!==r;)null!==r&&(i+=r.toString("utf8")+"\n"),r=await n();const s=i.toString("utf8").split("\n");if(r=s.shift(),!r.startsWith("unpack "))throw new jM('unpack ok" or "unpack [error message]',r);e.ok="unpack ok"===r,e.ok||(e.error=r.slice(7)),e.refs={};for(const t of s){if(""===t.trim())continue;const i=t.slice(0,2),n=t.slice(3);let r=n.indexOf(" ");-1===r&&(r=n.length);const s=n.slice(0,r),o=n.slice(r+1);e.refs[s]={ok:"ok"===i,error:o}}return e}(R);if(T.headers&&($.headers=T.headers),h&&$.ok&&$.refs[F].ok){const e=`refs/remotes/${h}/${F.replace("refs/heads","")}`;d?await YP.deleteRef({fs:t,gitdir:u,ref:e}):await YP.writeRef({fs:t,gitdir:u,ref:e,value:k})}if($.ok&&Object.values($.refs).every((t=>t.ok)))return $;{const t=Object.entries($.refs).filter((([t,e])=>!e.ok)).map((([t,e])=>`\n - ${t}: ${e.error}`)).join("");throw new vM(t,$)}}async function Eq({fs:t,cache:e,gitdir:i,oid:n}){const{type:r,object:s}=await fM({fs:t,cache:e,gitdir:i,oid:n});if("tag"===r)return Eq({fs:t,cache:e,gitdir:i,oid:n=UM.from(s).parse().object});if("blob"!==r)throw new kP(n,r,"blob");return{oid:n,blob:new Uint8Array(s)}}async function xq({fs:t,cache:e,gitdir:i,oid:n,filepath:r}){void 0!==r&&(n=await yz({fs:t,cache:e,gitdir:i,oid:n,filepath:r}));return await Eq({fs:t,cache:e,gitdir:i,oid:n})}async function Aq({gitdir:t,type:e,object:i}){return uP(eM.wrap({type:e,object:i}))}async function Fq({fs:t,cache:e,gitdir:i,tree:n,path:r}){"string"==typeof r&&(r=r.split("/"));const s=r.shift();for(const o of n)if(o.path===s){if(0===r.length)return o.oid;const{type:n,object:s}=await fM({fs:t,cache:e,gitdir:i,oid:o.oid});if("tree"===n){return Fq({fs:t,cache:e,gitdir:i,tree:tM.from(s),path:r})}if("blob"===n)throw new kP(o.oid,n,"blob",r.join("/"))}return null}var Cq={Errors:LM,STAGE:vP,TREE:KM,WORKDIR:JM,add:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),filepath:n,cache:r={},force:s=!1,parallel:o=!0}){try{az("fs",t),az("dir",e),az("gitdir",i),az("filepath",n);const a=new oz(t);await dP.acquire({fs:a,gitdir:i,cache:r},(async t=>dz({dir:e,gitdir:i,fs:a,filepath:n,index:t,force:s,parallel:o})))}catch(t){throw t.caller="git.add",t}},abortMerge:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),commit:n="HEAD",cache:r={}}){try{az("fs",t),az("dir",e),az("gitdir",i);const s=new oz(t),o=[KM({ref:n}),JM(),vP()];let a=[];await dP.acquire({fs:s,gitdir:i,cache:r},(async function(t){a=t.unmergedPaths}));const u=await tz({fs:s,cache:r,dir:e,gitdir:i,trees:o,map:async function(t,[e,i,n]){const r=!await uz(i,n),s=a.includes(t),o=!await uz(n,e);if(r||s)return e?{path:t,mode:await e.mode(),oid:await e.oid(),type:await e.type(),content:await e.content()}:void 0;if(o)return!1;throw new NM(t)}});await dP.acquire({fs:s,gitdir:i,cache:r},(async function(t){for(const i of u)if(!1!==i)if(i){if("blob"===i.type){const n=(new TextDecoder).decode(i.content);await s.write(`${e}/${i.path}`,n,{mode:i.mode}),t.insert({filepath:i.path,oid:i.oid,stage:0})}}else await s.rmdir(`${e}/${i.path}`,{recursive:!0}),t.delete({filepath:i.path})}))}catch(t){throw t.caller="git.abortMerge",t}},addNote:async function({fs:t,onSign:e,dir:i,gitdir:n=OP(i,".git"),ref:r="refs/notes/commits",oid:s,note:o,force:a,author:u,committer:l,signingKey:c,cache:h={}}){try{az("fs",t),az("gitdir",n),az("oid",s),az("note",o),c&&az("onSign",e);const i=new oz(t),p=await kz({fs:i,gitdir:n,author:u});if(!p)throw new CM("author");const f=await Ez({fs:i,gitdir:n,author:p,committer:l});if(!f)throw new CM("committer");return await async function({fs:t,cache:e,onSign:i,gitdir:n,ref:r,oid:s,note:o,force:a,author:u,committer:l,signingKey:c}){let h;try{h=await YP.resolve({gitdir:n,fs:t,ref:r})}catch(t){if(!(t instanceof DP))throw t}let p=(await wz({fs:t,cache:e,gitdir:n,oid:h||"4b825dc642cb6eb9a060e54bf8d69288fbee4904"})).tree;if(a)p=p.filter((t=>t.path!==s));else for(const t of p)if(t.path===s)throw new dM("note",s);"string"==typeof o&&(o=Buffer.from(o,"utf8"));const f=await pz({fs:t,gitdir:n,type:"blob",object:o,format:"content"});p.push({mode:"100644",path:s,oid:f,type:"blob"});const d=await vz({fs:t,gitdir:n,tree:p});return await gz({fs:t,cache:e,onSign:i,gitdir:n,ref:r,tree:d,parent:h&&[h],message:"Note added by 'isomorphic-git addNote'\n",author:u,committer:l,signingKey:c})}({fs:new oz(i),cache:h,onSign:e,gitdir:n,ref:r,oid:s,note:o,force:a,author:p,committer:f,signingKey:c})}catch(t){throw t.caller="git.addNote",t}},addRemote:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),remote:n,url:r,force:s=!1}){try{return az("fs",t),az("gitdir",i),az("remote",n),az("url",r),await xz({fs:new oz(t),gitdir:i,remote:n,url:r,force:s})}catch(t){throw t.caller="git.addRemote",t}},annotatedTag:async function({fs:t,onSign:e,dir:i,gitdir:n=OP(i,".git"),ref:r,tagger:s,message:o=r,gpgsig:a,object:u,signingKey:l,force:c=!1,cache:h={}}){try{az("fs",t),az("gitdir",n),az("ref",r),l&&az("onSign",e);const i=new oz(t),p=await kz({fs:i,gitdir:n,author:s});if(!p)throw new CM("tagger");return await async function({fs:t,cache:e,onSign:i,gitdir:n,ref:r,tagger:s,message:o=r,gpgsig:a,object:u,signingKey:l,force:c=!1}){if(r=r.startsWith("refs/tags/")?r:`refs/tags/${r}`,!c&&await YP.exists({fs:t,gitdir:n,ref:r}))throw new dM("tag",r);const h=await YP.resolve({fs:t,gitdir:n,ref:u||"HEAD"}),{type:p}=await fM({fs:t,cache:e,gitdir:n,oid:h});let f=UM.from({object:h,type:p,tag:r.replace("refs/tags/",""),tagger:s,message:o,gpgsig:a});l&&(f=await UM.sign(f,i,l));const d=await pz({fs:t,gitdir:n,type:"tag",object:f.toObject()});await YP.writeRef({fs:t,gitdir:n,ref:r,value:d})}({fs:i,cache:h,onSign:e,gitdir:n,ref:r,tagger:p,message:o,gpgsig:a,object:u,signingKey:l,force:c})}catch(t){throw t.caller="git.annotatedTag",t}},branch:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n,object:r,checkout:s=!1,force:o=!1}){try{return az("fs",t),az("gitdir",i),az("ref",n),await async function({fs:t,gitdir:e,ref:i,object:n,checkout:r=!1,force:s=!1}){if(i!==WL.clean(i))throw new EM(i,WL.clean(i));const o=`refs/heads/${i}`;if(!s&&await YP.exists({fs:t,gitdir:e,ref:o}))throw new dM("branch",i,!1);let a;try{a=await YP.resolve({fs:t,gitdir:e,ref:n||"HEAD"})}catch(t){}a&&await YP.writeRef({fs:t,gitdir:e,ref:o,value:a}),r&&await YP.writeSymbolicRef({fs:t,gitdir:e,ref:"HEAD",value:o})}({fs:new oz(t),gitdir:i,ref:n,object:r,checkout:s,force:o})}catch(t){throw t.caller="git.branch",t}},checkout:async function({fs:t,onProgress:e,dir:i,gitdir:n=OP(i,".git"),remote:r="origin",ref:s,filepaths:o,noCheckout:a=!1,noUpdateHead:u=void 0===s,dryRun:l=!1,force:c=!1,track:h=!0,cache:p={}}){try{az("fs",t),az("dir",i),az("gitdir",n);const f=s||"HEAD";return await Fz({fs:new oz(t),cache:p,onProgress:e,dir:i,gitdir:n,remote:r,ref:f,filepaths:o,noCheckout:a,noUpdateHead:u,dryRun:l,force:c,track:h})}catch(t){throw t.caller="git.checkout",t}},clone:async function({fs:t,http:e,onProgress:i,onMessage:n,onAuth:r,onAuthSuccess:s,onAuthFailure:o,dir:a,gitdir:u=OP(a,".git"),url:l,corsProxy:c,ref:h,remote:p="origin",depth:f,since:d,exclude:g=[],relative:m=!1,singleBranch:y=!1,noCheckout:b=!1,noTags:w=!1,headers:v={},cache:D={}}){try{return az("fs",t),az("http",e),az("gitdir",u),b||az("dir",a),az("url",l),await async function({fs:t,cache:e,http:i,onProgress:n,onMessage:r,onAuth:s,onAuthSuccess:o,onAuthFailure:a,dir:u,gitdir:l,url:c,corsProxy:h,ref:p,remote:f,depth:d,since:g,exclude:m,relative:y,singleBranch:b,noCheckout:w,noTags:v,headers:D}){try{if(await tq({fs:t,gitdir:l}),await xz({fs:t,gitdir:l,remote:f,url:c,force:!1}),h){const e=await HP.get({fs:t,gitdir:l});await e.set("http.corsProxy",h),await HP.save({fs:t,gitdir:l,config:e})}const{defaultBranch:k,fetchHead:E}=await Xz({fs:t,cache:e,http:i,onProgress:n,onMessage:r,onAuth:s,onAuthSuccess:o,onAuthFailure:a,gitdir:l,ref:p,remote:f,corsProxy:h,depth:d,since:g,exclude:m,relative:y,singleBranch:b,headers:D,tags:!v});if(null===E)return;p=(p=p||k).replace("refs/heads/",""),await Fz({fs:t,cache:e,onProgress:n,dir:u,gitdir:l,ref:p,remote:f,noCheckout:w})}catch(e){throw await t.rmdir(l,{recursive:!0,maxRetries:10}).catch((()=>{})),e}}({fs:new oz(t),cache:D,http:e,onProgress:i,onMessage:n,onAuth:r,onAuthSuccess:s,onAuthFailure:o,dir:a,gitdir:u,url:l,corsProxy:c,ref:h,remote:p,depth:f,since:d,exclude:g,relative:m,singleBranch:y,noCheckout:b,noTags:w,headers:v})}catch(t){throw t.caller="git.clone",t}},commit:async function({fs:t,onSign:e,dir:i,gitdir:n=OP(i,".git"),message:r,author:s,committer:o,signingKey:a,dryRun:u=!1,noUpdateBranch:l=!1,ref:c,parent:h,tree:p,cache:f={}}){try{az("fs",t),az("message",r),a&&az("onSign",e);const i=new oz(t),d=await kz({fs:i,gitdir:n,author:s});if(!d)throw new CM("author");const g=await Ez({fs:i,gitdir:n,author:d,committer:o});if(!g)throw new CM("committer");return await gz({fs:i,cache:f,onSign:e,gitdir:n,message:r,author:d,committer:g,signingKey:a,dryRun:u,noUpdateBranch:l,ref:c,parent:h,tree:p})}catch(t){throw t.caller="git.commit",t}},getConfig:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),path:n}){try{return az("fs",t),az("gitdir",i),az("path",n),await Dz({fs:new oz(t),gitdir:i,path:n})}catch(t){throw t.caller="git.getConfig",t}},getConfigAll:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),path:n}){try{return az("fs",t),az("gitdir",i),az("path",n),await async function({fs:t,gitdir:e,path:i}){return(await HP.get({fs:t,gitdir:e})).getall(i)}({fs:new oz(t),gitdir:i,path:n})}catch(t){throw t.caller="git.getConfigAll",t}},setConfig:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),path:n,value:r,append:s=!1}){try{az("fs",t),az("gitdir",i),az("path",n);const e=new oz(t),o=await HP.get({fs:e,gitdir:i});s?await o.append(n,r):await o.set(n,r),await HP.save({fs:e,gitdir:i,config:o})}catch(t){throw t.caller="git.setConfig",t}},currentBranch:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),fullname:n=!1,test:r=!1}){try{return az("fs",t),az("gitdir",i),await _z({fs:new oz(t),gitdir:i,fullname:n,test:r})}catch(t){throw t.caller="git.currentBranch",t}},deleteBranch:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n}){try{return az("fs",t),az("ref",n),await async function({fs:t,gitdir:e,ref:i}){if(i=i.startsWith("refs/heads/")?i:`refs/heads/${i}`,!await YP.exists({fs:t,gitdir:e,ref:i}))throw new DP(i);const n=await YP.expand({fs:t,gitdir:e,ref:i});if(n===await _z({fs:t,gitdir:e,fullname:!0})){const i=await YP.resolve({fs:t,gitdir:e,ref:n});await YP.writeRef({fs:t,gitdir:e,ref:"HEAD",value:i})}await YP.deleteRef({fs:t,gitdir:e,ref:n})}({fs:new oz(t),gitdir:i,ref:n})}catch(t){throw t.caller="git.deleteBranch",t}},deleteRef:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n}){try{az("fs",t),az("ref",n),await YP.deleteRef({fs:new oz(t),gitdir:i,ref:n})}catch(t){throw t.caller="git.deleteRef",t}},deleteRemote:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),remote:n}){try{return az("fs",t),az("remote",n),await async function({fs:t,gitdir:e,remote:i}){const n=await HP.get({fs:t,gitdir:e});await n.deleteSection("remote",i),await HP.save({fs:t,gitdir:e,config:n})}({fs:new oz(t),gitdir:i,remote:n})}catch(t){throw t.caller="git.deleteRemote",t}},deleteTag:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n}){try{return az("fs",t),az("ref",n),await async function({fs:t,gitdir:e,ref:i}){i=i.startsWith("refs/tags/")?i:`refs/tags/${i}`,await YP.deleteRef({fs:t,gitdir:e,ref:i})}({fs:new oz(t),gitdir:i,ref:n})}catch(t){throw t.caller="git.deleteTag",t}},expandOid:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),oid:n,cache:r={}}){try{return az("fs",t),az("gitdir",i),az("oid",n),await eq({fs:new oz(t),cache:r,gitdir:i,oid:n})}catch(t){throw t.caller="git.expandOid",t}},expandRef:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n}){try{return az("fs",t),az("gitdir",i),az("ref",n),await YP.expand({fs:new oz(t),gitdir:i,ref:n})}catch(t){throw t.caller="git.expandRef",t}},fastForward:async function({fs:t,http:e,onProgress:i,onMessage:n,onAuth:r,onAuthSuccess:s,onAuthFailure:o,dir:a,gitdir:u=OP(a,".git"),ref:l,url:c,remote:h,remoteRef:p,corsProxy:f,singleBranch:d,headers:g={},cache:m={}}){try{az("fs",t),az("http",e),az("gitdir",u);const y={name:"",email:"",timestamp:Date.now(),timezoneOffset:0};return await aq({fs:new oz(t),cache:m,http:e,onProgress:i,onMessage:n,onAuth:r,onAuthSuccess:s,onAuthFailure:o,dir:a,gitdir:u,ref:l,url:c,remote:h,remoteRef:p,fastForwardOnly:!0,corsProxy:f,singleBranch:d,headers:g,author:y,committer:y})}catch(t){throw t.caller="git.fastForward",t}},fetch:async function({fs:t,http:e,onProgress:i,onMessage:n,onAuth:r,onAuthSuccess:s,onAuthFailure:o,dir:a,gitdir:u=OP(a,".git"),ref:l,remote:c,remoteRef:h,url:p,corsProxy:f,depth:d=null,since:g=null,exclude:m=[],relative:y=!1,tags:b=!1,singleBranch:w=!1,headers:v={},prune:D=!1,pruneTags:k=!1,cache:E={}}){try{return az("fs",t),az("http",e),az("gitdir",u),await Xz({fs:new oz(t),cache:E,http:e,onProgress:i,onMessage:n,onAuth:r,onAuthSuccess:s,onAuthFailure:o,gitdir:u,ref:l,remote:c,remoteRef:h,url:p,corsProxy:f,depth:d,since:g,exclude:m,relative:y,tags:b,singleBranch:w,headers:v,prune:D,pruneTags:k})}catch(t){throw t.caller="git.fetch",t}},findMergeBase:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),oids:n,cache:r={}}){try{return az("fs",t),az("gitdir",i),az("oids",n),await iq({fs:new oz(t),cache:r,gitdir:i,oids:n})}catch(t){throw t.caller="git.findMergeBase",t}},findRoot:async function({fs:t,filepath:e}){try{return az("fs",t),az("filepath",e),await uq({fs:new oz(t),filepath:e})}catch(t){throw t.caller="git.findRoot",t}},getRemoteInfo:async function({http:t,onAuth:e,onAuthSuccess:i,onAuthFailure:n,corsProxy:r,url:s,headers:o={},forPush:a=!1}){try{az("http",t),az("url",s);const u=Uz.getRemoteHelperFor({url:s}),l=await u.discover({http:t,onAuth:e,onAuthSuccess:i,onAuthFailure:n,corsProxy:r,service:a?"git-receive-pack":"git-upload-pack",url:s,headers:o,protocolVersion:1}),c={capabilities:[...l.capabilities]};for(const[t,e]of l.refs){const i=t.split("/"),n=i.pop();let r=c;for(const t of i)r[t]=r[t]||{},r=r[t];r[n]=e}for(const[t,e]of l.symrefs){const i=t.split("/"),n=i.pop();let r=c;for(const t of i)r[t]=r[t]||{},r=r[t];r[n]=e}return c}catch(t){throw t.caller="git.getRemoteInfo",t}},getRemoteInfo2:async function({http:t,onAuth:e,onAuthSuccess:i,onAuthFailure:n,corsProxy:r,url:s,headers:o={},forPush:a=!1,protocolVersion:u=2}){try{az("http",t),az("url",s);const l=Uz.getRemoteHelperFor({url:s}),c=await l.discover({http:t,onAuth:e,onAuthSuccess:i,onAuthFailure:n,corsProxy:r,service:a?"git-receive-pack":"git-upload-pack",url:s,headers:o,protocolVersion:u});if(2===c.protocolVersion)return{protocolVersion:c.protocolVersion,capabilities:c.capabilities2};const h={};for(const t of c.capabilities){const[e,i]=t.split("=");h[e]=i||!0}return{protocolVersion:1,capabilities:h,refs:lq(c,void 0,!0,!0)}}catch(t){throw t.caller="git.getRemoteInfo2",t}},hashBlob:async function({object:t}){try{az("object",t),t="string"==typeof t?Buffer.from(t,"utf8"):Buffer.from(t);const e="blob",{oid:i,object:n}=await async function({type:t,object:e,format:i="content",oid:n}){return"deflated"!==i&&("wrapped"!==i&&(e=eM.wrap({type:t,object:e})),n=await uP(e)),{oid:n,object:e}}({type:"blob",format:"content",object:t});return{oid:i,type:e,object:new Uint8Array(n),format:"wrapped"}}catch(t){throw t.caller="git.hashBlob",t}},indexPack:async function({fs:t,onProgress:e,dir:i,gitdir:n=OP(i,".git"),filepath:r,cache:s={}}){try{return az("fs",t),az("dir",i),az("gitdir",i),az("filepath",r),await async function({fs:t,cache:e,onProgress:i,dir:n,gitdir:r,filepath:s}){try{s=OP(n,s);const o=await t.read(s),a=i=>fM({fs:t,cache:e,gitdir:r,oid:i}),u=await cM.fromPack({pack:o,getExternalRefDelta:a,onProgress:i});return await t.write(s.replace(/\.pack$/,".idx"),await u.toBuffer()),{oids:[...u.hashes]}}catch(t){throw t.caller="git.indexPack",t}}({fs:new oz(t),cache:s,onProgress:e,dir:i,gitdir:n,filepath:r})}catch(t){throw t.caller="git.indexPack",t}},init:async function({fs:t,bare:e=!1,dir:i,gitdir:n=(e?i:OP(i,".git")),defaultBranch:r="master"}){try{return az("fs",t),az("gitdir",n),e||az("dir",i),await tq({fs:new oz(t),bare:e,dir:i,gitdir:n,defaultBranch:r})}catch(t){throw t.caller="git.init",t}},isDescendent:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),oid:n,ancestor:r,depth:s=-1,cache:o={}}){try{return az("fs",t),az("gitdir",i),az("oid",n),az("ancestor",r),await cq({fs:new oz(t),cache:o,gitdir:i,oid:n,ancestor:r,depth:s})}catch(t){throw t.caller="git.isDescendent",t}},isIgnored:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),filepath:n}){try{return az("fs",t),az("dir",e),az("gitdir",i),az("filepath",n),lz.isIgnored({fs:new oz(t),dir:e,gitdir:i,filepath:n})}catch(t){throw t.caller="git.isIgnored",t}},listBranches:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),remote:n}){try{return az("fs",t),az("gitdir",i),YP.listBranches({fs:new oz(t),gitdir:i,remote:n})}catch(t){throw t.caller="git.listBranches",t}},listFiles:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n,cache:r={}}){try{return az("fs",t),az("gitdir",i),await hq({fs:new oz(t),cache:r,gitdir:i,ref:n})}catch(t){throw t.caller="git.listFiles",t}},listNotes:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n="refs/notes/commits",cache:r={}}){try{return az("fs",t),az("gitdir",i),az("ref",n),await async function({fs:t,cache:e,gitdir:i,ref:n}){let r;try{r=await YP.resolve({gitdir:i,fs:t,ref:n})}catch(t){if(t instanceof DP)return[]}return(await wz({fs:t,cache:e,gitdir:i,oid:r})).tree.map((t=>({target:t.path,note:t.oid})))}({fs:new oz(t),cache:r,gitdir:i,ref:n})}catch(t){throw t.caller="git.listNotes",t}},listRemotes:async function({fs:t,dir:e,gitdir:i=OP(e,".git")}){try{return az("fs",t),az("gitdir",i),await async function({fs:t,gitdir:e}){const i=await HP.get({fs:t,gitdir:e}),n=await i.getSubsections("remote");return Promise.all(n.map((async t=>({remote:t,url:await i.get(`remote.${t}.url`)}))))}({fs:new oz(t),gitdir:i})}catch(t){throw t.caller="git.listRemotes",t}},listServerRefs:async function({http:t,onAuth:e,onAuthSuccess:i,onAuthFailure:n,corsProxy:r,url:s,headers:o={},forPush:a=!1,protocolVersion:u=2,prefix:l,symrefs:c,peelTags:h}){try{az("http",t),az("url",s);const p=await qz.discover({http:t,onAuth:e,onAuthSuccess:i,onAuthFailure:n,corsProxy:r,service:a?"git-receive-pack":"git-upload-pack",url:s,headers:o,protocolVersion:u});if(1===p.protocolVersion)return lq(p,l,c,h);const f=await async function({prefix:t,symrefs:e,peelTags:i}){const n=[];return n.push(Iz.encode("command=ls-refs\n")),n.push(Iz.encode(`agent=${Kz.agent}\n`)),(i||e||t)&&n.push(Iz.delim()),i&&n.push(Iz.encode("peel")),e&&n.push(Iz.encode("symrefs")),t&&n.push(Iz.encode(`ref-prefix ${t}`)),n.push(Iz.flush()),n}({prefix:l,symrefs:c,peelTags:h});return async function(t){const e=Iz.streamReader(t),i=[];let n;for(;n=await e(),!0!==n;){if(null===n)continue;n=n.toString("utf8").replace(/\n$/,"");const[t,e,...r]=n.split(" "),s={ref:e,oid:t};for(const t of r){const[e,i]=t.split(":");"symref-target"===e?s.target=i:"peeled"===e&&(s.peeled=i)}i.push(s)}return i}((await qz.connect({http:t,auth:p.auth,headers:o,corsProxy:r,service:a?"git-receive-pack":"git-upload-pack",url:s,body:f})).body)}catch(t){throw t.caller="git.listServerRefs",t}},listTags:async function({fs:t,dir:e,gitdir:i=OP(e,".git")}){try{return az("fs",t),az("gitdir",i),YP.listTags({fs:new oz(t),gitdir:i})}catch(t){throw t.caller="git.listTags",t}},log:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),filepath:n,ref:r="HEAD",depth:s,since:o,force:a,follow:u,cache:l={}}){try{return az("fs",t),az("gitdir",i),az("ref",r),await async function({fs:t,cache:e,gitdir:i,filepath:n,ref:r,depth:s,since:o,force:a,follow:u}){const l=void 0===o?void 0:Math.floor(o.valueOf()/1e3),c=[],h=await Wz.read({fs:t,gitdir:i}),p=await YP.resolve({fs:t,gitdir:i,ref:r}),f=[await dq({fs:t,cache:e,gitdir:i,oid:p})];let d,g,m;function y(t){m&&n&&c.push(t)}for(;f.length>0;){const r=f.pop();if(void 0!==l&&r.commit.committer.timestamp<=l)break;if(n){let s;try{s=await yz({fs:t,cache:e,gitdir:i,oid:r.commit.tree,filepath:n}),g&&d!==s&&c.push(g),d=s,g=r,m=!0}catch(s){if(!(s instanceof DP))throw s;{let o=u&&d;if(o&&(o=await yq({fs:t,cache:e,gitdir:i,oid:r.commit.tree,fileId:d}),o))if(Array.isArray(o)){if(g){const r=await yq({fs:t,cache:e,gitdir:i,oid:g.commit.tree,fileId:d});if(Array.isArray(r)){if(o=o.filter((t=>-1===r.indexOf(t))),1!==o.length){o=!1,g&&c.push(g);break}o=o[0],n=o,g&&c.push(g)}}}else n=o,g&&c.push(g);if(!o){if(m&&d&&(c.push(g),!a))break;if(!a&&!u)throw s}g=r,m=!1}}}else c.push(r);if(void 0!==s&&c.length===s){y(r);break}if(!h.has(r.oid))for(const n of r.commit.parent){const r=await dq({fs:t,cache:e,gitdir:i,oid:n});f.map((t=>t.oid)).includes(r.oid)||f.push(r)}0===f.length&&y(r),f.sort(((t,e)=>gq(t.commit,e.commit)))}return c}({fs:new oz(t),cache:l,gitdir:i,filepath:n,ref:r,depth:s,since:o,force:a,follow:u})}catch(t){throw t.caller="git.log",t}},merge:async function({fs:t,onSign:e,dir:i,gitdir:n=OP(i,".git"),ours:r,theirs:s,fastForward:o=!0,fastForwardOnly:a=!1,dryRun:u=!1,noUpdateBranch:l=!1,abortOnConflict:c=!0,message:h,author:p,committer:f,signingKey:d,cache:g={},mergeDriver:m}){try{az("fs",t),d&&az("onSign",e);const y=new oz(t),b=await kz({fs:y,gitdir:n,author:p});if(!(b||a&&o))throw new CM("author");const w=await Ez({fs:y,gitdir:n,author:b,committer:f});if(!(w||a&&o))throw new CM("committer");return await oq({fs:y,cache:g,dir:i,gitdir:n,ours:r,theirs:s,fastForward:o,fastForwardOnly:a,dryRun:u,noUpdateBranch:l,abortOnConflict:c,message:h,author:b,committer:w,signingKey:d,onSign:e,mergeDriver:m})}catch(t){throw t.caller="git.merge",t}},packObjects:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),oids:n,write:r=!1,cache:s={}}){try{return az("fs",t),az("gitdir",i),az("oids",n),await async function({fs:t,cache:e,gitdir:i,oids:n,write:r}){const s=await vq({fs:t,cache:e,gitdir:i,oids:n}),o=Buffer.from(await Bz(s)),a=`pack-${o.slice(-20).toString("hex")}.pack`;return r?(await t.write(OP(i,`objects/pack/${a}`),o),{filename:a}):{filename:a,packfile:new Uint8Array(o)}}({fs:new oz(t),cache:s,gitdir:i,oids:n,write:r})}catch(t){throw t.caller="git.packObjects",t}},pull:async function({fs:t,http:e,onProgress:i,onMessage:n,onAuth:r,onAuthSuccess:s,onAuthFailure:o,dir:a,gitdir:u=OP(a,".git"),ref:l,url:c,remote:h,remoteRef:p,prune:f=!1,pruneTags:d=!1,fastForward:g=!0,fastForwardOnly:m=!1,corsProxy:y,singleBranch:b,headers:w={},author:v,committer:D,signingKey:k,cache:E={}}){try{az("fs",t),az("gitdir",u);const x=new oz(t),A=await kz({fs:x,gitdir:u,author:v});if(!A)throw new CM("author");const F=await Ez({fs:x,gitdir:u,author:A,committer:D});if(!F)throw new CM("committer");return await aq({fs:x,cache:E,http:e,onProgress:i,onMessage:n,onAuth:r,onAuthSuccess:s,onAuthFailure:o,dir:a,gitdir:u,ref:l,url:c,remote:h,remoteRef:p,fastForward:g,fastForwardOnly:m,corsProxy:y,singleBranch:b,headers:w,author:A,committer:F,signingKey:k,prune:f,pruneTags:d})}catch(t){throw t.caller="git.pull",t}},push:async function({fs:t,http:e,onProgress:i,onMessage:n,onAuth:r,onAuthSuccess:s,onAuthFailure:o,dir:a,gitdir:u=OP(a,".git"),ref:l,remoteRef:c,remote:h="origin",url:p,force:f=!1,delete:d=!1,corsProxy:g,headers:m={},cache:y={}}){try{return az("fs",t),az("http",e),az("gitdir",u),await kq({fs:new oz(t),cache:y,http:e,onProgress:i,onMessage:n,onAuth:r,onAuthSuccess:s,onAuthFailure:o,gitdir:u,ref:l,remoteRef:c,remote:h,url:p,force:f,delete:d,corsProxy:g,headers:m})}catch(t){throw t.caller="git.push",t}},readBlob:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),oid:n,filepath:r,cache:s={}}){try{return az("fs",t),az("gitdir",i),az("oid",n),await xq({fs:new oz(t),cache:s,gitdir:i,oid:n,filepath:r})}catch(t){throw t.caller="git.readBlob",t}},readCommit:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),oid:n,cache:r={}}){try{return az("fs",t),az("gitdir",i),az("oid",n),await dq({fs:new oz(t),cache:r,gitdir:i,oid:n})}catch(t){throw t.caller="git.readCommit",t}},readNote:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n="refs/notes/commits",oid:r,cache:s={}}){try{return az("fs",t),az("gitdir",i),az("ref",n),az("oid",r),await async function({fs:t,cache:e,gitdir:i,ref:n="refs/notes/commits",oid:r}){const s=await YP.resolve({gitdir:i,fs:t,ref:n}),{blob:o}=await xq({fs:t,cache:e,gitdir:i,oid:s,filepath:r});return o}({fs:new oz(t),cache:s,gitdir:i,ref:n,oid:r})}catch(t){throw t.caller="git.readNote",t}},readObject:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),oid:n,format:r="parsed",filepath:s,encoding:o,cache:a={}}){try{az("fs",t),az("gitdir",i),az("oid",n);const e=new oz(t);void 0!==s&&(n=await yz({fs:e,cache:a,gitdir:i,oid:n,filepath:s}));const u="parsed"===r?"content":r,l=await fM({fs:e,cache:a,gitdir:i,oid:n,format:u});if(l.oid=n,"parsed"===r)switch(l.format="parsed",l.type){case"commit":l.object=WM.from(l.object).parse();break;case"tree":l.object=tM.from(l.object).entries();break;case"blob":o?l.object=l.object.toString(o):(l.object=new Uint8Array(l.object),l.format="content");break;case"tag":l.object=UM.from(l.object).parse();break;default:throw new kP(l.oid,l.type,"blob|commit|tag|tree")}else"deflated"!==l.format&&"wrapped"!==l.format||(l.type=l.format);return l}catch(t){throw t.caller="git.readObject",t}},readTag:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),oid:n,cache:r={}}){try{return az("fs",t),az("gitdir",i),az("oid",n),await async function({fs:t,cache:e,gitdir:i,oid:n}){const{type:r,object:s}=await fM({fs:t,cache:e,gitdir:i,oid:n,format:"content"});if("tag"!==r)throw new kP(n,r,"tag");const o=UM.from(s);return{oid:n,tag:o.parse(),payload:o.payload()}}({fs:new oz(t),cache:r,gitdir:i,oid:n})}catch(t){throw t.caller="git.readTag",t}},readTree:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),oid:n,filepath:r,cache:s={}}){try{return az("fs",t),az("gitdir",i),az("oid",n),await wz({fs:new oz(t),cache:s,gitdir:i,oid:n,filepath:r})}catch(t){throw t.caller="git.readTree",t}},remove:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),filepath:n,cache:r={}}){try{az("fs",t),az("gitdir",i),az("filepath",n),await dP.acquire({fs:new oz(t),gitdir:i,cache:r},(async function(t){t.delete({filepath:n})}))}catch(t){throw t.caller="git.remove",t}},removeNote:async function({fs:t,onSign:e,dir:i,gitdir:n=OP(i,".git"),ref:r="refs/notes/commits",oid:s,author:o,committer:a,signingKey:u,cache:l={}}){try{az("fs",t),az("gitdir",n),az("oid",s);const i=new oz(t),c=await kz({fs:i,gitdir:n,author:o});if(!c)throw new CM("author");const h=await Ez({fs:i,gitdir:n,author:c,committer:a});if(!h)throw new CM("committer");return await async function({fs:t,cache:e,onSign:i,gitdir:n,ref:r="refs/notes/commits",oid:s,author:o,committer:a,signingKey:u}){let l;try{l=await YP.resolve({gitdir:n,fs:t,ref:r})}catch(t){if(!(t instanceof DP))throw t}let c=(await wz({fs:t,gitdir:n,oid:l||"4b825dc642cb6eb9a060e54bf8d69288fbee4904"})).tree;c=c.filter((t=>t.path!==s));const h=await vz({fs:t,gitdir:n,tree:c});return await gz({fs:t,cache:e,onSign:i,gitdir:n,ref:r,tree:h,parent:l&&[l],message:"Note removed by 'isomorphic-git removeNote'\n",author:o,committer:a,signingKey:u})}({fs:i,cache:l,onSign:e,gitdir:n,ref:r,oid:s,author:c,committer:h,signingKey:u})}catch(t){throw t.caller="git.removeNote",t}},renameBranch:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n,oldref:r,checkout:s=!1}){try{return az("fs",t),az("gitdir",i),az("ref",n),az("oldref",r),await async function({fs:t,gitdir:e,oldref:i,ref:n,checkout:r=!1}){if(n!==WL.clean(n))throw new EM(n,WL.clean(n));if(i!==WL.clean(i))throw new EM(i,WL.clean(i));const s=`refs/heads/${i}`,o=`refs/heads/${n}`;if(await YP.exists({fs:t,gitdir:e,ref:o}))throw new dM("branch",n,!1);const a=await YP.resolve({fs:t,gitdir:e,ref:s,depth:1});await YP.writeRef({fs:t,gitdir:e,ref:o,value:a}),await YP.deleteRef({fs:t,gitdir:e,ref:s});const u=await _z({fs:t,gitdir:e,fullname:!0});(r||u===s)&&await YP.writeSymbolicRef({fs:t,gitdir:e,ref:"HEAD",value:o})}({fs:new oz(t),gitdir:i,ref:n,oldref:r,checkout:s})}catch(t){throw t.caller="git.renameBranch",t}},resetIndex:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),filepath:n,ref:r,cache:s={}}){try{az("fs",t),az("gitdir",i),az("filepath",n);const o=new oz(t);let a,u;try{a=await YP.resolve({fs:o,gitdir:i,ref:r||"HEAD"})}catch(t){if(r)throw t}if(a)try{a=await yz({fs:o,cache:s,gitdir:i,oid:a,filepath:n})}catch(t){a=null}let l={ctime:new Date(0),mtime:new Date(0),dev:0,ino:0,mode:0,uid:0,gid:0,size:0};const c=e&&await o.read(OP(e,n));c&&(u=await Aq({gitdir:i,type:"blob",object:c}),a===u&&(l=await o.lstat(OP(e,n)))),await dP.acquire({fs:o,gitdir:i,cache:s},(async function(t){t.delete({filepath:n}),a&&t.insert({filepath:n,stats:l,oid:a})}))}catch(t){throw t.caller="git.reset",t}},updateIndex:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),cache:n={},filepath:r,oid:s,mode:o,add:a,remove:u,force:l}){try{az("fs",t),az("gitdir",i),az("filepath",r);const c=new oz(t);if(u)return await dP.acquire({fs:c,gitdir:i,cache:n},(async function(t){let i;if(l||(i=await c.lstat(OP(e,r)),!i))t.has({filepath:r})&&t.delete({filepath:r});else if(i.isDirectory())throw new kM("directory")}));let h;if(!s){if(h=await c.lstat(OP(e,r)),!h)throw new DP(`file at "${r}" on disk and "remove" not set`);if(h.isDirectory())throw new kM("directory")}return await dP.acquire({fs:c,gitdir:i,cache:n},(async function(t){if(!a&&!t.has({filepath:r}))throw new DP(`file at "${r}" in index and "add" not set`);let n={ctime:new Date(0),mtime:new Date(0),dev:0,ino:0,mode:o,uid:0,gid:0,size:0};if(!s){n=h;const t=n.isSymbolicLink()?await c.readlink(OP(e,r)):await c.read(OP(e,r));s=await pz({fs:c,gitdir:i,type:"blob",format:"content",object:t})}return t.insert({filepath:r,oid:s,stats:n}),s}))}catch(t){throw t.caller="git.updateIndex",t}},resolveRef:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n,depth:r}){try{az("fs",t),az("gitdir",i),az("ref",n);return await YP.resolve({fs:new oz(t),gitdir:i,ref:n,depth:r})}catch(t){throw t.caller="git.resolveRef",t}},status:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),filepath:n,cache:r={}}){try{az("fs",t),az("gitdir",i),az("filepath",n);const s=new oz(t);if(await lz.isIgnored({fs:s,gitdir:i,dir:e,filepath:n}))return"ignored";const o=await async function({fs:t,cache:e,gitdir:i}){let n;try{n=await YP.resolve({fs:t,gitdir:i,ref:"HEAD"})}catch(t){if(t instanceof DP)return[]}const{tree:r}=await wz({fs:t,cache:e,gitdir:i,oid:n});return r}({fs:s,cache:r,gitdir:i}),a=await Fq({fs:s,cache:r,gitdir:i,tree:o,path:n}),u=await dP.acquire({fs:s,gitdir:i,cache:r},(async function(t){for(const e of t)if(e.path===n)return e;return null})),l=await s.lstat(OP(e,n)),c=null!==a,h=null!==u,p=null!==l,f=async()=>{if(h&&!hP(u,l))return u.oid;{const t=await s.read(OP(e,n)),o=await Aq({gitdir:i,type:"blob",object:t});return h&&u.oid===o&&-1!==l.size&&dP.acquire({fs:s,gitdir:i,cache:r},(async function(t){t.insert({filepath:n,stats:l,oid:o})})),o}};if(!c&&!p&&!h)return"absent";if(!c&&!p&&h)return"*absent";if(!c&&p&&!h)return"*added";if(!c&&p&&h){return await f()===u.oid?"added":"*added"}if(c&&!p&&!h)return"deleted";if(c&&!p&&h)return u.oid,"*deleted";if(c&&p&&!h){return await f()===a?"*undeleted":"*undeletemodified"}if(c&&p&&h){const t=await f();return t===a?t===u.oid?"unmodified":"*unmodified":t===u.oid?"modified":"*modified"}}catch(t){throw t.caller="git.status",t}},statusMatrix:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n="HEAD",filepaths:r=["."],filter:s,cache:o={},ignored:a=!1}){try{az("fs",t),az("gitdir",i),az("ref",n);const u=new oz(t);return await tz({fs:u,cache:o,dir:e,gitdir:i,trees:[KM({ref:n}),JM(),vP()],map:async function(t,[i,n,o]){if(!i&&!o&&n&&!a){if(await lz.isIgnored({fs:u,dir:e,filepath:t}))return null}if(!r.some((e=>Az(t,e))))return null;if(s&&!s(t))return;const[l,c,h]=await Promise.all([i&&i.type(),n&&n.type(),o&&o.type()]),p=[l,c,h].includes("blob");if(("tree"===l||"special"===l)&&!p)return;if("commit"===l)return null;if(("tree"===c||"special"===c)&&!p)return;if("commit"===h)return null;if(("tree"===h||"special"===h)&&!p)return;const f="blob"===l?await i.oid():void 0,d="blob"===h?await o.oid():void 0;let g;"blob"!==l&&"blob"===c&&"blob"!==h?g="42":"blob"===c&&(g=await n.oid());const m=[void 0,f,g,d],y=m.map((t=>m.indexOf(t)));return y.shift(),[t,...y]}})}catch(t){throw t.caller="git.statusMatrix",t}},tag:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n,object:r,force:s=!1}){try{az("fs",t),az("gitdir",i),az("ref",n);const e=new oz(t);if(void 0===n)throw new SM("ref");n=n.startsWith("refs/tags/")?n:`refs/tags/${n}`;const o=await YP.resolve({fs:e,gitdir:i,ref:r||"HEAD"});if(!s&&await YP.exists({fs:e,gitdir:i,ref:n}))throw new dM("tag",n);await YP.writeRef({fs:e,gitdir:i,ref:n,value:o})}catch(t){throw t.caller="git.tag",t}},version:function(){try{return Kz.version}catch(t){throw t.caller="git.version",t}},walk:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),trees:n,map:r,reduce:s,iterate:o,cache:a={}}){try{return az("fs",t),az("gitdir",i),az("trees",n),await tz({fs:new oz(t),cache:a,dir:e,gitdir:i,trees:n,map:r,reduce:s,iterate:o})}catch(t){throw t.caller="git.walk",t}},writeBlob:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),blob:n}){try{return az("fs",t),az("gitdir",i),az("blob",n),await pz({fs:new oz(t),gitdir:i,type:"blob",object:n,format:"content"})}catch(t){throw t.caller="git.writeBlob",t}},writeCommit:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),commit:n}){try{return az("fs",t),az("gitdir",i),az("commit",n),await async function({fs:t,gitdir:e,commit:i}){const n=WM.from(i).toObject();return await pz({fs:t,gitdir:e,type:"commit",object:n,format:"content"})}({fs:new oz(t),gitdir:i,commit:n})}catch(t){throw t.caller="git.writeCommit",t}},writeObject:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),type:n,object:r,format:s="parsed",oid:o,encoding:a}){try{const e=new oz(t);if("parsed"===s){switch(n){case"commit":r=WM.from(r).toObject();break;case"tree":r=tM.from(r).toObject();break;case"blob":r=Buffer.from(r,a);break;case"tag":r=UM.from(r).toObject();break;default:throw new kP(o||"",n,"blob|commit|tag|tree")}s="content"}return o=await pz({fs:e,gitdir:i,type:n,object:r,oid:o,format:s})}catch(t){throw t.caller="git.writeObject",t}},writeRef:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n,value:r,force:s=!1,symbolic:o=!1}){try{az("fs",t),az("gitdir",i),az("ref",n),az("value",r);const e=new oz(t);if(n!==WL.clean(n))throw new EM(n,WL.clean(n));if(!s&&await YP.exists({fs:e,gitdir:i,ref:n}))throw new dM("ref",n);o?await YP.writeSymbolicRef({fs:e,gitdir:i,ref:n,value:r}):(r=await YP.resolve({fs:e,gitdir:i,ref:r}),await YP.writeRef({fs:e,gitdir:i,ref:n,value:r}))}catch(t){throw t.caller="git.writeRef",t}},writeTag:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),tag:n}){try{return az("fs",t),az("gitdir",i),az("tag",n),await async function({fs:t,gitdir:e,tag:i}){const n=UM.from(i).toObject();return await pz({fs:t,gitdir:e,type:"tag",object:n,format:"content"})}({fs:new oz(t),gitdir:i,tag:n})}catch(t){throw t.caller="git.writeTag",t}},writeTree:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),tree:n}){try{return az("fs",t),az("gitdir",i),az("tree",n),await vz({fs:new oz(t),gitdir:i,tree:n})}catch(t){throw t.caller="git.writeTree",t}}},Sq=/^((bump(ed)?|chore( *\(release\))?)[ :]*)?v?\d+\.\d+\.\d+/i;function _q(t,e){"function"==typeof t&&(e=t,t=null);const i=jq(t);if(null==e)return i;i.then((function(t){process.nextTick(e,null,t)})).catch((function(t){process.nextTick(e,t)}))}async function jq(t){t||(t={});const e=o.resolve(t.cwd||"."),i=t.gitdir?o.resolve(t.gitdir):o.join(e,".git"),n=!("gt"in t),r=!("lt"in t),s=Rq(n?t.gte:t.gt)||null,u=Rq(r?t.lte:t.lt)||"HEAD",l=t.limit||1e3,c=s?await Bq(e,i,s):null,h=await Bq(e,i,u),p=!0===t.ignoreTags,f=[],d=[],g=new Map;let m=!1,y=h,b=c;for(;!m&&f.length1&&(e.isMergeCommit=!0,e.pr=Tq(e.message),e.commits=[],2===e.parent.length&&d.push(e)),f.length===l&&(m=!0),m)break}y=s[s.length-1].oid}for(const t of d){if(null==t.pr)continue;let e,[i,n]=t.parent;for(;i!==n&&(e=g.get(i))&&t.commits.length"origin"===t.remote))[0];if(i&&i.url){const t=Pr.fromUrl(i.url,{optional:!0});if(t)return t.slug({commitish:!1})}}catch(t){console.error(t)}}(e,i);for(const t of f)t.ghrepo=w;if(t.submodules&&a.existsSync(o.join(e,".gitmodules"))){const t=new Map;for(const{commit:i,submodule:n}of Oq(e,b))t.set(n,{gt:i});for(const{commit:i,submodule:n}of Oq(e,h))t.has(n)&&(t.get(n).gt===i?t.delete(n):t.get(n).lte=i);for(const[i,{gt:n,lte:r}]of t){const t=o.join(e,i),s=o.join(e,".git","modules",i),a=await jq({cwd:t,gitdir:s,gt:n,lte:r,limit:l,ignoreTags:!0,submodules:!1});f.push(...a.map((t=>({...t,submodule:i}))))}}return f}function Oq(t,e){if(!e)throw new Error("Cannot list submodules without ref");return x.execFileSync("git",["ls-tree",e],{cwd:t,encoding:"utf8"}).split(/\r?\n/).map((t=>t.split(/\s+/))).filter((t=>"commit"===t[1])).map((([t,e,i,n])=>({commit:i,submodule:n})))}async function Bq(t,e,i){const n=await Cq.resolveRef({fs:a,dir:t,gitdir:e,ref:i}),r=await Cq.readObject({fs:a,dir:t,gitdir:e,oid:n,encoding:"utf8"});if("commit"===r.type)return n;if("tag"===r.type&&"commit"===r.object.type&&r.object.object)return r.object.object;throw new Error("Could not resolve "+i+" to commit")}function Tq(t){return/^Merge pull request #\d/i.test(t)?parseInt(t.slice(20),10):null}function Rq(t){return/^head$/i.test(t)?"HEAD":t}const Iq=new Map([["change","Changed"],["addition","Added"],["removal","Removed"],["fix","Fixed"],["uncategorized","Uncategorized"],["none",null]]),$q=1,Nq=2,Lq=3,Pq=4,Mq=5;function zq(t,e){return/^breaking:/i.test(t)&&(t=t.slice(9).trim(),e=e?`${e} (breaking)`:"Breaking"),e?`**${e}:** ${t}`:t}function qq(t,e){const i={description:null,category:null,notice:null,references:[],authors:null},n=t.split(/\r?\n/),r=new Set;t="";for(let e=0;e0?Wq(s.slice(0,o)):null;if(!a){t+=s+"\n";continue}let u=s.slice(o+1).trim();for(;e+10){const e=u.slice(0,t).trim();0===e.length||Gq({name:e})||r.add(e)}break}case Pq:{u.endsWith(".")&&(u=u.slice(0,u.length-1));const t=u.split(/\s*,\s*/);i.references.push(...t.filter(Hq));break}}}return!e||!e.name||0!==r.size&&Gq(e)||r.has(e.name)?i.authors=Array.from(r):i.authors=[e.name,...r],i.description=t.trim(),i}function Uq(t){return t.mergeCommit?t.mergeCommit.author:t.committer}function Gq(t){return"Greenkeeper"===t.name||"greenkeeper[bot]"===t.name||t.email&&t.email.endsWith("@greenkeeper.io")||"dependabot[bot]"===t.name||"github-actions"===t.name}function Wq(t){return/^Category$/i.test(t)?$q:/^Notice$/i.test(t)?Nq:/^Co-Authored-By$/i.test(t)?Lq:/^(Ref|Refs|Fixes|Closes|CVE-ID)$/i.test(t)?Pq:/^(Reviewed-By|Signed-Off-By|Acked-By)$/i.test(t)?Mq:void 0}function Hq(t){return/^(#\d+|[a-z]{2,4}-\d+|CVE-\d+-\d+)$/i.test(t)}const Vq="remark-common-changelog",Kq=new Set(["history","releases","changelog"]),Yq=new Set(["Changed","Added","Deprecated","Removed","Fixed","Security"]),Jq="Uncategorized";function Zq(t){const e=!!(t=t||{}).fix,i=!!t.submodules,n=t.add,r=t=>this.parse(t).children;return async function(s,a){if(a.basename&&"CHANGELOG.md"!==a.basename)return void(Kq.has(a.stem.toLowerCase())&&d("Filename must be CHANGELOG.md",s,"filename"));if(!wj(s,"root")||!s.children)throw new Error("Expected a root node");const u=o.resolve(t.cwd||a.cwd),l=function(t,e){return function(){return e=e||cI.sync({cwd:t})||{}}}(u,t.pkg),c=function(t,e,i){if(e.repository)return Pr.fromUrl(e.repository,{committish:!1}).homepage();const n=Pr.fromPkg(i(),{committish:!1,optional:!0})||Pr.fromGit(t,{committish:!1});return n.homepage()}(u,t,l),h=function(t){const e=A("git",["tag"],{cwd:t,maxBuffer:16777216,encoding:"utf8"}),i=e.split(/\r?\n/).map((t=>{const e=t&&fD.valid(t);return e?{tag:t,normalTag:"v"+e,version:e}:null}));return i.filter(Boolean).sort(((t,e)=>Xq(t.version,e.version)))}(u),p=pI(r,s.children),f=new Set;e?p.buildHeading():p.hasValidHeading()||d('Changelog must start with a top-level "Changelog" heading',p.heading||s,"title"),e?(n&&function e(i,n){if(Array.isArray(i))return void i.forEach((t=>e(t,n)));if("object"==typeof i&&null!==i){const t={gte:null,lte:null};for(const e of["gte","lte"])if(i[e]&&(t[e]="string"==typeof i[e]?fD.parse(i[e]):null,!t[e]))return void d("The `"+e+"` option must be a semver-valid version",s,"add-new-release");const n=h.map((t=>t.version)),r=n.filter(function(t){return function(e){return(null==t.gte||fD.gte(e,t.gte))&&(null==t.lte||fD.lte(e,t.lte))}}(t));return void e(r,!1)}if("string"!=typeof i||""===i)return void d("Target must be a non-empty string",s,"add-new-release");let r=fD.valid(i);const o=!!r;if(!r&&n){let e=t.version||l().version||function(t){let e;try{e=A("git",["describe","--tags","--abbrev=0"],{cwd:t,encoding:"utf8",stdio:["ignore","pipe","ignore"]}).trim()}catch{return null}return e&&fD.valid(e)||null}(u)||"0.0.0";const n=p.children[0]&&p.children[0].version;if(n&&fD.gt(n,e)&&(e=n),fD.valid(e)!==e)throw new Error(`Current version is not semver-valid: ${e}`);r=fD.inc(e,i)}if(!r)return void d(`Target (${i}) must be a version or release type ([pre]major, [pre]minor, [pre]patch or prerelease)`,s,"add-new-release");if(p.children.some((t=>t.version===r)))return void d(`Target version ${r} already exists`,s,"add-new-release");const a=o?function(t,e){try{const i=A("git",["log","-1","--format=%aI",e],{cwd:t,encoding:"utf8",stdio:["ignore","pipe","ignore"]}).trim();return i?new Date(i):null}catch{return null}}(u,"v"+r):null,c=t.Date||Date;p.createRelease(r,function(t){const e=t.getFullYear(),i=nU(t.getMonth()+1),n=nU(t.getDate());return`${e}-${i}-${n}`}(a||new c))}(n,!0),p.children.sort(Qq)):iU(p.children,Qq)||(d("Releases must be sorted latest-first",s,"latest-release-first"),p.children.sort(Qq)),e&&p.children.forEach((function(t,e,i){if(t.previousVersion=i[e+1]?i[e+1].version:null,t.version){const e=h.findIndex((e=>e.version===t.version)),i=e>=0?h[e+1]&&h[e+1].version:h[0]&&h[0].version;i&&(e=>!t.previousVersion||fD.gt(e,t.previousVersion))(i)&&fD.gt(t.version,i)&&(t.previousVersion=i)}})),await Promise.all(p.children.map((async function(n){const{heading:r}=n;if(!wj(r,{depth:2}))return void d("Release must start with second-level heading",r,"release-heading-depth");if(!n.parseable)return void d('Release heading must have the format " - "',r,"release-heading");n.version&&(f.has(n.version)&&d("Release version must be unique",r,"unique-release"),f.add(n.version));n.version?fD.valid(n.version)!==n.version&&d("Release version must be semver-valid",r,"release-version"):d("Release must have a version",r,"release-version");n.date?/^\d{4}-\d{2}-\d{2}$/.test(n.date)||d("Release date must have format YYYY-MM-DD",r,"release-date"):d("Release must have date",r,"release-date");n.isEmpty()&&await async function(n){const{heading:r,version:s,previousVersion:o}=n;if(e&&s&&o){const e=!1!==t.commits;let a=[];if(e){const t=eU(o,h),e={cwd:u,gt:t,limit:100,submodules:i},n=h.find((t=>t.version===s));n?e.lt=n.tag:e.lte="HEAD";try{a=await _q(e)}catch(t){const i=`> ${e.gt} `+(e.lt?`< ${e.lt}`:`<= ${e.lte}`);return void d(`Failed to get commits for release (${s}) (${i}): ${t.message}`,r,"no-empty-release")}}const l=function(t){const e={Changed:[],Added:[],Removed:[],Fixed:[],Uncategorized:[]};for(const i of t){if(i.isMergeCommit)continue;let t=i.title;const n=i.oid.slice(0,7),r=Gq(i.author)?Uq(i):i.author,s=qq(i.description||"",r);i.submodule?(t=zq(t,i.submodule),i.ghrepo&&(i.pr?t+=` (${i.ghrepo}#${i.pr})`:n&&(t+=` (${i.ghrepo}@${n})`))):(t=zq(t),i.pr?t+=` (#${i.pr})`:n&&(t+=` (${n})`)),s.references.length>0&&(t+=` (${s.references.join(", ")})`),s.authors.length>0&&(t+=` (${s.authors.join(", ")})`);const o=s.category?Iq.get(s.category):"Uncategorized";o&&e[o].push({title:t,description:s.description,notice:s.notice})}return e}(a),c=!e||l[Jq].length>0,p=[];for(const t in l){const e=l[t];if(!(e.length||c&&t!==Jq))continue;const i=n.createGroup(t);if(e.length){i.createList(e);for(const t of e)t.notice&&p.push(t.notice)}}if(e&&p.length>0&&n.createNotice(p.map(rU).join(" ")),!n.isEmpty())return}else if(e&&("0.0.1"===s||"0.1.0"===s||"1.0.0"===s))return void n.createNotice(":seedling: Initial release.");d(`Release (${s||"n/a"}) is empty`,r,"no-empty-release")}(n);const s=n.children.some((function(t){return t.type()===Jq&&!t.isEmpty()}));n.children.forEach((function(t){!function(t,e){if(!t.hasValidHeading())return void d("Group must start with a third-level, text-only heading",t.heading,"group-heading");const i=t.type(),n=Array.from(Yq).join(", ");i?i!==Jq&&e||!t.isEmpty()?Yq.has(i)||(i===Jq?d("Categorize the changes",t.heading,"no-uncategorized-changes"):d(`Group heading must be one of ${n}`,t.heading,"group-heading-type")):d(`Remove or fill empty group ${i}`,t.heading,"no-empty-group"):d(`Group heading must be one of ${n}`,t.heading,"group-heading-type")}(t,s)}))})));for(let t=0;te(t[0],i[0]))),new Map(i)}(p.definitions,Xq):function(t,e){return iU(Array.from(t.keys()),e)}(p.definitions,Xq)||d("Definitions must be sorted latest-first",s,"latest-definition-first"),e)return s.children=p.tree(),s;function d(t,e,i){a.message(t,e,`${Vq}:${i}`)}}}function Qq(t,e){return t.version&&e.version?Xq(t.version,e.version):t.index-e.index}function Xq(t,e){if(t===e)return 0;let i=fD.valid(t),n=fD.valid(e);return i&&(i=i.replace(/-rc(\d+)$/,((t,e)=>"-rc."+e))),n&&(n=n.replace(/-rc(\d+)$/,((t,e)=>"-rc."+e))),i&&n?fD.compare(n,i):i?-1:n?1:t.localeCompare(e)}function tU(t,e,i){return`${t}/releases/tag/${eU(`v${i}`,e)}`}function eU(t,e){"v"!==t[0]&&(t="v"+t);const i=e.find((e=>e.normalTag===t));return i?i.tag:t}function iU(t,e){for(let i=0;i0)return!1;return!0}function nU(t){return t<10?`0${t}`:t}function rU(t){return(t=t.trim()).endsWith(".")?t:t+"."}const sU={};function oU(t,e,i){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||i?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return aU(t.children,e,i)}return Array.isArray(t)?aU(t,e,i):""}function aU(t,e,i){const n=[];let r=-1;for(;++r{const n=t.repository||function(t){let e;try{e=JSON.parse(String(a.readFileSync(o.join(t,"package.json"))))}catch{}return e&&e.repository?"object"==typeof e.repository?e.repository.url:e.repository:""}(i.cwd),r=gU.exec(n||"");if(!r)throw new Error("Missing or invalid `repository` field in `options`");const s={user:r[1],project:r[2]};function u(e){return t.buildUrl?t.buildUrl(e,vU):vU(e)}BO(e,[[mU,function(t,e,i,n,r,o){if(/[^\t\n\r (@[{]/.test(o.input.charAt(o.index-1))||/\w/.test(o.input.charAt(o.index+t.length)))return!1;const a=i||s.project,l=u(n?{type:"issue",user:e,project:a,no:n}:{type:"commit",user:e,project:a,hash:r});if(!l)return!1;const c=[];let h="";a!==s.project?h+=e+"/"+a:e!==s.user&&(h+=e);n?h+="#"+n:(h+="@",c.push({type:"inlineCode",value:wU(r)}));return c.unshift({type:"text",value:h}),{type:"link",title:null,url:l,children:c}}],[yU,function(e,i,n){if(/[\w`]/.test(n.input.charAt(n.index-1))||/[/\w`]/.test(n.input.charAt(n.index+e.length))||uU.has(i))return!1;const r=u({type:"mention",user:i});if(!r)return!1;let s={type:"text",value:e};!1!==t.mentionStrong&&(s={type:"strong",children:[s]});return{type:"link",title:null,url:r,children:[s]}}],[/(?:#|\bgh-)([1-9]\d*)/gi,function(t,e,i){if(/\w/.test(i.input.charAt(i.index-1))||/\w/.test(i.input.charAt(i.index+t.length)))return!1;const n=u({type:"issue",...s,no:e});return!!n&&{type:"link",title:null,url:n,children:[{type:"text",value:t}]}}],[/\b([a-f\d]{7,40})\.{3}([a-f\d]{7,40})\b/gi,function(t,e,i,n){if(/[^\t\n\r (@[{]/.test(n.input.charAt(n.index-1))||/\w/.test(n.input.charAt(n.index+t.length))||lU.has(t))return!1;const r=u({type:"compare",...s,base:e,compare:i});return!!r&&{type:"link",title:null,url:r,children:[{type:"inlineCode",value:wU(e)+"..."+wU(i)}]}}],[/\b[a-f\d]{7,40}\b/gi,function(t,e){if(/[^\t\n\r (@[{.]/.test(e.input.charAt(e.index-1))||"."===e.input.charAt(e.index-1)&&"."!==e.input.charAt(e.index-2)||/\w/.test(e.input.charAt(e.index+t.length))||lU.has(t))return!1;const i=u({type:"commit",...s,hash:t});return!!i&&{type:"link",title:null,url:i,children:[{type:"inlineCode",value:wU(t)}]}}]],{ignore:["link","linkReference"]}),Cj(e,"link",(t=>{const e=function(t){const e=t.url||"",i=dU.exec(e);if(!i||1!==t.children.length||"text"!==t.children[0].type||function(t,e){const i=e||sU;return oU(t,"boolean"!=typeof i.includeImageAlt||i.includeImageAlt,"boolean"!=typeof i.includeHtml||i.includeHtml)}(t)!==e||"commit"===i[3]&&(i[4].length<4||i[4].length>40)||"compare"===i[3]&&!/^[a-f\d]{4,40}\.{3}[a-f\d]{4,40}$/.test(i[4])||("issues"===i[3]||"pull"===i[3])&&/[a-f]/i.test(i[4])||i[2].length>=100)return;let n=i[4];if("compare"===i[3]){const[t,e]=n.split("...");n=wU(t)+"..."+wU(e)}else n=wU(n);return{user:i[1],project:i[2],page:i[3],reference:n,comment:"#"===e.charAt(i[0].length)&&i[0].length+1"))throw new Error("The url must contain for the reference number");const r=new RegExp("\\b"+function(t){return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e)+"(\\d+)","g");return function(t,e){BO(t,[[r,function(r,s,o){if("["===o.input.charAt(o.index-1))return!1;if(/\w/.test(o.input.charAt(o.index+r.length)))return!1;if(!n)return e.message(`Reference ${r} must be a link`,t,"remark-autolink-references:require-link"),!1;return{type:"link",title:null,url:i.replace("",s),children:[{type:"text",value:r}]}}]],{ignore:["link","linkReference"]})}}const kU=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,EU=Object.hasOwnProperty;class xU{constructor(){this.occurrences,this.reset()}slug(t,e){const i=this;let n=function(t,e){if("string"!=typeof t)return"";e||(t=t.toLowerCase());return t.replace(kU,"").replace(/ /g,"-")}(t,!0===e);const r=n;for(;EU.call(i.occurrences,n);)i.occurrences[r]++,n=r+"-"+i.occurrences[r];return i.occurrences[n]=0,n}reset(){this.occurrences=Object.create(null)}}const AU={};function FU(t,e,i){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||i?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return CU(t.children,e,i)}return Array.isArray(t)?CU(t,e,i):""}function CU(t,e,i){const n=[];let r=-1;for(;++re===t)),s=[];let o,a,u;return _U.reset(),Cj(t,"heading",((t,l,c)=>{const h=function(t,e){const i=e||AU;return FU(t,"boolean"!=typeof i.includeImageAlt||i.includeImageAlt,"boolean"!=typeof i.includeHtml||i.includeHtml)}(t,{includeImageAlt:!1}),p=t.data&&t.data.hProperties&&t.data.hProperties.id,f=_U.slug(p||h);if(r(c)){if(null!==l&&e&&!o&&e.test(h))return o=l+1,void(u=t);null!==l&&u&&!a&&t.depth<=u.depth&&(a=l),!a&&e||i.maxDepth&&!(t.depth<=i.maxDepth)||n&&n.test(h)||s.push({depth:t.depth,children:t.children,id:f})}})),{index:void 0===o?-1:o,endIndex:void 0===o?-1:a||t.children.length,map:s}}function OU(t,e){const{ordered:i=!1,tight:n=!1,prefix:r=null}=e,s={type:"list",ordered:i,spread:!1,children:[]};let o=Number.POSITIVE_INFINITY,a=-1;for(;++a0){BU(t,e.children[e.children.length-1],i)}else{const n={type:"listItem",spread:!1,children:[]};e.children.push(n),BU(t,n,i)}else if(r&&"list"===r.type)t.depth--,BU(t,r,i);else{const n={type:"list",ordered:i.ordered,spread:!1,children:[]};e.children.push(n),t.depth--,BU(t,n,i)}if("list"!==e.type||i.tight)e.spread=!i.tight;else for(e.spread=!1;++n1){e.spread=!0;break}}function TU(t){let e=[],i=-1;if(t)for(;++i{const i=function(t,e){const i=e||{},n=i.heading?SU(i.heading):void 0,r=jU(t,n,i);return{index:n?r.index:null,endIndex:n?r.endIndex:null,map:r.map.length>0?OU(r.map,i):null}}(e,Object.assign({},t,{heading:t.heading||"toc|table[ -]of[ -]contents?"}));null!==i.endIndex&&null!==i.index&&-1!==i.index&&i.map&&(e.children=[...e.children.slice(0,i.index),i.map,...e.children.slice(i.endIndex)])}}function $U(t){return t&&(t.value||t.alt||t.title||"children"in t&&NU(t.children)||"length"in t&&NU(t))||""}function NU(t){for(var e=[],i=t.length,n=-1;++nt.summary:t.summary;if("function"!=typeof e)throw new Error("options.summary must be function");return function(i){zU(i,t.test,(function(t,i,n){return[t,{type:"paragraph",children:[{type:"html",value:"
"},{type:"html",value:""},{type:"text",value:e(qU(t))},{type:"html",value:""}]},...i,{type:"paragraph",children:[{type:"html",value:"
"}]},n]}))}},WU=q(GU);function HU(t){const e=String(t),i=[],n=/\r?\n|\r/g;for(;n.test(e);)i.push(n.lastIndex);return i.push(e.length+1),{toPoint:function(t){let e=-1;if("number"==typeof t&&t>-1&&tt)return{line:e+1,column:t-(e>0?i[e-1]:0)+1,offset:t};return{line:void 0,column:void 0,offset:void 0}},toOffset:function(t){const e=t&&t.line,n=t&&t.column;if("number"==typeof e&&"number"==typeof n&&!Number.isNaN(e)&&!Number.isNaN(n)&&e-1 in i){const t=(i[e-2]||0)+n-1||0;if(t>-1&&t":""),""+h+")")}));var h;return p;function p(){var l,c,h,p=[];if((!e||r(o,a,u[u.length-1]||null))&&(p=function(t){if(Array.isArray(t))return t;if("number"==typeof t)return[VU,t];return[t]}(i(o,u)),p[0]===KU))return p;if(o.children&&"skip"!==p[0])for(c=(n?o.children.length:-1)+s,h=u.concat(o);c>-1&&c0?r[r.length-1].state:t?n?e.includes(t):!i.includes(t):!n}(s);if(r!==a&&o.push({state:r,point:t}),!s)for(s in c)ZU.call(c,s)&&f(t,r,s)}function d(t,r,s){if(r&&r.length>0){let e=r.length;for(;e--;){const i=r[e];if(t.line&&t.column&&i.point&&i.point.line&&i.point.column&&(i.point.line0)for(;++hfunction(t){let e=l.length;if(!t.source||!r.includes(t.source))return!0;t.line||(t.line=1),t.column||(t.column=1);const i=a(t);for(;e--;)if(l[e][0]<=i&&l[e][1]>i)return!1;return(!t.ruleId||d(t,c[t.ruleId],t.ruleId))&&d(t,h)}(t)))}}const XU=/\s*([a-zA-Z\d-]+)(\s+([\s\S]*))?\s*/,tG=new RegExp("(\\s*\\/\\*"+XU.source+"\\*\\/\\s*)"),eG=new RegExp("(\\s*\x3c!--"+XU.source+"--\x3e\\s*)");function iG(t){if(function(t){return Boolean(t&&"object"==typeof t&&"type"in t)}(t)&&("html"===t.type||"comment"===t.type||"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type)){let e,i=2;if("comment"===t.type?(e=t.value.match(XU),i=1):"html"===t.type?e=t.value.match(eG):"mdxFlowExpression"!==t.type&&"mdxTextExpression"!==t.type||(e=t.value.match(tG)),e&&e[0].length===t.value.length){const n=function(t){const e={};return t.replace(/\s+([-\w]+)(?:=(?:"((?:\\[\s\S]|[^"])*)"|'((?:\\[\s\S]|[^'])*)'|((?:\\[\s\S]|[^"'\s])+)))?/gi,i).replace(/\s+/g,"")?null:e;function i(t,i,n,r,s){let o=void 0===n?void 0===r?s:r:n;const a=Number(o);return"true"===o||void 0===o?o=!0:"false"===o?o=!1:o.trim()&&!Number.isNaN(a)&&(o=a),e[i]=o,""}}(e[i+1]||"");if(n)return{name:e[i],attributes:(e[i+2]||"").trim(),parameters:n,node:t}}}return null}const nG=["html","comment","mdxFlowExpression","mdxTextExpression"];function rG(){this.use(sG)}function sG(){return t={name:"lint",source:"remark-lint"},QU(Object.assign({marker:iG,test:nG},t));var t}function oG(t,e){const i="string"==typeof t?t:t.origin,n="string"==typeof t?void 0:t.url,r=i.split(":"),s=r[1]?r[0]:void 0,o=r[1];return Object.defineProperty(a,"name",{value:i}),a;function a(t){const[i,r]=function(t,e){if(!Array.isArray(e))return[1,e];const[i,...n]=e;switch(i){case!1:case"off":case 0:return[0,...n];case!0:case"on":case"warn":case 1:return[1,...n];case"error":case 2:return[2,...n];default:if("number"!=typeof i)return[1,e];throw new Error("Incorrect severity `"+i+"` for `"+t+"`, expected 0, 1, or 2")}}(o,t);if(!i)return;const a=2===i;return(t,i,u)=>{let l=i.messages.length-1;qr(e,(t=>{const e=i.messages;if(t&&!e.includes(t))try{i.fail(t)}catch{}for(;++l-1?i.offset:null}}}const hG=oG({origin:"remark-lint:no-undefined-references",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-undefined-references#readme"},((t,e,i={})=>{const n=String(e),r=HU(e),s=/(\r?\n|\r)[\t ]*(>[\t ]*)*/g,o=Object.create(null),a=i.allow||[],u=[],l=new Set;let c=-1;for(;++ct.test(e)))}Cj(t,(t=>{"definition"!==t.type&&"footnoteDefinition"!==t.type||aG(t)||(o[f_(t.identifier)]=!0)})),Cj(t,(t=>{"imageReference"!==t.type&&"linkReference"!==t.type&&"footnoteReference"!==t.type||aG(t)||f_(t.identifier)in o||h(t.identifier)||e.message("Found reference to undefined definition",t),"paragraph"!==t.type&&"heading"!==t.type||function(t){let i=[];Cj(t,(e=>{if(e===t)return;if("link"===e.type||"linkReference"===e.type)return i=[],Aj;if("text"!==e.type)return;const r=uG(e).offset,o=lG(e).offset;if("number"!=typeof r||"number"!=typeof o)return xj;const a=n.slice(r,o),l=[[r,""]];let c=0;s.lastIndex=0;let h=s.exec(a);for(;h;){const t=h.index;l[l.length-1][1]=a.slice(c,t),c=t+h[0].length,l.push([r+c,""]),h=s.exec(a)}l[l.length-1][1]=a.slice(c);let p=-1;for(;++p{const i=Object.create(null);let n;for(n in Cj(t,(t=>{"definition"!==t.type&&"footnoteDefinition"!==t.type||aG(t)||(i[t.identifier.toUpperCase()]={node:t,used:!1})})),Cj(t,(t=>{if("imageReference"===t.type||"linkReference"===t.type||"footnoteReference"===t.type){const e=i[t.identifier.toUpperCase()];!aG(t)&&e&&(e.used=!0)}})),i)if(fG.call(i,n)){const t=i[n];t.used||e.message("Found unused definition",t.node)}}));var gG=dG;const mG=oG({origin:"remark-lint:no-duplicate-definitions",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-duplicate-definitions#readme"},((t,e)=>{const i=Object.create(null);Cj(t,(t=>{if(("definition"===t.type||"footnoteDefinition"===t.type)&&!aG(t)){const n=t.identifier,r=i[n];r&&e.message("Do not use definitions with the same identifier ("+r+")",t),i[n]=Ox(uG(t))}}))}));var yG=mG;const bG={};function wG(t,e,i){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||i?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return vG(t.children,e,i)}return Array.isArray(t)?vG(t,e,i):""}function vG(t,e,i){const n=[];let r=-1;for(;++r{Cj(t,(t=>{if(("link"===t.type||"linkReference"===t.type)&&!aG(t)){const i=function(t,e){const i=e||bG;return wG(t,"boolean"!=typeof i.includeImageAlt||i.includeImageAlt,"boolean"!=typeof i.includeHtml||i.includeHtml)}(t);" "!==i.charAt(0)&&" "!==i.charAt(i.length-1)||e.message("Don’t pad `"+t.type+"` with inner spaces",t)}}))}));var kG=DG,EG={exports:{}};!function(t,e){!function(e,i){t.exports=i()}(0,(function(){var t=[],e=[],i={},n={},r={};function s(t){return"string"==typeof t?new RegExp("^"+t+"$","i"):t}function o(t,e){return t===e?e:t===t.toLowerCase()?e.toLowerCase():t===t.toUpperCase()?e.toUpperCase():t[0]===t[0].toUpperCase()?e.charAt(0).toUpperCase()+e.substr(1).toLowerCase():e.toLowerCase()}function a(t,e){return t.replace(e[0],(function(i,n){var r,s,a=(r=e[1],s=arguments,r.replace(/\$(\d{1,2})/g,(function(t,e){return s[e]||""})));return o(""===i?t[n-1]:i,a)}))}function u(t,e,n){if(!t.length||i.hasOwnProperty(t))return e;for(var r=n.length;r--;){var s=n[r];if(s[0].test(e))return a(e,s)}return e}function l(t,e,i){return function(n){var r=n.toLowerCase();return e.hasOwnProperty(r)?o(n,r):t.hasOwnProperty(r)?o(n,t[r]):u(r,n,i)}}function c(t,e,i,n){return function(n){var r=n.toLowerCase();return!!e.hasOwnProperty(r)||!t.hasOwnProperty(r)&&u(r,r,i)===r}}function h(t,e,i){return(i?e+" ":"")+(1===e?h.singular(t):h.plural(t))}return h.plural=l(r,n,t),h.isPlural=c(r,n,t),h.singular=l(n,r,e),h.isSingular=c(n,r,e),h.addPluralRule=function(e,i){t.push([s(e),i])},h.addSingularRule=function(t,i){e.push([s(t),i])},h.addUncountableRule=function(t){"string"!=typeof t?(h.addPluralRule(t,"$0"),h.addSingularRule(t,"$0")):i[t.toLowerCase()]=!0},h.addIrregularRule=function(t,e){e=e.toLowerCase(),t=t.toLowerCase(),r[t]=e,n[e]=t},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach((function(t){return h.addIrregularRule(t[0],t[1])})),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach((function(t){return h.addPluralRule(t[0],t[1])})),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach((function(t){return h.addSingularRule(t[0],t[1])})),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(h.addUncountableRule),h}))}(EG);var xG=q(EG.exports);const AG=oG({origin:"remark-lint:blockquote-indentation",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-blockquote-indentation#readme"},((t,e,i="consistent")=>{Cj(t,"blockquote",(t=>{if(!aG(t)&&0!==t.children.length)if("consistent"===i)i=CG(t);else{const n=i-CG(t);if(0!==n){const i=Math.abs(n);e.message((n>0?"Add":"Remove")+" "+i+" "+xG("space",i)+" between block quote and content",uG(t.children[0]))}}}))}));var FG=AG;function CG(t){return uG(t.children[0]).column-uG(t).column}const SG=oG({origin:"remark-lint:checkbox-content-indent",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-checkbox-content-indent#readme"},((t,e)=>{const i=String(e),n=HU(e);Cj(t,"listItem",(t=>{const r=t.children[0],s=uG(r);if("boolean"!=typeof t.checked||!r||"number"!=typeof s.offset)return;if(!/\[([\t xX])]/.exec(i.slice(s.offset-4,s.offset+1)))return;const o=s.offset;let a=o;for(;/[\t ]/.test(i.charAt(a));)a++;a-o>0&&e.message("Checkboxes should be followed by a single character",{start:n.toPoint(o),end:n.toPoint(a)})}))}));var _G=SG;var jG=oG({origin:"remark-lint:final-newline",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-final-newline#readme"},((t,e)=>{const i=String(e),n=i.length-1;n>-1&&"\n"!==i.charAt(n)&&e.message("Missing newline character at end of file")}));const OG=oG({origin:"remark-lint:list-item-bullet-indent",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-list-item-bullet-indent#readme"},((t,e)=>{Cj(t,"list",((t,i,n)=>{let r=-1;for(;++r{const n=String(e);"tab-size"!==i&&"space"!==i&&"mixed"!==i&&e.fail("Incorrect list-item indent style `"+i+"`: use either `'tab-size'`, `'space'`, or `'mixed'`"),Cj(t,"list",(t=>{if(aG(t))return;const r=t.spread;let s=-1;for(;++s0?"add":"remove")+" "+i+" "+xG("space",i),u)}}}))}));var RG=TG;const IG={};function $G(t,e,i){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||i?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return NG(t.children,e,i)}return Array.isArray(t)?NG(t,e,i):""}function NG(t,e,i){const n=[];let r=-1;for(;++r{Cj(t,"link",(t=>{aG(t)||uG(t).column!==uG(t.children[0]).column-1||lG(t).column!==lG(t.children[t.children.length-1]).column+1||LG.test(function(t,e){const i=e||IG;return $G(t,"boolean"!=typeof i.includeImageAlt||i.includeImageAlt,"boolean"!=typeof i.includeHtml||i.includeHtml)}(t))||e.message("All automatic links must start with a protocol",t)}))}));var MG=PG;const zG=oG({origin:"remark-lint:no-blockquote-without-marker",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-blockquote-without-marker#readme"},((t,e)=>{const i=String(e),n=HU(e);Cj(t,"blockquote",(t=>{let r=-1;for(;++r[\t ]+$/.test(i.slice(t-5,t))||e.message("Missing marker in block quote",{line:o,column:r-2})}}}}))}));var qG=zG;const UG={};function GG(t,e,i){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||i?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return WG(t.children,e,i)}return Array.isArray(t)?WG(t,e,i):""}function WG(t,e,i){const n=[];let r=-1;for(;++r{Cj(t,"link",(t=>{const i=function(t,e){const i=e||UG;return GG(t,"boolean"!=typeof i.includeImageAlt||i.includeImageAlt,"boolean"!=typeof i.includeHtml||i.includeHtml)}(t);aG(t)||uG(t).column!==uG(t.children[0]).column||lG(t).column!==lG(t.children[t.children.length-1]).column||t.url!=="mailto:"+i&&t.url!==i||e.message("Don’t use literal URLs without angle brackets",t)}))}));var VG=HG;function KG(t,e){return t<3?"atx":"atx"===e||"setext"===e?e:null}const YG=oG({origin:"remark-lint:no-heading-content-indent",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-heading-content-indent#readme"},((t,e)=>{Cj(t,"heading",(t=>{if(aG(t))return;const i=function(t,e){const i=t.children[t.children.length-1],n=t.depth,r=t.position&&t.position.end,s=i&&i.position&&i.position.end;return r?i?s&&s.line+1===r.line?"setext":s&&s.column+n{const i=String(e);Cj(t,"break",(t=>{if(!aG(t)){i.slice(uG(t).offset,lG(t).offset).split("\n",1)[0].replace(/\r$/,"").length>2&&e.message("Use two spaces for hard line breaks",t)}}))}));var QG=ZG;const XG=oG({origin:"remark-lint:code-block-style",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-code-block-style#readme"},((t,e,i="consistent")=>{const n=String(e);"consistent"!==i&&"fenced"!==i&&"indented"!==i&&e.fail("Incorrect code block style `"+i+"`: use either `'consistent'`, `'fenced'`, or `'indented'`"),Cj(t,"code",(t=>{if(aG(t))return;const r=uG(t).offset,s=lG(t).offset,o=t.lang||/^\s*([~`])\1{2,}/.test(n.slice(r,s))?"fenced":"indented";"consistent"===i?i=o:i!==o&&e.message("Code blocks should be "+i,t)}))}));var tW=XG;const eW=oG({origin:"remark-lint:table-cell-padding",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-table-cell-padding#readme"},((t,e,i="consistent")=>{function n(t,i,n,r){const s=i.node,o=i.column,a=i[t];if(void 0===a||a===n)return;let u="Cell should be ";if(0===n){if(nW(s)n){if(nW(s){const e=t.children,r=t.align||[],s=[],o=[];let a=-1;for(;++a{const i=String(e);Cj(t,"table",(t=>{let n=-1;for(;++n{const n=String(e);let r="consistent",s="consistent";"object"==typeof i&&(r=i.checked||"consistent",s=i.unchecked||"consistent"),"consistent"!==s&&" "!==s&&"\t"!==s&&e.fail("Incorrect unchecked checkbox marker `"+s+"`: use either `'\\t'`, or `' '`"),"consistent"!==r&&"x"!==r&&"X"!==r&&e.fail("Incorrect checked checkbox marker `"+r+"`: use either `'x'`, or `'X'`"),Cj(t,"listItem",(t=>{const i=t.children[0],o=uG(i);if("boolean"!=typeof t.checked||!i||"number"!=typeof o.offset)return;o.offset-=2,o.column-=2;const a=/\[([\t Xx])]/.exec(n.slice(o.offset-2,o.offset+1));if(!a)return;const u=t.checked?r:s;"consistent"===u?t.checked?r=a[1]:s=a[1]:a[1]!==u&&e.message((t.checked?"Checked":"Unchecked")+" checkboxes should use `"+u+"` as a marker",o)}))}));var aW=oW;const uW=/^\s*\[((?:\\[\s\S]|[^[\]])+)]/,lW=oG({origin:"remark-lint:definition-case",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-definition-case#readme"},((t,e)=>{const i=String(e);Cj(t,(t=>{if("definition"===t.type||"footnoteDefinition"===t.type){const n=uG(t).offset,r=lG(t).offset;if("number"==typeof n&&"number"==typeof r){const s=i.slice(n,r).match(uW);s&&s[1]!==s[1].toLowerCase()&&e.message("Do not use uppercase characters in definition labels",t)}}}))}));var cW=lW;const hW={sourceId:"remark-validate-links",headingRuleId:"missing-heading",headingInFileRuleId:"missing-heading-in-file",fileRuleId:"missing-file",landmarkId:"remarkValidateLinksLandmarks",referenceId:"remarkValidateLinksReferences"},pW={}.hasOwnProperty;const fW={}.hasOwnProperty;var dW,gW;dW=[],gW=[];var mW=function(t,e,i){var n,r,s,o,a,u,l,c;if(t===e)return 0;if(n=t.length,r=e.length,0===n)return r;if(0===r)return n;for(i&&(t=t.toLowerCase(),e=e.toLowerCase()),l=0;lo?u>o?o+1:u:u>a?a+1:u;return o},yW=mW;var bW=q((function(){var t,e,i,n,r,s=0,o=arguments[0],a=arguments[1],u=a.length,l=arguments[2];l&&(n=l.threshold,r=l.ignoreCase),void 0===n&&(n=0);for(var c=0;co.length?1-e/a[c].length:1-e/o.length)>s&&(s=t,i=a[c]);return s>=n?i:null}));const wW={}.hasOwnProperty;function vW(t,e){const i=t.landmarks,n=e.file.path?v.resolve(e.file.cwd,e.file.path):"",r=n?v.dirname(n):null,s=r?v.relative(r,e.reference.filePath):e.reference.filePath,o=e.reference.hash,a=[];let u,l;o?(u="Link to unknown heading",l=hW.headingRuleId,r&&v.join(r,s)!==n&&(u+=" in `"+s+"`",l=hW.headingInFileRuleId),u+=": `"+o+"`"):(u="Link to unknown file: `"+s+"`",l=hW.fileRuleId);const c=[hW.sourceId,l].join(":");let h;for(h in i){if(!(h in i)||!i[h][""])continue;const t=r?v.relative(r,h):h;if(!o){a.push(t);continue}if(t!==s)continue;let e;for(e in i[h])""!==e&&a.push(e)}const p=bW(o||s,a,{threshold:.7});p&&(u+=". Did you mean `"+p+"`");let f=-1;for(;++f{t[""]=!0}),(e=>{t[""]="ENOENT"!==e.code&&"ENOTDIR"!==e.code})))}await Promise.all(n)})).use((function(t){const e=t.landmarks,i=t.references,n=[];let r;for(r in i)if(wW.call(i,r)){const t=i[r],s=r in e?e[r]:Object.create(null);let o;for(o in t)s[o]||n.push(...t[o])}let s=-1;for(;++se(t)),this))}onabort(){}addEventListener(t,e){"abort"===t&&this._listeners.push(e)}removeEventListener(t,e){"abort"===t&&(this._listeners=this._listeners.filter((t=>t!==e)))}},SW=new Set,_W=(t,e)=>{const i=`LRU_CACHE_OPTION_${t}`;BW(i)&&TW(i,`${t} option`,`options.${e}`,LW)},jW=(t,e)=>{const i=`LRU_CACHE_METHOD_${t}`;if(BW(i)){const{prototype:n}=LW,{get:r}=Object.getOwnPropertyDescriptor(n,t);TW(i,`${t} method`,`cache.${e}()`,r)}},OW=(...t)=>{"object"==typeof process&&process&&"function"==typeof process.emitWarning?process.emitWarning(...t):console.error(...t)},BW=t=>!SW.has(t),TW=(t,e,i,n)=>{SW.add(t);OW(`The ${e} is deprecated. Please use ${i} instead.`,"DeprecationWarning",t,n)},RW=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),IW=t=>RW(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?$W:null:null;class $W extends Array{constructor(t){super(t),this.fill(0)}}class NW{constructor(t){if(0===t)return[];const e=IW(t);this.heap=new e(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class LW{constructor(t={}){const{max:e=0,ttl:i,ttlResolution:n=1,ttlAutopurge:r,updateAgeOnGet:s,updateAgeOnHas:o,allowStale:a,dispose:u,disposeAfter:l,noDisposeOnSet:c,noUpdateTTL:h,maxSize:p=0,maxEntrySize:f=0,sizeCalculation:d,fetchMethod:g,fetchContext:m,noDeleteOnFetchRejection:y,noDeleteOnStaleGet:b,allowStaleOnFetchRejection:w,allowStaleOnFetchAbort:v,ignoreFetchAbort:D}=t,{length:k,maxAge:E,stale:x}=t instanceof LW?{}:t;if(0!==e&&!RW(e))throw new TypeError("max option must be a nonnegative integer");const A=e?IW(e):Array;if(!A)throw new Error("invalid max value: "+e);if(this.max=e,this.maxSize=p,this.maxEntrySize=f||this.maxSize,this.sizeCalculation=d||k,this.sizeCalculation){if(!this.maxSize&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if("function"!=typeof this.sizeCalculation)throw new TypeError("sizeCalculation set to non-function")}if(this.fetchMethod=g||null,this.fetchMethod&&"function"!=typeof this.fetchMethod)throw new TypeError("fetchMethod must be a function if specified");if(this.fetchContext=m,!this.fetchMethod&&void 0!==m)throw new TypeError("cannot set fetchContext without fetchMethod");if(this.keyMap=new Map,this.keyList=new Array(e).fill(null),this.valList=new Array(e).fill(null),this.next=new A(e),this.prev=new A(e),this.head=0,this.tail=0,this.free=new NW(e),this.initialFill=1,this.size=0,"function"==typeof u&&(this.dispose=u),"function"==typeof l?(this.disposeAfter=l,this.disposed=[]):(this.disposeAfter=null,this.disposed=null),this.noDisposeOnSet=!!c,this.noUpdateTTL=!!h,this.noDeleteOnFetchRejection=!!y,this.allowStaleOnFetchRejection=!!w,this.allowStaleOnFetchAbort=!!v,this.ignoreFetchAbort=!!D,0!==this.maxEntrySize){if(0!==this.maxSize&&!RW(this.maxSize))throw new TypeError("maxSize must be a positive integer if specified");if(!RW(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.initializeSizeTracking()}if(this.allowStale=!!a||!!x,this.noDeleteOnStaleGet=!!b,this.updateAgeOnGet=!!s,this.updateAgeOnHas=!!o,this.ttlResolution=RW(n)||0===n?n:1,this.ttlAutopurge=!!r,this.ttl=i||E||0,this.ttl){if(!RW(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.initializeTTLTracking()}if(0===this.max&&0===this.ttl&&0===this.maxSize)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.max&&!this.maxSize){const t="LRU_CACHE_UNBOUNDED";if(BW(t)){SW.add(t);OW("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",t,LW)}}x&&_W("stale","allowStale"),E&&_W("maxAge","ttl"),k&&_W("length","sizeCalculation")}getRemainingTTL(t){return this.has(t,{updateAgeOnHas:!1})?1/0:0}initializeTTLTracking(){this.ttls=new $W(this.max),this.starts=new $W(this.max),this.setItemTTL=(t,e,i=EW.now())=>{if(this.starts[t]=0!==e?i:0,this.ttls[t]=e,0!==e&&this.ttlAutopurge){const i=setTimeout((()=>{this.isStale(t)&&this.delete(this.keyList[t])}),e+1);i.unref&&i.unref()}},this.updateItemAge=t=>{this.starts[t]=0!==this.ttls[t]?EW.now():0},this.statusTTL=(i,n)=>{i&&(i.ttl=this.ttls[n],i.start=this.starts[n],i.now=t||e(),i.remainingTTL=i.now+i.ttl-i.start)};let t=0;const e=()=>{const e=EW.now();if(this.ttlResolution>0){t=e;const i=setTimeout((()=>t=0),this.ttlResolution);i.unref&&i.unref()}return e};this.getRemainingTTL=i=>{const n=this.keyMap.get(i);return void 0===n?0:0===this.ttls[n]||0===this.starts[n]?1/0:this.starts[n]+this.ttls[n]-(t||e())},this.isStale=i=>0!==this.ttls[i]&&0!==this.starts[i]&&(t||e())-this.starts[i]>this.ttls[i]}updateItemAge(t){}statusTTL(t,e){}setItemTTL(t,e,i){}isStale(t){return!1}initializeSizeTracking(){this.calculatedSize=0,this.sizes=new $W(this.max),this.removeItemSize=t=>{this.calculatedSize-=this.sizes[t],this.sizes[t]=0},this.requireSize=(t,e,i,n)=>{if(this.isBackgroundFetch(e))return 0;if(!RW(i)){if(!n)throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");if("function"!=typeof n)throw new TypeError("sizeCalculation must be a function");if(i=n(e,t),!RW(i))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return i},this.addItemSize=(t,e,i)=>{if(this.sizes[t]=e,this.maxSize){const e=this.maxSize-this.sizes[t];for(;this.calculatedSize>e;)this.evict(!0)}this.calculatedSize+=this.sizes[t],i&&(i.entrySize=e,i.totalCalculatedSize=this.calculatedSize)}}removeItemSize(t){}addItemSize(t,e){}requireSize(t,e,i,n){if(i||n)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}*indexes({allowStale:t=this.allowStale}={}){if(this.size)for(let e=this.tail;this.isValidIndex(e)&&(!t&&this.isStale(e)||(yield e),e!==this.head);)e=this.prev[e]}*rindexes({allowStale:t=this.allowStale}={}){if(this.size)for(let e=this.head;this.isValidIndex(e)&&(!t&&this.isStale(e)||(yield e),e!==this.tail);)e=this.next[e]}isValidIndex(t){return void 0!==t&&this.keyMap.get(this.keyList[t])===t}*entries(){for(const t of this.indexes())void 0===this.valList[t]||void 0===this.keyList[t]||this.isBackgroundFetch(this.valList[t])||(yield[this.keyList[t],this.valList[t]])}*rentries(){for(const t of this.rindexes())void 0===this.valList[t]||void 0===this.keyList[t]||this.isBackgroundFetch(this.valList[t])||(yield[this.keyList[t],this.valList[t]])}*keys(){for(const t of this.indexes())void 0===this.keyList[t]||this.isBackgroundFetch(this.valList[t])||(yield this.keyList[t])}*rkeys(){for(const t of this.rindexes())void 0===this.keyList[t]||this.isBackgroundFetch(this.valList[t])||(yield this.keyList[t])}*values(){for(const t of this.indexes())void 0===this.valList[t]||this.isBackgroundFetch(this.valList[t])||(yield this.valList[t])}*rvalues(){for(const t of this.rindexes())void 0===this.valList[t]||this.isBackgroundFetch(this.valList[t])||(yield this.valList[t])}[Symbol.iterator](){return this.entries()}find(t,e){for(const i of this.indexes()){const n=this.valList[i],r=this.isBackgroundFetch(n)?n.__staleWhileFetching:n;if(void 0!==r&&t(r,this.keyList[i],this))return this.get(this.keyList[i],e)}}forEach(t,e=this){for(const i of this.indexes()){const n=this.valList[i],r=this.isBackgroundFetch(n)?n.__staleWhileFetching:n;void 0!==r&&t.call(e,r,this.keyList[i],this)}}rforEach(t,e=this){for(const i of this.rindexes()){const n=this.valList[i],r=this.isBackgroundFetch(n)?n.__staleWhileFetching:n;void 0!==r&&t.call(e,r,this.keyList[i],this)}}get prune(){return jW("prune","purgeStale"),this.purgeStale}purgeStale(){let t=!1;for(const e of this.rindexes({allowStale:!0}))this.isStale(e)&&(this.delete(this.keyList[e]),t=!0);return t}dump(){const t=[];for(const e of this.indexes({allowStale:!0})){const i=this.keyList[e],n=this.valList[e],r=this.isBackgroundFetch(n)?n.__staleWhileFetching:n;if(void 0===r)continue;const s={value:r};if(this.ttls){s.ttl=this.ttls[e];const t=EW.now()-this.starts[e];s.start=Math.floor(Date.now()-t)}this.sizes&&(s.size=this.sizes[e]),t.unshift([i,s])}return t}load(t){this.clear();for(const[e,i]of t){if(i.start){const t=Date.now()-i.start;i.start=EW.now()-t}this.set(e,i.value,i)}}dispose(t,e,i){}set(t,e,{ttl:i=this.ttl,start:n,noDisposeOnSet:r=this.noDisposeOnSet,size:s=0,sizeCalculation:o=this.sizeCalculation,noUpdateTTL:a=this.noUpdateTTL,status:u}={}){if(s=this.requireSize(t,e,s,o),this.maxEntrySize&&s>this.maxEntrySize)return u&&(u.set="miss",u.maxEntrySizeExceeded=!0),this.delete(t),this;let l=0===this.size?void 0:this.keyMap.get(t);if(void 0===l)l=this.newIndex(),this.keyList[l]=t,this.valList[l]=e,this.keyMap.set(t,l),this.next[this.tail]=l,this.prev[l]=this.tail,this.tail=l,this.size++,this.addItemSize(l,s,u),u&&(u.set="add"),a=!1;else{this.moveToTail(l);const i=this.valList[l];if(e!==i){if(this.isBackgroundFetch(i)?i.__abortController.abort(new Error("replaced")):r||(this.dispose(i,t,"set"),this.disposeAfter&&this.disposed.push([i,t,"set"])),this.removeItemSize(l),this.valList[l]=e,this.addItemSize(l,s,u),u){u.set="replace";const t=i&&this.isBackgroundFetch(i)?i.__staleWhileFetching:i;void 0!==t&&(u.oldValue=t)}}else u&&(u.set="update")}if(0===i||0!==this.ttl||this.ttls||this.initializeTTLTracking(),a||this.setItemTTL(l,i,n),this.statusTTL(u,l),this.disposeAfter)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return this}newIndex(){return 0===this.size?this.tail:this.size===this.max&&0!==this.max?this.evict(!1):0!==this.free.length?this.free.pop():this.initialFill++}pop(){if(this.size){const t=this.valList[this.head];return this.evict(!0),t}}evict(t){const e=this.head,i=this.keyList[e],n=this.valList[e];return this.isBackgroundFetch(n)?n.__abortController.abort(new Error("evicted")):(this.dispose(n,i,"evict"),this.disposeAfter&&this.disposed.push([n,i,"evict"])),this.removeItemSize(e),t&&(this.keyList[e]=null,this.valList[e]=null,this.free.push(e)),this.head=this.next[e],this.keyMap.delete(i),this.size--,e}has(t,{updateAgeOnHas:e=this.updateAgeOnHas,status:i}={}){const n=this.keyMap.get(t);if(void 0!==n){if(!this.isStale(n))return e&&this.updateItemAge(n),i&&(i.has="hit"),this.statusTTL(i,n),!0;i&&(i.has="stale",this.statusTTL(i,n))}else i&&(i.has="miss");return!1}peek(t,{allowStale:e=this.allowStale}={}){const i=this.keyMap.get(t);if(void 0!==i&&(e||!this.isStale(i))){const t=this.valList[i];return this.isBackgroundFetch(t)?t.__staleWhileFetching:t}}backgroundFetch(t,e,i,n){const r=void 0===e?void 0:this.valList[e];if(this.isBackgroundFetch(r))return r;const s=new xW;i.signal&&i.signal.addEventListener("abort",(()=>s.abort(i.signal.reason)));const o={signal:s.signal,options:i,context:n},a=(n,r=!1)=>{const{aborted:a}=s.signal,c=i.ignoreFetchAbort&&void 0!==n;return i.status&&(a&&!r?(i.status.fetchAborted=!0,i.status.fetchError=s.signal.reason,c&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),!a||c||r?(this.valList[e]===l&&(void 0===n?l.__staleWhileFetching?this.valList[e]=l.__staleWhileFetching:this.delete(t):(i.status&&(i.status.fetchUpdated=!0),this.set(t,n,o.options))),n):u(s.signal.reason)},u=n=>{const{aborted:r}=s.signal,o=r&&i.allowStaleOnFetchAbort,a=o||i.allowStaleOnFetchRejection,u=a||i.noDeleteOnFetchRejection;if(this.valList[e]===l){!u||void 0===l.__staleWhileFetching?this.delete(t):o||(this.valList[e]=l.__staleWhileFetching)}if(a)return i.status&&void 0!==l.__staleWhileFetching&&(i.status.returnedStale=!0),l.__staleWhileFetching;if(l.__returned===l)throw n};i.status&&(i.status.fetchDispatched=!0);const l=new Promise(((e,n)=>{this.fetchMethod(t,r,o).then((t=>e(t)),n),s.signal.addEventListener("abort",(()=>{i.ignoreFetchAbort&&!i.allowStaleOnFetchAbort||(e(),i.allowStaleOnFetchAbort&&(e=t=>a(t,!0)))}))})).then(a,(t=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=t),u(t))));return l.__abortController=s,l.__staleWhileFetching=r,l.__returned=null,void 0===e?(this.set(t,l,{...o.options,status:void 0}),e=this.keyMap.get(t)):this.valList[e]=l,l}isBackgroundFetch(t){return t&&"object"==typeof t&&"function"==typeof t.then&&Object.prototype.hasOwnProperty.call(t,"__staleWhileFetching")&&Object.prototype.hasOwnProperty.call(t,"__returned")&&(t.__returned===t||null===t.__returned)}async fetch(t,{allowStale:e=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,ttl:r=this.ttl,noDisposeOnSet:s=this.noDisposeOnSet,size:o=0,sizeCalculation:a=this.sizeCalculation,noUpdateTTL:u=this.noUpdateTTL,noDeleteOnFetchRejection:l=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:c=this.allowStaleOnFetchRejection,ignoreFetchAbort:h=this.ignoreFetchAbort,allowStaleOnFetchAbort:p=this.allowStaleOnFetchAbort,fetchContext:f=this.fetchContext,forceRefresh:d=!1,status:g,signal:m}={}){if(!this.fetchMethod)return g&&(g.fetch="get"),this.get(t,{allowStale:e,updateAgeOnGet:i,noDeleteOnStaleGet:n,status:g});const y={allowStale:e,updateAgeOnGet:i,noDeleteOnStaleGet:n,ttl:r,noDisposeOnSet:s,size:o,sizeCalculation:a,noUpdateTTL:u,noDeleteOnFetchRejection:l,allowStaleOnFetchRejection:c,allowStaleOnFetchAbort:p,ignoreFetchAbort:h,status:g,signal:m};let b=this.keyMap.get(t);if(void 0===b){g&&(g.fetch="miss");const e=this.backgroundFetch(t,b,y,f);return e.__returned=e}{const n=this.valList[b];if(this.isBackgroundFetch(n)){const t=e&&void 0!==n.__staleWhileFetching;return g&&(g.fetch="inflight",t&&(g.returnedStale=!0)),t?n.__staleWhileFetching:n.__returned=n}const r=this.isStale(b);if(!d&&!r)return g&&(g.fetch="hit"),this.moveToTail(b),i&&this.updateItemAge(b),this.statusTTL(g,b),n;const s=this.backgroundFetch(t,b,y,f),o=void 0!==s.__staleWhileFetching,a=o&&e;return g&&(g.fetch=o&&r?"stale":"refresh",a&&r&&(g.returnedStale=!0)),a?s.__staleWhileFetching:s.__returned=s}}get(t,{allowStale:e=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,status:r}={}){const s=this.keyMap.get(t);if(void 0!==s){const o=this.valList[s],a=this.isBackgroundFetch(o);return this.statusTTL(r,s),this.isStale(s)?(r&&(r.get="stale"),a?(r&&(r.returnedStale=e&&void 0!==o.__staleWhileFetching),e?o.__staleWhileFetching:void 0):(n||this.delete(t),r&&(r.returnedStale=e),e?o:void 0)):(r&&(r.get="hit"),a?o.__staleWhileFetching:(this.moveToTail(s),i&&this.updateItemAge(s),o))}r&&(r.get="miss")}connect(t,e){this.prev[e]=t,this.next[t]=e}moveToTail(t){t!==this.tail&&(t===this.head?this.head=this.next[t]:this.connect(this.prev[t],this.next[t]),this.connect(this.tail,t),this.tail=t)}get del(){return jW("del","delete"),this.delete}delete(t){let e=!1;if(0!==this.size){const i=this.keyMap.get(t);if(void 0!==i)if(e=!0,1===this.size)this.clear();else{this.removeItemSize(i);const e=this.valList[i];this.isBackgroundFetch(e)?e.__abortController.abort(new Error("deleted")):(this.dispose(e,t,"delete"),this.disposeAfter&&this.disposed.push([e,t,"delete"])),this.keyMap.delete(t),this.keyList[i]=null,this.valList[i]=null,i===this.tail?this.tail=this.prev[i]:i===this.head?this.head=this.next[i]:(this.next[this.prev[i]]=this.next[i],this.prev[this.next[i]]=this.prev[i]),this.size--,this.free.push(i)}}if(this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return e}clear(){for(const t of this.rindexes({allowStale:!0})){const e=this.valList[t];if(this.isBackgroundFetch(e))e.__abortController.abort(new Error("deleted"));else{const i=this.keyList[t];this.dispose(e,i,"delete"),this.disposeAfter&&this.disposed.push([e,i,"delete"])}}if(this.keyMap.clear(),this.valList.fill(null),this.keyList.fill(null),this.ttls&&(this.ttls.fill(0),this.starts.fill(0)),this.sizes&&this.sizes.fill(0),this.head=0,this.tail=0,this.initialFill=1,this.free.length=0,this.calculatedSize=0,this.size=0,this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift())}get reset(){return jW("reset","clear"),this.clear}get length(){return((t,e)=>{const i=`LRU_CACHE_PROPERTY_${t}`;if(BW(i)){const{prototype:n}=LW,{get:r}=Object.getOwnPropertyDescriptor(n,t);TW(i,`${t} property`,`cache.${e}`,r)}})("length","size"),this.size}static get AbortController(){return xW}static get AbortSignal(){return CW}}var PW=LW;const MW=(...t)=>t.every((t=>t))?t.join(""):"",zW=t=>t?encodeURIComponent(t):"",qW=t=>t.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-"),UW={sshtemplate:({domain:t,user:e,project:i,committish:n})=>`git@${t}:${e}/${i}.git${MW("#",n)}`,sshurltemplate:({domain:t,user:e,project:i,committish:n})=>`git+ssh://git@${t}/${e}/${i}.git${MW("#",n)}`,edittemplate:({domain:t,user:e,project:i,committish:n,editpath:r,path:s})=>`https://${t}/${e}/${i}${MW("/",r,"/",zW(n||"HEAD"),"/",s)}`,browsetemplate:({domain:t,user:e,project:i,committish:n,treepath:r})=>`https://${t}/${e}/${i}${MW("/",r,"/",zW(n))}`,browsetreetemplate:({domain:t,user:e,project:i,committish:n,treepath:r,path:s,fragment:o,hashformat:a})=>`https://${t}/${e}/${i}/${r}/${zW(n||"HEAD")}/${s}${MW("#",a(o||""))}`,browseblobtemplate:({domain:t,user:e,project:i,committish:n,blobpath:r,path:s,fragment:o,hashformat:a})=>`https://${t}/${e}/${i}/${r}/${zW(n||"HEAD")}/${s}${MW("#",a(o||""))}`,docstemplate:({domain:t,user:e,project:i,treepath:n,committish:r})=>`https://${t}/${e}/${i}${MW("/",n,"/",zW(r))}#readme`,httpstemplate:({auth:t,domain:e,user:i,project:n,committish:r})=>`git+https://${MW(t,"@")}${e}/${i}/${n}.git${MW("#",r)}`,filetemplate:({domain:t,user:e,project:i,committish:n,path:r})=>`https://${t}/${e}/${i}/raw/${zW(n||"HEAD")}/${r}`,shortcuttemplate:({type:t,user:e,project:i,committish:n})=>`${t}:${e}/${i}${MW("#",n)}`,pathtemplate:({user:t,project:e,committish:i})=>`${t}/${e}${MW("#",i)}`,bugstemplate:({domain:t,user:e,project:i})=>`https://${t}/${e}/${i}/issues`,hashformat:qW},GW={};GW.github={protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",blobpath:"blob",editpath:"edit",filetemplate:({auth:t,user:e,project:i,committish:n,path:r})=>`https://${MW(t,"@")}raw.githubusercontent.com/${e}/${i}/${zW(n||"HEAD")}/${r}`,gittemplate:({auth:t,domain:e,user:i,project:n,committish:r})=>`git://${MW(t,"@")}${e}/${i}/${n}.git${MW("#",r)}`,tarballtemplate:({domain:t,user:e,project:i,committish:n})=>`https://codeload.${t}/${e}/${i}/tar.gz/${zW(n||"HEAD")}`,extract:t=>{let[,e,i,n,r]=t.pathname.split("/",5);if((!n||"tree"===n)&&(n||(r=t.hash.slice(1)),i&&i.endsWith(".git")&&(i=i.slice(0,-4)),e&&i))return{user:e,project:i,committish:r}}},GW.bitbucket={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",blobpath:"src",editpath:"?mode=edit",edittemplate:({domain:t,user:e,project:i,committish:n,treepath:r,path:s,editpath:o})=>`https://${t}/${e}/${i}${MW("/",r,"/",zW(n||"HEAD"),"/",s,o)}`,tarballtemplate:({domain:t,user:e,project:i,committish:n})=>`https://${t}/${e}/${i}/get/${zW(n||"HEAD")}.tar.gz`,extract:t=>{let[,e,i,n]=t.pathname.split("/",4);if(!["get"].includes(n)&&(i&&i.endsWith(".git")&&(i=i.slice(0,-4)),e&&i))return{user:e,project:i,committish:t.hash.slice(1)}}},GW.gitlab={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",blobpath:"tree",editpath:"-/edit",httpstemplate:({auth:t,domain:e,user:i,project:n,committish:r})=>`git+https://${MW(t,"@")}${e}/${i}/${n}.git${MW("#",r)}`,tarballtemplate:({domain:t,user:e,project:i,committish:n})=>`https://${t}/${e}/${i}/repository/archive.tar.gz?ref=${zW(n||"HEAD")}`,extract:t=>{const e=t.pathname.slice(1);if(e.includes("/-/")||e.includes("/archive.tar.gz"))return;const i=e.split("/");let n=i.pop();n.endsWith(".git")&&(n=n.slice(0,-4));const r=i.join("/");return r&&n?{user:r,project:n,committish:t.hash.slice(1)}:void 0}},GW.gist={protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",editpath:"edit",sshtemplate:({domain:t,project:e,committish:i})=>`git@${t}:${e}.git${MW("#",i)}`,sshurltemplate:({domain:t,project:e,committish:i})=>`git+ssh://git@${t}/${e}.git${MW("#",i)}`,edittemplate:({domain:t,user:e,project:i,committish:n,editpath:r})=>`https://${t}/${e}/${i}${MW("/",zW(n))}/${r}`,browsetemplate:({domain:t,project:e,committish:i})=>`https://${t}/${e}${MW("/",zW(i))}`,browsetreetemplate:({domain:t,project:e,committish:i,path:n,hashformat:r})=>`https://${t}/${e}${MW("/",zW(i))}${MW("#",r(n))}`,browseblobtemplate:({domain:t,project:e,committish:i,path:n,hashformat:r})=>`https://${t}/${e}${MW("/",zW(i))}${MW("#",r(n))}`,docstemplate:({domain:t,project:e,committish:i})=>`https://${t}/${e}${MW("/",zW(i))}`,httpstemplate:({domain:t,project:e,committish:i})=>`git+https://${t}/${e}.git${MW("#",i)}`,filetemplate:({user:t,project:e,committish:i,path:n})=>`https://gist.githubusercontent.com/${t}/${e}/raw${MW("/",zW(i))}/${n}`,shortcuttemplate:({type:t,project:e,committish:i})=>`${t}:${e}${MW("#",i)}`,pathtemplate:({project:t,committish:e})=>`${t}${MW("#",e)}`,bugstemplate:({domain:t,project:e})=>`https://${t}/${e}`,gittemplate:({domain:t,project:e,committish:i})=>`git://${t}/${e}.git${MW("#",i)}`,tarballtemplate:({project:t,committish:e})=>`https://codeload.github.com/gist/${t}/tar.gz/${zW(e||"HEAD")}`,extract:t=>{let[,e,i,n]=t.pathname.split("/",4);if("raw"!==n){if(!i){if(!e)return;i=e,e=null}return i.endsWith(".git")&&(i=i.slice(0,-4)),{user:e,project:i,committish:t.hash.slice(1)}}},hashformat:function(t){return t&&"file-"+qW(t)}},GW.sourcehut={protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",blobpath:"tree",filetemplate:({domain:t,user:e,project:i,committish:n,path:r})=>`https://${t}/${e}/${i}/blob/${zW(n)||"HEAD"}/${r}`,httpstemplate:({domain:t,user:e,project:i,committish:n})=>`https://${t}/${e}/${i}.git${MW("#",n)}`,tarballtemplate:({domain:t,user:e,project:i,committish:n})=>`https://${t}/${e}/${i}/archive/${zW(n)||"HEAD"}.tar.gz`,bugstemplate:({user:t,project:e})=>`https://todo.sr.ht/${t}/${e}`,extract:t=>{let[,e,i,n]=t.pathname.split("/",4);if(!["archive"].includes(n)&&(i&&i.endsWith(".git")&&(i=i.slice(0,-4)),e&&i))return{user:e,project:i,committish:t.hash.slice(1)}}};for(const[t,e]of Object.entries(GW))GW[t]=Object.assign({},UW,e);const WW=p,HW=(t,e,i)=>{const n=t.indexOf(i);return t.lastIndexOf(e,n>-1?n:1/0)},VW=t=>{try{return new WW.URL(t)}catch{}};var KW=(t,e)=>{const i=e?((t,e)=>{const i=t.indexOf(":"),n=t.slice(0,i+1);if(Object.prototype.hasOwnProperty.call(e,n))return t;const r=t.indexOf("@");return r>-1?r>i?`git+ssh://${t}`:t:t.indexOf("//")===i+1?t:`${t.slice(0,i+1)}//${t.slice(i+1)}`})(t,e):t;return VW(i)||VW((t=>{const e=HW(t,"@","#"),i=HW(t,":","#");return i>e&&(t=t.slice(0,i)+"/"+t.slice(i+1)),-1===HW(t,":","#")&&-1===t.indexOf("//")&&(t=`git+ssh://${t}`),t})(i))};const YW=KW;const JW=GW,ZW=(t,e,{gitHosts:i,protocols:n})=>{if(!t)return;const r=(t=>{const e=t.indexOf("#"),i=t.indexOf("/"),n=t.indexOf("/",i+1),r=t.indexOf(":"),s=/\s/.exec(t),o=t.indexOf("@"),a=!s||e>-1&&s.index>e,u=-1===o||e>-1&&o>e,l=-1===r||e>-1&&r>e,c=-1===n||e>-1&&n>e,h=i>0,p=e>-1?"/"!==t[e-1]:!t.endsWith("/"),f=!t.startsWith(".");return a&&h&&p&&f&&u&&l&&c})(t)?`github:${t}`:t,s=YW(r,n);if(!s)return;const o=i.byShortcut[s.protocol],a=i.byDomain[s.hostname.startsWith("www.")?s.hostname.slice(4):s.hostname],u=o||a;if(!u)return;const l=i[o||a];let c=null;n[s.protocol]?.auth&&(s.username||s.password)&&(c=`${s.username}${s.password?":"+s.password:""}`);let h=null,p=null,f=null,d=null;try{if(o){let t=s.pathname.startsWith("/")?s.pathname.slice(1):s.pathname;const e=t.indexOf("@");e>-1&&(t=t.slice(e+1));const i=t.lastIndexOf("/");i>-1?(p=decodeURIComponent(t.slice(0,i)),p||(p=null),f=decodeURIComponent(t.slice(i+1))):f=decodeURIComponent(t),f.endsWith(".git")&&(f=f.slice(0,-4)),s.hash&&(h=decodeURIComponent(s.hash.slice(1))),d="shortcut"}else{if(!l.protocols.includes(s.protocol))return;const t=l.extract(s);if(!t)return;p=t.user&&decodeURIComponent(t.user),f=decodeURIComponent(t.project),h=decodeURIComponent(t.committish),d=n[s.protocol]?.name||s.protocol.slice(0,-1)}}catch(t){if(t instanceof URIError)return;throw t}return[u,p,c,f,h,d,e]},QW=KW,XW=new PW({max:1e3});class tH{constructor(t,e,i,n,r,s,o={}){Object.assign(this,tH.#De[t],{type:t,user:e,auth:i,project:n,committish:r,default:s,opts:o})}static#De={byShortcut:{},byDomain:{}};static#ke={"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}};static addHost(t,e){tH.#De[t]=e,tH.#De.byDomain[e.domain]=t,tH.#De.byShortcut[`${t}:`]=t,tH.#ke[`${t}:`]={name:t}}static fromUrl(t,e){if("string"!=typeof t)return;const i=t+JSON.stringify(e||{});if(!XW.has(i)){const n=ZW(t,e,{gitHosts:tH.#De,protocols:tH.#ke});XW.set(i,n?new tH(...n):void 0)}return XW.get(i)}static parseUrl(t){return QW(t)}#Ee(t,e){if("function"!=typeof t)return null;const i={...this,...this.opts,...e};i.path||(i.path=""),i.path.startsWith("/")&&(i.path=i.path.slice(1)),i.noCommittish&&(i.committish=null);const n=t(i);return i.noGitPlus&&n.startsWith("git+")?n.slice(4):n}hash(){return this.committish?`#${this.committish}`:""}ssh(t){return this.#Ee(this.sshtemplate,t)}sshurl(t){return this.#Ee(this.sshurltemplate,t)}browse(t,...e){return"string"!=typeof t?this.#Ee(this.browsetemplate,t):"string"!=typeof e[0]?this.#Ee(this.browsetreetemplate,{...e[0],path:t}):this.#Ee(this.browsetreetemplate,{...e[1],fragment:e[0],path:t})}browseFile(t,...e){return"string"!=typeof e[0]?this.#Ee(this.browseblobtemplate,{...e[0],path:t}):this.#Ee(this.browseblobtemplate,{...e[1],fragment:e[0],path:t})}docs(t){return this.#Ee(this.docstemplate,t)}bugs(t){return this.#Ee(this.bugstemplate,t)}https(t){return this.#Ee(this.httpstemplate,t)}git(t){return this.#Ee(this.gittemplate,t)}shortcut(t){return this.#Ee(this.shortcuttemplate,t)}path(t){return this.#Ee(this.pathtemplate,t)}tarball(t){return this.#Ee(this.tarballtemplate,{...t,noCommittish:!1})}file(t,e){return this.#Ee(this.filetemplate,{...e,path:t})}edit(t,e){return this.#Ee(this.edittemplate,{...e,path:t})}getDefaultRepresentation(){return this.default}toString(t){return this.default&&"function"==typeof this[this.default]?this[this.default](t):this.sshurl(t)}}for(const[t,e]of Object.entries(JW))tH.addHost(t,e);var eH=q(tH);const iH={github:"blob",gitlab:"blob",bitbucket:"src"},nH={github:"#",gitlab:"#",bitbucket:"#markdown-header-"},rH={github:"#readme",gitlab:"#readme"},sH={github:!0,gitlab:!0};const oH={};function aH(t,e,i){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||i?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return uH(t.children,e,i)}return Array.isArray(t)?uH(t,e,i):""}function uH(t,e,i){const n=[];let r=-1;for(;++r{const s=t.data||{},o=s.hProperties||{};let a=String(o.name||o.id||s.id||"");if(a||"heading"!==t.type||(a=lH.slug(function(t,e){const i=e||oH;return aH(t,"boolean"!=typeof i.includeImageAlt||i.includeImageAlt,"boolean"!=typeof i.includeHtml||i.includeHtml)}(t,{includeImageAlt:!1,includeHtml:!1}))),a&&p(n,a),"url"in t&&t.url){const s=function(t,e,i){if(t.charAt(0)===cH){if(!e.urlConfig.hostname)return;t=fH+gH+e.urlConfig.hostname+t}let n;try{n=new B(t)}catch{}if(n&&e.root){if(!e.urlConfig.prefix||!e.urlConfig.hostname||n.protocol!==fH&&n.protocol!==dH||n.hostname!==e.urlConfig.hostname||n.pathname.slice(0,e.urlConfig.prefix.length)!==e.urlConfig.prefix)return;return t=(t=n.pathname.slice(e.urlConfig.prefix.length)).split(cH).slice(1).join(cH),wH(v.resolve(e.root,t+("image"===i?"":n.hash)),e)}let r=t.indexOf(hH);const s=t.indexOf(pH);-1!==s&&(-1===r||r>s)&&(r=(t=t.slice(0,s)+(-1===r?"":t.slice(r))).indexOf(hH));-1!==r&&"image"===i&&(t=t.slice(0,r));t=t.charAt(0)===hH?e.path?e.path+t:t:e.path?v.resolve(e.base,t):"";return wH(t,e)}(t.url,u,t.type);if(s){const o=s.filePath,a=s.hash;d(o,"",t),a&&((i||o===n)&&d(o,a,t),i&&o&&!l.includes(o)&&h.push(async function(t){l.push(t);try{if((await r.stat(t)).isDirectory()){let e=[];try{e=await r.readdir(t)}catch{}const i=e.sort();let n,s=-1;for(;++s{DH.run({tree:i,file:n,fileSet:e,options:{...t}},(t=>{t?r(t):e?r():xH([n],r)}))}}function EH(t,e){xH(t.valueOf(),e)}function xH(t,e){DW.run({files:t},(t=>{e(t)}))}EH.pluginId=hW.sourceId;const AH=oG({origin:"remark-lint:emphasis-marker",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-emphasis-marker#readme"},((t,e,i="consistent")=>{const n=String(e);"*"!==i&&"_"!==i&&"consistent"!==i&&e.fail("Incorrect emphasis marker `"+i+"`: use either `'consistent'`, `'*'`, or `'_'`"),Cj(t,"emphasis",(t=>{const r=uG(t).offset;if("number"==typeof r){const s=n.charAt(r);"consistent"===i?i=s:s!==i&&e.message("Emphasis should use `"+i+"` as a marker",t)}}))}));var FH=AH;const CH=oG({origin:"remark-lint:strong-marker",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-strong-marker#readme"},((t,e,i="consistent")=>{const n=String(e);"*"!==i&&"_"!==i&&"consistent"!==i&&e.fail("Incorrect strong marker `"+i+"`: use either `'consistent'`, `'*'`, or `'_'`"),Cj(t,"strong",(t=>{const r=uG(t).offset;if("number"==typeof r){const s=n.charAt(r);"consistent"===i?i=s:s!==i&&e.message("Strong should use `"+i+"` as a marker",t)}}))}));var SH=CH;const _H=new Set(["-","*","+"]),jH=oG({origin:"remark-lint:unordered-list-marker-style",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-unordered-list-marker-style#readme"},((t,e,i="consistent")=>{const n=String(e);"consistent"===i||_H.has(i)||e.fail("Incorrect unordered list item marker style `"+i+"`: use either `'-'`, `'*'`, or `'+'`"),Cj(t,"list",(t=>{if(t.ordered)return;let r=-1;for(;++r{const n=String(e);"consistent"!==i&&"~"!==i&&"`"!==i&&e.fail("Incorrect fenced code marker `"+i+"`: use either `'consistent'`, `` '`' ``, or `'~'`"),Cj(t,"code",(t=>{const r=uG(t).offset;if("number"==typeof r){const s=n.slice(r,r+4).replace(/^\s+/,"").charAt(0);"~"!==s&&"`"!==s||("consistent"===i?i=s:s!==i&&e.message("Fenced code should use `"+("~"===i?i:"` ` `")+"` as a marker",t))}}))}));var TH=BH;const RH=oG({origin:"remark-lint:rule-style",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-rule-style#readme"},((t,e,i="consistent")=>{const n=String(e);"consistent"!==i&&/[^-_* ]/.test(i)&&e.fail("Incorrect preferred rule style: provide a correct markdown rule or `'consistent'`"),Cj(t,"thematicBreak",(t=>{const r=uG(t).offset,s=lG(t).offset;if("number"==typeof r&&"number"==typeof s){const o=n.slice(r,s);"consistent"===i?i=o:o!==i&&e.message("Rules should use `"+i+"`",t)}}))}));var IH=RH;function $H({fix:t,repository:e,paddedTable:i,validateLinks:n}){const r={plugins:[rG,pG,gG,yG,kG,[FG,2],_G]};return t||r.plugins.push([FH,"_"],[SH,"*"],jG,[OH,"-"],BG,[RG,"space"],[TH,"`"],[IH,"---"],MG,qG,VG,JG,QG,[tW,"fenced"],i?[iW,"padded"]:null,sW,[aW,{checked:"x",unchecked:" "}],cW),n&&r.plugins.push([kH,{repository:e||!1}]),r.plugins=r.plugins.filter(Boolean),r}const NH=Symbol("promise");function LH(t,e){e=Br(e,NH);const i=!!t.fix,n=v.resolve(t.cwd||"."),r=qH("package.json",n)||{},s=Object.assign({},qH(".hallmarkrc",n),r.hallmark),o=function(t,...e){for(const i of e)if(i[t])return i[t]}("files",t,s)||["*.md"],a=function(t,e,i,n){const r=e.repository||i.repository,s=!1;if(r)return Pr.fromUrl(r,{committish:s}).https();const o=Pr.fromPkg(n,{committish:s,optional:!0})||Pr.fromGit(t,{committish:s});return o.https()}(n,t,s,r),u=UH("ignore",s,t);return ji(o,{usePackageJson:!1,cwd:n,ignore:u},(function(o,u){if(o)return e(o);if(!u.length)return void e(null,{code:0,files:[]});let l,c;!1===t.report?l=function(){}:t.report?(l=[].concat(t.report)[0],"string"!=typeof l&&(c=l,l=l._[0])):l=WB;const h=!1!==s.paddedTable,p=!1!==s.validateLinks,f=!1!==s.toc,d=Object.assign({},s.changelog,t.changelog),g={plugins:UH("plugins",s,t)},y={plugins:UH("fixers",s,t)};return"contributors"in s?e(new Error("The 'contributors' option has been removed")):"community"in s?e(new Error("The 'community' option has been removed")):void function(t,e){const i={};let n=new R;try{n=m.stdin}catch{}if(!e)throw new Error("Missing `callback`");if(!t||!t.processor)return c(new Error("Missing `processor`"));if(i.processor=t.processor,i.cwd="object"==typeof t.cwd?O(t.cwd):t.cwd||m.cwd(),i.files=(t.files||[]).map((t=>"object"==typeof t&&"href"in t&&!("path"in t)?O(t):t)),i.extensions=(t.extensions||[]).map((t=>"."===t.charAt(0)?t:"."+t)),i.filePath=t.filePath,i.streamIn=t.streamIn||n,i.streamOut=t.streamOut||m.stdout,i.streamError=t.streamError||m.stderr,i.alwaysStringify=t.alwaysStringify,i.output=t.output,i.out=t.out,null!==i.output&&void 0!==i.output||(i.output=void 0),i.output&&i.out)return c(new Error("Cannot accept both `output` and `out`"));const r=t.tree||!1;i.treeIn=t.treeIn,i.treeOut=t.treeOut,i.inspect=t.inspect,null!==i.treeIn&&void 0!==i.treeIn||(i.treeIn=r),null!==i.treeOut&&void 0!==i.treeOut||(i.treeOut=r);const s=t.detectConfig,o=Boolean(t.rcName||t.packageField);if(s&&!o)return c(new Error("Missing `rcName` or `packageField` with `detectConfig`"));i.detectConfig=null==s?o:s,i.rcName=t.rcName,i.rcPath=t.rcPath,i.packageField=t.packageField,i.settings=t.settings||{},i.configTransform=t.configTransform,i.defaultConfig=t.defaultConfig;const a=t.detectIgnore,u=Boolean(t.ignoreName),l=Boolean(t.ignoreUnconfigured);if(i.detectIgnore=null==a?u:a,i.ignoreName=t.ignoreName,i.ignorePath=t.ignorePath,i.ignorePathResolveFrom=t.ignorePathResolveFrom||"dir",i.ignorePatterns=t.ignorePatterns||[],i.ignoreUnconfigured=l,i.silentlyIgnore=Boolean(t.silentlyIgnore),l&&i.rcPath)return c(new Error("Cannot accept both `rcPath` and `ignoreUnconfigured`, as former prevents looking for configuration but the latter requires it"));if(l&&!o)return c(new Error("Missing `rcName` or `packageField` with `ignoreUnconfigured`, the former are needed to look for configuration"));if(l&&!i.detectConfig)return c(new Error("Cannot use `detectConfig: false` with `ignoreUnconfigured`, the former prevents looking for configuration but the latter requires it"));if(a&&!u)return c(new Error("Missing `ignoreName` with `detectIgnore`"));function c(t,n){const r=Mr((n||{}).files),s=Boolean(i.frail?r.fatal||r.warn:r.fatal);t?e(t):e(null,s?1:0,n)}i.pluginPrefix=t.pluginPrefix,i.plugins=t.plugins||[],i.reporter=t.reporter,i.reporterOptions=t.reporterOptions,i.color=t.color||!1,i.silent=t.silent,i.quiet=t.quiet,i.frail=t.frail,tC.run({files:i.files},i,c)}({processor:gT,extensions:["md","markdown"],color:Gd.stdout,files:u,cwd:n,reporter:l,reporterOptions:c,plugins:[[nR,{tableCellPadding:!0,tablePipeAlign:h,stringLength:h?t=>String(t).length:()=>3}],[Zq,{cwd:n,fix:i,pkg:r,repository:a,...d}],[bU,{repository:a}],s.autolinkReferences?[DU,{...s.autolinkReferences,fix:i}]:null,f?[IU,{tight:!0}]:null,f?[WU,{test:/^table of contents$/i,summary:"Click to expand"}]:null,i?y:null,$H({fix:i,repository:a,paddedTable:h,validateLinks:p}),g].filter(Boolean),settings:{fences:!0,listItemIndent:"one",bullet:"-",rule:"-",emphasis:"_",strong:"*"},pluginPrefix:"remark",output:i,out:!1,frail:!0,quiet:!0},(function(t,i,n){if(t)return e(t);e(null,{code:i,files:n.files})}))})),e[NH]}function PH(t,e){return"function"==typeof t&&(e=t,t={}),LH({...t,fix:!1},e)}function MH(t,e){return"function"==typeof t&&(e=t,t={}),LH({...t,fix:!0},e)}const zH={add:function(e,i,n){if(!e)throw new TypeError('First argument "target" is required');if(Array.isArray(e)){if(!e.every((t=>"string"==typeof t&&""!==t.trim())))throw new TypeError('First argument "target" must be a string or array of strings')}else if("object"==typeof e&&null!==e);else if("string"!=typeof e)throw new TypeError('First argument "target" must be a string or array of strings');"function"==typeof i?(n=i,i={}):null==i&&(i={});const r=["CHANGELOG.md"],s=v.join(i.cwd||".",r[0]);t.existsSync(s)||t.writeFileSync(s,"# Changelog\n");const o={commits:!1!==i.commits,...i.changelog,add:e};return LH({...i,files:r,changelog:o,fix:!0},n)}};function qH(e,i){const n=gn.sync(e,i,100);return n?JSON.parse(t.readFileSync(n,"utf8")):null}function UH(t,e,i){return[].concat(e[t]||[]).concat(i[t]||[])}var GH=Object.freeze({__proto__:null,cc:zH,fix:MH,lint:PH});process.version.match(/^v(\d+)\./)[1]<16&&(console.error("Skipping hallmark: Node 16 or greater is required."),process.exit(0));const WH=K(process.argv.slice(2),{boolean:["fix","help","version","commits"],string:["report"],default:{fix:!1,help:!1,version:!1,commits:!0},alias:{h:"help",v:"version",i:"ignore"}});if(WH.help)KH(0);else if(WH.version){const e=new URL("./package.json",import.meta.url);console.log(JSON.parse(t.readFileSync(e,"utf8")).version)}else{const{commits:t,_:e,...i}=WH;if("lint"===e[0])i.files=HH(e.slice(1)),PH(i,VH);else if("fix"===e[0])i.files=HH(e.slice(1)),MH(i,VH);else if("bump"===e[0])console.error("Error: the 'bump' command has been renamed to 'cc add'.\n"),KH(1);else if("cc"===e[0])if("add"===e[1]){const n=e.slice(2);n.length&&n.every(Boolean)||KH(1),zH.add(n,{...i,commits:t},VH)}else if("init"===e[1]){const{gte:e,lte:n,...r}=i;zH.add({gte:e,lte:n},{...r,commits:t},VH)}else console.error("Error: unknown command."),KH(1);else i.files=HH(e),GH[i.fix?"fix":"lint"](i,VH)}function HH(t){return t.length?t:null}function VH(t,e){if(t)throw t;process.exit(e.code)}function KH(e){const i=new URL("./USAGE",import.meta.url),n=t.readFileSync(i,"utf8").trim();e?(console.error(n),process.exit(e)):(console.log(n),process.exit())} +import t,{realpathSync as e,statSync as i,Stats as n,promises as r,constants as s}from"node:fs";import o from"path";import a from"fs";import u from"events";import l from"assert";import c from"util";import h from"os";import p,{pathToFileURL as f,fileURLToPath as d,URL as g}from"url";import m from"node:process";import y from"node:os";import b from"node:tty";import w from"tty";import v from"node:path";import D from"process";import k from"constants";import E from"stream";import x,{execFileSync as A}from"child_process";import F from"buffer";import{format as C,inspect as S,promisify as _}from"node:util";import{exec as j}from"node:child_process";import{fileURLToPath as O,URL as B,pathToFileURL as T}from"node:url";import{PassThrough as R}from"node:stream";import I from"fs/promises";import $ from"string_decoder";import N from"node:assert";import{builtinModules as L}from"node:module";import P from"node:v8";import{EventEmitter as M}from"node:events";var z="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function q(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function U(t){if(t.__esModule)return t;var e=t.default;if("function"==typeof e){var i=function t(){return this instanceof t?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};i.prototype=e.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(i,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})})),i}function G(t){return"number"==typeof t||(!!/^0x[0-9a-f]+$/i.test(t)||/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(t))}function W(t,e){return"constructor"===e&&"function"==typeof t[e]||"__proto__"===e}var H=function(t,e){e||(e={});var i={bools:{},strings:{},unknownFn:null};"function"==typeof e.unknown&&(i.unknownFn=e.unknown),"boolean"==typeof e.boolean&&e.boolean?i.allBools=!0:[].concat(e.boolean).filter(Boolean).forEach((function(t){i.bools[t]=!0}));var n={};function r(t){return n[t].some((function(t){return i.bools[t]}))}Object.keys(e.alias||{}).forEach((function(t){n[t]=[].concat(e.alias[t]),n[t].forEach((function(e){n[e]=[t].concat(n[t].filter((function(t){return e!==t})))}))})),[].concat(e.string).filter(Boolean).forEach((function(t){i.strings[t]=!0,n[t]&&[].concat(n[t]).forEach((function(t){i.strings[t]=!0}))}));var s=e.default||{},o={_:[]};function a(t,e,n){for(var r=t,s=0;s0)continue;var a=e.slice(n,o+1);"string"==typeof a[0]&&(a[0]=a[0].replace(/^\[/,"")),""===a[0]&&a.shift();var u=a.length-1;"string"==typeof a[u]&&(a[u]=a[u].replace(/\]$/,"")),""===a[u]&&a.pop(),s.push(t(a))}else 0===r&&s.push(e[o]);return H(s,i)},K=q(V),Y={exports:{}};!function(t){var e=o,i=a;function n(t){return i.existsSync(e.join(t,"package.json"))}t.exports=function i(r,s){if(s=s||n,"string"==typeof(r=r||t.parent.filename)&&(r[r.length-1]!==e.sep&&(r+=e.sep),r=r.split(e.sep)),!r.length)throw new Error("package.json not found in path");r.pop();var o=r.join(e.sep);try{if(s(o))return o}catch(t){}return i(r,s)}}(Y);var J=Y.exports,Z={},Q=o,X="win32"===process.platform,tt=a,et=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function it(t){return"function"==typeof t?t:function(){var t;if(et){var e=new Error;t=function(t){t&&(e.message=t.message,i(t=e))}}else t=i;return t;function i(t){if(t){if(process.throwDeprecation)throw t;if(!process.noDeprecation){var e="fs: missing callback "+(t.stack||t.message);process.traceDeprecation?console.trace(e):console.error(e)}}}}()}if(Q.normalize,X)var nt=/(.*?)(?:[\/\\]+|$)/g;else nt=/(.*?)(?:[\/]+|$)/g;if(X)var rt=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else rt=/^[\/]*/;Z.realpathSync=function(t,e){if(t=Q.resolve(t),e&&Object.prototype.hasOwnProperty.call(e,t))return e[t];var i,n,r,s,o=t,a={},u={};function l(){var e=rt.exec(t);i=e[0].length,n=e[0],r=e[0],s="",X&&!u[r]&&(tt.lstatSync(r),u[r]=!0)}for(l();i=t.length)return e&&(e[a]=t),i(null,t);nt.lastIndex=n;var u=nt.exec(t);return o=r,r+=u[0],s=o+u[1],n=nt.lastIndex,l[s]||e&&e[s]===s?process.nextTick(h):e&&Object.prototype.hasOwnProperty.call(e,s)?d(e[s]):tt.lstat(s,p)}function p(t,n){if(t)return i(t);if(!n.isSymbolicLink())return l[s]=!0,e&&(e[s]=s),process.nextTick(h);if(!X){var r=n.dev.toString(32)+":"+n.ino.toString(32);if(u.hasOwnProperty(r))return f(null,u[r],s)}tt.stat(s,(function(t){if(t)return i(t);tt.readlink(s,(function(t,e){X||(u[r]=e),f(t,e)}))}))}function f(t,n,r){if(t)return i(t);var s=Q.resolve(o,n);e&&(e[r]=s),d(s)}function d(e){t=Q.resolve(e,t.slice(n)),c()}c()};var st=ft;ft.realpath=ft,ft.sync=dt,ft.realpathSync=dt,ft.monkeypatch=function(){ot.realpath=ft,ot.realpathSync=dt},ft.unmonkeypatch=function(){ot.realpath=at,ot.realpathSync=ut};var ot=a,at=ot.realpath,ut=ot.realpathSync,lt=process.version,ct=/^v[0-5]\./.test(lt),ht=Z;function pt(t){return t&&"realpath"===t.syscall&&("ELOOP"===t.code||"ENOMEM"===t.code||"ENAMETOOLONG"===t.code)}function ft(t,e,i){if(ct)return at(t,e,i);"function"==typeof e&&(i=e,e=null),at(t,e,(function(n,r){pt(n)?ht.realpath(t,e,i):i(n,r)}))}function dt(t,e){if(ct)return ut(t,e);try{return ut(t,e)}catch(i){if(pt(i))return ht.realpathSync(t,e);throw i}}var gt=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},mt=yt;function yt(t,e,i){t instanceof RegExp&&(t=bt(t,i)),e instanceof RegExp&&(e=bt(e,i));var n=wt(t,e,i);return n&&{start:n[0],end:n[1],pre:i.slice(0,n[0]),body:i.slice(n[0]+t.length,n[1]),post:i.slice(n[1]+e.length)}}function bt(t,e){var i=e.match(t);return i?i[0]:null}function wt(t,e,i){var n,r,s,o,a,u=i.indexOf(t),l=i.indexOf(e,u+1),c=u;if(u>=0&&l>0){if(t===e)return[u,l];for(n=[],s=i.length;c>=0&&!a;)c==u?(n.push(c),u=i.indexOf(t,c+1)):1==n.length?a=[n.pop(),l]:((r=n.pop())=0?u:l;n.length&&(a=[s,o])}return a}yt.range=wt;var vt=function(t,e){for(var i=[],n=0;n=e}function It(t,e){var i=[],n=Dt("{","}",t);if(!n||/\$$/.test(n.pre))return[t];var r,s=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),o=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),a=s||o,u=n.body.indexOf(",")>=0;if(!a&&!u)return n.post.match(/,.*\}/)?It(t=n.pre+"{"+n.body+At+n.post):[t];if(a)r=n.body.split(/\.\./);else if(1===(r=jt(n.body)).length&&1===(r=It(r[0],!1).map(Ot)).length)return(h=n.post.length?It(n.post,!1):[""]).map((function(t){return n.pre+r[0]+t}));var l,c=n.pre,h=n.post.length?It(n.post,!1):[""];if(a){var p=St(r[0]),f=St(r[1]),d=Math.max(r[0].length,r[1].length),g=3==r.length?Math.abs(St(r[2])):1,m=Tt;f0){var D=new Array(v+1).join("0");w=b<0?"-"+D+w.slice(1):D+w}}l.push(w)}}else l=vt(r,(function(t){return It(t,!1)}));for(var k=0;k65536)throw new TypeError("pattern is too long")};Vt.prototype.parse=function(t,e){Yt(t);var i=this.options;if("**"===t){if(!i.noglobstar)return Lt;t="*"}if(""===t)return"";var n,r="",s=!!i.nocase,o=!1,a=[],u=[],l=!1,c=-1,h=-1,p="."===t.charAt(0)?"":i.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",f=this;function d(){if(n){switch(n){case"*":r+=qt,s=!0;break;case"?":r+=zt,s=!0;break;default:r+="\\"+n}f.debug("clearStateChar %j %j",n,r),n=!1}}for(var g,m=0,y=t.length;m-1;x--){var A=u[x],F=r.slice(0,A.reStart),C=r.slice(A.reStart,A.reEnd-8),S=r.slice(A.reEnd-8,A.reEnd),_=r.slice(A.reEnd);S+=_;var j=F.split("(").length-1,O=_;for(m=0;m=0&&!(n=t[r]);r--);for(r=0;r>> no match, partial?",t,h,e,p),h!==o))}if("string"==typeof l?(u=c===l,this.debug("string match",l,c,u)):(u=c.match(l),this.debug("pattern match",l,c,u)),!u)return!1}if(r===o&&s===a)return!0;if(r===o)return i;if(s===a)return r===o-1&&""===t[r];throw new Error("wtf?")};var Zt,Qt={exports:{}},Xt={exports:{}};try{var te=require("util");if("function"!=typeof te.inherits)throw"";Qt.exports=te.inherits}catch(t){Qt.exports=(Zt||(Zt=1,"function"==typeof Object.create?Xt.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Xt.exports=function(t,e){if(e){t.super_=e;var i=function(){};i.prototype=e.prototype,t.prototype=new i,t.prototype.constructor=t}}),Xt.exports)}var ee=Qt.exports,ie={exports:{}};function ne(t){return"/"===t.charAt(0)}function re(t){var e=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(t),i=e[1]||"",n=Boolean(i&&":"!==i.charAt(1));return Boolean(e[2]||n)}ie.exports="win32"===process.platform?re:ne,ie.exports.posix=ne,ie.exports.win32=re;var se=ie.exports,oe={};function ae(t,e){return Object.prototype.hasOwnProperty.call(t,e)}oe.setopts=function(t,e,i){i||(i={});if(i.matchBase&&-1===e.indexOf("/")){if(i.noglobstar)throw new Error("base matching requires globstar");e="**/"+e}t.silent=!!i.silent,t.pattern=e,t.strict=!1!==i.strict,t.realpath=!!i.realpath,t.realpathCache=i.realpathCache||Object.create(null),t.follow=!!i.follow,t.dot=!!i.dot,t.mark=!!i.mark,t.nodir=!!i.nodir,t.nodir&&(t.mark=!0);t.sync=!!i.sync,t.nounique=!!i.nounique,t.nonull=!!i.nonull,t.nosort=!!i.nosort,t.nocase=!!i.nocase,t.stat=!!i.stat,t.noprocess=!!i.noprocess,t.absolute=!!i.absolute,t.fs=i.fs||ce,t.maxLength=i.maxLength||1/0,t.cache=i.cache||Object.create(null),t.statCache=i.statCache||Object.create(null),t.symlinks=i.symlinks||Object.create(null),function(t,e){t.ignore=e.ignore||[],Array.isArray(t.ignore)||(t.ignore=[t.ignore]);t.ignore.length&&(t.ignore=t.ignore.map(ge))}(t,i),t.changedCwd=!1;var n=process.cwd();ae(i,"cwd")?(t.cwd=he.resolve(i.cwd),t.changedCwd=t.cwd!==n):t.cwd=n;t.root=i.root||he.resolve(t.cwd,"/"),t.root=he.resolve(t.root),"win32"===process.platform&&(t.root=t.root.replace(/\\/g,"/"));t.cwdAbs=pe(t.cwd)?t.cwd:me(t,t.cwd),"win32"===process.platform&&(t.cwdAbs=t.cwdAbs.replace(/\\/g,"/"));t.nomount=!!i.nomount,i.nonegate=!0,i.nocomment=!0,i.allowWindowsEscape=!1,t.minimatch=new fe(e,i),t.options=t.minimatch.options},oe.ownProp=ae,oe.makeAbs=me,oe.finish=function(t){for(var e=t.nounique,i=e?[]:Object.create(null),n=0,r=t.matches.length;nn?(i.splice(0,n),process.nextTick((function(){e.apply(null,r)}))):delete Ce[t]}}))}(t))}));function je(){if(xe)return Ee;xe=1,Ee=b;var t=st,e=$t;e.Minimatch;var i=ee,n=u.EventEmitter,r=o,s=l,a=se,c=function(){if(le)return ue;le=1,ue=p,p.GlobSync=f;var t=st,e=$t;e.Minimatch,je().Glob;var i=o,n=l,r=se,s=oe,a=s.setopts,u=s.ownProp,c=s.childrenIgnored,h=s.isIgnored;function p(t,e){if("function"==typeof e||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");return new f(t,e).found}function f(t,e){if(!t)throw new Error("must provide pattern");if("function"==typeof e||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof f))return new f(t,e);if(a(this,t,e),this.noprocess)return this;var i=this.minimatch.set.length;this.matches=new Array(i);for(var n=0;nthis.maxLength)return!1;if(!this.stat&&u(this.cache,e)){var n=this.cache[e];if(Array.isArray(n)&&(n="DIR"),!i||"DIR"===n)return n;if(i&&"FILE"===n)return!1}var r=this.statCache[e];if(!r){var s;try{s=this.fs.lstatSync(e)}catch(t){if(t&&("ENOENT"===t.code||"ENOTDIR"===t.code))return this.statCache[e]=!1,!1}if(s&&s.isSymbolicLink())try{r=this.fs.statSync(e)}catch(t){r=s}else r=s}return this.statCache[e]=r,n=!0,r&&(n=r.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||n,(!i||"FILE"!==n)&&n},f.prototype._mark=function(t){return s.mark(this,t)},f.prototype._makeAbs=function(t){return s.makeAbs(this,t)},ue}(),h=oe,p=h.setopts,f=h.ownProp,d=_e,g=h.childrenIgnored,m=h.isIgnored,y=Ae;function b(t,e,i){if("function"==typeof e&&(i=e,e={}),e||(e={}),e.sync){if(i)throw new TypeError("callback provided to sync glob");return c(t,e)}return new v(t,e,i)}b.sync=c;var w=b.GlobSync=c.GlobSync;function v(t,e,i){if("function"==typeof e&&(i=e,e=null),e&&e.sync){if(i)throw new TypeError("callback provided to sync glob");return new w(t,e)}if(!(this instanceof v))return new v(t,e,i);p(this,t,e),this._didRealPath=!1;var n=this.minimatch.set.length;this.matches=new Array(n),"function"==typeof i&&(i=y(i),this.on("error",i),this.on("end",(function(t){i(null,t)})));var r=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===n)return a();for(var s=!0,o=0;o1)return!0;for(var r=0;rthis.maxLength)return e();if(!this.stat&&f(this.cache,i)){var r=this.cache[i];if(Array.isArray(r)&&(r="DIR"),!n||"DIR"===r)return e(null,r);if(n&&"FILE"===r)return e()}var s=this.statCache[i];if(void 0!==s){if(!1===s)return e(null,s);var o=s.isDirectory()?"DIR":"FILE";return n&&"FILE"===o?e():e(null,o,s)}var a=this,u=d("stat\0"+i,(function(n,r){if(r&&r.isSymbolicLink())return a.fs.stat(i,(function(n,s){n?a._stat2(t,i,null,r,e):a._stat2(t,i,n,s,e)}));a._stat2(t,i,n,r,e)}));u&&a.fs.lstat(i,u)},v.prototype._stat2=function(t,e,i,n,r){if(i&&("ENOENT"===i.code||"ENOTDIR"===i.code))return this.statCache[e]=!1,r();var s="/"===t.slice(-1);if(this.statCache[e]=n,"/"===e.slice(-1)&&n&&!n.isDirectory())return r(null,!1,n);var o=!0;return n&&(o=n.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||o,s&&"FILE"===o?r():r(null,o,n)},Ee}function Oe(t){return Array.isArray(t)?t:[t]}const Be=/^\s+$/,Te=/(?:[^\\]|^)\\$/,Re=/^\\!/,Ie=/^\\#/,$e=/\r?\n/g,Ne=/^\.*\/|^\.+$/;let Le="node-ignore";"undefined"!=typeof Symbol&&(Le=Symbol.for("node-ignore"));const Pe=Le,Me=/([0-z])-([0-z])/g,ze=()=>!1,qe=[[/^\uFEFF/,()=>""],[/\\?\s+$/,t=>0===t.indexOf("\\")?" ":""],[/\\\s/g,()=>" "],[/[\\$.|*+(){^]/g,t=>`\\${t}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(t,e,i)=>e+6e+i.replace(/\\\*/g,"[^\\/]*")],[/\\\\\\(?=[$.|*+(){^])/g,()=>"\\"],[/\\\\/g,()=>"\\"],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(t,e,i,n,r)=>"\\"===e?`\\[${i}${(t=>{const{length:e}=t;return t.slice(0,e-e%2)})(n)}${r}`:"]"===r&&n.length%2==0?`[${(t=>t.replace(Me,((t,e,i)=>e.charCodeAt(0)<=i.charCodeAt(0)?t:"")))(i)}${n}]`:"[]"],[/(?:[^*])$/,t=>/\/$/.test(t)?`${t}$`:`${t}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(t,e)=>`${e?`${e}[^/]+`:"[^/]*"}(?=$|\\/$)`]],Ue=Object.create(null),Ge=t=>"string"==typeof t;class We{constructor(t,e,i,n){this.origin=t,this.pattern=e,this.negative=i,this.regex=n}}const He=(t,e)=>{const i=t;let n=!1;0===t.indexOf("!")&&(n=!0,t=t.substr(1));const r=((t,e)=>{let i=Ue[t];return i||(i=qe.reduce(((e,i)=>e.replace(i[0],i[1].bind(t))),t),Ue[t]=i),e?new RegExp(i,"i"):new RegExp(i)})(t=t.replace(Re,"!").replace(Ie,"#"),e);return new We(i,t,n,r)},Ve=(t,e)=>{throw new e(t)},Ke=(t,e,i)=>{if(!Ge(t))return i(`path must be a string, but got \`${e}\``,TypeError);if(!t)return i("path must not be empty",TypeError);if(Ke.isNotRelative(t)){return i(`path should be a ${"`path.relative()`d"} string, but got "${e}"`,RangeError)}return!0},Ye=t=>Ne.test(t);Ke.isNotRelative=Ye,Ke.convert=t=>t;let Je=class{constructor({ignorecase:t=!0,ignoreCase:e=t,allowRelativePaths:i=!1}={}){var n,r,s;n=this,r=Pe,s=!0,Object.defineProperty(n,r,{value:s}),this._rules=[],this._ignoreCase=e,this._allowRelativePaths=i,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(t){if(t&&t[Pe])return this._rules=this._rules.concat(t._rules),void(this._added=!0);if((t=>t&&Ge(t)&&!Be.test(t)&&!Te.test(t)&&0!==t.indexOf("#"))(t)){const e=He(t,this._ignoreCase);this._added=!0,this._rules.push(e)}}add(t){return this._added=!1,Oe(Ge(t)?(t=>t.split($e))(t):t).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(t){return this.add(t)}_testOne(t,e){let i=!1,n=!1;return this._rules.forEach((r=>{const{negative:s}=r;if(n===s&&i!==n||s&&!i&&!n&&!e)return;r.regex.test(t)&&(i=!s,n=s)})),{ignored:i,unignored:n}}_test(t,e,i,n){const r=t&&Ke.convert(t);return Ke(r,t,this._allowRelativePaths?ze:Ve),this._t(r,e,i,n)}_t(t,e,i,n){if(t in e)return e[t];if(n||(n=t.split("/")),n.pop(),!n.length)return e[t]=this._testOne(t,i);const r=this._t(n.join("/")+"/",e,i,n);return e[t]=r.ignored?r:this._testOne(t,i)}ignores(t){return this._test(t,this._ignoreCache,!1).ignored}createFilter(){return t=>!this.ignores(t)}filter(t){return Oe(t).filter(this.createFilter())}test(t){return this._test(t,this._testCache,!0)}};const Ze=t=>new Je(t);Ze.isPathValid=t=>Ke(t&&Ke.convert(t),t,ze),Ze.default=Ze;var Qe=Ze;if("undefined"!=typeof process&&(process.env&&process.env.IGNORE_TEST_WIN32||"win32"===process.platform)){const t=t=>/^\\\\\?\\/.test(t)||/["<>|\u0000-\u001F]+/u.test(t)?t:t.replace(/\\/g,"/");Ke.convert=t;const e=/^[a-z]:\//i;Ke.isNotRelative=t=>e.test(t)||Ye(t)}var Xe=q(Qe);let ti;var ei="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:z):t=>(ti||(ti=Promise.resolve())).then(t).catch((t=>setTimeout((()=>{throw t}),0))),ii=function(t,e){let i,n,r,s=!0;Array.isArray(t)?(i=[],n=t.length):(r=Object.keys(t),i={},n=r.length);function o(t){function n(){e&&e(t,i),e=null}s?ni(n):n()}function a(t,e,r){i[t]=r,(0==--n||e)&&o(e)}n?r?r.forEach((function(e){t[e]((function(t,i){a(e,t,i)}))})):t.forEach((function(t,e){t((function(t,i){a(e,t,i)}))})):o(null);s=!1};const ni=ei;function ri(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var si=c,oi=process.env.NODE_DEBUG||"",ai={},ui=function(){for(var t={},e=0;e2&&"[]"===u.slice(-2)){if("__proto__"===(u=u.substring(0,u.length-2)))return;i[u]?Array.isArray(i[u])||(i[u]=[i[u]]):i[u]=[]}Array.isArray(i[u])?i[u].push(l):i[u]=l}}}})),Object.keys(e).filter((function(t,i,n){if(!e[t]||"object"!=typeof e[t]||Array.isArray(e[t]))return!1;var r=zi(t),s=e,o=r.pop(),a=o.replace(/\\\./g,".");return r.forEach((function(t,e,i){"__proto__"!==t&&(s[t]&&"object"==typeof s[t]||(s[t]={}),s=s[t])})),(s!==e||a!==o)&&(s[a]=e[t],!0)})).forEach((function(t,i,n){delete e[t]})),e},Pi.stringify=Pi.encode=function t(e,i){var n=[],r="";"string"==typeof i?i={section:i,whitespace:!1}:(i=i||{}).whitespace=!0===i.whitespace;var s=i.whitespace?" = ":"=";Object.keys(e).forEach((function(t,i,o){var a=e[t];a&&Array.isArray(a)?a.forEach((function(e){r+=Ui(t+"[]")+s+Ui(e)+"\n"})):a&&"object"==typeof a?n.push(t):r+=Ui(t)+s+Ui(a)+Mi})),i.section&&r.length&&(r="["+Ui(i.section)+"]"+Mi+r);return n.forEach((function(n,s,o){var a=zi(n).join("\\."),u=(i.section?i.section+".":"")+a,l=t(e[n],{section:u,whitespace:i.whitespace});r.length&&l.length&&(r+=Mi),r+=l})),r},Pi.safe=Ui,Pi.unsafe=Gi;var Mi="undefined"!=typeof process&&"win32"===process.platform?"\r\n":"\n";function zi(t){return t.replace(/\1/g,"LITERAL\\1LITERAL").replace(/\\\./g,"").split(/\./).map((function(t){return t.replace(/\1/g,"\\.").replace(/\2LITERAL\\1LITERAL\2/g,"")}))}function qi(t){return'"'===t.charAt(0)&&'"'===t.slice(-1)||"'"===t.charAt(0)&&"'"===t.slice(-1)}function Ui(t){return"string"!=typeof t||t.match(/[=\r\n]/)||t.match(/^\[/)||t.length>1&&qi(t)||t!==t.trim()?JSON.stringify(t):t.replace(/;/g,"\\;").replace(/#/g,"\\#")}function Gi(t,e){if(!qi(t=(t||"").trim())){for(var i=!1,n="",r=0,s=t.length;r0)for(var i=0,n=arguments.length;i1)i=e;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,i=this.head.value}for(var r=0;null!==n;r++)i=t(i,n.value,r),n=n.next;return i},jn.prototype.reduceReverse=function(t,e){var i,n=this.tail;if(arguments.length>1)i=e;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,i=this.tail.value}for(var r=this.length-1;null!==n;r--)i=t(i,n.value,r),n=n.prev;return i},jn.prototype.toArray=function(){for(var t=new Array(this.length),e=0,i=this.head;null!==i;e++)t[e]=i.value,i=i.next;return t},jn.prototype.toArrayReverse=function(){for(var t=new Array(this.length),e=0,i=this.tail;null!==i;e++)t[e]=i.value,i=i.prev;return t},jn.prototype.slice=function(t,e){(e=e||this.length)<0&&(e+=this.length),(t=t||0)<0&&(t+=this.length);var i=new jn;if(ethis.length&&(e=this.length);for(var n=0,r=this.head;null!==r&&nthis.length&&(e=this.length);for(var n=this.length,r=this.tail;null!==r&&n>e;n--)r=r.prev;for(;null!==r&&n>t;n--,r=r.prev)i.push(r.value);return i},jn.prototype.splice=function(t,e,...i){t>this.length&&(t=this.length-1),t<0&&(t=this.length+t);for(var n=0,r=this.head;null!==r&&n1;const Vn=(t,e,i)=>{const n=t[Gn].get(e);if(n){const e=n.value;if(Kn(t,e)){if(Jn(t,n),!t[Pn])return}else i&&(t[Wn]&&(n.value.now=Date.now()),t[Un].unshiftNode(n));return e.value}},Kn=(t,e)=>{if(!e||!e.maxAge&&!t[Mn])return!1;const i=Date.now()-e.now;return e.maxAge?i>e.maxAge:t[Mn]&&i>t[Mn]},Yn=t=>{if(t[Nn]>t[$n])for(let e=t[Un].tail;t[Nn]>t[$n]&&null!==e;){const i=e.prev;Jn(t,e),e=i}},Jn=(t,e)=>{if(e){const i=e.value;t[zn]&&t[zn](i.key,i.value),t[Nn]-=i.length,t[Gn].delete(i.key),t[Un].removeNode(e)}};class Zn{constructor(t,e,i,n,r){this.key=t,this.value=e,this.length=i,this.now=n,this.maxAge=r||0}}const Qn=(t,e,i,n)=>{let r=i.value;Kn(t,r)&&(Jn(t,i),t[Pn]||(r=void 0)),r&&e.call(n,r.value,r.key,t)};var Xn=class{constructor(t){if("number"==typeof t&&(t={max:t}),t||(t={}),t.max&&("number"!=typeof t.max||t.max<0))throw new TypeError("max must be a non-negative number");this[$n]=t.max||1/0;const e=t.length||Hn;if(this[Ln]="function"!=typeof e?Hn:e,this[Pn]=t.stale||!1,t.maxAge&&"number"!=typeof t.maxAge)throw new TypeError("maxAge must be a number");this[Mn]=t.maxAge||0,this[zn]=t.dispose,this[qn]=t.noDisposeOnSet||!1,this[Wn]=t.updateAgeOnGet||!1,this.reset()}set max(t){if("number"!=typeof t||t<0)throw new TypeError("max must be a non-negative number");this[$n]=t||1/0,Yn(this)}get max(){return this[$n]}set allowStale(t){this[Pn]=!!t}get allowStale(){return this[Pn]}set maxAge(t){if("number"!=typeof t)throw new TypeError("maxAge must be a non-negative number");this[Mn]=t,Yn(this)}get maxAge(){return this[Mn]}set lengthCalculator(t){"function"!=typeof t&&(t=Hn),t!==this[Ln]&&(this[Ln]=t,this[Nn]=0,this[Un].forEach((t=>{t.length=this[Ln](t.value,t.key),this[Nn]+=t.length}))),Yn(this)}get lengthCalculator(){return this[Ln]}get length(){return this[Nn]}get itemCount(){return this[Un].length}rforEach(t,e){e=e||this;for(let i=this[Un].tail;null!==i;){const n=i.prev;Qn(this,t,i,e),i=n}}forEach(t,e){e=e||this;for(let i=this[Un].head;null!==i;){const n=i.next;Qn(this,t,i,e),i=n}}keys(){return this[Un].toArray().map((t=>t.key))}values(){return this[Un].toArray().map((t=>t.value))}reset(){this[zn]&&this[Un]&&this[Un].length&&this[Un].forEach((t=>this[zn](t.key,t.value))),this[Gn]=new Map,this[Un]=new In,this[Nn]=0}dump(){return this[Un].map((t=>!Kn(this,t)&&{k:t.key,v:t.value,e:t.now+(t.maxAge||0)})).toArray().filter((t=>t))}dumpLru(){return this[Un]}set(t,e,i){if((i=i||this[Mn])&&"number"!=typeof i)throw new TypeError("maxAge must be a number");const n=i?Date.now():0,r=this[Ln](e,t);if(this[Gn].has(t)){if(r>this[$n])return Jn(this,this[Gn].get(t)),!1;const s=this[Gn].get(t).value;return this[zn]&&(this[qn]||this[zn](t,s.value)),s.now=n,s.maxAge=i,s.value=e,this[Nn]+=r-s.length,s.length=r,this.get(t),Yn(this),!0}const s=new Zn(t,e,r,n,i);return s.length>this[$n]?(this[zn]&&this[zn](t,e),!1):(this[Nn]+=s.length,this[Un].unshift(s),this[Gn].set(t,this[Un].head),Yn(this),!0)}has(t){if(!this[Gn].has(t))return!1;const e=this[Gn].get(t).value;return!Kn(this,e)}get(t){return Vn(this,t,!0)}peek(t){return Vn(this,t,!1)}pop(){const t=this[Un].tail;return t?(Jn(this,t),t.value):null}del(t){Jn(this,this[Gn].get(t))}load(t){this.reset();const e=Date.now();for(let i=t.length-1;i>=0;i--){const n=t[i],r=n.e||0;if(0===r)this.set(n.k,n.v);else{const t=r-e;t>0&&this.set(n.k,n.v,t)}}}prune(){this[Gn].forEach(((t,e)=>Vn(this,e,!1)))}},tr=p,er=xn,ir=yn.exports=Cn,nr=new Xn({max:1e3}),rr={"git+ssh:":"sshurl","git+https:":"https","ssh:":"sshurl","git:":"git"};var sr={"git:":!0,"https:":!0,"git+https:":!0,"http:":!0,"git+http:":!0};yn.exports.fromUrl=function(t,e){if("string"==typeof t){var i=t+JSON.stringify(e||{});return nr.has(i)||nr.set(i,function(t,e){if(null==t||""===t)return;var i=function(t){var e=tr.parse(t);return"gist:"===e.protocol&&e.host&&!e.path?e.protocol+"/"+e.host:t}((o=t,/^[^:@%/\s.-][^:@%/\s]*[/][^:@\s/%]+(?:#.*)?$/.test(o)?"github:"+t:t)),n=function(t){var e=t.match(/^([^@]+)@([^:/]+):[/]?((?:[^/]+[/])?[^/]+?)(?:[.]git)?(#.*)?$/);if(!e){var i=tr.parse(t);if(i.auth){const e=t.match(/[^@]+@[^:/]+/);if(e){var n=new tr.URL(e[0]);i.auth=n.username||"",n.password&&(i.auth+=":"+n.password)}}return i}return{protocol:"git+ssh:",slashes:!0,auth:e[1],host:e[2],port:null,hostname:e[2],hash:e[4],search:null,query:null,pathname:"/"+e[3],path:"/"+e[3],href:"git+ssh://"+e[1]+"@"+e[2]+"/"+e[3]+(e[4]||"")}}(i),r=i.match(/^([^:]+):(?:[^@]+@)?(?:([^/]*)\/)?([^#]+)/),s=Object.keys(er).map((function(t){try{var i=er[t],s=null;n.auth&&sr[n.protocol]&&(s=n.auth);var o=n.hash?decodeURIComponent(n.hash.substr(1)):null,a=null,u=null,l=null;if(r&&r[1]===t)a=r[2]&&decodeURIComponent(r[2]),u=decodeURIComponent(r[3].replace(/\.git$/,"")),l="shortcut";else{if(n.host&&n.host!==i.domain&&n.host.replace(/^www[.]/,"")!==i.domain)return;if(!i.protocols_re.test(n.protocol))return;if(!n.path)return;var c=i.pathmatch,h=n.path.match(c);if(!h)return;null!==h[1]&&void 0!==h[1]&&(a=decodeURIComponent(h[1].replace(/^:/,""))),u=decodeURIComponent(h[2]),l=function(t){return rr[t]||t.slice(0,-1)}(n.protocol)}return new ir(t,a,s,u,o,l,e)}catch(t){if(!(t instanceof URIError))throw t}})).filter((function(t){return t}));var o;if(1!==s.length)return;return s[0]}(t,e)),nr.get(i)}};var or=yn.exports;const ar=a,ur=h,lr=o;const cr=a,hr=h,pr=o,fr=c,dr=Pi,gr=function(t,e){"string"!=typeof t&&(e=t,t=null);let i,n=Object.assign({cwd:process.cwd(),type:t},e);if(i="global"===n.type?lr.join(ur.homedir(),".gitconfig"):lr.resolve(n.cwd,".git/config"),!ar.existsSync(i)){if("string"==typeof n.type)return null;i=lr.join(ur.homedir(),".config/git/config")}return ar.existsSync(i)?i:null},mr=t=>t?t.replace(/^~/,hr.homedir()):"",yr=(t,e)=>("function"==typeof t&&(e=t,t=null),"function"!=typeof e?yr.promise(t):yr.promise(t).then((t=>e(null,t))).catch(e));function br(t,e){let i=Object.assign({},e);t=t.replace(/\[(\S+) "(.*)"\]/g,((t,e,i)=>e&&i?`[${e} "${i.split(".").join("\\.")}"]`:t));let n=dr.parse(t);return!0===i.expandKeys?yr.expandKeys(n):n}function wr(t,e){let i=t.split("\n").filter((t=>""!==t.trim())),n=i.length,r=[];for(let t=0;t{let e=yr.resolveConfigPath(t),i=fr.promisify(cr.readFile),n=fr.promisify(cr.stat);return e?n(e).then((()=>i(e,"utf8"))).then((i=>(t&&!0===t.include&&(i=wr(i,pr.resolve(pr.dirname(e)))),br(i,t)))):Promise.resolve(null)},yr.sync=t=>{let e=yr.resolveConfigPath(t);if(e&&cr.existsSync(e)){let i=cr.readFileSync(e,"utf8");if(t&&!0===t.include){i=wr(i,pr.resolve(pr.dirname(e)))}return br(i,t)}return{}},yr.resolveConfigPath=t=>{"string"==typeof t&&(t={type:t});const e=Object.assign({cwd:process.cwd()},t),i=e.path?mr(e.path):gr(e.type);return i?pr.resolve(e.cwd,i):null},yr.resolve=t=>yr.resolveConfigPath(t),yr.expandKeys=t=>{for(let e of Object.keys(t)){let i=/(\S+) "(.*)"/.exec(e);if(!i)continue;let n=i[1];t[n]=t[n]||{},t[n][i[2]]=t[e],delete t[e]}return t};const vr=yr,Dr=(t,e)=>{"function"==typeof t&&(e=t,t=null),"string"==typeof t&&(t={path:t});let i=Dr.promise(t);if("function"!=typeof e)return i;i.then((t=>e(null,t))).catch(e)};function kr(t){if(t.hasOwnProperty('remote "origin"'))return'remote "origin"';return Object.keys(t).find((t=>/^remote /.test(t)))}Dr.promise=t=>new Promise(((e,i)=>{vr(t,((t,n)=>{if(t)return void i("ENOENT"!==t.code?t:void 0);let r=n[kr(n)];e(r?r.url:void 0)}))})),Dr.sync=t=>{"string"==typeof t&&(t={path:t});let e=vr.sync(t);if(e){let t=e[kr(e)];return t?t.url:void 0}};var Er=Dr;const xr=/(^|[/.])([/.]|$)|^@$|@{|[\x00-\x20\x7f~^:?*[\\]|\.lock(\/|$)/;var Ar=function(t,e){if("string"!=typeof t)throw new TypeError("Reference name must be a string");return!xr.test(t)&&(!!e||t.includes("/"))};const Fr=Ar,Cr=/^(-|HEAD$)/;var Sr=function(t){return Fr(t,!0)&&!Cr.test(t)},_r={exports:{}},jr={},Or=process.nextTick.bind(process),Br=jr.fromCallback=function(t,e){if(void 0===t){var i=new Promise((function(e,i){t=function(t,n){t?i(t):e(n)}}));t[void 0!==e?e:"promise"]=i}else if("function"!=typeof t)throw new TypeError("Callback must be a function");return t};jr.fromPromise=function(t,e){if(void 0===e)return t;t.then((function(t){Or((()=>e(null,t)))})).catch((function(t){Or((()=>e(t)))}))};const Tr=dn,Rr=jr.fromCallback,Ir=o,$r=a;function Nr(t,e){const i=/^gitdir:\s*([^\s]+)$/im.exec(e);return null!==i?Ir.resolve(t,"..",i[1]):null}_r.exports=function t(e,i,n){return"function"==typeof e?t(null,null,e):"function"==typeof i?t(e,null,i):(e=e||".",n=Rr(n),i?Tr(".git",e,r):r(null,Ir.resolve(e,".git")),n.promise);function r(t,e){return t?n(t):e?void $r.readFile(e,"utf8",(function(t,i){if(t)return"ENOENT"===t.code?n(null,null):"EISDIR"===t.code?n(null,e):n(t);n(null,Nr(e,i))})):n(null,null)}},_r.exports.sync=function(t,e){let i,n;if(t=t||".",i=e?Tr.sync(".git",t):Ir.resolve(t,".git"),!i)return null;try{n=$r.readFileSync(i,"utf8")}catch(t){if("ENOENT"===t.code)return null;if("EISDIR"===t.code)return i;throw t}return Nr(i,n)};var Lr=_r.exports;!function(t){const e=or,i=Er,n=Ar,r=Sr,s=Lr,u=dn,l=o,c=a,h=Symbol("shell"),p=Symbol("nut"),f=Symbol("raw"),d=Symbol("format"),g=Symbol("stop"),m=Symbol("defaultBranch"),y=new Set(["shortcut","slug","https","ssh","sshurl","git"]),b=Object.seal({});function w(t,e){return".git"===l.basename(t)?t:s.sync(t,e)}function v(t){return i.sync({cwd:t,path:"config"})}function D(t){return null!=t?t:b}function k(t,i){if(!t){if(i.optional)return null;throw new Error("Unable to find git host")}const n={__cacheBuster:i},r=e.fromUrl(t,n);if(!r){if(i.optional)return i[g]||null;throw new Error(`Unable to parse git host URL ${B(t)}`)}return null==r[h]&&_(r,h,new E(t,r,i)),r[h]}t.fromUrl=function(t,e){return e=D(e),k(j(t,"URL"),e)},t.fromDir=function(e,i){e=l.resolve(j(e,"Path"));const n=!!(i=D(i)).roam,r={...i,roam:!1,optional:!0,[g]:g};let s,o=e,a=null;do{let e=t.fromPkg(o,r);if(e===g)break;if(null!=e)return e;if(null==a){if(a=w(o,r.roam),e=k(a?v(a):null,r),e===g)break;if(null!=e)return e}s=o,o=l.dirname(o)}while(n&&o!==s);if(i.optional)return null;throw new Error(`Unable to find git host in directory ${B(e)}`)},t.fromPkg=function(t,e){if(e=D(e),"string"==typeof t&&(t=function(t,e){const i="package.json",n=e.roam?u.sync(i,t):l.join(t,i),r=n?function(t){try{return c.readFileSync(t,"utf8")}catch(t){if("ENOENT"!==t.code)throw t}}(n):null;return r?JSON.parse(r):null}(j(t,"Path"),e)),null!=t&&null!=t.repository){if("string"==typeof t.repository){return k(j(t.repository,"The repository in package.json"),e)}if("object"==typeof t.repository){const{type:i,url:n}=t.repository;if(null!=i&&"git"!==i)throw new Error(`The repository type in package.json is unsupported: ${B(i)}`);return k(j(n,"The repository url in package.json"),e)}{const e="a string or object",i=O(t.repository);throw new TypeError(`The repository in package.json must be ${e}, got ${i}`)}}return k(null,e)},t.fromGit=function(t,e){const i=w(t,!!(e=D(e)).roam);return k(i?v(i):null,e)};class E{constructor(t,e,i){_(this,f,t),_(this,p,e),_(this,d,function(t,e){return"shortcut"===e.default&&t.startsWith(e.user)?"slug":"sshurl"===e.default&&t.startsWith("git@")?"ssh":"http"===e.default?"https":e.default||"ssh"}(t,e)),_(this,m,i.defaultBranch?C(i.defaultBranch):"main"),this.type=e.type,this.owner=e.user,this.name=e.project,this.committish=A(e,i)||null}get raw(){return this[f]}get format(){return this[d]}get hostname(){return this[p].domain}file(t,e){return t=S(t,"File path"),this[p].file(t,{committish:x(this,e)})}shortcut(t){return this[p].shortcut({committish:A(this,t)})}slug(t){const e=A(this,t);return e?`${this.owner}/${this.name}#${e}`:`${this.owner}/${this.name}`}homepage(){return this[p].browse({committish:""})}browse(t,e,i){return"object"==typeof t&&null!==t?this.browse(null,null,t):"object"==typeof e&&null!==e?this.browse(t,null,e):(t=t?S(t,"Browse path"):"",e=e?j(e,"Browse fragment"):"",this[p].browse(t,e,{committish:x(this,i)}).replace(/\/$/,""))}bugs(){return this[p].bugs()}https(t){return this[p].https({noGitPlus:!0,committish:A(this,t)})}ssh(t){return this[p].ssh({committish:A(this,t)})}sshurl(t){return this[p].sshurl({noGitPlus:!0,committish:A(this,t)})}git(t){return this.https(t).replace(/^(git\+)?https:/,"git:")}tarball(t){return this[p].tarball({committish:x(this,t)})}toString(t){const e=t&&t.format||this.format;if(!y.has(e)){const t=Array.from(y).map((t=>JSON.stringify(t))).join(", "),i=O(e);throw new Error("Format must be one of "+t+", got "+i)}return this[e](t)}}function x(t,e){return(e=e||b).committish?F(e.committish):t.committish&&!1!==e.committish?t.committish:e.defaultBranch?C(e.defaultBranch):t[m]}function A(t,e){return void 0!==(e=e||b).committish?e.committish?F(e.committish):"":t.committish||""}function F(t){if("string"!=typeof t)throw new TypeError("Committish must be a string, got "+O(t));if(!n(t,!0))throw new TypeError("Committish must be a valid git reference name");return t}function C(t){if("string"!=typeof t)throw new TypeError("Default branch must be a string, got "+O(t));if(!r(t))throw new TypeError("Default branch must be a valid git branch name");return t}function S(t,e){if(j(t,e),t.includes(".."))throw new Error(`${e} ${B(t)} is unsafe`);return t.replace(/\\/g,"/").replace(/\/+/g,"/")}function _(t,e,i){Object.defineProperty(t,e,{value:i,enumerable:!1})}function j(t,e){if("string"!=typeof t||""===t)throw new TypeError(`${e} must be a non-empty string, got ${O(t)}`);return t}function O(t){return void 0===t?"undefined":`${typeof t} ${B(t)}`}function B(t){return JSON.stringify(t)}}(mn);var Pr=q(mn);function Mr(t){const e={true:0,false:0,null:0};return t&&(Array.isArray(t)?i(t):n(t)),{fatal:e.true,nonfatal:e.false+e.null,warn:e.false,info:e.null,total:e.true+e.false+e.null};function i(t){let e=-1;for(;++ee.length;let o;s&&e.push(n);try{o=t.apply(this,e)}catch(t){if(s&&i)throw t;return n(t)}s||(o&&o.then&&"function"==typeof o.then?o.then(r,n):o instanceof Error?n(o):r(o))};function n(t,...n){i||(i=!0,e(t,...n))}function r(t){n(null,t)}}var Ur={},Gr={},Wr={},Hr={};const Vr=Symbol.for("yaml.alias"),Kr=Symbol.for("yaml.document"),Yr=Symbol.for("yaml.map"),Jr=Symbol.for("yaml.pair"),Zr=Symbol.for("yaml.scalar"),Qr=Symbol.for("yaml.seq"),Xr=Symbol.for("yaml.node.type"),ts=t=>!!t&&"object"==typeof t&&t[Xr]===Zr;function es(t){if(t&&"object"==typeof t)switch(t[Xr]){case Yr:case Qr:return!0}return!1}Hr.ALIAS=Vr,Hr.DOC=Kr,Hr.MAP=Yr,Hr.NODE_TYPE=Xr,Hr.PAIR=Jr,Hr.SCALAR=Zr,Hr.SEQ=Qr,Hr.hasAnchor=t=>(ts(t)||es(t))&&!!t.anchor,Hr.isAlias=t=>!!t&&"object"==typeof t&&t[Xr]===Vr,Hr.isCollection=es,Hr.isDocument=t=>!!t&&"object"==typeof t&&t[Xr]===Kr,Hr.isMap=t=>!!t&&"object"==typeof t&&t[Xr]===Yr,Hr.isNode=function(t){if(t&&"object"==typeof t)switch(t[Xr]){case Vr:case Yr:case Zr:case Qr:return!0}return!1},Hr.isPair=t=>!!t&&"object"==typeof t&&t[Xr]===Jr,Hr.isScalar=ts,Hr.isSeq=t=>!!t&&"object"==typeof t&&t[Xr]===Qr;var is={},ns=Hr;const rs=Symbol("break visit"),ss=Symbol("skip children"),os=Symbol("remove node");function as(t,e){const i=hs(e);if(ns.isDocument(t)){us(null,t.contents,i,Object.freeze([t]))===os&&(t.contents=null)}else us(null,t,i,Object.freeze([]))}function us(t,e,i,n){const r=ps(t,e,i,n);if(ns.isNode(r)||ns.isPair(r))return fs(t,n,r),us(t,r,i,n);if("symbol"!=typeof r)if(ns.isCollection(e)){n=Object.freeze(n.concat(e));for(let t=0;t"!==t[t.length-1]&&e("Verbatim tags must end with a >"),i)}const[,i,n]=t.match(/^(.*!)([^!]*)$/s);n||e(`The ${t} tag has no suffix`);const r=this.tags[i];if(r)try{return r+decodeURIComponent(n)}catch(t){return e(String(t)),null}return"!"===i?t:(e(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[e,i]of Object.entries(this.tags))if(t.startsWith(i))return e+t.substring(i.length).replace(/[!,[\]{}]/g,(t=>ms[t]));return"!"===t[0]?t:`!<${t}>`}toString(t){const e=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],i=Object.entries(this.tags);let n;if(t&&i.length>0&&ds.isNode(t.contents)){const e={};gs.visit(t.contents,((t,i)=>{ds.isNode(i)&&i.tag&&(e[i.tag]=!0)})),n=Object.keys(e)}else n=[];for(const[r,s]of i)"!!"===r&&"tag:yaml.org,2002:"===s||t&&!n.some((t=>t.startsWith(s)))||e.push(`%TAG ${r} ${s}`);return e.join("\n")}}ys.defaultYaml={explicit:!1,version:"1.2"},ys.defaultTags={"!!":"tag:yaml.org,2002:"},Wr.Directives=ys;var bs={},ws={},vs={},Ds=Hr,ks=is;function Es(t){const e=new Set;return ks.visit(t,{Value(t,i){i.anchor&&e.add(i.anchor)}}),e}function xs(t,e){for(let i=1;;++i){const n=`${t}${i}`;if(!e.has(n))return n}}vs.anchorIsValid=function(t){if(/[\x00-\x19\s,[\]{}]/.test(t)){const e=JSON.stringify(t);throw new Error(`Anchor must not contain whitespace or control characters: ${e}`)}return!0},vs.anchorNames=Es,vs.createNodeAnchors=function(t,e){const i=[],n=new Map;let r=null;return{onAnchor:n=>{i.push(n),r||(r=Es(t));const s=xs(e,r);return r.add(s),s},setAnchors:()=>{for(const t of i){const e=n.get(t);if("object"!=typeof e||!e.anchor||!Ds.isScalar(e.node)&&!Ds.isCollection(e.node)){const e=new Error("Failed to resolve repeated object (this should not happen)");throw e.source=t,e}e.node.anchor=e.anchor}},sourceObjects:n}},vs.findNewAnchor=xs;var As={},Fs={};Fs.applyReviver=function t(e,i,n,r){if(r&&"object"==typeof r)if(Array.isArray(r))for(let i=0,n=r.length;it(e,String(i),n)));if(e&&"function"==typeof e.toJSON){if(!n||!Ss.hasAnchor(e))return e.toJSON(i,n);const t={aliasCount:0,count:1,res:void 0};n.anchors.set(e,t),n.onCreate=e=>{t.res=e,delete n.onCreate};const r=e.toJSON(i,n);return n.onCreate&&n.onCreate(r),r}return"bigint"!=typeof e||n?.keep?e:Number(e)};var _s=Fs,js=Hr,Os=Cs;As.NodeBase=class{constructor(t){Object.defineProperty(this,js.NODE_TYPE,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:e,maxAliasCount:i,onAnchor:n,reviver:r}={}){if(!js.isDocument(t))throw new TypeError("A document argument is required");const s={anchors:new Map,doc:t,keep:!0,mapAsMap:!0===e,mapKeyWarned:!1,maxAliasCount:"number"==typeof i?i:100},o=Os.toJS(this,"",s);if("function"==typeof n)for(const{count:t,res:e}of s.anchors.values())n(e,t);return"function"==typeof r?_s.applyReviver(r,{"":o},"",o):o}};var Bs=vs,Ts=is,Rs=Hr,Is=As,$s=Cs;let Ns=class extends Is.NodeBase{constructor(t){super(Rs.ALIAS),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let e;return Ts.visit(t,{Node:(t,i)=>{if(i===this)return Ts.visit.BREAK;i.anchor===this.source&&(e=i)}}),e}toJSON(t,e){if(!e)return{source:this.source};const{anchors:i,doc:n,maxAliasCount:r}=e,s=this.resolve(n);if(!s){const t=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(t)}let o=i.get(s);if(o||($s.toJS(s,null,e),o=i.get(s)),!o||void 0===o.res){throw new ReferenceError("This should not happen: Alias anchor was not resolved?")}if(r>=0&&(o.count+=1,0===o.aliasCount&&(o.aliasCount=Ls(n,s,i)),o.count*o.aliasCount>r)){throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack")}return o.res}toString(t,e,i){const n=`*${this.source}`;if(t){if(Bs.anchorIsValid(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const t=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(t)}if(t.implicitKey)return`${n} `}return n}};function Ls(t,e,i){if(Rs.isAlias(e)){const n=e.resolve(t),r=i&&n&&i.get(n);return r?r.count*r.aliasCount:0}if(Rs.isCollection(e)){let n=0;for(const r of e.items){const e=Ls(t,r,i);e>n&&(n=e)}return n}if(Rs.isPair(e)){const n=Ls(t,e.key,i),r=Ls(t,e.value,i);return Math.max(n,r)}return 1}ws.Alias=Ns;var Ps={},Ms={},zs={},qs=Hr,Us=As,Gs=Cs;let Ws=class extends Us.NodeBase{constructor(t){super(qs.SCALAR),this.value=t}toJSON(t,e){return e?.keep?this.value:Gs.toJS(this.value,t,e)}toString(){return String(this.value)}};Ws.BLOCK_FOLDED="BLOCK_FOLDED",Ws.BLOCK_LITERAL="BLOCK_LITERAL",Ws.PLAIN="PLAIN",Ws.QUOTE_DOUBLE="QUOTE_DOUBLE",Ws.QUOTE_SINGLE="QUOTE_SINGLE",zs.Scalar=Ws,zs.isScalarValue=t=>!t||"function"!=typeof t&&"object"!=typeof t;var Hs=ws,Vs=Hr,Ks=zs;Ms.createNode=function(t,e,i){if(Vs.isDocument(t)&&(t=t.contents),Vs.isNode(t))return t;if(Vs.isPair(t)){const e=i.schema[Vs.MAP].createNode?.(i.schema,null,i);return e.items.push(t),e}(t instanceof String||t instanceof Number||t instanceof Boolean||"undefined"!=typeof BigInt&&t instanceof BigInt)&&(t=t.valueOf());const{aliasDuplicateObjects:n,onAnchor:r,onTagObj:s,schema:o,sourceObjects:a}=i;let u;if(n&&t&&"object"==typeof t){if(u=a.get(t),u)return u.anchor||(u.anchor=r(t)),new Hs.Alias(u.anchor);u={anchor:null,node:null},a.set(t,u)}e?.startsWith("!!")&&(e="tag:yaml.org,2002:"+e.slice(2));let l=function(t,e,i){if(e){const t=i.filter((t=>t.tag===e)),n=t.find((t=>!t.format))??t[0];if(!n)throw new Error(`Tag ${e} not found`);return n}return i.find((e=>e.identify?.(t)&&!e.format))}(t,e,o.tags);if(!l){if(t&&"function"==typeof t.toJSON&&(t=t.toJSON()),!t||"object"!=typeof t){const e=new Ks.Scalar(t);return u&&(u.node=e),e}l=t instanceof Map?o[Vs.MAP]:Symbol.iterator in Object(t)?o[Vs.SEQ]:o[Vs.MAP]}s&&(s(l),delete i.onTagObj);const c=l?.createNode?l.createNode(i.schema,t,i):"function"==typeof l?.nodeClass?.from?l.nodeClass.from(i.schema,t,i):new Ks.Scalar(t);return e?c.tag=e:l.default||(c.tag=l.tag),u&&(u.node=c),c};var Ys=Ms,Js=Hr,Zs=As;function Qs(t,e,i){let n=i;for(let t=e.length-1;t>=0;--t){const i=e[t];if("number"==typeof i&&Number.isInteger(i)&&i>=0){const t=[];t[i]=n,n=t}else n=new Map([[i,n]])}return Ys.createNode(n,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:t,sourceObjects:new Map})}const Xs=t=>null==t||"object"==typeof t&&!!t[Symbol.iterator]().next().done;let to=class extends Zs.NodeBase{constructor(t,e){super(t),Object.defineProperty(this,"schema",{value:e,configurable:!0,enumerable:!1,writable:!0})}clone(t){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(e.schema=t),e.items=e.items.map((e=>Js.isNode(e)||Js.isPair(e)?e.clone(t):e)),this.range&&(e.range=this.range.slice()),e}addIn(t,e){if(Xs(t))this.add(e);else{const[i,...n]=t,r=this.get(i,!0);if(Js.isCollection(r))r.addIn(n,e);else{if(void 0!==r||!this.schema)throw new Error(`Expected YAML collection at ${i}. Remaining path: ${n}`);this.set(i,Qs(this.schema,n,e))}}}deleteIn(t){const[e,...i]=t;if(0===i.length)return this.delete(e);const n=this.get(e,!0);if(Js.isCollection(n))return n.deleteIn(i);throw new Error(`Expected YAML collection at ${e}. Remaining path: ${i}`)}getIn(t,e){const[i,...n]=t,r=this.get(i,!0);return 0===n.length?!e&&Js.isScalar(r)?r.value:r:Js.isCollection(r)?r.getIn(n,e):void 0}hasAllNullValues(t){return this.items.every((e=>{if(!Js.isPair(e))return!1;const i=e.value;return null==i||t&&Js.isScalar(i)&&null==i.value&&!i.commentBefore&&!i.comment&&!i.tag}))}hasIn(t){const[e,...i]=t;if(0===i.length)return this.has(e);const n=this.get(e,!0);return!!Js.isCollection(n)&&n.hasIn(i)}setIn(t,e){const[i,...n]=t;if(0===n.length)this.set(i,e);else{const t=this.get(i,!0);if(Js.isCollection(t))t.setIn(n,e);else{if(void 0!==t||!this.schema)throw new Error(`Expected YAML collection at ${i}. Remaining path: ${n}`);this.set(i,Qs(this.schema,n,e))}}}};to.maxFlowStringSingleLineLength=60,Ps.Collection=to,Ps.collectionFromPath=Qs,Ps.isEmptyPath=Xs;var eo={},io={},no={},ro={};function so(t,e){return/^\n+$/.test(t)?t.substring(1):e?t.replace(/^(?! *$)/gm,e):t}ro.indentComment=so,ro.lineComment=(t,e,i)=>t.endsWith("\n")?so(i,e):i.includes("\n")?"\n"+so(i,e):(t.endsWith(" ")?"":" ")+i,ro.stringifyComment=t=>t.replace(/^(?!$)(?: $)?/gm,"#");var oo={},ao={};const uo="block",lo="quoted";function co(t,e,i){let n=e,r=e+1,s=t[r];for(;" "===s||"\t"===s;)if(er-Math.max(2,s)?l.push(0):f=r-n);let d=!1,g=-1,m=-1,y=-1;i===uo&&(g=co(t,g,e.length),-1!==g&&(f=g+u));for(let n;n=t[g+=1];){if(i===lo&&"\\"===n){switch(m=g,t[g+1]){case"x":g+=3;break;case"u":g+=5;break;case"U":g+=9;break;default:g+=1}y=g}if("\n"===n)i===uo&&(g=co(t,g,e.length)),f=g+e.length+u,h=void 0;else{if(" "===n&&p&&" "!==p&&"\n"!==p&&"\t"!==p){const e=t[g+1];e&&" "!==e&&"\n"!==e&&"\t"!==e&&(h=g)}if(g>=f)if(h)l.push(h),f=h+u,h=void 0;else if(i===lo){for(;" "===p||"\t"===p;)p=n,n=t[g+=1],d=!0;const e=g>y+1?g-2:m-1;if(c[e])return t;l.push(e),c[e]=!0,f=e+u,h=void 0}else d=!0}p=n}if(d&&a&&a(),0===l.length)return t;o&&o();let b=t.slice(0,l[0]);for(let n=0;n({indentAtStart:e?t.indent.length:t.indentAtStart,lineWidth:t.options.lineWidth,minContentWidth:t.options.minContentWidth}),go=t=>/^(%|---|\.\.\.)/m.test(t);function mo(t,e){const i=JSON.stringify(t);if(e.options.doubleQuotedAsJSON)return i;const{implicitKey:n}=e,r=e.options.doubleQuotedMinMultiLineLength,s=e.indent||(go(t)?" ":"");let o="",a=0;for(let t=0,e=i[t];e;e=i[++t])if(" "===e&&"\\"===i[t+1]&&"n"===i[t+2]&&(o+=i.slice(a,t)+"\\ ",t+=1,a=t,e="\\"),"\\"===e)switch(i[t+1]){case"u":{o+=i.slice(a,t);const e=i.substr(t+2,4);switch(e){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:"00"===e.substr(0,2)?o+="\\x"+e.substr(2):o+=i.substr(t,6)}t+=5,a=t+1}break;case"n":if(n||'"'===i[t+2]||i.lengthn)return!0;if(i=e+1,r-i<=n)return!1}return!0}(i,u,l.length));if(!i)return c?"|\n":">\n";let h,p;for(p=i.length;p>0;--p){const t=i[p-1];if("\n"!==t&&"\t"!==t&&" "!==t)break}let f=i.substring(p);const d=f.indexOf("\n");-1===d?h="-":i===f||d!==f.length-1?(h="+",s&&s()):h="",f&&(i=i.slice(0,-f.length),"\n"===f[f.length-1]&&(f=f.slice(0,-1)),f=f.replace(wo,`$&${l}`));let g,m=!1,y=-1;for(g=0;g")+(m?l?"2":"1":"")+h;if(t&&(w+=" "+a(t.replace(/ ?[\r\n]+/g," ")),r&&r()),c)return`${w}\n${l}${b}${i=i.replace(/\n+/g,`$&${l}`)}${f}`;i=i.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${l}`);return`${w}\n${l}${po.foldFlowLines(`${b}${i}${f}`,l,po.FOLD_BLOCK,fo(n,!0))}`}oo.stringifyString=function(t,e,i,n){const{implicitKey:r,inFlow:s}=e,o="string"==typeof t.value?t:Object.assign({},t,{value:String(t.value)});let{type:a}=t;a!==ho.Scalar.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(a=ho.Scalar.QUOTE_DOUBLE);const u=t=>{switch(t){case ho.Scalar.BLOCK_FOLDED:case ho.Scalar.BLOCK_LITERAL:return r||s?bo(o.value,e):vo(o,e,i,n);case ho.Scalar.QUOTE_DOUBLE:return mo(o.value,e);case ho.Scalar.QUOTE_SINGLE:return yo(o.value,e);case ho.Scalar.PLAIN:return function(t,e,i,n){const{type:r,value:s}=t,{actualString:o,implicitKey:a,indent:u,indentStep:l,inFlow:c}=e;if(a&&s.includes("\n")||c&&/[[\]{},]/.test(s))return bo(s,e);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return a||c||!s.includes("\n")?bo(s,e):vo(t,e,i,n);if(!a&&!c&&r!==ho.Scalar.PLAIN&&s.includes("\n"))return vo(t,e,i,n);if(go(s)){if(""===u)return e.forceBlockIndent=!0,vo(t,e,i,n);if(a&&u===l)return bo(s,e)}const h=s.replace(/\n+/g,`$&\n${u}`);if(o){const t=t=>t.default&&"tag:yaml.org,2002:str"!==t.tag&&t.test?.test(h),{compat:i,tags:n}=e.doc.schema;if(n.some(t)||i?.some(t))return bo(s,e)}return a?h:po.foldFlowLines(h,u,po.FOLD_FLOW,fo(e,!1))}(o,e,i,n);default:return null}};let l=u(a);if(null===l){const{defaultKeyType:t,defaultStringType:i}=e.options,n=r&&t||i;if(l=u(n),null===l)throw new Error(`Unsupported default string type ${n}`)}return l};var Do=vs,ko=Hr,Eo=ro,xo=oo;no.createStringifyContext=function(t,e){const i=Object.assign({blockQuote:!0,commentString:Eo.stringifyComment,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},t.schema.toStringOptions,e);let n;switch(i.collectionStyle){case"block":n=!1;break;case"flow":n=!0;break;default:n=null}return{anchors:new Set,doc:t,flowCollectionPadding:i.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof i.indent?" ".repeat(i.indent):" ",inFlow:n,options:i}},no.stringify=function(t,e,i,n){if(ko.isPair(t))return t.toString(e,i,n);if(ko.isAlias(t)){if(e.doc.directives)return t.toString(e);if(e.resolvedAliases?.has(t))throw new TypeError("Cannot stringify circular structure without alias nodes");e.resolvedAliases?e.resolvedAliases.add(t):e.resolvedAliases=new Set([t]),t=t.resolve(e.doc)}let r;const s=ko.isNode(t)?t:e.doc.createNode(t,{onTagObj:t=>r=t});r||(r=function(t,e){if(e.tag){const i=t.filter((t=>t.tag===e.tag));if(i.length>0)return i.find((t=>t.format===e.format))??i[0]}let i,n;if(ko.isScalar(e)){n=e.value;const r=t.filter((t=>t.identify?.(n)));i=r.find((t=>t.format===e.format))??r.find((t=>!t.format))}else n=e,i=t.find((t=>t.nodeClass&&n instanceof t.nodeClass));if(!i)throw new Error(`Tag not resolved for ${n?.constructor?.name??typeof n} value`);return i}(e.doc.schema.tags,s));const o=function(t,e,{anchors:i,doc:n}){if(!n.directives)return"";const r=[],s=(ko.isScalar(t)||ko.isCollection(t))&&t.anchor;s&&Do.anchorIsValid(s)&&(i.add(s),r.push(`&${s}`));const o=t.tag?t.tag:e.default?null:e.tag;return o&&r.push(n.directives.tagString(o)),r.join(" ")}(s,r,e);o.length>0&&(e.indentAtStart=(e.indentAtStart??0)+o.length+1);const a="function"==typeof r.stringify?r.stringify(s,e,i,n):ko.isScalar(s)?xo.stringifyString(s,e,i,n):s.toString(e,i,n);return o?ko.isScalar(s)||"{"===a[0]||"["===a[0]?`${o} ${a}`:`${o}\n${e.indent}${a}`:a};var Ao=Hr,Fo=zs,Co=no,So=ro;io.stringifyPair=function({key:t,value:e},i,n,r){const{allNullValues:s,doc:o,indent:a,indentStep:u,options:{commentString:l,indentSeq:c,simpleKeys:h}}=i;let p=Ao.isNode(t)&&t.comment||null;if(h){if(p)throw new Error("With simple keys, key nodes cannot have comments");if(Ao.isCollection(t)){throw new Error("With simple keys, collection cannot be used as a key value")}}let f=!h&&(!t||p&&null==e&&!i.inFlow||Ao.isCollection(t)||(Ao.isScalar(t)?t.type===Fo.Scalar.BLOCK_FOLDED||t.type===Fo.Scalar.BLOCK_LITERAL:"object"==typeof t));i=Object.assign({},i,{allNullValues:!1,implicitKey:!f&&(h||!s),indent:a+u});let d,g,m,y=!1,b=!1,w=Co.stringify(t,i,(()=>y=!0),(()=>b=!0));if(!f&&!i.inFlow&&w.length>1024){if(h)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");f=!0}if(i.inFlow){if(s||null==e)return y&&n&&n(),""===w?"?":f?`? ${w}`:w}else if(s&&!h||null==e&&f)return w=`? ${w}`,p&&!y?w+=So.lineComment(w,i.indent,l(p)):b&&r&&r(),w;y&&(p=null),f?(p&&(w+=So.lineComment(w,i.indent,l(p))),w=`? ${w}\n${a}:`):(w=`${w}:`,p&&(w+=So.lineComment(w,i.indent,l(p)))),Ao.isNode(e)?(d=!!e.spaceBefore,g=e.commentBefore,m=e.comment):(d=!1,g=null,m=null,e&&"object"==typeof e&&(e=o.createNode(e))),i.implicitKey=!1,f||p||!Ao.isScalar(e)||(i.indentAtStart=w.length+1),b=!1,c||!(u.length>=2)||i.inFlow||f||!Ao.isSeq(e)||e.flow||e.tag||e.anchor||(i.indent=i.indent.substring(2));let v=!1;const D=Co.stringify(e,i,(()=>v=!0),(()=>b=!0));let k=" ";if(p||d||g){if(k=d?"\n":"",g){const t=l(g);k+=`\n${So.indentComment(t,i.indent)}`}""!==D||i.inFlow?k+=`\n${i.indent}`:"\n"===k&&(k="\n\n")}else if(!f&&Ao.isCollection(e)){const t=D[0],n=D.indexOf("\n"),r=-1!==n,s=i.inFlow??e.flow??0===e.items.length;if(r||!s){let e=!1;if(r&&("&"===t||"!"===t)){let i=D.indexOf(" ");"&"===t&&-1!==i&&i"<<"===t||To.isScalar(t)&&"<<"===t.value&&(!t.type||t.type===Ro.Scalar.PLAIN);function No(t,e,i){const n=t&&To.isAlias(i)?i.resolve(t.doc):i;if(!To.isMap(n))throw new Error("Merge sources must be maps or map aliases");const r=n.toJSON(null,t,Map);for(const[t,i]of r)e instanceof Map?e.has(t)||e.set(t,i):e instanceof Set?e.add(t):Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{value:i,writable:!0,enumerable:!0,configurable:!0});return e}_o.addPairToJSMap=function(t,e,{key:i,value:n}){if(t?.doc.schema.merge&&$o(i))if(n=To.isAlias(n)?n.resolve(t.doc):n,To.isSeq(n))for(const i of n.items)No(t,e,i);else if(Array.isArray(n))for(const i of n)No(t,e,i);else No(t,e,n);else{const r=Io.toJS(i,"",t);if(e instanceof Map)e.set(r,Io.toJS(n,r,t));else if(e instanceof Set)e.add(r);else{const s=function(t,e,i){if(null===e)return"";if("object"!=typeof e)return String(e);if(To.isNode(t)&&i?.doc){const e=Bo.createStringifyContext(i.doc,{});e.anchors=new Set;for(const t of i.anchors.keys())e.anchors.add(t.anchor);e.inFlow=!0,e.inStringifyKey=!0;const n=t.toString(e);if(!i.mapKeyWarned){let t=JSON.stringify(n);t.length>40&&(t=t.substring(0,36)+'..."'),Oo.warn(i.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${t}. Set mapAsMap: true to use object keys.`),i.mapKeyWarned=!0}return n}return JSON.stringify(e)}(i,r,t),o=Io.toJS(n,s,t);s in e?Object.defineProperty(e,s,{value:o,writable:!0,enumerable:!0,configurable:!0}):e[s]=o}}return e};var Lo=Ms,Po=io,Mo=_o,zo=Hr;let qo=class t{constructor(t,e=null){Object.defineProperty(this,zo.NODE_TYPE,{value:zo.PAIR}),this.key=t,this.value=e}clone(e){let{key:i,value:n}=this;return zo.isNode(i)&&(i=i.clone(e)),zo.isNode(n)&&(n=n.clone(e)),new t(i,n)}toJSON(t,e){const i=e?.mapAsMap?new Map:{};return Mo.addPairToJSMap(e,i,this)}toString(t,e,i){return t?.doc?Po.stringifyPair(this,t,e,i):JSON.stringify(this)}};eo.Pair=qo,eo.createPair=function(t,e,i){const n=Lo.createNode(t,void 0,i),r=Lo.createNode(e,void 0,i);return new qo(n,r)};var Uo={},Go={},Wo={},Ho={},Vo=Hr,Ko=no,Yo=ro;function Jo({comment:t,items:e},i,{blockItemPrefix:n,flowChars:r,itemIndent:s,onChompKeep:o,onComment:a}){const{indent:u,options:{commentString:l}}=i,c=Object.assign({},i,{indent:s,type:null});let h=!1;const p=[];for(let t=0;to=null),(()=>h=!0));o&&(a+=Yo.lineComment(a,s,l(o))),h&&o&&(h=!1),p.push(n+a)}let f;if(0===p.length)f=r.start+r.end;else{f=p[0];for(let t=1;ts=null));ic||o.includes("\n"))&&(l=!0),h.push(o),c=h.length}const{start:p,end:f}=i;if(0===h.length)return p+f;if(!l){const t=h.reduce(((t,e)=>t+e.length+2),2);l=e.options.lineWidth>0&&t>e.options.lineWidth}if(l){let t=p;for(const e of h)t+=e?`\n${s}${r}${e}`:"\n";return`${t}\n${r}${f}`}return`${p}${o}${h.join(" ")}${o}${f}`}function Qo({indent:t,options:{commentString:e}},i,n,r){if(n&&r&&(n=n.replace(/^\n+/,"")),n){const r=Yo.indentComment(e(n),t);i.push(r.trimStart())}}Ho.stringifyCollection=function(t,e,i){return(e.inFlow??t.flow?Zo:Jo)(t,e,i)};var Xo=Ho,ta=_o,ea=Ps,ia=Hr,na=eo,ra=zs;function sa(t,e){const i=ia.isScalar(e)?e.value:e;for(const n of t)if(ia.isPair(n)){if(n.key===e||n.key===i)return n;if(ia.isScalar(n.key)&&n.key.value===i)return n}}let oa=class extends ea.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(ia.MAP,t),this.items=[]}static from(t,e,i){const{keepUndefined:n,replacer:r}=i,s=new this(t),o=(t,o)=>{if("function"==typeof r)o=r.call(e,t,o);else if(Array.isArray(r)&&!r.includes(t))return;(void 0!==o||n)&&s.items.push(na.createPair(t,o,i))};if(e instanceof Map)for(const[t,i]of e)o(t,i);else if(e&&"object"==typeof e)for(const t of Object.keys(e))o(t,e[t]);return"function"==typeof t.sortMapEntries&&s.items.sort(t.sortMapEntries),s}add(t,e){let i;i=ia.isPair(t)?t:t&&"object"==typeof t&&"key"in t?new na.Pair(t.key,t.value):new na.Pair(t,t?.value);const n=sa(this.items,i.key),r=this.schema?.sortMapEntries;if(n){if(!e)throw new Error(`Key ${i.key} already set`);ia.isScalar(n.value)&&ra.isScalarValue(i.value)?n.value.value=i.value:n.value=i.value}else if(r){const t=this.items.findIndex((t=>r(i,t)<0));-1===t?this.items.push(i):this.items.splice(t,0,i)}else this.items.push(i)}delete(t){const e=sa(this.items,t);if(!e)return!1;return this.items.splice(this.items.indexOf(e),1).length>0}get(t,e){const i=sa(this.items,t),n=i?.value;return(!e&&ia.isScalar(n)?n.value:n)??void 0}has(t){return!!sa(this.items,t)}set(t,e){this.add(new na.Pair(t,e),!0)}toJSON(t,e,i){const n=i?new i:e?.mapAsMap?new Map:{};e?.onCreate&&e.onCreate(n);for(const t of this.items)ta.addPairToJSMap(e,n,t);return n}toString(t,e,i){if(!t)return JSON.stringify(this);for(const t of this.items)if(!ia.isPair(t))throw new Error(`Map items must all be pairs; found ${JSON.stringify(t)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),Xo.stringifyCollection(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:i,onComment:e})}};Wo.YAMLMap=oa,Wo.findPair=sa;var aa=Hr,ua=Wo;const la={collection:"map",default:!0,nodeClass:ua.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:(t,e)=>(aa.isMap(t)||e("Expected a mapping for this tag"),t),createNode:(t,e,i)=>ua.YAMLMap.from(t,e,i)};Go.map=la;var ca={},ha={},pa=Ms,fa=Ho,da=Ps,ga=Hr,ma=zs,ya=Cs;let ba=class extends da.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(ga.SEQ,t),this.items=[]}add(t){this.items.push(t)}delete(t){const e=wa(t);if("number"!=typeof e)return!1;return this.items.splice(e,1).length>0}get(t,e){const i=wa(t);if("number"!=typeof i)return;const n=this.items[i];return!e&&ga.isScalar(n)?n.value:n}has(t){const e=wa(t);return"number"==typeof e&&e=0?e:null}ha.YAMLSeq=ba;var va=Hr,Da=ha;const ka={collection:"seq",default:!0,nodeClass:Da.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:(t,e)=>(va.isSeq(t)||e("Expected a sequence for this tag"),t),createNode:(t,e,i)=>Da.YAMLSeq.from(t,e,i)};ca.seq=ka;var Ea={},xa=oo;const Aa={identify:t=>"string"==typeof t,default:!0,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify:(t,e,i,n)=>(e=Object.assign({actualString:!0},e),xa.stringifyString(t,e,i,n))};Ea.string=Aa;var Fa={},Ca={},Sa=zs;const _a={identify:t=>null==t,createNode:()=>new Sa.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Sa.Scalar(null),stringify:({source:t},e)=>"string"==typeof t&&_a.test.test(t)?t:e.options.nullStr};Ca.nullTag=_a;var ja={},Oa=zs;const Ba={identify:t=>"boolean"==typeof t,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:t=>new Oa.Scalar("t"===t[0]||"T"===t[0]),stringify({source:t,value:e},i){if(t&&Ba.test.test(t)){if(e===("t"===t[0]||"T"===t[0]))return t}return e?i.options.trueStr:i.options.falseStr}};ja.boolTag=Ba;var Ta={},Ra={};Ra.stringifyNumber=function({format:t,minFractionDigits:e,tag:i,value:n}){if("bigint"==typeof n)return String(n);const r="number"==typeof n?n:Number(n);if(!isFinite(r))return isNaN(r)?".nan":r<0?"-.inf":".inf";let s=JSON.stringify(n);if(!t&&e&&(!i||"tag:yaml.org,2002:float"===i)&&/^\d/.test(s)){let t=s.indexOf(".");t<0&&(t=s.length,s+=".");let i=e-(s.length-t-1);for(;i-- >0;)s+="0"}return s};var Ia=zs,$a=Ra;const Na={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:t=>"nan"===t.slice(-3).toLowerCase()?NaN:"-"===t[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:$a.stringifyNumber},La={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t),stringify(t){const e=Number(t.value);return isFinite(e)?e.toExponential():$a.stringifyNumber(t)}},Pa={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(t){const e=new Ia.Scalar(parseFloat(t)),i=t.indexOf(".");return-1!==i&&"0"===t[t.length-1]&&(e.minFractionDigits=t.length-i-1),e},stringify:$a.stringifyNumber};Ta.float=Pa,Ta.floatExp=La,Ta.floatNaN=Na;var Ma={},za=Ra;const qa=t=>"bigint"==typeof t||Number.isInteger(t),Ua=(t,e,i,{intAsBigInt:n})=>n?BigInt(t):parseInt(t.substring(e),i);function Ga(t,e,i){const{value:n}=t;return qa(n)&&n>=0?i+n.toString(e):za.stringifyNumber(t)}const Wa={identify:t=>qa(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(t,e,i)=>Ua(t,2,8,i),stringify:t=>Ga(t,8,"0o")},Ha={identify:qa,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(t,e,i)=>Ua(t,0,10,i),stringify:za.stringifyNumber},Va={identify:t=>qa(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(t,e,i)=>Ua(t,2,16,i),stringify:t=>Ga(t,16,"0x")};Ma.int=Ha,Ma.intHex=Va,Ma.intOct=Wa;var Ka={},Ya=Ca,Ja=ca,Za=Ea,Qa=ja,Xa=Ta,tu=Ma;const eu=[Go.map,Ja.seq,Za.string,Ya.nullTag,Qa.boolTag,tu.intOct,tu.int,tu.intHex,Xa.floatNaN,Xa.floatExp,Xa.float];Ka.schema=eu;var iu={},nu=zs,ru=ca;function su(t){return"bigint"==typeof t||Number.isInteger(t)}const ou=({value:t})=>JSON.stringify(t),au=[{identify:t=>"string"==typeof t,default:!0,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify:ou},{identify:t=>null==t,createNode:()=>new nu.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:ou},{identify:t=>"boolean"==typeof t,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:t=>"true"===t,stringify:ou},{identify:su,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(t,e,{intAsBigInt:i})=>i?BigInt(t):parseInt(t,10),stringify:({value:t})=>su(t)?t.toString():JSON.stringify(t)},{identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:t=>parseFloat(t),stringify:ou}],uu={default:!0,tag:"",test:/^/,resolve:(t,e)=>(e(`Unresolved plain scalar ${JSON.stringify(t)}`),t)},lu=[Go.map,ru.seq].concat(au,uu);iu.schema=lu;var cu={},hu=zs,pu=oo;const fu={identify:t=>t instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(t,e){if("function"==typeof Buffer)return Buffer.from(t,"base64");if("function"==typeof atob){const e=atob(t.replace(/[\n\r]/g,"")),i=new Uint8Array(e.length);for(let t=0;t1&&e("Each pair must have its own sequence indicator");const t=n.items[0]||new yu.Pair(new bu.Scalar(null));if(n.commentBefore&&(t.key.commentBefore=t.key.commentBefore?`${n.commentBefore}\n${t.key.commentBefore}`:n.commentBefore),n.comment){const e=t.value??t.key;e.comment=e.comment?`${n.comment}\n${e.comment}`:n.comment}n=t}t.items[i]=mu.isPair(n)?n:new yu.Pair(n)}}else e("Expected a sequence for this tag");return t}function Du(t,e,i){const{replacer:n}=i,r=new wu.YAMLSeq(t);r.tag="tag:yaml.org,2002:pairs";let s=0;if(e&&Symbol.iterator in Object(e))for(let t of e){let o,a;if("function"==typeof n&&(t=n.call(e,String(s++),t)),Array.isArray(t)){if(2!==t.length)throw new TypeError(`Expected [key, value] tuple: ${t}`);o=t[0],a=t[1]}else if(t&&t instanceof Object){const e=Object.keys(t);if(1!==e.length)throw new TypeError(`Expected tuple with one key, not ${e.length} keys`);o=e[0],a=t[o]}else o=t;r.items.push(yu.createPair(o,a,i))}return r}const ku={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:vu,createNode:Du};gu.createPairs=Du,gu.pairs=ku,gu.resolvePairs=vu;var Eu=Hr,xu=Cs,Au=Wo,Fu=ha,Cu=gu;class Su extends Fu.YAMLSeq{constructor(){super(),this.add=Au.YAMLMap.prototype.add.bind(this),this.delete=Au.YAMLMap.prototype.delete.bind(this),this.get=Au.YAMLMap.prototype.get.bind(this),this.has=Au.YAMLMap.prototype.has.bind(this),this.set=Au.YAMLMap.prototype.set.bind(this),this.tag=Su.tag}toJSON(t,e){if(!e)return super.toJSON(t);const i=new Map;e?.onCreate&&e.onCreate(i);for(const t of this.items){let n,r;if(Eu.isPair(t)?(n=xu.toJS(t.key,"",e),r=xu.toJS(t.value,n,e)):n=xu.toJS(t,"",e),i.has(n))throw new Error("Ordered maps must not include duplicate keys");i.set(n,r)}return i}static from(t,e,i){const n=Cu.createPairs(t,e,i),r=new this;return r.items=n.items,r}}Su.tag="tag:yaml.org,2002:omap";const _u={collection:"seq",identify:t=>t instanceof Map,nodeClass:Su,default:!1,tag:"tag:yaml.org,2002:omap",resolve(t,e){const i=Cu.resolvePairs(t,e),n=[];for(const{key:t}of i.items)Eu.isScalar(t)&&(n.includes(t.value)?e(`Ordered maps must not include duplicate keys: ${t.value}`):n.push(t.value));return Object.assign(new Su,i)},createNode:(t,e,i)=>Su.from(t,e,i)};du.YAMLOMap=Su,du.omap=_u;var ju={},Ou={},Bu=zs;function Tu({value:t,source:e},i){return e&&(t?Ru:Iu).test.test(e)?e:t?i.options.trueStr:i.options.falseStr}const Ru={identify:t=>!0===t,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Bu.Scalar(!0),stringify:Tu},Iu={identify:t=>!1===t,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new Bu.Scalar(!1),stringify:Tu};Ou.falseTag=Iu,Ou.trueTag=Ru;var $u={},Nu=zs,Lu=Ra;const Pu={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:t=>"nan"===t.slice(-3).toLowerCase()?NaN:"-"===t[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Lu.stringifyNumber},Mu={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t.replace(/_/g,"")),stringify(t){const e=Number(t.value);return isFinite(e)?e.toExponential():Lu.stringifyNumber(t)}},zu={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(t){const e=new Nu.Scalar(parseFloat(t.replace(/_/g,""))),i=t.indexOf(".");if(-1!==i){const n=t.substring(i+1).replace(/_/g,"");"0"===n[n.length-1]&&(e.minFractionDigits=n.length)}return e},stringify:Lu.stringifyNumber};$u.float=zu,$u.floatExp=Mu,$u.floatNaN=Pu;var qu={},Uu=Ra;const Gu=t=>"bigint"==typeof t||Number.isInteger(t);function Wu(t,e,i,{intAsBigInt:n}){const r=t[0];if("-"!==r&&"+"!==r||(e+=1),t=t.substring(e).replace(/_/g,""),n){switch(i){case 2:t=`0b${t}`;break;case 8:t=`0o${t}`;break;case 16:t=`0x${t}`}const e=BigInt(t);return"-"===r?BigInt(-1)*e:e}const s=parseInt(t,i);return"-"===r?-1*s:s}function Hu(t,e,i){const{value:n}=t;if(Gu(n)){const t=n.toString(e);return n<0?"-"+i+t.substr(1):i+t}return Uu.stringifyNumber(t)}const Vu={identify:Gu,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(t,e,i)=>Wu(t,2,2,i),stringify:t=>Hu(t,2,"0b")},Ku={identify:Gu,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(t,e,i)=>Wu(t,1,8,i),stringify:t=>Hu(t,8,"0")},Yu={identify:Gu,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(t,e,i)=>Wu(t,0,10,i),stringify:Uu.stringifyNumber},Ju={identify:Gu,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(t,e,i)=>Wu(t,2,16,i),stringify:t=>Hu(t,16,"0x")};qu.int=Yu,qu.intBin=Vu,qu.intHex=Ju,qu.intOct=Ku;var Zu={},Qu=Hr,Xu=eo,tl=Wo;class el extends tl.YAMLMap{constructor(t){super(t),this.tag=el.tag}add(t){let e;e=Qu.isPair(t)?t:t&&"object"==typeof t&&"key"in t&&"value"in t&&null===t.value?new Xu.Pair(t.key,null):new Xu.Pair(t,null);tl.findPair(this.items,e.key)||this.items.push(e)}get(t,e){const i=tl.findPair(this.items,t);return!e&&Qu.isPair(i)?Qu.isScalar(i.key)?i.key.value:i.key:i}set(t,e){if("boolean"!=typeof e)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof e);const i=tl.findPair(this.items,t);i&&!e?this.items.splice(this.items.indexOf(i),1):!i&&e&&this.items.push(new Xu.Pair(t))}toJSON(t,e){return super.toJSON(t,e,Set)}toString(t,e,i){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),e,i);throw new Error("Set items must all have null values")}static from(t,e,i){const{replacer:n}=i,r=new this(t);if(e&&Symbol.iterator in Object(e))for(let t of e)"function"==typeof n&&(t=n.call(e,t,t)),r.items.push(Xu.createPair(t,null,i));return r}}el.tag="tag:yaml.org,2002:set";const il={collection:"map",identify:t=>t instanceof Set,nodeClass:el,default:!1,tag:"tag:yaml.org,2002:set",createNode:(t,e,i)=>el.from(t,e,i),resolve(t,e){if(Qu.isMap(t)){if(t.hasAllNullValues(!0))return Object.assign(new el,t);e("Set items must all have null values")}else e("Expected a mapping for this tag");return t}};Zu.YAMLSet=el,Zu.set=il;var nl={},rl=Ra;function sl(t,e){const i=t[0],n="-"===i||"+"===i?t.substring(1):t,r=t=>e?BigInt(t):Number(t),s=n.replace(/_/g,"").split(":").reduce(((t,e)=>t*r(60)+r(e)),r(0));return"-"===i?r(-1)*s:s}function ol(t){let{value:e}=t,i=t=>t;if("bigint"==typeof e)i=t=>BigInt(t);else if(isNaN(e)||!isFinite(e))return rl.stringifyNumber(t);let n="";e<0&&(n="-",e*=i(-1));const r=i(60),s=[e%r];return e<60?s.unshift(0):(e=(e-s[0])/r,s.unshift(e%r),e>=60&&(e=(e-s[0])/r,s.unshift(e))),n+s.map((t=>String(t).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const al={identify:t=>"bigint"==typeof t||Number.isInteger(t),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(t,e,{intAsBigInt:i})=>sl(t,i),stringify:ol},ul={identify:t=>"number"==typeof t,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:t=>sl(t,!1),stringify:ol},ll={identify:t=>t instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(t){const e=t.match(ll.test);if(!e)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,i,n,r,s,o,a]=e.map(Number),u=e[7]?Number((e[7]+"00").substr(1,3)):0;let l=Date.UTC(i,n-1,r,s||0,o||0,a||0,u);const c=e[8];if(c&&"Z"!==c){let t=sl(c,!1);Math.abs(t)<30&&(t*=60),l-=6e4*t}return new Date(l)},stringify:({value:t})=>t.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};nl.floatTime=ul,nl.intTime=al,nl.timestamp=ll;var cl=Ca,hl=ca,pl=Ea,fl=cu,dl=Ou,gl=$u,ml=qu,yl=du,bl=gu,wl=Zu,vl=nl;const Dl=[Go.map,hl.seq,pl.string,cl.nullTag,dl.trueTag,dl.falseTag,ml.intBin,ml.intOct,ml.int,ml.intHex,gl.floatNaN,gl.floatExp,gl.float,fl.binary,yl.omap,bl.pairs,wl.set,vl.intTime,vl.floatTime,vl.timestamp];ju.schema=Dl;var kl=Go,El=Ca,xl=ca,Al=Ea,Fl=ja,Cl=Ta,Sl=Ma,_l=iu,jl=cu,Ol=du,Bl=gu,Tl=ju,Rl=Zu,Il=nl;const $l=new Map([["core",Ka.schema],["failsafe",[kl.map,xl.seq,Al.string]],["json",_l.schema],["yaml11",Tl.schema],["yaml-1.1",Tl.schema]]),Nl={binary:jl.binary,bool:Fl.boolTag,float:Cl.float,floatExp:Cl.floatExp,floatNaN:Cl.floatNaN,floatTime:Il.floatTime,int:Sl.int,intHex:Sl.intHex,intOct:Sl.intOct,intTime:Il.intTime,map:kl.map,null:El.nullTag,omap:Ol.omap,pairs:Bl.pairs,seq:xl.seq,set:Rl.set,timestamp:Il.timestamp},Ll={"tag:yaml.org,2002:binary":jl.binary,"tag:yaml.org,2002:omap":Ol.omap,"tag:yaml.org,2002:pairs":Bl.pairs,"tag:yaml.org,2002:set":Rl.set,"tag:yaml.org,2002:timestamp":Il.timestamp};Fa.coreKnownTags=Ll,Fa.getTags=function(t,e){let i=$l.get(e);if(!i){if(!Array.isArray(t)){const t=Array.from($l.keys()).filter((t=>"yaml11"!==t)).map((t=>JSON.stringify(t))).join(", ");throw new Error(`Unknown schema "${e}"; use one of ${t} or define customTags array`)}i=[]}if(Array.isArray(t))for(const e of t)i=i.concat(e);else"function"==typeof t&&(i=t(i.slice()));return i.map((t=>{if("string"!=typeof t)return t;const e=Nl[t];if(e)return e;const i=Object.keys(Nl).map((t=>JSON.stringify(t))).join(", ");throw new Error(`Unknown custom tag "${t}"; use one of ${i}`)}))};var Pl=Hr,Ml=Go,zl=ca,ql=Ea,Ul=Fa;const Gl=(t,e)=>t.keye.key?1:0;Uo.Schema=class t{constructor({compat:t,customTags:e,merge:i,resolveKnownTags:n,schema:r,sortMapEntries:s,toStringDefaults:o}){this.compat=Array.isArray(t)?Ul.getTags(t,"compat"):t?Ul.getTags(null,t):null,this.merge=!!i,this.name="string"==typeof r&&r||"core",this.knownTags=n?Ul.coreKnownTags:{},this.tags=Ul.getTags(e,this.name),this.toStringOptions=o??null,Object.defineProperty(this,Pl.MAP,{value:Ml.map}),Object.defineProperty(this,Pl.SCALAR,{value:ql.string}),Object.defineProperty(this,Pl.SEQ,{value:zl.seq}),this.sortMapEntries="function"==typeof s?s:!0===s?Gl:null}clone(){const e=Object.create(t.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}};var Wl={},Hl=Hr,Vl=no,Kl=ro;Wl.stringifyDocument=function(t,e){const i=[];let n=!0===e.directives;if(!1!==e.directives&&t.directives){const e=t.directives.toString(t);e?(i.push(e),n=!0):t.directives.docStart&&(n=!0)}n&&i.push("---");const r=Vl.createStringifyContext(t,e),{commentString:s}=r.options;if(t.commentBefore){1!==i.length&&i.unshift("");const e=s(t.commentBefore);i.unshift(Kl.indentComment(e,""))}let o=!1,a=null;if(t.contents){if(Hl.isNode(t.contents)){if(t.contents.spaceBefore&&n&&i.push(""),t.contents.commentBefore){const e=s(t.contents.commentBefore);i.push(Kl.indentComment(e,""))}r.forceBlockIndent=!!t.comment,a=t.contents.comment}const e=a?void 0:()=>o=!0;let u=Vl.stringify(t.contents,r,(()=>a=null),e);a&&(u+=Kl.lineComment(u,"",s(a))),"|"!==u[0]&&">"!==u[0]||"---"!==i[i.length-1]?i.push(u):i[i.length-1]=`--- ${u}`}else i.push(Vl.stringify(t.contents,r));if(t.directives?.docEnd)if(t.comment){const e=s(t.comment);e.includes("\n")?(i.push("..."),i.push(Kl.indentComment(e,""))):i.push(`... ${e}`)}else i.push("...");else{let e=t.comment;e&&o&&(e=e.replace(/^\n+/,"")),e&&(o&&!a||""===i[i.length-1]||i.push(""),i.push(Kl.indentComment(s(e),"")))}return i.join("\n")+"\n"};var Yl=ws,Jl=Ps,Zl=Hr,Ql=eo,Xl=Cs,tc=Uo,ec=Wl,ic=vs,nc=Fs,rc=Ms,sc=Wr;function oc(t){if(Zl.isCollection(t))return!0;throw new Error("Expected a YAML collection as document contents")}bs.Document=class t{constructor(t,e,i){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Zl.NODE_TYPE,{value:Zl.DOC});let n=null;"function"==typeof e||Array.isArray(e)?n=e:void 0===i&&e&&(i=e,e=void 0);const r=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},i);this.options=r;let{version:s}=r;i?._directives?(this.directives=i._directives.atDocument(),this.directives.yaml.explicit&&(s=this.directives.yaml.version)):this.directives=new sc.Directives({version:s}),this.setSchema(s,i),this.contents=void 0===t?null:this.createNode(t,n,i)}clone(){const e=Object.create(t.prototype,{[Zl.NODE_TYPE]:{value:Zl.DOC}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=Zl.isNode(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(t){oc(this.contents)&&this.contents.add(t)}addIn(t,e){oc(this.contents)&&this.contents.addIn(t,e)}createAlias(t,e){if(!t.anchor){const i=ic.anchorNames(this);t.anchor=!e||i.has(e)?ic.findNewAnchor(e||"a",i):e}return new Yl.Alias(t.anchor)}createNode(t,e,i){let n;if("function"==typeof e)t=e.call({"":t},"",t),n=e;else if(Array.isArray(e)){const t=t=>"number"==typeof t||t instanceof String||t instanceof Number,i=e.filter(t).map(String);i.length>0&&(e=e.concat(i)),n=e}else void 0===i&&e&&(i=e,e=void 0);const{aliasDuplicateObjects:r,anchorPrefix:s,flow:o,keepUndefined:a,onTagObj:u,tag:l}=i??{},{onAnchor:c,setAnchors:h,sourceObjects:p}=ic.createNodeAnchors(this,s||"a"),f={aliasDuplicateObjects:r??!0,keepUndefined:a??!1,onAnchor:c,onTagObj:u,replacer:n,schema:this.schema,sourceObjects:p},d=rc.createNode(t,l,f);return o&&Zl.isCollection(d)&&(d.flow=!0),h(),d}createPair(t,e,i={}){const n=this.createNode(t,null,i),r=this.createNode(e,null,i);return new Ql.Pair(n,r)}delete(t){return!!oc(this.contents)&&this.contents.delete(t)}deleteIn(t){return Jl.isEmptyPath(t)?null!=this.contents&&(this.contents=null,!0):!!oc(this.contents)&&this.contents.deleteIn(t)}get(t,e){return Zl.isCollection(this.contents)?this.contents.get(t,e):void 0}getIn(t,e){return Jl.isEmptyPath(t)?!e&&Zl.isScalar(this.contents)?this.contents.value:this.contents:Zl.isCollection(this.contents)?this.contents.getIn(t,e):void 0}has(t){return!!Zl.isCollection(this.contents)&&this.contents.has(t)}hasIn(t){return Jl.isEmptyPath(t)?void 0!==this.contents:!!Zl.isCollection(this.contents)&&this.contents.hasIn(t)}set(t,e){null==this.contents?this.contents=Jl.collectionFromPath(this.schema,[t],e):oc(this.contents)&&this.contents.set(t,e)}setIn(t,e){Jl.isEmptyPath(t)?this.contents=e:null==this.contents?this.contents=Jl.collectionFromPath(this.schema,Array.from(t),e):oc(this.contents)&&this.contents.setIn(t,e)}setSchema(t,e={}){let i;switch("number"==typeof t&&(t=String(t)),t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new sc.Directives({version:"1.1"}),i={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new sc.Directives({version:t}),i={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,i=null;break;default:{const e=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${e}`)}}if(e.schema instanceof Object)this.schema=e.schema;else{if(!i)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new tc.Schema(Object.assign(i,e))}}toJS({json:t,jsonArg:e,mapAsMap:i,maxAliasCount:n,onAnchor:r,reviver:s}={}){const o={anchors:new Map,doc:this,keep:!t,mapAsMap:!0===i,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},a=Xl.toJS(this.contents,e??"",o);if("function"==typeof r)for(const{count:t,res:e}of o.anchors.values())r(e,t);return"function"==typeof s?nc.applyReviver(s,{"":a},"",a):a}toJSON(t,e){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:e})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const e=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${e}`)}return ec.stringifyDocument(this,t)}};var ac={};class uc extends Error{constructor(t,e,i,n){super(),this.name=t,this.code=i,this.message=n,this.pos=e}}ac.YAMLError=uc,ac.YAMLParseError=class extends uc{constructor(t,e,i){super("YAMLParseError",t,e,i)}},ac.YAMLWarning=class extends uc{constructor(t,e,i){super("YAMLWarning",t,e,i)}},ac.prettifyError=(t,e)=>i=>{if(-1===i.pos[0])return;i.linePos=i.pos.map((t=>e.linePos(t)));const{line:n,col:r}=i.linePos[0];i.message+=` at line ${n}, column ${r}`;let s=r-1,o=t.substring(e.lineStarts[n-1],e.lineStarts[n]).replace(/[\n\r]+$/,"");if(s>=60&&o.length>80){const t=Math.min(s-39,o.length-79);o="…"+o.substring(t),s-=t-1}if(o.length>80&&(o=o.substring(0,79)+"…"),n>1&&/^ *$/.test(o.substring(0,s))){let i=t.substring(e.lineStarts[n-2],e.lineStarts[n-1]);i.length>80&&(i=i.substring(0,79)+"…\n"),o=i+o}if(/[^ ]/.test(o)){let t=1;const e=i.linePos[1];e&&e.line===n&&e.col>r&&(t=Math.max(1,Math.min(e.col-r,80-s)));const a=" ".repeat(s)+"^".repeat(t);i.message+=`:\n\n${o}\n${a}\n`}};var lc={},cc={},hc={},pc={},fc={};fc.resolveProps=function(t,{flow:e,indicator:i,next:n,offset:r,onError:s,startOnNewline:o}){let a=!1,u=o,l=o,c="",h="",p=!1,f=!1,d=!1,g=null,m=null,y=null,b=null,w=null;for(const n of t)switch(d&&("space"!==n.type&&"newline"!==n.type&&"comma"!==n.type&&s(n.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),d=!1),n.type){case"space":!e&&u&&"doc-start"!==i&&"\t"===n.source[0]&&s(n,"TAB_AS_INDENT","Tabs are not allowed as indentation"),l=!0;break;case"comment":{l||s(n,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=n.source.substring(1)||" ";c?c+=h+t:c=t,h="",u=!1;break}case"newline":u?c?c+=n.source:a=!0:h+=n.source,u=!0,p=!0,(g||m)&&(f=!0),l=!0;break;case"anchor":g&&s(n,"MULTIPLE_ANCHORS","A node can have at most one anchor"),n.source.endsWith(":")&&s(n.offset+n.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),g=n,null===w&&(w=n.offset),u=!1,l=!1,d=!0;break;case"tag":m&&s(n,"MULTIPLE_TAGS","A node can have at most one tag"),m=n,null===w&&(w=n.offset),u=!1,l=!1,d=!0;break;case i:(g||m)&&s(n,"BAD_PROP_ORDER",`Anchors and tags must be after the ${n.source} indicator`),b&&s(n,"UNEXPECTED_TOKEN",`Unexpected ${n.source} in ${e??"collection"}`),b=n,u=!1,l=!1;break;case"comma":if(e){y&&s(n,"UNEXPECTED_TOKEN",`Unexpected , in ${e}`),y=n,u=!1,l=!1;break}default:s(n,"UNEXPECTED_TOKEN",`Unexpected ${n.type} token`),u=!1,l=!1}const v=t[t.length-1],D=v?v.offset+v.source.length:r;return d&&n&&"space"!==n.type&&"newline"!==n.type&&"comma"!==n.type&&("scalar"!==n.type||""!==n.source)&&s(n.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:y,found:b,spaceBefore:a,comment:c,hasNewline:p,hasNewlineAfterProp:f,anchor:g,tag:m,end:D,start:w??D}};var dc={};dc.containsNewline=function t(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end)for(const t of e.end)if("newline"===t.type)return!0;return!1;case"flow-collection":for(const i of e.items){for(const t of i.start)if("newline"===t.type)return!0;if(i.sep)for(const t of i.sep)if("newline"===t.type)return!0;if(t(i.key)||t(i.value))return!0}return!1;default:return!0}};var gc={},mc=dc;gc.flowIndentCheck=function(t,e,i){if("flow-collection"===e?.type){const n=e.end[0];if(n.indent===t&&("]"===n.source||"}"===n.source)&&mc.containsNewline(e)){i(n,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}};var yc={},bc=Hr;yc.mapIncludes=function(t,e,i){const{uniqueKeys:n}=t.options;if(!1===n)return!1;const r="function"==typeof n?n:(e,i)=>e===i||bc.isScalar(e)&&bc.isScalar(i)&&e.value===i.value&&!("<<"===e.value&&t.schema.merge);return e.some((t=>r(t.key,i)))};var wc=eo,vc=Wo,Dc=fc,kc=dc,Ec=gc,xc=yc;const Ac="All mapping items must start at the same column";pc.resolveBlockMap=function({composeNode:t,composeEmptyNode:e},i,n,r,s){const o=new(s?.nodeClass??vc.YAMLMap)(i.schema);i.atRoot&&(i.atRoot=!1);let a=n.offset,u=null;for(const s of n.items){const{start:l,key:c,sep:h,value:p}=s,f=Dc.resolveProps(l,{indicator:"explicit-key-ind",next:c??h?.[0],offset:a,onError:r,startOnNewline:!0}),d=!f.found;if(d){if(c&&("block-seq"===c.type?r(a,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in c&&c.indent!==n.indent&&r(a,"BAD_INDENT",Ac)),!f.anchor&&!f.tag&&!h){u=f.end,f.comment&&(o.comment?o.comment+="\n"+f.comment:o.comment=f.comment);continue}(f.hasNewlineAfterProp||kc.containsNewline(c))&&r(c??l[l.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else f.found?.indent!==n.indent&&r(a,"BAD_INDENT",Ac);const g=f.end,m=c?t(i,c,f,r):e(i,g,l,null,f,r);i.schema.compat&&Ec.flowIndentCheck(n.indent,c,r),xc.mapIncludes(i,o.items,m)&&r(g,"DUPLICATE_KEY","Map keys must be unique");const y=Dc.resolveProps(h??[],{indicator:"map-value-ind",next:p,offset:m.range[2],onError:r,startOnNewline:!c||"block-scalar"===c.type});if(a=y.end,y.found){d&&("block-map"!==p?.type||y.hasNewline||r(a,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),i.options.strict&&f.startt&&("block-map"===t.type||"block-seq"===t.type);jc.resolveFlowCollection=function({composeNode:t,composeEmptyNode:e},i,n,r,s){const o="{"===n.start.source,a=o?"flow map":"flow sequence",u=new(s?.nodeClass??(o?Rc.YAMLMap:Ic.YAMLSeq))(i.schema);u.flow=!0;const l=i.atRoot;l&&(i.atRoot=!1);let c=n.offset+n.start.source.length;for(let s=0;s0){const t=$c.resolveEnd(f,d,i.options.strict,r);t.comment&&(u.comment?u.comment+="\n"+t.comment:u.comment=t.comment),u.range=[n.offset,d,t.offset]}else u.range=[n.offset,d,d];return u};var qc=Hr,Uc=zs,Gc=Wo,Wc=ha,Hc=pc,Vc=Fc,Kc=jc;function Yc(t,e,i,n,r,s){const o="block-map"===i.type?Hc.resolveBlockMap(t,e,i,n,s):"block-seq"===i.type?Vc.resolveBlockSeq(t,e,i,n,s):Kc.resolveFlowCollection(t,e,i,n,s),a=o.constructor;return"!"===r||r===a.tagName?(o.tag=a.tagName,o):(r&&(o.tag=r),o)}hc.composeCollection=function(t,e,i,n,r){const s=n?e.directives.tagName(n.source,(t=>r(n,"TAG_RESOLVE_FAILED",t))):null,o="block-map"===i.type?"map":"block-seq"===i.type?"seq":"{"===i.start.source?"map":"seq";if(!n||!s||"!"===s||s===Gc.YAMLMap.tagName&&"map"===o||s===Wc.YAMLSeq.tagName&&"seq"===o||!o)return Yc(t,e,i,r,s);let a=e.schema.tags.find((t=>t.tag===s&&t.collection===o));if(!a){const u=e.schema.knownTags[s];if(!u||u.collection!==o)return u?.collection?r(n,"BAD_COLLECTION_TYPE",`${u.tag} used for ${o} collection, but expects ${u.collection}`,!0):r(n,"TAG_RESOLVE_FAILED",`Unresolved tag: ${s}`,!0),Yc(t,e,i,r,s);e.schema.tags.push(Object.assign({},u,{default:!1})),a=u}const u=Yc(t,e,i,r,s,a),l=a.resolve?.(u,(t=>r(n,"TAG_RESOLVE_FAILED",t)),e.options)??u,c=qc.isNode(l)?l:new Uc.Scalar(l);return c.range=u.range,c.tag=s,a?.format&&(c.format=a.format),c};var Jc={},Zc={},Qc=zs;Zc.resolveBlockScalar=function(t,e,i){const n=t.offset,r=function({offset:t,props:e},i,n){if("block-scalar-header"!==e[0].type)return n(e[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:r}=e[0],s=r[0];let o=0,a="",u=-1;for(let e=1;e=0;--t){const e=o[t][1];if(""!==e&&"\r"!==e)break;a=t}if(0===a){const e="+"===r.chomp&&o.length>0?"\n".repeat(Math.max(1,o.length-1)):"";let i=n+r.length;return t.source&&(i+=t.source.length),{value:e,type:s,comment:r.comment,range:[n,i,i]}}let u=t.indent+r.indent,l=t.offset+r.length,c=0;for(let t=0;tu&&(u=e.length),l+=e.length+n.length+1}for(let t=o.length-1;t>=a;--t)o[t][0].length>u&&(a=t+1);let h="",p="",f=!1;for(let t=0;tu||"\t"===n[0]?(" "===p?p="\n":f||"\n"!==p||(p="\n\n"),h+=p+e.slice(u)+n,p="\n",f=!0):""===n?"\n"===p?h+="\n":p="\n":(h+=p+n,p=" ",f=!1)}switch(r.chomp){case"-":break;case"+":for(let t=a;ti(n+t,e,r);switch(r){case"scalar":a=th.Scalar.PLAIN,u=function(t,e){let i="";switch(t[0]){case"\t":i="a tab character";break;case",":i="flow indicator character ,";break;case"%":i="directive indicator character %";break;case"|":case">":i=`block scalar indicator ${t[0]}`;break;case"@":case"`":i=`reserved character ${t[0]}`}i&&e(0,"BAD_SCALAR_START",`Plain value cannot start with ${i}`);return ih(t)}(s,l);break;case"single-quoted-scalar":a=th.Scalar.QUOTE_SINGLE,u=function(t,e){"'"===t[t.length-1]&&1!==t.length||e(t.length,"MISSING_CHAR","Missing closing 'quote");return ih(t.slice(1,-1)).replace(/''/g,"'")}(s,l);break;case"double-quoted-scalar":a=th.Scalar.QUOTE_DOUBLE,u=function(t,e){let i="";for(let n=1;ne?t.slice(e,n+1):r)}else i+=r}'"'===t[t.length-1]&&1!==t.length||e(t.length,"MISSING_CHAR",'Missing closing "quote');return i}(s,l);break;default:return i(t,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${r}`),{value:"",type:null,comment:"",range:[n,n+s.length,n+s.length]}}const c=n+s.length,h=eh.resolveEnd(o,c,e,i);return{value:u,type:a,comment:h.comment,range:[n,c,h.offset]}};var oh=Hr,ah=zs,uh=Zc,lh=Xc;Jc.composeScalar=function(t,e,i,n){const{value:r,type:s,comment:o,range:a}="block-scalar"===e.type?uh.resolveBlockScalar(e,t.options.strict,n):lh.resolveFlowScalar(e,t.options.strict,n),u=i?t.directives.tagName(i.source,(t=>n(i,"TAG_RESOLVE_FAILED",t))):null,l=i&&u?function(t,e,i,n,r){if("!"===i)return t[oh.SCALAR];const s=[];for(const e of t.tags)if(!e.collection&&e.tag===i){if(!e.default||!e.test)return e;s.push(e)}for(const t of s)if(t.test?.test(e))return t;const o=t.knownTags[i];if(o&&!o.collection)return t.tags.push(Object.assign({},o,{default:!1,test:void 0})),o;return r(n,"TAG_RESOLVE_FAILED",`Unresolved tag: ${i}`,"tag:yaml.org,2002:str"!==i),t[oh.SCALAR]}(t.schema,r,u,i,n):"scalar"===e.type?function({directives:t,schema:e},i,n,r){const s=e.tags.find((t=>t.default&&t.test?.test(i)))||e[oh.SCALAR];if(e.compat){const o=e.compat.find((t=>t.default&&t.test?.test(i)))??e[oh.SCALAR];if(s.tag!==o.tag){r(n,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${t.tagString(s.tag)} or ${t.tagString(o.tag)}`,!0)}}return s}(t,r,e,n):t.schema[oh.SCALAR];let c;try{const s=l.resolve(r,(t=>n(i??e,"TAG_RESOLVE_FAILED",t)),t.options);c=oh.isScalar(s)?s:new ah.Scalar(s)}catch(t){const s=t instanceof Error?t.message:String(t);n(i??e,"TAG_RESOLVE_FAILED",s),c=new ah.Scalar(r)}return c.range=a,c.source=r,s&&(c.type=s),u&&(c.tag=u),l.format&&(c.format=l.format),o&&(c.comment=o),c};var ch={};ch.emptyScalarPosition=function(t,e,i){if(e){null===i&&(i=e.length);for(let n=i-1;n>=0;--n){let i=e[n];switch(i.type){case"space":case"comment":case"newline":t-=i.source.length;continue}for(i=e[++n];"space"===i?.type;)t+=i.source.length,i=e[++n];break}}return t};var hh=ws,ph=hc,fh=Jc,dh=Oc,gh=ch;const mh={composeNode:yh,composeEmptyNode:bh};function yh(t,e,i,n){const{spaceBefore:r,comment:s,anchor:o,tag:a}=i;let u,l=!0;switch(e.type){case"alias":u=function({options:t},{offset:e,source:i,end:n},r){const s=new hh.Alias(i.substring(1));""===s.source&&r(e,"BAD_ALIAS","Alias cannot be an empty string");s.source.endsWith(":")&&r(e+i.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const o=e+i.length,a=dh.resolveEnd(n,o,t.strict,r);s.range=[e,o,a.offset],a.comment&&(s.comment=a.comment);return s}(t,e,n),(o||a)&&n(e,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":u=fh.composeScalar(t,e,a,n),o&&(u.anchor=o.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":u=ph.composeCollection(mh,t,e,a,n),o&&(u.anchor=o.source.substring(1));break;default:n(e,"UNEXPECTED_TOKEN","error"===e.type?e.message:`Unsupported token (type: ${e.type})`),u=bh(t,e.offset,void 0,null,i,n),l=!1}return o&&""===u.anchor&&n(o,"BAD_ALIAS","Anchor cannot be an empty string"),r&&(u.spaceBefore=!0),s&&("scalar"===e.type&&""===e.source?u.comment=s:u.commentBefore=s),t.options.keepSourceTokens&&l&&(u.srcToken=e),u}function bh(t,e,i,n,{spaceBefore:r,comment:s,anchor:o,tag:a,end:u},l){const c={type:"scalar",offset:gh.emptyScalarPosition(e,i,n),indent:-1,source:""},h=fh.composeScalar(t,c,a,l);return o&&(h.anchor=o.source.substring(1),""===h.anchor&&l(o,"BAD_ALIAS","Anchor cannot be an empty string")),r&&(h.spaceBefore=!0),s&&(h.comment=s,h.range[2]=u),h}cc.composeEmptyNode=bh,cc.composeNode=yh;var wh=bs,vh=cc,Dh=Oc,kh=fc;lc.composeDoc=function(t,e,{offset:i,start:n,value:r,end:s},o){const a=Object.assign({_directives:e},t),u=new wh.Document(void 0,a),l={atRoot:!0,directives:u.directives,options:u.options,schema:u.schema},c=kh.resolveProps(n,{indicator:"doc-start",next:r??s?.[0],offset:i,onError:o,startOnNewline:!0});c.found&&(u.directives.docStart=!0,!r||"block-map"!==r.type&&"block-seq"!==r.type||c.hasNewline||o(c.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),u.contents=r?vh.composeNode(l,r,c,o):vh.composeEmptyNode(l,c.end,n,null,c,o);const h=u.contents.range[2],p=Dh.resolveEnd(s,h,!1,o);return p.comment&&(u.comment=p.comment),u.range=[i,h,p.offset],u};var Eh=Wr,xh=bs,Ah=ac,Fh=Hr,Ch=lc,Sh=Oc;function _h(t){if("number"==typeof t)return[t,t+1];if(Array.isArray(t))return 2===t.length?t:[t[0],t[1]];const{offset:e,source:i}=t;return[e,e+("string"==typeof i?i.length:1)]}function jh(t){let e="",i=!1,n=!1;for(let r=0;r{const r=_h(t);n?this.warnings.push(new Ah.YAMLWarning(r,e,i)):this.errors.push(new Ah.YAMLParseError(r,e,i))},this.directives=new Eh.Directives({version:t.version||"1.2"}),this.options=t}decorate(t,e){const{comment:i,afterEmptyLine:n}=jh(this.prelude);if(i){const r=t.contents;if(e)t.comment=t.comment?`${t.comment}\n${i}`:i;else if(n||t.directives.docStart||!r)t.commentBefore=i;else if(Fh.isCollection(r)&&!r.flow&&r.items.length>0){let t=r.items[0];Fh.isPair(t)&&(t=t.key);const e=t.commentBefore;t.commentBefore=e?`${i}\n${e}`:i}else{const t=r.commentBefore;r.commentBefore=t?`${i}\n${t}`:i}}e?(Array.prototype.push.apply(t.errors,this.errors),Array.prototype.push.apply(t.warnings,this.warnings)):(t.errors=this.errors,t.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:jh(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,e=!1,i=-1){for(const e of t)yield*this.next(e);yield*this.end(e,i)}*next(t){switch(process.env.LOG_STREAM&&console.dir(t,{depth:null}),t.type){case"directive":this.directives.add(t.source,((e,i,n)=>{const r=_h(t);r[0]+=e,this.onError(r,"BAD_DIRECTIVE",i,n)})),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const e=Ch.composeDoc(this.options,this.directives,t,this.onError);this.atDirectives&&!e.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(e,!1),this.doc&&(yield this.doc),this.doc=e,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const e=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,i=new Ah.YAMLParseError(_h(t),"UNEXPECTED_TOKEN",e);this.atDirectives||!this.doc?this.errors.push(i):this.doc.errors.push(i);break}case"doc-end":{if(!this.doc){const e="Unexpected doc-end without preceding document";this.errors.push(new Ah.YAMLParseError(_h(t),"UNEXPECTED_TOKEN",e));break}this.doc.directives.docEnd=!0;const e=Sh.resolveEnd(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),e.comment){const t=this.doc.comment;this.doc.comment=t?`${t}\n${e.comment}`:e.comment}this.doc.range[2]=e.offset;break}default:this.errors.push(new Ah.YAMLParseError(_h(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,e=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const t=Object.assign({_directives:this.directives},this.options),i=new xh.Document(void 0,t);this.atDirectives&&this.onError(e,"MISSING_CHAR","Missing directives-end indicator line"),i.range=[0,e,e],this.decorate(i,!1),yield i}}};var Oh={},Bh={},Th=Zc,Rh=Xc,Ih=ac,$h=oo;function Nh(t,e){if(e)for(const i of e)switch(i.type){case"space":case"comment":t.push(i);break;case"newline":return t.push(i),!0}return!1}function Lh(t,e,i){switch(t.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":t.type=i,t.source=e;break;case"block-scalar":{const n=t.props.slice(1);let r=e.length;"block-scalar-header"===t.props[0].type&&(r-=t.props[0].source.length);for(const t of n)t.offset+=r;delete t.props,Object.assign(t,{type:i,source:e,end:n});break}case"block-map":case"block-seq":{const n={type:"newline",offset:t.offset+e.length,indent:t.indent,source:"\n"};delete t.items,Object.assign(t,{type:i,source:e,end:[n]});break}default:{const n="indent"in t?t.indent:-1,r="end"in t&&Array.isArray(t.end)?t.end.filter((t=>"space"===t.type||"comment"===t.type||"newline"===t.type)):[];for(const e of Object.keys(t))"type"!==e&&"offset"!==e&&delete t[e];Object.assign(t,{type:i,indent:n,source:e,end:r})}}}Bh.createScalarToken=function(t,e){const{implicitKey:i=!1,indent:n,inFlow:r=!1,offset:s=-1,type:o="PLAIN"}=e,a=$h.stringifyString({type:o,value:t},{implicitKey:i,indent:n>0?" ".repeat(n):"",inFlow:r,options:{blockQuote:!0,lineWidth:-1}}),u=e.end??[{type:"newline",offset:-1,indent:n,source:"\n"}];switch(a[0]){case"|":case">":{const t=a.indexOf("\n"),e=a.substring(0,t),i=a.substring(t+1)+"\n",r=[{type:"block-scalar-header",offset:s,indent:n,source:e}];return Nh(r,u)||r.push({type:"newline",offset:-1,indent:n,source:"\n"}),{type:"block-scalar",offset:s,indent:n,props:r,source:i}}case'"':return{type:"double-quoted-scalar",offset:s,indent:n,source:a,end:u};case"'":return{type:"single-quoted-scalar",offset:s,indent:n,source:a,end:u};default:return{type:"scalar",offset:s,indent:n,source:a,end:u}}},Bh.resolveAsScalar=function(t,e=!0,i){if(t){const n=(t,e,n)=>{const r="number"==typeof t?t:Array.isArray(t)?t[0]:t.offset;if(!i)throw new Ih.YAMLParseError([r,r+1],e,n);i(r,e,n)};switch(t.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return Rh.resolveFlowScalar(t,e,n);case"block-scalar":return Th.resolveBlockScalar(t,e,n)}}return null},Bh.setScalarValue=function(t,e,i={}){let{afterKey:n=!1,implicitKey:r=!1,inFlow:s=!1,type:o}=i,a="indent"in t?t.indent:null;if(n&&"number"==typeof a&&(a+=2),!o)switch(t.type){case"single-quoted-scalar":o="QUOTE_SINGLE";break;case"double-quoted-scalar":o="QUOTE_DOUBLE";break;case"block-scalar":{const e=t.props[0];if("block-scalar-header"!==e.type)throw new Error("Invalid block scalar header");o=">"===e.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:o="PLAIN"}const u=$h.stringifyString({type:o,value:e},{implicitKey:r||null===a,indent:null!==a&&a>0?" ".repeat(a):"",inFlow:s,options:{blockQuote:!0,lineWidth:-1}});switch(u[0]){case"|":case">":!function(t,e){const i=e.indexOf("\n"),n=e.substring(0,i),r=e.substring(i+1)+"\n";if("block-scalar"===t.type){const e=t.props[0];if("block-scalar-header"!==e.type)throw new Error("Invalid block scalar header");e.source=n,t.source=r}else{const{offset:e}=t,i="indent"in t?t.indent:-1,s=[{type:"block-scalar-header",offset:e,indent:i,source:n}];Nh(s,"end"in t?t.end:void 0)||s.push({type:"newline",offset:-1,indent:i,source:"\n"});for(const e of Object.keys(t))"type"!==e&&"offset"!==e&&delete t[e];Object.assign(t,{type:"block-scalar",indent:i,props:s,source:r})}}(t,u);break;case'"':Lh(t,u,"double-quoted-scalar");break;case"'":Lh(t,u,"single-quoted-scalar");break;default:Lh(t,u,"scalar")}};var Ph={};function Mh(t){switch(t.type){case"block-scalar":{let e="";for(const i of t.props)e+=Mh(i);return e+t.source}case"block-map":case"block-seq":{let e="";for(const i of t.items)e+=zh(i);return e}case"flow-collection":{let e=t.start.source;for(const i of t.items)e+=zh(i);for(const i of t.end)e+=i.source;return e}case"document":{let e=zh(t);if(t.end)for(const i of t.end)e+=i.source;return e}default:{let e=t.source;if("end"in t&&t.end)for(const i of t.end)e+=i.source;return e}}}function zh({start:t,key:e,sep:i,value:n}){let r="";for(const e of t)r+=e.source;if(e&&(r+=Mh(e)),i)for(const t of i)r+=t.source;return n&&(r+=Mh(n)),r}Ph.stringify=t=>"type"in t?Mh(t):zh(t);var qh={};const Uh=Symbol("break visit"),Gh=Symbol("skip children"),Wh=Symbol("remove item");function Hh(t,e){"type"in t&&"document"===t.type&&(t={start:t.start,value:t.value}),Vh(Object.freeze([]),t,e)}function Vh(t,e,i){let n=i(e,t);if("symbol"==typeof n)return n;for(const r of["key","value"]){const s=e[r];if(s&&"items"in s){for(let e=0;e{let i=t;for(const[t,n]of e){const e=i?.[t];if(!e||!("items"in e))return;i=e.items[n]}return i},Hh.parentCollection=(t,e)=>{const i=Hh.itemAtPath(t,e.slice(0,-1)),n=e[e.length-1][0],r=i?.[n];if(r&&"items"in r)return r;throw new Error("Parent collection not found")},qh.visit=Hh;var Kh=Bh,Yh=Ph,Jh=qh;Oh.createScalarToken=Kh.createScalarToken,Oh.resolveAsScalar=Kh.resolveAsScalar,Oh.setScalarValue=Kh.setScalarValue,Oh.stringify=Yh.stringify,Oh.visit=Jh.visit,Oh.BOM="\ufeff",Oh.DOCUMENT="",Oh.FLOW_END="",Oh.SCALAR="",Oh.isCollection=t=>!!t&&"items"in t,Oh.isScalar=t=>!!t&&("scalar"===t.type||"single-quoted-scalar"===t.type||"double-quoted-scalar"===t.type||"block-scalar"===t.type),Oh.prettyToken=function(t){switch(t){case"\ufeff":return"";case"":return"";case"":return"";case"":return"";default:return JSON.stringify(t)}},Oh.tokenType=function(t){switch(t){case"\ufeff":return"byte-order-mark";case"":return"doc-mode";case"":return"flow-error-end";case"":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(t[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null};var Zh={},Qh=Oh;function Xh(t){switch(t){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const tp="0123456789ABCDEFabcdef".split(""),ep="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),ip=",[]{}".split(""),np=" ,[]{}\n\r\t".split(""),rp=t=>!t||np.includes(t);Zh.Lexer=class{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(t,e=!1){t&&(this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null),this.atEnd=!e;let i=this.next??"stream";for(;i&&(e||this.hasChars(1));)i=yield*this.parseNext(i)}atLineEnd(){let t=this.pos,e=this.buffer[t];for(;" "===e||"\t"===e;)e=this.buffer[++t];return!e||"#"===e||"\n"===e||"\r"===e&&"\n"===this.buffer[t+1]}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let e=this.buffer[t];if(this.indentNext>0){let i=0;for(;" "===e;)e=this.buffer[++i+t];if("\r"===e){const e=this.buffer[i+t+1];if("\n"===e||!e&&!this.atEnd)return t+i+1}return"\n"===e||i>=this.indentNext||!e&&!this.atEnd?t+i:-1}if("-"===e||"."===e){const e=this.buffer.substr(t,3);if(("---"===e||"..."===e)&&Xh(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return("number"!=typeof t||-1!==t&&tthis.indentValue&&!Xh(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[t,e]=this.peek(2);if(!e&&!this.atEnd)return this.setNext("block-start");if(("-"===t||"?"===t||":"===t)&&Xh(e)){const t=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=t,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const t=this.getLine();if(null===t)return this.setNext("doc");let e=yield*this.pushIndicators();switch(t[e]){case"#":yield*this.pushCount(t.length-e);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(rp),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return e+=(yield*this.parseBlockScalarHeader()),e+=(yield*this.pushSpaces(!0)),yield*this.pushCount(t.length-e),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,e,i=-1;do{t=yield*this.pushNewline(),t>0?(e=yield*this.pushSpaces(!1),this.indentValue=i=e):e=0,e+=(yield*this.pushSpaces(!0))}while(t+e>0);const n=this.getLine();if(null===n)return this.setNext("flow");if(-1!==i&&i"0"&&e<="9")this.blockScalarIndent=Number(e)-1;else if("-"!==e)break}return yield*this.pushUntil((t=>Xh(t)||"#"===t))}*parseBlockScalar(){let t,e=this.pos-1,i=0;t:for(let n=this.pos;t=this.buffer[n];++n)switch(t){case" ":i+=1;break;case"\n":e=n,i=0;break;case"\r":{const t=this.buffer[n+1];if(!t&&!this.atEnd)return this.setNext("block-scalar");if("\n"===t)break}default:break t}if(!t&&!this.atEnd)return this.setNext("block-scalar");if(i>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=i:this.indentNext+=this.blockScalarIndent;do{const t=this.continueScalar(e+1);if(-1===t)break;e=this.buffer.indexOf("\n",t)}while(-1!==e);if(-1===e){if(!this.atEnd)return this.setNext("block-scalar");e=this.buffer.length}}if(!this.blockScalarKeep)for(;;){let t=e-1,n=this.buffer[t];"\r"===n&&(n=this.buffer[--t]);const r=t;for(;" "===n||"\t"===n;)n=this.buffer[--t];if(!("\n"===n&&t>=this.pos&&t+1+i>r))break;e=t}return yield Qh.SCALAR,yield*this.pushToIndex(e+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let e,i=this.pos-1,n=this.pos-1;for(;e=this.buffer[++n];)if(":"===e){const e=this.buffer[n+1];if(Xh(e)||t&&","===e)break;i=n}else if(Xh(e)){let r=this.buffer[n+1];if("\r"===e&&("\n"===r?(n+=1,e="\n",r=this.buffer[n+1]):i=n),"#"===r||t&&ip.includes(r))break;if("\n"===e){const t=this.continueScalar(n+1);if(-1===t)break;n=Math.max(n,t-2)}}else{if(t&&ip.includes(e))break;i=n}return e||this.atEnd?(yield Qh.SCALAR,yield*this.pushToIndex(i+1,!0),t?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,e){const i=this.buffer.slice(this.pos,t);return i?(yield i,this.pos+=i.length,i.length):(e&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(rp))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0,e=this.charAt(1);if(Xh(e)||t&&ip.includes(e))return t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let t=this.pos+2,e=this.buffer[t];for(;!Xh(e)&&">"!==e;)e=this.buffer[++t];return yield*this.pushToIndex(">"===e?t+1:t,!1)}{let t=this.pos+1,e=this.buffer[t];for(;e;)if(ep.includes(e))e=this.buffer[++t];else{if("%"!==e||!tp.includes(this.buffer[t+1])||!tp.includes(this.buffer[t+2]))break;e=this.buffer[t+=3]}return yield*this.pushToIndex(t,!1)}}*pushNewline(){const t=this.buffer[this.pos];return"\n"===t?yield*this.pushCount(1):"\r"===t&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(t){let e,i=this.pos-1;do{e=this.buffer[++i]}while(" "===e||t&&"\t"===e);const n=i-this.pos;return n>0&&(yield this.buffer.substr(this.pos,n),this.pos=i),n}*pushUntil(t){let e=this.pos,i=this.buffer[e];for(;!t(i);)i=this.buffer[++e];return yield*this.pushToIndex(e,!1)}};var sp={};sp.LineCounter=class{constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let e=0,i=this.lineStarts.length;for(;e>1;this.lineStarts[n]=0;)switch(t[e].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break t}for(;"space"===t[++e]?.type;);return t.splice(e,t.length)}function dp(t){if("flow-seq-start"===t.start.type)for(const e of t.items)!e.sep||e.value||lp(e.start,"explicit-key-ind")||lp(e.sep,"map-value-ind")||(e.key&&(e.value=e.key),delete e.key,hp(e.value)?e.value.end?Array.prototype.push.apply(e.value.end,e.sep):e.value.end=e.sep:Array.prototype.push.apply(e.start,e.sep),delete e.sep)}op.Parser=class{constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new up.Lexer,this.onNewLine=t}*parse(t,e=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const i of this.lexer.lex(t,e))yield*this.next(i);e||(yield*this.end())}*next(t){if(this.source=t,process.env.LOG_TOKENS&&console.log("|",ap.prettyToken(t)),this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=t.length);const e=ap.tokenType(t);if(e)if("scalar"===e)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=e,yield*this.step(),e){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&" "===t[0]&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{const e=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:e,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const t=this.peek(1);if("doc-end"!==this.type||t&&"doc-end"===t.type){if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(t){return this.stack[this.stack.length-t]}*pop(t){const e=t??this.stack.pop();if(e)if(0===this.stack.length)yield e;else{const t=this.peek(1);switch("block-scalar"===e.type?e.indent="indent"in t?t.indent:0:"flow-collection"===e.type&&"document"===t.type&&(e.indent=0),"flow-collection"===e.type&&dp(e),t.type){case"document":t.value=e;break;case"block-scalar":t.props.push(e);break;case"block-map":{const i=t.items[t.items.length-1];if(i.value)return t.items.push({start:[],key:e,sep:[]}),void(this.onKeyLine=!0);if(!i.sep)return Object.assign(i,{key:e,sep:[]}),void(this.onKeyLine=!lp(i.start,"explicit-key-ind"));i.value=e;break}case"block-seq":{const i=t.items[t.items.length-1];i.value?t.items.push({start:[],value:e}):i.value=e;break}case"flow-collection":{const i=t.items[t.items.length-1];return void(!i||i.value?t.items.push({start:[],key:e,sep:[]}):i.sep?i.value=e:Object.assign(i,{key:e,sep:[]}))}default:yield*this.pop(),yield*this.pop(e)}if(!("document"!==t.type&&"block-map"!==t.type&&"block-seq"!==t.type||"block-map"!==e.type&&"block-seq"!==e.type)){const i=e.items[e.items.length-1];i&&!i.sep&&!i.value&&i.start.length>0&&-1===cp(i.start)&&(0===e.indent||i.start.every((t=>"comment"!==t.type||t.indent=t.indent){const i=!this.onKeyLine&&this.indent===t.indent&&e.sep&&"seq-item-ind"!==this.type;let n=[];if(i&&e.sep&&!e.value){const i=[];for(let n=0;nt.indent&&(i.length=0);break;default:i.length=0}}i.length>=2&&(n=e.sep.splice(i[1]))}switch(this.type){case"anchor":case"tag":return void(i||e.value?(n.push(this.sourceToken),t.items.push({start:n}),this.onKeyLine=!0):e.sep?e.sep.push(this.sourceToken):e.start.push(this.sourceToken));case"explicit-key-ind":return e.sep||lp(e.start,"explicit-key-ind")?i||e.value?(n.push(this.sourceToken),t.items.push({start:n})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}):e.start.push(this.sourceToken),void(this.onKeyLine=!0);case"map-value-ind":if(lp(e.start,"explicit-key-ind"))if(e.sep)if(e.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(lp(e.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]});else if(hp(e.key)&&!lp(e.sep,"newline")){const t=fp(e.start),i=e.key,n=e.sep;n.push(this.sourceToken),delete e.key,delete e.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:i,sep:n}]})}else n.length>0?e.sep=e.sep.concat(n,this.sourceToken):e.sep.push(this.sourceToken);else if(lp(e.start,"newline"))Object.assign(e,{key:null,sep:[this.sourceToken]});else{const t=fp(e.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]})}else e.sep?e.value||i?t.items.push({start:n,key:null,sep:[this.sourceToken]}):lp(e.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):e.sep.push(this.sourceToken):Object.assign(e,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const r=this.flowScalar(this.type);return void(i||e.value?(t.items.push({start:n,key:r,sep:[]}),this.onKeyLine=!0):e.sep?this.stack.push(r):(Object.assign(e,{key:r,sep:[]}),this.onKeyLine=!0))}default:{const r=this.startBlockValue(t);if(r)return i&&"block-seq"!==r.type&&lp(e.start,"explicit-key-ind")&&t.items.push({start:n}),void this.stack.push(r)}}}yield*this.pop(),yield*this.step()}*blockSequence(t){const e=t.items[t.items.length-1];switch(this.type){case"newline":if(e.value){const i="end"in e.value?e.value.end:void 0,n=Array.isArray(i)?i[i.length-1]:void 0;"comment"===n?.type?i?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else e.start.push(this.sourceToken);return;case"space":case"comment":if(e.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(e.start,t.indent)){const i=t.items[t.items.length-2],n=i?.value?.end;if(Array.isArray(n))return Array.prototype.push.apply(n,e.start),n.push(this.sourceToken),void t.items.pop()}e.start.push(this.sourceToken)}return;case"anchor":case"tag":if(e.value||this.indent<=t.indent)break;return void e.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==t.indent)break;return void(e.value||lp(e.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):e.start.push(this.sourceToken))}if(this.indent>t.indent){const e=this.startBlockValue(t);if(e)return void this.stack.push(e)}yield*this.pop(),yield*this.step()}*flowCollection(t){const e=t.items[t.items.length-1];if("flow-error-end"===this.type){let t;do{yield*this.pop(),t=this.peek(1)}while(t&&"flow-collection"===t.type)}else if(0===t.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!e||e.sep?t.items.push({start:[this.sourceToken]}):e.start.push(this.sourceToken));case"map-value-ind":return void(!e||e.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):e.sep?e.sep.push(this.sourceToken):Object.assign(e,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!e||e.value?t.items.push({start:[this.sourceToken]}):e.sep?e.sep.push(this.sourceToken):e.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const i=this.flowScalar(this.type);return void(!e||e.value?t.items.push({start:[],key:i,sep:[]}):e.sep?this.stack.push(i):Object.assign(e,{key:i,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void t.end.push(this.sourceToken)}const i=this.startBlockValue(t);i?this.stack.push(i):(yield*this.pop(),yield*this.step())}else{const e=this.peek(2);if("block-map"===e.type&&("map-value-ind"===this.type&&e.indent===t.indent||"newline"===this.type&&!e.items[e.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==e.type){const i=fp(pp(e));dp(t);const n=t.end.splice(1,t.end.length);n.push(this.sourceToken);const r={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:i,key:t,sep:n}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=r}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let t=this.source.indexOf("\n")+1;for(;0!==t;)this.onNewLine(this.offset+t),t=this.source.indexOf("\n",t)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const e=fp(pp(t));return e.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e}]}}case"map-value-ind":{this.onKeyLine=!0;const e=fp(pp(t));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,e){return"comment"===this.type&&(!(this.indent<=e)&&t.every((t=>"newline"===t.type||"space"===t.type)))}*documentEnd(t){"doc-mode"!==this.type&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}};var gp={},mp=Gr,yp=bs,bp=ac,wp=jo,vp=sp,Dp=op;function kp(t){const e=!1!==t.prettyErrors;return{lineCounter:t.lineCounter||e&&new vp.LineCounter||null,prettyErrors:e}}function Ep(t,e={}){const{lineCounter:i,prettyErrors:n}=kp(e),r=new Dp.Parser(i?.addNewLine),s=new mp.Composer(e);let o=null;for(const e of s.compose(r.parse(t),!0,t.length))if(o){if("silent"!==o.options.logLevel){o.errors.push(new bp.YAMLParseError(e.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else o=e;return n&&i&&(o.errors.forEach(bp.prettifyError(t,i)),o.warnings.forEach(bp.prettifyError(t,i))),o}gp.parse=function(t,e,i){let n;"function"==typeof e?n=e:void 0===i&&e&&"object"==typeof e&&(i=e);const r=Ep(t,i);if(!r)return null;if(r.warnings.forEach((t=>wp.warn(r.options.logLevel,t))),r.errors.length>0){if("silent"!==r.options.logLevel)throw r.errors[0];r.errors=[]}return r.toJS(Object.assign({reviver:n},i))},gp.parseAllDocuments=function(t,e={}){const{lineCounter:i,prettyErrors:n}=kp(e),r=new Dp.Parser(i?.addNewLine),s=new mp.Composer(e),o=Array.from(s.compose(r.parse(t)));if(n&&i)for(const e of o)e.errors.forEach(bp.prettifyError(t,i)),e.warnings.forEach(bp.prettifyError(t,i));return o.length>0?o:Object.assign([],{empty:!0},s.streamInfo())},gp.parseDocument=Ep,gp.stringify=function(t,e,i){let n=null;if("function"==typeof e||Array.isArray(e)?n=e:void 0===i&&e&&(i=e),"string"==typeof i&&(i=i.length),"number"==typeof i){const t=Math.round(i);i=t<1?void 0:t>8?{indent:8}:{indent:t}}if(void 0===t){const{keepUndefined:t}=i??e??{};if(!t)return}return new yp.Document(t,n,i).toString(i)};var xp=Gr,Ap=bs,Fp=Uo,Cp=ac,Sp=ws,_p=Hr,jp=eo,Op=zs,Bp=Wo,Tp=ha,Rp=Oh,Ip=Zh,$p=sp,Np=op,Lp=gp,Pp=is;Ur.Composer=xp.Composer,Ur.Document=Ap.Document,Ur.Schema=Fp.Schema,Ur.YAMLError=Cp.YAMLError,Ur.YAMLParseError=Cp.YAMLParseError,Ur.YAMLWarning=Cp.YAMLWarning,Ur.Alias=Sp.Alias,Ur.isAlias=_p.isAlias,Ur.isCollection=_p.isCollection,Ur.isDocument=_p.isDocument,Ur.isMap=_p.isMap,Ur.isNode=_p.isNode,Ur.isPair=_p.isPair,Ur.isScalar=_p.isScalar,Ur.isSeq=_p.isSeq,Ur.Pair=jp.Pair,Ur.Scalar=Op.Scalar,Ur.YAMLMap=Bp.YAMLMap,Ur.YAMLSeq=Tp.YAMLSeq,Ur.CST=Rp,Ur.Lexer=Ip.Lexer,Ur.LineCounter=$p.LineCounter,Ur.Parser=Np.Parser,Ur.parse=Lp.parse,Ur.parseAllDocuments=Lp.parseAllDocuments,Ur.parseDocument=Lp.parseDocument,Ur.stringify=Lp.stringify,Ur.visit=Pp.visit,Ur.visitAsync=Pp.visitAsync;var Mp=c,zp=function(t){return!!t&&(t instanceof Array||Array.isArray(t)||t.length>=0&&t.splice instanceof Function)},qp=function(t,e){t&&t.constructor===String||(e=t||{},t=Error.name);var i=function n(r){if(!this)return new n(r);r=r instanceof Error?r.message:r||this.message,Error.call(this,r),Error.captureStackTrace(this,i),this.name=t,Object.defineProperty(this,"message",{configurable:!0,enumerable:!1,get:function(){var t=r.split(/\r?\n/g);for(var i in e)if(e.hasOwnProperty(i)){var n=e[i];"message"in n&&(t=n.message(this[i],t)||t,zp(t)||(t=[t]))}return t.join("\n")},set:function(t){r=t}});var s=null,o=Object.getOwnPropertyDescriptor(this,"stack"),a=o.get,u=o.value;delete o.value,delete o.writable,o.set=function(t){s=t},o.get=function(){var t=(s||(a?a.call(this):u)).split(/\r?\n+/g);s||(t[0]=this.name+": "+this.message);var i=1;for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if("line"in r){var o=r.line(this[n]);o&&t.splice(i++,0," "+o)}"stack"in r&&r.stack(this[n],t)}return t.join("\n")},Object.defineProperty(this,"stack",o)};return Object.setPrototypeOf?(Object.setPrototypeOf(i.prototype,Error.prototype),Object.setPrototypeOf(i,Error)):Mp.inherits(i,Error),i};qp.append=function(t,e){return{message:function(i,n){return(i=i||e)&&(n[0]+=" "+t.replace("%s",i.toString())),n}}},qp.line=function(t,e){return{line:function(i){return(i=i||e)?t.replace("%s",i.toString()):null}}};var Up=qp,Gp=q(Up);let Wp=class extends SyntaxError{constructor(t,e,i,n){const r=((t,e,i)=>{if(!e)return{message:t.message+" while parsing empty string",position:0};const n=t.message.match(/^Unexpected token (.) .*position\s+(\d+)/i),r=n?+n[2]:t.message.match(/^Unexpected end of JSON.*/i)?e.length-1:null,s=n?t.message.replace(/^Unexpected token ./,`Unexpected token ${JSON.stringify(n[1])} (${(t=>{const e=t.charCodeAt(0).toString(16).toUpperCase();return"0x"+(e.length%2?"0":"")+e})(n[1])})`):t.message;if(null!=r){const t=r<=i?0:r-i,n=r+i>=e.length?e.length:r+i,o=(0===t?"":"...")+e.slice(t,n)+(n===e.length?"":"...");return{message:s+` while parsing ${e===o?"":"near "}${JSON.stringify(o)}`,position:r}}return{message:s+` while parsing '${e.slice(0,2*i)}'`,position:0}})(t,e,i=i||20);super(r.message),Object.assign(this,r),this.code="EJSONPARSE",this.systemError=t,Error.captureStackTrace(this,n||this.constructor)}get name(){return this.constructor.name}set name(t){}get[Symbol.toStringTag](){return this.constructor.name}};const Hp=Symbol.for("indent"),Vp=Symbol.for("newline"),Kp=/^\s*[{\[]((?:\r?\n)+)([\s\t]*)/,Yp=/^(?:\{\}|\[\])((?:\r?\n)+)?$/,Jp=(t,e,i)=>{const n=Zp(t);i=i||20;try{const[,t="\n",i=" "]=n.match(Yp)||n.match(Kp)||[,"",""],r=JSON.parse(n,e);return r&&"object"==typeof r&&(r[Vp]=t,r[Hp]=i),r}catch(e){if("string"!=typeof t&&!Buffer.isBuffer(t)){const i=Array.isArray(t)&&0===t.length;throw Object.assign(new TypeError(`Cannot parse ${i?"an empty array":String(t)}`),{code:"EJSONPARSE",systemError:e})}throw new Wp(e,n,i,Jp)}},Zp=t=>String(t).replace(/^\uFEFF/,"");var Qp=Jp;Jp.JSONParseError=Wp,Jp.noExceptions=(t,e)=>{try{return JSON.parse(Zp(t),e)}catch(t){}};var Xp=q(Qp),tf={},ef={},nf={};Object.defineProperty(nf,"__esModule",{value:!0}),nf.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,nf.matchToToken=function(t){var e={type:"invalid",value:t[0],closed:void 0};return t[1]?(e.type="string",e.closed=!(!t[3]&&!t[4])):t[5]?e.type="comment":t[6]?(e.type="comment",e.closed=!!t[7]):t[8]?e.type="regex":t[9]?e.type="number":t[10]?e.type="name":t[11]?e.type="punctuator":t[12]&&(e.type="whitespace"),e};var rf={},sf={};Object.defineProperty(sf,"__esModule",{value:!0}),sf.isIdentifierChar=df,sf.isIdentifierName=function(t){let e=!0;for(let i=0;it)return!1;if(i+=e[n+1],i>=t)return!0}return!1}function ff(t){return t<65?36===t:t<=90||(t<97?95===t:t<=122||(t<=65535?t>=170&&uf.test(String.fromCharCode(t)):pf(t,cf)))}function df(t){return t<48?36===t:t<58||!(t<65)&&(t<=90||(t<97?95===t:t<=122||(t<=65535?t>=170&&lf.test(String.fromCharCode(t)):pf(t,cf)||pf(t,hf))))}var gf={};Object.defineProperty(gf,"__esModule",{value:!0}),gf.isKeyword=function(t){return bf.has(t)},gf.isReservedWord=Df,gf.isStrictBindOnlyReservedWord=Ef,gf.isStrictBindReservedWord=function(t,e){return kf(t,e)||Ef(t)},gf.isStrictReservedWord=kf;const mf=["implements","interface","let","package","private","protected","public","static","yield"],yf=["eval","arguments"],bf=new Set(["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"]),wf=new Set(mf),vf=new Set(yf);function Df(t,e){return e&&"await"===t||"enum"===t}function kf(t,e){return Df(t,e)||wf.has(t)}function Ef(t){return vf.has(t)}!function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return e.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return e.isIdentifierName}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return e.isIdentifierStart}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return i.isKeyword}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return i.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return i.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return i.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return i.isStrictReservedWord}});var e=sf,i=gf}(rf);var xf={exports:{}};let Af=w,Ff=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||"win32"===process.platform||Af.isatty(1)&&"dumb"!==process.env.TERM||"CI"in process.env),Cf=(t,e,i=t)=>n=>{let r=""+n,s=r.indexOf(e,t.length);return~s?t+Sf(r,e,i,s)+e:t+r+e},Sf=(t,e,i,n)=>{let r=t.substring(0,n)+i,s=t.substring(n+e.length),o=s.indexOf(e);return~o?r+Sf(s,e,i,o):r+s},_f=(t=Ff)=>({isColorSupported:t,reset:t?t=>`${t}`:String,bold:t?Cf("","",""):String,dim:t?Cf("","",""):String,italic:t?Cf("",""):String,underline:t?Cf("",""):String,inverse:t?Cf("",""):String,hidden:t?Cf("",""):String,strikethrough:t?Cf("",""):String,black:t?Cf("",""):String,red:t?Cf("",""):String,green:t?Cf("",""):String,yellow:t?Cf("",""):String,blue:t?Cf("",""):String,magenta:t?Cf("",""):String,cyan:t?Cf("",""):String,white:t?Cf("",""):String,gray:t?Cf("",""):String,bgBlack:t?Cf("",""):String,bgRed:t?Cf("",""):String,bgGreen:t?Cf("",""):String,bgYellow:t?Cf("",""):String,bgBlue:t?Cf("",""):String,bgMagenta:t?Cf("",""):String,bgCyan:t?Cf("",""):String,bgWhite:t?Cf("",""):String});xf.exports=_f(),xf.exports.createColors=_f;var jf,Of,Bf=xf.exports,Tf={exports:{}};var Rf,If,$f,Nf,Lf,Pf,Mf,zf,qf,Uf,Gf,Wf,Hf,Vf,Kf,Yf={exports:{}},Jf={exports:{}};function Zf(){if($f)return Jf.exports;$f=1;var t=If?Rf:(If=1,Rf={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]}),e={};for(var i in t)t.hasOwnProperty(i)&&(e[t[i]]=i);var n=Jf.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(var r in n)if(n.hasOwnProperty(r)){if(!("channels"in n[r]))throw new Error("missing channels property: "+r);if(!("labels"in n[r]))throw new Error("missing channel labels property: "+r);if(n[r].labels.length!==n[r].channels)throw new Error("channel and label counts mismatch: "+r);var s=n[r].channels,o=n[r].labels;delete n[r].channels,delete n[r].labels,Object.defineProperty(n[r],"channels",{value:s}),Object.defineProperty(n[r],"labels",{value:o})}return n.rgb.hsl=function(t){var e,i,n=t[0]/255,r=t[1]/255,s=t[2]/255,o=Math.min(n,r,s),a=Math.max(n,r,s),u=a-o;return a===o?e=0:n===a?e=(r-s)/u:r===a?e=2+(s-n)/u:s===a&&(e=4+(n-r)/u),(e=Math.min(60*e,360))<0&&(e+=360),i=(o+a)/2,[e,100*(a===o?0:i<=.5?u/(a+o):u/(2-a-o)),100*i]},n.rgb.hsv=function(t){var e,i,n,r,s,o=t[0]/255,a=t[1]/255,u=t[2]/255,l=Math.max(o,a,u),c=l-Math.min(o,a,u),h=function(t){return(l-t)/6/c+.5};return 0===c?r=s=0:(s=c/l,e=h(o),i=h(a),n=h(u),o===l?r=n-i:a===l?r=1/3+e-n:u===l&&(r=2/3+i-e),r<0?r+=1:r>1&&(r-=1)),[360*r,100*s,100*l]},n.rgb.hwb=function(t){var e=t[0],i=t[1],r=t[2];return[n.rgb.hsl(t)[0],100*(1/255*Math.min(e,Math.min(i,r))),100*(r=1-1/255*Math.max(e,Math.max(i,r)))]},n.rgb.cmyk=function(t){var e,i=t[0]/255,n=t[1]/255,r=t[2]/255;return[100*((1-i-(e=Math.min(1-i,1-n,1-r)))/(1-e)||0),100*((1-n-e)/(1-e)||0),100*((1-r-e)/(1-e)||0),100*e]},n.rgb.keyword=function(i){var n=e[i];if(n)return n;var r,s,o,a=1/0;for(var u in t)if(t.hasOwnProperty(u)){var l=t[u],c=(s=i,o=l,Math.pow(s[0]-o[0],2)+Math.pow(s[1]-o[1],2)+Math.pow(s[2]-o[2],2));c.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*e+.7152*i+.0722*n),100*(.0193*e+.1192*i+.9505*n)]},n.rgb.lab=function(t){var e=n.rgb.xyz(t),i=e[0],r=e[1],s=e[2];return r/=100,s/=108.883,i=(i/=95.047)>.008856?Math.pow(i,1/3):7.787*i+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(i-r),200*(r-(s=s>.008856?Math.pow(s,1/3):7.787*s+16/116))]},n.hsl.rgb=function(t){var e,i,n,r,s,o=t[0]/360,a=t[1]/100,u=t[2]/100;if(0===a)return[s=255*u,s,s];e=2*u-(i=u<.5?u*(1+a):u+a-u*a),r=[0,0,0];for(var l=0;l<3;l++)(n=o+1/3*-(l-1))<0&&n++,n>1&&n--,s=6*n<1?e+6*(i-e)*n:2*n<1?i:3*n<2?e+(i-e)*(2/3-n)*6:e,r[l]=255*s;return r},n.hsl.hsv=function(t){var e=t[0],i=t[1]/100,n=t[2]/100,r=i,s=Math.max(n,.01);return i*=(n*=2)<=1?n:2-n,r*=s<=1?s:2-s,[e,100*(0===n?2*r/(s+r):2*i/(n+i)),100*((n+i)/2)]},n.hsv.rgb=function(t){var e=t[0]/60,i=t[1]/100,n=t[2]/100,r=Math.floor(e)%6,s=e-Math.floor(e),o=255*n*(1-i),a=255*n*(1-i*s),u=255*n*(1-i*(1-s));switch(n*=255,r){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]}},n.hsv.hsl=function(t){var e,i,n,r=t[0],s=t[1]/100,o=t[2]/100,a=Math.max(o,.01);return n=(2-s)*o,i=s*a,[r,100*(i=(i/=(e=(2-s)*a)<=1?e:2-e)||0),100*(n/=2)]},n.hwb.rgb=function(t){var e,i,n,r,s,o,a,u=t[0]/360,l=t[1]/100,c=t[2]/100,h=l+c;switch(h>1&&(l/=h,c/=h),n=6*u-(e=Math.floor(6*u)),1&e&&(n=1-n),r=l+n*((i=1-c)-l),e){default:case 6:case 0:s=i,o=r,a=l;break;case 1:s=r,o=i,a=l;break;case 2:s=l,o=i,a=r;break;case 3:s=l,o=r,a=i;break;case 4:s=r,o=l,a=i;break;case 5:s=i,o=l,a=r}return[255*s,255*o,255*a]},n.cmyk.rgb=function(t){var e=t[0]/100,i=t[1]/100,n=t[2]/100,r=t[3]/100;return[255*(1-Math.min(1,e*(1-r)+r)),255*(1-Math.min(1,i*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r))]},n.xyz.rgb=function(t){var e,i,n,r=t[0]/100,s=t[1]/100,o=t[2]/100;return i=-.9689*r+1.8758*s+.0415*o,n=.0557*r+-.204*s+1.057*o,e=(e=3.2406*r+-1.5372*s+-.4986*o)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(e=Math.min(Math.max(0,e),1)),255*(i=Math.min(Math.max(0,i),1)),255*(n=Math.min(Math.max(0,n),1))]},n.xyz.lab=function(t){var e=t[0],i=t[1],n=t[2];return i/=100,n/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(e-i),200*(i-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},n.lab.xyz=function(t){var e,i,n,r=t[0];e=t[1]/500+(i=(r+16)/116),n=i-t[2]/200;var s=Math.pow(i,3),o=Math.pow(e,3),a=Math.pow(n,3);return i=s>.008856?s:(i-16/116)/7.787,e=o>.008856?o:(e-16/116)/7.787,n=a>.008856?a:(n-16/116)/7.787,[e*=95.047,i*=100,n*=108.883]},n.lab.lch=function(t){var e,i=t[0],n=t[1],r=t[2];return(e=360*Math.atan2(r,n)/2/Math.PI)<0&&(e+=360),[i,Math.sqrt(n*n+r*r),e]},n.lch.lab=function(t){var e,i=t[0],n=t[1];return e=t[2]/360*2*Math.PI,[i,n*Math.cos(e),n*Math.sin(e)]},n.rgb.ansi16=function(t){var e=t[0],i=t[1],r=t[2],s=1 in arguments?arguments[1]:n.rgb.hsv(t)[2];if(0===(s=Math.round(s/50)))return 30;var o=30+(Math.round(r/255)<<2|Math.round(i/255)<<1|Math.round(e/255));return 2===s&&(o+=60),o},n.hsv.ansi16=function(t){return n.rgb.ansi16(n.hsv.rgb(t),t[2])},n.rgb.ansi256=function(t){var e=t[0],i=t[1],n=t[2];return e===i&&i===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5)},n.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var i=.5*(1+~~(t>50));return[(1&e)*i*255,(e>>1&1)*i*255,(e>>2&1)*i*255]},n.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var i;return t-=16,[Math.floor(t/36)/5*255,Math.floor((i=t%36)/6)/5*255,i%6/5*255]},n.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},n.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var i=e[0];3===e[0].length&&(i=i.split("").map((function(t){return t+t})).join(""));var n=parseInt(i,16);return[n>>16&255,n>>8&255,255&n]},n.rgb.hcg=function(t){var e,i=t[0]/255,n=t[1]/255,r=t[2]/255,s=Math.max(Math.max(i,n),r),o=Math.min(Math.min(i,n),r),a=s-o;return e=a<=0?0:s===i?(n-r)/a%6:s===n?2+(r-i)/a:4+(i-n)/a+4,e/=6,[360*(e%=1),100*a,100*(a<1?o/(1-a):0)]},n.hsl.hcg=function(t){var e=t[1]/100,i=t[2]/100,n=1,r=0;return(n=i<.5?2*e*i:2*e*(1-i))<1&&(r=(i-.5*n)/(1-n)),[t[0],100*n,100*r]},n.hsv.hcg=function(t){var e=t[1]/100,i=t[2]/100,n=e*i,r=0;return n<1&&(r=(i-n)/(1-n)),[t[0],100*n,100*r]},n.hcg.rgb=function(t){var e=t[0]/360,i=t[1]/100,n=t[2]/100;if(0===i)return[255*n,255*n,255*n];var r,s=[0,0,0],o=e%1*6,a=o%1,u=1-a;switch(Math.floor(o)){case 0:s[0]=1,s[1]=a,s[2]=0;break;case 1:s[0]=u,s[1]=1,s[2]=0;break;case 2:s[0]=0,s[1]=1,s[2]=a;break;case 3:s[0]=0,s[1]=u,s[2]=1;break;case 4:s[0]=a,s[1]=0,s[2]=1;break;default:s[0]=1,s[1]=0,s[2]=u}return r=(1-i)*n,[255*(i*s[0]+r),255*(i*s[1]+r),255*(i*s[2]+r)]},n.hcg.hsv=function(t){var e=t[1]/100,i=e+t[2]/100*(1-e),n=0;return i>0&&(n=e/i),[t[0],100*n,100*i]},n.hcg.hsl=function(t){var e=t[1]/100,i=t[2]/100*(1-e)+.5*e,n=0;return i>0&&i<.5?n=e/(2*i):i>=.5&&i<1&&(n=e/(2*(1-i))),[t[0],100*n,100*i]},n.hcg.hwb=function(t){var e=t[1]/100,i=e+t[2]/100*(1-e);return[t[0],100*(i-e),100*(1-i)]},n.hwb.hcg=function(t){var e=t[1]/100,i=1-t[2]/100,n=i-e,r=0;return n<1&&(r=(i-n)/(1-n)),[t[0],100*n,100*r]},n.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},n.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},n.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},n.gray.hsl=n.gray.hsv=function(t){return[0,0,t[0]]},n.gray.hwb=function(t){return[0,100,t[0]]},n.gray.cmyk=function(t){return[0,0,0,t[0]]},n.gray.lab=function(t){return[t[0],0,0]},n.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),i=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(i.length)+i},n.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]},Jf.exports}function Qf(){if(Lf)return Nf;Lf=1;var t=Zf();function e(e){var i=function(){for(var e={},i=Object.keys(t),n=i.length,r=0;r1&&(e=Array.prototype.slice.call(arguments));var i=t(e);if("object"==typeof i)for(var n=i.length,r=0;r1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(e)}))})),Pf=i}function td(){if(Wf)return Gf;Wf=1;const t=h,e=(Uf||(Uf=1,qf=(t,e)=>{e=e||process.argv;const i=t.startsWith("-")?"":1===t.length?"-":"--",n=e.indexOf(i+t),r=e.indexOf("--");return-1!==n&&(-1===r||n=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((t=>t in i))||"codeship"===i.CI_NAME?1:s;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if("truecolor"===i.COLORTERM)return 3;if("TERM_PROGRAM"in i){const t=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:(i.TERM,s)}(r);return function(t){return 0!==t&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}(s)}return e("no-color")||e("no-colors")||e("color=false")?n=!1:(e("color")||e("colors")||e("color=true")||e("color=always"))&&(n=!0),"FORCE_COLOR"in i&&(n=0===i.FORCE_COLOR.length||0!==parseInt(i.FORCE_COLOR,10)),Gf={supportsColor:r,stdout:r(process.stdout),stderr:r(process.stderr)}}function ed(){return Kf||(Kf=1,function(t){const e=function(){if(Of)return jf;Of=1;var t=/[|\\{}()[\]^$+*?.]/g;return jf=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(t,"\\$&")}}(),i=(zf||(zf=1,function(t){const e=Xf(),i=(t,i)=>function(){return`[${t.apply(e,arguments)+i}m`},n=(t,i)=>function(){const n=t.apply(e,arguments);return`[${38+i};5;${n}m`},r=(t,i)=>function(){const n=t.apply(e,arguments);return`[${38+i};2;${n[0]};${n[1]};${n[2]}m`};Object.defineProperty(t,"exports",{enumerable:!0,get:function(){const t=new Map,s={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]}};s.color.grey=s.color.gray;for(const e of Object.keys(s)){const i=s[e];for(const e of Object.keys(i)){const n=i[e];s[e]={open:`[${n[0]}m`,close:`[${n[1]}m`},i[e]=s[e],t.set(n[0],n[1])}Object.defineProperty(s,e,{value:i,enumerable:!1}),Object.defineProperty(s,"codes",{value:t,enumerable:!1})}const o=t=>t,a=(t,e,i)=>[t,e,i];s.color.close="",s.bgColor.close="",s.color.ansi={ansi:i(o,0)},s.color.ansi256={ansi256:n(o,0)},s.color.ansi16m={rgb:r(a,0)},s.bgColor.ansi={ansi:i(o,10)},s.bgColor.ansi256={ansi256:n(o,10)},s.bgColor.ansi16m={rgb:r(a,10)};for(let t of Object.keys(e)){if("object"!=typeof e[t])continue;const o=e[t];"ansi16"===t&&(t="ansi"),"ansi16"in o&&(s.color.ansi[t]=i(o.ansi16,0),s.bgColor.ansi[t]=i(o.ansi16,10)),"ansi256"in o&&(s.color.ansi256[t]=n(o.ansi256,0),s.bgColor.ansi256[t]=n(o.ansi256,10)),"rgb"in o&&(s.color.ansi16m[t]=r(o.rgb,0),s.bgColor.ansi16m[t]=r(o.rgb,10))}return s}})}(Yf)),Yf.exports),n=td().stdout,r=function(){if(Vf)return Hf;Vf=1;const t=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,e=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,i=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,n=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,r=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function s(t){return"u"===t[0]&&5===t.length||"x"===t[0]&&3===t.length?String.fromCharCode(parseInt(t.slice(1),16)):r.get(t)||t}function o(t,e){const r=[],o=e.trim().split(/\s*,\s*/g);let a;for(const e of o)if(isNaN(e)){if(!(a=e.match(i)))throw new Error(`Invalid Chalk template style argument: ${e} (in style '${t}')`);r.push(a[2].replace(n,((t,e,i)=>e?s(e):i)))}else r.push(Number(e));return r}function a(t){e.lastIndex=0;const i=[];let n;for(;null!==(n=e.exec(t));){const t=n[1];if(n[2]){const e=o(t,n[2]);i.push([t].concat(e))}else i.push([t])}return i}function u(t,e){const i={};for(const t of e)for(const e of t.styles)i[e[0]]=t.inverse?null:e.slice(1);let n=t;for(const t of Object.keys(i))if(Array.isArray(i[t])){if(!(t in n))throw new Error(`Unknown Chalk style: ${t}`);n=i[t].length>0?n[t].apply(n,i[t]):n[t]}return n}return Hf=(e,i)=>{const n=[],r=[];let o=[];if(i.replace(t,((t,i,l,c,h,p)=>{if(i)o.push(s(i));else if(c){const t=o.join("");o=[],r.push(0===n.length?t:u(e,n)(t)),n.push({inverse:l,styles:a(c)})}else if(h){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(u(e,n)(o.join(""))),o=[],n.pop()}else o.push(p)})),r.push(o.join("")),n.length>0){const t=`Chalk template literal is missing ${n.length} closing bracket${1===n.length?"":"s"} (\`}\`)`;throw new Error(t)}return r.join("")},Hf}(),s="win32"===process.platform&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),o=["ansi","ansi","ansi256","ansi16m"],a=new Set(["gray"]),u=Object.create(null);function l(t,e){e=e||{};const i=n?n.level:0;t.level=void 0===e.level?i:e.level,t.enabled="enabled"in e?e.enabled:t.level>0}function c(t){if(!this||!(this instanceof c)||this.template){const e={};return l(e,t),e.template=function(){const t=[].slice.call(arguments);return d.apply(null,[e.template].concat(t))},Object.setPrototypeOf(e,c.prototype),Object.setPrototypeOf(e.template,e),e.template.constructor=c,e.template}l(this,t)}s&&(i.blue.open="");for(const t of Object.keys(i))i[t].closeRe=new RegExp(e(i[t].close),"g"),u[t]={get(){const e=i[t];return p.call(this,this._styles?this._styles.concat(e):[e],this._empty,t)}};u.visible={get(){return p.call(this,this._styles||[],!0,"visible")}},i.color.closeRe=new RegExp(e(i.color.close),"g");for(const t of Object.keys(i.color.ansi))a.has(t)||(u[t]={get(){const e=this.level;return function(){const n={open:i.color[o[e]][t].apply(null,arguments),close:i.color.close,closeRe:i.color.closeRe};return p.call(this,this._styles?this._styles.concat(n):[n],this._empty,t)}}});i.bgColor.closeRe=new RegExp(e(i.bgColor.close),"g");for(const t of Object.keys(i.bgColor.ansi)){if(a.has(t))continue;u["bg"+t[0].toUpperCase()+t.slice(1)]={get(){const e=this.level;return function(){const n={open:i.bgColor[o[e]][t].apply(null,arguments),close:i.bgColor.close,closeRe:i.bgColor.closeRe};return p.call(this,this._styles?this._styles.concat(n):[n],this._empty,t)}}}}const h=Object.defineProperties((()=>{}),u);function p(t,e,i){const n=function(){return f.apply(n,arguments)};n._styles=t,n._empty=e;const r=this;return Object.defineProperty(n,"level",{enumerable:!0,get:()=>r.level,set(t){r.level=t}}),Object.defineProperty(n,"enabled",{enumerable:!0,get:()=>r.enabled,set(t){r.enabled=t}}),n.hasGrey=this.hasGrey||"gray"===i||"grey"===i,n.__proto__=h,n}function f(){const t=arguments,e=t.length;let n=String(arguments[0]);if(0===e)return"";if(e>1)for(let i=1;ie(t))).join("\n"):r}return i}(i,t)}return t},ef.shouldHighlight=fd;var id=nf,nd=rf,rd=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var i=sd(e);if(i&&i.has(t))return i.get(t);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var o=r?Object.getOwnPropertyDescriptor(t,s):null;o&&(o.get||o.set)?Object.defineProperty(n,s,o):n[s]=t[s]}return n.default=t,i&&i.set(t,n),n}(Bf,!0);function sd(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,i=new WeakMap;return(sd=function(t){return t?i:e})(t)}const od="object"!=typeof process||"0"!==process.env.FORCE_COLOR&&"false"!==process.env.FORCE_COLOR?rd.default:(0,rd.createColors)(!1),ad=(t,e)=>i=>t(e(i)),ud=new Set(["as","async","from","get","of","set"]);const ld=/\r\n|[\n\r\u2028\u2029]/,cd=/^[()[\]{}]$/;let hd,pd;{const t=/^[a-z][\w-]*$/i,e=function(e,i,n){if("name"===e.type){if((0,nd.isKeyword)(e.value)||(0,nd.isStrictReservedWord)(e.value,!0)||ud.has(e.value))return"keyword";if(t.test(e.value)&&("<"===n[i-1]||"(null!=t||(t=ed()),i?(null!=e||(e=new t.constructor({enabled:!0,level:1})),e):t)}Object.defineProperty(tf,"__esModule",{value:!0});var dd=tf.codeFrameColumns=xd;tf.default=function(t,e,i,n={}){if(!kd){kd=!0;const t="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(t,"DeprecationWarning");else{new Error(t).name="DeprecationWarning",console.warn(new Error(t))}}const r={start:{column:i=Math.max(i,0),line:e}};return xd(t,r,n)};var gd=ef,md=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var i=yd(e);if(i&&i.has(t))return i.get(t);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var o=r?Object.getOwnPropertyDescriptor(t,s):null;o&&(o.get||o.set)?Object.defineProperty(n,s,o):n[s]=t[s]}return n.default=t,i&&i.set(t,n),n}(Bf,!0);function yd(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,i=new WeakMap;return(yd=function(t){return t?i:e})(t)}const bd="object"!=typeof process||"0"!==process.env.FORCE_COLOR&&"false"!==process.env.FORCE_COLOR?md.default:(0,md.createColors)(!1),wd=(t,e)=>i=>t(e(i));let vd;function Dd(t){return t?(null!=vd||(vd=(0,md.createColors)(!0)),vd):bd}let kd=!1;const Ed=/\r\n|[\n\r\u2028\u2029]/;function xd(t,e,i={}){const n=(i.highlightCode||i.forceColor)&&(0,gd.shouldHighlight)(i),r=Dd(i.forceColor),s=function(t){return{gutter:t.gray,marker:wd(t.red,t.bold),message:wd(t.red,t.bold)}}(r),o=(t,e)=>n?t(e):e,a=t.split(Ed),{start:u,end:l,markerLines:c}=function(t,e,i){const n=Object.assign({column:0,line:-1},t.start),r=Object.assign({},n,t.end),{linesAbove:s=2,linesBelow:o=3}=i||{},a=n.line,u=n.column,l=r.line,c=r.column;let h=Math.max(a-(s+1),0),p=Math.min(e.length,l+o);-1===a&&(h=0),-1===l&&(p=e.length);const f=l-a,d={};if(f)for(let t=0;t<=f;t++){const i=t+a;if(u)if(0===t){const t=e[i-1].length;d[i]=[u,t-u+1]}else if(t===f)d[i]=[0,c];else{const n=e[i-t].length;d[i]=[0,n]}else d[i]=!0}else d[a]=u===c?!u||[u,0]:[u,c-u];return{start:h,end:p,markerLines:d}}(e,a,i),h=e.start&&"number"==typeof e.start.column,p=String(l).length;let f=(n?(0,gd.default)(t,i):t).split(Ed,l).slice(u,l).map(((t,e)=>{const n=u+1+e,r=` ${` ${n}`.slice(-p)} |`,a=c[n],l=!c[n+1];if(a){let e="";if(Array.isArray(a)){const n=t.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," "),u=a[1]||1;e=["\n ",o(s.gutter,r.replace(/\d/g," "))," ",n,o(s.marker,"^").repeat(u)].join(""),l&&i.message&&(e+=" "+o(s.message,i.message))}return[o(s.marker,">"),o(s.gutter,r),t.length>0?` ${t}`:"",e].join("")}return` ${o(s.gutter,r)}${t.length>0?` ${t}`:""}`})).join("\n");return i.message&&!h&&(f=`${" ".repeat(p+1)}${i.message}\n${f}`),n?r.reset(f):f}var Ad="\n",Fd=function(){function t(t){this.length=t.length;for(var e=[0],i=0;ithis.length)return null;for(var e=0,i=this.offsets;i[e+1]<=t;)e++;return{line:e,column:t-i[e]}},t.prototype.indexForLocation=function(t){var e=t.line,i=t.column;return e<0||e>=this.offsets.length||i<0||i>this.lengthOfLine(e)?null:this.offsets[e]+i},t.prototype.lengthOfLine=function(t){var e=this.offsets[t];return(t===this.offsets.length-1?this.length:this.offsets[t+1])-e},t}();const Cd=Gp("JSONError",{fileName:Gp.append("in %s"),codeFrame:Gp.append("\n\n%s\n")});function Sd(t,e,i){"string"==typeof e&&(i=e,e=null);try{try{return JSON.parse(t,e)}catch(i){throw Xp(t,e),i}}catch(e){e.message=e.message.replace(/\n/g,"");const n=e.message.match(/in JSON at position (\d+) while parsing/),r=new Cd(e);if(i&&(r.fileName=i),n&&n.length>0){const e=new Fd(t),i=Number(n[1]),s=e.locationForIndex(i),o=dd(t,{start:{line:s.line+1,column:s.column+1}},{highlightCode:!0});r.codeFrame=o}throw r}}var _d,jd,Od,Bd,Td,Rd={exports:{}},Id={exports:{}};function $d(){if(jd)return _d;jd=1;var t=1e3,e=60*t,i=60*e,n=24*i,r=7*n,s=365.25*n;function o(t,e,i,n){var r=e>=1.5*i;return Math.round(t/i)+" "+n+(r?"s":"")}return _d=function(a,u){u=u||{};var l=typeof a;if("string"===l&&a.length>0)return function(o){if((o=String(o)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(o);if(!a)return;var u=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return u*s;case"weeks":case"week":case"w":return u*r;case"days":case"day":case"d":return u*n;case"hours":case"hour":case"hrs":case"hr":case"h":return u*i;case"minutes":case"minute":case"mins":case"min":case"m":return u*e;case"seconds":case"second":case"secs":case"sec":case"s":return u*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}(a);if("number"===l&&isFinite(a))return u.long?function(r){var s=Math.abs(r);if(s>=n)return o(r,s,n,"day");if(s>=i)return o(r,s,i,"hour");if(s>=e)return o(r,s,e,"minute");if(s>=t)return o(r,s,t,"second");return r+" ms"}(a):function(r){var s=Math.abs(r);if(s>=n)return Math.round(r/n)+"d";if(s>=i)return Math.round(r/i)+"h";if(s>=e)return Math.round(r/e)+"m";if(s>=t)return Math.round(r/t)+"s";return r+"ms"}(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))},_d}function Nd(){if(Bd)return Od;return Bd=1,Od=function(t){function e(t){let n,r,s,o=null;function a(...t){if(!a.enabled)return;const i=a,r=Number(new Date),s=r-(n||r);i.diff=s,i.prev=n,i.curr=r,n=r,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let o=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,((n,r)=>{if("%%"===n)return"%";o++;const s=e.formatters[r];if("function"==typeof s){const e=t[o];n=s.call(i,e),t.splice(o,1),o--}return n})),e.formatArgs.call(i,t);(i.log||e.log).apply(i,t)}return a.namespace=t,a.useColors=e.useColors(),a.color=e.selectColor(t),a.extend=i,a.destroy=e.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(r!==e.namespaces&&(r=e.namespaces,s=e.enabled(t)),s),set:t=>{o=t}}),"function"==typeof e.init&&e.init(a),a}function i(t,i){const n=e(this.namespace+(void 0===i?":":i)+t);return n.log=this.log,n}function n(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){if(t instanceof Error)return t.stack||t.message;return t},e.disable=function(){const t=[...e.names.map(n),...e.skips.map(n).map((t=>"-"+t))].join(",");return e.enable(""),t},e.enable=function(t){let i;e.save(t),e.namespaces=t,e.names=[],e.skips=[];const n=("string"==typeof t?t:"").split(/[\s,]+/),r=n.length;for(i=0;i{e[i]=t[i]})),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let i=0;for(let e=0;e=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in Md)return"GITHUB_ACTIONS"in Md||"GITEA_ACTIONS"in Md?3:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((t=>t in Md))||"codeship"===Md.CI_NAME?1:s;if("TEAMCITY_VERSION"in Md)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Md.TEAMCITY_VERSION)?1:0;if("truecolor"===Md.COLORTERM)return 3;if("xterm-kitty"===Md.TERM)return 3;if("TERM_PROGRAM"in Md){const t=Number.parseInt((Md.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Md.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Md.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Md.TERM)||"COLORTERM"in Md?1:s}function Ud(t,e={}){return function(t){return 0!==t&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}(qd(t,{streamIsTTY:t&&t.isTTY,...e}))}Pd("no-color")||Pd("no-colors")||Pd("color=false")||Pd("color=never")?zd=0:(Pd("color")||Pd("colors")||Pd("color=true")||Pd("color=always"))&&(zd=1);const Gd={stdout:Ud({isTTY:b.isatty(1)}),stderr:Ud({isTTY:b.isatty(2)})};var Wd,Hd=U(Object.freeze({__proto__:null,createSupportsColor:Ud,default:Gd}));"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?Rd.exports=(Td||(Td=1,function(t,e){e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const i="color: "+this.color;e.splice(1,0,i,"color: inherit");let n=0,r=0;e[0].replace(/%[a-zA-Z%]/g,(t=>{"%%"!==t&&(n++,"%c"===t&&(r=n))})),e.splice(r,0,i)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(t){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t},e.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage=function(){try{return localStorage}catch(t){}}(),e.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=Nd()(e);const{formatters:i}=t.exports;i.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}(Id,Id.exports)),Id.exports):Rd.exports=(Wd||(Wd=1,function(t,e){const i=w,n=c;e.init=function(t){t.inspectOpts={};const i=Object.keys(e.inspectOpts);for(let n=0;n{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),e.colors=[6,2,3,4,5,1];try{const t=Hd;t&&(t.stderr||t).level>=2&&(e.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(t){}e.inspectOpts=Object.keys(process.env).filter((t=>/^debug_/i.test(t))).reduce(((t,e)=>{const i=e.substring(6).toLowerCase().replace(/_([a-z])/g,((t,e)=>e.toUpperCase()));let n=process.env[e];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),t[i]=n,t}),{}),t.exports=Nd()(e);const{formatters:r}=t.exports;r.o=function(t){return this.inspectOpts.colors=this.useColors,n.inspect(t,this.inspectOpts).split("\n").map((t=>t.trim())).join(" ")},r.O=function(t){return this.inspectOpts.colors=this.useColors,n.inspect(t,this.inspectOpts)}}(Ld,Ld.exports)),Ld.exports);var Vd=q(Rd.exports),Kd={};Object.defineProperty(Kd,"__esModule",{value:!0}),Kd.walkUp=void 0;const Yd=o;Kd.walkUp=function*(t){for(t=(0,Yd.resolve)(t);t;){yield t;const e=(0,Yd.dirname)(t);if(e===t)break;t=e}};const{hasOwnProperty:Jd}=Object.prototype,Zd=(t,e={})=>{"string"==typeof e&&(e={section:e}),e.align=!0===e.align,e.newline=!0===e.newline,e.sort=!0===e.sort,e.whitespace=!0===e.whitespace||!0===e.align,e.platform=e.platform||"undefined"!=typeof process&&process.platform,e.bracketedArray=!1!==e.bracketedArray;const i="win32"===e.platform?"\r\n":"\n",n=e.whitespace?" = ":"=",r=[],s=e.sort?Object.keys(t).sort():Object.keys(t);let o=0;e.align&&(o=eg(s.filter((e=>null===t[e]||Array.isArray(t[e])||"object"!=typeof t[e])).map((e=>Array.isArray(t[e])?`${e}[]`:e)).concat([""]).reduce(((t,e)=>eg(t).length>=eg(e).length?t:e))).length);let a="";const u=e.bracketedArray?"[]":"";for(const e of s){const s=t[e];if(s&&Array.isArray(s))for(const t of s)a+=eg(`${e}${u}`).padEnd(o," ")+n+eg(t)+i;else s&&"object"==typeof s?r.push(e):a+=eg(e).padEnd(o," ")+n+eg(s)+i}e.section&&a.length&&(a="["+eg(e.section)+"]"+(e.newline?i+i:i)+a);for(const n of r){const r=Qd(n,".").join("\\."),s=(e.section?e.section+".":"")+r,o=Zd(t[n],{...e,section:s});a.length&&o.length&&(a+=i),a+=o}return a};function Qd(t,e){var i=0,n=0,r=0,s=[];do{if(-1!==(r=t.indexOf(e,i))){if(i=r+e.length,r>0&&"\\"===t[r-1])continue;s.push(t.slice(n,r)),n=r+e.length}}while(-1!==r);return s.push(t.slice(n)),s}const Xd=(t,e={})=>{e.bracketedArray=!1!==e.bracketedArray;const i=Object.create(null);let n=i,r=null;const s=/^\[([^\]]*)\]\s*$|^([^=]+)(=(.*))?$/i,o=t.split(/[\r\n]+/g),a={};for(const t of o){if(!t||t.match(/^\s*[;#]/)||t.match(/^\s*$/))continue;const o=t.match(s);if(!o)continue;if(void 0!==o[1]){if(r=ig(o[1]),"__proto__"===r){n=Object.create(null);continue}n=i[r]=i[r]||Object.create(null);continue}const u=ig(o[2]);let l;e.bracketedArray?l=u.length>2&&"[]"===u.slice(-2):(a[u]=(a?.[u]||0)+1,l=a[u]>1);const c=l?u.slice(0,-2):u;if("__proto__"===c)continue;const h=!o[3]||ig(o[4]),p="true"===h||"false"===h||"null"===h?JSON.parse(h):h;l&&(Jd.call(n,c)?Array.isArray(n[c])||(n[c]=[n[c]]):n[c]=[]),Array.isArray(n[c])?n[c].push(p):n[c]=p}const u=[];for(const t of Object.keys(i)){if(!Jd.call(i,t)||"object"!=typeof i[t]||Array.isArray(i[t]))continue;const e=Qd(t,".");n=i;const r=e.pop(),s=r.replace(/\\\./g,".");for(const t of e)"__proto__"!==t&&(Jd.call(n,t)&&"object"==typeof n[t]||(n[t]=Object.create(null)),n=n[t]);n===i&&s===r||(n[s]=i[t],u.push(t))}for(const t of u)delete i[t];return i},tg=t=>t.startsWith('"')&&t.endsWith('"')||t.startsWith("'")&&t.endsWith("'"),eg=t=>"string"!=typeof t||t.match(/[=\r\n]/)||t.match(/^\[/)||t.length>1&&tg(t)||t!==t.trim()?JSON.stringify(t):t.split(";").join("\\;").split("#").join("\\#"),ig=t=>{if(t=(t||"").trim(),!tg(t)){let e=!1,i="";for(let n=0,r=t.length;ne?1:-1}var ag=process.env.DEBUG_NOPT||process.env.NOPT_DEBUG?(...t)=>console.error(...t):()=>{};const ug=p,lg=o,cg=E.Stream,hg=h,pg=ag;var fg={String:{type:String,validate:function(t,e,i){t[e]=String(i)}},Boolean:{type:Boolean,validate:function(t,e,i){i="string"==typeof i?isNaN(i)?"null"!==i&&"false"!==i:!!+i:!!i,t[e]=i}},url:{type:ug,validate:function(t,e,i){if(!(i=ug.parse(String(i))).host)return!1;t[e]=i.href}},Number:{type:Number,validate:function(t,e,i){if(pg("validate Number %j %j %j",e,i,isNaN(i)),isNaN(i))return!1;t[e]=+i}},path:{type:lg,validate:function(t,e,i){if(!0===i)return!1;if(null===i)return!0;i=String(i);const n="win32"===process.platform?/^~(\/|\\)/:/^~\//,r=hg.homedir();return r&&i.match(n)?t[e]=lg.resolve(r,i.slice(2)):t[e]=lg.resolve(i),!0}},Stream:{type:cg,validate:function(t,e,i){if(!(i instanceof cg))return!1;t[e]=i}},Date:{type:Date,validate:function(t,e,i){const n=Date.parse(i);if(pg("validate Date %j %j %j",e,i,n),isNaN(n))return!1;t[e]=new Date(i)}},Array:{type:Array}};const dg=sg,gg=ag,mg=fg,yg=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),bg=(t,{types:e,dynamicTypes:i})=>{let n=yg(e,t),r=e[t];if(!n&&"function"==typeof i){const e=i(t);void 0!==e&&(r=e,n=!0)}return[n,r]},wg=(t,e)=>e&&t===e,vg=(t,e)=>e&&-1!==t.indexOf(e),Dg=(t,e)=>e&&!vg(t,e);function kg(t,{types:e={},typeDefs:i={},dynamicTypes:n,invalidHandler:r,typeDefault:s}={}){const o=i.String?.type,a=i.Number?.type,u=i.Array?.type,l=i.Boolean?.type,c=i.Date?.type,h=void 0!==s;h||(s=[!1,!0,null],o&&s.push(o),u&&s.push(u));const p={};Object.keys(t).forEach((o=>{if("argv"===o)return;let f=t[o];gg("val=%j",f);const d=Array.isArray(f);let[g,m]=bg(o,{types:e,dynamicTypes:n}),y=m;d||(f=[f]),y||(y=s),wg(y,u)&&(y=s.concat(u)),Array.isArray(y)||(y=[y]),gg("val=%j",f),gg("types=",y),f=f.map((e=>{if("string"==typeof e&&(gg("string %j",e),"null"===(e=e.trim())&&~y.indexOf(null)||"true"===e&&(~y.indexOf(!0)||vg(y,l))||"false"===e&&(~y.indexOf(!1)||vg(y,l))?(e=JSON.parse(e),gg("jsonable %j",e)):vg(y,a)&&!isNaN(e)?(gg("convert to number",e),e=+e):vg(y,c)&&!isNaN(Date.parse(e))&&(gg("convert to date",e),e=new Date(e))),!g){if(!h)return e;m=s}!1!==e||!~y.indexOf(null)||~y.indexOf(!1)||vg(y,l)||(e=null);const n={};return n[o]=e,gg("prevalidated val",n,e,m),Eg(n,o,e,m,{typeDefs:i})?(gg("validated v",n,e,m),n[o]):(r?r(o,e,m,t):!1!==r&&gg("invalid: "+o+"="+e,m),p)})).filter((t=>t!==p)),!f.length&&Dg(y,u)?(gg("VAL HAS NO LENGTH, DELETE IT",f,o,y.indexOf(u)),delete t[o]):d?(gg(d,t[o],f),t[o]=f):t[o]=f[0],gg("k=%s val=%j",o,f,t[o])}))}function Eg(t,e,i,n,{typeDefs:r}={}){const s=r?.Array?.type;if(Array.isArray(n)){for(let o=0,a=n.length;o1){const i=f.indexOf("=");if(i>-1){d=!0;const e=f.slice(i+1);f=f.slice(0,i),t.splice(r,1,f,e)}const g=Cg(f,p,h,{shorthands:s});if(gg("arg=%j shRes=%j",f,g),g&&(t.splice.apply(t,[r,1].concat(g)),f!==g[0])){r--;continue}f=f.replace(/^-+/,"");let m=null;for(;0===f.toLowerCase().indexOf("no-");)m=!m,f=f.slice(3);h[f]&&(f=h[f]);let[y,b]=bg(f,{types:n,dynamicTypes:o}),w=Array.isArray(b);w&&1===b.length&&(w=!1,b=b[0]);let v,D=wg(b,l)||w&&vg(b,l);!y&&yg(e,f)&&(Array.isArray(e[f])||(e[f]=[e[f]]),D=!0);let k=t[r+1];if("boolean"==typeof m||wg(b,c)||w&&vg(b,c)||void 0===b&&!d||"false"===k&&(null===b||w&&~b.indexOf(null))){v=!m,"true"!==k&&"false"!==k||(v=JSON.parse(k),k=null,m&&(v=!v),r++),w&&k&&(~b.indexOf(k)?(v=k,r++):"null"===k&&~b.indexOf(null)?(v=null,r++):k.match(/^-{2,}[^-]/)||isNaN(k)||!vg(b,u)?!k.match(/^-[^-]/)&&vg(b,a)&&(v=k,r++):(v=+k,r++)),D?(e[f]=e[f]||[]).push(v):e[f]=v;continue}wg(b,a)&&(void 0===k?k="":k.match(/^-{1,2}[^-]+/)&&(k="",r--)),k&&k.match(/^-{2,}$/)&&(k=void 0,r--),v=void 0===k||k,D?(e[f]=e[f]||[]).push(v):e[f]=v,r++}else i.push(f)}}const Ag=Symbol("singles"),Fg=(t,e)=>{let i=e[Ag];i||(i=Object.keys(e).filter((t=>1===t.length)).reduce(((t,e)=>(t[e]=!0,t)),{}),e[Ag]=i,gg("shorthand singles",i));const n=t.split("").filter((t=>i[t]));return n.join("")===t?n:null};function Cg(t,...e){const{types:i={},shorthands:n={}}=e.length?e.pop():{},r=e[0]??dg(Object.keys(n)),s=e[1]??dg(Object.keys(i));if(s[t=t.replace(/^-+/,"")]===t)return null;if(n[t])return n[t]&&!Array.isArray(n[t])&&(n[t]=n[t].split(/\s+/)),n[t];const o=Fg(t,n);return o?o.map((t=>n[t])).reduce(((t,e)=>t.concat(e)),[]):s[t]&&!n[t]?null:(r[t]&&(t=r[t]),n[t]&&!Array.isArray(n[t])&&(n[t]=n[t].split(/\s+/)),n[t])}var Sg={nopt:function(t,{types:e,shorthands:i,typeDefs:n,invalidHandler:r,typeDefault:s,dynamicTypes:o}={}){gg(e,i,t,n);const a={},u={remain:[],cooked:t,original:t.slice(0)};return xg(t,a,u.remain,{typeDefs:n,types:e,dynamicTypes:o,shorthands:i}),kg(a,{types:e,dynamicTypes:o,typeDefs:n,invalidHandler:r,typeDefault:s}),a.argv=u,Object.defineProperty(a.argv,"toString",{value:function(){return this.original.map(JSON.stringify).join(" ")},enumerable:!1}),a},clean:kg,parse:xg,validate:Eg,resolveShort:Cg,typeDefs:mg};!function(t,e){const i=Sg,n=fg;rg.exports=e=function(t,n,r=process.argv,s=2){return i.nopt(r.slice(s),{types:t||{},shorthands:n||{},typeDefs:e.typeDefs,invalidHandler:e.invalidHandler})},e.clean=function(t,n,r=e.typeDefs){return i.clean(t,{types:n||{},typeDefs:r,invalidHandler:e.invalidHandler})},e.typeDefs=n,e.lib=i}(0,rg.exports);var _g=rg.exports;const{basename:jg,dirname:Og}=o;var Bg={},Tg=mt,Rg=function(t){if(!t)return[];"{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2));return Vg(function(t){return t.split("\\\\").join(Ig).split("\\{").join($g).split("\\}").join(Ng).split("\\,").join(Lg).split("\\.").join(Pg)}(t),!0).map(zg)},Ig="\0SLASH"+Math.random()+"\0",$g="\0OPEN"+Math.random()+"\0",Ng="\0CLOSE"+Math.random()+"\0",Lg="\0COMMA"+Math.random()+"\0",Pg="\0PERIOD"+Math.random()+"\0";function Mg(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function zg(t){return t.split(Ig).join("\\").split($g).join("{").split(Ng).join("}").split(Lg).join(",").split(Pg).join(".")}function qg(t){if(!t)return[""];var e=[],i=Tg("{","}",t);if(!i)return t.split(",");var n=i.pre,r=i.body,s=i.post,o=n.split(",");o[o.length-1]+="{"+r+"}";var a=qg(s);return s.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function Ug(t){return"{"+t+"}"}function Gg(t){return/^-?0\d/.test(t)}function Wg(t,e){return t<=e}function Hg(t,e){return t>=e}function Vg(t,e){var i=[],n=Tg("{","}",t);if(!n)return[t];var r=n.pre,s=n.post.length?Vg(n.post,!1):[""];if(/\$$/.test(n.pre))for(var o=0;o=0;if(!p&&!f)return n.post.match(/,.*\}/)?Vg(t=n.pre+"{"+n.body+Ng+n.post):[t];if(p)u=n.body.split(/\.\./);else if(1===(u=qg(n.body)).length&&1===(u=Vg(u[0],!1).map(Ug)).length)return s.map((function(t){return n.pre+u[0]+t}));if(p){var d=Mg(u[0]),g=Mg(u[1]),m=Math.max(u[0].length,u[1].length),y=3==u.length?Math.abs(Mg(u[2])):1,b=Wg;g0){var E=new Array(k+1).join("0");D=v<0?"-"+E+D.slice(1):E+D}}l.push(D)}}else{l=[];for(var x=0;x{if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")};var Yg={},Jg={};Object.defineProperty(Jg,"__esModule",{value:!0}),Jg.parseClass=void 0;const Zg={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},Qg=t=>t.replace(/[[\]\\-]/g,"\\$&"),Xg=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),tm=t=>t.join("");Jg.parseClass=(t,e)=>{const i=e;if("["!==t.charAt(i))throw new Error("not in a brace expression");const n=[],r=[];let s=i+1,o=!1,a=!1,u=!1,l=!1,c=i,h="";t:for(;sh?n.push(Qg(h)+"-"+Qg(e)):e===h&&n.push(Qg(e)),h="",s++):t.startsWith("-]",s+1)?(n.push(Qg(e+"-")),s+=2):t.startsWith("-",s+1)?(h=e,s+=2):(n.push(Qg(e)),s++)}else u=!0,s++}else l=!0,s++}if(ce?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"),Object.defineProperty(Yg,"__esModule",{value:!0}),Yg.AST=void 0;const im=Jg,nm=em,rm=new Set(["!","?","+","*","@"]),sm=t=>rm.has(t),om="(?!\\.)",am=new Set(["[","."]),um=new Set(["..","."]),lm=new Set("().*{}+?[]^$\\!"),cm=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),hm="[^/]",pm=hm+"*?",fm=hm+"+?";class dm{type;#t;#e;#i=!1;#n=[];#r;#s;#o;#a=!1;#u;#l;#c=!1;constructor(t,e,i={}){this.type=t,t&&(this.#e=!0),this.#r=e,this.#t=this.#r?this.#r.#t:this,this.#u=this.#t===this?i:this.#t.#u,this.#o=this.#t===this?[]:this.#t.#o,"!"!==t||this.#t.#a||this.#o.push(this),this.#s=this.#r?this.#r.#n.length:0}get hasMagic(){if(void 0!==this.#e)return this.#e;for(const t of this.#n)if("string"!=typeof t&&(t.type||t.hasMagic))return this.#e=!0;return this.#e}toString(){return void 0!==this.#l?this.#l:this.type?this.#l=this.type+"("+this.#n.map((t=>String(t))).join("|")+")":this.#l=this.#n.map((t=>String(t))).join("")}#h(){if(this!==this.#t)throw new Error("should only call on root");if(this.#a)return this;let t;for(this.toString(),this.#a=!0;t=this.#o.pop();){if("!"!==t.type)continue;let e=t,i=e.#r;for(;i;){for(let n=e.#s+1;!i.type&&n"string"==typeof t?t:t.toJSON())):[this.type,...this.#n.map((t=>t.toJSON()))];return this.isStart()&&!this.type&&t.unshift([]),this.isEnd()&&(this===this.#t||this.#t.#a&&"!"===this.#r?.type)&&t.push({}),t}isStart(){if(this.#t===this)return!0;if(!this.#r?.isStart())return!1;if(0===this.#s)return!0;const t=this.#r;for(let e=0;e{const[n,r,s,o]="string"==typeof e?dm.#f(e,this.#e,i):e.toRegExpSource(t);return this.#e=this.#e||s,this.#i=this.#i||o,n})).join("");let r="";if(this.isStart()&&"string"==typeof this.#n[0]){if(!(1===this.#n.length&&um.has(this.#n[0]))){const i=am,s=e&&i.has(n.charAt(0))||n.startsWith("\\.")&&i.has(n.charAt(2))||n.startsWith("\\.\\.")&&i.has(n.charAt(4)),o=!e&&!t&&i.has(n.charAt(0));r=s?"(?!(?:^|/)\\.\\.?(?:$|/))":o?om:""}}let s="";this.isEnd()&&this.#t.#a&&"!"===this.#r?.type&&(s="(?:$|\\/)");return[r+n+s,(0,nm.unescape)(n),this.#e=!!this.#e,this.#i]}const i="*"===this.type||"+"===this.type,n="!"===this.type?"(?:(?!(?:":"(?:";let r=this.#d(e);if(this.isStart()&&this.isEnd()&&!r&&"!"!==this.type){const t=this.toString();return this.#n=[t],this.type=null,this.#e=void 0,[t,(0,nm.unescape)(this.toString()),!1,!1]}let s=!i||t||e?"":this.#d(!0);s===r&&(s=""),s&&(r=`(?:${r})(?:${s})*?`);let o="";if("!"===this.type&&this.#c)o=(this.isStart()&&!e?om:"")+fm;else{o=n+r+("!"===this.type?"))"+(!this.isStart()||e||t?"":om)+pm+")":"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&s?")":"*"===this.type&&s?")?":`)${this.type}`)}return[o,(0,nm.unescape)(r),this.#e=!!this.#e,this.#i]}#d(t){return this.#n.map((e=>{if("string"==typeof e)throw new Error("string type in extglob ast??");const[i,n,r,s]=e.toRegExpSource(t);return this.#i=this.#i||s,i})).filter((t=>!(this.isStart()&&this.isEnd()&&!t))).join("|")}static#f(t,e,i=!1){let n=!1,r="",s=!1;for(let o=0;oe?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),function(t){var e=z&&z.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(t,"__esModule",{value:!0}),t.unescape=t.escape=t.AST=t.Minimatch=t.match=t.makeRe=t.braceExpand=t.defaults=t.filter=t.GLOBSTAR=t.sep=t.minimatch=void 0;const i=e(Rg),n=Kg,r=Yg,s=gm,o=em;t.minimatch=(t,e,i={})=>((0,n.assertValidPattern)(e),!(!i.nocomment&&"#"===e.charAt(0))&&new B(e,i).match(t));const a=/^\*+([^+@!?\*\[\(]*)$/,u=t=>e=>!e.startsWith(".")&&e.endsWith(t),l=t=>e=>e.endsWith(t),c=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),h=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),p=/^\*+\.\*+$/,f=t=>!t.startsWith(".")&&t.includes("."),d=t=>"."!==t&&".."!==t&&t.includes("."),g=/^\.\*+$/,m=t=>"."!==t&&".."!==t&&t.startsWith("."),y=/^\*+$/,b=t=>0!==t.length&&!t.startsWith("."),w=t=>0!==t.length&&"."!==t&&".."!==t,v=/^\?+([^+@!?\*\[\(]*)?$/,D=([t,e=""])=>{const i=A([t]);return e?(e=e.toLowerCase(),t=>i(t)&&t.toLowerCase().endsWith(e)):i},k=([t,e=""])=>{const i=F([t]);return e?(e=e.toLowerCase(),t=>i(t)&&t.toLowerCase().endsWith(e)):i},E=([t,e=""])=>{const i=F([t]);return e?t=>i(t)&&t.endsWith(e):i},x=([t,e=""])=>{const i=A([t]);return e?t=>i(t)&&t.endsWith(e):i},A=([t])=>{const e=t.length;return t=>t.length===e&&!t.startsWith(".")},F=([t])=>{const e=t.length;return t=>t.length===e&&"."!==t&&".."!==t},C="object"==typeof process&&process?"object"==typeof process.env&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",S={sep:"\\"},_={sep:"/"};t.sep="win32"===C?S.sep:_.sep,t.minimatch.sep=t.sep,t.GLOBSTAR=Symbol("globstar **"),t.minimatch.GLOBSTAR=t.GLOBSTAR;t.filter=(e,i={})=>n=>(0,t.minimatch)(n,e,i),t.minimatch.filter=t.filter;const j=(t,e={})=>Object.assign({},t,e);t.defaults=e=>{if(!e||"object"!=typeof e||!Object.keys(e).length)return t.minimatch;const i=t.minimatch;return Object.assign(((t,n,r={})=>i(t,n,j(e,r))),{Minimatch:class extends i.Minimatch{constructor(t,i={}){super(t,j(e,i))}static defaults(t){return i.defaults(j(e,t)).Minimatch}},AST:class extends i.AST{constructor(t,i,n={}){super(t,i,j(e,n))}static fromGlob(t,n={}){return i.AST.fromGlob(t,j(e,n))}},unescape:(t,n={})=>i.unescape(t,j(e,n)),escape:(t,n={})=>i.escape(t,j(e,n)),filter:(t,n={})=>i.filter(t,j(e,n)),defaults:t=>i.defaults(j(e,t)),makeRe:(t,n={})=>i.makeRe(t,j(e,n)),braceExpand:(t,n={})=>i.braceExpand(t,j(e,n)),match:(t,n,r={})=>i.match(t,n,j(e,r)),sep:i.sep,GLOBSTAR:t.GLOBSTAR})},t.minimatch.defaults=t.defaults;t.braceExpand=(t,e={})=>((0,n.assertValidPattern)(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,i.default)(t)),t.minimatch.braceExpand=t.braceExpand;t.makeRe=(t,e={})=>new B(t,e).makeRe(),t.minimatch.makeRe=t.makeRe;t.match=(t,e,i={})=>{const n=new B(e,i);return t=t.filter((t=>n.match(t))),n.options.nonull&&!t.length&&t.push(e),t},t.minimatch.match=t.match;const O=/[?*]|[+@!]\(.*?\)|\[|\]/;class B{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(t,e={}){(0,n.assertValidPattern)(t),e=e||{},this.options=e,this.pattern=t,this.platform=e.platform||C,this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!e.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!e.nonegate,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==e.windowsNoMagicRoot?e.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const e of t)if("string"!=typeof e)return!0;return!1}debug(...t){}make(){const t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],e.debug&&(this.debug=(...t)=>console.error(...t)),this.debug(this.pattern,this.globSet);const i=this.globSet.map((t=>this.slashSplit(t)));this.globParts=this.preprocess(i),this.debug(this.pattern,this.globParts);let n=this.globParts.map(((t,e,i)=>{if(this.isWindows&&this.windowsNoMagicRoot){const e=!(""!==t[0]||""!==t[1]||"?"!==t[2]&&O.test(t[2])||O.test(t[3])),i=/^[a-z]:/i.test(t[0]);if(e)return[...t.slice(0,4),...t.slice(4).map((t=>this.parse(t)))];if(i)return[t[0],...t.slice(1).map((t=>this.parse(t)))]}return t.map((t=>this.parse(t)))}));if(this.debug(this.pattern,n),this.set=n.filter((t=>-1===t.indexOf(!1))),this.isWindows)for(let t=0;t=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=e>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map((t=>{let e=-1;for(;-1!==(e=t.indexOf("**",e+1));){let i=e;for(;"**"===t[i+1];)i++;i!==e&&t.splice(e,i-e)}return t}))}levelOneOptimize(t){return t.map((t=>(t=t.reduce(((t,e)=>{const i=t[t.length-1];return"**"===e&&"**"===i?t:".."===e&&i&&".."!==i&&"."!==i&&"**"!==i?(t.pop(),t):(t.push(e),t)}),[]),0===t.length?[""]:t)))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let e=!1;do{if(e=!1,!this.preserveMultipleSlashes){for(let i=1;in&&i.splice(n+1,r-n);let s=i[n+1];const o=i[n+2],a=i[n+3];if(".."!==s)continue;if(!o||"."===o||".."===o||!a||"."===a||".."===a)continue;e=!0,i.splice(n,1);const u=i.slice(0);u[n]="**",t.push(u),n--}if(!this.preserveMultipleSlashes){for(let t=1;tt.length))}partsMatch(t,e,i=!1){let n=0,r=0,s=[],o="";for(;ns?i=i.slice(o):s>o&&(e=e.slice(s)))}}const{optimizationLevel:s=1}=this.options;s>=2&&(e=this.levelTwoFileOptimize(e)),this.debug("matchOne",this,{file:e,pattern:i}),this.debug("matchOne",e.length,i.length);for(var o=0,a=0,u=e.length,l=i.length;o>> no match, partial?",e,p,i,f),p!==u))}let s;if("string"==typeof c?(s=h===c,this.debug("string match",c,h,s)):(s=c.test(h),this.debug("pattern match",c,h,s)),!s)return!1}if(o===u&&a===l)return!0;if(o===u)return n;if(a===l)return o===u-1&&""===e[o];throw new Error("wtf?")}braceExpand(){return(0,t.braceExpand)(this.pattern,this.options)}parse(e){(0,n.assertValidPattern)(e);const i=this.options;if("**"===e)return t.GLOBSTAR;if(""===e)return"";let s,o=null;(s=e.match(y))?o=i.dot?w:b:(s=e.match(a))?o=(i.nocase?i.dot?h:c:i.dot?l:u)(s[1]):(s=e.match(v))?o=(i.nocase?i.dot?k:D:i.dot?E:x)(s):(s=e.match(p))?o=i.dot?d:f:(s=e.match(g))&&(o=m);const A=r.AST.fromGlob(e,this.options).toMMPattern();return o&&"object"==typeof A&&Reflect.defineProperty(A,"test",{value:o}),A}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const e=this.set;if(!e.length)return this.regexp=!1,this.regexp;const i=this.options,n=i.noglobstar?"[^/]*?":i.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",r=new Set(i.nocase?["i"]:[]);let s=e.map((e=>{const i=e.map((e=>{if(e instanceof RegExp)for(const t of e.flags.split(""))r.add(t);return"string"==typeof e?(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))(e):e===t.GLOBSTAR?t.GLOBSTAR:e._src}));return i.forEach(((e,r)=>{const s=i[r+1],o=i[r-1];e===t.GLOBSTAR&&o!==t.GLOBSTAR&&(void 0===o?void 0!==s&&s!==t.GLOBSTAR?i[r+1]="(?:\\/|"+n+"\\/)?"+s:i[r]=n:void 0===s?i[r-1]=o+"(?:\\/|"+n+")?":s!==t.GLOBSTAR&&(i[r-1]=o+"(?:\\/|\\/"+n+"\\/)"+s,i[r+1]=t.GLOBSTAR))})),i.filter((e=>e!==t.GLOBSTAR)).join("/")})).join("|");const[o,a]=e.length>1?["(?:",")"]:["",""];s="^"+o+s+a+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...r].join(""))}catch(t){this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t,e=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;const i=this.options;this.isWindows&&(t=t.split("\\").join("/"));const n=this.slashSplit(t);this.debug(this.pattern,"split",n);const r=this.set;this.debug(this.pattern,"set",r);let s=n[n.length-1];if(!s)for(let t=n.length-2;!s&&t>=0;t--)s=n[t];for(let t=0;tString(t).replace(bm,""),Em=(t,e,i=0)=>({message:`${t} while parsing ${e}`,position:i});class xm extends SyntaxError{constructor(t,e,i,n){const r=((t,e,i=20)=>{let n=t.message;if(!e)return Em(n,"empty string");const r=n.match(Dm),s=n.match(/ position\s+(\d+)/i);let o;if(r&&(n=n.replace(Dm,`Unexpected token ${JSON.stringify(r[1])} (${(t=>{const e=t.charCodeAt(0).toString(16).toUpperCase();return`0x${e.length%2?"0":""}${e}`})(r[1])})$2 `)),s?o=+s[1]:n.match(/^Unexpected end of JSON.*/i)&&(o=e.length-1),null==o)return Em(n,`'${e.slice(0,2*i)}'`);const a=o<=i?0:o-i,u=o+i>=e.length?e.length:o+i,l=`${a?"...":""}${e.slice(a,u)}${u===e.length?"":"..."}`;return Em(n,`${e===l?"":"near "}${JSON.stringify(l)}`,o)})(t,e,i);super(r.message),Object.assign(this,r),this.code="EJSONPARSE",this.systemError=t,Error.captureStackTrace(this,n||this.constructor)}get name(){return this.constructor.name}set name(t){}get[Symbol.toStringTag](){return this.constructor.name}}const Am=(t,e)=>{const i=JSON.parse(t,e);if(i&&"object"==typeof i){const e=t.match(vm)||t.match(wm)||[null,"",""];i[ym]=e[1]??"\n",i[mm]=e[2]??" "}return i},Fm=(t,e,i)=>{const n=km(t);try{return Am(n,e)}catch(e){if("string"!=typeof t&&!Buffer.isBuffer(t)){const i=Array.isArray(t)&&0===t.length?"an empty array":String(t);throw Object.assign(new TypeError(`Cannot parse ${i}`),{code:"EJSONPARSE",systemError:e})}throw new xm(e,n,i,Fm)}};var Cm=Fm;Fm.JSONParseError=xm,Fm.noExceptions=(t,e)=>{try{return Am(km(t),e)}catch{}};const{join:Sm,basename:_m}=o,jm=t=>t.name?(t.bin={[t.name]:t.bin},Tm(t)):Bm(t),Om=t=>(t.bin=t.bin.reduce(((t,e)=>(t[_m(e)]=e,t)),{}),Tm(t)),Bm=t=>(delete t.bin,t),Tm=t=>{const e=t.bin,i={};let n=!1;return Object.keys(e).forEach((t=>{const r=Sm("/",_m(t.replace(/\\|:/g,"/"))).slice(1);if("string"!=typeof e[t]||!r)return;const s=Sm("/",e[t].replace(/\\/g,"/")).replace(/\\/g,"/").slice(1);s&&(i[r]=s,n=!0)})),n?t.bin=i:delete t.bin,t};var Rm=t=>t.bin?"string"==typeof t.bin?jm(t):Array.isArray(t.bin)?Om(t):"object"==typeof t.bin?Tm(t):Bm(t):Bm(t);const{readFile:Im,lstat:$m,readdir:Nm}=I,Lm=Cm,Pm=Rm,{resolve:Mm,dirname:zm,join:qm,relative:Um}=o,Gm=t=>Im(t,"utf8").then((e=>Wm(t,Km(Vm(Lm(e)))))).catch((e=>{throw e.path=t,e})),Wm=async(t,e)=>{if(e.bin)return e;const i=e.directories&&e.directories.bin;if(!i||"string"!=typeof i)return e;const n=zm(t),r=qm(".",qm("/",i));return e.bin=await Hm(n,r,{}),e},Hm=async(t,e,i)=>{const n=await Nm(Mm(t,e)).catch((()=>[]));for(const r of n){if("."===r.charAt(0))continue;const n=Mm(t,e,r),s=await $m(n).catch((()=>null));s&&(s.isFile()?i[r]=Um(t,n):s.isDirectory()&&await Hm(t,qm(e,r),i))}return i},Vm=t=>{for(const e of Object.keys(t).filter((t=>/^_/.test(t))))delete t[e];return t},Km=t=>(Ym(t),Zm(t),Jm(t),Qm(t),Xm(t),Pm(t),t);Gm.normalize=Km;const Ym=t=>(t.name&&t.version&&(t._id=`${t.name}@${t.version}`),t),Jm=t=>{const e=t.optionalDependencies,i=t.dependencies||{};if(e&&"object"==typeof e)for(const t of Object.keys(e))delete i[t];return 0===Object.keys(i).length&&delete t.dependencies,t},Zm=t=>{const e=t.bundledDependencies,i=void 0===t.bundleDependencies?e:t.bundleDependencies;return!1===i?t.bundleDependencies=[]:!0===i?t.bundleDependencies=Object.keys(t.dependencies||{}):i&&"object"==typeof i?Array.isArray(i)?t.bundleDependencies=i:t.bundleDependencies=Object.keys(i):delete t.bundleDependencies,delete t.bundledDependencies,t},Qm=t=>{if(!t.scripts||"object"!=typeof t.scripts)return delete t.scripts,t;for(const[e,i]of Object.entries(t.scripts))"string"!=typeof i&&delete t.scripts[e];return t},Xm=t=>(t.funding&&"string"==typeof t.funding&&(t.funding={url:t.funding}),t);var ty=Gm,ey={},iy={},ny={},ry={};Object.defineProperty(ry,"__esModule",{value:!0}),ry.LRUCache=void 0;const sy="object"==typeof performance&&performance&&"function"==typeof performance.now?performance:Date,oy=new Set,ay="object"==typeof process&&process?process:{},uy=(t,e,i,n)=>{"function"==typeof ay.emitWarning?ay.emitWarning(t,e,i,n):console.error(`[${i}] ${e}: ${t}`)};let ly=globalThis.AbortController,cy=globalThis.AbortSignal;if(void 0===ly){cy=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(t,e){this._onabort.push(e)}},ly=class{constructor(){e()}signal=new cy;abort(t){if(!this.signal.aborted){this.signal.reason=t,this.signal.aborted=!0;for(const e of this.signal._onabort)e(t);this.signal.onabort?.(t)}}};let t="1"!==ay.env?.LRU_CACHE_IGNORE_AC_WARNING;const e=()=>{t&&(t=!1,uy("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",e))}}const hy=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),py=t=>hy(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?fy:null:null;let fy=class extends Array{constructor(t){super(t),this.fill(0)}},dy=class t{heap;length;static#g=!1;static create(e){const i=py(e);if(!i)return[];t.#g=!0;const n=new t(e,i);return t.#g=!1,n}constructor(e,i){if(!t.#g)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new i(e),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}},gy=class t{#m;#y;#b;#w;#v;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#D;#k;#E;#x;#A;#F;#C;#S;#_;#j;#O;#B;#T;#R;#I;#$;#N;static unsafeExposeInternals(t){return{starts:t.#T,ttls:t.#R,sizes:t.#B,keyMap:t.#E,keyList:t.#x,valList:t.#A,next:t.#F,prev:t.#C,get head(){return t.#S},get tail(){return t.#_},free:t.#j,isBackgroundFetch:e=>t.#L(e),backgroundFetch:(e,i,n,r)=>t.#P(e,i,n,r),moveToTail:e=>t.#M(e),indexes:e=>t.#z(e),rindexes:e=>t.#q(e),isStale:e=>t.#U(e)}}get max(){return this.#m}get maxSize(){return this.#y}get calculatedSize(){return this.#k}get size(){return this.#D}get fetchMethod(){return this.#v}get dispose(){return this.#b}get disposeAfter(){return this.#w}constructor(e){const{max:i=0,ttl:n,ttlResolution:r=1,ttlAutopurge:s,updateAgeOnGet:o,updateAgeOnHas:a,allowStale:u,dispose:l,disposeAfter:c,noDisposeOnSet:h,noUpdateTTL:p,maxSize:f=0,maxEntrySize:d=0,sizeCalculation:g,fetchMethod:m,noDeleteOnFetchRejection:y,noDeleteOnStaleGet:b,allowStaleOnFetchRejection:w,allowStaleOnFetchAbort:v,ignoreFetchAbort:D}=e;if(0!==i&&!hy(i))throw new TypeError("max option must be a nonnegative integer");const k=i?py(i):Array;if(!k)throw new Error("invalid max value: "+i);if(this.#m=i,this.#y=f,this.maxEntrySize=d||this.#y,this.sizeCalculation=g,this.sizeCalculation){if(!this.#y&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if("function"!=typeof this.sizeCalculation)throw new TypeError("sizeCalculation set to non-function")}if(void 0!==m&&"function"!=typeof m)throw new TypeError("fetchMethod must be a function if specified");if(this.#v=m,this.#$=!!m,this.#E=new Map,this.#x=new Array(i).fill(void 0),this.#A=new Array(i).fill(void 0),this.#F=new k(i),this.#C=new k(i),this.#S=0,this.#_=0,this.#j=dy.create(i),this.#D=0,this.#k=0,"function"==typeof l&&(this.#b=l),"function"==typeof c?(this.#w=c,this.#O=[]):(this.#w=void 0,this.#O=void 0),this.#I=!!this.#b,this.#N=!!this.#w,this.noDisposeOnSet=!!h,this.noUpdateTTL=!!p,this.noDeleteOnFetchRejection=!!y,this.allowStaleOnFetchRejection=!!w,this.allowStaleOnFetchAbort=!!v,this.ignoreFetchAbort=!!D,0!==this.maxEntrySize){if(0!==this.#y&&!hy(this.#y))throw new TypeError("maxSize must be a positive integer if specified");if(!hy(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#G()}if(this.allowStale=!!u,this.noDeleteOnStaleGet=!!b,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!a,this.ttlResolution=hy(r)||0===r?r:1,this.ttlAutopurge=!!s,this.ttl=n||0,this.ttl){if(!hy(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#W()}if(0===this.#m&&0===this.ttl&&0===this.#y)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#m&&!this.#y){const e="LRU_CACHE_UNBOUNDED";if((t=>!oy.has(t))(e)){oy.add(e);uy("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",e,t)}}}getRemainingTTL(t){return this.#E.has(t)?1/0:0}#W(){const t=new fy(this.#m),e=new fy(this.#m);this.#R=t,this.#T=e,this.#H=(i,n,r=sy.now())=>{if(e[i]=0!==n?r:0,t[i]=n,0!==n&&this.ttlAutopurge){const t=setTimeout((()=>{this.#U(i)&&this.delete(this.#x[i])}),n+1);t.unref&&t.unref()}},this.#V=i=>{e[i]=0!==t[i]?sy.now():0},this.#K=(r,s)=>{if(t[s]){const o=t[s],a=e[s];if(!o||!a)return;r.ttl=o,r.start=a,r.now=i||n();const u=r.now-a;r.remainingTTL=o-u}};let i=0;const n=()=>{const t=sy.now();if(this.ttlResolution>0){i=t;const e=setTimeout((()=>i=0),this.ttlResolution);e.unref&&e.unref()}return t};this.getRemainingTTL=r=>{const s=this.#E.get(r);if(void 0===s)return 0;const o=t[s],a=e[s];if(!o||!a)return 1/0;return o-((i||n())-a)},this.#U=r=>{const s=e[r],o=t[r];return!!o&&!!s&&(i||n())-s>o}}#V=()=>{};#K=()=>{};#H=()=>{};#U=()=>!1;#G(){const t=new fy(this.#m);this.#k=0,this.#B=t,this.#Y=e=>{this.#k-=t[e],t[e]=0},this.#J=(t,e,i,n)=>{if(this.#L(e))return 0;if(!hy(i)){if(!n)throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");if("function"!=typeof n)throw new TypeError("sizeCalculation must be a function");if(i=n(e,t),!hy(i))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return i},this.#Z=(e,i,n)=>{if(t[e]=i,this.#y){const i=this.#y-t[e];for(;this.#k>i;)this.#Q(!0)}this.#k+=t[e],n&&(n.entrySize=i,n.totalCalculatedSize=this.#k)}}#Y=t=>{};#Z=(t,e,i)=>{};#J=(t,e,i,n)=>{if(i||n)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#z({allowStale:t=this.allowStale}={}){if(this.#D)for(let e=this.#_;this.#X(e)&&(!t&&this.#U(e)||(yield e),e!==this.#S);)e=this.#C[e]}*#q({allowStale:t=this.allowStale}={}){if(this.#D)for(let e=this.#S;this.#X(e)&&(!t&&this.#U(e)||(yield e),e!==this.#_);)e=this.#F[e]}#X(t){return void 0!==t&&this.#E.get(this.#x[t])===t}*entries(){for(const t of this.#z())void 0===this.#A[t]||void 0===this.#x[t]||this.#L(this.#A[t])||(yield[this.#x[t],this.#A[t]])}*rentries(){for(const t of this.#q())void 0===this.#A[t]||void 0===this.#x[t]||this.#L(this.#A[t])||(yield[this.#x[t],this.#A[t]])}*keys(){for(const t of this.#z()){const e=this.#x[t];void 0===e||this.#L(this.#A[t])||(yield e)}}*rkeys(){for(const t of this.#q()){const e=this.#x[t];void 0===e||this.#L(this.#A[t])||(yield e)}}*values(){for(const t of this.#z()){void 0===this.#A[t]||this.#L(this.#A[t])||(yield this.#A[t])}}*rvalues(){for(const t of this.#q()){void 0===this.#A[t]||this.#L(this.#A[t])||(yield this.#A[t])}}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,e={}){for(const i of this.#z()){const n=this.#A[i],r=this.#L(n)?n.__staleWhileFetching:n;if(void 0!==r&&t(r,this.#x[i],this))return this.get(this.#x[i],e)}}forEach(t,e=this){for(const i of this.#z()){const n=this.#A[i],r=this.#L(n)?n.__staleWhileFetching:n;void 0!==r&&t.call(e,r,this.#x[i],this)}}rforEach(t,e=this){for(const i of this.#q()){const n=this.#A[i],r=this.#L(n)?n.__staleWhileFetching:n;void 0!==r&&t.call(e,r,this.#x[i],this)}}purgeStale(){let t=!1;for(const e of this.#q({allowStale:!0}))this.#U(e)&&(this.delete(this.#x[e]),t=!0);return t}info(t){const e=this.#E.get(t);if(void 0===e)return;const i=this.#A[e],n=this.#L(i)?i.__staleWhileFetching:i;if(void 0===n)return;const r={value:n};if(this.#R&&this.#T){const t=this.#R[e],i=this.#T[e];if(t&&i){const e=t-(sy.now()-i);r.ttl=e,r.start=Date.now()}}return this.#B&&(r.size=this.#B[e]),r}dump(){const t=[];for(const e of this.#z({allowStale:!0})){const i=this.#x[e],n=this.#A[e],r=this.#L(n)?n.__staleWhileFetching:n;if(void 0===r||void 0===i)continue;const s={value:r};if(this.#R&&this.#T){s.ttl=this.#R[e];const t=sy.now()-this.#T[e];s.start=Math.floor(Date.now()-t)}this.#B&&(s.size=this.#B[e]),t.unshift([i,s])}return t}load(t){this.clear();for(const[e,i]of t){if(i.start){const t=Date.now()-i.start;i.start=sy.now()-t}this.set(e,i.value,i)}}set(t,e,i={}){if(void 0===e)return this.delete(t),this;const{ttl:n=this.ttl,start:r,noDisposeOnSet:s=this.noDisposeOnSet,sizeCalculation:o=this.sizeCalculation,status:a}=i;let{noUpdateTTL:u=this.noUpdateTTL}=i;const l=this.#J(t,e,i.size||0,o);if(this.maxEntrySize&&l>this.maxEntrySize)return a&&(a.set="miss",a.maxEntrySizeExceeded=!0),this.delete(t),this;let c=0===this.#D?void 0:this.#E.get(t);if(void 0===c)c=0===this.#D?this.#_:0!==this.#j.length?this.#j.pop():this.#D===this.#m?this.#Q(!1):this.#D,this.#x[c]=t,this.#A[c]=e,this.#E.set(t,c),this.#F[this.#_]=c,this.#C[c]=this.#_,this.#_=c,this.#D++,this.#Z(c,l,a),a&&(a.set="add"),u=!1;else{this.#M(c);const i=this.#A[c];if(e!==i){if(this.#$&&this.#L(i)){i.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:e}=i;void 0===e||s||(this.#I&&this.#b?.(e,t,"set"),this.#N&&this.#O?.push([e,t,"set"]))}else s||(this.#I&&this.#b?.(i,t,"set"),this.#N&&this.#O?.push([i,t,"set"]));if(this.#Y(c),this.#Z(c,l,a),this.#A[c]=e,a){a.set="replace";const t=i&&this.#L(i)?i.__staleWhileFetching:i;void 0!==t&&(a.oldValue=t)}}else a&&(a.set="update")}if(0===n||this.#R||this.#W(),this.#R&&(u||this.#H(c,n,r),a&&this.#K(a,c)),!s&&this.#N&&this.#O){const t=this.#O;let e;for(;e=t?.shift();)this.#w?.(...e)}return this}pop(){try{for(;this.#D;){const t=this.#A[this.#S];if(this.#Q(!0),this.#L(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(void 0!==t)return t}}finally{if(this.#N&&this.#O){const t=this.#O;let e;for(;e=t?.shift();)this.#w?.(...e)}}}#Q(t){const e=this.#S,i=this.#x[e],n=this.#A[e];return this.#$&&this.#L(n)?n.__abortController.abort(new Error("evicted")):(this.#I||this.#N)&&(this.#I&&this.#b?.(n,i,"evict"),this.#N&&this.#O?.push([n,i,"evict"])),this.#Y(e),t&&(this.#x[e]=void 0,this.#A[e]=void 0,this.#j.push(e)),1===this.#D?(this.#S=this.#_=0,this.#j.length=0):this.#S=this.#F[e],this.#E.delete(i),this.#D--,e}has(t,e={}){const{updateAgeOnHas:i=this.updateAgeOnHas,status:n}=e,r=this.#E.get(t);if(void 0!==r){const t=this.#A[r];if(this.#L(t)&&void 0===t.__staleWhileFetching)return!1;if(!this.#U(r))return i&&this.#V(r),n&&(n.has="hit",this.#K(n,r)),!0;n&&(n.has="stale",this.#K(n,r))}else n&&(n.has="miss");return!1}peek(t,e={}){const{allowStale:i=this.allowStale}=e,n=this.#E.get(t);if(void 0===n||!i&&this.#U(n))return;const r=this.#A[n];return this.#L(r)?r.__staleWhileFetching:r}#P(t,e,i,n){const r=void 0===e?void 0:this.#A[e];if(this.#L(r))return r;const s=new ly,{signal:o}=i;o?.addEventListener("abort",(()=>s.abort(o.reason)),{signal:s.signal});const a={signal:s.signal,options:i,context:n},u=(n,r=!1)=>{const{aborted:o}=s.signal,u=i.ignoreFetchAbort&&void 0!==n;if(i.status&&(o&&!r?(i.status.fetchAborted=!0,i.status.fetchError=s.signal.reason,u&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),o&&!u&&!r)return l(s.signal.reason);const h=c;return this.#A[e]===c&&(void 0===n?h.__staleWhileFetching?this.#A[e]=h.__staleWhileFetching:this.delete(t):(i.status&&(i.status.fetchUpdated=!0),this.set(t,n,a.options))),n},l=n=>{const{aborted:r}=s.signal,o=r&&i.allowStaleOnFetchAbort,a=o||i.allowStaleOnFetchRejection,u=a||i.noDeleteOnFetchRejection,l=c;if(this.#A[e]===c){!u||void 0===l.__staleWhileFetching?this.delete(t):o||(this.#A[e]=l.__staleWhileFetching)}if(a)return i.status&&void 0!==l.__staleWhileFetching&&(i.status.returnedStale=!0),l.__staleWhileFetching;if(l.__returned===l)throw n};i.status&&(i.status.fetchDispatched=!0);const c=new Promise(((e,n)=>{const o=this.#v?.(t,r,a);o&&o instanceof Promise&&o.then((t=>e(void 0===t?void 0:t)),n),s.signal.addEventListener("abort",(()=>{i.ignoreFetchAbort&&!i.allowStaleOnFetchAbort||(e(void 0),i.allowStaleOnFetchAbort&&(e=t=>u(t,!0)))}))})).then(u,(t=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=t),l(t)))),h=Object.assign(c,{__abortController:s,__staleWhileFetching:r,__returned:void 0});return void 0===e?(this.set(t,h,{...a.options,status:void 0}),e=this.#E.get(t)):this.#A[e]=h,h}#L(t){if(!this.#$)return!1;const e=t;return!!e&&e instanceof Promise&&e.hasOwnProperty("__staleWhileFetching")&&e.__abortController instanceof ly}async fetch(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:r=this.noDeleteOnStaleGet,ttl:s=this.ttl,noDisposeOnSet:o=this.noDisposeOnSet,size:a=0,sizeCalculation:u=this.sizeCalculation,noUpdateTTL:l=this.noUpdateTTL,noDeleteOnFetchRejection:c=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:h=this.allowStaleOnFetchRejection,ignoreFetchAbort:p=this.ignoreFetchAbort,allowStaleOnFetchAbort:f=this.allowStaleOnFetchAbort,context:d,forceRefresh:g=!1,status:m,signal:y}=e;if(!this.#$)return m&&(m.fetch="get"),this.get(t,{allowStale:i,updateAgeOnGet:n,noDeleteOnStaleGet:r,status:m});const b={allowStale:i,updateAgeOnGet:n,noDeleteOnStaleGet:r,ttl:s,noDisposeOnSet:o,size:a,sizeCalculation:u,noUpdateTTL:l,noDeleteOnFetchRejection:c,allowStaleOnFetchRejection:h,allowStaleOnFetchAbort:f,ignoreFetchAbort:p,status:m,signal:y};let w=this.#E.get(t);if(void 0===w){m&&(m.fetch="miss");const e=this.#P(t,w,b,d);return e.__returned=e}{const e=this.#A[w];if(this.#L(e)){const t=i&&void 0!==e.__staleWhileFetching;return m&&(m.fetch="inflight",t&&(m.returnedStale=!0)),t?e.__staleWhileFetching:e.__returned=e}const r=this.#U(w);if(!g&&!r)return m&&(m.fetch="hit"),this.#M(w),n&&this.#V(w),m&&this.#K(m,w),e;const s=this.#P(t,w,b,d),o=void 0!==s.__staleWhileFetching&&i;return m&&(m.fetch=r?"stale":"refresh",o&&r&&(m.returnedStale=!0)),o?s.__staleWhileFetching:s.__returned=s}}get(t,e={}){const{allowStale:i=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:r=this.noDeleteOnStaleGet,status:s}=e,o=this.#E.get(t);if(void 0!==o){const e=this.#A[o],a=this.#L(e);return s&&this.#K(s,o),this.#U(o)?(s&&(s.get="stale"),a?(s&&i&&void 0!==e.__staleWhileFetching&&(s.returnedStale=!0),i?e.__staleWhileFetching:void 0):(r||this.delete(t),s&&i&&(s.returnedStale=!0),i?e:void 0)):(s&&(s.get="hit"),a?e.__staleWhileFetching:(this.#M(o),n&&this.#V(o),e))}s&&(s.get="miss")}#tt(t,e){this.#C[e]=t,this.#F[t]=e}#M(t){t!==this.#_&&(t===this.#S?this.#S=this.#F[t]:this.#tt(this.#C[t],this.#F[t]),this.#tt(this.#_,t),this.#_=t)}delete(t){let e=!1;if(0!==this.#D){const i=this.#E.get(t);if(void 0!==i)if(e=!0,1===this.#D)this.clear();else{this.#Y(i);const e=this.#A[i];if(this.#L(e)?e.__abortController.abort(new Error("deleted")):(this.#I||this.#N)&&(this.#I&&this.#b?.(e,t,"delete"),this.#N&&this.#O?.push([e,t,"delete"])),this.#E.delete(t),this.#x[i]=void 0,this.#A[i]=void 0,i===this.#_)this.#_=this.#C[i];else if(i===this.#S)this.#S=this.#F[i];else{const t=this.#C[i];this.#F[t]=this.#F[i];const e=this.#F[i];this.#C[e]=this.#C[i]}this.#D--,this.#j.push(i)}}if(this.#N&&this.#O?.length){const t=this.#O;let e;for(;e=t?.shift();)this.#w?.(...e)}return e}clear(){for(const t of this.#q({allowStale:!0})){const e=this.#A[t];if(this.#L(e))e.__abortController.abort(new Error("deleted"));else{const i=this.#x[t];this.#I&&this.#b?.(e,i,"delete"),this.#N&&this.#O?.push([e,i,"delete"])}}if(this.#E.clear(),this.#A.fill(void 0),this.#x.fill(void 0),this.#R&&this.#T&&(this.#R.fill(0),this.#T.fill(0)),this.#B&&this.#B.fill(0),this.#S=0,this.#_=0,this.#j.length=0,this.#k=0,this.#D=0,this.#N&&this.#O){const t=this.#O;let e;for(;e=t?.shift();)this.#w?.(...e)}}};ry.LRUCache=gy;var my={};!function(t){var e=z&&z.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(t,"__esModule",{value:!0}),t.Minipass=t.isWritable=t.isReadable=t.isStream=void 0;const i="object"==typeof process&&process?process:{stdout:null,stderr:null},n=u,r=e(E),s=$;t.isStream=e=>!!e&&"object"==typeof e&&(e instanceof W||e instanceof r.default||(0,t.isReadable)(e)||(0,t.isWritable)(e));t.isReadable=t=>!!t&&"object"==typeof t&&t instanceof n.EventEmitter&&"function"==typeof t.pipe&&t.pipe!==r.default.Writable.prototype.pipe;t.isWritable=t=>!!t&&"object"==typeof t&&t instanceof n.EventEmitter&&"function"==typeof t.write&&"function"==typeof t.end;const o=Symbol("EOF"),a=Symbol("maybeEmitEnd"),l=Symbol("emittedEnd"),c=Symbol("emittingEnd"),h=Symbol("emittedError"),p=Symbol("closed"),f=Symbol("read"),d=Symbol("flush"),g=Symbol("flushChunk"),m=Symbol("encoding"),y=Symbol("decoder"),b=Symbol("flowing"),w=Symbol("paused"),v=Symbol("resume"),D=Symbol("buffer"),k=Symbol("pipes"),x=Symbol("bufferLength"),A=Symbol("bufferPush"),F=Symbol("bufferShift"),C=Symbol("objectMode"),S=Symbol("destroyed"),_=Symbol("error"),j=Symbol("emitData"),O=Symbol("emitEnd"),B=Symbol("emitEnd2"),T=Symbol("async"),R=Symbol("abort"),I=Symbol("aborted"),N=Symbol("signal"),L=Symbol("dataListeners"),P=Symbol("discarded"),M=t=>Promise.resolve().then(t),q=t=>t();class U{src;dest;opts;ondrain;constructor(t,e,i){this.src=t,this.dest=e,this.opts=i,this.ondrain=()=>t[v](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(t){}end(){this.unpipe(),this.opts.end&&this.dest.end()}}class G extends U{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(t,e,i){super(t,e,i),this.proxyErrors=t=>e.emit("error",t),t.on("error",this.proxyErrors)}}class W extends n.EventEmitter{[b]=!1;[w]=!1;[k]=[];[D]=[];[C];[m];[T];[y];[o]=!1;[l]=!1;[c]=!1;[p]=!1;[h]=null;[x]=0;[S]=!1;[N];[I]=!1;[L]=0;[P]=!1;writable=!0;readable=!0;constructor(...t){const e=t[0]||{};if(super(),e.objectMode&&"string"==typeof e.encoding)throw new TypeError("Encoding and objectMode may not be used together");e.objectMode?(this[C]=!0,this[m]=null):(t=>!t.objectMode&&!!t.encoding&&"buffer"!==t.encoding)(e)?(this[m]=e.encoding,this[C]=!1):(this[C]=!1,this[m]=null),this[T]=!!e.async,this[y]=this[m]?new s.StringDecoder(this[m]):null,e&&!0===e.debugExposeBuffer&&Object.defineProperty(this,"buffer",{get:()=>this[D]}),e&&!0===e.debugExposePipes&&Object.defineProperty(this,"pipes",{get:()=>this[k]});const{signal:i}=e;i&&(this[N]=i,i.aborted?this[R]():i.addEventListener("abort",(()=>this[R]())))}get bufferLength(){return this[x]}get encoding(){return this[m]}set encoding(t){throw new Error("Encoding must be set at instantiation time")}setEncoding(t){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[C]}set objectMode(t){throw new Error("objectMode must be set at instantiation time")}get async(){return this[T]}set async(t){this[T]=this[T]||!!t}[R](){this[I]=!0,this.emit("abort",this[N]?.reason),this.destroy(this[N]?.reason)}get aborted(){return this[I]}set aborted(t){}write(t,e,i){if(this[I])return!1;if(this[o])throw new Error("write after end");if(this[S])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;"function"==typeof e&&(i=e,e="utf8"),e||(e="utf8");const n=this[T]?M:q;if(!this[C]&&!Buffer.isBuffer(t))if(r=t,!Buffer.isBuffer(r)&&ArrayBuffer.isView(r))t=Buffer.from(t.buffer,t.byteOffset,t.byteLength);else if((t=>t instanceof ArrayBuffer||!!t&&"object"==typeof t&&t.constructor&&"ArrayBuffer"===t.constructor.name&&t.byteLength>=0)(t))t=Buffer.from(t);else if("string"!=typeof t)throw new Error("Non-contiguous data written to non-objectMode stream");var r;return this[C]?(this[b]&&0!==this[x]&&this[d](!0),this[b]?this.emit("data",t):this[A](t),0!==this[x]&&this.emit("readable"),i&&n(i),this[b]):t.length?("string"!=typeof t||e===this[m]&&!this[y]?.lastNeed||(t=Buffer.from(t,e)),Buffer.isBuffer(t)&&this[m]&&(t=this[y].write(t)),this[b]&&0!==this[x]&&this[d](!0),this[b]?this.emit("data",t):this[A](t),0!==this[x]&&this.emit("readable"),i&&n(i),this[b]):(0!==this[x]&&this.emit("readable"),i&&n(i),this[b])}read(t){if(this[S])return null;if(this[P]=!1,0===this[x]||0===t||t&&t>this[x])return this[a](),null;this[C]&&(t=null),this[D].length>1&&!this[C]&&(this[D]=[this[m]?this[D].join(""):Buffer.concat(this[D],this[x])]);const e=this[f](t||null,this[D][0]);return this[a](),e}[f](t,e){if(this[C])this[F]();else{const i=e;t===i.length||null===t?this[F]():"string"==typeof i?(this[D][0]=i.slice(t),e=i.slice(0,t),this[x]-=t):(this[D][0]=i.subarray(t),e=i.subarray(0,t),this[x]-=t)}return this.emit("data",e),this[D].length||this[o]||this.emit("drain"),e}end(t,e,i){return"function"==typeof t&&(i=t,t=void 0),"function"==typeof e&&(i=e,e="utf8"),void 0!==t&&this.write(t,e),i&&this.once("end",i),this[o]=!0,this.writable=!1,!this[b]&&this[w]||this[a](),this}[v](){this[S]||(this[L]||this[k].length||(this[P]=!0),this[w]=!1,this[b]=!0,this.emit("resume"),this[D].length?this[d]():this[o]?this[a]():this.emit("drain"))}resume(){return this[v]()}pause(){this[b]=!1,this[w]=!0,this[P]=!1}get destroyed(){return this[S]}get flowing(){return this[b]}get paused(){return this[w]}[A](t){this[C]?this[x]+=1:this[x]+=t.length,this[D].push(t)}[F](){return this[C]?this[x]-=1:this[x]-=this[D][0].length,this[D].shift()}[d](t=!1){do{}while(this[g](this[F]())&&this[D].length);t||this[D].length||this[o]||this.emit("drain")}[g](t){return this.emit("data",t),this[b]}pipe(t,e){if(this[S])return t;this[P]=!1;const n=this[l];return e=e||{},t===i.stdout||t===i.stderr?e.end=!1:e.end=!1!==e.end,e.proxyErrors=!!e.proxyErrors,n?e.end&&t.end():(this[k].push(e.proxyErrors?new G(this,t,e):new U(this,t,e)),this[T]?M((()=>this[v]())):this[v]()),t}unpipe(t){const e=this[k].find((e=>e.dest===t));e&&(1===this[k].length?(this[b]&&0===this[L]&&(this[b]=!1),this[k]=[]):this[k].splice(this[k].indexOf(e),1),e.unpipe())}addListener(t,e){return this.on(t,e)}on(t,e){const i=super.on(t,e);if("data"===t)this[P]=!1,this[L]++,this[k].length||this[b]||this[v]();else if("readable"===t&&0!==this[x])super.emit("readable");else if((t=>"end"===t||"finish"===t||"prefinish"===t)(t)&&this[l])super.emit(t),this.removeAllListeners(t);else if("error"===t&&this[h]){const t=e;this[T]?M((()=>t.call(this,this[h]))):t.call(this,this[h])}return i}removeListener(t,e){return this.off(t,e)}off(t,e){const i=super.off(t,e);return"data"===t&&(this[L]=this.listeners("data").length,0!==this[L]||this[P]||this[k].length||(this[b]=!1)),i}removeAllListeners(t){const e=super.removeAllListeners(t);return"data"!==t&&void 0!==t||(this[L]=0,this[P]||this[k].length||(this[b]=!1)),e}get emittedEnd(){return this[l]}[a](){this[c]||this[l]||this[S]||0!==this[D].length||!this[o]||(this[c]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[p]&&this.emit("close"),this[c]=!1)}emit(t,...e){const i=e[0];if("error"!==t&&"close"!==t&&t!==S&&this[S])return!1;if("data"===t)return!(!this[C]&&!i)&&(this[T]?(M((()=>this[j](i))),!0):this[j](i));if("end"===t)return this[O]();if("close"===t){if(this[p]=!0,!this[l]&&!this[S])return!1;const t=super.emit("close");return this.removeAllListeners("close"),t}if("error"===t){this[h]=i,super.emit(_,i);const t=!(this[N]&&!this.listeners("error").length)&&super.emit("error",i);return this[a](),t}if("resume"===t){const t=super.emit("resume");return this[a](),t}if("finish"===t||"prefinish"===t){const e=super.emit(t);return this.removeAllListeners(t),e}const n=super.emit(t,...e);return this[a](),n}[j](t){for(const e of this[k])!1===e.dest.write(t)&&this.pause();const e=!this[P]&&super.emit("data",t);return this[a](),e}[O](){return!this[l]&&(this[l]=!0,this.readable=!1,this[T]?(M((()=>this[B]())),!0):this[B]())}[B](){if(this[y]){const t=this[y].end();if(t){for(const e of this[k])e.dest.write(t);this[P]||super.emit("data",t)}}for(const t of this[k])t.end();const t=super.emit("end");return this.removeAllListeners("end"),t}async collect(){const t=Object.assign([],{dataLength:0});this[C]||(t.dataLength=0);const e=this.promise();return this.on("data",(e=>{t.push(e),this[C]||(t.dataLength+=e.length)})),await e,t}async concat(){if(this[C])throw new Error("cannot concat in objectMode");const t=await this.collect();return this[m]?t.join(""):Buffer.concat(t,t.dataLength)}async promise(){return new Promise(((t,e)=>{this.on(S,(()=>e(new Error("stream destroyed")))),this.on("error",(t=>e(t))),this.on("end",(()=>t()))}))}[Symbol.asyncIterator](){this[P]=!1;let t=!1;const e=async()=>(this.pause(),t=!0,{value:void 0,done:!0});return{next:()=>{if(t)return e();const i=this.read();if(null!==i)return Promise.resolve({done:!1,value:i});if(this[o])return e();let n,r;const s=t=>{this.off("data",a),this.off("end",u),this.off(S,l),e(),r(t)},a=t=>{this.off("error",s),this.off("end",u),this.off(S,l),this.pause(),n({value:t,done:!!this[o]})},u=()=>{this.off("error",s),this.off("data",a),this.off(S,l),e(),n({done:!0,value:void 0})},l=()=>s(new Error("stream destroyed"));return new Promise(((t,e)=>{r=e,n=t,this.once(S,l),this.once("error",s),this.once("end",u),this.once("data",a)}))},throw:e,return:e,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[P]=!1;let t=!1;const e=()=>(this.pause(),this.off(_,e),this.off(S,e),this.off("end",e),t=!0,{done:!0,value:void 0});return this.once("end",e),this.once(_,e),this.once(S,e),{next:()=>{if(t)return e();const i=this.read();return null===i?e():{done:!1,value:i}},throw:e,return:e,[Symbol.iterator](){return this}}}destroy(t){if(this[S])return t?this.emit("error",t):this.emit(S),this;this[S]=!0,this[P]=!0,this[D].length=0,this[x]=0;return"function"!=typeof this.close||this[p]||this.close(),t?this.emit("error",t):this.emit(S),this}static get isStream(){return t.isStream}}t.Minipass=W}(my);var yy=z&&z.__createBinding||(Object.create?function(t,e,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(e,i);r&&!("get"in r?!e.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return e[i]}}),Object.defineProperty(t,n,r)}:function(t,e,i,n){void 0===n&&(n=i),t[n]=e[i]}),by=z&&z.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),wy=z&&z.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)"default"!==i&&Object.prototype.hasOwnProperty.call(t,i)&&yy(e,t,i);return by(e,t),e};Object.defineProperty(ny,"__esModule",{value:!0}),ny.PathScurry=ny.Path=ny.PathScurryDarwin=ny.PathScurryPosix=ny.PathScurryWin32=ny.PathScurryBase=ny.PathPosix=ny.PathWin32=ny.PathBase=ny.ChildrenCache=ny.ResolveCache=void 0;const vy=ry,Dy=o,ky=p,Ey=wy(a),xy=a,Ay=xy.realpathSync.native,Fy=I,Cy=my,Sy={lstatSync:xy.lstatSync,readdir:xy.readdir,readdirSync:xy.readdirSync,readlinkSync:xy.readlinkSync,realpathSync:Ay,promises:{lstat:Fy.lstat,readdir:Fy.readdir,readlink:Fy.readlink,realpath:Fy.realpath}},_y=t=>t&&t!==Sy&&t!==Ey?{...Sy,...t,promises:{...Sy.promises,...t.promises||{}}}:Sy,jy=/^\\\\\?\\([a-z]:)\\?$/i,Oy=/[\\\/]/,By=10,Ty=15,Ry=-16,Iy=128,$y=256,Ny=512,Ly=t=>t.isFile()?8:t.isDirectory()?4:t.isSymbolicLink()?By:t.isCharacterDevice()?2:t.isBlockDevice()?6:t.isSocket()?12:t.isFIFO()?1:0,Py=new Map,My=t=>{const e=Py.get(t);if(e)return e;const i=t.normalize("NFKD");return Py.set(t,i),i},zy=new Map,qy=t=>{const e=zy.get(t);if(e)return e;const i=My(t.toLowerCase());return zy.set(t,i),i};class Uy extends vy.LRUCache{constructor(){super({max:256})}}ny.ResolveCache=Uy;class Gy extends vy.LRUCache{constructor(t=16384){super({maxSize:t,sizeCalculation:t=>t.length+1})}}ny.ChildrenCache=Gy;const Wy=Symbol("PathScurry setAsCwd");class Hy{name;root;roots;parent;nocase;#et;#it;get dev(){return this.#it}#nt;get mode(){return this.#nt}#rt;get nlink(){return this.#rt}#st;get uid(){return this.#st}#ot;get gid(){return this.#ot}#at;get rdev(){return this.#at}#ut;get blksize(){return this.#ut}#lt;get ino(){return this.#lt}#D;get size(){return this.#D}#ct;get blocks(){return this.#ct}#ht;get atimeMs(){return this.#ht}#pt;get mtimeMs(){return this.#pt}#ft;get ctimeMs(){return this.#ft}#dt;get birthtimeMs(){return this.#dt}#gt;get atime(){return this.#gt}#mt;get mtime(){return this.#mt}#yt;get ctime(){return this.#yt}#bt;get birthtime(){return this.#bt}#wt;#vt;#Dt;#kt;#Et;#xt;#At;#Ft;#Ct;#St;get path(){return(this.parent||this).fullpath()}constructor(t,e=0,i,n,r,s,o){this.name=t,this.#wt=r?qy(t):My(t),this.#At=1023&e,this.nocase=r,this.roots=n,this.root=i||this,this.#Ft=s,this.#Dt=o.fullpath,this.#Et=o.relative,this.#xt=o.relativePosix,this.parent=o.parent,this.parent?this.#et=this.parent.#et:this.#et=_y(o.fs)}depth(){return void 0!==this.#vt?this.#vt:this.parent?this.#vt=this.parent.depth()+1:this.#vt=0}childrenCache(){return this.#Ft}resolve(t){if(!t)return this;const e=this.getRootString(t),i=t.substring(e.length).split(this.splitSep);return e?this.getRoot(e).#_t(i):this.#_t(i)}#_t(t){let e=this;for(const i of t)e=e.child(i);return e}children(){const t=this.#Ft.get(this);if(t)return t;const e=Object.assign([],{provisional:0});return this.#Ft.set(this,e),this.#At&=-17,e}child(t,e){if(""===t||"."===t)return this;if(".."===t)return this.parent||this;const i=this.children(),n=this.nocase?qy(t):My(t);for(const t of i)if(t.#wt===n)return t;const r=this.parent?this.sep:"",s=this.#Dt?this.#Dt+r+t:void 0,o=this.newChild(t,0,{...e,parent:this,fullpath:s});return this.canReaddir()||(o.#At|=Iy),i.push(o),o}relative(){if(void 0!==this.#Et)return this.#Et;const t=this.name,e=this.parent;if(!e)return this.#Et=this.name;const i=e.relative();return i+(i&&e.parent?this.sep:"")+t}relativePosix(){if("/"===this.sep)return this.relative();if(void 0!==this.#xt)return this.#xt;const t=this.name,e=this.parent;if(!e)return this.#xt=this.fullpathPosix();const i=e.relativePosix();return i+(i&&e.parent?"/":"")+t}fullpath(){if(void 0!==this.#Dt)return this.#Dt;const t=this.name,e=this.parent;if(!e)return this.#Dt=this.name;const i=e.fullpath()+(e.parent?this.sep:"")+t;return this.#Dt=i}fullpathPosix(){if(void 0!==this.#kt)return this.#kt;if("/"===this.sep)return this.#kt=this.fullpath();if(!this.parent){const t=this.fullpath().replace(/\\/g,"/");return/^[a-z]:\//i.test(t)?this.#kt=`//?/${t}`:this.#kt=t}const t=this.parent,e=t.fullpathPosix(),i=e+(e&&t.parent?"/":"")+this.name;return this.#kt=i}isUnknown(){return!(this.#At&Ty)}isType(t){return this[`is${t}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return 8==(this.#At&Ty)}isDirectory(){return 4==(this.#At&Ty)}isCharacterDevice(){return 2==(this.#At&Ty)}isBlockDevice(){return 6==(this.#At&Ty)}isFIFO(){return 1==(this.#At&Ty)}isSocket(){return 12==(this.#At&Ty)}isSymbolicLink(){return(this.#At&By)===By}lstatCached(){return 32&this.#At?this:void 0}readlinkCached(){return this.#Ct}realpathCached(){return this.#St}readdirCached(){const t=this.children();return t.slice(0,t.provisional)}canReadlink(){if(this.#Ct)return!0;if(!this.parent)return!1;const t=this.#At&Ty;return!(0!==t&&t!==By||this.#At&$y||this.#At&Iy)}calledReaddir(){return!!(16&this.#At)}isENOENT(){return!!(this.#At&Iy)}isNamed(t){return this.nocase?this.#wt===qy(t):this.#wt===My(t)}async readlink(){const t=this.#Ct;if(t)return t;if(this.canReadlink()&&this.parent)try{const t=await this.#et.promises.readlink(this.fullpath()),e=(await this.parent.realpath())?.resolve(t);if(e)return this.#Ct=e}catch(t){return void this.#jt(t.code)}}readlinkSync(){const t=this.#Ct;if(t)return t;if(this.canReadlink()&&this.parent)try{const t=this.#et.readlinkSync(this.fullpath()),e=this.parent.realpathSync()?.resolve(t);if(e)return this.#Ct=e}catch(t){return void this.#jt(t.code)}}#Ot(t){this.#At|=16;for(let e=t.provisional;ee(null,t)))}readdirCB(t,e=!1){if(!this.canReaddir())return void(e?t(null,[]):queueMicrotask((()=>t(null,[]))));const i=this.children();if(this.calledReaddir()){const n=i.slice(0,i.provisional);return void(e?t(null,n):queueMicrotask((()=>t(null,n))))}if(this.#Ut.push(t),this.#Gt)return;this.#Gt=!0;const n=this.fullpath();this.#et.readdir(n,{withFileTypes:!0},((t,e)=>{if(t)this.#$t(t.code),i.provisional=0;else{for(const t of e)this.#Lt(t,i);this.#Ot(i)}this.#Wt(i.slice(0,i.provisional))}))}#Ht;async readdir(){if(!this.canReaddir())return[];const t=this.children();if(this.calledReaddir())return t.slice(0,t.provisional);const e=this.fullpath();if(this.#Ht)await this.#Ht;else{let i=()=>{};this.#Ht=new Promise((t=>i=t));try{for(const i of await this.#et.promises.readdir(e,{withFileTypes:!0}))this.#Lt(i,t);this.#Ot(t)}catch(e){this.#$t(e.code),t.provisional=0}this.#Ht=void 0,i()}return t.slice(0,t.provisional)}readdirSync(){if(!this.canReaddir())return[];const t=this.children();if(this.calledReaddir())return t.slice(0,t.provisional);const e=this.fullpath();try{for(const i of this.#et.readdirSync(e,{withFileTypes:!0}))this.#Lt(i,t);this.#Ot(t)}catch(e){this.#$t(e.code),t.provisional=0}return t.slice(0,t.provisional)}canReaddir(){if(704&this.#At)return!1;const t=Ty&this.#At;return 0===t||4===t||t===By}shouldWalk(t,e){return!(4&~this.#At)&&!(704&this.#At)&&!t.has(this)&&(!e||e(this))}async realpath(){if(this.#St)return this.#St;if(!(896&this.#At))try{const t=await this.#et.promises.realpath(this.fullpath());return this.#St=this.resolve(t)}catch(t){this.#Rt()}}realpathSync(){if(this.#St)return this.#St;if(!(896&this.#At))try{const t=this.#et.realpathSync(this.fullpath());return this.#St=this.resolve(t)}catch(t){this.#Rt()}}[Wy](t){if(t===this)return;const e=new Set([]);let i=[],n=this;for(;n&&n.parent;)e.add(n),n.#Et=i.join(this.sep),n.#xt=i.join("/"),n=n.parent,i.push("..");for(n=t;n&&n.parent&&!e.has(n);)n.#Et=void 0,n.#xt=void 0,n=n.parent}}ny.PathBase=Hy;class Vy extends Hy{sep="\\";splitSep=Oy;constructor(t,e=0,i,n,r,s,o){super(t,e,i,n,r,s,o)}newChild(t,e=0,i={}){return new Vy(t,e,this.root,this.roots,this.nocase,this.childrenCache(),i)}getRootString(t){return Dy.win32.parse(t).root}getRoot(t){if((t=(t=>t.replace(/\//g,"\\").replace(jy,"$1\\"))(t.toUpperCase()))===this.root.name)return this.root;for(const[e,i]of Object.entries(this.roots))if(this.sameRoot(t,e))return this.roots[t]=i;return this.roots[t]=new Jy(t,this).root}sameRoot(t,e=this.root.name){return(t=t.toUpperCase().replace(/\//g,"\\").replace(jy,"$1\\"))===e}}ny.PathWin32=Vy;class Ky extends Hy{splitSep="/";sep="/";constructor(t,e=0,i,n,r,s,o){super(t,e,i,n,r,s,o)}getRootString(t){return t.startsWith("/")?"/":""}getRoot(t){return this.root}newChild(t,e=0,i={}){return new Ky(t,e,this.root,this.roots,this.nocase,this.childrenCache(),i)}}ny.PathPosix=Ky;class Yy{root;rootPath;roots;cwd;#Vt;#Kt;#Ft;nocase;#et;constructor(t=process.cwd(),e,i,{nocase:n,childrenCacheSize:r=16384,fs:s=Sy}={}){this.#et=_y(s),(t instanceof URL||t.startsWith("file://"))&&(t=(0,ky.fileURLToPath)(t));const o=e.resolve(t);this.roots=Object.create(null),this.rootPath=this.parseRootPath(o),this.#Vt=new Uy,this.#Kt=new Uy,this.#Ft=new Gy(r);const a=o.substring(this.rootPath.length).split(i);if(1!==a.length||a[0]||a.pop(),void 0===n)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=n,this.root=this.newRoot(this.#et),this.roots[this.rootPath]=this.root;let u=this.root,l=a.length-1;const c=e.sep;let h=this.rootPath,p=!1;for(const t of a){const e=l--;u=u.child(t,{relative:new Array(e).fill("..").join(c),relativePosix:new Array(e).fill("..").join("/"),fullpath:h+=(p?"":c)+t}),p=!0}this.cwd=u}depth(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.depth()}childrenCache(){return this.#Ft}resolve(...t){let e="";for(let i=t.length-1;i>=0;i--){const n=t[i];if(n&&"."!==n&&(e=e?`${n}/${e}`:n,this.isAbsolute(n)))break}const i=this.#Vt.get(e);if(void 0!==i)return i;const n=this.cwd.resolve(e).fullpath();return this.#Vt.set(e,n),n}resolvePosix(...t){let e="";for(let i=t.length-1;i>=0;i--){const n=t[i];if(n&&"."!==n&&(e=e?`${n}/${e}`:n,this.isAbsolute(n)))break}const i=this.#Kt.get(e);if(void 0!==i)return i;const n=this.cwd.resolve(e).fullpathPosix();return this.#Kt.set(e,n),n}relative(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.relative()}relativePosix(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.relativePosix()}basename(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.name}dirname(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),(t.parent||t).fullpath()}async readdir(t=this.cwd,e={withFileTypes:!0}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t,t=this.cwd);const{withFileTypes:i}=e;if(t.canReaddir()){const e=await t.readdir();return i?e:e.map((t=>t.name))}return[]}readdirSync(t=this.cwd,e={withFileTypes:!0}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t,t=this.cwd);const{withFileTypes:i=!0}=e;return t.canReaddir()?i?t.readdirSync():t.readdirSync().map((t=>t.name)):[]}async lstat(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.lstat()}lstatSync(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.lstatSync()}async readlink(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t.withFileTypes,t=this.cwd);const i=await t.readlink();return e?i:i?.fullpath()}readlinkSync(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t.withFileTypes,t=this.cwd);const i=t.readlinkSync();return e?i:i?.fullpath()}async realpath(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t.withFileTypes,t=this.cwd);const i=await t.realpath();return e?i:i?.fullpath()}realpathSync(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t.withFileTypes,t=this.cwd);const i=t.realpathSync();return e?i:i?.fullpath()}async walk(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t,t=this.cwd);const{withFileTypes:i=!0,follow:n=!1,filter:r,walkFilter:s}=e,o=[];r&&!r(t)||o.push(i?t:t.fullpath());const a=new Set,u=(t,e)=>{a.add(t),t.readdirCB(((t,l)=>{if(t)return e(t);let c=l.length;if(!c)return e();const h=()=>{0==--c&&e()};for(const t of l)r&&!r(t)||o.push(i?t:t.fullpath()),n&&t.isSymbolicLink()?t.realpath().then((t=>t?.isUnknown()?t.lstat():t)).then((t=>t?.shouldWalk(a,s)?u(t,h):h())):t.shouldWalk(a,s)?u(t,h):h()}),!0)},l=t;return new Promise(((t,e)=>{u(l,(i=>{if(i)return e(i);t(o)}))}))}walkSync(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t,t=this.cwd);const{withFileTypes:i=!0,follow:n=!1,filter:r,walkFilter:s}=e,o=[];r&&!r(t)||o.push(i?t:t.fullpath());const a=new Set([t]);for(const t of a){const e=t.readdirSync();for(const t of e){r&&!r(t)||o.push(i?t:t.fullpath());let e=t;if(t.isSymbolicLink()){if(!n||!(e=t.realpathSync()))continue;e.isUnknown()&&e.lstatSync()}e.shouldWalk(a,s)&&a.add(e)}}return o}[Symbol.asyncIterator](){return this.iterate()}iterate(t=this.cwd,e={}){return"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t,t=this.cwd),this.stream(t,e)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t,t=this.cwd);const{withFileTypes:i=!0,follow:n=!1,filter:r,walkFilter:s}=e;r&&!r(t)||(yield i?t:t.fullpath());const o=new Set([t]);for(const t of o){const e=t.readdirSync();for(const t of e){r&&!r(t)||(yield i?t:t.fullpath());let e=t;if(t.isSymbolicLink()){if(!n||!(e=t.realpathSync()))continue;e.isUnknown()&&e.lstatSync()}e.shouldWalk(o,s)&&o.add(e)}}}stream(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t,t=this.cwd);const{withFileTypes:i=!0,follow:n=!1,filter:r,walkFilter:s}=e,o=new Cy.Minipass({objectMode:!0});r&&!r(t)||o.write(i?t:t.fullpath());const a=new Set,u=[t];let l=0;const c=()=>{let t=!1;for(;!t;){const e=u.shift();if(!e)return void(0===l&&o.end());l++,a.add(e);const h=(e,f,d=!1)=>{if(e)return o.emit("error",e);if(n&&!d){const t=[];for(const e of f)e.isSymbolicLink()&&t.push(e.realpath().then((t=>t?.isUnknown()?t.lstat():t)));if(t.length)return void Promise.all(t).then((()=>h(null,f,!0)))}for(const e of f)!e||r&&!r(e)||o.write(i?e:e.fullpath())||(t=!0);l--;for(const t of f){const e=t.realpathCached()||t;e.shouldWalk(a,s)&&u.push(e)}t&&!o.flowing?o.once("drain",c):p||c()};let p=!0;e.readdirCB(h,!0),p=!1}};return c(),o}streamSync(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof Hy||(e=t,t=this.cwd);const{withFileTypes:i=!0,follow:n=!1,filter:r,walkFilter:s}=e,o=new Cy.Minipass({objectMode:!0}),a=new Set;r&&!r(t)||o.write(i?t:t.fullpath());const u=[t];let l=0;const c=()=>{let t=!1;for(;!t;){const e=u.shift();if(!e)return void(0===l&&o.end());l++,a.add(e);const c=e.readdirSync();for(const e of c)r&&!r(e)||o.write(i?e:e.fullpath())||(t=!0);l--;for(const t of c){let e=t;if(t.isSymbolicLink()){if(!n||!(e=t.realpathSync()))continue;e.isUnknown()&&e.lstatSync()}e.shouldWalk(a,s)&&u.push(e)}}t&&!o.flowing&&o.once("drain",c)};return c(),o}chdir(t=this.cwd){const e=this.cwd;this.cwd="string"==typeof t?this.cwd.resolve(t):t,this.cwd[Wy](e)}}ny.PathScurryBase=Yy;class Jy extends Yy{sep="\\";constructor(t=process.cwd(),e={}){const{nocase:i=!0}=e;super(t,Dy.win32,"\\",{...e,nocase:i}),this.nocase=i;for(let t=this.cwd;t;t=t.parent)t.nocase=this.nocase}parseRootPath(t){return Dy.win32.parse(t).root.toUpperCase()}newRoot(t){return new Vy(this.rootPath,4,void 0,this.roots,this.nocase,this.childrenCache(),{fs:t})}isAbsolute(t){return t.startsWith("/")||t.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(t)}}ny.PathScurryWin32=Jy;class Zy extends Yy{sep="/";constructor(t=process.cwd(),e={}){const{nocase:i=!1}=e;super(t,Dy.posix,"/",{...e,nocase:i}),this.nocase=i}parseRootPath(t){return"/"}newRoot(t){return new Ky(this.rootPath,4,void 0,this.roots,this.nocase,this.childrenCache(),{fs:t})}isAbsolute(t){return t.startsWith("/")}}ny.PathScurryPosix=Zy;class Qy extends Zy{constructor(t=process.cwd(),e={}){const{nocase:i=!0}=e;super(t,{...e,nocase:i})}}ny.PathScurryDarwin=Qy,ny.Path="win32"===process.platform?Vy:Ky,ny.PathScurry="win32"===process.platform?Jy:"darwin"===process.platform?Qy:Zy;var Xy={};Object.defineProperty(Xy,"__esModule",{value:!0}),Xy.Pattern=void 0;const tb=Bg;class eb{#Yt;#Jt;#Zt;length;#Qt;#Xt;#te;#ee;#ie;#ne;#re=!0;constructor(t,e,i,n){if(!(t.length>=1))throw new TypeError("empty pattern list");if(!(e.length>=1))throw new TypeError("empty glob list");if(e.length!==t.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=t.length,i<0||i>=this.length)throw new TypeError("index out of range");if(this.#Yt=t,this.#Jt=e,this.#Zt=i,this.#Qt=n,0===this.#Zt)if(this.isUNC()){const[t,e,i,n,...r]=this.#Yt,[s,o,a,u,...l]=this.#Jt;""===r[0]&&(r.shift(),l.shift());const c=[t,e,i,n,""].join("/"),h=[s,o,a,u,""].join("/");this.#Yt=[c,...r],this.#Jt=[h,...l],this.length=this.#Yt.length}else if(this.isDrive()||this.isAbsolute()){const[t,...e]=this.#Yt,[i,...n]=this.#Jt;""===e[0]&&(e.shift(),n.shift());const r=t+"/",s=i+"/";this.#Yt=[r,...e],this.#Jt=[s,...n],this.length=this.#Yt.length}}pattern(){return this.#Yt[this.#Zt]}isString(){return"string"==typeof this.#Yt[this.#Zt]}isGlobstar(){return this.#Yt[this.#Zt]===tb.GLOBSTAR}isRegExp(){return this.#Yt[this.#Zt]instanceof RegExp}globString(){return this.#te=this.#te||(0===this.#Zt?this.isAbsolute()?this.#Jt[0]+this.#Jt.slice(1).join("/"):this.#Jt.join("/"):this.#Jt.slice(this.#Zt).join("/"))}hasMore(){return this.length>this.#Zt+1}rest(){return void 0!==this.#Xt?this.#Xt:this.hasMore()?(this.#Xt=new eb(this.#Yt,this.#Jt,this.#Zt+1,this.#Qt),this.#Xt.#ne=this.#ne,this.#Xt.#ie=this.#ie,this.#Xt.#ee=this.#ee,this.#Xt):this.#Xt=null}isUNC(){const t=this.#Yt;return void 0!==this.#ie?this.#ie:this.#ie="win32"===this.#Qt&&0===this.#Zt&&""===t[0]&&""===t[1]&&"string"==typeof t[2]&&!!t[2]&&"string"==typeof t[3]&&!!t[3]}isDrive(){const t=this.#Yt;return void 0!==this.#ee?this.#ee:this.#ee="win32"===this.#Qt&&0===this.#Zt&&this.length>1&&"string"==typeof t[0]&&/^[a-z]:$/i.test(t[0])}isAbsolute(){const t=this.#Yt;return void 0!==this.#ne?this.#ne:this.#ne=""===t[0]&&t.length>1||this.isDrive()||this.isUNC()}root(){const t=this.#Yt[0];return"string"==typeof t&&this.isAbsolute()&&0===this.#Zt?t:""}checkFollowGlobstar(){return!(0===this.#Zt||!this.isGlobstar()||!this.#re)}markFollowGlobstar(){return!(0===this.#Zt||!this.isGlobstar()||!this.#re)&&(this.#re=!1,!0)}}Xy.Pattern=eb;var ib={},nb={};Object.defineProperty(nb,"__esModule",{value:!0}),nb.Ignore=void 0;const rb=Bg,sb=Xy,ob="object"==typeof process&&process&&"string"==typeof process.platform?process.platform:"linux";nb.Ignore=class{relative;relativeChildren;absolute;absoluteChildren;constructor(t,{nobrace:e,nocase:i,noext:n,noglobstar:r,platform:s=ob}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[];const o={dot:!0,nobrace:e,nocase:i,noext:n,noglobstar:r,optimizationLevel:2,platform:s,nocomment:!0,nonegate:!0};for(const e of t){const t=new rb.Minimatch(e,o);for(let e=0;e[t,!!(2&e),!!(1&e)]))}}ab.MatchRecord=cb;class hb{store=new Map;add(t,e){if(!t.canReaddir())return;const i=this.store.get(t);i?i.find((t=>t.globString()===e.globString()))||i.push(e):this.store.set(t,[e])}get(t){const e=this.store.get(t);if(!e)throw new Error("attempting to walk unknown path");return e}entries(){return this.keys().map((t=>[t,this.store.get(t)]))}keys(){return[...this.store.keys()].filter((t=>t.canReaddir()))}}ab.SubWalks=hb;class pb{hasWalkedCache;matches=new cb;subwalks=new hb;patterns;follow;dot;opts;constructor(t,e){this.opts=t,this.follow=!!t.follow,this.dot=!!t.dot,this.hasWalkedCache=e?e.copy():new lb}processPatterns(t,e){this.patterns=e;const i=e.map((e=>[t,e]));for(let[t,e]of i){this.hasWalkedCache.storeWalked(t,e);const i=e.root(),n=e.isAbsolute()&&!1!==this.opts.absolute;if(i){t=t.resolve("/"===i&&void 0!==this.opts.root?this.opts.root:i);const n=e.rest();if(!n){this.matches.add(t,!0,!1);continue}e=n}if(t.isENOENT())continue;let r,s,o=!1;for(;"string"==typeof(r=e.pattern())&&(s=e.rest());){const i=t.resolve(r);t=i,e=s,o=!0}if(r=e.pattern(),s=e.rest(),o){if(this.hasWalkedCache.hasWalked(t,e))continue;this.hasWalkedCache.storeWalked(t,e)}if("string"!=typeof r)if(r===ub.GLOBSTAR){(!t.isSymbolicLink()||this.follow||e.checkFollowGlobstar())&&this.subwalks.add(t,e);const i=s?.pattern(),r=s?.rest();if(s&&(""!==i&&"."!==i||r)){if(".."===i){const e=t.parent||t;r?this.hasWalkedCache.hasWalked(e,r)||this.subwalks.add(e,r):this.matches.add(e,n,!0)}}else this.matches.add(t,n,""===i||"."===i)}else r instanceof RegExp&&this.subwalks.add(t,e);else{const e=".."===r||""===r||"."===r;this.matches.add(t.resolve(r),n,e)}}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new pb(this.opts,this.hasWalkedCache)}filterEntries(t,e){const i=this.subwalks.get(t),n=this.child();for(const t of e)for(const e of i){const i=e.isAbsolute(),r=e.pattern(),s=e.rest();r===ub.GLOBSTAR?n.testGlobstar(t,e,s,i):r instanceof RegExp?n.testRegExp(t,r,s,i):n.testString(t,r,s,i)}return n}testGlobstar(t,e,i,n){if(!this.dot&&t.name.startsWith(".")||(e.hasMore()||this.matches.add(t,n,!1),t.canReaddir()&&(this.follow||!t.isSymbolicLink()?this.subwalks.add(t,e):t.isSymbolicLink()&&(i&&e.checkFollowGlobstar()?this.subwalks.add(t,i):e.markFollowGlobstar()&&this.subwalks.add(t,e)))),i){const e=i.pattern();if("string"==typeof e&&".."!==e&&""!==e&&"."!==e)this.testString(t,e,i.rest(),n);else if(".."===e){const e=t.parent||t;this.subwalks.add(e,i)}else e instanceof RegExp&&this.testRegExp(t,e,i.rest(),n)}}testRegExp(t,e,i,n){e.test(t.name)&&(i?this.subwalks.add(t,i):this.matches.add(t,n,!1))}testString(t,e,i,n){t.isNamed(e)&&(i?this.subwalks.add(t,i):this.matches.add(t,n,!1))}}ab.Processor=pb,Object.defineProperty(ib,"__esModule",{value:!0}),ib.GlobStream=ib.GlobWalker=ib.GlobUtil=void 0;const fb=my,db=nb,gb=ab;class mb{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#se=[];#oe;#ae;signal;maxDepth;constructor(t,e,i){this.patterns=t,this.path=e,this.opts=i,this.#ae=i.posix||"win32"!==i.platform?"/":"\\",i.ignore&&(this.#oe=((t,e)=>"string"==typeof t?new db.Ignore([t],e):Array.isArray(t)?new db.Ignore(t,e):t)(i.ignore,i)),this.maxDepth=i.maxDepth||1/0,i.signal&&(this.signal=i.signal,this.signal.addEventListener("abort",(()=>{this.#se.length=0})))}#ue(t){return this.seen.has(t)||!!this.#oe?.ignored?.(t)}#le(t){return!!this.#oe?.childrenIgnored?.(t)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;let t;for(this.paused=!1;!this.paused&&(t=this.#se.shift());)t()}onResume(t){this.signal?.aborted||(this.paused?this.#se.push(t):t())}async matchCheck(t,e){if(e&&this.opts.nodir)return;let i;if(this.opts.realpath){if(i=t.realpathCached()||await t.realpath(),!i)return;t=i}const n=t.isUnknown()||this.opts.stat?await t.lstat():t;if(this.opts.follow&&this.opts.nodir&&n?.isSymbolicLink()){const t=await n.realpath();t&&(t.isUnknown()||this.opts.stat)&&await t.lstat()}return this.matchCheckTest(n,e)}matchCheckTest(t,e){return!t||!(this.maxDepth===1/0||t.depth()<=this.maxDepth)||e&&!t.canReaddir()||this.opts.nodir&&t.isDirectory()||this.opts.nodir&&this.opts.follow&&t.isSymbolicLink()&&t.realpathCached()?.isDirectory()||this.#ue(t)?void 0:t}matchCheckSync(t,e){if(e&&this.opts.nodir)return;let i;if(this.opts.realpath){if(i=t.realpathCached()||t.realpathSync(),!i)return;t=i}const n=t.isUnknown()||this.opts.stat?t.lstatSync():t;if(this.opts.follow&&this.opts.nodir&&n?.isSymbolicLink()){const t=n.realpathSync();t&&(t?.isUnknown()||this.opts.stat)&&t.lstatSync()}return this.matchCheckTest(n,e)}matchFinish(t,e){if(this.#ue(t))return;const i=void 0===this.opts.absolute?e:this.opts.absolute;this.seen.add(t);const n=this.opts.mark&&t.isDirectory()?this.#ae:"";if(this.opts.withFileTypes)this.matchEmit(t);else if(i){const e=this.opts.posix?t.fullpathPosix():t.fullpath();this.matchEmit(e+n)}else{const e=this.opts.posix?t.relativePosix():t.relative(),i=this.opts.dotRelative&&!e.startsWith(".."+this.#ae)?"."+this.#ae:"";this.matchEmit(e?i+e+n:"."+n)}}async match(t,e,i){const n=await this.matchCheck(t,i);n&&this.matchFinish(n,e)}matchSync(t,e,i){const n=this.matchCheckSync(t,i);n&&this.matchFinish(n,e)}walkCB(t,e,i){this.signal?.aborted&&i(),this.walkCB2(t,e,new gb.Processor(this.opts),i)}walkCB2(t,e,i,n){if(this.#le(t))return n();if(this.signal?.aborted&&n(),this.paused)return void this.onResume((()=>this.walkCB2(t,e,i,n)));i.processPatterns(t,e);let r=1;const s=()=>{0==--r&&n()};for(const[t,e,n]of i.matches.entries())this.#ue(t)||(r++,this.match(t,e,n).then((()=>s())));for(const t of i.subwalkTargets()){if(this.maxDepth!==1/0&&t.depth()>=this.maxDepth)continue;r++;const e=t.readdirCached();t.calledReaddir()?this.walkCB3(t,e,i,s):t.readdirCB(((e,n)=>this.walkCB3(t,n,i,s)),!0)}s()}walkCB3(t,e,i,n){i=i.filterEntries(t,e);let r=1;const s=()=>{0==--r&&n()};for(const[t,e,n]of i.matches.entries())this.#ue(t)||(r++,this.match(t,e,n).then((()=>s())));for(const[t,e]of i.subwalks.entries())r++,this.walkCB2(t,e,i.child(),s);s()}walkCBSync(t,e,i){this.signal?.aborted&&i(),this.walkCB2Sync(t,e,new gb.Processor(this.opts),i)}walkCB2Sync(t,e,i,n){if(this.#le(t))return n();if(this.signal?.aborted&&n(),this.paused)return void this.onResume((()=>this.walkCB2Sync(t,e,i,n)));i.processPatterns(t,e);let r=1;const s=()=>{0==--r&&n()};for(const[t,e,n]of i.matches.entries())this.#ue(t)||this.matchSync(t,e,n);for(const t of i.subwalkTargets()){if(this.maxDepth!==1/0&&t.depth()>=this.maxDepth)continue;r++;const e=t.readdirSync();this.walkCB3Sync(t,e,i,s)}s()}walkCB3Sync(t,e,i,n){i=i.filterEntries(t,e);let r=1;const s=()=>{0==--r&&n()};for(const[t,e,n]of i.matches.entries())this.#ue(t)||this.matchSync(t,e,n);for(const[t,e]of i.subwalks.entries())r++,this.walkCB2Sync(t,e,i.child(),s);s()}}ib.GlobUtil=mb;ib.GlobWalker=class extends mb{matches;constructor(t,e,i){super(t,e,i),this.matches=new Set}matchEmit(t){this.matches.add(t)}async walk(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&await this.path.lstat(),await new Promise(((t,e)=>{this.walkCB(this.path,this.patterns,(()=>{this.signal?.aborted?e(this.signal.reason):t(this.matches)}))})),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,(()=>{if(this.signal?.aborted)throw this.signal.reason})),this.matches}};ib.GlobStream=class extends mb{results;constructor(t,e,i){super(t,e,i),this.results=new fb.Minipass({signal:this.signal,objectMode:!0}),this.results.on("drain",(()=>this.resume())),this.results.on("resume",(()=>this.resume()))}matchEmit(t){this.results.write(t),this.results.flowing||this.pause()}stream(){const t=this.path;return t.isUnknown()?t.lstat().then((()=>{this.walkCB(t,this.patterns,(()=>this.results.end()))})):this.walkCB(t,this.patterns,(()=>this.results.end())),this.results}streamSync(){return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,(()=>this.results.end())),this.results}},Object.defineProperty(iy,"__esModule",{value:!0}),iy.Glob=void 0;const yb=Bg,bb=ny,wb=p,vb=Xy,Db=ib,kb="object"==typeof process&&process&&"string"==typeof process.platform?process.platform:"linux";class Eb{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;opts;patterns;constructor(t,e){if(!e)throw new TypeError("glob options required");if(this.withFileTypes=!!e.withFileTypes,this.signal=e.signal,this.follow=!!e.follow,this.dot=!!e.dot,this.dotRelative=!!e.dotRelative,this.nodir=!!e.nodir,this.mark=!!e.mark,e.cwd?(e.cwd instanceof URL||e.cwd.startsWith("file://"))&&(e.cwd=(0,wb.fileURLToPath)(e.cwd)):this.cwd="",this.cwd=e.cwd||"",this.root=e.root,this.magicalBraces=!!e.magicalBraces,this.nobrace=!!e.nobrace,this.noext=!!e.noext,this.realpath=!!e.realpath,this.absolute=e.absolute,this.noglobstar=!!e.noglobstar,this.matchBase=!!e.matchBase,this.maxDepth="number"==typeof e.maxDepth?e.maxDepth:1/0,this.stat=!!e.stat,this.ignore=e.ignore,this.withFileTypes&&void 0!==this.absolute)throw new Error("cannot set absolute and withFileTypes:true");if("string"==typeof t&&(t=[t]),this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(t=t.map((t=>t.replace(/\\/g,"/")))),this.matchBase){if(e.noglobstar)throw new TypeError("base matching requires globstar");t=t.map((t=>t.includes("/")?t:`./**/${t}`))}if(this.pattern=t,this.platform=e.platform||kb,this.opts={...e,platform:this.platform},e.scurry){if(this.scurry=e.scurry,void 0!==e.nocase&&e.nocase!==e.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{const t="win32"===e.platform?bb.PathScurryWin32:"darwin"===e.platform?bb.PathScurryDarwin:e.platform?bb.PathScurryPosix:bb.PathScurry;this.scurry=new t(this.cwd,{nocase:e.nocase,fs:e.fs})}this.nocase=this.scurry.nocase;const i="darwin"===this.platform||"win32"===this.platform,n={...e,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:i,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},r=this.pattern.map((t=>new yb.Minimatch(t,n))),[s,o]=r.reduce(((t,e)=>(t[0].push(...e.set),t[1].push(...e.globParts),t)),[[],[]]);this.patterns=s.map(((t,e)=>{const i=o[e];if(!i)throw new Error("invalid pattern object");return new vb.Pattern(t,i,0,this.platform)}))}async walk(){return[...await new Db.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).walk()]}walkSync(){return[...new Db.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).walkSync()]}stream(){return new Db.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).stream()}streamSync(){return new Db.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}}iy.Glob=Eb;var xb={};Object.defineProperty(xb,"__esModule",{value:!0}),xb.hasMagic=void 0;const Ab=Bg;xb.hasMagic=(t,e={})=>{Array.isArray(t)||(t=[t]);for(const i of t)if(new Ab.Minimatch(i,e).hasMagic())return!0;return!1},function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.glob=t.hasMagic=t.Glob=t.unescape=t.escape=t.sync=t.iterate=t.iterateSync=t.stream=t.streamSync=t.globIterate=t.globIterateSync=t.globSync=t.globStream=t.globStreamSync=void 0;const e=Bg,i=iy,n=xb;function r(t,e={}){return new i.Glob(t,e).streamSync()}function s(t,e={}){return new i.Glob(t,e).stream()}function o(t,e={}){return new i.Glob(t,e).walkSync()}async function a(t,e={}){return new i.Glob(t,e).walk()}function u(t,e={}){return new i.Glob(t,e).iterateSync()}function l(t,e={}){return new i.Glob(t,e).iterate()}t.globStreamSync=r,t.globStream=s,t.globSync=o,t.globIterateSync=u,t.globIterate=l,t.streamSync=r,t.stream=Object.assign(s,{sync:r}),t.iterateSync=u,t.iterate=Object.assign(l,{sync:u}),t.sync=Object.assign(o,{stream:r,iterate:u});var c=Bg;Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return c.escape}}),Object.defineProperty(t,"unescape",{enumerable:!0,get:function(){return c.unescape}});var h=iy;Object.defineProperty(t,"Glob",{enumerable:!0,get:function(){return h.Glob}});var p=xb;Object.defineProperty(t,"hasMagic",{enumerable:!0,get:function(){return p.hasMagic}}),t.glob=Object.assign(a,{glob:a,globSync:o,sync:t.sync,globStream:s,stream:t.stream,globStreamSync:r,streamSync:t.streamSync,globIterate:l,iterate:t.iterate,globIterateSync:u,iterateSync:t.iterateSync,Glob:i.Glob,hasMagic:n.hasMagic,escape:e.escape,unescape:e.unescape}),t.glob.glob=t.glob}(ey);const Fb=o,Cb=t=>!!t&&((t,e)=>"@"===t.charAt(0)?`${t}/${e}`:e)(jg(Og(t)),jg(t)),{minimatch:Sb}=Bg,_b=ty,{glob:jb}=ey;function Ob(t){const e=Array.isArray(t.packages)?t.packages:t;if(!Array.isArray(e))throw Ib({message:"workspaces config expects an Array",code:"EWORKSPACESCONFIG"});return function(t){const e=[];for(let i of t){const t=i.match(/^!+/);t&&(i=i.slice(t[0].length)),i=i.replace(/^\/+/,"");const n=t&&t[0].length%2==1;e.push({pattern:i,negate:n})}return e}(e)}function Bb(t,e){const{name:i}=t;return i||Cb(e)}function Tb(t){return(...e)=>{const i=t.cwd?t.cwd:process.cwd();return Fb.join.apply(null,[i,...e])}}function Rb(t){return(t=t.replace(/\\/g,"/")).endsWith("/")?t:`${t}/`}function Ib({Type:t=TypeError,message:e,code:i}){return Object.assign(new t(e),{code:i})}async function $b(t={}){if(!t||!t.pkg)throw Ib({message:"mapWorkspaces missing pkg info",code:"EMAPWORKSPACESPKG"});const{workspaces:e=[]}=t.pkg,i=Ob(e),n=new Map,r=new Map;if(!i.length)return n;const s=Tb(t);for(const e of i){let i=await jb(Rb(e.pattern),{...t,ignore:[...t.ignore||[],"**/node_modules/**"]});i=i.sort(((t,e)=>t.localeCompare(e,"en")));for(const t of i){let i;const n=s(t,"package.json"),o=Fb.dirname(n);try{i=await _b(n)}catch(t){if("ENOENT"===t.code)continue;throw t}const a=Bb(i,o);let u=r.get(a);u||(u=new Set,r.set(a,u)),e.negate?u.delete(o):u.add(o)}}const o=["must not have multiple workspaces with the same name"];for(const[t,e]of r)0!==e.size&&(e.size>1?Nb(o,t,e):n.set(t,e.values().next().value));if(o.length>1)throw Ib({Type:Error,message:o.join("\n"),code:"EDUPLICATEWORKSPACE"});return n}function Nb(t,e,i){t.push(`package '${e}' has conflicts in the following paths:`);for(const e of i)t.push(" "+e)}$b.virtual=function(t={}){if(!t||!t.lockfile)throw Ib({message:"mapWorkspaces.virtual missing lockfile info",code:"EMAPWORKSPACESLOCKFILE"});const{packages:e={}}=t.lockfile,{workspaces:i=[]}=e[""]||{},n=new Map,r=Ob(i);if(!r.length)return n;r.push({pattern:"**/node_modules/**",negate:!0});const s=Tb(t);for(const t of Object.keys(e))if(""!==t)for(const i of r)if(Sb(t,i.pattern)){const r=s(t),o=Bb(e[t],r);i.negate?n.delete(r):n.set(r,o)}return function(t){return new Map(Array.from(t,(t=>t.reverse())))}(n)};var Lb=$b;const Pb=["notice","error","warn","info","verbose","http","silly","pause","resume"],Mb=t=>(...e)=>process.emit("log",t,...e),zb={};for(const t of Pb)zb[t]=Mb(t);zb.LEVELS=Pb;var qb=zb,Ub={exports:{}};const Gb=t=>{if("string"==typeof t){if(/^0o?[0-7]+$/.test(t))return parseInt(t.replace(/^0o?/,""),8);if(/^[1-9][0-9]*$/.test(t))return parseInt(t,10);throw new Error(`invalid umask value: ${t}`)}if("number"!=typeof t)throw new Error(`invalid umask value: ${t}`);if((t=Math.floor(t))<0||t>511)throw new Error(`invalid umask value: ${t}`);return t};var Wb={Umask:class{},parse:Gb,validate:(t,e,i)=>{try{return t[e]=Gb(i),!0}catch(t){return!1}}},Hb={exports:{}};var Vb={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};var Kb="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};!function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:r}=Vb,s=Kb,o=(e=t.exports={}).re=[],a=e.safeRe=[],u=e.src=[],l=e.t={};let c=0;const h="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",r],[h,n]],f=(t,e,i)=>{const n=(t=>{for(const[e,i]of p)t=t.split(`${e}*`).join(`${e}{0,${i}}`).split(`${e}+`).join(`${e}{1,${i}}`);return t})(e),r=c++;s(t,r,e),l[t]=r,u[r]=e,o[r]=new RegExp(e,i?"g":void 0),a[r]=new RegExp(n,i?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h}*`),f("MAINVERSION",`(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${u[l.NUMERICIDENTIFIER]}|${u[l.NONNUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${u[l.NUMERICIDENTIFIERLOOSE]}|${u[l.NONNUMERICIDENTIFIER]})`),f("PRERELEASE",`(?:-(${u[l.PRERELEASEIDENTIFIER]}(?:\\.${u[l.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${u[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[l.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER",`${h}+`),f("BUILD",`(?:\\+(${u[l.BUILDIDENTIFIER]}(?:\\.${u[l.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${u[l.MAINVERSION]}${u[l.PRERELEASE]}?${u[l.BUILD]}?`),f("FULL",`^${u[l.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${u[l.MAINVERSIONLOOSE]}${u[l.PRERELEASELOOSE]}?${u[l.BUILD]}?`),f("LOOSE",`^${u[l.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${u[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${u[l.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:${u[l.PRERELEASE]})?${u[l.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:${u[l.PRERELEASELOOSE]})?${u[l.BUILD]}?)?)?`),f("XRANGE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAINLOOSE]}$`),f("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`),f("COERCE",`${u[l.COERCEPLAIN]}(?:$|[^\\d])`),f("COERCEFULL",u[l.COERCEPLAIN]+`(?:${u[l.PRERELEASE]})?`+`(?:${u[l.BUILD]})?(?:$|[^\\d])`),f("COERCERTL",u[l.COERCE],!0),f("COERCERTLFULL",u[l.COERCEFULL],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${u[l.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",f("TILDE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${u[l.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",f("CARET",`^${u[l.LONECARET]}${u[l.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${u[l.LONECARET]}${u[l.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${u[l.GTLT]}\\s*(${u[l.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]}|${u[l.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${u[l.XRANGEPLAIN]})\\s+-\\s+(${u[l.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${u[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[l.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}(Hb,Hb.exports);var Yb=Hb.exports;const Jb=Object.freeze({loose:!0}),Zb=Object.freeze({});var Qb=t=>t?"object"!=typeof t?Jb:t:Zb;const Xb=/^[0-9]+$/,tw=(t,e)=>{const i=Xb.test(t),n=Xb.test(e);return i&&n&&(t=+t,e=+e),t===e?0:i&&!n?-1:n&&!i?1:ttw(e,t)};const iw=Kb,{MAX_LENGTH:nw,MAX_SAFE_INTEGER:rw}=Vb,{safeRe:sw,t:ow}=Yb,aw=Qb,{compareIdentifiers:uw}=ew;var lw=class t{constructor(e,i){if(i=aw(i),e instanceof t){if(e.loose===!!i.loose&&e.includePrerelease===!!i.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>nw)throw new TypeError(`version is longer than ${nw} characters`);iw("SemVer",e,i),this.options=i,this.loose=!!i.loose,this.includePrerelease=!!i.includePrerelease;const n=e.trim().match(i.loose?sw[ow.LOOSE]:sw[ow.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>rw||this.major<0)throw new TypeError("Invalid major version");if(this.minor>rw||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>rw||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((t=>{if(/^[0-9]+$/.test(t)){const e=+t;if(e>=0&&e=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(e===this.prerelease.join(".")&&!1===i)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(t)}}if(e){let n=[e,t];!1===i&&(n=[e]),0===uw(this.prerelease[0],e)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};const cw=lw;var hw=(t,e,i=!1)=>{if(t instanceof cw)return t;try{return new cw(t,e)}catch(t){if(!i)return null;throw t}};const pw=hw;var fw=(t,e)=>{const i=pw(t,e);return i?i.version:null};const dw=hw;var gw=(t,e)=>{const i=dw(t.trim().replace(/^[=v]+/,""),e);return i?i.version:null};const mw=lw;var yw=(t,e,i,n,r)=>{"string"==typeof i&&(r=n,n=i,i=void 0);try{return new mw(t instanceof mw?t.version:t,i).inc(e,n,r).version}catch(t){return null}};const bw=hw;var ww=(t,e)=>{const i=bw(t,null,!0),n=bw(e,null,!0),r=i.compare(n);if(0===r)return null;const s=r>0,o=s?i:n,a=s?n:i,u=!!o.prerelease.length;if(!!a.prerelease.length&&!u)return a.patch||a.minor?o.patch?"patch":o.minor?"minor":"major":"major";const l=u?"pre":"";return i.major!==n.major?l+"major":i.minor!==n.minor?l+"minor":i.patch!==n.patch?l+"patch":"prerelease"};const vw=lw;var Dw=(t,e)=>new vw(t,e).major;const kw=lw;var Ew=(t,e)=>new kw(t,e).minor;const xw=lw;var Aw=(t,e)=>new xw(t,e).patch;const Fw=hw;var Cw=(t,e)=>{const i=Fw(t,e);return i&&i.prerelease.length?i.prerelease:null};const Sw=lw;var _w=(t,e,i)=>new Sw(t,i).compare(new Sw(e,i));const jw=_w;var Ow=(t,e,i)=>jw(e,t,i);const Bw=_w;var Tw=(t,e)=>Bw(t,e,!0);const Rw=lw;var Iw=(t,e,i)=>{const n=new Rw(t,i),r=new Rw(e,i);return n.compare(r)||n.compareBuild(r)};const $w=Iw;var Nw=(t,e)=>t.sort(((t,i)=>$w(t,i,e)));const Lw=Iw;var Pw=(t,e)=>t.sort(((t,i)=>Lw(i,t,e)));const Mw=_w;var zw=(t,e,i)=>Mw(t,e,i)>0;const qw=_w;var Uw=(t,e,i)=>qw(t,e,i)<0;const Gw=_w;var Ww=(t,e,i)=>0===Gw(t,e,i);const Hw=_w;var Vw=(t,e,i)=>0!==Hw(t,e,i);const Kw=_w;var Yw=(t,e,i)=>Kw(t,e,i)>=0;const Jw=_w;var Zw=(t,e,i)=>Jw(t,e,i)<=0;const Qw=Ww,Xw=Vw,tv=zw,ev=Yw,iv=Uw,nv=Zw;var rv=(t,e,i,n)=>{switch(e){case"===":return"object"==typeof t&&(t=t.version),"object"==typeof i&&(i=i.version),t===i;case"!==":return"object"==typeof t&&(t=t.version),"object"==typeof i&&(i=i.version),t!==i;case"":case"=":case"==":return Qw(t,i,n);case"!=":return Xw(t,i,n);case">":return tv(t,i,n);case">=":return ev(t,i,n);case"<":return iv(t,i,n);case"<=":return nv(t,i,n);default:throw new TypeError(`Invalid operator: ${e}`)}};const sv=lw,ov=hw,{safeRe:av,t:uv}=Yb;var lv,cv,hv,pv,fv=(t,e)=>{if(t instanceof sv)return t;if("number"==typeof t&&(t=String(t)),"string"!=typeof t)return null;let i=null;if((e=e||{}).rtl){const n=e.includePrerelease?av[uv.COERCERTLFULL]:av[uv.COERCERTL];let r;for(;(r=n.exec(t))&&(!i||i.index+i[0].length!==t.length);)i&&r.index+r[0].length===i.index+i[0].length||(i=r),n.lastIndex=r.index+r[1].length+r[2].length;n.lastIndex=-1}else i=t.match(e.includePrerelease?av[uv.COERCEFULL]:av[uv.COERCE]);if(null===i)return null;const n=i[2],r=i[3]||"0",s=i[4]||"0",o=e.includePrerelease&&i[5]?`-${i[5]}`:"",a=e.includePrerelease&&i[6]?`+${i[6]}`:"";return ov(`${n}.${r}.${s}${o}${a}`,e)};function dv(){if(cv)return lv;cv=1;class t{constructor(e,r){if(r=i(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof n)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((t=>this.parseRange(t.trim()))).filter((t=>t.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const t=this.set[0];if(this.set=this.set.filter((t=>!f(t[0]))),0===this.set.length)this.set=[t];else if(this.set.length>1)for(const t of this.set)if(1===t.length&&d(t[0])){this.set=[t];break}}this.format()}format(){return this.range=this.set.map((t=>t.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(t){const i=((this.options.includePrerelease&&h)|(this.options.loose&&p))+":"+t,s=e.get(i);if(s)return s;const d=this.options.loose,g=d?o[a.HYPHENRANGELOOSE]:o[a.HYPHENRANGE];t=t.replace(g,F(this.options.includePrerelease)),r("hyphen replace",t),t=t.replace(o[a.COMPARATORTRIM],u),r("comparator trim",t),t=t.replace(o[a.TILDETRIM],l),r("tilde trim",t),t=t.replace(o[a.CARETTRIM],c),r("caret trim",t);let y=t.split(" ").map((t=>m(t,this.options))).join(" ").split(/\s+/).map((t=>A(t,this.options)));d&&(y=y.filter((t=>(r("loose invalid filter",t,this.options),!!t.match(o[a.COMPARATORLOOSE]))))),r("range list",y);const b=new Map,w=y.map((t=>new n(t,this.options)));for(const t of w){if(f(t))return[t];b.set(t.value,t)}b.size>1&&b.has("")&&b.delete("");const v=[...b.values()];return e.set(i,v),v}intersects(e,i){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some((t=>g(t,i)&&e.set.some((e=>g(e,i)&&t.every((t=>e.every((e=>t.intersects(e,i)))))))))}test(t){if(!t)return!1;if("string"==typeof t)try{t=new s(t,this.options)}catch(t){return!1}for(let e=0;e"<0.0.0-0"===t.value,d=t=>""===t.value,g=(t,e)=>{let i=!0;const n=t.slice();let r=n.pop();for(;i&&n.length;)i=n.every((t=>r.intersects(t,e))),r=n.pop();return i},m=(t,e)=>(r("comp",t,e),t=v(t,e),r("caret",t),t=b(t,e),r("tildes",t),t=k(t,e),r("xrange",t),t=x(t,e),r("stars",t),t),y=t=>!t||"x"===t.toLowerCase()||"*"===t,b=(t,e)=>t.trim().split(/\s+/).map((t=>w(t,e))).join(" "),w=(t,e)=>{const i=e.loose?o[a.TILDELOOSE]:o[a.TILDE];return t.replace(i,((e,i,n,s,o)=>{let a;return r("tilde",t,e,i,n,s,o),y(i)?a="":y(n)?a=`>=${i}.0.0 <${+i+1}.0.0-0`:y(s)?a=`>=${i}.${n}.0 <${i}.${+n+1}.0-0`:o?(r("replaceTilde pr",o),a=`>=${i}.${n}.${s}-${o} <${i}.${+n+1}.0-0`):a=`>=${i}.${n}.${s} <${i}.${+n+1}.0-0`,r("tilde return",a),a}))},v=(t,e)=>t.trim().split(/\s+/).map((t=>D(t,e))).join(" "),D=(t,e)=>{r("caret",t,e);const i=e.loose?o[a.CARETLOOSE]:o[a.CARET],n=e.includePrerelease?"-0":"";return t.replace(i,((e,i,s,o,a)=>{let u;return r("caret",t,e,i,s,o,a),y(i)?u="":y(s)?u=`>=${i}.0.0${n} <${+i+1}.0.0-0`:y(o)?u="0"===i?`>=${i}.${s}.0${n} <${i}.${+s+1}.0-0`:`>=${i}.${s}.0${n} <${+i+1}.0.0-0`:a?(r("replaceCaret pr",a),u="0"===i?"0"===s?`>=${i}.${s}.${o}-${a} <${i}.${s}.${+o+1}-0`:`>=${i}.${s}.${o}-${a} <${i}.${+s+1}.0-0`:`>=${i}.${s}.${o}-${a} <${+i+1}.0.0-0`):(r("no pr"),u="0"===i?"0"===s?`>=${i}.${s}.${o}${n} <${i}.${s}.${+o+1}-0`:`>=${i}.${s}.${o}${n} <${i}.${+s+1}.0-0`:`>=${i}.${s}.${o} <${+i+1}.0.0-0`),r("caret return",u),u}))},k=(t,e)=>(r("replaceXRanges",t,e),t.split(/\s+/).map((t=>E(t,e))).join(" ")),E=(t,e)=>{t=t.trim();const i=e.loose?o[a.XRANGELOOSE]:o[a.XRANGE];return t.replace(i,((i,n,s,o,a,u)=>{r("xRange",t,i,n,s,o,a,u);const l=y(s),c=l||y(o),h=c||y(a),p=h;return"="===n&&p&&(n=""),u=e.includePrerelease?"-0":"",l?i=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(c&&(o=0),a=0,">"===n?(n=">=",c?(s=+s+1,o=0,a=0):(o=+o+1,a=0)):"<="===n&&(n="<",c?s=+s+1:o=+o+1),"<"===n&&(u="-0"),i=`${n+s}.${o}.${a}${u}`):c?i=`>=${s}.0.0${u} <${+s+1}.0.0-0`:h&&(i=`>=${s}.${o}.0${u} <${s}.${+o+1}.0-0`),r("xRange return",i),i}))},x=(t,e)=>(r("replaceStars",t,e),t.trim().replace(o[a.STAR],"")),A=(t,e)=>(r("replaceGTE0",t,e),t.trim().replace(o[e.includePrerelease?a.GTE0PRE:a.GTE0],"")),F=t=>(e,i,n,r,s,o,a,u,l,c,h,p,f)=>`${i=y(n)?"":y(r)?`>=${n}.0.0${t?"-0":""}`:y(s)?`>=${n}.${r}.0${t?"-0":""}`:o?`>=${i}`:`>=${i}${t?"-0":""}`} ${u=y(l)?"":y(c)?`<${+l+1}.0.0-0`:y(h)?`<${l}.${+c+1}.0-0`:p?`<=${l}.${c}.${h}-${p}`:t?`<${l}.${c}.${+h+1}-0`:`<=${u}`}`.trim(),C=(t,e,i)=>{for(let i=0;i0){const n=t[i].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0};return lv}function gv(){if(pv)return hv;pv=1;const t=Symbol("SemVer ANY");class e{static get ANY(){return t}constructor(n,r){if(r=i(r),n instanceof e){if(n.loose===!!r.loose)return n;n=n.value}n=n.trim().split(/\s+/).join(" "),o("comparator",n,r),this.options=r,this.loose=!!r.loose,this.parse(n),this.semver===t?this.value="":this.value=this.operator+this.semver.version,o("comp",this)}parse(e){const i=this.options.loose?n[r.COMPARATORLOOSE]:n[r.COMPARATOR],s=e.match(i);if(!s)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==s[1]?s[1]:"","="===this.operator&&(this.operator=""),s[2]?this.semver=new a(s[2],this.options.loose):this.semver=t}toString(){return this.value}test(e){if(o("Comparator.test",e,this.options.loose),this.semver===t||e===t)return!0;if("string"==typeof e)try{e=new a(e,this.options)}catch(t){return!1}return s(e,this.operator,this.semver,this.options)}intersects(t,n){if(!(t instanceof e))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new u(t.value,n).test(this.value):""===t.operator?""===t.value||new u(this.value,n).test(t.semver):(!(n=i(n)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==t.value)&&(!(!n.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!t.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!t.operator.startsWith("<"))||(!(this.semver.version!==t.semver.version||!this.operator.includes("=")||!t.operator.includes("="))||(!!(s(this.semver,"<",t.semver,n)&&this.operator.startsWith(">")&&t.operator.startsWith("<"))||!!(s(this.semver,">",t.semver,n)&&this.operator.startsWith("<")&&t.operator.startsWith(">")))))))}}hv=e;const i=Qb,{safeRe:n,t:r}=Yb,s=rv,o=Kb,a=lw,u=dv();return hv}const mv=dv();var yv=(t,e,i)=>{try{e=new mv(e,i)}catch(t){return!1}return e.test(t)};const bv=dv();var wv=(t,e)=>new bv(t,e).set.map((t=>t.map((t=>t.value)).join(" ").trim().split(" ")));const vv=lw,Dv=dv();var kv=(t,e,i)=>{let n=null,r=null,s=null;try{s=new Dv(e,i)}catch(t){return null}return t.forEach((t=>{s.test(t)&&(n&&-1!==r.compare(t)||(n=t,r=new vv(n,i)))})),n};const Ev=lw,xv=dv();var Av=(t,e,i)=>{let n=null,r=null,s=null;try{s=new xv(e,i)}catch(t){return null}return t.forEach((t=>{s.test(t)&&(n&&1!==r.compare(t)||(n=t,r=new Ev(n,i)))})),n};const Fv=lw,Cv=dv(),Sv=zw;var _v=(t,e)=>{t=new Cv(t,e);let i=new Fv("0.0.0");if(t.test(i))return i;if(i=new Fv("0.0.0-0"),t.test(i))return i;i=null;for(let e=0;e{const e=new Fv(t.semver.version);switch(t.operator){case">":0===e.prerelease.length?e.patch++:e.prerelease.push(0),e.raw=e.format();case"":case">=":r&&!Sv(e,r)||(r=e);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${t.operator}`)}})),!r||i&&!Sv(i,r)||(i=r)}return i&&t.test(i)?i:null};const jv=dv();var Ov=(t,e)=>{try{return new jv(t,e).range||"*"}catch(t){return null}};const Bv=lw,Tv=gv(),{ANY:Rv}=Tv,Iv=dv(),$v=yv,Nv=zw,Lv=Uw,Pv=Zw,Mv=Yw;var zv=(t,e,i,n)=>{let r,s,o,a,u;switch(t=new Bv(t,n),e=new Iv(e,n),i){case">":r=Nv,s=Pv,o=Lv,a=">",u=">=";break;case"<":r=Lv,s=Mv,o=Nv,a="<",u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if($v(t,e,n))return!1;for(let i=0;i{t.semver===Rv&&(t=new Tv(">=0.0.0")),c=c||t,h=h||t,r(t.semver,c.semver,n)?c=t:o(t.semver,h.semver,n)&&(h=t)})),c.operator===a||c.operator===u)return!1;if((!h.operator||h.operator===a)&&s(t,h.semver))return!1;if(h.operator===u&&o(t,h.semver))return!1}return!0};const qv=zv;var Uv=(t,e,i)=>qv(t,e,">",i);const Gv=zv;var Wv=(t,e,i)=>Gv(t,e,"<",i);const Hv=dv();var Vv=(t,e,i)=>(t=new Hv(t,i),e=new Hv(e,i),t.intersects(e,i));const Kv=yv,Yv=_w;const Jv=dv(),Zv=gv(),{ANY:Qv}=Zv,Xv=yv,tD=_w,eD=[new Zv(">=0.0.0-0")],iD=[new Zv(">=0.0.0")],nD=(t,e,i)=>{if(t===e)return!0;if(1===t.length&&t[0].semver===Qv){if(1===e.length&&e[0].semver===Qv)return!0;t=i.includePrerelease?eD:iD}if(1===e.length&&e[0].semver===Qv){if(i.includePrerelease)return!0;e=iD}const n=new Set;let r,s,o,a,u,l,c;for(const e of t)">"===e.operator||">="===e.operator?r=rD(r,e,i):"<"===e.operator||"<="===e.operator?s=sD(s,e,i):n.add(e.semver);if(n.size>1)return null;if(r&&s){if(o=tD(r.semver,s.semver,i),o>0)return null;if(0===o&&(">="!==r.operator||"<="!==s.operator))return null}for(const t of n){if(r&&!Xv(t,String(r),i))return null;if(s&&!Xv(t,String(s),i))return null;for(const n of e)if(!Xv(t,String(n),i))return!1;return!0}let h=!(!s||i.includePrerelease||!s.semver.prerelease.length)&&s.semver,p=!(!r||i.includePrerelease||!r.semver.prerelease.length)&&r.semver;h&&1===h.prerelease.length&&"<"===s.operator&&0===h.prerelease[0]&&(h=!1);for(const t of e){if(c=c||">"===t.operator||">="===t.operator,l=l||"<"===t.operator||"<="===t.operator,r)if(p&&t.semver.prerelease&&t.semver.prerelease.length&&t.semver.major===p.major&&t.semver.minor===p.minor&&t.semver.patch===p.patch&&(p=!1),">"===t.operator||">="===t.operator){if(a=rD(r,t,i),a===t&&a!==r)return!1}else if(">="===r.operator&&!Xv(r.semver,String(t),i))return!1;if(s)if(h&&t.semver.prerelease&&t.semver.prerelease.length&&t.semver.major===h.major&&t.semver.minor===h.minor&&t.semver.patch===h.patch&&(h=!1),"<"===t.operator||"<="===t.operator){if(u=sD(s,t,i),u===t&&u!==s)return!1}else if("<="===s.operator&&!Xv(s.semver,String(t),i))return!1;if(!t.operator&&(s||r)&&0!==o)return!1}return!(r&&l&&!s&&0!==o)&&(!(s&&c&&!r&&0!==o)&&(!p&&!h))},rD=(t,e,i)=>{if(!t)return e;const n=tD(t.semver,e.semver,i);return n>0?t:n<0||">"===e.operator&&">="===t.operator?e:t},sD=(t,e,i)=>{if(!t)return e;const n=tD(t.semver,e.semver,i);return n<0?t:n>0||"<"===e.operator&&"<="===t.operator?e:t};var oD=(t,e,i={})=>{if(t===e)return!0;t=new Jv(t,i),e=new Jv(e,i);let n=!1;t:for(const r of t.set){for(const t of e.set){const e=nD(r,t,i);if(n=n||null!==e,e)continue t}if(n)return!1}return!0};const aD=Yb,uD=Vb,lD=lw,cD=ew,hD=(t,e,i)=>{const n=[];let r=null,s=null;const o=t.sort(((t,e)=>Yv(t,e,i)));for(const t of o){Kv(t,e,i)?(s=t,r||(r=t)):(s&&n.push([r,s]),s=null,r=null)}r&&n.push([r,null]);const a=[];for(const[t,e]of n)t===e?a.push(t):e||t!==o[0]?e?t===o[0]?a.push(`<=${e}`):a.push(`${t} - ${e}`):a.push(`>=${t}`):a.push("*");const u=a.join(" || "),l="string"==typeof e.raw?e.raw:String(e);return u.length{const n=r.valid(i);if(!n)return!1;t[e]=n},description:"full valid SemVer string"},Umask:{type:i,validate:n,description:"octal number in range 0o000..0o777 (0..511)"},url:{...e.typeDefs.url,description:'full url with "http://"'},path:{...e.typeDefs.path,validate:(t,e,i)=>"string"==typeof i&&s(t,e,i),description:"valid filesystem path"},Number:{...e.typeDefs.Number,description:"numeric value"},Boolean:{...e.typeDefs.Boolean,description:"boolean value (true or false)"},Date:{...e.typeDefs.Date,description:"valid Date string"}},e.typeDefs=t.exports}(Ub);var dD=Ub.exports;const{URL:gD}=p;const mD=/(?t.replace(mD,((t,i,n)=>{const r=void 0!==e[n]?e[n]:`\${${n}}`;return i.length%2?t.slice((i.length+1)/2):i.slice(i.length/2)+r}));const bD=dD,wD=yD,{resolve:vD}=o,{parse:DD}=Wb,kD=(t,e,i,n=!1)=>{if("string"!=typeof t&&!Array.isArray(t))return t;const{platform:r,types:s,home:o,env:a}=i,u=new Set([].concat(s[e])),l=u.has(bD.path.type),c=u.has(bD.Boolean.type),h=l||u.has(bD.String.type),p=u.has(bD.Umask.type),f=u.has(bD.Number.type),d=!n&&u.has(Array),g=u.has(bD.Date.type);if(Array.isArray(t))return d?t.map((t=>kD(t,e,i,!0))):t;if(t=t.trim(),d)return kD(t.split("\n\n"),e,i);if(c&&!h&&""===t)return!0;if(!h&&!l&&!f)switch(t){case"true":return!0;case"false":return!1;case"null":return null;case"undefined":return}if(t=wD(t,a),g)return new Date(t);if(l){t=("win32"===r?/^~(\/|\\)/:/^~\//).test(t)&&o?vD(o,t.slice(2)):vD(t)}if(p)try{return DD(t)}catch(e){return t}return f&&!isNaN(t)&&(t=+t),t};var ED=kD;const xD=dD,AD=t=>{if(!t||"function"!=typeof t&&"object"!=typeof t)return t;if(Array.isArray(t))return t.map((t=>AD(t)));for(const{type:e,description:i}of Object.values(xD))if(e===t)return i||e;return t};const FD=t=>Array.isArray(t)?t.map((t=>FD(t))).join("\n\n"):null==t||!1===t?"":"object"==typeof t?null:String(t),CD=(t,e)=>Array.isArray(e)&&Array.isArray(t)?SD(t,e):t===e,SD=(t,e)=>{if(t.length!==e.length)return!1;for(let i=0;i{const n=FD(i),r=((t,e)=>!/^[/@_]/.test(t)&&"string"==typeof FD(e)&&`npm_config_${t.replace(/-/g,"_").toLowerCase()}`)(e,n);r&&null!==n&&(t[r]=n)};var jD=t=>{const{env:e,defaults:i,definitions:n,list:[r,s]}=t;e.INIT_CWD=process.cwd();const o=new Set(Object.keys(r)),a=new Set(Object.keys(s));for(const t in r){const{deprecated:u,envExport:l=!0}=n[t]||{};u||!1===l||(CD(i[t],r[t])?CD(s[t],r[t])||_D(e,t,r[t]):a.has(t)&&!o.has(t)||_D(e,t,r[t]))}e.HOME=t.home,e.npm_config_global_prefix=t.globalPrefix,e.npm_config_local_prefix=t.localPrefix,r.editor&&(e.EDITOR=r.editor),r["node-options"]&&(e.NODE_OPTIONS=r["node-options"]),require.main&&require.main.filename&&(e.npm_execpath=require.main.filename),e.NODE=e.npm_node_execpath=t.execPath};var OD={ErrInvalidAuth:class extends Error{constructor(t){let e="Invalid auth configuration found: ";e+=t.map((t=>"delete"===t.action?`\`${t.key}\` is not allowed in ${t.where} config`:"rename"===t.action?`\`${t.from}\` must be renamed to \`${t.to}\` in ${t.where} config`:void 0)).join(", "),e+="\nPlease run `npm config fix` to repair your configuration.`",super(e),this.code="ERR_INVALID_AUTH",this.problems=t}}};const{walkUp:BD}=Kd,TD=ng,RD=_g,ID=Lb,$D=ty,ND=qb,{resolve:LD,dirname:PD,join:MD}=o,{homedir:zD}=h,{readFile:qD,writeFile:UD,chmod:GD,unlink:WD,stat:HD,mkdir:VD}=I,KD=(...t)=>HD(LD(...t)).then((t=>t.isFile())).catch((()=>!1)),YD=(...t)=>HD(LD(...t)).then((t=>t.isDirectory())).catch((()=>!1)),JD=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),ZD=(t,e,i)=>{Object.defineProperty(t,e,{get:i,set(i){Object.defineProperty(t,e,{value:i,configurable:!0,writable:!0,enumerable:!0})},configurable:!0,enumerable:!0})},QD=dD,XD=t=>{const e=new gD(t),i=`${e.protocol}//${e.host}${e.pathname}`,n=new gD(".",i);return`//${n.host}${n.pathname}`},tk=yD,ek=ED,ik=t=>[].concat(AD(t)).filter((t=>void 0!==t)),nk=jD,{ErrInvalidAuth:rk}=OD,sk=new Set(["global","user","project"]),ok=new Set(["default","builtin",...sk,"env","cli"]);const ak=Symbol("loadError"),uk=Symbol("valid");class lk{#ce;#he=null;#pe=null;constructor(t){this.#ce=Object.create(t&&t.data),this.#pe={},this[uk]=!0}get data(){return this.#ce}get valid(){return this[uk]}set source(t){if(this.#he)throw new Error("cannot set ConfigData source more than once");this.#he=t}get source(){return this.#he}set loadError(t){if(this[ak]||Object.keys(this.#pe).length)throw new Error("cannot set ConfigData loadError after load");this[ak]=t}get loadError(){return this[ak]}set raw(t){if(Object.keys(this.#pe).length||this[ak])throw new Error("cannot set ConfigData raw after load");this.#pe=t}get raw(){return this.#pe}}var ck=class{#fe=!1;#de;#ge=null;static get typeDefs(){return QD}constructor({definitions:t,shorthands:e,flatten:i,npmPath:n,env:r=process.env,argv:s=process.argv,platform:o=process.platform,execPath:a=process.execPath,cwd:u=process.cwd(),excludeNpmCwd:l=!1}){this.definitions=t;const c={},h={};this.deprecated={};for(const[e,i]of Object.entries(t))h[e]=i.default,c[e]=i.type,i.deprecated&&(this.deprecated[e]=i.deprecated.trim().replace(/\n +/,"\n"));this.#de=i,this.types=c,this.shorthands=e,this.defaults=h,this.npmPath=n,this.argv=s,this.env=r,this.execPath=a,this.platform=o,this.cwd=u,this.excludeNpmCwd=l,this.globalPrefix=null,this.localPrefix=null,this.localPackage=null,this.home=null;const p=[...ok];this.data=new Map;let f=null;for(const t of p)this.data.set(t,f=new lk(f));this.data.set=()=>{throw new Error("cannot change internal config data structure")},this.data.delete=()=>{throw new Error("cannot change internal config data structure")},this.sources=new Map([]),this.list=[];for(const{data:t}of this.data.values())this.list.unshift(t);Object.freeze(this.list),this.#fe=!1}get loaded(){return this.#fe}get prefix(){return this.#me("global")?this.globalPrefix:this.localPrefix}find(t){if(!this.loaded)throw new Error("call config.load() before reading values");const e=[...this.data.entries()];for(let i=e.length-1;i>-1;i--){const[n,{data:r}]=e[i];if(JD(r,t))return n}return null}get(t,e){if(!this.loaded)throw new Error("call config.load() before reading values");return this.#me(t,e)}#me(t,e=null){if(null!==e&&!ok.has(e))throw new Error("invalid config location param: "+e);const{data:i}=this.data.get(e||"cli");return null===e||JD(i,t)?i[t]:void 0}set(t,e,i="cli"){if(!this.loaded)throw new Error("call config.load() before setting values");if(!ok.has(i))throw new Error("invalid config location param: "+i);this.#ye(t);const{data:n,raw:r}=this.data.get(i);n[t]=e,["global","user","project"].includes(i)&&(r[t]=e),this.data.get(i)[uk]=null,this.#ge=null}get flat(){if(this.#ge)return this.#ge;process.emit("time","config:load:flatten"),this.#ge={};for(const{data:t}of this.data.values())this.#de(t,this.#ge);return process.emit("timeEnd","config:load:flatten"),this.#ge}delete(t,e="cli"){if(!this.loaded)throw new Error("call config.load() before deleting values");if(!ok.has(e))throw new Error("invalid config location param: "+e);const{data:i,raw:n}=this.data.get(e);delete i[t],["global","user","project"].includes(e)&&delete n[t]}async load(){if(this.loaded)throw new Error("attempting to load npm config multiple times");process.emit("time","config:load"),process.emit("time","config:load:defaults"),this.loadDefaults(),process.emit("timeEnd","config:load:defaults"),process.emit("time","config:load:builtin"),await this.loadBuiltinConfig(),process.emit("timeEnd","config:load:builtin"),process.emit("time","config:load:cli"),this.loadCLI(),process.emit("timeEnd","config:load:cli"),process.emit("time","config:load:env"),this.loadEnv(),process.emit("timeEnd","config:load:env"),process.emit("time","config:load:project"),await this.loadProjectConfig(),process.emit("timeEnd","config:load:project"),process.emit("time","config:load:user"),await this.loadUserConfig(),process.emit("timeEnd","config:load:user"),process.emit("time","config:load:global"),await this.loadGlobalConfig(),process.emit("timeEnd","config:load:global"),this.#fe=!0,this.globalPrefix=this.get("prefix"),process.emit("time","config:load:setEnvs"),this.setEnvs(),process.emit("timeEnd","config:load:setEnvs"),process.emit("timeEnd","config:load")}loadDefaults(){this.loadGlobalPrefix(),this.loadHome();const t={...this.defaults,prefix:this.globalPrefix};try{t["npm-version"]=ri(MD(this.npmPath,"package.json")).version}catch{}this.#be(t,"default","default values");const{data:e}=this.data.get("default");ZD(e,"metrics-registry",(()=>this.#me("registry"))),ZD(e,"globalconfig",(()=>LD(this.#me("prefix"),"etc/npmrc")))}loadHome(){this.home=this.env.HOME||zD()}loadGlobalPrefix(){if(this.globalPrefix)throw new Error("cannot load default global prefix more than once");this.env.PREFIX?this.globalPrefix=this.env.PREFIX:"win32"===this.platform?this.globalPrefix=PD(this.execPath):(this.globalPrefix=PD(PD(this.execPath)),this.env.DESTDIR&&(this.globalPrefix=MD(this.env.DESTDIR,this.globalPrefix)))}loadEnv(){const t=Object.create(null);for(const[e,i]of Object.entries(this.env)){if(!/^npm_config_/i.test(e)||""===i)continue;let n=e.slice(11);n.startsWith("//")||(n=n.replace(/(?!^)_/g,"-").toLowerCase()),t[n]=i}this.#be(t,"env","environment")}loadCLI(){RD.invalidHandler=(t,e,i)=>this.invalidHandler(t,e,i,"command line options","cli");const t=RD(this.types,this.shorthands,this.argv);RD.invalidHandler=null,this.parsedArgv=t.argv,delete t.argv,this.#be(t,"cli","command line options")}get valid(){for(const[t,{valid:e}]of this.data.entries())if(!1===e||null===e&&!this.validate(t))return!1;return!0}validate(t){if(t){const e=this.data.get(t);return e[uk]=!0,RD.invalidHandler=(i,n,r)=>this.invalidHandler(i,n,r,e.source,t),RD.clean(e.data,this.types,QD),RD.invalidHandler=null,e[uk]}{let t=!0;const e=[];for(const i of this.data.keys()){if("default"===i||"builtin"===i||"cli"===i)continue;const n=this.validate(i);if(t=t&&n,["global","user","project"].includes(i)){for(const t of["_authtoken","-authtoken"])this.get(t,i)&&e.push({action:"delete",key:t,where:i});const t=XD(this.get("registry"));for(const n of["_auth","_authToken","username","_password"])this.get(n,i)&&(("username"!==n||this.get("_password",i))&&("_password"!==n||this.get("username",i))?e.push({action:"rename",from:n,to:`${t}:${n}`,where:i}):e.push({action:"delete",key:n,where:i}))}}if(e.length)throw new rk(e);return t}}repair(t){if(!t)try{this.validate()}catch(e){if("ERR_INVALID_AUTH"!==e.code)throw e;t=e.problems}finally{t||(t=[])}for(const e of t)if("delete"===e.action)this.delete(e.key,e.where);else if("rename"===e.action){const t=this.data.get(e.where).raw?.[e.from],i=this.get(e.from,e.where);this.set(e.to,t||i,e.where),this.delete(e.from,e.where)}}isDefault(t){const[e,...i]=[...ok],n=this.data.get(e).data;return JD(n,t)&&i.every((e=>{const i=this.data.get(e).data;return!JD(i,t)}))}invalidHandler(t,e,i,n,r){ND.warn("invalid config",t+"="+JSON.stringify(e),`set in ${n}`),this.data.get(r)[uk]=!1,Array.isArray(i)&&(i.includes(QD.url.type)?i=QD.url.type:i.includes(QD.path.type)&&(i=QD.path.type));const s=ik(i),o=s.filter((t=>void 0!==t&&t!==Array)),a="Must be"+this.#we(o,s),u=1===o.length?o[0]:[...new Set(o.map((t=>"string"==typeof t?t:JSON.stringify(t))))].join(", ");ND.warn("invalid config",a,u)}#we(t,e){let i;return i=1===t.length&&e.includes(Array)?" one or more":t.length>1&&e.includes(Array)?" one or more of:":t.length>1?" one of:":"",i}#be(t,e,i,n=null){const r=this.data.get(e);if(r.source){const t=`double-loading "${e}" configs from ${i}, previously loaded from ${r.source}`;throw new Error(t)}if(this.sources.has(i)){const t=`double-loading config "${i}" as "${e}", previously loaded as "${this.sources.get(i)}"`;throw new Error(t)}if(r.source=i,this.sources.set(i,e),n)r.loadError=n,"ENOENT"!==n.code&&ND.verbose("config",`error loading ${e} config`,n);else{r.raw=t;for(const[i,n]of Object.entries(t)){const s=tk(i,this.env),o=this.parseField(n,s);if("default"!==e&&(this.#ye(s,e,t,[i,n]),this.definitions[i]?.exclusive))for(const t of this.definitions[i].exclusive)if(!this.isDefault(t))throw new TypeError(`--${i} can not be provided when using --${t}`);r.data[s]=o}}}#ye(t,e,i,n){this.deprecated[t]&&ND.warn("config",t,this.deprecated[t])}parseField(t,e,i=!1){return ek(t,e,this,i)}async#ve(t,e){process.emit("time","config:load:file:"+t),await qD(t,"utf8").then((i=>this.#be(TD.parse(i),e,t)),(i=>this.#be(null,e,t,i))),process.emit("timeEnd","config:load:file:"+t)}loadBuiltinConfig(){return this.#ve(LD(this.npmPath,"npmrc"),"builtin")}async loadProjectConfig(){if(await this.loadLocalPrefix(),null==this.localPackage&&(this.localPackage=await KD(this.localPrefix,"package.json")),!0===this.#me("global")||"global"===this.#me("location"))return this.data.get("project").source="(global mode enabled, ignored)",void this.sources.set(this.data.get("project").source,"project");const t=LD(this.localPrefix,".npmrc");if(t!==this.#me("userconfig"))return this.#ve(t,"project");this.data.get("project").source='(same as "user" config, ignored)',this.sources.set(this.data.get("project").source,"project")}async loadLocalPrefix(){const t=this.#me("prefix","cli");if(t)return void(this.localPrefix=t);const e=this.#me("workspaces","cli"),i=this.#me("global")||"global"===this.#me("location");for(const t of BD(this.cwd)){if(this.excludeNpmCwd&&t===this.npmPath)break;const n=await KD(t,"package.json");if(this.localPrefix||!n&&!await YD(t,"node_modules")){if(this.localPrefix&&n){const e=await $D(LD(t,"package.json")).catch((()=>!1));if(!e)continue;const i=await ID({cwd:t,pkg:e});for(const e of i.values())if(e===this.localPrefix){await KD(this.localPrefix,".npmrc")&&ND.warn(`ignoring workspace config at ${this.localPrefix}/.npmrc`);const{data:e}=this.data.get("default");return e.workspace=[this.localPrefix],this.localPrefix=t,this.localPackage=n,void ND.info(`found workspace root at ${this.localPrefix}`)}}}else if(this.localPrefix=t,this.localPackage=n,!1===e||i)return}this.localPrefix||(this.localPrefix=this.cwd)}loadUserConfig(){return this.#ve(this.#me("userconfig"),"user")}loadGlobalConfig(){return this.#ve(this.#me("globalconfig"),"global")}async save(t){if(!this.loaded)throw new Error("call config.load() before saving");if(!sk.has(t))throw new Error("invalid config location param: "+t);const e=this.data.get(t);if(e[ak]=null,"user"===t){const t=XD(this.get("registry")),e=this.get(`${t}:email`,"user");e&&(this.delete(`${t}:email`,"user"),this.set("email",e,"user"))}const i=TD.stringify(e.raw).trim()+"\n";if(!i.trim())return void await WD(e.source).catch((t=>{}));const n=PD(e.source);await VD(n,{recursive:!0}),await UD(e.source,i,"utf8");const r="user"===t?384:438;await GD(e.source,r)}clearCredentialsByURI(t){const e=XD(t);if(XD(this.get("registry"))===e){this.delete("-authtoken","user"),this.delete("_authToken","user"),this.delete("_authtoken","user"),this.delete("_auth","user"),this.delete("_password","user"),this.delete("username","user");const t=this.get(`${e}:email`,"user");t&&this.set("email",t,"user")}this.delete(`${e}:_authToken`,"user"),this.delete(`${e}:_auth`,"user"),this.delete(`${e}:_password`,"user"),this.delete(`${e}:username`,"user"),this.delete(`${e}:email`,"user"),this.delete(`${e}:certfile`,"user"),this.delete(`${e}:keyfile`,"user")}setCredentialsByURI(t,{token:e,username:i,password:n,email:r,certfile:s,keyfile:o}){const a=XD(t);if(r=r||this.get("email","user"),this.delete(`${a}:always-auth`,"user"),this.delete(`${a}:email`,"user"),s&&o&&(this.set(`${a}:certfile`,s,"user"),this.set(`${a}:keyfile`,o,"user")),e)this.set(`${a}:_authToken`,e,"user"),this.delete(`${a}:_password`,"user"),this.delete(`${a}:username`,"user");else if(i||n){if(!i)throw new Error("must include username");if(!n)throw new Error("must include password");this.delete(`${a}:_authToken`,"user"),this.set(`${a}:username`,i,"user");const t=Buffer.from(n,"utf8").toString("base64");this.set(`${a}:_password`,t,"user")}else if(!s||!o)throw new Error("No credentials to set.")}getCredentialsByURI(t){const e=XD(t),i=XD(this.get("registry")),n={},r=this.get(`${e}:email`)||this.get("email");r&&(e===i&&this.set("email",r,"user"),n.email=r);const s=this.get(`${e}:certfile`),o=this.get(`${e}:keyfile`);s&&o&&(n.certfile=s,n.keyfile=o);const a=this.get(`${e}:_authToken`);if(a)return n.token=a,n;const u=this.get(`${e}:username`),l=this.get(`${e}:_password`);if(u&&l){n.username=u,n.password=Buffer.from(l,"base64").toString("utf8");const t=`${n.username}:${n.password}`;return n.auth=Buffer.from(t,"utf8").toString("base64"),n}const c=this.get(`${e}:_auth`);if(c){const t=Buffer.from(c,"base64").toString("utf8").split(":");return n.username=t.shift(),n.password=t.join(":"),n.auth=c,n}return n}setEnvs(){nk(this)}},hk=q(ck);const pk="win32"===m.platform,fk={}.hasOwnProperty,dk={};const gk=new Map;let mk;function yk(t,e,i){return gk.set(t,e),function(t,e){return i;function i(...i){const n=Error.stackTraceLimit;bk()&&(Error.stackTraceLimit=0);const r=new t;bk()&&(Error.stackTraceLimit=n);const s=function(t,e,i){const n=gk.get(t);if(N(void 0!==n,"expected `message` to be found"),"function"==typeof n)return N(n.length<=e.length,`Code: ${t}; The provided arguments length (${e.length}) does not match the required ones (${n.length}).`),Reflect.apply(n,i,e);const r=/%[dfijoOs]/g;let s=0;for(;null!==r.exec(n);)s++;return N(s===e.length,`Code: ${t}; The provided arguments length (${e.length}) does not match the required ones (${s}).`),0===e.length?n:(e.unshift(n),Reflect.apply(C,null,e))}(e,i,r);return Object.defineProperties(r,{message:{value:s,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),wk(r),r.code=e,r}}(i,t)}function bk(){try{if(P.startupSnapshot.isBuildingSnapshot())return!1}catch{}const t=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return void 0===t?Object.isExtensible(Error):fk.call(t,"writable")&&void 0!==t.writable?t.writable:void 0!==t.set}dk.ERR_INVALID_MODULE_SPECIFIER=yk("ERR_INVALID_MODULE_SPECIFIER",((t,e,i=void 0)=>`Invalid module "${t}" ${e}${i?` imported from ${i}`:""}`),TypeError),dk.ERR_INVALID_PACKAGE_CONFIG=yk("ERR_INVALID_PACKAGE_CONFIG",((t,e,i)=>`Invalid package config ${t}${e?` while importing ${e}`:""}${i?`. ${i}`:""}`),Error),dk.ERR_INVALID_PACKAGE_TARGET=yk("ERR_INVALID_PACKAGE_TARGET",((t,e,i,n=!1,r=void 0)=>{const s="string"==typeof i&&!n&&i.length>0&&!i.startsWith("./");return"."===e?(N(!1===n),`Invalid "exports" main target ${JSON.stringify(i)} defined in the package config ${t}package.json${r?` imported from ${r}`:""}${s?'; targets must start with "./"':""}`):`Invalid "${n?"imports":"exports"}" target ${JSON.stringify(i)} defined for '${e}' in the package config ${t}package.json${r?` imported from ${r}`:""}${s?'; targets must start with "./"':""}`}),Error),dk.ERR_MODULE_NOT_FOUND=yk("ERR_MODULE_NOT_FOUND",((t,e,i="package")=>`Cannot find ${i} '${t}' imported from ${e}`),Error),dk.ERR_NETWORK_IMPORT_DISALLOWED=yk("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),dk.ERR_PACKAGE_IMPORT_NOT_DEFINED=yk("ERR_PACKAGE_IMPORT_NOT_DEFINED",((t,e,i)=>`Package import specifier "${t}" is not defined${e?` in package ${e}package.json`:""} imported from ${i}`),TypeError),dk.ERR_PACKAGE_PATH_NOT_EXPORTED=yk("ERR_PACKAGE_PATH_NOT_EXPORTED",((t,e,i=void 0)=>"."===e?`No "exports" main defined in ${t}package.json${i?` imported from ${i}`:""}`:`Package subpath '${e}' is not defined by "exports" in ${t}package.json${i?` imported from ${i}`:""}`),Error),dk.ERR_UNSUPPORTED_DIR_IMPORT=yk("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),dk.ERR_UNKNOWN_FILE_EXTENSION=yk("ERR_UNKNOWN_FILE_EXTENSION",((t,e)=>`Unknown file extension "${t}" for ${e}`),TypeError),dk.ERR_INVALID_ARG_VALUE=yk("ERR_INVALID_ARG_VALUE",((t,e,i="is invalid")=>{let n=S(e);n.length>128&&(n=`${n.slice(0,128)}...`);return`The ${t.includes(".")?"property":"argument"} '${t}' ${i}. Received ${n}`}),TypeError),dk.ERR_UNSUPPORTED_ESM_URL_SCHEME=yk("ERR_UNSUPPORTED_ESM_URL_SCHEME",((t,e)=>{let i=`Only URLs with a scheme in: ${function(t,e="and"){return t.length<3?t.join(` ${e} `):`${t.slice(0,-1).join(", ")}, ${e} ${t[t.length-1]}`}(e)} are supported by the default ESM loader`;return pk&&2===t.protocol.length&&(i+=". On Windows, absolute paths must be valid file:// URLs"),i+=`. Received protocol '${t.protocol}'`,i}),Error);const wk=function(t){const e="__node_internal_"+t.name;return Object.defineProperty(t,"name",{value:e}),t}((function(t){const e=bk();return e&&(mk=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(t),e&&(Error.stackTraceLimit=mk),t}));const vk={read:function(e){try{return{string:t.readFileSync(v.toNamespacedPath(v.join(v.dirname(e),"package.json")),"utf8")}}catch(t){const e=t;if("ENOENT"===e.code)return{string:void 0};throw e}}};const{ERR_INVALID_PACKAGE_CONFIG:Dk}=dk,kk=new Map;function Ek(t,e,i){const n=kk.get(t);if(void 0!==n)return n;const r=vk.read(t).string;if(void 0===r){const e={pjsonPath:t,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return kk.set(t,e),e}let s;try{s=JSON.parse(r)}catch(n){const r=n;throw new Dk(t,(i?`"${e}" from `:"")+O(i||e),r.message)}const{exports:o,imports:a,main:u,name:l,type:c}=s,h={pjsonPath:t,exists:!0,main:"string"==typeof u?u:void 0,name:"string"==typeof l?l:void 0,type:"module"===c||"commonjs"===c?c:"none",exports:o,imports:a&&"object"==typeof a?a:void 0};return kk.set(t,h),h}function xk(t){let e=new B("package.json",t);for(;;){if(e.pathname.endsWith("node_modules/package.json"))break;const i=Ek(O(e),t);if(i.exists)return i;const n=e;if(e=new B("../package.json",e),e.pathname===n.pathname)break}const i=O(e),n={pjsonPath:i,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return kk.set(i,n),n}const{ERR_UNKNOWN_FILE_EXTENSION:Ak}=dk,Fk={}.hasOwnProperty,Ck={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};const Sk={__proto__:null,"data:":function(t){const{1:e}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(t.pathname)||[null,null,null];return function(t){return t&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(t)?"module":"application/json"===t?"json":null}(e)},"file:":function(t,e,i){const n=O(t),r=v.extname(n);if(".js"===r)return"module"===function(t){return xk(t).type}(t)?"module":"commonjs";const s=Ck[r];if(s)return s;if(i)return;throw new Ak(r,n)},"http:":_k,"https:":_k,"node:":()=>"builtin"};function _k(){}function jk(t,e){return Fk.call(Sk,t.protocol)&&Sk[t.protocol](t,e,!0)||null}const{ERR_INVALID_ARG_VALUE:Ok}=dk,Bk=Object.freeze(["node","import"]),Tk=new Set(Bk);function Rk(t){if(void 0!==t&&t!==Bk){if(!Array.isArray(t))throw new Ok("conditions",t,"expected an array");return new Set(t)}return Tk}const Ik=RegExp.prototype[Symbol.replace],$k=!1,{ERR_NETWORK_IMPORT_DISALLOWED:Nk,ERR_INVALID_MODULE_SPECIFIER:Lk,ERR_INVALID_PACKAGE_CONFIG:Pk,ERR_INVALID_PACKAGE_TARGET:Mk,ERR_MODULE_NOT_FOUND:zk,ERR_PACKAGE_IMPORT_NOT_DEFINED:qk,ERR_PACKAGE_PATH_NOT_EXPORTED:Uk,ERR_UNSUPPORTED_DIR_IMPORT:Gk,ERR_UNSUPPORTED_ESM_URL_SCHEME:Wk}=dk,Hk={}.hasOwnProperty,Vk=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,Kk=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,Yk=/^\.|%|\\/,Jk=/\*/g,Zk=/%2f|%5c/i,Qk=new Set,Xk=/[/\\]{2}/;function tE(t,e,i,n,r,s,o){const a=O(n),u=null!==Xk.exec(o?t:e);m.emitWarning(`Use of deprecated ${u?"double slash":"leading or trailing slash matching"} resolving "${t}" for module request "${e}" ${e===i?"":`matched to "${i}" `}in the "${r?"imports":"exports"}" field module resolution of the package at ${a}${s?` imported from ${O(s)}`:""}.`,"DeprecationWarning","DEP0166")}function eE(t,e,i,n){if("module"!==jk(t,{parentURL:i.href}))return;const r=O(t.href),s=O(new B(".",e)),o=O(i);n?m.emitWarning(`Package ${s} has a "main" field set to ${JSON.stringify(n)}, excluding the full filename and extension to the resolved file at "${r.slice(s.length)}", imported from ${o}.\n Automatic extension resolution of the "main" field isdeprecated for ES modules.`,"DeprecationWarning","DEP0151"):m.emitWarning(`No "main" or "exports" field defined in the package.json for ${s} resolving the main entry point "${r.slice(s.length)}", imported from ${o}.\nDefault "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function iE(t){try{return i(t)}catch{return new n}}function nE(t){const e=i(t,{throwIfNoEntry:!1}),n=e?e.isFile():void 0;return null!=n&&n}function rE(t,e,i){let n;if(void 0!==e.main){if(n=new B(e.main,t),nE(n))return n;const r=[`./${e.main}.js`,`./${e.main}.json`,`./${e.main}.node`,`./${e.main}/index.js`,`./${e.main}/index.json`,`./${e.main}/index.node`];let s=-1;for(;++se)):t+e,n,u)}}throw oE(i,t,n,o,r)}if(null!==Vk.exec(t.slice(2))){if(null!==Kk.exec(t.slice(2)))throw oE(i,t,n,o,r);if(!a){const a=s?i.replace("*",(()=>e)):i+e;tE(s?Ik.call(Jk,t,(()=>e)):t,a,i,n,o,r,!0)}}const l=new B(t,n),c=l.pathname,h=new B(".",n).pathname;if(!c.startsWith(h))throw oE(i,t,n,o,r);if(""===e)return l;if(null!==Vk.exec(e)){const u=s?i.replace("*",(()=>e)):i+e;if(null===Kk.exec(e)){if(!a){tE(s?Ik.call(Jk,t,(()=>e)):t,u,i,n,o,r,!1)}}else!function(t,e,i,n,r){const s=`request is not a valid match in pattern "${e}" for the "${n?"imports":"exports"}" resolution of ${O(i)}`;throw new Lk(t,s,r&&O(r))}(u,i,n,o,r)}return s?new B(Ik.call(Jk,l.href,(()=>e))):new B(e,l)}function uE(t){const e=Number(t);return`${e}`===t&&(e>=0&&e<4294967295)}function lE(t,e,i,n,r,s,o,a,u){if("string"==typeof e)return aE(e,i,n,t,r,s,o,a,u);if(Array.isArray(e)){const l=e;if(0===l.length)return null;let c,h=-1;for(;++h=i.length&&e.endsWith(s)&&1===pE(o,i)&&i.lastIndexOf("*")===r&&(o=i,a=e.slice(r,e.length-s.length))}}if(o){const i=lE(t,s[o],a,o,n,!0,!1,e.endsWith("/"),r);if(null==i)throw sE(e,t,n);return i}throw sE(e,t,n)}function pE(t,e){const i=t.indexOf("*"),n=e.indexOf("*"),r=-1===i?t.length:i+1,s=-1===n?e.length:n+1;return r>s?-1:s>r||-1===i?1:-1===n||t.length>e.length?-1:e.length>t.length?1:0}function fE(t,e,i){if("#"===t||t.startsWith("#/")||t.endsWith("/")){throw new Lk(t,"is not a valid internal imports specifier name",O(e))}let n;const r=xk(e);if(r.exists){n=T(r.pjsonPath);const s=r.imports;if(s)if(Hk.call(s,t)&&!t.includes("*")){const r=lE(n,s[t],"",t,e,!1,!0,!1,i);if(null!=r)return r}else{let r="",o="";const a=Object.getOwnPropertyNames(s);let u=-1;for(;++u=e.length&&t.endsWith(n)&&1===pE(r,e)&&e.lastIndexOf("*")===i&&(r=e,o=t.slice(i,t.length-n.length))}}if(r){const t=lE(n,s[r],o,r,e,!0,!0,!1,i);if(null!=t)return t}}}throw function(t,e,i){return new qk(t,e&&O(new B(".",e)),O(i))}(t,n,e)}function dE(t,e,i){if(L.includes(t))return new B("node:"+t);const{packageName:n,packageSubpath:r,isScoped:s}=function(t,e){let i=t.indexOf("/"),n=!0,r=!1;"@"===t[0]&&(r=!0,-1===i||0===t.length?n=!1:i=t.indexOf("/",i+1));const s=-1===i?t:t.slice(0,i);if(null!==Yk.exec(s)&&(n=!1),!n)throw new Lk(t,"is not a valid package name",O(e));return{packageName:s,packageSubpath:"."+(-1===i?"":t.slice(i)),isScoped:r}}(t,e),o=xk(e);if(o.exists){const t=T(o.pjsonPath);if(o.name===n&&void 0!==o.exports&&null!==o.exports)return hE(t,r,o,e,i)}let a,u=new B("./node_modules/"+n+"/package.json",e),l=O(u);do{if(!iE(l.slice(0,-13)).isDirectory()){a=l,u=new B((s?"../../../../node_modules/":"../../../node_modules/")+n+"/package.json",u),l=O(u);continue}const o=Ek(l,t,e);return void 0!==o.exports&&null!==o.exports?hE(u,r,o,e,i):"."===r?rE(u,o,e):new B(r,u)}while(l.length!==a.length);throw new zk(n,O(e))}function gE(t){return""!==t&&("/"===t[0]||function(t){if("."===t[0]){if(1===t.length||"/"===t[1])return!0;if("."===t[1]&&(2===t.length||"/"===t[2]))return!0}return!1}(t))}function mE(t,i,n,r){const s="http:"===i.protocol||"https:"===i.protocol;let o;if(gE(t))o=new B(t,i);else if(s||"#"!==t[0])try{o=new B(t)}catch{s||(o=dE(t,i,n))}else o=fE(t,i,n);return N(void 0!==o,"expected to be defined"),"file:"!==o.protocol?o:function(t,i,n){if(null!==Zk.exec(t.pathname))throw new Lk(t.pathname,'must not include encoded "/" or "\\" characters',O(i));const r=O(t),s=iE(r.endsWith("/")?r.slice(-1):r);if(s.isDirectory()){const e=new Gk(r,O(i));throw e.url=String(t),e}if(!s.isFile())throw new zk(r||t.pathname,i&&O(i),"module");if(!n){const i=e(r),{search:n,hash:s}=t;(t=T(i+(r.endsWith(v.sep)?"/":""))).search=n,t.hash=s}return t}(o,i,r)}function yE(t,e={}){const{parentURL:i}=e;let n,r;if(N(void 0!==i,"expected `parentURL` to be defined"),i)try{n=new B(i)}catch{}try{if(r=gE(t)?new B(t,n):new B(t),"data:"===r.protocol||$k&&("https:"===r.protocol||"http:"===r.protocol))return{url:r.href,format:null}}catch{}const s=function(t,e,i){if(e&&i&&("http:"===i.protocol||"https:"===i.protocol)){if(gE(t)){if(e&&"https:"!==e.protocol&&"http:"!==e.protocol)throw new Nk(t,i,"remote imports cannot import from a local location.");return{url:e.href}}if(L.includes(t))throw new Nk(t,i,"remote imports cannot import from a local location.");throw new Nk(t,i,"only relative and absolute specifiers are supported.")}}(t,r,n);if(s)return s;if(r&&"node:"===r.protocol)return{url:t};!function(t,e){if(t&&"file:"!==t.protocol&&"data:"!==t.protocol&&(!e||"https:"!==t.protocol&&"http:"!==t.protocol))throw new Wk(t,["file","data"].concat(e?["https","http"]:[]))}(r,$k);const o=Rk(e.conditions),a=mE(t,new B(i),o,!1);return function(t){if("file:"!==t.protocol&&"data:"!==t.protocol&&"node:"!==t.protocol)throw new Wk(t)}(a),{url:a.href,format:jk(a,{parentURL:i})}}const bE=void 0!==D.versions.electron,wE="win32"===D.platform,vE=D.argv[1]||"",DE=D.env.NVM_BIN,kE=wE?"":"lib",EE=new hk({definitions:{}});EE.loadGlobalPrefix();let xE=EE.globalPrefix;xE||(xE=wE?o.dirname(D.execPath):o.resolve(D.execPath,"../.."));const AE=bE||0===vE.indexOf(xE);let FE=o.resolve(xE,kE,"node_modules");async function CE(t,e={}){const i=e.prefix?e.prefix+("-"===e.prefix.charAt(e.prefix.length-1)?"":"-"):void 0,n=e.cwd,r=void 0===e.global||null===e.global?AE:e.global,s=Array.isArray(n)?n.concat():[n||D.cwd()];let o,a;if("."!==t.charAt(0)){r&&s.push(FE);let e="";if(i){if("@"===t.charAt(0)){const i=t.indexOf("/");-1!==i&&(e=t.slice(0,i+1),t=t.slice(i+1))}t.slice(0,i.length)!==i&&(o=e+i+t),t=e+t}}let u,l=-1;for(;++l0?parseInt(i):null};a{if(t){const e=OE("Cannot read given file `%s`\n%s",v.relative(this.cwd,s),t.stack);e.code="ENOENT",e.path=t.path,e.syscall=t.syscall,r(e)}else qr(this.create,((t,e)=>{t?(TE(t.message),r(OE("Cannot parse given file `%s`\n%s",v.relative(this.cwd,s),t.stack))):(TE("Read given file `%s`",s),r(e))}))(i,s);function r(t){n.givenFile=t,a(e,t)}}))}return}if(!this.detect)return i(null);e=v.resolve(this.cwd,e);const o=v.dirname(e);function a(t,e){let i=t.length;for(;i--;)u(t[i],e)}function u(t,e){Array.isArray(e)?e.push(t):e instanceof Error?t(e):t(null,e)}o in this.cache?u(i,this.cache[o]):(this.cache[o]=[i],function i(r){let s=-1;function o(){if(++s{t?c(OE("Cannot parse file `%s`\n%s",v.relative(n.cwd,i),t.message)):e&&e.filePath?(TE("Read file `%s`",i),c(null,e)):o()}))(e,i)}function c(t,e){const i=n.cache[r];n.cache[r]=t||e,a(i,t||e)}o()}(o))}}const IE=Vd("unified-engine:configuration"),$E={}.hasOwnProperty,NE={".json":qE,".cjs":ME,".mjs":ME,".js":ME,".yaml":zE,".yml":zE},LE=qE;class PE{constructor(t){const e=[];this.cwd=t.cwd,this.packageField=t.packageField,this.pluginPrefix=t.pluginPrefix,this.configTransform=t.configTransform,this.defaultConfig=t.defaultConfig,t.rcName&&(e.push(t.rcName,...Object.keys(NE).map((e=>t.rcName+e))),IE("Looking for `%s` configuration files",e)),t.packageField&&(e.push("package.json"),IE("Looking for `%s` fields in `package.json` files",t.packageField)),this.given={settings:t.settings,plugins:t.plugins},this.create=this.create.bind(this),this.findUp=new RE({cwd:t.cwd,filePath:t.rcPath,detect:t.detectConfig,names:e,create:this.create})}load(t,e){this.findUp.load(t||v.resolve(this.cwd,"stdin.js"),((t,i)=>{if(t||i)return e(t,i);this.create(void 0,void 0).then((t=>{e(null,t)}),e)}))}async create(t,e){const i={prefix:this.pluginPrefix,cwd:this.cwd},n={settings:{},plugins:[],filePath:void 0},r=e?v.extname(e):void 0,s=r&&r in NE?NE[r]:LE;let o;return e&&t&&(o=await s.call(this,t,e),this.configTransform&&void 0!==o&&(o=this.configTransform(o,e))),e&&"package.json"===v.basename(e)&&void 0===o&&(e=void 0),void 0===o?this.defaultConfig&&await UE(n,this.defaultConfig,Object.assign({},i,{root:this.cwd})):await UE(n,o,Object.assign({},i,{root:v.dirname(e)})),await UE(n,this.given,Object.assign({},i,{root:this.cwd})),n.filePath=e,n}}async function ME(t,e){return GE(e,this.cwd)}async function zE(t){return Ur.parse(String(t))}async function qE(t,e){const i=Sd(String(t),e);return"package.json"===v.basename(e)?i[this.packageField]:i}async function UE(t,e,i){if("object"!=typeof e||null===e)throw new Error("Expected preset, not `"+e+"`");return await async function(e){const i=e.plugins;if(null==i);else{if("object"!=typeof i||null===i)throw new Error("Expected a list or object of plugins, not `"+i+"`");await(Array.isArray(i)?async function(t){let e=-1;for(;++e{throw OE("Could not find module `%s`\n%s",e,i.stack)}),n)}const o=await GE(s,i.root);try{"function"==typeof o?r(o,n):await UE(t,o,Object.assign({},i,{root:v.dirname(s)}))}catch{throw OE("Error: Expected preset or plugin, not %s, at `%s`",o,v.relative(i.root,s))}}(e,n):"function"==typeof e?r(e,n):await UE(t,e,i)}function r(e,i){const n=function(t,e){let i=-1;for(;++i{if(i)e(i);else if(n){const i=v.relative(v.resolve(this.cwd,"cwd"===this.ignorePathResolveFrom?".":n.filePath),v.resolve(this.cwd,t));""===i||".."===i||i.charAt(0)===v.sep||i.slice(0,3)===".."+v.sep?e(null,!1):e(null,n.ignores(i))}else e(null,!1)}))}}function HE(t,e){return Object.assign(Xe().add(String(t)),{filePath:v.dirname(e)})}const VE="object"==typeof process&&process&&"win32"===process.platform;const KE=YE=(t,e,i={})=>(ux(e),!(!i.nocomment&&"#"===e.charAt(0))&&new px(e,i).match(t));var YE=KE;const JE=VE?{sep:"\\"}:{sep:"/"};KE.sep=JE.sep;const ZE=Symbol("globstar **");KE.GLOBSTAR=ZE;const QE=Rg,XE={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},tx="[^/]",ex=tx+"*?",ix=t=>t.split("").reduce(((t,e)=>(t[e]=!0,t)),{}),nx=ix("().*{}+?[]^$\\!"),rx=ix("[.("),sx=/\/+/;KE.filter=(t,e={})=>(i,n,r)=>KE(i,t,e);const ox=(t,e={})=>{const i={};return Object.keys(t).forEach((e=>i[e]=t[e])),Object.keys(e).forEach((t=>i[t]=e[t])),i};KE.defaults=t=>{if(!t||"object"!=typeof t||!Object.keys(t).length)return KE;const e=KE,i=(i,n,r)=>e(i,n,ox(t,r));return i.Minimatch=class extends e.Minimatch{constructor(e,i){super(e,ox(t,i))}},i.Minimatch.defaults=i=>e.defaults(ox(t,i)).Minimatch,i.filter=(i,n)=>e.filter(i,ox(t,n)),i.defaults=i=>e.defaults(ox(t,i)),i.makeRe=(i,n)=>e.makeRe(i,ox(t,n)),i.braceExpand=(i,n)=>e.braceExpand(i,ox(t,n)),i.match=(i,n,r)=>e.match(i,n,ox(t,r)),i},KE.braceExpand=(t,e)=>ax(t,e);const ax=(t,e={})=>(ux(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:QE(t)),ux=t=>{if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")},lx=Symbol("subparse");KE.makeRe=(t,e)=>new px(t,e||{}).makeRe(),KE.match=(t,e,i={})=>{const n=new px(e,i);return t=t.filter((t=>n.match(t))),n.options.nonull&&!t.length&&t.push(e),t};const cx=t=>t.replace(/\\([^-\]])/g,"$1"),hx=t=>t.replace(/[[\]\\]/g,"\\$&");let px=class{constructor(t,e){ux(t),e||(e={}),this.options=e,this.set=[],this.pattern=t,this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.make()}debug(){}make(){const t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate();let i=this.globSet=this.braceExpand();e.debug&&(this.debug=(...t)=>console.error(...t)),this.debug(this.pattern,i),i=this.globParts=i.map((t=>t.split(sx))),this.debug(this.pattern,i),i=i.map(((t,e,i)=>t.map(this.parse,this))),this.debug(this.pattern,i),i=i.filter((t=>-1===t.indexOf(!1))),this.debug(this.pattern,i),this.set=i}parseNegate(){if(this.options.nonegate)return;const t=this.pattern;let e=!1,i=0;for(let n=0;n>> no match, partial?",t,h,e,p),h!==o))}if("string"==typeof l?(u=c===l,this.debug("string match",l,c,u)):(u=c.match(l),this.debug("pattern match",l,c,u)),!u)return!1}if(r===o&&s===a)return!0;if(r===o)return i;if(s===a)return r===o-1&&""===t[r];throw new Error("wtf?")}braceExpand(){return ax(this.pattern,this.options)}parse(t,e){ux(t);const i=this.options;if("**"===t){if(!i.noglobstar)return ZE;t="*"}if(""===t)return"";let n="",r=!1,s=!1;const o=[],a=[];let u,l,c,h,p=!1,f=-1,d=-1,g="."===t.charAt(0),m=i.dot||g;const y=t=>"."===t.charAt(0)?"":i.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",b=()=>{if(u){switch(u){case"*":n+=ex,r=!0;break;case"?":n+=tx,r=!0;break;default:n+="\\"+u}this.debug("clearStateChar %j %j",u,n),u=!1}};for(let e,h=0;h(i||(i="\\"),e+e+i+"|"))),this.debug("tail=%j\n %s",t,t,c,n);const e="*"===c.type?ex:"?"===c.type?tx:"\\"+c.type;r=!0,n=n.slice(0,c.reStart)+e+"\\("+t}b(),s&&(n+="\\\\");const w=rx[n.charAt(0)];for(let t=a.length-1;t>-1;t--){const i=a[t],r=n.slice(0,i.reStart),s=n.slice(i.reStart,i.reEnd-8);let o=n.slice(i.reEnd);const u=n.slice(i.reEnd-8,i.reEnd)+o,l=r.split(")").length,c=r.split("(").length-l;let h=o;for(let t=0;tt.replace(/\\(.)/g,"$1"))(t);const v=i.nocase?"i":"";try{return Object.assign(new RegExp("^"+n+"$",v),{_glob:t,_src:n})}catch(t){return new RegExp("$.")}}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const t=this.set;if(!t.length)return this.regexp=!1,this.regexp;const e=this.options,i=e.noglobstar?ex:e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=e.nocase?"i":"";let r=t.map((t=>(t=t.map((t=>"string"==typeof t?(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))(t):t===ZE?ZE:t._src)).reduce(((t,e)=>(t[t.length-1]===ZE&&e===ZE||t.push(e),t)),[]),t.forEach(((e,n)=>{e===ZE&&t[n-1]!==ZE&&(0===n?t.length>1?t[n+1]="(?:\\/|"+i+"\\/)?"+t[n+1]:t[n]=i:n===t.length-1?t[n-1]+="(?:\\/|"+i+")?":(t[n-1]+="(?:\\/|\\/"+i+"\\/)"+t[n+1],t[n+1]=ZE))})),t.filter((t=>t!==ZE)).join("/")))).join("|");r="^(?:"+r+")$",this.negate&&(r="^(?!"+r+").*$");try{this.regexp=new RegExp(r,n)}catch(t){this.regexp=!1}return this.regexp}match(t,e=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;const i=this.options;"/"!==JE.sep&&(t=t.split(JE.sep).join("/")),t=t.split(sx),this.debug(this.pattern,"split",t);const n=this.set;let r;this.debug(this.pattern,"set",n);for(let e=t.length-1;e>=0&&(r=t[e],!r);e--);for(let s=0;sthis.maxLength)return!1;if(!this.stat&&u(this.cache,e)){var n=this.cache[e];if(Array.isArray(n)&&(n="DIR"),!i||"DIR"===n)return n;if(i&&"FILE"===n)return!1}var r=this.statCache[e];if(!r){var s;try{s=this.fs.lstatSync(e)}catch(t){if(t&&("ENOENT"===t.code||"ENOTDIR"===t.code))return this.statCache[e]=!1,!1}if(s&&s.isSymbolicLink())try{r=this.fs.statSync(e)}catch(t){r=s}else r=s}return this.statCache[e]=r,n=!0,r&&(n=r.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||n,(!i||"FILE"!==n)&&n},f.prototype._mark=function(t){return s.mark(this,t)},f.prototype._makeAbs=function(t){return s.makeAbs(this,t)},gx}(),h=fx,p=h.setopts,f=h.ownProp,d=_e,g=h.childrenIgnored,m=h.isIgnored,y=Ae;function b(t,e,i){if("function"==typeof e&&(i=e,e={}),e||(e={}),e.sync){if(i)throw new TypeError("callback provided to sync glob");return c(t,e)}return new v(t,e,i)}b.sync=c;var w=b.GlobSync=c.GlobSync;function v(t,e,i){if("function"==typeof e&&(i=e,e=null),e&&e.sync){if(i)throw new TypeError("callback provided to sync glob");return new w(t,e)}if(!(this instanceof v))return new v(t,e,i);p(this,t,e),this._didRealPath=!1;var n=this.minimatch.set.length;this.matches=new Array(n),"function"==typeof i&&(i=y(i),this.on("error",i),this.on("end",(function(t){i(null,t)})));var r=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===n)return a();for(var s=!0,o=0;o1)return!0;for(var r=0;rthis.maxLength)return e();if(!this.stat&&f(this.cache,i)){var r=this.cache[i];if(Array.isArray(r)&&(r="DIR"),!n||"DIR"===r)return e(null,r);if(n&&"FILE"===r)return e()}var s=this.statCache[i];if(void 0!==s){if(!1===s)return e(null,s);var o=s.isDirectory()?"DIR":"FILE";return n&&"FILE"===o?e():e(null,o,s)}var a=this,u=d("stat\0"+i,(function(n,r){if(r&&r.isSymbolicLink())return a.fs.stat(i,(function(n,s){n?a._stat2(t,i,null,r,e):a._stat2(t,i,n,s,e)}));a._stat2(t,i,n,r,e)}));u&&a.fs.lstat(i,u)},v.prototype._stat2=function(t,e,i,n,r){if(i&&("ENOENT"===i.code||"ENOTDIR"===i.code))return this.statCache[e]=!1,r();var s="/"===t.slice(-1);if(this.statCache[e]=n,"/"===e.slice(-1)&&n&&!n.isDirectory())return r(null,!1,n);var o=!0;return n&&(o=n.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||o,s&&"FILE"===o?r():r(null,o,n)},yx}var _x=q(Sx()),jx=q((function(t){return null!=t&&null!=t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}));function Ox(t){return t&&"object"==typeof t?"position"in t||"type"in t?Tx(t.position):"start"in t||"end"in t?Tx(t):"line"in t||"column"in t?Bx(t):"":""}function Bx(t){return Rx(t&&t.line)+":"+Rx(t&&t.column)}function Tx(t){return Bx(t&&t.start)+"-"+Bx(t&&t.end)}function Rx(t){return t&&"number"==typeof t?t:1}class Ix extends Error{constructor(t,e,i){const n=[null,null];let r={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof e&&(i=e,e=void 0),"string"==typeof i){const t=i.indexOf(":");-1===t?n[1]=i:(n[0]=i.slice(0,t),n[1]=i.slice(t+1))}e&&("type"in e||"position"in e?e.position&&(r=e.position):"start"in e||"end"in e?r=e:("line"in e||"column"in e)&&(r.start=e)),this.name=Ox(e)||"1:1",this.message="object"==typeof t?t.message:t,this.stack="","object"==typeof t&&t.stack&&(this.stack=t.stack),this.reason=this.message,this.fatal,this.line=r.start.line,this.column=r.start.column,this.position=r,this.source=n[0],this.ruleId=n[1],this.file,this.actual,this.expected,this.url,this.note}}function $x(t){return null!==t&&"object"==typeof t&&t.href&&t.origin}Ix.prototype.file="",Ix.prototype.name="",Ix.prototype.reason="",Ix.prototype.message="",Ix.prototype.stack="",Ix.prototype.fatal=null,Ix.prototype.column=null,Ix.prototype.line=null,Ix.prototype.source=null,Ix.prototype.ruleId=null,Ix.prototype.position=null;const Nx=["history","path","basename","stem","extname","dirname"];class Lx{constructor(t){let e;e=t?"string"==typeof t||function(t){return jx(t)}(t)?{value:t}:$x(t)?{path:t}:t:{},this.data={},this.messages=[],this.history=[],this.cwd=D.cwd(),this.value,this.stored,this.result,this.map;let i,n=-1;for(;++n{n||(t?(n=!0,u(t)):(s++,r=r.concat(i),s===o&&Gx(r,e,u)))}))):(i=v.relative(e.cwd,v.resolve(e.cwd,i))||".",r.push(i));else{const t=i.path?v.relative(e.cwd,i.path):e.cwd;i.cwd=e.cwd,i.path=t,i.history=[t],r.push(i)}}o||Gx(r,e,u);function u(t,e){t||!e?i(t):i(null,{input:r,output:e})}}(t,e,((t,e)=>{t||!e?i(t):i(null,{oneFileMode:Hx(e),files:e.output})}))}function Gx(e,i,n){const r=Xe().add(i.ignorePatterns);let s=0,o=0,a=-1,u=[];for(;++a{o=e,c(t)})));function c(t){l++,t?(n(t),l=-1):l===u&&n(null,{stats:o,ignored:a||""!==s&&".."!==s&&s.charAt(0)!==v.sep&&s.slice(0,3)!==".."+v.sep&&i.extraIgnore.ignores(s)})}i.ignore.check(r,((t,e)=>{a=e,setImmediate(c,t)}))}(e,Object.assign({},i,{extraIgnore:r}),((n,r)=>{const s=r&&r.ignored,o=r&&r.stats&&r.stats.isDirectory();if(s&&(i.nested||i.silentlyIgnore))return c(null,[]);if(!s&&o)return t.readdir(v.resolve(i.cwd,Wx(e)),((t,n)=>{if(t){const t=qx(Wx(e));t.cwd=i.cwd;try{t.fail("Cannot read directory")}catch{}c(null,[t])}else Gx(n.map((t=>v.join(Wx(e),t))),Object.assign({},i,{nested:!0}),c)}));if(!o&&i.nested&&i.extensions.length>0&&(!a||!i.extensions.includes(a)))return c(null,[]);if((e=qx(e)).cwd=i.cwd,s)try{e.fail("Cannot process specified file: it’s ignored")}catch{}if(n&&"ENOENT"===n.code)try{e.fail("stat"===n.syscall?"No such file or directory":n)}catch{}c(null,[e])})))}s||n(null,u)}function Wx(t){return"string"==typeof t?t:t.path}function Hx(t){return 1===t.output.length&&1===t.input.length&&t.output[0].path===t.input[0]}qx.readSync=function(t,e){const i=qx(t);return i.value=a.readFileSync(o.resolve(i.cwd,i.path),e),i},qx.writeSync=function(t,e){const i=qx(t);return a.writeFileSync(o.resolve(i.cwd,i.path),i.value||"",e),i},qx.read=function(t,e,i){const n=qx(t);if(i||"function"!=typeof e||(i=e,e=null),!i)return new Promise(r);function r(t,i){let r;try{r=o.resolve(n.cwd,n.path)}catch(t){return i(t)}a.readFile(r,e,(function(e,r){e?i(e):(n.value=r,t(n))}))}r((function(t){i(null,t)}),i)},qx.write=function(t,e,i){const n=qx(t);if(i||"function"!=typeof e||(i=e,e=void 0),!i)return new Promise(r);function r(t,i){let r;try{r=o.resolve(n.cwd,n.path)}catch(t){return i(t,null)}a.writeFile(r,n.value||"",e||null,(function(e){e?i(e,null):t(n)}))}r((function(t){i(null,t)}),i)};var Vx,Kx,Yx,Jx,Zx,Qx,Xx={exports:{}};function tA(){return Kx?Vx:(Kx=1,Vx=E)}function eA(){if(Jx)return Yx;function t(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function e(e){for(var n=1;n0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,i=""+e.data;e=e.next;)i+=t+e.data;return i}},{key:"concat",value:function(t){if(0===this.length)return s.alloc(0);for(var e=s.allocUnsafe(t>>>0),i=this.head,n=0;i;)u(i.data,e,n),n+=i.data.length,i=i.next;return e}},{key:"consume",value:function(t,e){var i;return tr.length?r.length:t;if(s===r.length?n+=r:n+=r.slice(0,t),0==(t-=s)){s===r.length?(++i,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=r.slice(s));break}++i}return this.length-=i,n}},{key:"_getBuffer",value:function(t){var e=s.allocUnsafe(t),i=this.head,n=1;for(i.data.copy(e),t-=i.data.length;i=i.next;){var r=i.data,o=t>r.length?r.length:t;if(r.copy(e,e.length-t,0,o),0==(t-=o)){o===r.length?(++n,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=r.slice(o));break}++n}return this.length-=n,e}},{key:a,value:function(t,i){return o(this,e(e({},i),{},{depth:0,customInspect:!1}))}}],r&&n(i.prototype,r),l&&n(i,l),Object.defineProperty(i,"prototype",{writable:!1}),t}(),Yx}function iA(){if(Qx)return Zx;function t(t,n){i(t,n),e(t)}function e(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function i(t,e){t.emit("error",e)}return Qx=1,Zx={destroy:function(n,r){var s=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(r?r(n):n&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(i,this,n)):process.nextTick(i,this,n)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(n||null,(function(i){!r&&i?s._writableState?s._writableState.errorEmitted?process.nextTick(e,s):(s._writableState.errorEmitted=!0,process.nextTick(t,s,i)):process.nextTick(t,s,i):r?(process.nextTick(e,s),r(i)):process.nextTick(e,s)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var i=t._readableState,n=t._writableState;i&&i.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}},Zx}var nA,rA,sA,oA,aA,uA,lA,cA,hA,pA={};function fA(){if(nA)return pA;nA=1;const t={};function e(e,i,n){n||(n=Error);class r extends n{constructor(t,e,n){super(function(t,e,n){return"string"==typeof i?i:i(t,e,n)}(t,e,n))}}r.prototype.name=n.name,r.prototype.code=e,t[e]=r}function i(t,e){if(Array.isArray(t)){const i=t.length;return t=t.map((t=>String(t))),i>2?`one of ${e} ${t.slice(0,i-1).join(", ")}, or `+t[i-1]:2===i?`one of ${e} ${t[0]} or ${t[1]}`:`of ${e} ${t[0]}`}return`of ${e} ${String(t)}`}return e("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),e("ERR_INVALID_ARG_TYPE",(function(t,e,n){let r,s;if("string"==typeof e&&function(t,e,i){return t.substr(!i||i<0?0:+i,e.length)===e}(e,"not ")?(r="must not be",e=e.replace(/^not /,"")):r="must be",function(t,e,i){return(void 0===i||i>t.length)&&(i=t.length),t.substring(i-e.length,i)===e}(t," argument"))s=`The ${t} ${r} ${i(e,"type")}`;else{const n=function(t,e,i){return"number"!=typeof i&&(i=0),!(i+e.length>t.length)&&-1!==t.indexOf(e,i)}(t,".")?"property":"argument";s=`The "${t}" ${n} ${r} ${i(e,"type")}`}return s+=". Received type "+typeof n,s}),TypeError),e("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),e("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),e("ERR_STREAM_PREMATURE_CLOSE","Premature close"),e("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),e("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),e("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),e("ERR_STREAM_WRITE_AFTER_END","write after end"),e("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),e("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),e("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),pA.codes=t,pA}function dA(){if(sA)return rA;sA=1;var t=fA().codes.ERR_INVALID_OPT_VALUE;return rA={getHighWaterMark:function(e,i,n,r){var s=function(t,e,i){return null!=t.highWaterMark?t.highWaterMark:e?t[i]:null}(i,r,n);if(null!=s){if(!isFinite(s)||Math.floor(s)!==s||s<0)throw new t(r?n:"highWaterMark",s);return Math.floor(s)}return e.objectMode?16:16384}},rA}function gA(){if(lA)return uA;function t(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,i){var n=t.entry;t.entry=null;for(;n;){var r=n.callback;e.pendingcb--,r(i),n=n.next}e.corkedRequestsFree.next=t}(e,t)}}var e;lA=1,uA=k,k.WritableState=D;var i={deprecate:aA?oA:(aA=1,oA=c.deprecate)},n=tA(),r=F.Buffer,s=(void 0!==z?z:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var o,a=iA(),u=dA().getHighWaterMark,l=fA().codes,h=l.ERR_INVALID_ARG_TYPE,p=l.ERR_METHOD_NOT_IMPLEMENTED,f=l.ERR_MULTIPLE_CALLBACK,d=l.ERR_STREAM_CANNOT_PIPE,g=l.ERR_STREAM_DESTROYED,m=l.ERR_STREAM_NULL_VALUES,y=l.ERR_STREAM_WRITE_AFTER_END,b=l.ERR_UNKNOWN_ENCODING,w=a.errorOrDestroy;function v(){}function D(i,n,r){e=e||mA(),i=i||{},"boolean"!=typeof r&&(r=n instanceof e),this.objectMode=!!i.objectMode,r&&(this.objectMode=this.objectMode||!!i.writableObjectMode),this.highWaterMark=u(this,i,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===i.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=i.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var i=t._writableState,n=i.sync,r=i.writecb;if("function"!=typeof r)throw new f;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(i),e)!function(t,e,i,n,r){--e.pendingcb,i?(process.nextTick(r,n),process.nextTick(_,t,e),t._writableState.errorEmitted=!0,w(t,n)):(r(n),t._writableState.errorEmitted=!0,w(t,n),_(t,e))}(t,i,n,e,r);else{var s=C(i)||t.destroyed;s||i.corked||i.bufferProcessing||!i.bufferedRequest||A(t,i),n?process.nextTick(x,t,i,s,r):x(t,i,s,r)}}(n,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==i.emitClose,this.autoDestroy=!!i.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function k(t){var i=this instanceof(e=e||mA());if(!i&&!o.call(k,this))return new k(t);this._writableState=new D(t,this,i),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),n.call(this)}function E(t,e,i,n,r,s,o){e.writelen=n,e.writecb=o,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new g("write")):i?t._writev(r,e.onwrite):t._write(r,s,e.onwrite),e.sync=!1}function x(t,e,i,n){i||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),_(t,e)}function A(e,i){i.bufferProcessing=!0;var n=i.bufferedRequest;if(e._writev&&n&&n.next){var r=i.bufferedRequestCount,s=new Array(r),o=i.corkedRequestsFree;o.entry=n;for(var a=0,u=!0;n;)s[a]=n,n.isBuf||(u=!1),n=n.next,a+=1;s.allBuffers=u,E(e,i,!0,i.length,s,"",o.finish),i.pendingcb++,i.lastBufferedRequest=null,o.next?(i.corkedRequestsFree=o.next,o.next=null):i.corkedRequestsFree=new t(i),i.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,h=n.callback;if(E(e,i,!1,i.objectMode?1:l.length,l,c,h),n=n.next,i.bufferedRequestCount--,i.writing)break}null===n&&(i.lastBufferedRequest=null)}i.bufferedRequest=n,i.bufferProcessing=!1}function C(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function S(t,e){t._final((function(i){e.pendingcb--,i&&w(t,i),e.prefinished=!0,t.emit("prefinish"),_(t,e)}))}function _(t,e){var i=C(e);if(i&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,process.nextTick(S,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var n=t._readableState;(!n||n.autoDestroy&&n.endEmitted)&&t.destroy()}return i}return ee(k,n),D.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(D.prototype,"buffer",{get:i.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(o=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(t){return!!o.call(this,t)||this===k&&(t&&t._writableState instanceof D)}})):o=function(t){return t instanceof this},k.prototype.pipe=function(){w(this,new d)},k.prototype.write=function(t,e,i){var n,o=this._writableState,a=!1,u=!o.objectMode&&(n=t,r.isBuffer(n)||n instanceof s);return u&&!r.isBuffer(t)&&(t=function(t){return r.from(t)}(t)),"function"==typeof e&&(i=e,e=null),u?e="buffer":e||(e=o.defaultEncoding),"function"!=typeof i&&(i=v),o.ending?function(t,e){var i=new y;w(t,i),process.nextTick(e,i)}(this,i):(u||function(t,e,i,n){var r;return null===i?r=new m:"string"==typeof i||e.objectMode||(r=new h("chunk",["string","Buffer"],i)),!r||(w(t,r),process.nextTick(n,r),!1)}(this,o,t,i))&&(o.pendingcb++,a=function(t,e,i,n,s,o){if(!i){var a=function(t,e,i){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=r.from(e,i));return e}(e,n,s);n!==a&&(i=!0,s="buffer",n=a)}var u=e.objectMode?1:n.length;e.length+=u;var l=e.length-1))throw new b(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),k.prototype._write=function(t,e,i){i(new p("_write()"))},k.prototype._writev=null,k.prototype.end=function(t,e,i){var n=this._writableState;return"function"==typeof t?(i=t,t=null,e=null):"function"==typeof e&&(i=e,e=null),null!=t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||function(t,e,i){e.ending=!0,_(t,e),i&&(e.finished?process.nextTick(i):t.once("finish",i));e.ended=!0,t.writable=!1}(this,n,i),this},Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),k.prototype.destroy=a.destroy,k.prototype._undestroy=a.undestroy,k.prototype._destroy=function(t,e){e(t)},uA}function mA(){if(hA)return cA;hA=1;var t=Object.keys||function(t){var e=[];for(var i in t)e.push(i);return e};cA=o;var e=PA(),i=gA();ee(o,e);for(var n=t(i.prototype),r=0;r>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function r(t){var e=this.lastTotal-this.lastNeed,i=function(t,e,i){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==i?i:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function s(t,e){if((t.length-e)%2==0){var i=t.toString("utf16le",e);if(i){var n=i.charCodeAt(i.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],i.slice(0,-1)}return i}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function o(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var i=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,i)}return e}function a(t,e){var i=(t.length-e)%3;return 0===i?t.toString("base64",e):(this.lastNeed=3-i,this.lastTotal=3,1===i?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-i))}function u(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function l(t){return t.toString(this.encoding)}function c(t){return t&&t.length?this.write(t):""}return yA.StringDecoder=i,i.prototype.write=function(t){if(0===t.length)return"";var e,i;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i=0)return s>0&&(t.lastNeed=s-1),s;if(--r=0)return s>0&&(t.lastNeed=s-2),s;if(--r=0)return s>0&&(2===s?s=0:t.lastNeed=s-3),s;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=i;var r=t.length-(i-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",e,r)},i.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length},yA}function $A(){if(DA)return vA;DA=1;var t=fA().codes.ERR_STREAM_PREMATURE_CLOSE;function e(){}return vA=function i(n,r,s){if("function"==typeof r)return i(n,null,r);r||(r={}),s=function(t){var e=!1;return function(){if(!e){e=!0;for(var i=arguments.length,n=new Array(i),r=0;r0)if("string"==typeof e||l.objectMode||Object.getPrototypeOf(e)===n.prototype||(e=function(t){return n.from(t)}(e)),o)l.endEmitted?v(t,new w):A(t,l,e,!0);else if(l.ended)v(t,new y);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!i?(e=l.decoder.write(e),l.objectMode||0!==e.length?A(t,l,e,!1):O(t,l)):A(t,l,e,!1)}else o||(l.reading=!1,O(t,l));return!l.ended&&(l.lengthe.highWaterMark&&(e.highWaterMark=function(t){return t>=C?t=C:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function _(t){var e=t._readableState;s("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(s("emitReadable",e.flowing),e.emittedReadable=!0,process.nextTick(j,t))}function j(t){var e=t._readableState;s("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,$(t)}function O(t,e){e.readingMore||(e.readingMore=!0,process.nextTick(B,t,e))}function B(t,e){for(;!e.reading&&!e.ended&&(e.length0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function R(t){s("readable nexttick read 0"),t.read(0)}function I(t,e){s("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),$(t),e.flowing&&!e.reading&&t.read(0)}function $(t){var e=t._readableState;for(s("flow",e.flowing);e.flowing&&null!==t.read(););}function N(t,e){return 0===e.length?null:(e.objectMode?i=e.buffer.shift():!t||t>=e.length?(i=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):i=e.buffer.consume(t,e.decoder),i);var i}function L(t){var e=t._readableState;s("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,process.nextTick(P,e,t))}function P(t,e){if(s("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var i=e._writableState;(!i||i.autoDestroy&&i.finished)&&e.destroy()}}function M(t,e){for(var i=0,n=t.length;i=e.highWaterMark:e.length>0)||e.ended))return s("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?L(this):_(this),null;if(0===(t=S(t,e))&&e.ended)return 0===e.length&&L(this),null;var n,r=e.needReadable;return s("need readable",r),(0===e.length||e.length-t0?N(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),i!==t&&e.ended&&L(this)),null!==n&&this.emit("data",n),n},E.prototype._read=function(t){v(this,new b("_read()"))},E.prototype.pipe=function(t,i){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=t;break;case 1:r.pipes=[r.pipes,t];break;default:r.pipes.push(t)}r.pipesCount+=1,s("pipe count=%d opts=%j",r.pipesCount,i);var o=(!i||!1!==i.end)&&t!==process.stdout&&t!==process.stderr?u:g;function a(e,i){s("onunpipe"),e===n&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,s("cleanup"),t.removeListener("close",f),t.removeListener("finish",d),t.removeListener("drain",l),t.removeListener("error",p),t.removeListener("unpipe",a),n.removeListener("end",u),n.removeListener("end",g),n.removeListener("data",h),c=!0,!r.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}function u(){s("onend"),t.end()}r.endEmitted?process.nextTick(o):n.once("end",o),t.on("unpipe",a);var l=function(t){return function(){var i=t._readableState;s("pipeOnDrain",i.awaitDrain),i.awaitDrain&&i.awaitDrain--,0===i.awaitDrain&&e(t,"data")&&(i.flowing=!0,$(t))}}(n);t.on("drain",l);var c=!1;function h(e){s("ondata");var i=t.write(e);s("dest.write",i),!1===i&&((1===r.pipesCount&&r.pipes===t||r.pipesCount>1&&-1!==M(r.pipes,t))&&!c&&(s("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function p(i){s("onerror",i),g(),t.removeListener("error",p),0===e(t,"error")&&v(t,i)}function f(){t.removeListener("finish",d),g()}function d(){s("onfinish"),t.removeListener("close",f),g()}function g(){s("unpipe"),n.unpipe(t)}return n.on("data",h),function(t,e,i){if("function"==typeof t.prependListener)return t.prependListener(e,i);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(i):t._events[e]=[i,t._events[e]]:t.on(e,i)}(t,"error",p),t.once("close",f),t.once("finish",d),t.emit("pipe",n),r.flowing||(s("pipe resume"),n.resume()),t},E.prototype.unpipe=function(t){var e=this._readableState,i={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,i)),this;if(!t){var n=e.pipes,r=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var s=0;s0,!1!==r.flowing&&this.resume()):"readable"===t&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,s("on readable",r.length,r.reading),r.length?_(this):r.reading||process.nextTick(R,this))),n},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(t,e){var n=i.prototype.removeListener.call(this,t,e);return"readable"===t&&process.nextTick(T,this),n},E.prototype.removeAllListeners=function(t){var e=i.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||process.nextTick(T,this),e},E.prototype.resume=function(){var t=this._readableState;return t.flowing||(s("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,process.nextTick(I,t,e))}(this,t)),t.paused=!1,this},E.prototype.pause=function(){return s("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(s("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(t){var e=this,i=this._readableState,n=!1;for(var r in t.on("end",(function(){if(s("wrapped end"),i.decoder&&!i.ended){var t=i.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(r){(s("wrapped data"),i.decoder&&(r=i.decoder.write(r)),i.objectMode&&null==r)||(i.objectMode||r&&r.length)&&(e.push(r)||(n=!0,t.pause()))})),t)void 0===this[r]&&"function"==typeof t[r]&&(this[r]=function(e){return function(){return t[e].apply(t,arguments)}}(r));for(var o=0;o0,(function(t){l||(l=t),t&&h.forEach(s),r||(h.forEach(s),c(l))}))}));return a.reduce(o)},BA}!function(t,e){var i=E;"disable"===process.env.READABLE_STREAM&&i?(t.exports=i.Readable,Object.assign(t.exports,i),t.exports.Stream=i):((e=t.exports=PA()).Stream=i||e,e.Readable=e,e.Writable=gA(),e.Duplex=mA(),e.Transform=MA(),e.PassThrough=function(){if(OA)return jA;OA=1,jA=e;var t=MA();function e(i){if(!(this instanceof e))return new e(i);t.call(this,i)}return ee(e,t),e.prototype._transform=function(t,e,i){i(null,t)},jA}(),e.finished=$A(),e.pipeline=zA())}(Xx,Xx.exports);var qA=Xx.exports,UA=Object.prototype.toString,GA="undefined"!=typeof Buffer&&"function"==typeof Buffer.alloc&&"function"==typeof Buffer.allocUnsafe&&"function"==typeof Buffer.from;var WA,HA=function(t,e,i){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return n=t,"ArrayBuffer"===UA.call(n).slice(8,-1)?function(t,e,i){e>>>=0;var n=t.byteLength-e;if(n<0)throw new RangeError("'offset' is out of bounds");if(void 0===i)i=n;else if((i>>>=0)>n)throw new RangeError("'length' is out of bounds");return GA?Buffer.from(t.slice(e,e+i)):new Buffer(new Uint8Array(t.slice(e,e+i)))}(t,e,i):"string"==typeof t?function(t,e){if("string"==typeof e&&""!==e||(e="utf8"),!Buffer.isEncoding(e))throw new TypeError('"encoding" must be a valid string encoding');return GA?Buffer.from(t,e):new Buffer(t,e)}(t,e):GA?Buffer.from(t):new Buffer(t);var n},VA={};var KA=qA.Writable,YA=ee,JA=HA;if("undefined"==typeof Uint8Array)var ZA=(WA||(WA=1,function(t){var e,i,n,r=void 0,s=(e=Object.prototype.toString,i=Object.prototype.hasOwnProperty,{Class:function(t){return e.call(t).replace(/^\[object *|\]$/g,"")},HasProperty:function(t,e){return e in t},HasOwnProperty:function(t,e){return i.call(t,e)},IsCallable:function(t){return"function"==typeof t},ToInt32:function(t){return 0|t},ToUint32:function(t){return t>>>0}}),o=Math.LN2,a=Math.abs,u=Math.floor,l=Math.log,c=Math.min,h=Math.pow,p=Math.round;function f(t){if(d&&n){var e,i=d(t);for(e=0;e>i}function m(t,e){var i=32-e;return t<>>i}function y(t){return[255&t]}function b(t){return g(t[0],8)}function w(t){return[255&t]}function v(t){return m(t[0],8)}function D(t){return[(t=p(Number(t)))<0?0:t>255?255:255&t]}function k(t){return[t>>8&255,255&t]}function E(t){return g(t[0]<<8|t[1],16)}function x(t){return[t>>8&255,255&t]}function A(t){return m(t[0]<<8|t[1],16)}function F(t){return[t>>24&255,t>>16&255,t>>8&255,255&t]}function C(t){return g(t[0]<<24|t[1]<<16|t[2]<<8|t[3],32)}function S(t){return[t>>24&255,t>>16&255,t>>8&255,255&t]}function _(t){return m(t[0]<<24|t[1]<<16|t[2]<<8|t[3],32)}function j(t,e,i){var n,r,s,p,f,d,g,m=(1<.5||e%2?e+1:e}for(t!=t?(r=(1<=h(2,1-m)?(r=c(u(l(t)/o),1023),(s=y(t/h(2,r)*h(2,i)))/h(2,i)>=2&&(r+=1,s=1),r>m?(r=(1<>=1;return p.reverse(),o=p.join(""),a=(1<0?u*h(2,l-a)*(1+c/h(2,i)):0!==c?u*h(2,-(a-1))*(c/h(2,i)):u<0?-0:0}function B(t){return O(t,11,52)}function T(t){return j(t,11,52)}function R(t){return O(t,8,23)}function I(t){return j(t,8,23)}!function(){var e=function(t){if((t=s.ToInt32(t))<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");var e;for(this.byteLength=t,this._bytes=[],this._bytes.length=t,e=0;ethis.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=s.ToUint32(r),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 for(a=arguments[0],this.length=s.ToUint32(a.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new e(this.byteLength),this.byteOffset=0,l=0;l1e5)throw new RangeError("Array too large for polyfill");var e;for(e=0;e=this.length)return r;var e,i,n=[];for(e=0,i=this.byteOffset+t*this.BYTES_PER_ELEMENT;e=this.length)return r;var i,n,o=this._pack(e);for(i=0,n=this.byteOffset+t*this.BYTES_PER_ELEMENT;ithis.length)throw new RangeError("Offset plus length of array is out of range");if(c=this.byteOffset+r*this.BYTES_PER_ELEMENT,h=i.length*this.BYTES_PER_ELEMENT,i.buffer===this.buffer){for(p=[],a=0,u=i.byteOffset;athis.length)throw new RangeError("Offset plus length of array is out of range");for(a=0;ai?i:t}t=s.ToInt32(t),e=s.ToInt32(e),arguments.length<1&&(t=0),arguments.length<2&&(e=this.length),t<0&&(t=this.length+t),e<0&&(e=this.length+e),t=i(t,0,this.length);var n=(e=i(e,0,this.length))-t;return n<0&&(n=0),new this.constructor(this.buffer,this.byteOffset+t*this.BYTES_PER_ELEMENT,n)},u}var a=o(1,y,b),u=o(1,w,v),l=o(1,D,v),c=o(2,k,E),h=o(2,x,A),p=o(4,F,C),d=o(4,S,_),g=o(4,I,R),m=o(8,T,B);t.Int8Array=t.Int8Array||a,t.Uint8Array=t.Uint8Array||u,t.Uint8ClampedArray=t.Uint8ClampedArray||l,t.Int16Array=t.Int16Array||c,t.Uint16Array=t.Uint16Array||h,t.Int32Array=t.Int32Array||p,t.Uint32Array=t.Uint32Array||d,t.Float32Array=t.Float32Array||g,t.Float64Array=t.Float64Array||m}(),function(){function e(t,e){return s.IsCallable(t.get)?t.get(e):t[e]}var i,n=(i=new t.Uint16Array([4660]),18===e(new t.Uint8Array(i.buffer),0)),r=function(e,i,n){if(0===arguments.length)e=new t.ArrayBuffer(0);else if(!(e instanceof t.ArrayBuffer||"ArrayBuffer"===s.Class(e)))throw new TypeError("TypeError");if(this.buffer=e||new t.ArrayBuffer(0),this.byteOffset=s.ToUint32(i),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=arguments.length<3?this.buffer.byteLength-this.byteOffset:s.ToUint32(n),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");f(this)};function o(i){return function(r,o){if((r=s.ToUint32(r))+i.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");r+=this.byteOffset;var a,u=new t.Uint8Array(this.buffer,r,i.BYTES_PER_ELEMENT),l=[];for(a=0;athis.byteLength)throw new RangeError("Array index out of range");var u,l=new i([o]),c=new t.Uint8Array(l.buffer),h=[];for(u=0;u{this.actual++,this.actual>=this.expected&&this.emit("done")}))}valueOf(){return this.files}use(t){const e=this.pipeline;let i=!1;return t&&t.pluginId&&(i=this.plugins.some((e=>e.pluginId===t.pluginId))),!i&&this.plugins.includes(t)&&(i=!0),i||(this.plugins.push(t),e.use(t)),this}add(t){return"string"==typeof t&&(t=qx(t)),this.origins.includes(t.history[0])||(this.origins.push(t.history[0]),this.valueOf().push(t),this.expected++,setImmediate((()=>{this.emit("add",t)}))),this}}const rF=Vd("unified-engine:file-pipeline:read");var sF=Object.prototype.hasOwnProperty,oF=Object.prototype.toString;var aF=q((function(t){if(null==t)return!0;if("boolean"==typeof t)return!1;if("number"==typeof t)return 0===t;if("string"==typeof t)return 0===t.length;if("function"==typeof t)return 0===t.length;if(Array.isArray(t))return 0===t.length;if(t instanceof Error)return""===t.message;if(t.toString==oF)switch(t.toString()){case"[object File]":case"[object Map]":case"[object Set]":return 0===t.size;case"[object Object]":for(var e in t)if(sF.call(t,e))return!1;return!0}return!1}));const uF=Vd("unified-engine:file-pipeline:configure");const lF=Vd("unified-engine:file-pipeline:parse");const cF=Vd("unified-engine:file-pipeline:transform");const hF=Vd("unified-engine:file-pipeline:queue"),pF={}.hasOwnProperty;const fF={}.hasOwnProperty,dF=CF(1,22),gF=CF(2,22),mF=CF(33,39),yF=CF(32,39),bF=/(?:(?:\u001B\[)|\u009B)(?:\d{1,3})?(?:(?:;\d{0,3})*)?[A-M|f-m]|\u001B[A-M]/g;function wF(t,e){return vF(t,e).replace(bF,"")}function vF(t,e){return DF(t,{showPositions:!e||null===e.showPositions||void 0===e.showPositions||e.showPositions})}function DF(t,e){return _F(t)?EF(t,e):SF(t)?xF(t,e):kF(t)}function kF(t){return JSON.stringify(t)}function EF(t,e){const i=String(t.length-1).length,n=[];let r=-1;for(;++r0?gF("│"):" ")+" ")}(n,e),s=_F(n.children)?EF(n.children,e):"";return r&&i.push(r),s&&i.push(s),i.join("\n")}function AF(t,e){const i=[dF(t.type)],n=t,r=n.tagName||n.name,s=e.showPositions?function(t){const e=[],i=[],n=[];t&&"object"==typeof t&&(r("start"in t?t.start:void 0),r("end"in t?t.end:void 0));i.length>0&&e.push(i.join("-"));n.length>0&&e.push(n.join("-"));return e.join(", ");function r(t){if(t&&"object"==typeof t){const e="line"in t&&"number"==typeof t.line?t.line:1,r="column"in t&&"number"==typeof t.column?t.column:1;i.push(e+":"+r),"offset"in t&&"number"==typeof t.offset&&n.push(String(t.offset||0))}}}(t.position):"";return"string"==typeof r&&i.push("<",r,">"),_F(n.children)?i.push(gF("["),mF(String(n.children.length)),gF("]")):"string"==typeof n.value&&i.push(" ",yF(kF(n.value))),s&&i.push(" ",gF("("),s,gF(")")),i.join("")}function FF(t,e,i){if(!t)return t;const n=t.split("\n");let r=i?0:-1;for(;++r{let s=-1;if(!r)return i(n);if(!r.filePath&&t.settings.ignoreUnconfigured)uF("Ignoring file w/o corresponding config file"),e.data.unifiedEngineIgnored=!0;else{const e=r.plugins||[];for(uF("Using settings `%j`",r.settings),t.processor.data("settings",r.settings),uF("Using `%d` plugins",e.length);++s{rF("Read `%s` (error: %s)",r,t),i.value=e||"",n(t)})))})).use((function(t,e){if(!Mr(e).fatal&&!e.data.unifiedEngineIgnored){if(t.settings.treeIn){lF("Not parsing already parsed document");try{t.tree=Sd(e.toString())}catch(t){const i=t;e.message(new Error("Cannot read file as JSON\n"+i.message)).fatal=!0}return e.path&&(e.extname=t.settings.extensions[0]),void(e.value="")}lF("Parsing `%s`",e.path),t.tree=t.processor.parse(e),lF("Parsed document")}})).use((function(t,e,i){Mr(e).fatal||e.data.unifiedEngineIgnored?i():(cF("Transforming document `%s`",e.path),t.processor.run(t.tree,e,((e,n)=>{cF("Transformed document (error: %s)",e),t.tree=n,i(e)})))})))).use(IF(zr().use((function(t,e,i){let n=e.history[0],r=t.fileSet.complete,s=!0;r||(r={},t.fileSet.complete=r),hF("Queueing `%s`",n),r[n]=i;const o=t.fileSet.valueOf();let a=-1;for(;++a1)return n(new Error("Cannot write multiple files to single output: "+o));i[t?"dirname":"path"]=v.relative(i.cwd,o),OF("Copying document from %s to %s",s,i.path),n()}OF("Copying `%s`",s),t.stat(o,((e,i)=>{if(e){if("ENOENT"!==e.code||r.charAt(r.length-1)===v.sep)return n(new Error("Cannot read output directory. Error:\n"+e.message));t.stat(v.dirname(o),(t=>{t?n(new Error("Cannot read parent directory. Error:\n"+t.message)):a(!1)}))}else a(i.isDirectory())}))})).use((function(t,e,i){e.data.unifiedEngineGiven?Mr(e).fatal||e.data.unifiedEngineIgnored||t.settings.output||!t.settings.out?(BF("Ignoring writing to `streamOut`"),i()):(BF("Writing document to `streamOut`"),t.settings.streamOut.write(e.toString(),i)):(BF("Ignoring programmatically added file"),i())})).use((function(e,i,n){if(!e.settings.output)return TF("Ignoring writing to file-system"),n();if(!i.data.unifiedEngineGiven||i.data.unifiedEngineIgnored)return TF("Ignoring programmatically added or ignored file"),n();let r=i.path;return r?Mr(i).fatal?(TF("Cannot write file with a fatal error"),n()):(r=v.resolve(e.settings.cwd,r),TF("Writing document to `%s`",r),i.stored=!0,void t.writeFile(r,i.toString(),n)):(TF("Cannot write file without a `destinationPath`"),n(new Error("Cannot write file without an output path")))}))));function IF(t){return function(e,i,n){t.run(e,i,(t=>{const e=i.messages;if(t){const n=e.indexOf(t);-1===n?Object.assign(i.message(t),{fatal:!0}):e[n].fatal=!0}n()}))}}const $F=function({onlyFirst:t=!1}={}){const e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(e,t?void 0:"g")}();var NF={exports:{}};!function(t){var e={};function i(t){return t.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}NF.exports=e,e.eastAsianWidth=function(t){var e=t.charCodeAt(0),i=2==t.length?t.charCodeAt(1):0,n=e;return 55296<=e&&e<=56319&&56320<=i&&i<=57343&&(n=(e&=1023)<<10|(i&=1023),n+=65536),12288==n||65281<=n&&n<=65376||65504<=n&&n<=65510?"F":8361==n||65377<=n&&n<=65470||65474<=n&&n<=65479||65482<=n&&n<=65487||65490<=n&&n<=65495||65498<=n&&n<=65500||65512<=n&&n<=65518?"H":4352<=n&&n<=4447||4515<=n&&n<=4519||4602<=n&&n<=4607||9001<=n&&n<=9002||11904<=n&&n<=11929||11931<=n&&n<=12019||12032<=n&&n<=12245||12272<=n&&n<=12283||12289<=n&&n<=12350||12353<=n&&n<=12438||12441<=n&&n<=12543||12549<=n&&n<=12589||12593<=n&&n<=12686||12688<=n&&n<=12730||12736<=n&&n<=12771||12784<=n&&n<=12830||12832<=n&&n<=12871||12880<=n&&n<=13054||13056<=n&&n<=19903||19968<=n&&n<=42124||42128<=n&&n<=42182||43360<=n&&n<=43388||44032<=n&&n<=55203||55216<=n&&n<=55238||55243<=n&&n<=55291||63744<=n&&n<=64255||65040<=n&&n<=65049||65072<=n&&n<=65106||65108<=n&&n<=65126||65128<=n&&n<=65131||110592<=n&&n<=110593||127488<=n&&n<=127490||127504<=n&&n<=127546||127552<=n&&n<=127560||127568<=n&&n<=127569||131072<=n&&n<=194367||177984<=n&&n<=196605||196608<=n&&n<=262141?"W":32<=n&&n<=126||162<=n&&n<=163||165<=n&&n<=166||172==n||175==n||10214<=n&&n<=10221||10629<=n&&n<=10630?"Na":161==n||164==n||167<=n&&n<=168||170==n||173<=n&&n<=174||176<=n&&n<=180||182<=n&&n<=186||188<=n&&n<=191||198==n||208==n||215<=n&&n<=216||222<=n&&n<=225||230==n||232<=n&&n<=234||236<=n&&n<=237||240==n||242<=n&&n<=243||247<=n&&n<=250||252==n||254==n||257==n||273==n||275==n||283==n||294<=n&&n<=295||299==n||305<=n&&n<=307||312==n||319<=n&&n<=322||324==n||328<=n&&n<=331||333==n||338<=n&&n<=339||358<=n&&n<=359||363==n||462==n||464==n||466==n||468==n||470==n||472==n||474==n||476==n||593==n||609==n||708==n||711==n||713<=n&&n<=715||717==n||720==n||728<=n&&n<=731||733==n||735==n||768<=n&&n<=879||913<=n&&n<=929||931<=n&&n<=937||945<=n&&n<=961||963<=n&&n<=969||1025==n||1040<=n&&n<=1103||1105==n||8208==n||8211<=n&&n<=8214||8216<=n&&n<=8217||8220<=n&&n<=8221||8224<=n&&n<=8226||8228<=n&&n<=8231||8240==n||8242<=n&&n<=8243||8245==n||8251==n||8254==n||8308==n||8319==n||8321<=n&&n<=8324||8364==n||8451==n||8453==n||8457==n||8467==n||8470==n||8481<=n&&n<=8482||8486==n||8491==n||8531<=n&&n<=8532||8539<=n&&n<=8542||8544<=n&&n<=8555||8560<=n&&n<=8569||8585==n||8592<=n&&n<=8601||8632<=n&&n<=8633||8658==n||8660==n||8679==n||8704==n||8706<=n&&n<=8707||8711<=n&&n<=8712||8715==n||8719==n||8721==n||8725==n||8730==n||8733<=n&&n<=8736||8739==n||8741==n||8743<=n&&n<=8748||8750==n||8756<=n&&n<=8759||8764<=n&&n<=8765||8776==n||8780==n||8786==n||8800<=n&&n<=8801||8804<=n&&n<=8807||8810<=n&&n<=8811||8814<=n&&n<=8815||8834<=n&&n<=8835||8838<=n&&n<=8839||8853==n||8857==n||8869==n||8895==n||8978==n||9312<=n&&n<=9449||9451<=n&&n<=9547||9552<=n&&n<=9587||9600<=n&&n<=9615||9618<=n&&n<=9621||9632<=n&&n<=9633||9635<=n&&n<=9641||9650<=n&&n<=9651||9654<=n&&n<=9655||9660<=n&&n<=9661||9664<=n&&n<=9665||9670<=n&&n<=9672||9675==n||9678<=n&&n<=9681||9698<=n&&n<=9701||9711==n||9733<=n&&n<=9734||9737==n||9742<=n&&n<=9743||9748<=n&&n<=9749||9756==n||9758==n||9792==n||9794==n||9824<=n&&n<=9825||9827<=n&&n<=9829||9831<=n&&n<=9834||9836<=n&&n<=9837||9839==n||9886<=n&&n<=9887||9918<=n&&n<=9919||9924<=n&&n<=9933||9935<=n&&n<=9953||9955==n||9960<=n&&n<=9983||10045==n||10071==n||10102<=n&&n<=10111||11093<=n&&n<=11097||12872<=n&&n<=12879||57344<=n&&n<=63743||65024<=n&&n<=65039||65533==n||127232<=n&&n<=127242||127248<=n&&n<=127277||127280<=n&&n<=127337||127344<=n&&n<=127386||917760<=n&&n<=917999||983040<=n&&n<=1048573||1048576<=n&&n<=1114109?"A":"N"},e.characterLength=function(t){var e=this.eastAsianWidth(t);return"F"==e||"W"==e||"A"==e?2:1},e.length=function(t){for(var e=i(t),n=0,r=0;r=n-(2==c?1:0)){if(!(o+c<=r))break;s+=l}o+=c}return s}}();var LF=q(NF.exports),PF=q((function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}));function MF(t,e={}){if("string"!=typeof t||0===t.length)return 0;if(e={ambiguousIsNarrow:!0,...e},0===(t=function(t){if("string"!=typeof t)throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);return t.replace($F,"")}(t)).length)return 0;t=t.replace(PF()," ");const i=e.ambiguousIsNarrow?1:2;let n=0;for(const e of t){const t=e.codePointAt(0);if(t<=31||t>=127&&t<=159)continue;if(t>=768&&t<=879)continue;switch(LF.eastAsianWidth(e)){case"F":case"W":n+=2;break;case"A":n+=i;break;default:n+=1}}return n}const zF={true:2,false:1,null:0,undefined:0};function qF(t,e){return UF(t,e,"line")||UF(t,e,"column")||zF[String(e.fatal)]-zF[String(t.fatal)]||GF(t,e,"source")||GF(t,e,"ruleId")||GF(t,e,"reason")||0}function UF(t,e,i){return(t[i]||0)-(e[i]||0)}function GF(t,e,i){return String(t[i]||"").localeCompare(e[i]||"")}const WF=Gd.stderr.hasBasic,HF=m.platform,VF={}.hasOwnProperty,KF="win32"===HF?{error:"×",warning:"‼"}:{error:"✖",warning:"⚠"},YF={true:"error",false:"warning",null:"info",undefined:"info"};function JF(t,e){if(!t)return"";if("name"in t&&"message"in t)return String(t.stack||t);const i=e||{};return Array.isArray(t)?QF(ZF(t,i),!1,i):QF(ZF([t],i),!0,i)}function ZF(t,e){const i=[],n=[],r={place:0,label:0,reason:0,ruleId:0,source:0};let s=-1;for(;++s0)&&i.push({type:"file",file:t[s],stats:Mr(a)},...u)}var o;return{rows:i,stats:Mr(n),sizes:r}}function QF(t,e,i){const n=void 0===i.color||null===i.color?WF:i.color,r=[];let s=-1;for(;++s";u=!e||i.defaultName||o.file.history[0]?(n?""+(a.fatal?"":a.total?"":"")+u+"":u)+(o.file.stored&&o.file.path!==o.file.history[0]?" > "+o.file.path:""):"",a.total||(u=(u?u+": ":"")+(o.file.stored?n?"written":"written":"no issues found")),u&&(s&&!("type"in t.rows[s-1])&&r.push(""),r.push(u))}else{let e=o.reason;const i=/\r?\n|\r/.exec(e);let s;i?(s=e.slice(i.index),e=e.slice(0,i.index)):s="",r.push((" "+" ".repeat(t.sizes.place-XF(o.place))+o.place+" "+(n?("error"===o.label?"":"")+o.label+"":o.label)+" ".repeat(t.sizes.label-XF(o.label))+" "+e+" ".repeat(t.sizes.reason-XF(e))+" "+o.ruleId+" ".repeat(t.sizes.ruleId-XF(o.ruleId))+" "+(o.source||"")).replace(/ +$/,"")+s)}}const o=t.stats;if(o.fatal||o.warn){let t="";o.fatal&&(t=(n?""+KF.error+"":KF.error)+" "+o.fatal+" "+YF.true+(1===o.fatal?"":"s")),o.warn&&(t=(t?t+", ":"")+(n?""+KF.warning+"":KF.warning)+" "+o.warn+" "+YF.false+(1===o.warn?"":"s")),o.total!==o.fatal&&o.total!==o.warn&&(t=o.total+" messages ("+t+")"),r.push("",t)}return r.join("\n")}function XF(t){const e=/\r?\n|\r/.exec(t);return MF(e?t.slice(0,e.index):t)}const tC=zr().use((function(t,e){t.configuration=new PE(e)})).use((function(t,e,i){function n(t,e){return t.path{if(!s)return void i(r);const o=s.files;o.sort(n);let a=-1;for(;++a0){let t;return iF("Ignoring `streamIn`"),e.filePath&&(t=new Error("Do not pass both `--file-path` and real files.\nDid you mean to pass stdin instead of files?")),void i(t)}if(e.streamIn.isTTY)return iF("Cannot read from `tty` stream"),void i(new Error("No input"));iF("Reading from `streamIn`"),e.streamIn.pipe(eF({encoding:"string"},(n=>{const r=qx(e.filePath);iF("Read from `streamIn`"),r.cwd=e.cwd,r.value=n,r.data.unifiedEngineGiven=!0,r.data.unifiedEngineStreamIn=!0,t.files=[r],e.out=null===e.out||void 0===e.out||e.out,i()})))})).use((function(t,e,i){const n=new nF;if(t.fileSet=n,n.on("add",(i=>{RF.run({configuration:t.configuration,processor:e.processor(),fileSet:n,settings:e},i,(t=>{t&&Object.assign(i.message(t),{fatal:!0}),n.emit("one",i)}))})),n.on("done",i),0===t.files.length)i();else{let e=-1;for(;++et.data.unifiedEngineGiven&&!t.data.unifiedEngineIgnored)),Object.assign({},e.reporterOptions,{quiet:e.quiet,silent:e.silent,color:e.color}));if(n)return"\n"!==n.charAt(n.length-1)&&(n+="\n"),new Promise((t=>{e.streamError.write(n,t)}))}));var eC,iC,nC,rC,sC,oC,aC,uC,lC={exports:{}};function cC(){if(rC)return nC;rC=1;const t=iC?eC:(iC=1,eC={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]}),e={};for(const i of Object.keys(t))e[t[i]]=i;const i={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"]}};nC=i;for(const t of Object.keys(i)){if(!("channels"in i[t]))throw new Error("missing channels property: "+t);if(!("labels"in i[t]))throw new Error("missing channel labels property: "+t);if(i[t].labels.length!==i[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:n}=i[t];delete i[t].channels,delete i[t].labels,Object.defineProperty(i[t],"channels",{value:e}),Object.defineProperty(i[t],"labels",{value:n})}return i.rgb.hsl=function(t){const e=t[0]/255,i=t[1]/255,n=t[2]/255,r=Math.min(e,i,n),s=Math.max(e,i,n),o=s-r;let a,u;s===r?a=0:e===s?a=(i-n)/o:i===s?a=2+(n-e)/o:n===s&&(a=4+(e-i)/o),a=Math.min(60*a,360),a<0&&(a+=360);const l=(r+s)/2;return u=s===r?0:l<=.5?o/(s+r):o/(2-s-r),[a,100*u,100*l]},i.rgb.hsv=function(t){let e,i,n,r,s;const o=t[0]/255,a=t[1]/255,u=t[2]/255,l=Math.max(o,a,u),c=l-Math.min(o,a,u),h=function(t){return(l-t)/6/c+.5};return 0===c?(r=0,s=0):(s=c/l,e=h(o),i=h(a),n=h(u),o===l?r=n-i:a===l?r=1/3+e-n:u===l&&(r=2/3+i-e),r<0?r+=1:r>1&&(r-=1)),[360*r,100*s,100*l]},i.rgb.hwb=function(t){const e=t[0],n=t[1];let r=t[2];const s=i.rgb.hsl(t)[0],o=1/255*Math.min(e,Math.min(n,r));return r=1-1/255*Math.max(e,Math.max(n,r)),[s,100*o,100*r]},i.rgb.cmyk=function(t){const e=t[0]/255,i=t[1]/255,n=t[2]/255,r=Math.min(1-e,1-i,1-n);return[100*((1-e-r)/(1-r)||0),100*((1-i-r)/(1-r)||0),100*((1-n-r)/(1-r)||0),100*r]},i.rgb.keyword=function(i){const n=e[i];if(n)return n;let r,s=1/0;for(const e of Object.keys(t)){const n=t[e],u=(a=n,((o=i)[0]-a[0])**2+(o[1]-a[1])**2+(o[2]-a[2])**2);u.04045?((e+.055)/1.055)**2.4:e/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;return[100*(.4124*e+.3576*i+.1805*n),100*(.2126*e+.7152*i+.0722*n),100*(.0193*e+.1192*i+.9505*n)]},i.rgb.lab=function(t){const e=i.rgb.xyz(t);let n=e[0],r=e[1],s=e[2];n/=95.047,r/=100,s/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,s=s>.008856?s**(1/3):7.787*s+16/116;return[116*r-16,500*(n-r),200*(r-s)]},i.hsl.rgb=function(t){const e=t[0]/360,i=t[1]/100,n=t[2]/100;let r,s,o;if(0===i)return o=255*n,[o,o,o];r=n<.5?n*(1+i):n+i-n*i;const a=2*n-r,u=[0,0,0];for(let t=0;t<3;t++)s=e+1/3*-(t-1),s<0&&s++,s>1&&s--,o=6*s<1?a+6*(r-a)*s:2*s<1?r:3*s<2?a+(r-a)*(2/3-s)*6:a,u[t]=255*o;return u},i.hsl.hsv=function(t){const e=t[0];let i=t[1]/100,n=t[2]/100,r=i;const s=Math.max(n,.01);n*=2,i*=n<=1?n:2-n,r*=s<=1?s:2-s;return[e,100*(0===n?2*r/(s+r):2*i/(n+i)),100*((n+i)/2)]},i.hsv.rgb=function(t){const e=t[0]/60,i=t[1]/100;let n=t[2]/100;const r=Math.floor(e)%6,s=e-Math.floor(e),o=255*n*(1-i),a=255*n*(1-i*s),u=255*n*(1-i*(1-s));switch(n*=255,r){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]}},i.hsv.hsl=function(t){const e=t[0],i=t[1]/100,n=t[2]/100,r=Math.max(n,.01);let s,o;o=(2-i)*n;const a=(2-i)*r;return s=i*r,s/=a<=1?a:2-a,s=s||0,o/=2,[e,100*s,100*o]},i.hwb.rgb=function(t){const e=t[0]/360;let i=t[1]/100,n=t[2]/100;const r=i+n;let s;r>1&&(i/=r,n/=r);const o=Math.floor(6*e),a=1-n;s=6*e-o,1&o&&(s=1-s);const u=i+s*(a-i);let l,c,h;switch(o){default:case 6:case 0:l=a,c=u,h=i;break;case 1:l=u,c=a,h=i;break;case 2:l=i,c=a,h=u;break;case 3:l=i,c=u,h=a;break;case 4:l=u,c=i,h=a;break;case 5:l=a,c=i,h=u}return[255*l,255*c,255*h]},i.cmyk.rgb=function(t){const e=t[0]/100,i=t[1]/100,n=t[2]/100,r=t[3]/100;return[255*(1-Math.min(1,e*(1-r)+r)),255*(1-Math.min(1,i*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r))]},i.xyz.rgb=function(t){const e=t[0]/100,i=t[1]/100,n=t[2]/100;let r,s,o;return r=3.2406*e+-1.5372*i+-.4986*n,s=-.9689*e+1.8758*i+.0415*n,o=.0557*e+-.204*i+1.057*n,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,r=Math.min(Math.max(0,r),1),s=Math.min(Math.max(0,s),1),o=Math.min(Math.max(0,o),1),[255*r,255*s,255*o]},i.xyz.lab=function(t){let e=t[0],i=t[1],n=t[2];e/=95.047,i/=100,n/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;return[116*i-16,500*(e-i),200*(i-n)]},i.lab.xyz=function(t){let e,i,n;i=(t[0]+16)/116,e=t[1]/500+i,n=i-t[2]/200;const r=i**3,s=e**3,o=n**3;return i=r>.008856?r:(i-16/116)/7.787,e=s>.008856?s:(e-16/116)/7.787,n=o>.008856?o:(n-16/116)/7.787,e*=95.047,i*=100,n*=108.883,[e,i,n]},i.lab.lch=function(t){const e=t[0],i=t[1],n=t[2];let r;r=360*Math.atan2(n,i)/2/Math.PI,r<0&&(r+=360);return[e,Math.sqrt(i*i+n*n),r]},i.lch.lab=function(t){const e=t[0],i=t[1],n=t[2]/360*2*Math.PI;return[e,i*Math.cos(n),i*Math.sin(n)]},i.rgb.ansi16=function(t,e=null){const[n,r,s]=t;let o=null===e?i.rgb.hsv(t)[2]:e;if(o=Math.round(o/50),0===o)return 30;let a=30+(Math.round(s/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===o&&(a+=60),a},i.hsv.ansi16=function(t){return i.rgb.ansi16(i.hsv.rgb(t),t[2])},i.rgb.ansi256=function(t){const e=t[0],i=t[1],n=t[2];if(e===i&&i===n)return e<8?16:e>248?231:Math.round((e-8)/247*24)+232;return 16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5)},i.ansi16.rgb=function(t){let e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const i=.5*(1+~~(t>50));return[(1&e)*i*255,(e>>1&1)*i*255,(e>>2&1)*i*255]},i.ansi256.rgb=function(t){if(t>=232){const e=10*(t-232)+8;return[e,e,e]}let e;t-=16;return[Math.floor(t/36)/5*255,Math.floor((e=t%36)/6)/5*255,e%6/5*255]},i.rgb.hex=function(t){const e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},i.hex.rgb=function(t){const e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let i=e[0];3===e[0].length&&(i=i.split("").map((t=>t+t)).join(""));const n=parseInt(i,16);return[n>>16&255,n>>8&255,255&n]},i.rgb.hcg=function(t){const e=t[0]/255,i=t[1]/255,n=t[2]/255,r=Math.max(Math.max(e,i),n),s=Math.min(Math.min(e,i),n),o=r-s;let a,u;return a=o<1?s/(1-o):0,u=o<=0?0:r===e?(i-n)/o%6:r===i?2+(n-e)/o:4+(e-i)/o,u/=6,u%=1,[360*u,100*o,100*a]},i.hsl.hcg=function(t){const e=t[1]/100,i=t[2]/100,n=i<.5?2*e*i:2*e*(1-i);let r=0;return n<1&&(r=(i-.5*n)/(1-n)),[t[0],100*n,100*r]},i.hsv.hcg=function(t){const e=t[1]/100,i=t[2]/100,n=e*i;let r=0;return n<1&&(r=(i-n)/(1-n)),[t[0],100*n,100*r]},i.hcg.rgb=function(t){const e=t[0]/360,i=t[1]/100,n=t[2]/100;if(0===i)return[255*n,255*n,255*n];const r=[0,0,0],s=e%1*6,o=s%1,a=1-o;let u=0;switch(Math.floor(s)){case 0:r[0]=1,r[1]=o,r[2]=0;break;case 1:r[0]=a,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=o;break;case 3:r[0]=0,r[1]=a,r[2]=1;break;case 4:r[0]=o,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=a}return u=(1-i)*n,[255*(i*r[0]+u),255*(i*r[1]+u),255*(i*r[2]+u)]},i.hcg.hsv=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);let n=0;return i>0&&(n=e/i),[t[0],100*n,100*i]},i.hcg.hsl=function(t){const e=t[1]/100,i=t[2]/100*(1-e)+.5*e;let n=0;return i>0&&i<.5?n=e/(2*i):i>=.5&&i<1&&(n=e/(2*(1-i))),[t[0],100*n,100*i]},i.hcg.hwb=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);return[t[0],100*(i-e),100*(1-i)]},i.hwb.hcg=function(t){const e=t[1]/100,i=1-t[2]/100,n=i-e;let r=0;return n<1&&(r=(i-n)/(1-n)),[t[0],100*n,100*r]},i.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},i.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},i.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},i.gray.hsl=function(t){return[0,0,t[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(t){return[0,100,t[0]]},i.gray.cmyk=function(t){return[0,0,0,t[0]]},i.gray.lab=function(t){return[t[0],0,0]},i.gray.hex=function(t){const e=255&Math.round(t[0]/100*255),i=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(i.length)+i},i.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]},nC}function hC(){if(oC)return sC;oC=1;const t=cC();function e(e){const i=function(){const e={},i=Object.keys(t);for(let t=i.length,n=0;n{i[n]={},Object.defineProperty(i[n],"channels",{value:t[n].channels}),Object.defineProperty(i[n],"labels",{value:t[n].labels});const r=e(n);Object.keys(r).forEach((t=>{const e=r[t];i[n][t]=function(t){const e=function(...e){const i=e[0];if(null==i)return i;i.length>1&&(e=i);const n=t(e);if("object"==typeof n)for(let t=n.length,e=0;e1&&(e=i),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(e)}))})),aC=i}!function(t){const e=(t,e)=>(...i)=>`[${t(...i)+e}m`,i=(t,e)=>(...i)=>{const n=t(...i);return`[${38+e};5;${n}m`},n=(t,e)=>(...i)=>{const n=t(...i);return`[${38+e};2;${n[0]};${n[1]};${n[2]}m`},r=t=>t,s=(t,e,i)=>[t,e,i],o=(t,e,i)=>{Object.defineProperty(t,e,{get:()=>{const n=i();return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})};let a;const u=(t,e,i,n)=>{void 0===a&&(a=pC());const r=n?10:0,s={};for(const[n,o]of Object.entries(a)){const a="ansi16"===n?"ansi":n;n===e?s[a]=t(i,r):"object"==typeof o&&(s[a]=t(o[e],r))}return s};Object.defineProperty(t,"exports",{enumerable:!0,get:function(){const t=new Map,a={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],blackBright:[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]}};a.color.gray=a.color.blackBright,a.bgColor.bgGray=a.bgColor.bgBlackBright,a.color.grey=a.color.blackBright,a.bgColor.bgGrey=a.bgColor.bgBlackBright;for(const[e,i]of Object.entries(a)){for(const[e,n]of Object.entries(i))a[e]={open:`[${n[0]}m`,close:`[${n[1]}m`},i[e]=a[e],t.set(n[0],n[1]);Object.defineProperty(a,e,{value:i,enumerable:!1})}return Object.defineProperty(a,"codes",{value:t,enumerable:!1}),a.color.close="",a.bgColor.close="",o(a.color,"ansi",(()=>u(e,"ansi16",r,!1))),o(a.color,"ansi256",(()=>u(i,"ansi256",r,!1))),o(a.color,"ansi16m",(()=>u(n,"rgb",s,!1))),o(a.bgColor,"ansi",(()=>u(e,"ansi16",r,!0))),o(a.bgColor,"ansi256",(()=>u(i,"ansi256",r,!0))),o(a.bgColor,"ansi16m",(()=>u(n,"rgb",s,!0))),a}})}(lC);var fC=lC.exports,dC=(t,e=process.argv)=>{const i=t.startsWith("-")?"":1===t.length?"-":"--",n=e.indexOf(i+t),r=e.indexOf("--");return-1!==n&&(-1===r||n=2,has16m:t>=3}}function DC(t,e){if(0===wC)return 0;if(yC("color=16m")||yC("color=full")||yC("color=truecolor"))return 3;if(yC("color=256"))return 2;if(t&&!e&&void 0===wC)return 0;const i=wC||0;if("dumb"===bC.TERM)return i;if("win32"===process.platform){const t=gC.release().split(".");return Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in bC)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((t=>t in bC))||"codeship"===bC.CI_NAME?1:i;if("TEAMCITY_VERSION"in bC)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(bC.TEAMCITY_VERSION)?1:0;if("truecolor"===bC.COLORTERM)return 3;if("TERM_PROGRAM"in bC){const t=parseInt((bC.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(bC.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(bC.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(bC.TERM)||"COLORTERM"in bC?1:i}yC("no-color")||yC("no-colors")||yC("color=false")||yC("color=never")?wC=0:(yC("color")||yC("colors")||yC("color=true")||yC("color=always"))&&(wC=1),"FORCE_COLOR"in bC&&(wC="true"===bC.FORCE_COLOR?1:"false"===bC.FORCE_COLOR?0:0===bC.FORCE_COLOR.length?1:Math.min(parseInt(bC.FORCE_COLOR,10),3));var kC={supportsColor:function(t){return vC(DC(t,t&&t.isTTY))},stdout:vC(DC(!0,mC.isatty(1))),stderr:vC(DC(!0,mC.isatty(2)))};var EC,xC,AC={stringReplaceAll:(t,e,i)=>{let n=t.indexOf(e);if(-1===n)return t;const r=e.length;let s=0,o="";do{o+=t.substr(s,n-s)+e+i,s=n+r,n=t.indexOf(e,s)}while(-1!==n);return o+=t.substr(s),o},stringEncaseCRLFWithFirstIndex:(t,e,i,n)=>{let r=0,s="";do{const o="\r"===t[n-1];s+=t.substr(r,(o?n-1:n)-r)+e+(o?"\r\n":"\n")+i,r=n+1,n=t.indexOf("\n",r)}while(-1!==n);return s+=t.substr(r),s}};const FC=fC,{stdout:CC,stderr:SC}=kC,{stringReplaceAll:_C,stringEncaseCRLFWithFirstIndex:jC}=AC,{isArray:OC}=Array,BC=["ansi","ansi","ansi256","ansi16m"],TC=Object.create(null);let RC=class{constructor(t){return IC(t)}};const IC=t=>{const e={};return((t,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const i=CC?CC.level:0;t.level=void 0===e.level?i:e.level})(e,t),e.template=(...t)=>UC(e.template,...t),Object.setPrototypeOf(e,$C.prototype),Object.setPrototypeOf(e.template,e),e.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},e.template.Instance=RC,e.template};function $C(t){return IC(t)}for(const[t,e]of Object.entries(FC))TC[t]={get(){const i=MC(this,PC(e.open,e.close,this._styler),this._isEmpty);return Object.defineProperty(this,t,{value:i}),i}};TC.visible={get(){const t=MC(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:t}),t}};const NC=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const t of NC)TC[t]={get(){const{level:e}=this;return function(...i){const n=PC(FC.color[BC[e]][t](...i),FC.color.close,this._styler);return MC(this,n,this._isEmpty)}}};for(const t of NC){TC["bg"+t[0].toUpperCase()+t.slice(1)]={get(){const{level:e}=this;return function(...i){const n=PC(FC.bgColor[BC[e]][t](...i),FC.bgColor.close,this._styler);return MC(this,n,this._isEmpty)}}}}const LC=Object.defineProperties((()=>{}),{...TC,level:{enumerable:!0,get(){return this._generator.level},set(t){this._generator.level=t}}}),PC=(t,e,i)=>{let n,r;return void 0===i?(n=t,r=e):(n=i.openAll+t,r=e+i.closeAll),{open:t,close:e,openAll:n,closeAll:r,parent:i}},MC=(t,e,i)=>{const n=(...t)=>OC(t[0])&&OC(t[0].raw)?zC(n,UC(n,...t)):zC(n,1===t.length?""+t[0]:t.join(" "));return Object.setPrototypeOf(n,LC),n._generator=t,n._styler=e,n._isEmpty=i,n},zC=(t,e)=>{if(t.level<=0||!e)return t._isEmpty?"":e;let i=t._styler;if(void 0===i)return e;const{openAll:n,closeAll:r}=i;if(-1!==e.indexOf(""))for(;void 0!==i;)e=_C(e,i.close,i.open),i=i.parent;const s=e.indexOf("\n");return-1!==s&&(e=jC(e,r,n,s)),n+e+r};let qC;const UC=(t,...e)=>{const[i]=e;if(!OC(i)||!OC(i.raw))return e.join(" ");const n=e.slice(1),r=[i.raw[0]];for(let t=1;te?s(e):i)))}else r.push(o)}return r}function a(t){e.lastIndex=0;const i=[];let n;for(;null!==(n=e.exec(t));){const t=n[1];if(n[2]){const e=o(t,n[2]);i.push([t].concat(e))}else i.push([t])}return i}function u(t,e){const i={};for(const t of e)for(const e of t.styles)i[e[0]]=t.inverse?null:e.slice(1);let n=t;for(const[t,e]of Object.entries(i))if(Array.isArray(e)){if(!(t in n))throw new Error(`Unknown Chalk style: ${t}`);n=e.length>0?n[t](...e):n[t]}return n}return EC=(e,i)=>{const n=[],r=[];let o=[];if(i.replace(t,((t,i,l,c,h,p)=>{if(i)o.push(s(i));else if(c){const t=o.join("");o=[],r.push(0===n.length?t:u(e,n)(t)),n.push({inverse:l,styles:a(c)})}else if(h){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(u(e,n)(o.join(""))),o=[],n.pop()}else o.push(p)})),r.push(o.join("")),n.length>0){const t=`Chalk template literal is missing ${n.length} closing bracket${1===n.length?"":"s"} (\`}\`)`;throw new Error(t)}return r.join("")},EC}()),qC(t,r.join(""))};Object.defineProperties($C.prototype,TC);const GC=$C();GC.supportsColor=CC,GC.stderr=$C({level:SC?SC.level:0}),GC.stderr.supportsColor=SC;var WC=q(GC);const HC={addendum:"addenda",aircraft:"aircraft",alga:"algae",alumna:"alumnae",alumnus:"alumni",alveolus:"alveoli",amoeba:"amoebae",analysis:"analyses",antenna:"antennae",antithesis:"antitheses",apex:"apices",appendix:"appendices",automaton:"automata",axis:"axes",bacillus:"bacilli",bacterium:"bacteria",baculum:"bacula",barracks:"barracks",basis:"bases",beau:"beaux",bison:"bison",buffalo:"buffalo",bureau:"bureaus",cactus:"cacti",calf:"calves",carcinoma:"carcinomata",carp:"carp",census:"censuses",chassis:"chassis",cherub:"cherubim",child:"children","château":"châteaus",cloaca:"cloacae",cod:"cod",codex:"codices",concerto:"concerti",consortium:"consortia",corpus:"corpora",crisis:"crises",criterion:"criteria",curriculum:"curricula",cystoma:"cystomata",datum:"data",deer:"deer",diagnosis:"diagnoses",die:"dice",dwarf:"dwarfs",echo:"echoes",elf:"elves",elk:"elk",ellipsis:"ellipses",embargo:"embargoes",emphasis:"emphases",erratum:"errata","faux pas":"faux pas",fez:"fezes",firmware:"firmware",fish:"fish",focus:"foci",foot:"feet",formula:"formulae",fungus:"fungi",gallows:"gallows",genus:"genera",glomerulus:"glomeruli",goose:"geese",graffito:"graffiti",grouse:"grouse",half:"halves",hamulus:"hamuli",hero:"heroes",hippopotamus:"hippopotami",hoof:"hooves",hovercraft:"hovercraft",hypothesis:"hypotheses",iliac:"ilia",incubus:"incubi",index:"indices",interstitium:"interstitia",kakapo:"kakapo",knife:"knives",larva:"larvae",leaf:"leaves",libretto:"libretti",life:"lives",loaf:"loaves",loculus:"loculi",locus:"loci",louse:"lice",man:"men",matrix:"matrices",means:"means",measles:"measles",media:"media",medium:"media",memorandum:"memoranda",millennium:"millennia",minutia:"minutiae",moose:"moose",mouse:"mice",nebula:"nebulae",nemesis:"nemeses",neurosis:"neuroses",news:"news",nucleolus:"nucleoli",nucleus:"nuclei",oasis:"oases",occiput:"occipita",offspring:"offspring",omphalos:"omphaloi",opus:"opera",ovum:"ova",ox:"oxen",paralysis:"paralyses",parenthesis:"parentheses",person:"people",phenomenon:"phenomena",phylum:"phyla",pike:"pike",polyhedron:"polyhedra",potato:"potatoes",primus:"primi",prognosis:"prognoses",quiz:"quizzes",radius:"radii",referendum:"referenda",salmon:"salmon",scarf:"scarves",scrotum:"scrota",self:"selves",seminoma:"seminomata",series:"series",sheep:"sheep",shelf:"shelves",shrimp:"shrimp",simulacrum:"simulacra",soliloquy:"soliloquies",spacecraft:"spacecraft",species:"species",spectrum:"spectra",squid:"squid",stimulus:"stimuli",stratum:"strata",swine:"swine",syconium:"syconia",syllabus:"syllabi",symposium:"symposia",synopsis:"synopses",synthesis:"syntheses",tableau:"tableaus",testis:"testes",that:"those",thesis:"theses",thief:"thieves",this:"these",thrombus:"thrombi",tomato:"tomatoes",tooth:"teeth",torus:"tori",trout:"trout",tuna:"tuna",umbilicus:"umbilici",uterus:"uteri",vertebra:"vertebrae",vertex:"vertices",veto:"vetoes",vita:"vitae",vortex:"vortices",watercraft:"watercraft",wharf:"wharves",wife:"wives",wolf:"wolves",woman:"women"};var VC=q(new Map(Object.entries(HC)));function KC(t,e,i){if("number"==typeof e&&(i=e),VC.has(t.toLowerCase())){e=VC.get(t.toLowerCase());const i=t.charAt(0);i===i.toUpperCase()&&(e=i+e.slice(1));t===t.toUpperCase()&&(e=e.toUpperCase())}else"string"!=typeof e&&(e=(t.replace(/(?:s|x|z|ch|sh)$/i,"$&e").replace(/([^aeiou])y$/i,"$1ie")+"s").replace(/i?e?s$/i,(e=>t.slice(-1)===t.slice(-1).toLowerCase()?e.toLowerCase():e.toUpperCase())));return 1===Math.abs(i)?t:e}const YC="[",JC="]",ZC="",QC=";",XC="Apple_Terminal"===process.env.TERM_PROGRAM,tS={cursorTo:(t,e)=>{if("number"!=typeof t)throw new TypeError("The `x` argument is required");return"number"!=typeof e?YC+(t+1)+"G":YC+(e+1)+";"+(t+1)+"H"},cursorMove:(t,e)=>{if("number"!=typeof t)throw new TypeError("The `x` argument is required");let i="";return t<0?i+=YC+-t+"D":t>0&&(i+=YC+t+"C"),e<0?i+=YC+-e+"A":e>0&&(i+=YC+e+"B"),i},cursorUp:(t=1)=>YC+t+"A",cursorDown:(t=1)=>YC+t+"B",cursorForward:(t=1)=>YC+t+"C",cursorBackward:(t=1)=>YC+t+"D",cursorLeft:""};tS.cursorSavePosition=XC?"7":"",tS.cursorRestorePosition=XC?"8":"",tS.cursorGetPosition="",tS.cursorNextLine="",tS.cursorPrevLine="",tS.cursorHide="[?25l",tS.cursorShow="[?25h",tS.eraseLines=t=>{let e="";for(let i=0;i[JC,"8",QC,QC,e,ZC,t,JC,"8",QC,QC,ZC].join(""),tS.image=(t,e={})=>{let i=`${JC}1337;File=inline=1`;return e.width&&(i+=`;width=${e.width}`),e.height&&(i+=`;height=${e.height}`),!1===e.preserveAspectRatio&&(i+=";preserveAspectRatio=0"),i+":"+t.toString("base64")+ZC},tS.iTerm={setCwd:(t=process.cwd())=>`${JC}50;CurrentDir=${t}${ZC}`,annotation:(t,e={})=>{let i=`${JC}1337;`;const n=void 0!==e.x,r=void 0!==e.y;if((n||r)&&(!n||!r||void 0===e.length))throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");return t=t.replace(/\|/g,""),i+=e.isHidden?"AddHiddenAnnotation=":"AddAnnotation=",e.length>0?i+=(n?[t,e.length,e.x,e.y]:[e.length,t]).join("|"):i+=t,i+ZC}};const eS=h,iS=w,nS=dC,{env:rS}=process;let sS;function oS(t){return 0!==t&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function aS(t,e){if(0===sS)return 0;if(nS("color=16m")||nS("color=full")||nS("color=truecolor"))return 3;if(nS("color=256"))return 2;if(t&&!e&&void 0===sS)return 0;const i=sS||0;if("dumb"===rS.TERM)return i;if("win32"===process.platform){const t=eS.release().split(".");return Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in rS)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((t=>t in rS))||"codeship"===rS.CI_NAME?1:i;if("TEAMCITY_VERSION"in rS)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(rS.TEAMCITY_VERSION)?1:0;if("truecolor"===rS.COLORTERM)return 3;if("TERM_PROGRAM"in rS){const t=parseInt((rS.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(rS.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(rS.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(rS.TERM)||"COLORTERM"in rS?1:i}nS("no-color")||nS("no-colors")||nS("color=false")||nS("color=never")?sS=0:(nS("color")||nS("colors")||nS("color=true")||nS("color=always"))&&(sS=1),"FORCE_COLOR"in rS&&(sS="true"===rS.FORCE_COLOR?1:"false"===rS.FORCE_COLOR?0:0===rS.FORCE_COLOR.length?1:Math.min(parseInt(rS.FORCE_COLOR,10),3));var uS={supportsColor:function(t){return oS(aS(t,t&&t.isTTY))},stdout:oS(aS(!0,iS.isatty(1))),stderr:oS(aS(!0,iS.isatty(2)))};const lS=uS,cS=dC;function hS(t){if(/^\d{3,4}$/.test(t)){const e=/(\d{1,2})(\d{2})/.exec(t);return{major:0,minor:parseInt(e[1],10),patch:parseInt(e[2],10)}}const e=(t||"").split(".").map((t=>parseInt(t,10)));return{major:e[0],minor:e[1],patch:e[2]}}function pS(t){const{env:e}=process;if("FORCE_HYPERLINK"in e)return!(e.FORCE_HYPERLINK.length>0&&0===parseInt(e.FORCE_HYPERLINK,10));if(cS("no-hyperlink")||cS("no-hyperlinks")||cS("hyperlink=false")||cS("hyperlink=never"))return!1;if(cS("hyperlink=true")||cS("hyperlink=always"))return!0;if("NETLIFY"in e)return!0;if(!lS.supportsColor(t))return!1;if(t&&!t.isTTY)return!1;if("win32"===process.platform)return!1;if("CI"in e)return!1;if("TEAMCITY_VERSION"in e)return!1;if("TERM_PROGRAM"in e){const t=hS(e.TERM_PROGRAM_VERSION);switch(e.TERM_PROGRAM){case"iTerm.app":return 3===t.major?t.minor>=1:t.major>3;case"WezTerm":return t.major>=20200620;case"vscode":return t.major>1||1===t.major&&t.minor>=72}}if("VTE_VERSION"in e){if("0.50.0"===e.VTE_VERSION)return!1;const t=hS(e.VTE_VERSION);return t.major>0||t.minor>=50}return!1}var fS={supportsHyperlink:pS,stdout:pS(process.stdout),stderr:pS(process.stderr)};const dS={"10x":{repository:"https://github.com/JonnyBurger/eslint-plugin-10x"},"66nao":{repository:"https://github.com/66nao/eslint-glugin-66nao"},"6river":{repository:"https://github.com/6RiverSystems/eslint-plugin-6river"},"7g":{repository:"https://github.com/7Geese/eslint-plugin-7g"},"@-k/eslint-plugin":{repository:"https://github.com/AdrieanKhisbe/my-node-libraries"},"@0x706b/eslint-plugin-align-assignments":{repository:"https://github.com/0x706b/eslint-plugin-align-assignments"},"@0y0/eslint-plugin-react":{repository:"https://github.com/o0y0o/f2e-dev-toolkit"},"@10stars/eslint-plugin-react-hooks":{repository:"https://github.com/facebook/react"},"@10up/eslint-plugin":{repository:"https://github.com/10up/10up-toolkit"},"@18f/eslint-plugin-identity":{repository:"https://github.com/18f/identity-idp"},"@20minutes/eslint-plugin-graphql":{repository:"https://github.com/20minutes/eslint-plugin-graphql"},"@2chevskii/eslint-plugin-putout":{repository:"https://github.com/2chevskii/eslint-plugin-putout"},"@4dvn-hieu/eslint-plugin-dollar-sign":{repository:"https://github.com/erikdesjardins/eslint-plugin-dollar-sign"},"@6river/eslint-plugin-6river":{repository:"https://github.com/6RiverSystems/eslint-plugin-6river"},"@aarondewes/wp-eslint-plugin":{repository:"https://github.com/AaronDewes/gutenberg"},"@acmecryptocorp/eslint-plugin":{repository:"https://github.com/acmecryptocorp/eslint-plugin"},"@adalo/eslint-plugin-axios":{repository:"https://github.com/AdaloHQ/eslint"},"@adnovum-eslint/eslint-plugin":{repository:"https://github.com/npm/security-holder"},"@aereal/eslint-plugin-react-type-safe-render":{repository:"https://github.com/aereal/react-type-safe-render"},"@aiou/eslint-plugin-analyze":{repository:"https://github.com/JiangWeixian/templates"},"@aiou/eslint-plugin-progress":{repository:"https://github.com/JiangWeixian/eslint-config"},"@akphi/eslint-plugin":{repository:"https://github.com/akphi/config-tester"},"@alasdair/eslint-plugin-max-len":{repository:"https://github.com/alasdairhurst/eslint-plugin-max-len"},"@alexrafael10/eslint-plugin-prettier-vue":{repository:"https://github.com/alexrafael10/eslint-plugin-prettier-vue"},"@alexreardon/eslint-plugin-react-hooks":{repository:"https://github.com/facebook/react"},"@alibaba-aero/eslint-plugin-json":{repository:"https://github.com/azeemba/eslint-plugin-json"},"@alixfachin/eslint-plugin-riotjs":{repository:"https://github.com/AlixFachin/eslint-plugin-riotjs"},"@alongvili/eslint-plugin-remix":{repository:"https://github.com/AlonGvili/eslint-plugin-remix"},"@americanexpress/eslint-plugin-one-app":{repository:"https://github.com/americanexpress/one-app-cli"},"@aminya/eslint-plugin-only-warn":{repository:"https://github.com/aminya/eslint-plugin-only-warn"},"@anansi/eslint-plugin":{repository:"https://github.com/ntucker/anansi"},"@andreyvolokitin/eslint-plugin-destructuring":{repository:"https://github.com/lukeapage/eslint-plugin-destructuring"},"@angelventura/eslint-plugin-ejs":{repository:"https://github.com/angelventura/eslint-plugin-ejs"},"@angular-eslint/eslint-plugin":{repository:"https://github.com/angular-eslint/angular-eslint"},"@angular-eslint/eslint-plugin-template":{repository:"https://github.com/angular-eslint/angular-eslint"},"@angular-ru/eslint-plugin-enterprise":{repository:"https://github.com/Angular-RU/angular-ru-sdk"},"@anireact/eslint-plugin":{repository:"https://github.com/anireact/zc"},"@anshulsanghi/eslint-plugin-enforce-apollo-error-handling":{repository:"https://github.com/anshap1719/eslint-plugin-enforce-apollo-error-handling"},"@anshulsanghi/eslint-plugin-playwright":{repository:"https://github.com/anshap1719/eslint-plugin-playwright"},"@aortman/eslint-plugin-import":{repository:"https://github.com/benmosher/eslint-plugin-import"},"@applitools/eslint-plugin-compat":{repository:"https://github.com/applitools/eslint-plugin-compat"},"@appruut/eslint-plugin":{repository:"https://github.com/appruut/eslint-plugin"},"@appulate/eslint-plugin":{repository:"https://github.com/appulate/eslint-plugin-appulate"},"@arnaud-barre/eslint-plugin-custom":{repository:"https://github.com/ArnaudBarre/eslint-config"},"@arnaud-barre/eslint-plugin-local":{repository:"https://github.com/ArnaudBarre/eslint-config"},"@asbjorn/eslint-plugin-groq":{repository:"https://github.com/asbjornh/eslint-plugin-groq"},"@atlauncher/eslint-plugin-atlauncher":{repository:"https://github.com/ATLauncher/javascript"},"@augustaba/eslint-plugin":{repository:"https://github.com/augustaba/rider"},"@authing/eslint-plugin-nestjs":{repository:"https://github.com/Authing/eslint-plugin-nestjs"},"@autoguru/eslint-plugin":{repository:"https://github.com/autoguru-au/octane"},"@automattic/eslint-plugin-wpvip":{repository:"https://github.com/Automattic/eslint-config-wpvip"},"@avaly/eslint-plugin-import-order":{repository:"https://github.com/avaly/eslint-plugin-import-order"},"@babel/eslint-plugin":{repository:"https://github.com/babel/babel"},"@babel/eslint-plugin-development":{repository:"https://github.com/babel/babel"},"@bdwain/eslint-plugin-better-mutation":{repository:"https://github.com/sloops77/eslint-plugin-better-mutation"},"@beequeue/eslint-plugin":{repository:"https://github.com/BeeeQueue/eslint-plugin"},"@bel0v/eslint-plugin-deprecate":{repository:"https://github.com/AlexMost/eslint-plugin-deprecate"},"@bem-react/eslint-plugin":{repository:"https://github.com/bem/bem-react"},"@bentley/eslint-plugin":{repository:"https://github.com/imodeljs/imodeljs"},"@berlysia/generator-eslint-plugin":{repository:"https://github.com/berlysia/generator-eslint-plugin"},"@bernardmcmanus/eslint-plugin":{repository:"https://github.com/bernardmcmanus/standards"},"@bigcommerce/eslint-plugin":{repository:"https://github.com/bigcommerce/eslint-config"},"@bigtaddy/eslint-plugin-simple-import-sort":{repository:"https://github.com/bigtaddy/eslint-plugin-simple-import-sort"},"@bigtest/eslint-plugin":{repository:"https://github.com/thefrontside/bigtest"},"@binary64/eslint-plugin":{repository:"https://github.com/binary64/eslint-plugin"},"@bitassembly/eslint-plugin-import-alias":{repository:"https://github.com/jamsuu/eslint-plugin-import-alias"},"@bjervis/eslint-plugin-redundant-stack":{repository:"https://github.com/benjervis/eslint-plugin-redundant-stack"},"@bjervis/eslint-plugin-scoobie":{repository:"https://github.com/benjervis/eslint-plugin-scoobie"},"@black_hole/eslint-plugin":{repository:"https://github.com/netless-io/eslint-plugin"},"@black_hole/eslint-plugin-black_hole":{repository:"https://github.com/netless-io/eslint-plugin-netless"},"@black_hole/eslint-plugin-netless":{repository:"https://github.com/netless-io/eslint-plugin-netless"},"@blackflux/eslint-plugin-rules":{repository:"https://github.com/blackflux/eslint-plugin-rules"},"@bluecateng/eslint-plugin":{repository:"https://github.com/bluecatengineering/eslint-packages"},"@bluelovers/eslint-plugin":{repository:"https://github.com/bluelovers/ws-node-bluelovers"},"@blueprint-modernized/eslint-plugin":{repository:"https://github.com/palantir/blueprint"},"@blueprintjs/eslint-plugin":{repository:"https://github.com/palantir/blueprint"},"@blueprintjs/eslint-plugin-blueprint":{repository:"https://github.com/palantir/blueprint"},"@bo2kshelf/eslint-plugin":{repository:"https://github.com/bo2kshelf/eslint-plugin"},"@br/eslint-plugin-laws-of-the-game":{repository:"https://github.com/bleacherreport/eslint-plugin-laws-of-the-game"},"@breadhead/eslint-plugin-react-hooks":{repository:"https://github.com/breadhead/eslint-plugin-react-hooks"},"@breautek/eslint-plugin":{repository:"https://github.com/breautek/eslint-plugin"},"@brettz9/eslint-plugin":{repository:"https://github.com/brettz9/eslint-plugin"},"@builder.io/eslint-plugin-mitosis":{repository:"https://github.com/BuilderIO/mitosis"},"@buildertrend/eslint-plugin-enterprise-extras":{repository:"https://github.com/buildertrend/eslint-plugin-enterprise-extras"},"@bullhorn/eslint-plugin-bullhorn":{repository:"https://github.com/bullhorn/eslint-plugin-bullhorn"},"@busybox/eslint-plugin-json":{repository:"https://github.com/davidNHK/busybox"},"@bve/eslint-plugin":{repository:"https://github.com/bvejs/bve"},"@byteever/eslint-plugin":{repository:"https://github.com/byteever/eslint-plugin"},"@c-hess/eslint-plugin-enterprise-extras":{repository:"https://github.com/C-Hess/eslint-plugin-enterprise-extras"},"@calm/eslint-plugin-react-intl":{repository:"https://github.com/calm/eslint-plugin-react-intl"},"@canarise/snowpack-eslint-plugin":{repository:"https://github.com/leebeydoun/snowpack-eslint-plugin"},"@cazoo/eslint-plugin-eslint":{repository:"https://github.com/Cazoo-uk/cazoo-eslint"},"@cebus/eslint-plugin":{repository:"https://github.com/cebus-org/cebus"},"@chainsafe/eslint-plugin-node":{repository:"https://github.com/mysticatea/eslint-plugin-node"},"@change-org/eslint-plugin-change":{repository:"https://github.com/change/javascript"},"@channel.io/eslint-plugin":{repository:"https://github.com/channel-io/eslint-plugin"},"@chanzuckerberg/eslint-plugin-stories":{repository:"https://github.com/chanzuckerberg/frontend-libs"},"@checkdigit/eslint-plugin":{repository:"https://github.com/checkdigit/eslint-plugin"},"@chensi-thunder/eslint-plugin-vue":{repository:"https://github.com/chensi-thunder/eslint-plugin-vue"},"@chialab/eslint-plugin":{repository:"https://github.com/chialab/eslint-config"},"@chris-zhu/eslint-plugin":{repository:"https://github.com/chris-zhu/eslint-config"},"@clark/eslint-plugin-import-helpers-with-package":{repository:"https://github.com/ClarkSource/eslint-config"},"@cloudfour/eslint-plugin":{repository:"https://github.com/cloudfour/eslint-config"},"@clr/eslint-plugin-clarity-adoption":{repository:"https://github.com/vmware-clarity/core"},"@codaco/eslint-plugin-spellcheck":{repository:"https://github.com/codaco/eslint-plugin-spellcheck"},"@codar/eslint-plugin":{repository:"https://github.com/codarme/stylelint"},"@code-atlantic/eslint-plugin":{repository:"https://github.com/code-atlantic/coding-standards"},"@coderscamp/eslint-plugin":{repository:"https://github.com/npm/security-holder"},"@codeutils/eslint-plugin-code-struct":{repository:"https://github.com/cssmiles/eslint-code-struct"},"@cognibox/eslint-plugin-no-super-async":{repository:"https://github.com/cognibox/eslint-no-super-async"},"@cognibox/eslint-plugin-vue-require-component-key":{repository:"https://github.com/cognibox/eslint-vue-require-component-key"},"@cometjs/eslint-plugin":{repository:"https://github.com/cometkim/cometjs"},"@compas/eslint-plugin":{repository:"https://github.com/compasjs/compas"},"@compass-aiden/eslint-plugin":{repository:"https://github.com/Aiden-FE/compass-eslint"},"@compiled/eslint-plugin":{repository:"https://github.com/atlassian-labs/compiled"},"@coorpacademy/eslint-plugin-coorpacademy":{repository:"https://github.com/CoorpAcademy/eslint-plugin-coorpacademy"},"@copyist/eslint-plugin":{repository:"https://github.com/ooooevan/copyist"},"@corbinu/eslint-plugin-typescript":{repository:"https://github.com/typescript-eslint/typescript-eslint"},"@corefw/eslint-plugin-corefw":{repository:"https://github.com/corefw/core-eslint-plugin-corefw"},"@creuna/eslint-plugin-prop-types-csharp":{repository:"https://github.com/Creuna-Oslo/eslint-plugin-prop-types-csharp"},"@crishellco/eslint-plugin":{repository:"https://github.com/crishellco/eslint-plugin"},"@croct/eslint-plugin":{repository:"https://github.com/croct-tech/coding-standard-js"},"@croutonn/eslint-plugin":{repository:"https://github.com/croutonn/eslint-plugin"},"@cspell/eslint-plugin":{repository:"https://github.com/streetsidesoftware/cspell"},"@cypress/eslint-plugin-dev":{repository:"https://github.com/cypress-io/cypress"},"@cypress/eslint-plugin-json":{repository:"https://github.com/cypress-io/eslint-plugin-json"},"@d-hussar/eslint-plugin":{repository:"https://github.com/d-hussar/eslint-plugin"},"@d0whc3r/eslint-plugin-stencil":{repository:"https://github.com/d0whc3r/stencil-eslint"},"@d3banking/eslint-plugin":{repository:"https://github.com/LodoSoftware/javascript-style-guide"},"@danifoldi/eslint-plugin-eslint-presets":{repository:"https://github.com/DaniFoldi/linters"},"@darkobits/eslint-plugin":{repository:"https://github.com/darkobits/eslint-plugin"},"@darraghor/eslint-plugin-nestjs-typed":{repository:"https://github.com/darraghoriordan/eslint-plugin-nestjs-typed"},"@dbenfouzari/eslint-plugin-i18n":{repository:"https://github.com/dbenfouzari/packages"},"@dbenfouzari/eslint-plugin-react-native":{repository:"https://github.com/dbenfouzari/eslint-plugin-react-native"},"@dekode/eslint-plugin":{repository:"https://github.com/DekodeInteraktiv/coding-standards"},"@delagen/eslint-plugin-deprecation":{repository:"https://github.com/delagen/eslint-plugin-deprecation"},"@demands/eslint-plugin-import":{repository:"https://github.com/benmosher/eslint-plugin-import"},"@denis-sokolov/eslint-plugin":{repository:"https://github.com/denis-sokolov/eslint-plugin"},"@devahn/eslint-plugin-compat":{repository:"https://github.com/panda0603/eslint-plugin-compat-mod"},"@devil7softwares/eslint-plugin-axios-swagger":{repository:"https://github.com/Devil7-Softwares/eslint-plugin-axios-swagger"},"@devinrhode2/eslint-plugin-node":{repository:"https://github.com/mysticatea/eslint-plugin-node"},"@devsisters/eslint-plugin-web":{repository:"https://github.com/devsisters/web-packages"},"@dhmk/eslint-plugin-atom":{repository:"https://github.com/dhmk083/dhmk-eslint-plugin-atom"},"@dimensiondev/eslint-plugin":{repository:"https://github.com/DimensionDev/eslint-plugin"},"@divyagnan/eslint-plugin-inline-styles":{repository:"https://github.com/divyagnan/eslint-plugin-inline-styles"},"@docusaurus/eslint-plugin":{repository:"https://github.com/facebook/docusaurus"},"@doochik/eslint-plugin-location":{repository:"https://github.com/doochik/eslint-plugin-location"},"@doodad-js/eslint-plugin-doodad":{repository:"https://github.com/doodadjs/eslint-plugin-doodad"},"@dr.potapoff/eslint-plugin":{repository:"https://github.com/typescript-eslint/typescript-eslint"},"@dreipol/eslint-plugin-export-keys":{repository:"https://github.com/dreipol/eslint-plugin-export-keys"},"@dword-design/eslint-plugin-import-alias":{repository:"https://github.com/dword-design/eslint-plugin-import-alias"},"@einride/eslint-plugin":{repository:"https://github.com/einride/eslint-plugin"},"@ejhammond/eslint-plugin":{repository:"https://github.com/ejhammond/eslint-plugin-ejhammond"},"@eladavron/eslint-plugin-jinja":{repository:"https://github.com/eladavron/eslint-plugin-jinja"},"@elastic/eslint-plugin-eui":{repository:"https://github.com/elastic/eui"},"@elastic/eslint-plugin-kibana-custom":{repository:"https://github.com/elastic/kibana"},"@elastic/eslint-plugin-react-intl":{repository:"https://github.com/elastic/eslint-plugin-react-intl"},"@elementor/eslint-plugin-editor":{repository:"https://github.com/elementor/elementor-editor-packages"},"@elementor/eslint-plugin-elementor":{repository:"https://github.com/elementor/elementor-editor-packages"},"@elfin-fe/eslint-plugin-elfin":{repository:"https://github.com/elfinFE/elfin-convention"},"@elfinct/eslint-plugin-elfin":{repository:"https://github.com/elfinFE/elfin-convention"},"@elux/eslint-plugin":{repository:"https://github.com/hiisea/elux/tree/master"},"@elyby/eslint-plugin":{repository:"https://github.com/elyby/eslint-config"},"@emotion/eslint-plugin":{repository:"https://github.com/emotion-js/emotion"},"@empathyco/eslint-plugin-x":{repository:"https://github.com/empathyco/x"},"@emrys-myrddin/eslint-plugin":{repository:"https://github.com/dotansimha/graphql-eslint"},"@endpass/eslint-plugin-endpass":{repository:"https://github.com/endpass/endpass-core"},"@episerver/eslint-plugin-cms":{repository:"https://github.com/seriema/eslint-plugin-episerver-cms"},"@essex/eslint-plugin":{repository:"https://github.com/microsoft/essex-alpha-build-infra"},"@euberdeveloper/eslint-plugin":{repository:"https://github.com/euberdeveloper/eslint-plugin"},"@euberdeveloper/eslint-plugin-slim":{repository:"https://github.com/euberdeveloper/eslint-plugin"},"@evojs/eslint-plugin":{repository:"https://github.com/evotool/js-eslint-plugin"},"@ezcater/eslint-plugin-recipe":{repository:"https://github.com/ezcater/recipe"},"@fable/eslint-plugin-implicit-dependencies":{repository:"https://github.com/fablestudios/eslint-plugin-implicit-dependencies"},"@fabriece/eslint-plugin-react-typescript":{repository:"https://github.com/sfabriece/eslint-plugin-react-typescript"},"@fasttime/eslint-plugin":{repository:"https://github.com/fasttime/eslint-plugin"},"@feature-driven/eslint-plugin":{repository:"https://github.com/feature-driven/eslint-config"},"@feature-sliced/eslint-plugin-messages":{repository:"https://github.com/feature-sliced/eslint-config"},"@fellow/eslint-plugin-coffee":{repository:"https://github.com/aminland/eslint-plugin-coffee"},"@fengyinchao/eslint-plugin-custom":{repository:"https://github.com/fengyinchao/eslint-plugin-custom"},"@ferocia-oss/eslint-plugin":{repository:"https://github.com/ferocia/eslint-plugin"},"@fezvrasta/eslint-plugin-no-iife":{repository:"https://github.com/FezVrasta/eslint-plugin-no-iife"},"@fictiv/eslint-plugin-import":{repository:"https://github.com/benmosher/eslint-plugin-import"},"@fingerartur/eslint-plugin-import":{repository:"https://github.com/import-js/eslint-plugin-import"},"@finos/eslint-plugin-legend-studio":{repository:"https://github.com/finos/legend-studio"},"@fintechstudios/eslint-plugin-chai-as-promised":{repository:"https://github.com/fintechstudios/eslint-plugin-chai-as-promised"},"@flowio/eslint-plugin-flowio":{repository:"https://github.com/flowcommerce/eslint-plugin-flowio"},"@floydspace/eslint-plugin-rules":{repository:"https://github.com/floydspace/eslint-plugin-rules"},"@fltri/eslint-plugin-local-rules":{repository:"https://github.com/idaho/fltri-eslint-plugin-local-rules"},"@fluentui/eslint-plugin":{repository:"https://github.com/microsoft/fluentui"},"@fluentwind/eslint-plugin-vue-i18n":{repository:"https://github.com/fluentwind/eslint-plugin-vue-i18n"},"@flycode-org/eslint-plugin-react-i18next":{repository:"https://github.com/flycode-org/eslint-plugin-react-i18next"},"@forxtu/eslint-plugin-react-native-a11y":{repository:"https://github.com/forxtu/fx2-eslint-plugin-react-native-a11y"},"@foxglove/eslint-plugin":{repository:"https://github.com/foxglove/eslint-plugin"},"@frogeducation/eslint-plugin-jquery-compat":{repository:"https://github.com/frogeducation/eslint-plugin-jquery-compat"},"@frux/eslint-plugin":{repository:"https://github.com/frux/dotfiles"},"@fuelrats/eslint-plugin":{repository:"https://github.com/FuelRats/eslint-config-fuelrats"},"@funboxteam/eslint-plugin-no-only-tests":{repository:"https://github.com/funbox/eslint-plugin-no-only-tests"},"@fundingoptions/eslint-plugin-funding-options":{repository:"https://github.com/FundingOptions/eslint-plugin-funding-options"},"@furugomu/eslint-plugin":{repository:"https://github.com/furugomu/eslint-plugin"},"@fuzeman/eslint-plugin-import":{repository:"https://github.com/fuzeman/eslint-plugin-import"},"@fz6m/eslint-plugin-sakina":{repository:"https://github.com/xn-sakina/eslint-plugin-sakina"},"@gamechanger/eslint-plugin":{repository:"https://github.com/gamechanger/lint"},"@geekie/eslint-plugin":{repository:"https://github.com/geekie/eslint-plugin"},"@genus-machina/eslint-plugin-node":{repository:"https://github.com/genus-machina/eslint-plugin-node"},"@getify/eslint-plugin-proper-arrows":{repository:"https://github.com/getify/eslint-plugin-proper-arrows"},"@getify/eslint-plugin-proper-ternary":{repository:"https://github.com/getify/eslint-plugin-proper-ternary"},"@getstation/eslint-plugin-markdown":{repository:"https://github.com/eslint/eslint-plugin-markdown"},"@glimmerx/eslint-plugin":{repository:"https://github.com/glimmerjs/glimmer-experimental"},"@godaddy/eslint-plugin-react-intl":{repository:"https://github.com/godaddy/eslint-plugin-react-intl"},"@gomarky/eslint-plugin-no-const-enum":{repository:"https://github.com/GoMarky/eslint-no-const-enum"},"@goodforonefare/eslint-plugin-shopify":{repository:"https://github.com/Shopify/eslint-plugin-shopify"},"@graphql-eslint/eslint-plugin":{repository:"https://github.com/B2o5T/graphql-eslint"},"@gravitywelluk/eslint-plugin":{repository:"https://github.com/GravitywellUK/eslint-plugin"},"@gravitywelluk/eslint-plugin-test":{repository:"https://github.com/GravitywellUK/eslint-plugin"},"@greguintow/eslint-plugin-nestjs-typed":{repository:"https://github.com/greguintow/eslint-plugin-nestjs-typed"},"@griffel/eslint-plugin":{repository:"https://github.com/microsoft/griffel"},"@grncdr/eslint-plugin-react-hooks":{repository:"https://github.com/facebook/react"},"@guardian/eslint-plugin-source-foundations":{repository:"https://github.com/guardian/source"},"@guardian/eslint-plugin-source-react-components":{repository:"https://github.com/guardian/source"},"@h4iuiuc/eslint-plugin":{repository:"https://github.com/hack4impact-uiuc/eslint-plugin"},"@hack4impact-uiuc/eslint-plugin":{repository:"https://github.com/hack4impact-uiuc/eslint-plugin"},"@hallettj/eslint-plugin-ts-graphql":{repository:"https://github.com/Originate/eslint-plugin-ts-graphql"},"@hannoeru/eslint-plugin":{repository:"https://github.com/hannoeru/eslint-config"},"@hapi/eslint-plugin":{repository:"https://github.com/hapijs/eslint-plugin"},"@hd-ui/eslint-plugin-hd-ui":{repository:"https://github.com/hd-ui/hd-ui"},"@hh.ru/eslint-plugin-import-rules":{repository:"https://github.com/hhru/eslint-plugin-import-rules"},"@hi18n/eslint-plugin":{repository:"https://github.com/wantedly/hi18n"},"@hirasaki/eslint-plugin-coding-rules":{repository:"https://github.com/hirasaki1985/eslint-plugin-coding-rules"},"@hn-ui/eslint-plugin-hn-ui":{repository:"https://github.com/hn-ui/hn-ui"},"@homer0/eslint-plugin":{repository:"https://github.com/homer0/packages"},"@hrax/eslint-plugin-now-best-practices":{repository:"https://github.com/hrax/eslint-plugin-now-best-practices"},"@html-eslint/eslint-plugin":{repository:"https://github.com/yeonjuan/html-eslint"},"@hypnosphi/eslint-plugin-import":{repository:"https://github.com/benmosher/eslint-plugin-import"},"@hypnosphi/eslint-plugin-react":{repository:"https://github.com/yannickcr/eslint-plugin-react"},"@iameax/eslint-plugin":{repository:"https://github.com/iameax/eslint-plugin-code-style"},"@iameax/eslint-plugin-code-style":{repository:"https://github.com/iameax/eslint-plugin-code-style"},"@iamstarkov/eslint-plugin-require-path-exists":{repository:"https://github.com/BohdanTkachenko/eslint-plugin-require-path-exists"},"@ianwremmel/eslint-plugin-ianwremmel":{repository:"https://github.com/ianwremmel/eslint-plugin-ianwremmel"},"@igneel64/eslint-plugin-dangerous":{repository:"https://github.com/igneel64/eslint-plugin-dangerous"},"@int-component/eslint-plugin-vue-require-id-attr":{repository:"https://github.com/linkerGitHub/eslint-plugin-vue-require-id-attr"},"@interactive-solutions/eslint-plugin-eslint-react":{repository:"https://github.com/interactive-solutions/interactive-solutions-mono"},"@intlify/eslint-plugin-svelte":{repository:"https://github.com/intlify/eslint-plugin-svelte"},"@intlify/eslint-plugin-vue-i18n":{repository:"https://github.com/intlify/eslint-plugin-vue-i18n"},"@itgenio/eslint-plugin-import":{repository:"https://github.com/benmosher/eslint-plugin-import"},"@itwin/eslint-plugin":{repository:"https://github.com/iTwin/itwinjs-core"},"@jakzo/eslint-plugin":{repository:"https://github.com/jakzo/things"},"@jamashita/eslint-plugin":{repository:"https://github.com/jamashita/eslint-plugin"},"@jambit/eslint-plugin-typed-redux-saga":{repository:"https://github.com/jambit/eslint-plugin-typed-redux-saga"},"@jankuca/eslint-plugin-react-usecallback":{repository:"https://github.com/jankuca/eslint-plugin-react-usecallback"},"@jaredmcateer/eslint-plugin-shouldjs":{repository:"https://github.com/jaredmcateer/eslint-plugin-shouldjs"},"@jdb8/eslint-plugin-monorepo":{repository:"https://github.com/jdb8/eslint-plugin-monorepo"},"@jetbrains/eslint-plugin-angular":{repository:"https://github.com/Gillespie59/eslint-plugin-angularjs"},"@jl917/eslint-plugin-jl":{repository:"https://github.com/jl917/eslint-plugin-jl"},"@joshbcondie/eslint-plugin":{repository:"https://github.com/joshbcondie/eslint-plugin"},"@joyeecheung/eslint-plugin-node-core":{repository:"https://github.com/joyeecheung/eslint-plugin-node-core"},"@jsx-lite/eslint-plugin":{repository:"https://github.com/BuilderIO/jsx-lite"},"@jupyterlab/eslint-plugin-jinja":{repository:"https://github.com/alexkuz/eslint-plugin-jinja"},"@kablamo/eslint-plugin":{repository:"https://github.com/KablamoOSS/kerosene"},"@kaciras/eslint-plugin":{repository:"https://github.com/Kaciras/eslint-config-kaciras"},"@kapouer/eslint-plugin-no-return-in-loop":{repository:"https://github.com/kapouer/eslint-plugin-no-return-in-loop"},"@kargotech/eslint-plugin-internal":{repository:"https://github.com/kargotech/web-project-configs"},"@katoid/eslint-plugin":{repository:"https://github.com/katoid/eslint"},"@kejistan/eslint-plugin-relay":{repository:"https://github.com/kejistan/eslint-plugin-relay"},"@kentcdodds/eslint-plugin-react":{repository:"https://github.com/yannickcr/eslint-plugin-react"},"@kfed/eslint-plugin-i18n":{repository:"https://github.com/Kyr/eslint-plugin-i18n"},"@khanacademy/eslint-plugin":{repository:"https://github.com/Khan/eslint-plugin-khan"},"@kiwi/eslint-plugin":{repository:"https://github.com/kaisermann/kiwi"},"@kmdavis/eslint-plugin-sort-imports":{repository:"https://github.com/kmdavis/eslint-plugin-sort-imports"},"@kollabit/eslint-plugin":{repository:"https://github.com/ionic-team/stencil-eslint"},"@kraftr/eslint-plugin":{repository:"https://github.com/kraftrio/kraftr"},"@kraftvaerk/eslint-plugin-guidelines":{repository:"https://github.com/kraftvaerk/eslint-plugin-guidelines"},"@ksjogo/eslint-plugin-import":{repository:"https://github.com/benmosher/eslint-plugin-import"},"@kunlunjs/eslint-plugin":{repository:"https://github.com/turing-fe/kunlun-eslint-plugin"},"@kusotenpa/eslint-plugin":{repository:"https://github.com/kusotenpa/eslint-plugin"},"@kyleshevlin/eslint-plugin":{repository:"https://github.com/kyleshevlin/eslint-plugin"},"@kzmat/eslint-plugin-commentout":{repository:"https://github.com/kzmat/eslint-plugin-commentout"},"@layout-css/eslint-plugin-styled-components":{repository:"https://github.com/studiosciences/layout-css"},"@lbwa/eslint-plugin":{repository:"https://github.com/lbwa/eslint-plugin"},"@lcooper/eslint-plugin":{repository:"https://github.com/luciancooper/eslint-configs"},"@lewisl9029/eslint-plugin-react-hooks":{repository:"https://github.com/facebook/react"},"@lewisl9029/eslint-plugin-react-hooks-for-react-anonymous":{repository:"https://github.com/facebook/react"},"@lifeomic/eslint-plugin-frontend":{repository:"https://github.com/lifeomic/eslint-plugin-frontend"},"@lifeomic/eslint-plugin-i18next":{repository:"https://github.com/lifeomic/eslint-plugin-i18next"},"@lifeomic/eslint-plugin-node":{repository:"https://github.com/lifeomic/eslint-plugin-node"},"@liferay/eslint-plugin":{repository:"https://github.com/liferay/liferay-frontend-projects"},"@lights-on-io/eslint-plugin":{repository:"https://github.com/lights-on-io/oss"},"@lightscript/eslint-plugin":{repository:"https://github.com/wcjohnson/lightscript-eslint"},"@limegrass/eslint-plugin-import-alias":{repository:"https://github.com/Limegrass/eslint-plugin-import-alias"},"@lint-md/eslint-plugin":{repository:"https://github.com/lint-md/eslint-plugin"},"@lint-ts-index/eslint-plugin":{repository:"https://github.com/bbenoist/lint-ts-index"},"@logicalhq/eslint-plugin":{repository:"https://github.com/logicalhq/eslint-plugin"},"@logicsoftware/eslint-plugin-ep-custom":{repository:"https://github.com/LogicSoftware/eslint-plugin-ep-custom"},"@lokalise/eslint-plugin":{repository:"https://github.com/lokalise/eslint-plugin"},"@ludus/eslint-plugin":{repository:"https://github.com/kredati/ludus"},"@luma-dev/eslint-plugin-svelte3":{repository:"https://github.com/luma-dev/luma-style-guide"},"@lwc/eslint-plugin-lwc":{repository:"https://github.com/salesforce/eslint-plugin-lwc"},"@m6web/eslint-plugin-i18n":{repository:"https://github.com/M6Web/eslint-plugin-m6web-i18n"},"@maccuaa/eslint-plugin-i18n-json":{repository:"https://github.com/godaddy/eslint-plugin-i18n-json"},"@magicspace/eslint-plugin":{repository:"https://github.com/makeflow/magicspace"},"@manu-xav/eslint-plugin-prettier-vue":{repository:"https://github.com/meteorlxy/eslint-plugin-prettier-vue"},"@manuth/eslint-plugin-typescript":{repository:"https://github.com/manuth/ESLintPresets"},"@mapbox/eslint-plugin-script-tags":{repository:"https://github.com/mapbox/eslint-plugin-script-tags"},"@mapbox/eslint-plugin-stickler":{repository:"https://github.com/mapbox/stickler"},"@mariosetenal/eslint-plugin-css-modules":{repository:"https://github.com/atfzl/eslint-plugin-css-modules"},"@marudor/eslint-plugin-header":{repository:"https://github.com/Stuk/eslint-plugin-header"},"@materya/eslint-plugin":{repository:"https://github.com/materya/eslint-config"},"@matsgottenbos/eslint-plugin-import-alias":{repository:"https://github.com/matsgottenbos/eslint-plugin-import-alias"},"@max-revops/eslint-plugin-testing-library":{repository:"https://github.com/max-revops/eslint-plugin-testing-library"},"@max-revops/eslint-plugin-testing-library-revops":{repository:"https://github.com/max-revops/eslint-plugin-testing-library-revops"},"@medflyt/eslint-plugin-graphql-type-checker":{repository:"https://github.com/MedFlyt/eslint-plugin-graphql-type-checker"},"@medux/eslint-plugin-recommended":{repository:"https://github.com/wooline/medux"},"@mesteche/eslint-plugin-neat-ternaries":{repository:"https://github.com/mesteche/eslint-plugin-ternary"},"@michaeljaltamirano/eslint-plugin":{repository:"https://github.com/michaeljaltamirano/eslint-plugin"},"@michaelkramer/eslint-plugin-facepalm":{repository:"https://github.com/michaelkramer/eslint-plugin-facepalm"},"@microsoft/eslint-plugin-sdl":{repository:"https://github.com/microsoft/eslint-plugin-sdl"},"@minar-kotonoha/eslint-plugin-react-directives":{repository:"https://github.com/chengzhuo5/eslint-plugin-react-directives"},"@mizdra/eslint-plugin-layout-shift":{repository:"https://github.com/mizdra/eslint-plugin-layout-shift"},"@mkusaka/eslint-plugin-prefer-type-annotate":{repository:"https://github.com/mkusaka/eslint-plugin-prefer-type-annotate"},"@mll-lab/eslint-plugin":{repository:"https://github.com/mll-lab/eslint-plugin"},"@moneteam/eslint-plugin-nestjs":{repository:"https://github.com/NarHakobyan/eslint-plugin-nestjs"},"@moneyforward/code-review-action-eslint-plugin":{repository:"https://github.com/moneyforward/eslint-action"},"@mongodb-js/eslint-plugin-compass":{repository:"https://github.com/mongodb-js/compass"},"@mparticle/eslint-plugin":{repository:"https://github.com/mparticle/eslint-plugin"},"@mpxjs/eslint-plugin-mpx":{repository:"https://github.com/mpx-ecology/eslint-plugin-mpx"},"@mufan/eslint-plugin":{repository:"https://github.com/makeflow/mufan-code"},"@mysticatea/eslint-plugin":{repository:"https://github.com/mysticatea/eslint-plugin"},"@mysticatea/eslint-plugin-vue":{repository:"https://github.com/mysticatea/eslint-plugin-vue-trial"},"@nacho008/eslint-plugin-dynamic-media-children":{repository:"https://github.com/nacho008/eslint-plugin-dynamic-media-children"},"@naturacosmeticos/eslint-plugin-i18n-checker":{repository:"https://github.com/natura-cosmeticos/eslint-plugin-i18n-checker"},"@nbsolutions/eslint-plugin":{repository:"https://github.com/nbsolutions-ca/eslint-plugin"},"@neatfreak/eslint-plugin":{repository:"https://github.com/freakyneat/neatfreak"},"@netless/eslint-plugin":{repository:"https://github.com/netless-io/eslint-plugin"},"@netless/eslint-plugin-netless":{repository:"https://github.com/netless-io/eslint-plugin-netless"},"@netsells/eslint-plugin-require-jsdoc-except":{repository:"https://github.com/netsells/eslint-plugin-require-jsdoc-except"},"@newrelic/eslint-plugin-newrelic":{repository:"https://github.com/NewRelic/eslint-plugin-newrelic"},"@next/eslint-plugin-next":{repository:"https://github.com/vercel/next.js"},"@nextcloud/eslint-plugin":{repository:"https://github.com/nextcloud/eslint-plugin"},"@nextnextools/nextools-eslint-plugin":{repository:"https://github.com/nextnextools/metarepo"},"@nexxtway/eslint-plugin-rainbow":{repository:"https://github.com/nexxtway/eslint-plugin-rainbow"},"@ngbasics/eslint-plugin":{repository:"https://github.com/fruchtzwerg/ngbasics"},"@ngneat/eslint-plugin-reactive-forms":{repository:"https://github.com/ngneat/reactive-forms"},"@nice-move/eslint-plugin-html":{repository:"https://github.com/nice-move/eslint-plugin-html"},"@nisje/eslint-plugin":{repository:"https://github.com/nisje/styleguide-javascript"},"@nlib/eslint-plugin":{repository:"https://github.com/nlibjs/eslint-plugin"},"@nod/eslint-plugin-nod":{repository:"https://github.com/NOD-studios/eslint-plugin-nod"},"@notarize/eslint-plugin-react-intl-ensure":{repository:"https://github.com/notarize/eslint-plugin-react-intl-ensure"},"@novemberborn/eslint-plugin-as-i-preach":{repository:"https://github.com/novemberborn/as-i-preach"},"@nozbe/eslint-plugin-nozbe":{repository:"https://github.com/Nozbe/eslint-plugin-nozbe"},"@nrwl/eslint-plugin-nx":{repository:"https://github.com/nrwl/nx"},"@numso/eslint-plugin-import":{repository:"https://github.com/numso/eslint-plugin-import"},"@octogonz/eslint-plugin":{repository:"https://github.com/typescript-eslint/typescript-eslint"},"@olsonpm/eslint-plugin-import":{repository:"https://github.com/import-js/eslint-plugin-import"},"@onekeyfe/eslint-plugin-literal-blacklist":{repository:"https://github.com/OneKeyHQ/literal-blacklist"},"@opencreek/eslint-plugin-nextjs":{repository:"https://github.com/opencreek/eslint-plugin-ts"},"@opencreek/eslint-plugin-storybook":{repository:"https://github.com/opencreek/eslint-plugin-ts"},"@opencreek/eslint-plugin-ts":{repository:"https://github.com/opencreek/eslint-plugin-ts"},"@openlayers/eslint-plugin":{repository:"https://github.com/openlayers/eslint-plugin"},"@operation_code/eslint-plugin-custom-rules":{repository:"https://github.com/operationcode/configs"},"@originate/eslint-plugin-ts-graphql":{repository:"https://github.com/Originate/eslint-plugin-ts-graphql"},"@orzechowskid/eslint-plugin-typelint":{repository:"https://github.com/orzechowskid/eslint-plugin-typelint"},"@ota-meshi/eslint-plugin":{repository:"https://github.com/ota-meshi/eslint-plugin"},"@ota-meshi/eslint-plugin-svelte":{repository:"https://github.com/ota-meshi/eslint-plugin-svelte"},"@ottofeller/eslint-plugin-ottofeller":{repository:"https://github.com/ottofeller/eslint-plugin-ottofeller"},"@pathscale/eslint-plugin-vue3":{repository:"https://github.com/pathscale/eslint-plugin-vue3"},"@paztis/eslint-plugin-import":{repository:"https://github.com/benmosher/eslint-plugin-import"},"@pdq/eslint-plugin-pdq":{repository:"https://github.com/pdq/eslint-plugin-pdq"},"@peeky/eslint-plugin":{repository:"https://github.com/Akryum/peeky"},"@percolate/eslint-plugin":{repository:"https://github.com/percolate/blend"},"@pgilad/eslint-plugin-react-redux":{repository:"https://github.com/pgilad/eslint-plugin-react-redux"},"@phaphoso/eslint-plugin-dprint":{repository:"https://github.com/mysticatea/eslint-plugin-dprint"},"@phryg1an/eslint-plugin-strict":{repository:"https://github.com/fokye/eslint-plugin-strict"},"@pixellot/eslint-plugin":{repository:"https://github.com/Pixellot/eslint-plugin-pixellot"},"@pob/use-eslint-plugin":{repository:"https://github.com/christophehurpeau/eslint-config-pob"},"@pongo-ui/eslint-plugin":{repository:"https://github.com/PongoAI/pongo-ui"},"@poool/eslint-plugin":{repository:"https://github.com/p3ol/eslint-config"},"@prodo-ai/eslint-plugin":{repository:"https://github.com/prodo-ai/eslint-plugin-prodo"},"@prodo-ai/eslint-plugin-prodo":{repository:"https://github.com/prodo-ai/eslint-plugin-prodo"},"@prodo/eslint-plugin":{repository:"https://github.com/prodo-ai/prodo"},"@profi.co/eslint-plugin":{repository:"https://github.com/profico/eslint-plugin-profico"},"@projectsophon/eslint-plugin-typescript-enum":{repository:"https://github.com/projectsophon/eslint-plugin-typescript-enum"},"@propelinc/eslint-plugin":{repository:"https://github.com/typescript-eslint/typescript-eslint"},"@public-js/eslint-plugin-node":{repository:"https://github.com/public-js/eslint-plugin-node"},"@public-js/eslint-plugin-react-native":{repository:"https://github.com/public-js/eslint-plugin-react-native"},"@qhlab/eslint-plugin":{repository:"https://github.com/QhlabTeam/qhlab-eslint-plugin"},"@qooxdoo/eslint-plugin-qx":{repository:"https://github.com/qooxdoo/eslint-plugin-qx"},"@quero/eslint-plugin-vue":{repository:"https://github.com/quero-edu/guidelines"},"@ranwawa/eslint-plugin":{repository:"https://github.com/ranwawa/configurations"},"@react-native-community/eslint-plugin":{repository:"https://github.com/facebook/react-native"},"@react-native/eslint-plugin-specs":{repository:"https://github.com/facebook/react-native"},"@redguy12/eslint-plugin":{repository:"https://github.com/RedGuy12/configs"},"@redwoodjs/eslint-plugin-redwood":{repository:"https://github.com/redwoodjs/redwood"},"@reflektor/eslint-plugin-react":{repository:"https://github.com/reflektor-digital-inc/eslint-plugin-react"},"@reflektor/eslint-plugin-vue":{repository:"https://github.com/reflektor-digital-inc/eslint-plugin-vue"},"@reggev/eslint-plugin-it-should-be-skipped":{repository:"https://github.com/reggev/it-should-be-skipped"},"@regru/eslint-plugin-jquery-dollar-sign-reference":{repository:"https://github.com/regru/eslint-plugin-jquery-dollar-sign-reference"},"@regru/eslint-plugin-one-var":{repository:"https://github.com/regru/eslint-plugin-one-var"},"@regru/eslint-plugin-prefer-early-return":{repository:"https://github.com/regru/eslint-plugin-prefer-early-return"},"@rensovargas/eslint-plugin-riot":{repository:"https://github.com/rensovargas/eslint-plugin-riot"},"@repo-tooling/eslint-plugin-dprint":{repository:"https://github.com/repo-tooling/eslint"},"@reverecre/eslint-plugin-relay":{repository:"https://github.com/relayjs/eslint-plugin-relay"},"@revved/eslint-plugin-immutable":{repository:"https://github.com/jhusain/eslint-plugin-immutable"},"@rhangai/eslint-plugin":{repository:"https://github.com/rhangai/config"},"@ridedott/eslint-plugin":{repository:"https://github.com/ridedott/eslint-plugin"},"@rimac-technology/eslint-plugin":{repository:"https://github.com/RimacTechnology/eslint-plugin"},"@rinfel/eslint-plugin-unicorn":{repository:"https://github.com/rinfeldev/eslint-plugin-unicorn"},"@rjwadley/eslint-plugin-format-gsap":{repository:"https://github.com/RJWadley/eslint"},"@rnx-kit/eslint-plugin":{repository:"https://github.com/microsoft/rnx-kit"},"@roadmunk/eslint-plugin-roadmunk-custom":{repository:"https://github.com/Roadmunk/eslint-plugin-roadmunk"},"@rogach/eslint-plugin":{repository:"https://github.com/Rogach/rogach-eslint-plugin"},"@romeovs/eslint-plugin-css-modules":{repository:"https://github.com/atfzl/eslint-plugin-css-modules"},"@roq/eslint-plugin":{repository:"https://github.com/roqtech/roq-linter"},"@rushplay/eslint-plugin-objects":{repository:"https://github.com/RushPlay/eslint-plugin-objects"},"@rushstack/eslint-plugin":{repository:"https://github.com/microsoft/rushstack"},"@rushstack/eslint-plugin-packlets":{repository:"https://github.com/microsoft/rushstack"},"@rushstack/eslint-plugin-security":{repository:"https://github.com/microsoft/rushstack"},"@rygine/eslint-plugin-import":{repository:"https://github.com/rygine/eslint-plugin-import"},"@saji/eslint-plugin-brace-rules":{repository:"https://github.com/marek-saji/eslint-plugin-brace-rules"},"@salesforce/eslint-plugin-aura":{repository:"https://github.com/forcedotcom/eslint-plugin-aura"},"@salesforce/eslint-plugin-lightning":{repository:"https://github.com/salesforce/eslint-plugin-lightning"},"@salesforce/eslint-plugin-visualforce":{repository:"https://github.com/forcedotcom/eslint-plugin-visualforce"},"@samual/eslint-plugin-hackmud2":{repository:"https://github.com/samualtnorman/eslint-plugin-hackmud2"},"@santie/eslint-plugin-scheme":{repository:"https://github.com/sieestaa/eslint-plugin-scheme"},"@satel/eslint-plugin":{repository:"https://github.com/SatelCreative/eslint-plugin"},"@sayari/eslint-plugin":{repository:"https://github.com/sayari-analytics/eslint-plugin-sayari"},"@scitotec/eslint-plugin-rules":{repository:"https://github.com/scitotec/eslint-plugin-scitotec-rules"},"@scorpionknifes/eslint-plugin-prettier-vue":{repository:"https://github.com/scorpionknifes/eslint-plugin-prettier-vue"},"@scottnonnenberg/eslint-plugin-thehelp":{repository:"https://github.com/scottnonnenberg/eslint-plugin-thehelp"},"@scrumble-nl/eslint-plugin-scrumble-rules":{repository:"https://github.com/scrumble-nl/eslint-plugin-scrumble-rules"},"@seatentacle/eslint-plugin":{repository:"https://github.com/seatentacle/eslint-plugin"},"@seedcompany/eslint-plugin":{repository:"https://github.com/seedcompany/eslint-plugin"},"@seiyab/eslint-plugin-react-hooks":{repository:"https://github.com/seiyab/react"},"@sentry-internal/eslint-plugin-sdk":{repository:"https://github.com/getsentry/sentry-javascript"},"@sentry-murz/eslint-plugin-sdk":{repository:"https://github.com/getsentry/sentry-javascript"},"@severi/eslint-plugin-sort-imports-es6-autofix":{repository:"https://github.com/schuchertmanagementberatung/eslint-plugin-sort-imports-es6-autofix"},"@sharegate/eslint-plugin-apricot":{repository:"https://github.com/gsoft-inc/sg-eslint-plugin-apricot"},"@sharkykh/eslint-plugin-vue-extra":{repository:"https://github.com/sharkykh/eslint-plugin-vue-extra"},"@shipwreck/eslint-plugin":{repository:"https://github.com/Bounty-Bay/shipwreck"},"@shopify/eslint-plugin":{repository:"https://github.com/Shopify/web-configs"},"@shopify/eslint-plugin-hydrogen":{repository:"https://github.com/Shopify/hydrogen"},"@silverhand/eslint-plugin-fp":{repository:"https://github.com/silverhand-io/eslint-plugin-fp"},"@silvermine/eslint-plugin-silvermine":{repository:"https://github.com/silvermine/eslint-plugin-silvermine"},"@simplysm/eslint-plugin":{repository:"https://github.com/kslhunter/simplysm7"},"@sincronia/eslint-plugin":{repository:"https://github.com/nuvolo/sincronia"},"@singlestore/eslint-plugin-react-hooks-disable-import":{repository:"https://github.com/memsql/eslint-react-hooks-disable-import"},"@sinonjs/eslint-plugin-no-prototype-methods":{repository:"https://github.com/sinonjs/eslint-plugin-no-prototype-methods"},"@skylib/eslint-plugin":{repository:"https://github.com/ilyub/eslint-plugin"},"@softvisio/eslint-plugin":{repository:"https://github.com/softvisio/eslint-plugin"},"@sourcegraph/eslint-plugin-sourcegraph":{repository:"https://github.com/sourcegraph/codemod"},"@spalger/eslint-plugin-import":{repository:"https://github.com/spalger/eslint-plugin-import"},"@spotify/eslint-plugin":{repository:"https://github.com/spotify/web-scripts"},"@sprucelabs/eslint-plugin-spruce":{repository:"https://github.com/sprucelabsai/workspace.sprucebot-skills-kit"},"@starryinternet/eslint-plugin-starry":{repository:"https://github.com/StarryInternet/eslint-plugin-starry"},"@stayradiated/eslint-plugin-prefer-arrow-functions":{repository:"https://github.com/stayradiated/eslint-plugin-prefer-arrow-functions"},"@steadier/eslint-plugin-node":{repository:"https://github.com/tavoyne/steadier"},"@steadier/eslint-plugin-typescript":{repository:"https://github.com/tavoyne/steadier"},"@stencil/eslint-plugin":{repository:"https://github.com/ionic-team/stencil-eslint"},"@storipress/eslint-plugin-block":{repository:"https://github.com/storipress/eslint-plugin-block"},"@straits/eslint-plugin":{repository:"https://github.com/peoro/straits-eslint-plugin"},"@studysync/eslint-plugin-jsx-conditionals":{repository:"https://github.com/julianburr/eslint-plugin-jsx-conditionals"},"@studysync/eslint-plugin-material-ui":{repository:"https://github.com/dkadrios/eslint-plugin-material-ui"},"@studysync/eslint-plugin-persnickety":{repository:"https://github.com/dkadrios/eslint-plugin-persnickety"},"@superdispatch/eslint-plugin":{repository:"https://github.com/superdispatch/js-tools"},"@superdispatch/eslint-plugin-ui":{repository:"https://github.com/superdispatch/ui"},"@susisu/eslint-plugin-safe-typescript":{repository:"https://github.com/susisu/eslint-plugin-safe-typescript"},"@swarmion/eslint-plugin":{repository:"https://github.com/swarmion/swarmion"},"@swissquote/eslint-plugin-swissquote":{repository:"https://github.com/swissquote/crafty"},"@swrlab/eslint-plugin-swr":{repository:"https://github.com/swrlab/eslint-plugin-swr"},"@tablecheck/eslint-plugin":{repository:"https://github.com/tablecheck/tablecheck-react-system"},"@taccolaa/eslint-plugin-typeorm":{repository:"https://github.com/Polyconseil/eslint-plugin-typeorm"},"@tapsellorg/eslint-plugin":{repository:"https://github.com/tapsellorg/eslint-plugin"},"@taskade/eslint-plugin":{repository:"https://github.com/taskade/eslint"},"@teazn/eslint-plugin-teazn":{repository:"https://github.com/teazn/eslint-plugin-teazn"},"@technote-space/eslint-plugin-strict-dependencies":{repository:"https://github.com/technote-space/eslint-plugin-strict-dependencies"},"@theobassan/eslint-plugin":{repository:"https://github.com/theobassan/eslint-plugin"},"@therealklanni/eslint-plugin":{repository:"https://github.com/therealklanni/eslint"},"@thibaudcolas/eslint-plugin-cookbook":{repository:"https://github.com/thibaudcolas/eslint-plugin-cookbook"},"@thorborn/eslint-plugin":{repository:"https://github.com/thorborn-dev/web-configs"},"@thundercraft5/eslint-plugin":{repository:"https://github.com/thundercraft5/eslint-plugin"},"@tinkoff/eslint-plugin":{repository:"https://github.com/TinkoffCreditSystems/linters"},"@tinkoff/eslint-plugin-tramvai":{repository:"https://github.com/TinkoffCreditSystems/tramvai"},"@tinymce/eslint-plugin":{repository:"https://github.com/tinymce/eslint-plugin"},"@tivac/eslint-plugin-svelte":{repository:"https://github.com/tivac/eslint-plugin-svelte"},"@trevorblades/eslint-plugin":{repository:"https://github.com/trevorblades/eslint-plugin"},"@tripphamm/eslint-plugin":{repository:"https://github.com/tripphamm/eslint-plugin-tripphamm"},"@ts-gql/eslint-plugin":{repository:"https://github.com/Thinkmill/ts-gql"},"@twist/eslint-plugin-core":{repository:"https://github.com/adobe/eslint-plugin-twist"},"@tyankatsu0105/eslint-plugin":{repository:"https://github.com/tyankatsu0105/eslint-plugin"},"@tyankatsu0105/eslint-plugin-with-typescript":{repository:"https://github.com/tyankatsu0105/eslint-plugin-with-typescript"},"@typeofweb/eslint-plugin":{repository:"https://github.com/typeofweb/eslint-plugin"},"@types/eslint-plugin-markdown":{repository:"https://github.com/DefinitelyTyped/DefinitelyTyped"},"@types/eslint-plugin-prettier":{repository:"https://github.com/DefinitelyTyped/DefinitelyTyped"},"@typescript-eslint/eslint-plugin":{repository:"https://github.com/typescript-eslint/typescript-eslint"},"@typescript-eslint/eslint-plugin-tslint":{repository:"https://github.com/typescript-eslint/typescript-eslint"},"@ueno/eslint-plugin-internal":{repository:"https://github.com/ueno-llc/styleguide"},"@unemati/eslint-plugin-sort-imports":{repository:"https://github.com/unematiii/eslint-plugin-sort-imports"},"@untitled-engineer/eslint-plugin-lit-a11y":{repository:"https://github.com/open-wc/open-wc"},"@untitled-engineer/eslint-plugin-wc":{repository:"https://github.com/43081j/eslint-plugin-wc"},"@upleveled/eslint-plugin-upleveled":{repository:"https://github.com/upleveled/eslint-plugin-upleveled"},"@uwatch/eslint-plugin":{repository:"https://github.com/uwatch-live/eslint-plugin"},"@vanta-inc/eslint-plugin-vanta":{repository:"https://github.com/VantaInc/eslint-plugin-vanta"},"@versett/eslint-plugin-versett":{repository:"https://github.com/versett/eslint-plugin-versett"},"@vertical-made/eslint-plugin-no-arithmetic":{repository:"https://github.com/vertical-made/eslint-plugin-no-arithmetic"},"@vinsea/eslint-plugin-custom":{repository:"https://github.com/Vinsea/toolkit"},"@vovkasm/eslint-plugin-std":{repository:"https://github.com/vovkasm/eslint-plugin-std"},"@vtex/eslint-plugin-admin-ui":{repository:"https://github.com/vtex/admin-ui"},"@vue/eslint-plugin":{repository:"https://github.com/vuejs/eslint-plugin-vue"},"@waltari/eslint-plugin-ban-realm-spread":{repository:"https://github.com/Waltari10/eslint-plugin-ban-realm-spread"},"@washingtonpost/eslint-plugin-wpds":{repository:"https://github.com/washingtonpost/wpds-ui-kit"},"@web-bee-ru/eslint-plugin":{repository:"https://github.com/web-bee-ru/eslint-plugin"},"@web-configs/eslint-plugin":{repository:"https://github.com/thundermiracle/web-configs"},"@weex-project/eslint-plugin-weex-bundle":{repository:"https://github.com/Hanks10100/eslint-plugin-weex-bundle"},"@weiran.zsd/eslint-plugin-node":{repository:"https://github.com/weiran-zsd/eslint-plugin-node"},"@welldone-software/eslint-plugin":{repository:"https://github.com/welldone-software/eslint-plugin-welldone"},"@wikimedia/eslint-plugin-jquery":{repository:"https://github.com/wikimedia/eslint-plugin-jquery"},"@withbluedot/eslint-plugin-ghost":{repository:"https://github.com/TryGhost/eslint-plugin-ghost"},"@wogns3623/eslint-plugin-better-exhaustive-deps":{repository:"https://github.com/wogns3623/eslint-plugin-better-exhaustive-deps"},"@woocommerce/eslint-plugin":{repository:"https://github.com/woocommerce/woocommerce-admin"},"@wordpress/eslint-plugin":{repository:"https://github.com/WordPress/gutenberg"},"@xcritical/eslint-plugin-xcritical":{repository:"https://github.com/xcritical-software/xc-front-presets"},"@xianzhengquan/vite-eslint-plugin":{repository:"https://github.com/XianZhengquan/vite-plugin-eslint"},"@xtrctio/eslint-plugin-disallow-date":{repository:"https://github.com/xtrctio/eslint-plugin-disallow-date"},"@yolkai/eslint-plugin-nx":{repository:"https://github.com/nrwl/nx"},"@yonycalsin/eslint-plugin-import-sort":{repository:"https://github.com/yonycalsin/eslint-config"},"@younho9/eslint-plugin":{repository:"https://github.com/younho9/eslint-plugin"},"@z-brain/eslint-plugin-z-brain":{repository:"https://github.com/z-brain/eslint-plugin-z-brain"},"@zamiell/eslint-plugin-comment-length":{repository:"https://github.com/lasselupe33/eslint-plugin-comment-length"},"@zhike/eslint-plugin":{repository:"https://github.com/zhike-team/eslint-plugin-zhike"},"@znemz/eslint-plugin-nem":{repository:"https://github.com/nmccready/eslint-plugin-nem"},"@zsoltszavo/eslint-plugin-import-lines":{repository:"https://github.com/zsoltszavo/eslint-plugin-import-lines"},"@zstark/eslint-plugin-zstark":{repository:"https://github.com/PinghuaZhuang/zstark"},abbyy:{repository:"https://github.com/jim-y/eslint-plugin-abbyy"},"absolute-imports":{repository:"https://github.com/jchen1/eslint-plugin-absolute-imports"},"absolute-imports-only":{repository:"https://github.com/fr0stf0x/eslint-plugin-absolute-imports"},"absolute-only":{repository:"https://github.com/jpwallace22/eslint-plugin-absolute-only"},actano:{repository:"https://github.com/actano/eslint-plugin-actano"},actions:{repository:"https://github.com/ylemkimon/eslint-plugin-actions"},actool:{repository:"https://github.com/actool/eslint-plugin-actool"},"ad-hok":{repository:"https://github.com/helixbass/eslint-plugin-ad-hok"},adeira:{repository:"https://github.com/adeira/universe"},adonis:{repository:"https://github.com/AdonisCommunity/eslint-plugin-adonis"},"adventure-land":{repository:"https://github.com/davidtimmons/eslint-plugin-adventure-land"},"agoda-compat":{repository:"https://github.com/amilajack/eslint-plugin-compat"},agpl:{repository:"https://github.com/ArekZc/eslint-plugin-agpl"},agree:{repository:"https://github.com/ast2018/eslint-plugin-agree"},"ahaha-miniprogram":{repository:"https://github.com/littleprincewdk/eslint-plugin-ahaha-miniprogram"},airbnb:{repository:"https://github.com/npm/security-holder"},"airbnb-base":{repository:"https://github.com/npm/security-holder"},"airbnb-react":{repository:"https://github.com/algesthesiah/eslint-plugin-airbnb-react"},airtight:{repository:"https://github.com/snyk/eslint-plugin-airtight"},ala:{repository:"https://github.com/alaameddeb/ESLint-plugin"},algolia:{repository:"https://github.com/algolia/eslint-plugin-algolia"},ali:{repository:"https://github.com/alibaba/f2e-spec"},"alias-paths":{repository:"https://github.com/mkusaka/eslint-plugin-alias-paths"},align:{repository:"https://github.com/akluball/eslint-plugin-align"},alint:{repository:"https://github.com/AlanFoster/eslint-plugin-alint"},alloy:{repository:"https://github.com/appcelerator/eslint-plugin-alloy"},alphabetize:{repository:"https://github.com/NickHeiner/eslint-plugin-alphabetize"},altair:{repository:"https://github.com/altairtv/eslint-plugin-altair"},always:{repository:"https://github.com/jenssimon/eslint-plugin-always"},"amd-imports":{repository:"https://github.com/jkieboom/eslint-plugin-amd-imports"},ami:{repository:"https://github.com/ami-team/eslint-plugin-ami"},"amphtml-internal":{repository:"https://github.com/npm/security-holder"},analyze:{repository:"https://github.com/th317erd/eslint-plugin-analyze"},angular:{docs:"https://github.com/Gillespie59/eslint-plugin-angularjs/blob/master/docs/rules/",repository:"https://github.com/Gillespie59/eslint-plugin-angularjs"},"angular-data-test-id":{repository:"https://github.com/danielstevenberger/eslint-plugin-angular-data-test-id"},"angular-file-naming":{repository:"https://github.com/takuya-nakayasu/eslint-plugin-angular-file-naming"},"angular-hobbicloud":{repository:"https://github.com/caglarcem/eslint-plugin-angular"},"angular-template-consistent-this":{repository:"https://github.com/jerone/eslint-plugin-angular-template-consistent-this"},angularjs:{repository:"https://github.com/sahibinden/eslint-plugin-angularjs"},ante:{repository:"https://github.com/twuni/eslint-plugin-ante"},"anti-trojan-source":{repository:"https://github.com/lirantal/eslint-plugin-anti-trojan-source"},antony:{repository:"https://github.com/antony1060/lint"},apa:{repository:"https://github.com/lekrans/eslint-plugin-apa"},"apklab-frida":{repository:"https://github.com/avast/eslint-plugin-apklab-frida"},appjson:{repository:"https://github.com/unfold/eslint-config-appjson"},aqsc:{repository:"https://github.com/qdhuadi/eslint-plugin-aqsc"},arcadia:{repository:"https://github.com/salesmessage/javascript"},arguments:{repository:"https://github.com/ronapelbaum/eslint-plugin-arguments"},arista:{repository:"https://github.com/aristanetworks/cloudvision-frontend-config"},arithmetic:{repository:"https://github.com/JonnyBurger/eslint-plugin-arithmetic"},"array-func":{repository:"https://github.com/freaktechnik/eslint-plugin-array-func"},"arrow-function-brace":{repository:"https://github.com/hayawata3626/eslint-plugin-arrow-function-brace"},artistco:{repository:"https://github.com/svengau/eslint-plugin-artistco"},ascii:{repository:"https://github.com/jsus1/eslint-plugin-ascii"},aspida:{repository:"https://github.com/ibuki2003/eslint-plugin-aspida"},asrt:{repository:"https://github.com/pzapalski/asrt"},assignment:{repository:"https://github.com/Chamion/eslint-plugin-assignment"},astro:{repository:"https://github.com/ota-meshi/eslint-plugin-astro"},"async-await":{repository:"https://github.com/59naga/eslint-plugin-async-await"},"atlassian-webapis":{repository:"https://github.com/samhh/eslint-plugin-atlassian-webapis"},"atomic-design":{repository:"https://github.com/RyoNkmr/eslint-plugin-atomic-design"},"atomic-design-hierarchy":{repository:"https://github.com/robinalaerts1/eslint-plugin-atomic-design-hierarchy"},"atomic-redesign":{repository:"https://github.com/recruit-tech/eslint-plugin-atomic-redesign"},attributes:{repository:"https://github.com/xjmforweb/eslint-plugin-attributes"},aurelia:{repository:"https://github.com/bryanrsmith/eslint-plugin-aurelia"},"authing-nestjs":{repository:"https://github.com/Authing/eslint-plugin-nestjs"},"auto-import-ts":{repository:"https://github.com/abstractball/eslint-plugin-auto-import-ts"},autofix:{repository:"https://github.com/aladdin-add/eslint-plugin/tree/master"},automatic:{repository:"https://github.com/gaoxiaosong/eslint-plugin-automatic"},ava:{docs:"https://github.com/avajs/eslint-plugin-ava/blob/main/docs/rules/",repository:"https://github.com/avajs/eslint-plugin-ava"},"avoid-explicit-extension":{repository:"https://github.com/rchougule/eslint-plugin-avoid-explicit-extension"},avol:{repository:"https://github.com/Avol-V/eslint-plugin-avol"},"await-in-async":{repository:"https://github.com/gzzhanghao/eslint-plugin-await-in-async"},"await-require-catch":{repository:"https://github.com/Learn-form-Zakas/eslint-plugin-await-require-catch"},"awesome-lint":{repository:"https://github.com/L1114/eslint-plugin-awesome-lint"},awscdk:{repository:"https://github.com/corymhall/eslint-plugin-awscdk"},axe:{repository:"https://github.com/dequelabs/axe-core"},azumuta:{repository:"https://github.com/Azumuta/eslint-plugin-azumuta"},"azure-sdk":{repository:"https://github.com/npm/security-holder"},babel:{repository:"https://github.com/babel/eslint-plugin-babel"},backk:{repository:"https://github.com/backk-node/eslint-plugin-backk"},backpack:{repository:"https://github.com/Skyscanner/eslint-plugin-backpack"},"bad-smells":{repository:"https://github.com/lucas-paiva98/eslint-plugin-bad-smells"},"baitshop-hooks":{repository:"https://github.com/aarongoin/eslint-plugin-baitshop-hooks"},bam:{repository:"https://github.com/bamlab/eslint-plugin-bam"},ban:{docs:"https://github.com/remithomas/eslint-plugin-ban/blob/master/docs/rules/",repository:"https://github.com/remithomas/eslint-plugin-ban"},"ban-package-import":{repository:"https://github.com/AlexandrKrivosheev/eslint-plugin-ban-package-import"},banno:{repository:"https://github.com/Banno/eslint-plugin-banno"},barm:{repository:"https://github.com/BARMPlus/eslint-plugin-barm"},basad:{repository:"https://github.com/EdenGottlieb/eslint-plugin-basad"},"base-style-config":{repository:"https://github.com/gmullerb/base-style-config"},baseui:{repository:"https://github.com/uber/baseweb"},"basic-kiva":{repository:"https://github.com/SystemLight/eslint-kiva"},bbva:{repository:"https://github.com/BBVAEngineering/javascript"},"be-consistent":{repository:"https://github.com/designfrontier/eslint-consistent"},"beautiful-imports":{repository:"https://github.com/sergeyshpadyrev/eslint-plugin-beautiful-imports"},"beautiful-sort":{repository:"https://github.com/allohamora/eslint-plugin-beautiful-sort"},belgradian:{repository:"https://github.com/proctorio/eslint-plugin-belgradian.js"},"bem-xjst":{repository:"https://github.com/bem/eslint-plugin-bem-xjst"},benderthecrime:{repository:"https://github.com/benderTheCrime/eslint-plugin-benderthecrime"},bes:{repository:"https://github.com/ykshang/eslint-custom-rule"},bestpractice:{repository:"https://github.com/strawlion/eslint-plugin-bestpractice"},"better-align":{repository:"https://github.com/CGQAQ/eslint-rule-import-align"},"better-dates":{repository:"https://github.com/chdsbd/eslint-plugin-better-dates"},"better-mutation":{repository:"https://github.com/sloops77/eslint-plugin-better-mutation"},"better-styled-components":{repository:"https://github.com/siffogh/eslint-plugin-better-styled-components"},"big-number-rules":{repository:"https://github.com/shuckster/eslint-plugin-big-number-rules"},bitrefill:{repository:"https://github.com/bitrefill/eslint-plugin-bitrefill"},"blank-line":{repository:"https://github.com/xbdtb/eslint-plugin-blank-line"},"block-function-spacing":{repository:"https://github.com/mgeraci/eslint-plugin-block-function-spacing"},"bof-newline":{repository:"https://github.com/lucastaliberti/eslint-plugin-bof-newline"},bonk2:{repository:"https://github.com/escorponox/eslint-plugin-bonk2"},botland:{repository:"https://github.com/freaktechnik/eslint-plugin-botland"},boundaries:{repository:"https://github.com/javierbrea/eslint-plugin-boundaries"},boyscout:{repository:"https://github.com/nicolaslt/eslint-plugin-boyscout"},"bpmn-io":{repository:"https://github.com/bpmn-io/eslint-plugin-bpmn-io"},brackets:{repository:"https://github.com/kentor/eslint-plugin-brackets"},"breakaway-eslint-plugin-patternfly-react":{repository:"https://github.com/pfbreakaway/breakaway-patternfly-react"},brlt:{repository:"https://github.com/nberlette/eslint-config"},"bs-eslint-rules":{repository:"https://github.com/Ticalie/bs-eslint"},bud:{repository:"https://github.com/samAroundGitHub/eslint-plugin-bud"},budapestian:{repository:"https://github.com/sverweij/eslint-plugin-budapestian"},"build-app":{repository:"https://github.com/gwmccull/eslint-plugin-build-app"},buildium:{repository:"https://github.com/buildium/eslint-plugin-buildium"},"builtin-compat":{repository:"https://github.com/instea/eslint-plugin-builtin-compat"},bullhorn:{repository:"https://github.com/bullhorn/eslint-plugin-bullhorn"},"bus-stuff":{repository:"https://github.com/erikmaday/eslint-config-bus-stuff"},cake:{repository:"https://github.com/sbdchd/eslint-plugin-cake"},caleb:{repository:"https://github.com/calebeby/eslint-config"},"call-func-with-return":{repository:"https://github.com/elvinn/eslint-plugin-call-func-with-return"},callback:{repository:"https://github.com/andreysm/eslint-plugin-callback"},"camelcase-ohm":{repository:"https://github.com/ohmlang/eslint-plugin-camelcase-ohm"},"camunda-licensed":{repository:"https://github.com/camunda/eslint-plugin-camunda-licensed"},caniuse:{repository:"https://github.com/amilajack/eslint-plugin-caniuse"},canonical:{repository:"https://github.com/gajus/eslint-plugin-canonical"},"capital-case":{repository:"https://github.com/tcorley/eslint-plugin-capital-case"},"caps-on":{repository:"https://github.com/or109/eslint-plugin-caps-on"},capture:{repository:"https://github.com/edgarinvillegas/eslint-plugin-capture"},careaxiom:{repository:"https://github.com/umar-muneer/eslint-plugin-careaxiom"},"cascading-imports":{repository:"https://github.com/cheap-glitch/eslint-plugin-cascading-imports"},"cde-ejs-html":{repository:"https://github.com/clubedaentrega/eslint-plugin-cde-ejs-html"},cdk:{repository:"https://github.com/hupe1980/cdkdx"},censor:{repository:"https://github.com/pustovitDmytro/eslint-plugin-censor"},"chai-assert-bdd":{repository:"https://github.com/t-huth/eslint-plugin-chai-assert-bdd"},"chai-asserts":{repository:"https://github.com/orloffv/eslint-plugin-chai-asserts"},"chai-expect":{repository:"https://github.com/turbo87/eslint-plugin-chai-expect"},"chai-expect-keywords":{repository:"https://github.com/gavinaiken/eslint-plugin-chai-expect-keywords"},"chai-friendly":{repository:"https://github.com/ihordiachenko/eslint-plugin-chai-friendly"},chain:{repository:"https://github.com/cenfun/eslint-plugin-chain"},"chakra-ui":{repository:"https://github.com/Monchi/eslint-plugin-chakra-ui"},chalk:{repository:"https://github.com/xuqingkuang/eslint-plugin-chalk"},chameleon:{repository:"https://github.com/vuejs/eslint-plugin-vue"},"chamion-typescript":{repository:"https://github.com/Chamion/eslint-plugin-chamion-typescript"},"change-detection-strategy":{repository:"https://github.com/num13ru/eslint-plugin-change-detection-strategy"},chartjs:{repository:"https://github.com/Manu1400/eslint-plugin-chartjs"},"check-class-name":{repository:"https://github.com/SkyblueWZZQ/eslint-plugin-check-class-name"},"check-diff-chinese":{repository:"https://github.com/pandaCure/lerna"},"check-file":{repository:"https://github.com/DukeLuo/eslint-plugin-check-file"},"check-umi-import":{repository:"https://github.com/ETRick/eslint-plugin-check-umi-import"},chotot:{repository:"https://github.com/chototoss/chotot-web-standards"},"chowa-standard":{repository:"https://github.com/chowa/eslint-plugin-chowa-standard"},cjk:{repository:"https://github.com/bluelovers/ws-eslint"},"ckeditor5-rules":{repository:"https://github.com/ckeditor/ckeditor5-linters-config"},ckhtml:{repository:"https://github.com/BenoitZugmeyer/eslint-plugin-html"},"class-extends":{repository:"https://github.com/wesbaker/eslint-plugin-class-extends"},"class-method-newlines":{repository:"https://github.com/kondi/eslint-plugin-class-method-newlines"},"class-methods-use-this-regex":{repository:"https://github.com/Donov4n/eslint-plugin-class-methods-use-this-regex"},"class-methods-use-this-regexp":{repository:"https://github.com/teryaew/eslint-plugin-class-methods-use-this-regexp"},"class-prefer-methods":{repository:"https://github.com/buildo/eslint-plugin-class-prefer-methods"},"class-types":{repository:"https://github.com/fleck/eslint-plugin-class-types"},classnames:{repository:"https://github.com/fsubal/eslint-plugin-classnames"},"clean-code":{repository:"https://github.com/pksilen/eslint-plugin-clean-code"},"clean-codestyle":{repository:"https://github.com/jsaguet/eslint-plugin-clean-codestyle"},"clean-testing":{repository:"https://github.com/Mjtlittle/eslint-plugin-clean-testing"},"clean-timer":{repository:"https://github.com/littlee/eslint-plugin-clean-timer"},cleanjs:{repository:"https://github.com/eslint-plugin-cleanjs/eslint-plugin-cleanjs"},closure:{repository:"https://github.com/google/eslint-closure"},"closure-library":{repository:"https://github.com/koba04/eslint-plugin-closure-library"},clutter:{repository:"https://github.com/43081j/notneeded"},"code-import-patterns":{repository:"https://github.com/pkerschbaum/eslint-plugin-code-import-patterns"},"code-struct":{repository:"https://github.com/cssmiles/eslint-code-struct"},codebox:{repository:"https://github.com/asn007/eslint-plugin-codebox"},"codebox-jh":{repository:"https://github.com/judithhartmann/eslint-plugin-codebox"},codeceptjs:{repository:"https://github.com/poenneby/eslint-plugin-codeceptjs"},codeceptjs2:{repository:"https://github.com/APshenkin/eslint-plugin-codeceptjs"},codegen:{repository:"https://github.com/mmkal/ts"},coffee:{repository:"https://github.com/helixbass/eslint-plugin-coffee"},"coffee-scope":{repository:"https://github.com/apaleslimghost/eslint-plugin-coffee-scope"},coffeescript:{repository:"https://github.com/a-x-/eslint-plugin-coffeescript"},"coffeescript-es7":{repository:"https://github.com/ovikholt/eslint-plugin-coffeescript"},coherence:{repository:"https://github.com/leonardodino/eslint-plugin-coherence"},coinbase:{repository:"https://github.com/npm/security-holder"},"comment-annotations":{repository:"https://github.com/102/eslint-plugin-comment-annotations"},"comment-length":{repository:"https://github.com/lasselupe33/eslint-plugin-comment-length"},"comment-length-2":{repository:"https://github.com/lasselupe33/eslint-plugin-comment-length"},"comment-reflow":{repository:"https://github.com/jfroelich/eslint-plugin-comment-reflow"},comments:{repository:"https://github.com/lo1tuma/eslint-plugin-comments"},"comments-key":{repository:"https://github.com/ATQQ/eslint-plugin-comments-key"},commonjs:{repository:"https://github.com/d-band/eslint-plugin-commonjs"},"commonjs-require-case":{repository:"https://github.com/charlesbjohnson/eslint-module-plugins"},"commonjs-require-name":{repository:"https://github.com/charlesbjohnson/eslint-module-plugins"},"communist-spelling":{repository:"https://github.com/dprgarner/eslint-plugin-communist-spelling"},community:{repository:"https://github.com/tzellman/eslint-plugin-community"},compat:{docs:"https://github.com/amilajack/eslint-plugin-compat/blob/main/docs/rules/",repository:"https://github.com/amilajack/eslint-plugin-compat"},compfest:{repository:"https://github.com/COMPFEST/eslint-plugin-compfest"},"config-files":{repository:"https://github.com/tyankatsu0105/eslint-plugin-config-files"},"consistent-modules-import":{repository:"https://github.com/kiwi-code/eslint-plugin-consistent-import"},"consistent-subscribe":{repository:"https://github.com/Gvozd/eslint-plugin-consistent-subscribe"},"const-case":{repository:"https://github.com/k03mad/eslint-plugin-const-case"},"const-immutable":{repository:"https://github.com/zeronone/eslint-plugin-const-immutable"},"cookie-often":{repository:"https://github.com/fortune-cook1e/eslint-plugin-cookie-often"},core:{repository:"https://github.com/Braised-Cakes/eslint-plugin-core"},coremail:{repository:"https://github.com/Mailtech/eslint-config-coremail"},couchdb:{repository:"https://github.com/scdf/eslint-plugin-couchdb"},coursera:{repository:"https://github.com/coursera/eslint-plugin-coursera"},crb:{repository:"https://github.com/chrisbreiding/eslint-plugin-crb"},criteo:{repository:"https://github.com/criteo/eslint-plugin-criteo"},css:{repository:"https://github.com/ota-meshi/eslint-plugin-css"},"css-in-js":{repository:"https://github.com/jackyho112/eslint-plugin-css-in-js"},"css-modules":{repository:"https://github.com/atfzl/eslint-plugin-css-modules"},"css-modules-amannn-fork":{repository:"https://github.com/atfzl/eslint-plugin-css-modules"},"css-modules-es":{repository:"https://github.com/csu-feizao/eslint-plugin-css-modules-es"},"css-modules-mariosetenal":{repository:"https://github.com/atfzl/eslint-plugin-css-modules"},"css-reorder":{repository:"https://github.com/myuon/eslint-plugin-css-reorder"},"ct.macro":{repository:"https://github.com/fleck/eslint-plugin-ct.macro"},cucumber:{docs:"https://github.com/darrinholst/eslint-plugin-cucumber/blob/master/docs/rules/",repository:"https://github.com/darrinholst/eslint-plugin-cucumber"},cup:{repository:"https://github.com/rtsao/create-universal-package"},"curly-quotes":{repository:"https://github.com/younesaassila/eslint-plugin-curly-quotes"},curology:{repository:"https://github.com/PocketDerm/eslint-plugin-curology"},"custom-display-name":{repository:"https://github.com/nissy-dev/eslint-plugin-custom-display-name"},"custom-elements":{repository:"https://github.com/github/eslint-plugin-custom-elements"},"custom-jsx-props-order":{repository:"https://github.com/fenbka/eslint-plugin-custom-jsx-props-order"},"custom-prettier":{repository:"https://github.com/shaneu/eslint-plugin-custom-prettier"},"custom-rule":{repository:"https://github.com/imiklos/eslint-plugin-custom-rule"},cwkr:{repository:"https://github.com/cwkr/coding-guidelines"},cx:{repository:"https://github.com/artemdudkin/eslint-plugin-cx"},cxweb:{repository:"https://github.com/metreniuk/eslint-plugin-cxweb"},cypress:{docs:"https://github.com/cypress-io/eslint-plugin-cypress/blob/master/docs/rules/",repository:"https://github.com/cypress-io/eslint-plugin-cypress"},"cypress-dev":{repository:"https://github.com/cypress-io/eslint-plugin-cypress-dev"},"cypress-parallelize":{repository:"https://github.com/vtex/eslint-plugin-cypress-parallelize"},"cypress-test-best-practices":{repository:"https://github.com/lewis-prescott-cruk/eslint-plugin-cypress-test-best-practices"},date:{repository:"https://github.com/HeavenSky/eslint-plugin-date"},"date-timezone":{repository:"https://github.com/msobas/eslint-plugin-date-timezone"},deckgl:{repository:"https://github.com/jstaab/eslint-plugin-deckgl"},"declaration-quotes":{repository:"https://github.com/726b/eslint-plugin-declaration-quotes"},"decorator-position":{repository:"https://github.com/NullVoxPopuli/eslint-plugin-decorator-position"},"define-script":{repository:"https://github.com/eslift/eslint-plugin-define-script"},deku:{repository:"https://github.com/deku-scrubs/eslint-plugin-deku"},"delegated-events":{repository:"https://github.com/dgraham/eslint-plugin-delegated-events"},"deny-some-modules-full-import":{repository:"https://github.com/ZWkang/eslint-plugin-deny-some-modules-full-import"},deoxxa:{repository:"https://github.com/deoxxa/eslint-plugin-deoxxa"},dependencies:{repository:"https://github.com/zertosh/eslint-plugin-dependencies"},"dependency-relation":{repository:"https://github.com/YutamaKotaro/eslint-plugin-dependencies-relation"},deprecate:{repository:"https://github.com/AlexMost/eslint-plugin-deprecate"},"deprecate-import":{repository:"https://github.com/findmypast-oss/eslint-plugin-deprecate-import"},deprecated:{repository:"https://github.com/ayqy/eslint-plugin-deprecated"},deprecation:{repository:"https://github.com/gund/eslint-plugin-deprecation"},"design-system":{repository:"https://github.com/dslounge/eslint-plugin-design-system"},destructuring:{repository:"https://github.com/lukeapage/eslint-plugin-destructuring"},"destructuring-newline":{repository:"https://github.com/kusotenpa/eslint-plugin-destructuring-newline"},"detect-bad-words":{repository:"https://github.com/darwintantuco/eslint-plugin-detect-bad-words"},"detect-haiku":{repository:"https://github.com/sadnessOjisan/eslint-plugin-detect-haiku"},"detect-hard-code":{repository:"https://github.com/felipebruce/detect-hard-code"},"detect-headers-without-current-year":{repository:"https://github.com/felipebruce/detect-headers-without-current-year"},"detect-no-assignment":{repository:"https://github.com/felipebruce/detect-no-assignment"},"detox-bcp":{repository:"https://github.com/wix-incubator/eslint-plugin-detox-bcp"},dfsx:{repository:"https://github.com/dfsxdev/eslint-plugin-dfsx"},diff:{repository:"https://github.com/paleite/eslint-plugin-diff"},dirs:{repository:"https://github.com/Xooone47/eslint-plugin-dirs"},disable:{repository:"https://github.com/mradionov/eslint-plugin-disable"},"disable-autofix":{repository:"https://github.com/chiefmikey/eslint-plugin-disable-autofix"},"disable-features":{repository:"https://github.com/brendenpalmer/eslint-plugin-disable-features"},"disallow-literals-as-jsxelement-children":{repository:"https://github.com/dominiczaq/eslint-plugin-disallow-literals-as-jsxelement-children"},"diversity-inclusion":{repository:"https://github.com/manij89/eslint-plugin-diversity-inclusion"},django:{repository:"https://github.com/benspaulding/eslint-plugin-django"},"document-write":{repository:"https://github.com/phanect/eslint-plugin-no-document-write"},"dollar-sign":{repository:"https://github.com/erikdesjardins/eslint-plugin-dollar-sign"},dollarshaveclub:{repository:"https://github.com/dollarshaveclub/eslint-plugin-dollarshaveclub"},dom:{repository:"https://github.com/amilajack/eslint-plugin-dom"},"double-semi":{repository:"https://github.com/flet/eslint-plugin-double-semi"},"dp-taro-eslint-plugin-taro":{repository:"https://github.com/NervJS/taro"},dprint:{repository:"https://github.com/mysticatea/eslint-plugin-dprint"},drupal:{repository:"https://github.com/theodoreb/eslint-plugin-drupal"},"drupal-contrib":{repository:"https://github.com/coldfrontlabs/eslint-plugin-drupal-contrib"},dtslint:{repository:"https://github.com/cartant/eslint-plugin-dtslint"},duck:{repository:"https://github.com/enkidevs/eslint-plugin-duck"},dulcet:{repository:"https://github.com/khanhduy1407/eslint-plugin-dulcet"},"dynamic-jest-global":{repository:"https://github.com/nickshevr/eslint-plugin-dynamic-jest-global"},"easy-loops":{repository:"https://github.com/bennypowers/eslint-plugin-easy-loops"},ebdd:{repository:"https://github.com/fasttime/eslint-plugin-ebdd"},ecmalist:{repository:"https://github.com/ivangeorgiew/eslint-plugin-ecmalist"},"ecmascript-compat":{repository:"https://github.com/robatwilliams/es-compat"},editorconfig:{repository:"https://github.com/phanect/eslint-plugin-editorconfig"},effector:{repository:"https://github.com/effector/eslint-plugin"},eggache:{repository:"https://github.com/eggjs/eslint-plugin-eggache"},"egrand-vue":{repository:"https://github.com/wuyuweixin/eslint-plugin-egrand-vue"},"ejs-js":{repository:"https://github.com/overlookmotel/eslint-plugin-ejs-js"},ekimlinger:{repository:"https://github.com/ekimlinger/eslint-plugin-ekimlinger"},"elastic-charts":{repository:"https://github.com/npm/security-holder"},"elrond-childapp-bound":{repository:"https://github.com/abeet/eslint-plugin-elrond-childapp-bound"},"email-css-rules":{repository:"https://github.com/taskworld/eslint-plugin-email-css-rules"},ember:{docs:"https://github.com/ember-cli/eslint-plugin-ember/blob/master/docs/rules/",repository:"https://github.com/ember-cli/eslint-plugin-ember"},"ember-cleanup":{docs:"https://github.com/onechiporenko/eslint-plugin-ember-cleanup/blob/master/docs/rules/",repository:"https://github.com/onechiporenko/eslint-plugin-ember-cleanup"},"ember-concurrency":{repository:"https://github.com/simplabs/eslint-plugin-ember-concurrency"},"ember-data":{repository:"https://github.com/npm/security-holder"},"ember-es6-class":{repository:"https://github.com/scalvert/eslint-plugin-ember-es6-class"},"ember-internal":{repository:"https://github.com/Turbo87/eslint-plugin-ember-internal"},"ember-later-lint-rules":{repository:"https://github.com/blb451/ember-later-lint-rules"},"ember-rules-twitch":{repository:"https://github.com/npm/security-holder"},"ember-standard":{repository:"https://github.com/ciena-blueplanet/eslint-plugin-ember-standard"},emmanuel:{repository:"https://github.com/Manu1400/eslint-plugin-emmanuel"},"emotion-utils":{repository:"https://github.com/danielhusar/eslint-plugin-emotion-utils"},"empty-returns":{repository:"https://github.com/aero31aero/eslint-plugin-empty-returns"},enact:{repository:"https://github.com/enactjs/eslint-plugin-enact"},"enchanted-curly":{repository:"https://github.com/kobezzza/eslint-plugin-enchanted-curly"},endpass:{repository:"https://github.com/endpass/endpass-core"},"enforce-test-id-jsx":{repository:"https://github.com/xblurx/eslint-jsx-enforce-test-id"},"engelhorn-sfcc":{repository:"https://github.com/t-huth/eslint-plugin-engelhorn-sfcc"},"enterprise-extras":{repository:"https://github.com/buildertrend/eslint-plugin-enterprise-extras"},env:{repository:"https://github.com/rtsao/eslint-plugin-env"},enzyme:{repository:"https://github.com/giamir/eslint-plugin-enzyme"},"eqeqeq-fix":{repository:"https://github.com/Zamiell/eslint-plugin-eqeqeq-fix"},es:{docs:"https://github.com/mysticatea/eslint-plugin-es/blob/master/docs/rules/",repository:"https://github.com/mysticatea/eslint-plugin-es"},"es-beautifier":{repository:"https://github.com/dai-shi/es-beautifier"},"es-roikoren":{repository:"https://github.com/roikoren755/eslint-plugin-es"},"es-x":{repository:"https://github.com/ota-meshi/eslint-plugin-es-x"},es5:{repository:"https://github.com/nkt/eslint-plugin-es5"},"es5-jquery-lodash":{repository:"https://github.com/NicolasReibnitz/eslint-plugin-es5-jquery-lodash"},es6:{repository:"https://github.com/nadongguri/eslint-plugin-es6"},"es6-recommended":{repository:"https://github.com/mgtitimoli/eslint-plugin-es6-recommended"},escompat:{repository:"https://github.com/keithamus/eslint-plugin-escompat"},"eslint-comments":{docs:"https://github.com/mysticatea/eslint-plugin-eslint-comments/blob/master/docs/rules/",repository:"https://github.com/mysticatea/eslint-plugin-eslint-comments"},"eslint-config":{repository:"https://github.com/g-rath/eslint-plugin-eslint-config"},"eslint-plugin":{docs:"https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/main/docs/rules/",repository:"https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin"},"eslint-vertical-import":{repository:"https://github.com/eydrian/eslint-vertical-import"},esquery:{repository:"https://github.com/suchipi/eslint-plugin-esquery"},etc:{repository:"https://github.com/cartant/eslint-plugin-etc"},etiqa:{repository:"https://github.com/Etiqa/eslint-plugin-etiqa"},evelyn:{repository:"https://github.com/evelynhathaway/eslint-plugin-evelyn"},"event-listener":{repository:"https://github.com/SinLucifer/eslint-plugin-event-listeners"},evernote:{repository:"https://github.com/evernote/eslint-plugin-evernote"},"excel-custom-functions":{repository:"https://github.com/OfficeDev/Office-Addin-Scripts"},"exclude-nunjuck-tags":{repository:"https://github.com/ibrahim12/eslint-plugin-exclude-nunjuck-tags"},"exclude-php-tags":{repository:"https://github.com/Alexnder/eslint-plugin-exclude-php-tags"},"expect-type":{repository:"https://github.com/JoshuaKGoldberg/eslint-plugin-expect-type"},expires:{repository:"https://github.com/digencer/eslint-plugin-expires"},"explicit-comparator":{repository:"https://github.com/sam-parsons/eslint-plugin-explicit-comparator"},"exports-order":{repository:"https://github.com/simonprod/eslint-plugin-exports-order"},ext:{repository:"https://github.com/jiangfengming/eslint-plugin-ext"},extend:{repository:"https://github.com/bregenspan/eslint-plugin-extend"},extended:{repository:"https://github.com/thenativeweb/eslint-plugin-extended"},extendscript:{repository:"https://github.com/adambrgmn/eslint-plugin-extendscript"},extjs:{repository:"https://github.com/burnnat/eslint-plugin-extjs"},extra:{repository:"https://github.com/gevgeny/eslint-plugin-extra"},"extra-syntax":{repository:"https://github.com/th317erd/eslint-plugin-extra-syntax"},fabmanager:{repository:"https://github.com/sleede/fabmanager-rules"},faltest:{repository:"https://github.com/CrowdStrike/faltest"},"fastify-security-rules":{repository:"https://github.com/lirantal/eslint-plugin-security"},"fat-arrow-same-line":{repository:"https://github.com/pzuraq/eslint-plugin-fat-arrow-same-line"},"fb-www":{repository:"https://github.com/aaronabramov/eslint-plugin-fb-www"},fbi:{repository:"https://github.com/fbi-js/eslint-plugin-fbi"},fda:{repository:"https://github.com/meetromb/eslint-plugin-fda"},fest:{repository:"https://github.com/Angmor23/eslint-plugin-fest"},"fetch-options":{repository:"https://github.com/piatra/eslint-plugin-fetch"},"file-header":{repository:"https://github.com/Sekhmet/eslint-plugin-file-header"},"file-layout":{repository:"https://github.com/keik/eslint-plugin-file-layout"},"file-path-comment":{repository:"https://github.com/samelliottdlt/eslint-plugin-file-path-comment"},"file-progress":{repository:"https://github.com/sibiraj-s/eslint-plugin-file-progress"},filename:{repository:"https://github.com/benyasin/eslint-plugin-filename"},"filename-checker":{repository:"https://github.com/amirzenoozi/eslint-plugin-filename-checker"},"filename-consistency":{repository:"https://github.com/wmdanor/eslint-plugin-filename-consistency"},"filename-rules":{repository:"https://github.com/dolsem/eslint-plugin-filename-rules"},filenames:{repository:"https://github.com/selaux/eslint-plugin-filenames"},"filenames-simple":{repository:"https://github.com/epaew/eslint-plugin-filenames-simple"},filesize:{repository:"https://github.com/voltrevo/eslint-plugin-filesize"},"firebase-functions":{repository:"https://github.com/alii/eslint-plugin-firebase-functions"},"fix-deps":{repository:"https://github.com/mitchellhamilton/eslint-plugin-fix-deps"},flipper:{repository:"https://github.com/npm/security-holder"},flow:{repository:"https://github.com/gajus/eslint-plugin-flowtype"},"flow-check":{repository:"https://github.com/marionebl/eslint-plugin-flow-check"},"flow-header":{repository:"https://github.com/eirikurn/eslint-plugin-flow-header"},"flow-missing":{repository:"https://github.com/alburkerk/eslint-plugin-flow-missing"},"flow-typed":{repository:"https://github.com/marudor/eslint-plugin-flow-typed"},"flowspace-es5":{repository:"https://github.com/Flowspace-Team/eslint-plugin-es5"},flowtype:{repository:"https://github.com/gajus/eslint-plugin-flowtype"},"flowtype-comment":{repository:"https://github.com/hczhcz/eslint-plugin-flowtype-comment"},"flowtype-errors":{repository:"https://github.com/amilajack/eslint-plugin-flowtype-errors"},"flowtype-esm":{repository:"https://github.com/ganesankv/eslint-plugin-flowtype"},"flux-standard-actions":{repository:"https://github.com/aosyatnik/eslint-plugin-flux-standard-actions"},fly:{repository:"https://github.com/Hzy0913/eslint-plugin-fly"},folders:{repository:"https://github.com/christopherbradleybanks/eslint-plugin-folders"},"folders-rules":{repository:"https://github.com/yoobic/eslint-plugin-folders-rules"},folders2:{repository:"https://github.com/pajarraco/eslint-plugin-folders2"},foo:{repository:"https://github.com/Time-coding/eslint-plugin-foo"},"for-wtools":{repository:"https://github.com/Wandalen/EslintPluginForWtools"},"forbidden-package":{repository:"https://github.com/Krosantos/eslint-plugin-forbidden-package"},"force-theme-colors":{repository:"https://github.com/martini97/eslint-plugin-force-theme-colors"},"force-void":{repository:"https://github.com/pat841/eslint-plugin-force-void"},"format-message":{repository:"https://github.com/format-message/format-message"},formatjs:{repository:"https://github.com/formatjs/formatjs"},"formatjs-no-id-duplication":{repository:"https://github.com/gopollock/eslint-plugin-formatjs-no-id-duplication"},formatting:{repository:"https://github.com/dugokontov/eslint-plugin-formatting"},"fp-jxl":{repository:"https://github.com/jesterxl/eslint-plugin-fp-jxl"},"fp-ts":{repository:"https://github.com/buildo/eslint-plugin-fp-ts"},"fp-ts-strict":{repository:"https://github.com/SandroMaglione/eslint-plugin-fp-ts-strict"},fpcs:{repository:"https://github.com/flowerpress/eslint-plugin-fpcs"},"frank-eslint-plugin-i18n-json":{repository:"https://github.com/godaddy/eslint-plugin-i18n-json"},freaking:{repository:"https://github.com/iandarling/eslint-plugin-freaking"},"front-require-in-package":{repository:"https://github.com/frontapp/eslint-plugin-require-in-package"},frontend:{repository:"https://github.com/obartra/eslint-plugin-frontend"},fsa:{repository:"https://github.com/joseph-galindo/eslint-plugin-fsa"},"ft-flow":{repository:"https://github.com/flow-typed/eslint-plugin-ft-flow"},ftgp:{repository:"https://github.com/foretagsplatsen/ftgp-eslint"},"full-import":{repository:"https://github.com/mdebbar/eslint-plugin-full-import"},fullfilename:{repository:"https://github.com/litelite/eslint-plugin-fullfilename"},"func-call":{repository:"https://github.com/titarenko/eslint-plugin-func-call"},"func-params-args":{repository:"https://github.com/abdusabri/eslint-plugin-func-params-args"},"function-call-context":{repository:"https://github.com/Glinkis/eslint-plugin-function-call-context"},"function-name":{repository:"https://github.com/legend80s/eslint-plugin-function-name"},"function-return-assigned-name":{repository:"https://github.com/Jephuff/eslint-plugin-function-return-assigned-name"},functional:{repository:"https://github.com/jonaskello/eslint-plugin-functional"},"functional-noshiro-fixed":{repository:"https://github.com/jonaskello/eslint-plugin-functional"},funfp:{repository:"https://github.com/twilson63/eslint-plugin-funfp"},"fuse-box-eslint-plugin":{repository:"https://github.com/DoumanAsh/fuse-box-eslint-plugin"},fxa:{repository:"https://github.com/mozilla/eslint-plugin-fxa"},galaxy:{repository:"https://github.com/CyanSalt/eslint-plugin-galaxy"},gamut:{repository:"https://github.com/Codecademy/gamut"},gatsby:{repository:"https://github.com/SSouik/eslint-plugin-gatsby"},"gatsby-no-static-queries":{repository:"https://github.com/larowlan/eslint-plugin-gatsby-no-static-queries"},gb:{repository:"https://github.com/garyb432/eslint-plugin-gb"},"gcp-samples":{repository:"https://github.com/googleapis/eslint-plugin-gcp-samples"},geekie:{repository:"https://github.com/geekie/eslint-plugin"},geojson:{repository:"https://github.com/arlyn-bones/eslint-plugin-json"},gerhut:{repository:"https://github.com/Gerhut/eslint-plugin-gerhut"},"get-off-my-lawn":{repository:"https://github.com/manovotny/eslint-plugin-get-off-my-lawn"},getsentry:{repository:"https://github.com/getsentry/eslint-plugin-getsentry"},getsize:{repository:"https://github.com/timqha/eslint-plugin-getsize"},gettext:{repository:"https://github.com/appannie/eslint-plugin-gettext"},ghost:{repository:"https://github.com/TryGhost/eslint-plugin-ghost"},github:{repository:"https://github.com/github/eslint-plugin-github"},glip:{repository:"https://github.com/brettpaden/eslint-plugin-glip"},"glob-in-npm-script":{repository:"https://github.com/m-sureshraj/eslint-plugin-glob-in-npm-script"},gm:{repository:"https://github.com/gmfe/eslint-plugin-gm"},gmfe:{repository:"https://github.com/gmfe/eslint-plugin-gmfe"},"good-practices":{repository:"https://github.com/Rahul9046/eslint-plugin-good-practices"},goodeggs:{repository:"https://github.com/goodeggs/eslint-plugin-goodeggs"},"google-camelcase":{repository:"https://github.com/greggman/eslint-plugin-google-camelcase"},googleappsscript:{repository:"https://github.com/selectnull/eslint-plugin-googleappsscript"},googlemaps:{repository:"https://github.com/googlemaps/eslint-plugin-googlemaps"},googshift:{repository:"https://github.com/gberaudo/eslint-plugin-googshift"},grailed:{repository:"https://github.com/npm/security-holder"},grapes:{repository:"https://github.com/Krosantos/eslint-plugin-grapes"},graphql:{repository:"https://github.com/apollostack/eslint-plugin-graphql"},"graphql-next":{repository:"https://github.com/apollostack/eslint-plugin-graphql"},"graphql-optimistic-response":{repository:"https://github.com/bl42/eslint-plugin-graphql-optimistic-response"},"graphql-schema":{repository:"https://github.com/joshuaNathaniel/eslint-plugin-graphql-schema"},gridsome:{repository:"https://github.com/gridsome/eslint-plugin-gridsome"},grind:{repository:"https://github.com/grindjs/eslint-plugin-grind"},grommet:{repository:"https://github.com/grommet/eslint-plugin-grommet"},"grouped-import":{repository:"https://github.com/kairome/eslint-plugin-grouped-import"},"grouped-imports":{repository:"https://github.com/gohabereg/eslint-plugin-grouped-imports"},hackmud:{repository:"https://github.com/apazzolini/eslint-hackmud"},hackmud2:{repository:"https://github.com/KuroTsuto/eslint-plugin-hackmud"},hammerhead:{repository:"https://github.com/LavrovArtem/eslint-plugin-hammerhead"},haraka:{repository:"https://github.com/haraka/haraka-eslint"},harmony:{repository:"https://github.com/unional/eslint-plugin-harmony"},"hash-exempt":{repository:"https://github.com/ckarper/eslint-plugin-hash-exempt"},hbs:{repository:"https://github.com/psbanka/eslint-plugin-hbs"},header:{repository:"https://github.com/Stuk/eslint-plugin-header"},healthier:{repository:"https://github.com/KidkArolis/eslint-plugin-healthier"},"helix-structure":{repository:"https://github.com/jeppeskovsen/eslint-plugin-helix-structure"},hijup:{repository:"https://github.com/hijup/eslint-plugin-hijup"},"hook-break-line":{repository:"https://github.com/meerkat-morecats/eslint-plugin-hook-break-line"},hooks:{repository:"https://github.com/hiukky/eslint-plugin-hooks"},hsl:{repository:"https://github.com/hsl947/eslint-plugin-hsl"},htm:{repository:"https://github.com/rx-ts/eslint"},html:{repository:"https://github.com/BenoitZugmeyer/eslint-plugin-html"},"html-erb":{repository:"https://github.com/pmrotule/eslint-plugin-html-erb"},hydrogen:{repository:"https://github.com/Shopify/hydrogen"},"hydrogen-matt":{repository:"https://github.com/Shopify/hydrogen"},"i-bem-js":{repository:"https://github.com/Realetive/eslint-plugin-i-bem-js"},i18n:{repository:"https://github.com/chejen/eslint-plugin-i18n"},"i18n-checker":{repository:"https://github.com/LuciNyan/eslint-plugin-i18n-checker"},"i18n-json":{repository:"https://github.com/godaddy/eslint-plugin-i18n-json"},"i18n-lingui":{repository:"https://github.com/OkCupid/eslint-plugin-i18n-lingui"},"i18n-plus":{repository:"https://github.com/alandre/eslint-plugin-i18n-plus"},"i18n-text":{repository:"https://github.com/dgraham/eslint-plugin-i18n-text"},"i18n-text-localize":{repository:"https://github.com/dgraham/eslint-plugin-i18n-text"},"i18n-validator":{repository:"https://github.com/OvalMoney/eslint-plugin-i18n-validator"},i18n2:{repository:"https://github.com/imhele/eslint-plugin-i18n2"},i18next:{repository:"https://github.com/edvardchen/eslint-plugin-i18next"},i18nlint:{repository:"https://github.com/B1gF4ceC4t/eslint-plugin-i18nlint"},"icon-button":{repository:"https://github.com/SmallImprovements-OpenSource/eslint-plugin-icon-button"},ideal:{repository:"https://github.com/gyandeeps/eslint-plugin-ideal"},"idiomatic-jsx-u":{repository:"https://github.com/Jgaona/eslint-plugin-idiomatic-jsx"},"ie-jsapi":{repository:"https://github.com/rainAgain/eslint-plugin-ie-jsapi"},"ie-static-methods":{repository:"https://github.com/rfeie/eslint-plugin-ie-static-methods"},ie11:{repository:"https://github.com/Volox/eslint-plugin-ie11"},"ignore-erb-mogix":{repository:"https://github.com/mogix/eslint-plugin-ignore-erb"},"ignore-generated":{repository:"https://github.com/zertosh/eslint-plugin-ignore-generated"},"ignore-generated-and-nolint":{repository:"https://github.com/zertosh/eslint-plugin-ignore-generated-and-nolint"},"ignore-native-decl":{repository:"https://github.com/darahak/eslint-plugin-ignore-native-decl"},ignoreuglify:{repository:"https://github.com/ruanyf/eslint-plugin-ignoreuglify"},immer:{repository:"https://github.com/supremebeing7/eslint-plugin-immer"},"immer-reducer":{repository:"https://github.com/skoshy/eslint-plugin-immer-reducer"},immutable:{repository:"https://github.com/jhusain/eslint-plugin-immutable"},"immutable-class":{repository:"https://github.com/implydata/immutable-class"},immutablefork:{repository:"https://github.com/raphaelbadia/eslint-plugin-immutable"},imperative:{repository:"https://github.com/guidesmiths/eslint-plugin-imperative"},"implicit-dependencies":{repository:"https://github.com/lennym/eslint-plugin-implicit-dependencies"},import:{docs:"https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/",repository:"https://github.com/import-js/eslint-plugin-import"},"import-1nd":{repository:"https://github.com/benmosher/eslint-plugin-import"},"import-access":{repository:"https://github.com/uhyo/eslint-plugin-import-access"},"import-alias":{repository:"https://github.com/steelsojka/eslint-import-alias"},"import-auto-name":{repository:"https://github.com/shnhrrsn/eslint-plugin-import-auto-name"},"import-b5a962":{repository:"https://github.com/benmosher/eslint-plugin-import"},"import-fix-is-scoped":{repository:"https://github.com/benmosher/eslint-plugin-import"},"import-force-abbr":{repository:"https://github.com/deser/eslint-plugin-import-force-abbr"},"import-helpers":{repository:"https://github.com/Tibfib/eslint-plugin-import-helpers"},"import-length":{repository:"https://github.com/steelsojka/eslint-import-length"},"import-monorepo":{repository:"https://github.com/igogo5yo/eslint-plugin-import-monorepo"},"import-name":{repository:"https://github.com/R1ON/eslint-plugin-import-name"},"import-newlines":{repository:"https://github.com/SeinopSys/eslint-plugin-import-newlines"},"import-only-from-index":{repository:"https://github.com/fourside/eslint-plugin-import-only-from-index"},"import-order-aesthetic":{repository:"https://github.com/Recidvst/eslint-plugin-import-order-aesthetic"},"import-order-all":{repository:"https://github.com/electrovir/eslint-plugin-import-order-all"},"import-order-alphabetical":{repository:"https://github.com/janpaul123/eslint-plugin-import-order-alphabetical"},"import-order-autofix":{repository:"https://github.com/AlexJuarez/eslint-plugin-import-order-autofix"},"import-order-autosorter":{repository:"https://github.com/AlexJuarez/eslint-plugin-import-order-autofix"},"import-order-emotion":{repository:"https://github.com/jfrej/eslint-plugin-import-order-emotion"},"import-path":{repository:"https://github.com/andrienko/eslint-plugin-import-path"},"import-quotes":{repository:"https://github.com/xneek/eslint-plugin-import-quotes"},"import-restrictions":{repository:"https://github.com/sfrieson/eslint-plugin-import-restrictions"},"import-root":{repository:"https://github.com/freckstergit/eslint-plugin-import-root"},"import-sorter":{repository:"https://github.com/fengkfengk/eslint-plugin-import-sorter"},"import-splitnsort":{repository:"https://github.com/mflorence99/eslint-plugin-import-splitnsort"},"import-updated":{repository:"https://github.com/benmosher/eslint-plugin-import"},"import-userlike":{repository:"https://github.com/anilanar/eslint-plugin-import-userlike"},impress:{repository:"https://github.com/aqrln/eslint-plugin-impress"},inclusive:{repository:"https://github.com/shibulijack/eslint-plugin-inclusive"},"inclusive-language":{repository:"https://github.com/muenzpraeger/eslint-plugin-inclusive-language"},"indent-class-properties":{repository:"https://github.com/larsmunkholm/eslint-plugin-indent-class-properties"},"indent-empty-lines":{repository:"https://github.com/funmaker/eslint-plugin-indent-empty-lines"},index:{repository:"https://github.com/artlaman/eslint-plugin-index"},infermedica:{repository:"https://github.com/infermedica/eslint-plugin-infermedica"},inferno:{repository:"https://github.com/infernojs/eslint-plugin-inferno"},"injected-proptypes":{repository:"https://github.com/ammaraskar/eslint-injected-proptypes"},instawork:{repository:"https://github.com/Instawork/eslint-plugin-instawork"},"instructure-ui":{repository:"https://github.com/instructure/instructure-ui"},interfaced:{repository:"https://github.com/interfaced/eslint-plugin-interfaced"},ioc:{repository:"https://github.com/amaro0/eslint-plugin-ioc"},"ionic-tappable":{repository:"https://github.com/takuya-nakayasu/eslint-plugin-ionic-tappable"},irm:{repository:"https://github.com/hadeshe93/eslint-plugin-irm"},iruhl:{repository:"https://github.com/LeadingLight/eslint-plugin-iruhl"},isaacscript:{repository:"https://github.com/IsaacScript/isaacscript"},isml:{repository:"https://github.com/Neskromny/eslint-plugin-isml"},isotropic:{repository:"https://github.com/ibi-group/eslint-plugin-isotropic"},istanbul:{repository:"https://github.com/istanbuljs/eslint-plugin-istanbul"},itgalaxy:{repository:"https://github.com/itgalaxy/eslint-plugin-itgalaxy"},ja:{repository:"https://github.com/mysticatea/eslint-plugin-ja"},"jacobsmith-custom":{repository:"https://github.com/jacobsmith/jacobsmith-eslint-plugins"},jam3:{repository:"https://github.com/Jam3/eslint-plugin-jam3"},jane:{repository:"https://github.com/jane/eslint-plugin-jane"},jasmine:{docs:"https://github.com/tlvince/eslint-plugin-jasmine/blob/master/docs/rules/",repository:"https://github.com/tlvince/eslint-plugin-jasmine"},"jasmine-jquery":{repository:"https://github.com/xxnatc/eslint-plugin-jasmine-jquery"},jest:{docs:"https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/",repository:"https://github.com/jest-community/eslint-plugin-jest"},"jest-dom":{docs:"https://github.com/testing-library/eslint-plugin-jest-dom/blob/main/docs/rules/",repository:"https://github.com/testing-library/eslint-plugin-jest-dom"},"jest-extended":{repository:"https://github.com/mattphillips/eslint-plugin-jest-extended"},"jest-formatting":{docs:"https://github.com/dangreenisrael/eslint-plugin-jest-formatting/blob/master/docs/rules/",repository:"https://github.com/dangreenisrael/eslint-plugin-jest-formatting"},"jest-playwright":{repository:"https://github.com/mxschmitt/eslint-plugin-playwright"},"jest-react":{repository:"https://github.com/Codecademy/eslint-plugin-jest-react"},jestx:{repository:"https://github.com/benmonro/eslint-plugin-jest"},jinja:{repository:"https://github.com/alexkuz/eslint-plugin-jinja"},jinja2:{repository:"https://github.com/alexkuz/eslint-plugin-jinja"},"jinja2-processor":{repository:"https://github.com/paulhfischer/eslint-plugin-jinja2-processor"},"jira-ticket-todo-comment":{repository:"https://github.com/bamboechop/eslint-plugin-jira-ticket-todo-comment"},"jira-ticket-todos":{repository:"https://github.com/Adam-Schlichtmann/jira-ticket-todos"},jmacs:{repository:"https://github.com/blake-regalia/jmacs.js"},joyent:{repository:"https://github.com/joyent/node-eslint-plugin-joyent"},jquery:{repository:"https://github.com/dgraham/eslint-plugin-jquery"},"jquery-selectors":{repository:"https://github.com/rardoz/eslint-plugin-jquery-selectors"},"jquery-unsafe":{repository:"https://github.com/cdd/eslint-plugin-jquery-unsafe"},jsapps:{repository:"https://github.com/ideadapt/eslint-plugin-jsapps"},jsbox:{repository:"https://github.com/EqualMa/eslint-plugin-jsbox"},jsdoc:{repository:"https://github.com/gajus/eslint-plugin-jsdoc"},"jsdoc-ex":{repository:"https://github.com/gajus/eslint-plugin-jsdoc"},"jsdom-internal":{repository:"https://github.com/npm/security-holder"},jsfix:{repository:"https://github.com/Digyter/eslint-plugin-jsfix"},jshow:{repository:"https://github.com/j-show/eslint-plugin-jshow"},json:{repository:"https://github.com/azeemba/eslint-plugin-json"},"json-beta":{repository:"https://github.com/azeemba/eslint-plugin-json"},"json-es":{repository:"https://github.com/zeitport/eslint-plugin-json-es"},"json-files":{repository:"https://github.com/kellyselden/eslint-plugin-json-files"},"json-format":{repository:"https://github.com/bkucera/eslint-plugin-json-format"},"json-light-pmb":{repository:"https://github.com/mk-pmb/eslint-plugin-json-light-pmb"},"json-lite":{repository:"https://github.com/jacob-israel-turner/eslint-plugin-json-lite"},"json-processor":{repository:"https://github.com/doochik/eslint-plugin-json-processor"},"json-schema-validator":{docs:"https://github.com/ota-meshi/eslint-plugin-json-schema-validator/blob/main/docs/rules/",repository:"https://github.com/ota-meshi/eslint-plugin-json-schema-validator"},json5:{repository:"https://github.com/bayesimpact/eslint-plugin-json5"},jsonc:{repository:"https://github.com/ota-meshi/eslint-plugin-jsonc"},jsort:{repository:"https://github.com/nate-wilkins/eslint-plugin-jsort"},jsspec:{repository:"https://github.com/JSSpec/eslint-plugin-jsspec"},jsx:{repository:"https://github.com/jkroso/eslint-plugin-jsx"},"jsx-a11y":{docs:"https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/",repository:"https://github.com/jsx-eslint/eslint-plugin-jsx-a11y"},"jsx-conditional":{repository:"https://github.com/luisadame/eslint-plugin-jsx-conditional"},"jsx-conditionals":{repository:"https://github.com/julianburr/eslint-plugin-jsx-conditionals"},"jsx-control-statements":{repository:"https://github.com/vkbansal/eslint-plugin-jsx-control-statements"},"jsx-dollar":{repository:"https://github.com/kyoncy/eslint-plugin-jsx-dollar"},"jsx-expressions":{repository:"https://github.com/hpersson/eslint-plugin-jsx-expressions"},"jsx-falsy":{repository:"https://github.com/jeremy-deutsch/eslint-plugin-jsx-falsy"},"jsx-helpers":{repository:"https://github.com/DmitriyNikolenko/eslint-plugin-jsx-helpers"},"jsx-img-no-referrer":{repository:"https://github.com/darwintantuco/eslint-plugin-jsx-img-no-referrer"},jsxspacing:{repository:"https://github.com/alexbird/eslint-plugin-jsxspacing"},julius:{repository:"https://github.com/ncaq/eslint-plugin-julius"},k4ntin:{repository:"https://github.com/k4ntin/eslint-plugin-k4ntin"},kaola:{repository:"https://github.com/Deol/eslint-plugin-kaola"},kavak:{repository:"https://github.com/npm/security-holder"},"kdu-libs":{repository:"https://github.com/khanhduy1407/eslint-plugin-kdu-libs"},kengoldfarb:{repository:"https://github.com/kengoldfarb/lint"},kiwicom:{repository:"https://github.com/kiwicom/eslint-plugin-kiwicom"},knex:{repository:"https://github.com/antonniklasson/eslint-plugin-knex"},koot:{repository:"https://github.com/cmux/koot-eslint"},korolint:{repository:"https://github.com/OBKoro1/eslint-plugin-koro-create"},kyt:{repository:"https://github.com/nytimes/kyt"},lab:{repository:"https://github.com/rankida/eslint-plugin-lab"},"lambda-calculus":{repository:"https://github.com/david-davidson/eslint-plugin-lambda-calculus"},langs:{repository:"https://github.com/infodusha/eslint-plugin-langs"},"lazy-load":{repository:"https://github.com/frankie0917/eslint-plugin-lazy-load"},"lcb-mini":{repository:"https://github.com/douzi8/eslint-plugin-lcb-mini"},lcom:{repository:"https://github.com/FujiHaruka/eslint-plugin-lcom"},"lean-imports":{repository:"https://github.com/eslint-plugins/eslint-plugin-lean-imports"},leboncoin:{repository:"https://github.com/leboncoin/frontend-web-tools/tree/master"},letemplate:{repository:"https://github.com/vuejs/eslint-plugin-vue"},levitate:{repository:"https://github.com/ThisIsManta/eslint-plugin-levitate"},"license-header":{repository:"https://github.com/nikku/eslint-plugin-license-header"},"lightning-components":{repository:"https://github.com/reiniergs/eslint-plugin-lightning-components"},"link-slash-end":{repository:"https://github.com/HaganHan/eslint-plugin-link-slash-end"},linklink:{repository:"https://github.com/Java-http/eslint-plugin-linklink"},lint:{repository:"https://github.com/zertosh/eslint-plugin-lint"},"lint-md":{repository:"https://github.com/lint-md/eslint-plugin-lint-md"},listeners:{repository:"https://github.com/foad/eslint-plugin-listeners"},lit:{repository:"https://github.com/43081j/eslint-plugin-lit"},"lit-a11y":{repository:"https://github.com/open-wc/open-wc"},"literal-blacklist":{repository:"https://github.com/kyaido/eslint-plugin-literal-blacklist"},"literal-check":{repository:"https://github.com/youngjuning/eslint-plugin-literal-check"},"literal-checker":{repository:"https://github.com/youngjuning/eslint-plugin-literal-checker"},"loadable-component":{repository:"https://github.com/miqdadfwz/eslint-plugin-loadable-component"},local:{repository:"https://github.com/taskworld/eslint-plugin-local"},"local-rules":{repository:"https://github.com/cletusw/eslint-plugin-local-rules"},lodash:{docs:"https://github.com/wix/eslint-plugin-lodash/blob/master/docs/rules/",repository:"https://github.com/wix/eslint-plugin-lodash"},"lodash-f":{repository:"https://github.com/AndreaPontrandolfo/eslint-plugin-lodash"},"lodash-fp":{repository:"https://github.com/jfmengels/eslint-plugin-lodash-fp"},"lodash-magic-import":{repository:"https://github.com/bitsnap/eslint-plugin-lodash-magic-import"},"lodash-restrictions":{repository:"https://github.com/idesi/eslint-plugin-lodash-restrictions"},"lodash-template":{repository:"https://github.com/ota-meshi/eslint-plugin-lodash-template"},"lodash-tree-shakeable-import":{repository:"https://github.com/natterstefan/eslint-plugin-lodash-tree-shakeable-import"},loft:{repository:"https://github.com/Loft-Brasil/eslint-plugin-loft"},log:{repository:"https://github.com/omrilotan/eslint-plugin-log"},"log-filenames":{repository:"https://github.com/justlep/eslint-plugin-log-filenames"},"log-linter":{repository:"https://github.com/michael5891/eslint-plugin-log-linter"},logdna:{repository:"https://github.com/logdna/eslint-plugin-logdna"},lola:{repository:"https://github.com/lolatravel/eslint-plugin-lola"},"lookbehind-assertions":{repository:"https://github.com/takuya-nakayasu/eslint-plugin-lookbehind-assertions"},loyaltylion:{repository:"https://github.com/loyaltylion/eslint-plugin-loyaltylion"},"lucky-monkey":{repository:"https://github.com/borenXue/eslint-plugin-lucky-monkey"},lvksh:{repository:"https://github.com/lvkdotsh/javascript"},lwc:{repository:"https://github.com/npm/security-holder"},"lwintch-wyze":{repository:"https://github.com/lwintch/eslint-plugin-wyze"},m99coder:{repository:"https://github.com/m99coder/eslint-plugin-m99coder"},magicdawn:{repository:"https://github.com/magicdawn/eslint-plugin-magicdawn"},makestyles:{repository:"https://github.com/madflanderz/eslint-plugin-makestyles"},markdown:{repository:"https://github.com/eslint/eslint-plugin-markdown"},"markdown-antd":{repository:"https://github.com/eslint/eslint-plugin-markdown"},"markdown-runkit":{repository:"https://github.com/eslint/eslint-plugin-markdown"},markup:{repository:"https://github.com/rx-ts/eslint"},"markup-replace":{repository:"https://github.com/xsjohn0306/eslint-plugin-markup-replace"},maru:{repository:"https://github.com/jshan2017/eslint-plugin-maru"},"material-ui-dkadrios":{repository:"https://github.com/mui-org/material-ui"},"material-ui-unused-classes":{repository:"https://github.com/jens-ox/eslint-plugin-material-ui-unused-classes"},"matrix-org":{repository:"https://github.com/matrix-org/eslint-config-matrix-org"},mattermost:{repository:"https://github.com/npm/security-holder"},mavenlint:{repository:"https://github.com/mavenlink/mavenlint"},"max-comments-per-function":{repository:"https://github.com/miangraham/eslint-plugin-max-comments-per-function"},"max-len-2":{repository:"https://github.com/andreineculau/eslint-plugin-max-len-2"},"max-methods-per-class":{repository:"https://github.com/mawrkus/eslint-plugin-max-methods-per-class"},"max-params-no-constructor":{repository:"https://github.com/paulomenezes/max-params-no-constructor"},mayaka:{repository:"https://github.com/g-plane/eslint-plugin-mayaka"},md:{repository:"https://github.com/leo-buneev/eslint-plugin-md"},mdx:{repository:"https://github.com/mdx-js/eslint-mdx"},"mdx-patch":{repository:"https://github.com/ianlet/eslint-plugin-mdx-patch"},mediawiki:{repository:"https://github.com/wikimedia/eslint-plugin-mediawiki"},meetup:{repository:"https://github.com/meetup/eslint-plugin-meetup"},meow:{repository:"https://github.com/coderzhaoziwei/eslint-plugin-meow"},metafizzy:{repository:"https://github.com/metafizzy/eslint-plugin-metafizzy"},meteor:{repository:"https://github.com/dferber90/eslint-plugin-meteor"},miniprogram:{repository:"https://github.com/airbnb/eslint-plugin-miniprogram"},minxing:{repository:"https://github.com/stuartZhang/eslint-plugin-minxing"},mirego:{repository:"https://github.com/mirego/eslint-plugin-mirego"},mishguru:{repository:"https://github.com/mishguruorg/eslint-plugin-mishguru"},mistertemp:{repository:"https://github.com/lzientek/eslint-plugin-mistertemp"},"mix-lang":{repository:"https://github.com/Jogyly/mix-lang"},mizyind:{repository:"https://github.com/miZyind/eslint-plugin-mizyind"},mobx:{repository:"https://github.com/mobxjs/mobx"},"mobx-computed-getters":{repository:"https://github.com/kubk/eslint-plugin-mobx-computed-getters"},"mobx-observer-checker":{repository:"https://github.com/mkupriichuk/eslint-plugin-mobx-observer-checker"},mocha:{docs:"https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/",repository:"https://github.com/lo1tuma/eslint-plugin-mocha"},"mocha-cleanup":{repository:"https://github.com/onechiporenko/eslint-plugin-mocha-cleanup"},"mocha-no-only":{repository:"https://github.com/lewazo/eslint-mocha-no-only"},modulajs:{repository:"https://github.com/freewheel/eslint-plugin-modulajs"},module:{repository:"https://github.com/raxjs/rax-scripts"},"module-name":{repository:"https://github.com/iambrandonn/eslint-plugin-module-name"},"module-resolver":{repository:"https://github.com/HeroProtagonist/eslint-plugin-module-resolver"},"modules-newline":{repository:"https://github.com/gmsorrow/eslint-plugin-modules-newline"},"modules-newline-fixed":{repository:"https://github.com/CyberWalrus/eslint-plugin-modules-newline"},"modules-newline2":{repository:"https://github.com/gmsorrow/eslint-plugin-modules-newline"},"modules-newlines":{repository:"https://github.com/ruudandriessen/eslint-plugin-modules-newline"},moment:{repository:"https://github.com/geranton93/eslint-plugin-moment"},"moment-timezone":{repository:"https://github.com/hollandmatt/eslint-plugin-moment-timezone"},momentjs:{repository:"https://github.com/schnaser/eslint-plugin-momentjs"},"mongo-projection":{repository:"https://github.com/kaizendorks/eslint-plugin-mongo-projection"},mongodb:{repository:"https://github.com/nfroidure/eslint-plugin-mongodb"},"mongodb-server":{repository:"https://github.com/visemet/eslint-plugin-mongodb-server"},monorepo:{repository:"https://github.com/azz/eslint-plugin-monorepo"},"monorepo-cop":{repository:"https://github.com/sterlingwes/eslint-plugin-monorepo-cop"},more:{repository:"https://github.com/WebbyLab/eslint-plugin-more"},"more-naming-conventions":{repository:"https://github.com/TheKoopaKingdom/eslint-plugin-more-naming-conventions"},"more-naming-conventions-leading-underscore":{repository:"https://github.com/alex-zissis/eslint-plugin-more-naming-conventions"},"move-files":{repository:"https://github.com/JamieMason/eslint-plugin-move-files"},moxio:{repository:"https://github.com/Moxio/eslint-plugin-moxio"},mp:{repository:"https://github.com/mp-components/eslint-plugin-mp"},mpirik:{repository:"https://github.com/mpirik/eslint-plugin-mpirik"},mpx:{repository:"https://github.com/mpx-ecology/eslint-plugin-mpx"},mui:{repository:"https://github.com/rafaelgomesxyz/eslint-plugin-mui"},"mui-unused-classes":{repository:"https://github.com/jens-ox/eslint-plugin-material-ui-unused-classes"},muralco:{repository:"https://github.com/muralco/eslint-plugin-muralco"},muriki:{repository:"https://github.com/Moeriki/eslint-plugin-muriki"},"must-use-await":{repository:"https://github.com/mikemaccana/eslint-plugin-must-use-await"},myself:{repository:"https://github.com/kangkai124/eslint-plugin-myself"},mysticatea:{repository:"https://github.com/mysticatea/eslint-plugin"},n:{repository:"https://github.com/weiran-zsd/eslint-plugin-node"},"n8n-nodes-base":{repository:"https://github.com/ivov/eslint-plugin-n8n-nodes-base"},nada:{repository:"https://github.com/leonardoanalista/eslint-plugin-nada"},"named-unassigned-functions":{repository:"https://github.com/ValYouW/eslint-plugin-named-unassigned-functions"},nanachi:{repository:"https://github.com/shaoyudong/eslint-plugin-nanachi"},"native-ie":{repository:"https://github.com/yskszk63/eslint-plugin-native-ie"},"native-over-lodash":{repository:"https://github.com/Coobaha/eslint-plugin-native-over-lodash"},"nebulas-contract":{repository:"https://github.com/xingyunwork/eslint-plugin-nebulas-contract"},nestjs:{repository:"https://github.com/unlight/eslint-plugin-nestjs"},"nestjs-framework":{repository:"https://github.com/wisedog/eslint-plugin-nestjs-framework"},neverthrow:{repository:"https://github.com/mdbetancourt/eslint-plugin-nevethrow"},"new-line-before-if":{repository:"https://github.com/nisshii0313/eslint-plugin-new-line-before-if"},"new-with-error":{repository:"https://github.com/Trott/eslint-plugin-new-with-error"},newline:{repository:"https://github.com/Joon1313/eslint-plugin-newline"},"newline-after-if-condition":{repository:"https://github.com/marcosc90/eslint-plugin-newline-after-if-condition"},"newline-before-paren":{repository:"https://github.com/pat841/eslint-plugin-newline-before-paren"},"newline-destructuring":{repository:"https://github.com/urielvan/eslint-plugin-newline-destructuring"},"ng-test-identifier":{repository:"https://github.com/MindesignGCV/test-identifier"},ngrx:{repository:"https://github.com/timdeschryver/eslint-plugin-ngrx"},"ngx-eslint":{repository:"https://github.com/phhien203/eslint-plugin-ngx-eslint"},"ngxs-style-guide":{repository:"https://github.com/unlight/eslint-plugin-ngxs-style-guide"},"nkgrnkgr-react":{repository:"https://github.com/nkgrnkgr/eslint-plugin-nkgrnkgr-react"},nnimetz:{repository:"https://github.com/NicolasNimetz/eslint-plugin-nnimetz"},"no-allow-react-context":{repository:"https://github.com/azu/eslint-plugin-no-allow-react-context"},"no-ambiguous":{repository:"https://github.com/eight04/eslint-plugin-no-ambiguous"},"no-anonymous-functions":{repository:"https://github.com/preacherxp/eslint-plugin-no-anonymous-functions"},"no-array-any":{repository:"https://github.com/Zamiell/eslint-plugin-no-array-any"},"no-array-concat":{repository:"https://github.com/mkpoli/eslint-plugin-no-array-concat"},"no-array-reduce":{repository:"https://github.com/mkosir/eslint-plugin-no-array-reduce"},"no-arrow-labels":{repository:"https://github.com/bryanrsmith/eslint-plugin-no-arrow-labels"},"no-arrow-this":{repository:"https://github.com/wentout/eslint-plugin-no-arrow-this"},"no-async":{repository:"https://github.com/yoavniran/eslint-plugin-no-async"},"no-async-without-await":{repository:"https://github.com/zertosh/eslint-plugin-no-async-without-await"},"no-autofix":{repository:"https://github.com/aladdin-add/eslint-plugin/tree/master"},"no-await-async-call":{repository:"https://github.com/christensson/eslint-plugin-no-await-async-call"},"no-bad-naming-variables":{repository:"https://github.com/kovboyjder/eslint-no-bad-naming"},"no-block-comments":{repository:"https://github.com/alex-shnayder/eslint-plugin-no-empty-blocks"},"no-call":{repository:"https://github.com/igat64/eslint-plugin-no-call"},"no-catch-all":{repository:"https://github.com/MrLoh/eslint-plugin-no-catch-all"},"no-catch-destructuring":{repository:"https://github.com/tizmagik/eslint-plugin-no-catch-destructuring"},"no-class":{repository:"https://github.com/emmenko/eslint-plugin-no-class"},"no-classname-with-stylename":{repository:"https://github.com/bendtherules/eslint-plugin-no-classname-with-stylename"},"no-comments":{repository:"https://github.com/wisniewski94/eslint-plugin-no-comments"},"no-compound-assigned-await":{repository:"https://github.com/PJWalker/eslint-plugin-no-compound-assigned-await"},"no-confusing-arrow":{repository:"https://github.com/jasperck/eslint-plugin-no-confusing-arrow"},"no-constructor-bind":{docs:"https://github.com/markalfred/eslint-plugin-no-constructor-bind/blob/master/docs/rules/",repository:"https://github.com/markalfred/eslint-plugin-no-constructor-bind"},"no-constructor-bind-no-fix":{repository:"https://github.com/Hastaroth1/eslint-plugin-no-constructor-bind"},"no-copy-paste-default-export":{repository:"https://github.com/buildo/eslint-plugin-no-copy-paste-default-export"},"no-credentials":{repository:"https://github.com/oprogramador/eslint-plugin-no-credentials"},"no-cyrillic-string":{repository:"https://github.com/eprincev-egor/no-cyrillic-string"},"no-dangerous":{repository:"https://github.com/arx-8/eslint-plugin-no-dangerous"},"no-date-parsing":{repository:"https://github.com/amzn/eslint-plugin-no-date-parsing"},"no-deprecated-variable":{repository:"https://github.com/frichti/eslint-plugin-no-deprecated-variable"},"no-dupe-class-fields":{repository:"https://github.com/Macil/eslint-plugin-no-dupe-class-fields"},"no-editor-code":{repository:"https://github.com/lukebelliveau/eslint-plugin-no-editor-code"},"no-empty-disable":{repository:"https://github.com/edwardpayton/eslint-plugin-no-empty-disable"},"no-empty-statement":{repository:"https://github.com/zhanzhenzhen/eslint-plugin-no-empty-statement"},"no-es2015":{repository:"https://github.com/NatureFeng/eslint-plugin-no-es2015"},"no-eslint-disable":{repository:"https://github.com/unlight/eslint-plugin-no-eslint-disable"},"no-except":{repository:"https://github.com/ryan-rushton/eslint-plugin-no-except"},"no-expectsaga-without-return":{repository:"https://github.com/mmakarin/eslint-plugin-no-expectSaga-without-return"},"no-explicit-type-exports":{repository:"https://github.com/intuit/eslint-plugin-no-explicit-type-exports"},"no-extension-in-require":{repository:"https://github.com/pdubroy/eslint-plugin-no-extension-in-require"},"no-floating-promise":{repository:"https://github.com/SebastienGllmt/eslint-plugin-no-floating-promise"},"no-for-loop":{repository:"https://github.com/AkifumiSato/eslint-plugin-no-for-loop"},"no-for-of-loops":{repository:"https://github.com/dharFr/eslint-plugin-no-for-of-loops"},"no-foreach":{repository:"https://github.com/flying-sheep/eslint-plugin-no-foreach"},"no-func-space":{repository:"https://github.com/Jxck/eslint-plugin-no-func-space"},"no-function-declare-after-return":{repository:"https://github.com/bhumijgupta/eslint-plugin-no-function-declare-after-return"},"no-generic-identifier":{repository:"https://github.com/d7my11/eslint-plugin-no-generic-identifier"},"no-global-lodash":{repository:"https://github.com/adalbertoteixeira/eslint-plugin-no-global-lodash"},"no-http-protocol":{repository:"https://github.com/pstephenwille/no-http-protocol"},"no-hyogo-police":{repository:"https://github.com/pipboy3000/eslint-plugin-no-hyogo-police"},"no-if-not":{repository:"https://github.com/bakkot/eslint-plugin-no-if-not"},"no-implicit-map-set-loops":{repository:"https://github.com/Zamiell/eslint-plugin-no-implicit-map-set-loops"},"no-implicit-side-effects":{repository:"https://github.com/jussi-kalliokoski/eslint-plugin-no-implicit-side-effects"},"no-inferred-method-name":{repository:"https://github.com/johnstonbl01/eslint-no-inferred-method-name"},"no-inline-styles":{repository:"https://github.com/nmanthena18/eslint-no-inline-styles"},"no-jp":{repository:"https://github.com/K-Sato1995/eslint-plugin-no-jp"},"no-jquery":{repository:"https://github.com/wikimedia/eslint-plugin-no-jquery"},"no-js":{repository:"https://github.com/chicoxyzzy/eslint-plugin-no-js"},"no-kebab-case-props":{repository:"https://github.com/JofArnold/eslint-plugin-no-kebab-case-props"},"no-let-any":{repository:"https://github.com/Zamiell/eslint-plugin-no-let-any"},"no-link-component":{repository:"https://github.com/julienben/eslint-plugin-no-link-component"},"no-lookahead-lookbehind-regexp":{repository:"https://github.com/JonasBa/eslint-plugin-no-lookahead-lookbehind-regexp"},"no-loops":{repository:"https://github.com/buildo/eslint-plugin-no-loops"},"no-memo-displayname":{repository:"https://github.com/patrykkopycinski/eslint-plugin-no-memo-displayname"},"no-mixed-operators":{repository:"https://github.com/kevin940726/eslint-plugin-no-mixed-operators"},"no-named-imports":{repository:"https://github.com/gabemeola/eslint-plugin-no-named-imports"},"no-named-test-function":{repository:"https://github.com/sglord/eslint-plugin-no-named-test-function"},"no-named-test-functions":{repository:"https://github.com/sglord/eslint-plugin-no-named-test-functions"},"no-not-accumulator-reassign":{repository:"https://github.com/mathieudutour/eslint-plugin-no-not-accumulator-reassign"},"no-null":{repository:"https://github.com/nene/eslint-plugin-no-null"},"no-one-time-vars":{repository:"https://github.com/Bas950/eslint-plugin-no-one-time-vars"},"no-only-tests":{repository:"https://github.com/levibuzolic/eslint-plugin-no-only-tests"},"no-process-lint":{repository:"https://github.com/xyl66/eslint-plugin-no-process"},"no-react-component-snapshots":{repository:"https://github.com/rileygowan/eslint-plugin-no-react-component-snapshots"},"no-react-scope-bound-assignment":{repository:"https://github.com/betaorbust/eslint-plugin-no-react-scope-bound-assignment"},"no-recursion":{repository:"https://github.com/simon-andrews/eslint-plugin-no-recursion"},"no-regex-dot":{repository:"https://github.com/vitalif/eslint-plugin-no-regex-dot"},"no-relative-import-paths":{repository:"https://github.com/MelvinVermeer/eslint-plugin-no-relative-import-paths"},"no-relative-parent-require":{repository:"https://github.com/ersel/eslint-plugin-no-relative-parent-require"},"no-require-self-ref":{repository:"https://github.com/austinkelleher/eslint-plugin-no-require-self-ref"},"no-return":{repository:"https://github.com/boiyaa/eslint-plugin-no-return"},"no-secrets":{repository:"https://github.com/nickdeis/eslint-plugin-no-secrets"},"no-shit":{repository:"https://github.com/jakubsadura/eslint-plugin-no-shit"},"no-skip-tests":{repository:"https://github.com/romaingaillardjs/eslint-plugin-no-skip-tests"},"no-smart-quotes":{repository:"https://github.com/seleb/eslint-plugin-no-smart-quotes"},"no-snapshot-testing":{repository:"https://github.com/VicJer/eslint-plugin-no-snapshot-testing"},"no-snapshots":{repository:"https://github.com/Johannesklint/eslint-plugin-snapshots"},"no-string":{repository:"https://github.com/yangjiagongzi/eslint-plugin-no-string"},"no-string-in-jsx":{repository:"https://github.com/kdnk/eslint-plugin-no-string-in-jsx"},"no-template-curly-in-string-fix":{repository:"https://github.com/Zamiell/eslint-plugin-no-template-curly-in-string-fix"},"no-this-in-jsx-component-name":{repository:"https://github.com/julienben/eslint-plugin-no-this-in-jsx-component-name"},"no-type-assertion":{repository:"https://github.com/Dremora/eslint-plugin-no-type-assertion"},"no-undef-class-this":{repository:"https://github.com/langdonx/eslint-plugin-no-undef-class-this"},"no-unsafe-chars":{repository:"https://github.com/DerZyklop/eslint-plugin-no-unsafe-chars"},"no-unused-code":{repository:"https://github.com/oaltman/eslint-plugin-no-unused-code"},"no-unused-expressions":{repository:"https://github.com/clark800/eslint-plugin-no-unused-expressions"},"no-unused-vars-rest":{repository:"https://github.com/bryanrsmith/eslint-plugin-no-unused-vars-rest"},"no-use-extend-native":{repository:"https://github.com/dustinspecker/eslint-plugin-no-use-extend-native"},"no-useless-assign":{repository:"https://github.com/erikdesjardins/eslint-plugin-no-useless-assign"},"no-useless-const":{repository:"https://github.com/p7g/eslint-plugin-no-useless-const"},"no-var-reassign":{repository:"https://github.com/jacksonrayhamilton/eslint-plugin-no-var-reassign"},"no-void-return-type":{repository:"https://github.com/Zamiell/eslint-plugin-no-void-return-type"},"no-vue":{repository:"https://github.com/avdeev/eslint-plugin-no-vue"},node:{docs:"https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/",repository:"https://github.com/mysticatea/eslint-plugin-node"},"node-dependencies":{repository:"https://github.com/ota-meshi/eslint-plugin-node-dependencies"},"node-devinrhode2":{repository:"https://github.com/mysticatea/eslint-plugin-node"},"node-papandreou":{repository:"https://github.com/mysticatea/eslint-plugin-node"},"node-roikoren":{repository:"https://github.com/roikoren755/eslint-plugin-node"},"node-security-rules":{repository:"https://github.com/lirantal/eslint-plugin-security"},nodejs:{repository:"https://github.com/geek/eslint-plugin-nodejs"},noko:{repository:"https://github.com/doronwix/eslint-plugin-noko"},nolint:{repository:"https://github.com/HaoChuan9421/eslint-plugin-nolint"},nommon:{repository:"https://github.com/doochik/eslint-plugin-nommon"},"nonoptimal-innerhtml":{repository:"https://github.com/oxfist/eslint-plugin-nonoptimal-innerhtml"},nop:{repository:"https://github.com/pasaran/eslint-plugin-nop"},nosettimeout:{repository:"https://github.com/eva1963/eslint-plugin-noSetimeoutTime"},notice:{repository:"https://github.com/nickdeis/eslint-plugin-notice"},nova:{repository:"https://github.com/panicinc/eslint-plugin-nova"},"number-literal-case":{repository:"https://github.com/kyriacos/eslint-plugin-number-literal-case"},nuxt:{docs:"https://github.com/nuxt/eslint-plugin-nuxt/blob/master/docs/rules/",repository:"https://github.com/nuxt/eslint-plugin-nuxt"},nwronski:{repository:"https://github.com/nwronski/eslint-plugin"},ocd:{repository:"https://github.com/ciena-blueplanet/eslint-plugin-ocd"},"office-addins":{repository:"https://github.com/OfficeDev/Office-Addin-Scripts"},"old-c-programmer":{repository:"https://github.com/apowers313/eslint-plugin-old-c-programmer"},"only-error":{repository:"https://github.com/davidjbradshaw/eslint-plugin-only-error"},"only-var":{repository:"https://github.com/deecewan/eslint-plugin-only-var"},"only-warn":{repository:"https://github.com/bfanger/eslint-plugin-only-warn"},opensphere:{repository:"https://github.com/ngageoint/eslint-plugin-opensphere"},opinionated:{repository:"https://github.com/dogma-io/eslint-plugin-opinionated"},opipe:{repository:"https://github.com/peoro/eslint-plugin-opipe"},optimics:{repository:"https://github.com/optimics/eslint-config"},"optimize-regex":{docs:"https://github.com/BrainMaestro/eslint-plugin-optimize-regex/blob/master/docs/rules/",repository:"https://github.com/BrainMaestro/eslint-plugin-optimize-regex"},"optional-comma-spacing":{repository:"https://github.com/greggman/eslint-plugin-optional-comma-spacing"},"orbit-components":{repository:"https://github.com/kiwicom/orbit"},"orbit-internal":{repository:"https://github.com/npm/security-holder"},"orbit-kotko":{repository:"https://github.com/npm/security-holder"},"ordered-grouped-import":{repository:"https://github.com/catchfashion/eslint-plugin-grouped-import"},"ordered-imports":{repository:"https://github.com/KyleMayes/eslint-plugin-ordered-imports"},"organize-imports":{repository:"https://github.com/sagiavinash/eslint-plugin-organize-imports"},oro:{repository:"https://github.com/laboro/eslint-plugin-oro"},p5js:{repository:"https://github.com/marksherman/eslint-plugin-p5js"},pabigot:{repository:"https://github.com/pabigot/eslint-plugin-pabigot"},"package-json-dependencies":{repository:"https://github.com/idan-at/eslint-plugin-package-json-dependencies"},"package-lock":{repository:"https://github.com/lucavb/eslint-plugin-package-lock"},padding:{repository:"https://github.com/mu-io/eslint-plugin-padding"},"parentheses-around-await":{repository:"https://github.com/yakovenkodenis/eslint-plugin-parentheses-around-await"},"parentheses-single-line-jsx":{repository:"https://github.com/lukasgjetting/eslint-plugin-parentheses-single-line-jsx"},path:{repository:"https://github.com/qDanik/eslint-plugin-path"},"path-alias":{repository:"https://github.com/msfragala/eslint-plugin-path-alias"},pathnames:{repository:"https://github.com/dvpnt/eslint-plugin-pathnames"},"patternfly-react":{repository:"https://github.com/patternfly/patternfly-react"},"patternfly-test":{repository:"https://github.com/patternfly/patternfly-react"},patternplate:{repository:"https://github.com/marionebl/eslint-plugin-patternplate"},pb:{repository:"https://github.com/npm/security-holder"},peace:{repository:"https://github.com/thoamsy/eslint-plugin-peace"},pedantor:{repository:"https://github.com/jnvm/eslint-plugin-pedantor"},peopleai:{repository:"https://github.com/behind-the-moon/eslint-plugin-peopleai"},"pep8-blank-lines":{repository:"https://github.com/othree/eslint-plugin-pep8-blank-lines"},perf:{repository:"https://github.com/amilajack/eslint-plugin-perf"},"perf-standard":{repository:"https://github.com/Raynos/eslint-plugin-perf-standard"},"personalized-recommended":{repository:"https://github.com/robint-liu/eslint-plugin-personalized-recommended"},"pg-sql":{repository:"https://github.com/benjie/eslint-plugin-pg-sql"},"php-markup":{repository:"https://github.com/tengattack/eslint-plugin-php-markup"},pii:{repository:"https://github.com/shiva-hack/eslint-plugin-pii"},plantain:{repository:"https://github.com/plantain-00/eslint-plugin-plantain"},playlyfe:{repository:"https://github.com/Mayank1791989/eslint-plugin-playlyfe"},playwright:{repository:"https://github.com/playwright-community/eslint-plugin-playwright"},plugintutorial:{repository:"https://github.com/allan2coder/eslint-plugin-plugintutorial"},"pocket-fluff":{repository:"https://github.com/betaorbust/eslint-plugin-pocket-fluff"},pokemon:{repository:"https://github.com/alessio-libardi/eslint-plugin-pokemon"},polymer:{repository:"https://github.com/stramel/eslint-plugin-polymer"},"polymer-components":{repository:"https://github.com/Comcast/eslint-plugin-polymer-components"},"pony-comments":{repository:"https://github.com/Revelation2019/eslint-plugin-pony-comments"},"postcss-modules":{repository:"https://github.com/bmatcuk/eslint-plugin-postcss-modules"},postro4no:{repository:"https://github.com/frontstall/eslint-plugin-postro4no"},"pragmatic-deprecate":{repository:"https://github.com/bhaskar20/pragmatic-deprecate"},"preact-i18n":{repository:"https://github.com/synacor/eslint-plugin-preact-i18n"},prebid:{repository:"https://github.com/npm/security-holder"},"prefer-arrow":{repository:"https://github.com/TristonJ/eslint-plugin-prefer-arrow"},"prefer-arrow-functions":{repository:"https://github.com/JamieMason/eslint-plugin-prefer-arrow-functions"},"prefer-import":{repository:"https://github.com/dferrazm/eslint-plugin-prefer-import"},"prefer-let":{repository:"https://github.com/thefrontside/javascript"},"prefer-number-isnan":{repository:"https://github.com/Chamion/eslint-plugin-prefer-number-isnan"},"prefer-smart-quotes":{repository:"https://github.com/totallymoney/eslint-plugin-prefer-smart-quotes"},"prefer-type-alias":{repository:"https://github.com/otofu-square/eslint-plugin-prefer-type-alias"},"preferred-import-path":{repository:"https://github.com/luisadame/eslint-plugin-preferred-import-path"},"prefix-types":{repository:"https://github.com/kwaimind/eslint-plugin-prefix-types"},prettier:{repository:"https://github.com/prettier/eslint-plugin-prettier"},"prettier-doc":{repository:"https://github.com/fisker/eslint-plugin-prettier-doc"},"prettier-eslint-plugin":{repository:"https://github.com/dmacdnld/prettier-eslint-webpack-plugin"},"prettier-internal-rules":{repository:"https://github.com/prettier/eslint-plugin-prettier-internal-rules"},"prettier-rules":{repository:"https://github.com/iambrandonn/eslint-plugin-prettier-rules"},"prettier-vue":{repository:"https://github.com/meteorlxy/eslint-plugin-prettier-vue"},"prettier-vue-scorpionknifes":{repository:"https://github.com/scorpionknifes/eslint-plugin-prettier-vue"},prettierx:{repository:"https://github.com/aMarCruz/eslint-plugin-prettierx"},prettiest:{repository:"https://github.com/eamodio/eslint-plugin-prettiest"},"primer-react":{repository:"https://github.com/primer/eslint-plugin-primer-react"},"private-variables":{repository:"https://github.com/shovon/javascript-private-variables"},progress:{repository:"https://github.com/zero-t4/eslint-plugin-progress"},promise:{docs:"https://github.com/xjamundx/eslint-plugin-promise/blob/master/docs/rules/",repository:"https://github.com/xjamundx/eslint-plugin-promise"},"promise-catch":{repository:"https://github.com/jakwuh/eslint-plugin-promise-catch"},promiseparams:{repository:"https://github.com/jden/eslint-plugin-promiseparams"},"prop-has-no-shadow-declaration":{repository:"https://github.com/tknysh/eslint-plugin-prop-has-no-shadow-declaration"},"prop-types-shorthand":{repository:"https://github.com/helixbass/eslint-plugin-prop-types-shorthand"},proposal:{repository:"https://github.com/peakchen90/eslint-plugin-proposal"},prototype:{repository:"https://github.com/noyobo/eslint-plugin-prototype"},"prototype-pollution-security-rules":{repository:"https://github.com/LewisArdern/eslint-plugin-prototype-pollution-security-rules"},protractor:{docs:"https://github.com/alecxe/eslint-plugin-protractor/blob/master/docs/rules/",repository:"https://github.com/alecxe/eslint-plugin-protractor"},pug:{repository:"https://github.com/myfreeweb/eslint-plugin-pug"},pulsovi:{repository:"https://github.com/pulsovi/eslint-config-pulsovi"},punctuation:{repository:"https://github.com/smanwaring/eslint-plugin-punctuation"},pureness:{repository:"https://github.com/rom-melnyk/eslint-plugin-pureness"},putout:{repository:"https://github.com/coderaiser/putout"},quasar:{repository:"https://github.com/quasarframework/eslint-plugin-quasar"},query:{repository:"https://github.com/brettz9/eslint-plugin-query"},"quick-prettier":{repository:"https://github.com/SalvatorePreviti/eslint-plugin-quick-prettier"},quintoandar:{repository:"https://github.com/quintoandar/eslint-config-quintoandar"},qunar:{repository:"https://github.com/zhongzhi107/eslint-plugin-qunar"},qunit:{docs:"https://github.com/platinumazure/eslint-plugin-qunit/blob/master/docs/rules/",repository:"https://github.com/platinumazure/eslint-plugin-qunit"},"qunit-dom":{repository:"https://github.com/simplabs/eslint-plugin-qunit-dom"},qwik:{repository:"https://github.com/BuilderIO/qwik"},radar:{repository:"https://github.com/es-joy/eslint-plugin-radar"},radargun:{repository:"https://github.com/dsfields/eslint-plugin-radargun"},rainbow:{repository:"https://github.com/nexxtway/eslint-plugin-rainbow"},ramda:{repository:"https://github.com/ramda/eslint-plugin-ramda"},rapid7:{repository:"https://github.com/rapid7/eslint-plugin-rapid7"},rax:{repository:"https://github.com/raxjs/rax-scripts"},razzle:{repository:"https://github.com/grasilife/eslint-plugin-razzle"},react:{docs:"https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/",repository:"https://github.com/jsx-eslint/eslint-plugin-react"},"react-app":{repository:"https://github.com/mmazzarolo/eslint-plugin-react-app"},"react-classname-sort":{repository:"https://github.com/agumy/eslint-plugin-react-classname-sort"},"react-compat":{repository:"https://github.com/dogma-io/eslint-plugin-react-compat"},"react-css-module-hints":{repository:"https://github.com/Bwca/eslint-plugin-react-css-modules"},"react-custom-rules":{repository:"https://github.com/adalbertoteixeira/eslint-plugin-react-custom-rules"},"react-data-attr":{repository:"https://github.com/recruit-tech/eslint-plugin-react-data-attr"},"react-directives":{repository:"https://github.com/peakchen90/eslint-plugin-react-directives"},"react-ep":{repository:"https://github.com/yannickcr/eslint-plugin-react"},"react-etc":{repository:"https://github.com/cartant/eslint-plugin-react-etc"},"react-extended":{repository:"https://github.com/pustovalov/eslint-plugin-react-extended"},"react-extra":{repository:"https://github.com/buythewhale/eslint-plugin-react-extra"},"react-filename-matches-class":{repository:"https://github.com/mapbox/eslint-plugin-react-filenames"},"react-filenames":{repository:"https://github.com/mapbox/eslint-plugin-react-filenames"},"react-flow":{repository:"https://github.com/Kiwka/eslint-plugin-react-flow"},"react-form-fields":{repository:"https://github.com/kotarella1110/eslint-plugin-react-form-fields"},"react-func":{repository:"https://github.com/TomScavo/eslint-plugin-react-func"},"react-functional-set-state":{repository:"https://github.com/BE-Webdesign/eslint-plugin-react-functional-set-state"},"react-hook-form":{repository:"https://github.com/andykao1213/eslint-plugin-react-hook-form"},"react-hooks":{repository:"https://github.com/facebook/react"},"react-hooks-addons":{repository:"https://github.com/szhsin/eslint-plugin-react-hooks-addons"},"react-hooks-breadhead":{repository:"https://github.com/breadhead/eslint-plugin-react-hooks-breadhead"},"react-hooks-fix-via-todo-comment":{repository:"https://github.com/lab-yue/react"},"react-hooks-ssr":{repository:"https://github.com/correttojs/eslint-plugin-react-hooks-ssr"},"react-hooks-static-deps":{repository:"https://github.com/stoikio/eslint-plugin-react-hooks-static-deps"},"react-hooks2":{repository:"https://github.com/imhele/eslint-plugin-react-hooks2"},"react-html-invalid-prop-test":{repository:"https://github.com/sai6855/eslint-plugin-react-html-invalid-prop"},"react-html-prop-validator":{repository:"https://github.com/Roxiler/eslint-plugin-react-html-props"},"react-html-spellcheck":{repository:"https://github.com/sai6855/eslint-plugin-react-html-spellcheck"},"react-html-svg-invalid":{repository:"https://github.com/sai6855/eslint-plugin-react-html-svg-invalid"},"react-i18n":{repository:"https://github.com/lolatravel/eslint-plugin-react-i18n"},"react-internal":{repository:"https://github.com/npm/security-holder"},"react-intl-extractor":{repository:"https://github.com/kesko-dev/eslint-plugin-react-intl-extractor"},"react-intl-format":{repository:"https://github.com/calm/eslint-plugin-react-intl-format"},"react-intl-sammy":{repository:"https://github.com/calm/eslint-plugin-react-intl"},"react-intl-static":{repository:"https://github.com/leonardodino/eslint-plugin-react-intl-static"},"react-jss":{repository:"https://github.com/dashxhq/eslint-plugin-react-jss"},"react-kiva":{repository:"https://github.com/SystemLight/eslint-kiva"},"react-lazy-notation":{repository:"https://github.com/vgulaev/eslint-plugin-react-lazy-notation"},"react-memo":{repository:"https://github.com/steadicat/eslint-plugin-react-memo"},"react-native":{docs:"https://github.com/intellicode/eslint-plugin-react-native/blob/master/docs/rules/",repository:"https://github.com/intellicode/eslint-plugin-react-native"},"react-native-a11y":{repository:"https://github.com/FormidableLabs/eslint-plugin-react-native-a11y"},"react-native-animation-linter":{repository:"https://github.com/khan/eslint-plugin-react-native-animation-linter"},"react-native-globals":{repository:"https://github.com/satya164/eslint-plugin-react-native-globals"},"react-native-no-get-item-layout-prop-on-virtualized-list":{repository:"https://github.com/yannickcr/eslint-plugin-react"},"react-native-normalized":{repository:"https://github.com/JonnyBurger/eslint-plugin-react-native-normalized"},"react-native-wix":{repository:"https://github.com/wix/eslint-config-wix"},"react-percy":{repository:"https://github.com/percy/react-percy"},"react-perf":{docs:"https://github.com/cvazac/eslint-plugin-react-perf/blob/master/docs/rules/",repository:"https://github.com/cvazac/eslint-plugin-react-perf"},"react-performance-check":{repository:"https://github.com/siling1990/ESLintRule"},"react-prefer-function-component":{repository:"https://github.com/tatethurston/eslint-plugin-react-prefer-function-component"},"react-project":{repository:"https://github.com/gilfoylehuang/eslint-plugin-react-project"},"react-props":{repository:"https://github.com/craigbilner/eslint-plugin-react-props"},"react-pug":{repository:"https://github.com/ezhlobo/eslint-plugin-react-pug"},"react-query":{repository:"https://github.com/KubaJastrz/eslint-plugin-react-query"},"react-redux":{repository:"https://github.com/DianaSuvorova/eslint-plugin-react-redux"},"react-refresh":{repository:"https://github.com/ArnaudBarre/eslint-plugin-react-refresh"},"react-ssr":{repository:"https://github.com/ytanruengsri/eslint-plugin-react-ssr"},"react-svg":{repository:"https://github.com/raix/eslint-plugin-react-svg"},"react-use-props":{repository:"https://github.com/docccdev/eslint-plugin-react-use-props"},"react-with-classes":{repository:"https://github.com/jameswomack/eslint-plugin-react-with-classes"},"react-with-styles":{repository:"https://github.com/airbnb/eslint-plugin-react-with-styles"},"react-xhooks":{repository:"https://github.com/xsjohn0306/eslint-plugin-react-xhooks"},reactxp:{repository:"https://github.com/a-tarasyuk/eslint-plugin-reactxp"},readable:{repository:"https://github.com/YounGoat/eslint-plugin-readable"},reanimated:{repository:"https://github.com/wcandillon/eslint-plugin-reanimated"},rebase:{repository:"https://github.com/AndersDJohnson/eslint-plugin-rebase"},redos:{repository:"https://github.com/makenowjust-labs/recheck"},"redos-detector":{repository:"https://github.com/tjenkinson/eslint-plugin-redos-detector"},"redundant-undefined":{repository:"https://github.com/a-tarasyuk/eslint-plugin-redundant-undefined"},redux:{repository:"https://github.com/Intellicode/eslint-plugin-redux"},"redux-reselect":{repository:"https://github.com/viktor-ku/eslint-plugin-redux-reselect"},"redux-saga":{repository:"https://github.com/pke/eslint-plugin-redux-saga"},regex:{repository:"https://github.com/gmullerb/eslint-plugin-regex"},regexp:{docs:"https://github.com/ota-meshi/eslint-plugin-regexp/blob/master/docs/rules/",repository:"https://github.com/ota-meshi/eslint-plugin-regexp"},"regexp-header":{repository:"https://github.com/b4rd/eslint-plugin-regexp-header"},regru:{repository:"https://github.com/regru/eslint-plugin-regru"},"regularjs-beautify":{repository:"https://github.com/hsiaosiyuan0/regularjs-beautify"},reiwa:{repository:"https://github.com/otofu-square/eslint-plugin-reiwa"},relations:{repository:"https://github.com/theKashey/eslint-plugin-relations"},relay:{repository:"https://github.com/relayjs/eslint-plugin-relay"},reload:{repository:"https://github.com/reload/eslint"},remix:{repository:"https://github.com/alii/eslint-plugin-remix"},"remove-test-urls":{repository:"https://github.com/fuadpashayev/eslint-plugin-remove-test-urls"},replyguy:{repository:"https://github.com/jlengstorf/eslint-plugin-replyguy"},require:{repository:"https://github.com/bregenspan/eslint-plugin-require"},"require-call":{repository:"https://github.com/NelsonFrancisco/eslint-plugin-require-call"},"require-decorator":{repository:"https://github.com/ipekmuhammet/eslint-plugin-require-decorator"},"require-docs":{repository:"https://github.com/findmypast-oss/eslint-plugin-require-docs"},"require-duplicate":{repository:"https://github.com/LukaPrebil/eslint-plugin-require-duplicate"},"require-exact-proptypes":{repository:"https://github.com/patrick-addepar/eslint-plugin-require-exact-proptypes"},"require-explicit-generics":{repository:"https://github.com/mattorchard/eslint-plugin-require-explicit-generics"},"require-jsdoc-except":{repository:"https://github.com/MaienM/eslint-plugin-require-jsdoc-except"},"require-jsdoc-focus":{repository:"https://github.com/Bernardstanislas/eslint-plugin-require-jsdoc"},"require-path-exists":{repository:"https://github.com/BohdanTkachenko/eslint-plugin-require-path-exists"},"require-sort":{repository:"https://github.com/zcuric/eslint-plugin-require-sort"},"require-trailing-comma":{repository:"https://github.com/greggman/eslint-plugin-require-trailing-comma"},requirejs:{repository:"https://github.com/cvisco/eslint-plugin-requirejs"},"reselect-utils":{repository:"https://github.com/sgrishchenko/reselect-utils"},ressurectit:{repository:"https://github.com/ressurectit/eslint-plugin-ressurectit"},"restify-use-next":{repository:"https://github.com/rajatkumar/eslint-plugin-restify-use-next"},"restrict-named-import":{repository:"https://github.com/ozaki25/eslint-plugin-restrict-named-import"},resub:{repository:"https://github.com/a-tarasyuk/eslint-plugin-resub"},"return-early-dont-assign":{repository:"https://github.com/deadbeef404/eslint-plugin-return-early-dont-assign"},"return-types-object-literals":{repository:"https://github.com/upload-io/eslint-plugin-return-types-object-literals"},revizto:{repository:"https://github.com/revizto/eslint-rules"},"richtext-cp":{repository:"https://github.com/dmonego/eslint-plugin-richtext-cp"},riot:{repository:"https://github.com/txchen/eslint-plugin-riot"},risxss:{repository:"https://github.com/theodo/RisXSS"},"rn-a11y":{repository:"https://github.com/grgr-dkrk/eslint-plugin-rn-a11y"},"robber-language":{repository:"https://github.com/santi/eslint-plugin-robber-language"},roku:{repository:"https://github.com/RokuRoad/eslint-plugin-roku"},"row-num":{repository:"https://github.com/codsen/eslint-plugin-row-num"},rpgmaker:{repository:"https://github.com/waynee95/eslint-plugin-rpgmaker"},rs:{repository:"https://github.com/skyRoma/eslint-plugin-rs"},rtaro:{repository:"https://github.com/NervJS/taro"},"ru-typography":{repository:"https://github.com/doochik/eslint-plugin-ru-typography"},rulesdir:{repository:"https://github.com/not-an-aardvark/eslint-plugin-rulesdir"},rut:{repository:"https://github.com/milesj/rut"},"rwell-camelcase":{repository:"https://github.com/RoundingWellOS/eslint-plugin-rwell-camelcase"},rxjs:{repository:"https://github.com/cartant/eslint-plugin-rxjs"},"rxjs-angular":{repository:"https://github.com/cartant/eslint-plugin-rxjs-angular"},"rxjs-traits":{repository:"https://github.com/cartant/eslint-plugin-rxjs-traits"},ryanair:{repository:"https://github.com/ryanair/linters"},"salesforce-commercecloud":{repository:"https://github.com/t-huth/eslint-plugin-salesforce-commercecloud"},saxo:{repository:"https://github.com/saxobank/eslint-plugin-saxo"},"sbnc-rules":{repository:"https://github.com/BenceSzalai/eslint-plugin-sbnc-rules"},"scanjs-rules":{repository:"https://github.com/mozfreddyb/eslint-plugin-scanjs-rules"},scd:{repository:"https://github.com/uttk/eslint-plugin-scd"},scissors:{repository:"https://github.com/Colafornia/eslint-plugin-scissors"},screeps:{repository:"https://github.com/postcrafter/eslint-plugin-screeps"},"sdwvit-eslint-plugin-svelte3":{repository:"https://github.com/sveltejs/eslint-plugin-svelte3"},security:{repository:"https://github.com/nodesecurity/eslint-plugin-security"},"security-node":{repository:"https://github.com/gkouziik/eslint-plugin-security-node"},"security-rules":{repository:"https://github.com/lasselupe33/eslint-plugin-security-rules"},"segment-ember-actions":{repository:"https://github.com/authmaker/segment-ember-actions"},self:{repository:"https://github.com/not-an-aardvark/eslint-plugin-self"},"self-dir":{repository:"https://github.com/not-an-aardvark/eslint-plugin-self"},"seller-ui-eslint-plugin":{repository:"https://github.com/npm/security-holder"},"semantic-naming":{repository:"https://github.com/Moncader/eslint-plugin-semantic-naming"},sensible:{repository:"https://github.com/esatterwhite/eslint-plugin-sensible"},"sentry-csii-internal-eslint-plugin-sdk":{repository:"https://github.com/getsentry/sentry-javascript"},sequel:{repository:"https://github.com/5app/eslint-plugin-sequel"},"sequelize-node":{repository:"https://github.com/loomhq/eslint-plugin-sequelize-node"},sequence:{repository:"https://github.com/adashrod/eslint-plugin-sequence"},"serverless-eslint-plugin":{repository:"https://github.com/nishantjain91/serverless-eslint-plugin"},servicenow:{repository:"https://github.com/arnoudkooi/eslint-plugin-servicenow"},"set-iterable":{repository:"https://github.com/fernap3/eslint-plugin-set-iterable"},settimeout:{repository:"https://github.com/udemy/eslint-udemy"},"sfdx-typegen":{repository:"https://github.com/aheber/eslint-plugin-sfdx-typegen"},shitsurei:{repository:"https://github.com/yoidea/eslint-plugin-shitsurei"},shopify:{repository:"https://github.com/Shopify/eslint-plugin-shopify"},"shopify-lean":{repository:"https://github.com/sebastian-software/eslint-plugin-shopify-lean"},"should-promised":{repository:"https://github.com/dbrockman/eslint-plugin-should-promised"},"should-skip-update":{repository:"https://github.com/joeyparis/eslint-plugin-should-skip-update"},"sickle-eslint":{repository:"https://github.com/wffe-team/eslint"},"simple-import-sort":{repository:"https://github.com/lydell/eslint-plugin-simple-import-sort"},"simple-jsx":{repository:"https://github.com/putan/eslint-plugin-simple-jsx"},sinful:{repository:"https://github.com/FauxFaux/eslint-plugin-sinful"},"skip-adobe-directives":{repository:"https://github.com/KisoYuki/eslint-plugin-skip-adobe-directives"},"skip-nolint-lines":{repository:"https://github.com/gregsabo/eslint-plugin-skip-nolint-lines"},"skyscanner-dates":{repository:"https://github.com/Skyscanner/eslint-plugin-skyscanner-dates"},slite:{repository:"https://github.com/sliteteam/eslint-plugin-slite"},"slonik-safe-json":{repository:"https://github.com/Nilithus/eslint-plugin-slonik-safe-json"},"small-import":{repository:"https://github.com/JonnyBurger/eslint-plugin-react-native-normalized"},"smart-quotes":{repository:"https://github.com/jmont/eslint-plugin-smart-quotes"},"smart-sort":{repository:"https://github.com/MoonW1nd/eslint-plugin-smart-sort"},"smarter-tabs":{repository:"https://github.com/cheap-glitch/eslint-plugin-smarter-tabs"},smarthr:{repository:"https://github.com/kufu/eslint-plugin-smarthr"},smartprocure:{repository:"https://github.com/smartprocure/eslint-plugin-smartprocure"},smells:{repository:"https://github.com/elijahmanor/eslint-plugin-smells"},smelly:{repository:"https://github.com/qix-/eslint-plugin-smelly"},"smile-ember":{repository:"https://github.com/smile-io/eslint-plugin-smile-ember"},smtxt:{repository:"https://github.com/sematext/eslint-plugin-smtxt"},snakecasejs:{repository:"https://github.com/ptkdev/eslint-plugin-snakecasejs"},"so-jah-seh":{repository:"https://github.com/independentgeorge/eslint-plugin-so-jah-seh"},solfege:{repository:"https://github.com/neolao/eslint-plugin-solfege"},solfegejs:{repository:"https://github.com/solfegejs/eslint-plugin"},solid:{repository:"https://github.com/joshwilsonvu/eslint-plugin-solid"},sonar:{repository:"https://github.com/rx-ts/eslint-plugin-sonar"},sonarjs:{repository:"https://github.com/SonarSource/eslint-plugin-sonarjs"},"sonarjs-6":{repository:"https://github.com/SonarSource/eslint-plugin-sonarjs"},sort:{repository:"https://github.com/mskelton/eslint-plugin-sort"},"sort-class-members":{repository:"https://github.com/bryanrsmith/eslint-plugin-sort-class-members"},"sort-class-members-allow-null":{repository:"https://github.com/haxxxton/eslint-plugin-sort-class-members"},"sort-destructure-keys":{repository:"https://github.com/mthadley/eslint-plugin-sort-destructure-keys"},"sort-export-all":{repository:"https://github.com/nirtamir2/eslint-plugin-sort-export-all"},"sort-exports":{repository:"https://github.com/jrdrg/eslint-plugin-sort-exports"},"sort-import":{repository:"https://github.com/mistertemp/eslint-plugin-sort-import"},"sort-imports-es6-autofix":{repository:"https://github.com/schuchertmanagementberatung/eslint-plugin-sort-imports-es6-autofix"},"sort-keys":{repository:"https://github.com/namnm/eslint-plugin-sort-keys"},"sort-keys-custom":{repository:"https://github.com/elliesec/eslint-plugin-sort-keys-custom"},"sort-keys-custom-order":{repository:"https://github.com/hugoattal/eslint-plugin-sort-keys-custom-order"},"sort-keys-custom-order-fix":{repository:"https://github.com/brenopolanski/eslint-plugin-sort-keys-custom-order-fix"},"sort-keys-fix":{repository:"https://github.com/leo-buneev/eslint-plugin-sort-keys-fix"},"sort-keys-shorthand":{repository:"https://github.com/fxOne/eslint-plugin-sort-keys-shorthand"},"sort-requires-by-path":{repository:"https://github.com/oaltman/eslint-plugin-sort-requires-by-path"},sorting:{repository:"https://github.com/jacobrask/eslint-plugin-sorting"},"sowing-machine":{repository:"https://github.com/harrysolovay/sowing-machine"},spellcheck:{repository:"https://github.com/aotaduy/eslint-plugin-spellcheck"},speller:{repository:"https://github.com/itlci/eslint-plugin-speller"},spellingbee:{repository:"https://github.com/eschaefer/eslint-plugin-spellingbee"},"split-classnames":{repository:"https://github.com/remorses/split-classnames"},springload:{repository:"https://github.com/springload/eslint-plugin-springload"},springworks:{repository:"https://github.com/Springworks/eslint-plugin-springworks"},spruce:{repository:"https://github.com/sprucelabsai/workspace.sprucebot-skills-kit"},sql:{repository:"https://github.com/gajus/eslint-plugin-sql"},"sql-injection":{repository:"https://github.com/gavinaiken/eslint-plugin-sql-injection"},"sql-pretty":{repository:"https://github.com/devthejo/eslint-plugin-sql-pretty"},square:{repository:"https://github.com/square/eslint-plugin-square"},"srp-hints":{repository:"https://github.com/eliasm307/eslint-plugin-srp-hints"},"ssr-friendly":{repository:"https://github.com/kopiro/eslint-plugin-ssr-friendly"},"ssr-vue":{repository:"https://github.com/jy0529/eslint-plugin-ssr-vue"},"standard-cra":{repository:"https://github.com/kegi/eslint-plugin-standard-cra"},standard2:{repository:"https://github.com/aeharding/eslint-plugin-standard2"},starry:{repository:"https://github.com/StarryInternet/eslint-plugin-starry"},starscraper:{repository:"https://github.com/star-scraper/eslint-plugin-starscraper"},state:{repository:"https://github.com/JackFei/eslint-plugin-state"},stencil:{repository:"https://github.com/addtoevent/stencil-eslint"},"step-functions":{repository:"https://github.com/bdgamble/eslint-plugin-step-functions"},storage:{repository:"https://github.com/mrjones2014/eslint-plugin-storage"},"stormtrooper-eslint-plugin-css-modules":{repository:"https://github.com/atfzl/eslint-plugin-css-modules"},storybook:{repository:"https://github.com/storybookjs/eslint-plugin-storybook"},"strict-booleans":{repository:"https://github.com/vinceau/eslint-plugin-strict-booleans"},"strict-cast":{repository:"https://github.com/TrySound/strict-cast"},"strict-dependencies":{repository:"https://github.com/knowledge-work/eslint-plugin-strict-dependencies"},"strict-null-checks":{repository:"https://github.com/JaroslawPokropinski/eslint-plugin-strict-null-check"},"strict-vue":{repository:"https://github.com/GlebkaF/eslint-plugin-strict-vue"},strudel:{repository:"https://github.com/strudeljs/eslint-plugin-strudel"},style:{repository:"https://github.com/tao-cumplido/eslint-plugin-style"},styled:{repository:"https://github.com/andrienko/eslint-plugin-styled"},"styled-components-sort":{repository:"https://github.com/siffogh/eslint-plugin-better-styled-components"},"styled-components-varname":{repository:"https://github.com/macinjoke/eslint-plugin-styled-components-varname"},"styled-no-color-value":{repository:"https://github.com/phobal/eslint-plugin-styled-no-color-value"},styles:{repository:"https://github.com/eslift/eslint-plugin-styles"},"styles-object":{repository:"https://github.com/helixbass/eslint-plugin-styles-object"},stzhang:{repository:"https://github.com/stuartZhang/eslint-plugin-amo"},"suitcss-classnames":{repository:"https://github.com/azu/eslint-plugin-suitcss-classnames"},suitescript:{repository:"https://github.com/acdvs/eslint-plugin-suitescript"},summer:{repository:"https://github.com/1natsu172/eslint-summer"},superstition:{repository:"https://github.com/gurov/eslint-plugin-superstition"},supfiger:{repository:"https://github.com/supfiger/eslint-plugin-supfiger"},svelte:{repository:"https://github.com/JounQin/eslint-plugin-svelte"},"svelte-inline-compile":{repository:"https://github.com/DockYard/svelte-inline-compile"},svelte3:{repository:"https://github.com/sveltejs/eslint-plugin-svelte3"},"svelte3-new":{repository:"https://github.com/sveltejs/eslint-plugin-svelte3"},"svelte3-patch":{repository:"https://github.com/sveltejs/eslint-plugin-svelte3"},"svelte3-preprocess":{repository:"https://github.com/sveltejs/eslint-plugin-svelte3"},"svg-import-helper":{repository:"https://github.com/mkupriichuk/eslint-plugin-svg-import-helper"},"swarmia-dev":{repository:"https://github.com/swarmia/eslint"},"switch-error-warn":{repository:"https://github.com/finnmerlett/eslint-plugin-switch-error-warn"},"system-import-strings":{repository:"https://github.com/pwmckenna/eslint-plugin-system-import-strings"},t:{repository:"https://github.com/eslift/eslint-plugin-t"},tachecker:{repository:"https://github.com/linshaolie/eslint-plugin-tachecker"},"tachyons-jsx":{repository:"https://github.com/Bebersohl/eslint-plugin-tachyons-jsx"},tailwind:{repository:"https://github.com/Idered/eslint-plugin-tailwind"},tailwindcss:{repository:"https://github.com/francoismassart/eslint-plugin-tailwindcss"},"tailwindcss-jit-restrict":{repository:"https://github.com/nju33/eslint-plugin-tailwindcss-jit-restrict"},talentpair:{repository:"https://github.com/talentpair/eslint-plugin-talentpair"},talltotal:{repository:"https://github.com/talltotal/eslint-plugin-talltotal"},tanda:{repository:"https://github.com/deecewan/eslint-plugin-tanda"},tanok:{repository:"https://github.com/kindritskyiMax/eslint-plugin-tanok"},tap:{repository:"https://github.com/getoslash/eslint-plugin-tap"},"tap-given":{repository:"https://github.com/dex4er/js-eslint-plugin-tap-given"},taro:{repository:"https://github.com/NervJS/taro"},tdd:{repository:"https://github.com/Fox-n-Rabbit/fxnrbt"},"team-vals":{repository:"https://github.com/team-vals/eslint-config-team-vals"},template:{repository:"https://github.com/gramener/eslint-plugin-template"},"template-template":{repository:"https://github.com/sam-parsons/eslint-plugin-template"},ternaries:{repository:"https://github.com/divyagnan/eslint-plugin-ternaries"},ternary:{repository:"https://github.com/grayedfox/eslint-plugin-ternary"},"test-eslint-plugin-sdk":{repository:"https://github.com/getsentry/sentry-javascript"},"test-filenames":{repository:"https://github.com/spalger/eslint-plugin-test-filenames"},"test-id":{repository:"https://github.com/prashantswami/eslint-plugin-test-id"},"test-import-paths":{repository:"https://github.com/jeyj0/eslint-plugin-test-import-paths"},"test-names":{repository:"https://github.com/DanielMSchmidt/eslint-plugin-test-names"},"test-num":{repository:"https://github.com/codsen/eslint-plugin-test-num"},"test-project-eslint-plugin-clarity-adoption":{repository:"https://github.com/vmware-clarity/core"},test91:{repository:"https://github.com/netless-io/eslint-plugin-netless"},"testcafe-community":{repository:"https://github.com/testcafe-community/eslint-plugin-testcafe-community"},"testcafe-extended":{repository:"https://github.com/stefanschenk/eslint-plugin-testcafe-extended"},"testing-library":{docs:"https://github.com/testing-library/eslint-plugin-testing-library/blob/main/docs/rules/",repository:"https://github.com/testing-library/eslint-plugin-testing-library"},tests:{repository:"https://github.com/matthizou/eslint-plugin-tests"},tgandrews:{repository:"https://github.com/tgandrews/eslint-plugin-tgandrews"},"the-step-down-rule":{repository:"https://github.com/skabbi/eslint-plugin-the-step-down-rule"},this:{repository:"https://github.com/matijs/eslint-plugin-this"},"throws-on-load":{repository:"https://github.com/not-an-aardvark/eslint-plugin-throws-on-load"},thunderball:{repository:"https://github.com/angieslist/thunderball.io"},"tick-tock-jsdoc":{repository:"https://github.com/ewandennis/eslint-plugin-tick-tock-jsdoc"},"tilted-react":{repository:"https://github.com/tilted-tm/eslint-plugin-tilted-react"},tinkoff:{repository:"https://github.com/npm/security-holder"},"todo-comments":{repository:"https://github.com/fXy-during/eslint-plugin-todo-comments"},"todo-ddl":{repository:"https://github.com/ATQQ/eslint-plugin-todo-ddl"},"todo-errors":{repository:"https://github.com/KollegOFF/eslint-plugin-todo-errors"},"todo-format":{repository:"https://github.com/YekaiZ/eslint-plugin-todo-format"},"todo-plz":{repository:"https://github.com/sawyerh/eslint-plugin-todo-plz"},todos:{repository:"https://github.com/auhau/eslint-plugin-todos"},toml:{repository:"https://github.com/ota-meshi/eslint-plugin-toml"},tools:{repository:"https://github.com/fengyinchao/eslint-plugin-custom"},toplevel:{repository:"https://github.com/HKalbasi/eslint-plugin-toplevel"},"total-functions":{repository:"https://github.com/danielnixon/eslint-plugin-total-functions"},"tree-shaking":{repository:"https://github.com/lukastaegert/eslint-plugin-tree-shaking"},tribou:{repository:"https://github.com/tribou/eslint-plugin-tribou"},trim:{repository:"https://github.com/doinki/eslint-plugin-trim"},ts:{repository:"https://github.com/ovidiubute/eslint-plugin-ts"},"ts-ban-snippets":{repository:"https://github.com/mrseanryan/eslint-plugin-ts-ban-snippets"},"ts-expect":{repository:"https://github.com/4Catalyzer/eslint-plugin-ts-expect"},"ts-exports":{repository:"https://github.com/wcandillon/eslint-plugin-ts-exports"},"ts-import":{repository:"https://github.com/bradennapier/eslint-plugin-ts-import"},"ts-wasmify":{repository:"https://github.com/JaroslawPokropinski/eslint-plugin-ts-wasmify"},tsc:{repository:"https://github.com/unlight/eslint-plugin-tsc"},tsday:{repository:"https://github.com/dmeneses/eslint-plugin-tsday"},tsdoc:{repository:"https://github.com/microsoft/tsdoc"},tsex:{repository:"https://github.com/wiinuk/eslint-plugin-tsex"},"tshirt-sizes":{repository:"https://github.com/Naoto-Ida/eslint-plugin-tshirt-sizes"},"tslint-comments":{repository:"https://github.com/drewwyatt/eslint-plugin-tslint-comments"},"tss-unused-classes":{repository:"https://github.com/garronej/eslint-plugin-tss-unused-classes"},ttag:{repository:"https://github.com/ttag-org/eslint-plugin-ttag"},turbopatent:{repository:"https://github.com/PatentNavigation/eslint-plugin-turbopatent"},"type-graphql":{repository:"https://github.com/borremosch/eslint-plugin-type-graphql"},types:{repository:"https://github.com/dissimulate/eslint-plugin-types"},"typescript-custom-sort-keys":{repository:"https://github.com/prash471/eslint-plugin-typescript-sort-keys"},"typescript-enum":{repository:"https://github.com/shian15810/eslint-plugin-typescript-enum"},"typescript-eslint-jsx-conditionals":{repository:"https://github.com/ColeWalker/typescript-eslint-jsx-conditionals"},"typescript-kiva":{repository:"https://github.com/SystemLight/eslint-kiva"},"typescript-names":{repository:"https://github.com/rejifald/eslint-plugin-typescript-names"},"typescript-react-kiva":{repository:"https://github.com/SystemLight/eslint-kiva"},"typescript-require-readonly":{repository:"https://github.com/krailler/eslint-plugin-typescript-require-readonly"},"typescript-sort-keys":{repository:"https://github.com/infctr/eslint-plugin-typescript-sort-keys"},typling:{repository:"https://github.com/jamen/eslint-plugin-typling"},udemy:{repository:"https://github.com/udemy/js-tooling"},"ui-testing":{repository:"https://github.com/kwoding/eslint-plugin-ui-testing"},ui5depchk:{repository:"https://github.com/kennyzhangdev/ui5depchk"},unar:{repository:"https://github.com/lkdghzh/eslint-plugin-unar-extends"},"uncalled-iife":{repository:"https://github.com/romainmenke/eslint-plugin-uncalled-iife"},"undef-init":{repository:"https://github.com/bendtherules/eslint-plugin-undef-init"},underscore_case:{repository:"https://github.com/tylerlong/eslint-plugin-underscore_case"},"undocumented-env":{repository:"https://github.com/lennym/eslint-plugin-implicit-dependencies"},unicorn:{docs:"https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/",repository:"https://github.com/sindresorhus/eslint-plugin-unicorn"},"unnecessary-filename-in-import":{repository:"https://github.com/ska-kialo/eslint-plugin-unnecessary-filename-in-import"},"unsafe-property-assignment":{repository:"https://github.com/jonathanKingston/eslint-plugin-unsafe-property-assignment"},"unused-imports":{docs:"https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/",repository:"https://github.com/sweepline/eslint-plugin-unused-imports"},url:{repository:"https://github.com/keyfoxth/eslint-plugin-url"},usagisah:{repository:"https://github.com/gxs114/eslint-plugin-usagisah"},"use-decorator":{repository:"https://github.com/team-parallax/eslint-plugin-use-decorator"},"use-encapsulation":{repository:"https://github.com/kyleshevlin/eslint-plugin-use-encapsulation"},"use-macros":{repository:"https://github.com/wantedly/frolint"},"use-numeric-separator":{repository:"https://github.com/RateGravity/eslint-plugin-use-numeric-separator"},"use-optional-annotation":{repository:"https://github.com/Akagire/eslint-plugin-use-optional-annotation"},"use-selector-with":{repository:"https://github.com/Codecademy/use-selector-with"},"use-storeon":{repository:"https://github.com/Minyens/eslint-plugin-use-storeon"},userscripts:{repository:"https://github.com/Yash-Singh1/eslint-plugin-userscripts"},utils:{repository:"https://github.com/rx-ts/eslint"},uuapp:{repository:"https://github.com/jiridudekusy/eslint-plugin-uuapp"},uvu:{repository:"https://github.com/yudai-nkt/eslint-plugin-uvu"},"validate-declared-imports":{repository:"https://github.com/yardenporat/eslint-plugin-validate-declared-imports"},valtech:{repository:"https://github.com/valtech-nyc/eslint-plugin-valtech"},valtio:{repository:"https://github.com/pmndrs/eslint-plugin-valtio"},"var-length":{repository:"https://github.com/uhyo/eslint-plugin-var-length"},variablenamecheck:{repository:"https://github.com/npm/npm"},variablenamecheck1:{repository:"https://github.com/npm/npm"},variables:{repository:"https://github.com/frsv/eslint-plugin-variables"},various:{repository:"https://github.com/oculus42/eslint-plugin-various"},verdaccio:{repository:"https://github.com/verdaccio/monorepo"},videoamp:{repository:"https://github.com/VideoAmp/eslint-plugin-videoamp"},"view-models":{repository:"https://github.com/asbjornh/eslint-plugin-view-models"},"viper-v2":{repository:"https://github.com/Nigiss/eslint-plugin-viper"},"viper-v3":{repository:"https://github.com/Nigiss/eslint-plugin-viper-v3"},"virtru-lint":{repository:"https://github.com/npm/security-holder"},"vitest-globals":{repository:"https://github.com/saqqdy/eslint-plugin-vitest-globals"},vitsaus:{repository:"https://github.com/Vitsaus/eslint-plugin-vitsaus"},void:{repository:"https://github.com/Chamion/eslint-plugin-void"},"void-only-side-effects":{repository:"https://github.com/Chamion/eslint-plugin-void-only-side-effects"},vtex:{repository:"https://github.com/vtex/typescript"},vue:{docs:"https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/",repository:"https://github.com/vuejs/eslint-plugin-vue"},"vue-2-object-reactivity":{repository:"https://github.com/Maxim-Mazurok/eslint-plugin-vue-2-object-reactivity"},"vue-crooks-nits":{repository:"https://github.com/idlethumbs/eslint-plugin-vue-crooks-nits"},"vue-enhanced":{repository:"https://github.com/fisker/eslint-plugin-vue-enhanced"},"vue-extras":{repository:"https://github.com/przemyslawjanpietrzak/eslint-plugin-vue-extras"},"vue-i18nstring":{repository:"https://github.com/FlyDreame/eslint-plugin-vue-i18n"},"vue-lang":{repository:"https://github.com/FuckingUsername/eslint-plugin-vue-lang"},"vue-libs":{repository:"https://github.com/vuejs/eslint-plugin-vue-libs"},"vue-oboi":{repository:"https://github.com/maxming2333/eslint-plugin-vue-oboi"},"vue-property-precheck":{repository:"https://github.com/CooLNuanfeng/eslint-plugin-vue-property-precheck"},"vue-pug":{repository:"https://github.com/rashfael/eslint-plugin-vue-pug"},"vue-root-class":{repository:"https://github.com/wiese/eslint-plugin-vue-root-class"},"vue-scoped-css":{repository:"https://github.com/future-architect/eslint-plugin-vue-scoped-css"},"vue-split-by-script-lang":{repository:"https://github.com/kmathmann/eslint-plugin-vue-split-by-script-lang"},"vue-style-tag":{repository:"https://github.com/talltotal/eslint-plugin-vue-style-tag"},"vue-types":{repository:"https://github.com/dwightjack/eslint-plugin-vue-types"},"vue3-jsx":{repository:"https://github.com/lk0606/lint"},vuefix:{repository:"https://github.com/lkiarest/eslint-plugin-vuefix"},"vuejs-accessibility":{repository:"https://github.com/vue-a11y/eslint-plugin-vuejs-accessibility"},vuetify:{repository:"https://github.com/vuetifyjs/eslint-plugin-vuetify"},"wang_eslint-plugin-vue":{repository:"https://github.com/vuejs/eslint-plugin-vue"},wantedly:{repository:"https://github.com/wantedly/frolint"},wc:{repository:"https://github.com/43081j/eslint-plugin-wc"},wdio:{repository:"https://github.com/webdriverio/webdriverio"},web:{repository:"https://github.com/aladdin-add/eslint-plugin"},webassembly:{repository:"https://github.com/xtuc/webassemblyjs"},webgl:{repository:"https://github.com/amilajack/eslint-plugin-webgl"},"webgl-logic":{repository:"https://github.com/peteward44/eslint-plugin-webgl-logic"},"webpack-eslint-plugin":{repository:"https://github.com/eyasliu/webpack-eslint-plugin"},weex:{repository:"https://github.com/erha19/eslint-plugin-weex"},"weex-vue":{repository:"https://github.com/erha19/eslint-plugin-weex-vue"},weiyi:{repository:"https://github.com/borenXue/front-packages"},wemlion:{repository:"https://github.com/AngusFu/wemlion-frontend-conf"},whitespace:{repository:"https://github.com/willklein/eslint-plugin-whitespace"},why:{repository:"https://github.com/coleturner/eslint-plugin-why"},widen:{repository:"https://github.com/Widen/eslint-config"},"winniepukki-guidelines":{repository:"https://github.com/winniepukki/guidelines"},"with-tsc-error":{repository:"https://github.com/mkusaka/eslint-plugin-with-tsc-error"},"wix-custom-rules":{repository:"https://github.com/wix-incubator/wix-eslint-custom-rules"},"wix-editor":{repository:"https://github.com/wix/eslint-plugin-wix-editor"},"wix-style-react":{repository:"https://github.com/wix/wix-ui"},wkovacs64:{repository:"https://github.com/wKovacs64/eslint-plugin-wkovacs64"},woke:{repository:"https://github.com/amwmedia/eslint-plugin-woke"},wolkenkit:{repository:"https://github.com/thenativeweb/eslint-plugin-wolkenkit"},workspaces:{repository:"https://github.com/joshuajaco/eslint-plugin-workspaces"},wpcalypso:{repository:"https://github.com/Automattic/wp-calypso"},wpy:{repository:"https://github.com/romoo/eslint-plugin-wpy"},wrapper:{repository:"https://github.com/mmkal/eslint-plugin-wrapper"},"write-good-comments":{repository:"https://github.com/kantord/eslint-plugin-write-good-comments"},wtf:{repository:"https://github.com/qix-/eslint-plugin-wtf"},wtlin:{repository:"https://github.com/wtlin1228/eslint-plugin-wtlin"},wxml:{repository:"https://github.com/wxmlfile/eslint-plugin-wxml"},xgh:{repository:"https://github.com/fabioemoutinho/xgh"},"xod-fp":{repository:"https://github.com/xodio/eslint-plugin-xod-fp"},xogroup:{repository:"https://github.com/xogroup/eslint-plugin-xogroup"},xss:{repository:"https://github.com/Rantanen/eslint-plugin-xss"},xstate:{repository:"https://github.com/rlaffers/eslint-plugin-xstate"},xunit:{repository:"https://github.com/rochejul/eslint-plugin-xunit"},xurei:{repository:"https://github.com/xurei/eslint-plugin"},"xxx-eslint":{repository:"https://github.com/SaiRS/eslint-plugin-xxx-eslint"},yaml:{repository:"https://github.com/aminya/eslint-plugin-yaml"},"yandex-maps":{repository:"https://github.com/npm/security-holder"},yaypay:{repository:"https://github.com/SergiiKudriashov/eslint-plugin-yaypay"},"yen-symbol-check":{repository:"https://github.com/yaofangchao/eslint-plugin-yen-symbol-check"},yml:{repository:"https://github.com/ota-meshi/eslint-plugin-yml"},yola:{repository:"https://github.com/yola/eslint-plugin-yola"},"you-dont-need-lodash-underscore":{repository:"https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore"},"you-dont-need-momentjs":{repository:"https://github.com/you-dont-need/You-Dont-Need-Momentjs"},"you-dont-need-recompose":{repository:"https://github.com/icrosil/eslint-plugin-you-dont-need-recompose"},zero:{repository:"https://github.com/zero-config/eslint-plugin-zero"},"zero-config":{repository:"https://github.com/exelord/eslint-plugin-zero-config"},zflow:{repository:"https://github.com/tzstone/eslint-plugin-flow"},zillow:{repository:"https://github.com/zillow/javascript"},zob:{repository:"https://github.com/xovel/zob"},zoelint:{repository:"https://github.com/bombbombbeng/eslint-plugin-zoelint"},zooshgroup:{repository:"https://github.com/zooshgroup/eslint-plugin-zooshgroup"},"zving-specifications":{repository:"https://github.com/abeet/eslint-plugin-zving-specifications"}};var gS=q((function(t){const[e,i]=t.split("/");if(!i)return{exactMatch:!0,url:"https://eslint.org/docs/rules/"+t};const n=dS[e];if(!n)throw new Error("No documentation found for rule");if(n.docs)return{exactMatch:!0,url:`${n.docs}${i}.md`};if(n.repository)return{exactMatch:!1,url:n.repository};throw new Error("No documentation found for rule")}));const mS={};function yS(t,e,i){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||i?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return bS(t.children,e,i)}return Array.isArray(t)?bS(t,e,i):""}function bS(t,e,i){const n=[];let r=-1;for(;++rr?0:r+e:e>r?r:e,i=i>0?i:0,n.length<1e4)s=Array.from(n),s.unshift(e,i),t.splice(...s);else for(i&&t.splice(e,i);o0?(wS(t,t.length,0,e),t):e}const DS={}.hasOwnProperty;function kS(t){const e={};let i=-1;for(;++is))return;const i=e.events.length;let r,a,u=i;for(;u--;)if("exit"===e.events[u][0]&&"chunkFlow"===e.events[u][1].type){if(r){a=e.events[u][1].end;break}r=!0}for(y(o),t=i;tn;){const n=i[r];e.containerState=n[1],n[0].exit.call(e,t)}i.length=n}function b(){n.write([null]),r=void 0,n=void 0,e.containerState._closeFlow=void 0}}},zS={tokenize:function(t,e,i){return LS(t,t.attempt(this.parser.constructs.document,e,i),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};function qS(t){return null===t||TS(t)||$S(t)?1:IS(t)?2:void 0}function US(t,e,i){const n=[];let r=-1;for(;++r1&&t[c][1].end.offset-t[c][1].start.offset>1?2:1;const h=Object.assign({},t[i][1].end),p=Object.assign({},t[c][1].start);WS(h,-a),WS(p,a),s={type:a>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},t[i][1].end)},o={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[c][1].start),end:p},r={type:a>1?"strongText":"emphasisText",start:Object.assign({},t[i][1].end),end:Object.assign({},t[c][1].start)},n={type:a>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},o.end)},t[i][1].end=Object.assign({},s.start),t[c][1].start=Object.assign({},o.end),u=[],t[i][1].end.offset-t[i][1].start.offset&&(u=vS(u,[["enter",t[i][1],e],["exit",t[i][1],e]])),u=vS(u,[["enter",n,e],["enter",s,e],["exit",s,e],["enter",r,e]]),u=vS(u,US(e.parser.constructs.insideSpan.null,t.slice(i+1,c),e)),u=vS(u,[["exit",r,e],["enter",o,e],["exit",o,e],["exit",n,e]]),t[c][1].end.offset-t[c][1].start.offset?(l=2,u=vS(u,[["enter",t[c][1],e],["exit",t[c][1],e]])):l=0,wS(t,i-1,c-i+3,u),c=i+u.length-l-2;break}c=-1;for(;++c",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"⁡",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"⁣",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},ZS={}.hasOwnProperty;function QS(t){return!!ZS.call(JS,t)&&JS[t]}const XS={name:"characterReference",tokenize:function(t,e,i){const n=this;let r,s,o=0;return function(e){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(e),t.exit("characterReferenceMarker"),a};function a(e){return 35===e?(t.enter("characterReferenceMarkerNumeric"),t.consume(e),t.exit("characterReferenceMarkerNumeric"),u):(t.enter("characterReferenceValue"),r=31,s=FS,l(e))}function u(e){return 88===e||120===e?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(e),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),r=6,s=jS,l):(t.enter("characterReferenceValue"),r=7,s=_S,l(e))}function l(a){if(59===a&&o){const r=t.exit("characterReferenceValue");return s!==FS||QS(n.sliceSerialize(r))?(t.enter("characterReferenceMarker"),t.consume(a),t.exit("characterReferenceMarker"),t.exit("characterReference"),e):i(a)}return s(a)&&o++=a?(t.exit("codeFencedFenceSequence"),RS(e)?LS(t,h,"whitespace")(e):h(e)):i(e)}function h(n){return null===n||BS(n)?(t.exit("codeFencedFence"),e(n)):i(n)}},partial:!0};let s,o=0,a=0;return function(e){return function(e){const i=n.events[n.events.length-1];return o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,s=e,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),u(e)}(e)};function u(e){return e===s?(a++,t.consume(e),u):a<3?i(e):(t.exit("codeFencedFenceSequence"),RS(e)?LS(t,l,"whitespace")(e):l(e))}function l(i){return null===i||BS(i)?(t.exit("codeFencedFence"),n.interrupt?e(i):t.check(t_,f,b)(i)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),c(i))}function c(e){return null===e||BS(e)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),l(e)):RS(e)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),LS(t,h,"whitespace")(e)):96===e&&e===s?i(e):(t.consume(e),c)}function h(e){return null===e||BS(e)?l(e):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),p(e))}function p(e){return null===e||BS(e)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),l(e)):96===e&&e===s?i(e):(t.consume(e),p)}function f(e){return t.attempt(r,b,d)(e)}function d(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),g}function g(e){return o>0&&RS(e)?LS(t,m,"linePrefix",o+1)(e):m(e)}function m(e){return null===e||BS(e)?t.check(t_,f,b)(e):(t.enter("codeFlowValue"),y(e))}function y(e){return null===e||BS(e)?(t.exit("codeFlowValue"),m(e)):(t.consume(e),y)}function b(i){return t.exit("codeFenced"),e(i)}},concrete:!0};const i_={name:"codeIndented",tokenize:function(t,e,i){const n=this;return function(e){return t.enter("codeIndented"),LS(t,r,"linePrefix",5)(e)};function r(t){const e=n.events[n.events.length-1];return e&&"linePrefix"===e[1].type&&e[2].sliceSerialize(e[1],!0).length>=4?s(t):i(t)}function s(e){return null===e?a(e):BS(e)?t.attempt(n_,s,a)(e):(t.enter("codeFlowValue"),o(e))}function o(e){return null===e||BS(e)?(t.exit("codeFlowValue"),s(e)):(t.consume(e),o)}function a(i){return t.exit("codeIndented"),e(i)}}},n_={tokenize:function(t,e,i){const n=this;return r;function r(e){return n.parser.lazy[n.now().line]?i(e):BS(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),r):LS(t,s,"linePrefix",5)(e)}function s(t){const s=n.events[n.events.length-1];return s&&"linePrefix"===s[1].type&&s[2].sliceSerialize(s[1],!0).length>=4?e(t):BS(t)?r(t):i(t)}},partial:!0};const r_={name:"codeText",tokenize:function(t,e,i){let n,r,s=0;return function(e){return t.enter("codeText"),t.enter("codeTextSequence"),o(e)};function o(e){return 96===e?(t.consume(e),s++,o):(t.exit("codeTextSequence"),a(e))}function a(e){return null===e?i(e):32===e?(t.enter("space"),t.consume(e),t.exit("space"),a):96===e?(r=t.enter("codeTextSequence"),n=0,l(e)):BS(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),a):(t.enter("codeTextData"),u(e))}function u(e){return null===e||32===e||96===e||BS(e)?(t.exit("codeTextData"),a(e)):(t.consume(e),u)}function l(i){return 96===i?(t.consume(i),n++,l):n===s?(t.exit("codeTextSequence"),t.exit("codeText"),e(i)):(r.type="codeTextData",u(i))}},resolve:function(t){let e,i,n=t.length-4,r=3;if(!("lineEnding"!==t[r][1].type&&"space"!==t[r][1].type||"lineEnding"!==t[n][1].type&&"space"!==t[n][1].type))for(e=r;++e=4?e(r):t.interrupt(n.parser.constructs.flow,i,e)(r)}},partial:!0};function l_(t,e,i,n,r,s,o,a,u){const l=u||Number.POSITIVE_INFINITY;let c=0;return function(e){if(60===e)return t.enter(n),t.enter(r),t.enter(s),t.consume(e),t.exit(s),h;if(null===e||32===e||41===e||SS(e))return i(e);return t.enter(n),t.enter(o),t.enter(a),t.enter("chunkString",{contentType:"string"}),d(e)};function h(i){return 62===i?(t.enter(s),t.consume(i),t.exit(s),t.exit(r),t.exit(n),e):(t.enter(a),t.enter("chunkString",{contentType:"string"}),p(i))}function p(e){return 62===e?(t.exit("chunkString"),t.exit(a),h(e)):null===e||60===e||BS(e)?i(e):(t.consume(e),92===e?f:p)}function f(e){return 60===e||62===e||92===e?(t.consume(e),p):p(e)}function d(r){return c||null!==r&&41!==r&&!TS(r)?c999||null===h||91===h||93===h&&!a||94===h&&!u&&"_hiddenFootnoteSupport"in o.parser.constructs?i(h):93===h?(t.exit(s),t.enter(r),t.consume(h),t.exit(r),t.exit(n),e):BS(h)?(t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),l):(t.enter("chunkString",{contentType:"string"}),c(h))}function c(e){return null===e||91===e||93===e||BS(e)||u++>999?(t.exit("chunkString"),l(e)):(t.consume(e),a||(a=!RS(e)),92===e?h:c)}function h(e){return 91===e||92===e||93===e?(t.consume(e),u++,c):c(e)}}function h_(t,e,i,n,r,s){let o;return function(e){if(34===e||39===e||40===e)return t.enter(n),t.enter(r),t.consume(e),t.exit(r),o=40===e?41:e,a;return i(e)};function a(i){return i===o?(t.enter(r),t.consume(i),t.exit(r),t.exit(n),e):(t.enter(s),u(i))}function u(e){return e===o?(t.exit(s),a(o)):null===e?i(e):BS(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),LS(t,u,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),l(e))}function l(e){return e===o||null===e||BS(e)?(t.exit("chunkString"),u(e)):(t.consume(e),92===e?c:l)}function c(e){return e===o||92===e?(t.consume(e),l):l(e)}}function p_(t,e){let i;return function n(r){if(BS(r))return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),i=!0,n;if(RS(r))return LS(t,n,i?"linePrefix":"lineSuffix")(r);return e(r)}}function f_(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const d_={name:"definition",tokenize:function(t,e,i){const n=this;let r;return function(e){return t.enter("definition"),function(e){return c_.call(n,t,s,i,"definitionLabel","definitionLabelMarker","definitionLabelString")(e)}(e)};function s(e){return r=f_(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),58===e?(t.enter("definitionMarker"),t.consume(e),t.exit("definitionMarker"),o):i(e)}function o(e){return TS(e)?p_(t,a)(e):a(e)}function a(e){return l_(t,u,i,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(e)}function u(e){return t.attempt(g_,l,l)(e)}function l(e){return RS(e)?LS(t,c,"whitespace")(e):c(e)}function c(s){return null===s||BS(s)?(t.exit("definition"),n.parser.defined.push(r),e(s)):i(s)}}},g_={tokenize:function(t,e,i){return function(e){return TS(e)?p_(t,n)(e):i(e)};function n(e){return h_(t,r,i,"definitionTitle","definitionTitleMarker","definitionTitleString")(e)}function r(e){return RS(e)?LS(t,s,"whitespace")(e):s(e)}function s(t){return null===t||BS(t)?e(t):i(t)}},partial:!0};const m_={name:"hardBreakEscape",tokenize:function(t,e,i){return function(e){return t.enter("hardBreakEscape"),t.consume(e),n};function n(n){return BS(n)?(t.exit("hardBreakEscape"),e(n)):i(n)}}};const y_={name:"headingAtx",tokenize:function(t,e,i){let n=0;return function(e){return t.enter("atxHeading"),function(e){return t.enter("atxHeadingSequence"),r(e)}(e)};function r(e){return 35===e&&n++<6?(t.consume(e),r):null===e||TS(e)?(t.exit("atxHeadingSequence"),s(e)):i(e)}function s(i){return 35===i?(t.enter("atxHeadingSequence"),o(i)):null===i||BS(i)?(t.exit("atxHeading"),e(i)):RS(i)?LS(t,s,"whitespace")(i):(t.enter("atxHeadingText"),a(i))}function o(e){return 35===e?(t.consume(e),o):(t.exit("atxHeadingSequence"),s(e))}function a(e){return null===e||35===e||TS(e)?(t.exit("atxHeadingText"),s(e)):(t.consume(e),a)}},resolve:function(t,e){let i,n,r=t.length-2,s=3;"whitespace"===t[s][1].type&&(s+=2);r-2>s&&"whitespace"===t[r][1].type&&(r-=2);"atxHeadingSequence"===t[r][1].type&&(s===r-1||r-4>s&&"whitespace"===t[r-2][1].type)&&(r-=s+1===r?2:4);r>s&&(i={type:"atxHeadingText",start:t[s][1].start,end:t[r][1].end},n={type:"chunkText",start:t[s][1].start,end:t[r][1].end,contentType:"text"},wS(t,s,r-s+1,[["enter",i,e],["enter",n,e],["exit",n,e],["exit",i,e]]));return t}};const b_=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],w_=["pre","script","style","textarea"],v_={name:"htmlFlow",tokenize:function(t,e,i){const n=this;let r,s,o,a,u;return function(e){return function(e){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(e),l}(e)};function l(a){return 33===a?(t.consume(a),c):47===a?(t.consume(a),s=!0,f):63===a?(t.consume(a),r=3,n.interrupt?e:R):AS(a)?(t.consume(a),o=String.fromCharCode(a),d):i(a)}function c(s){return 45===s?(t.consume(s),r=2,h):91===s?(t.consume(s),r=5,a=0,p):AS(s)?(t.consume(s),r=4,n.interrupt?e:R):i(s)}function h(r){return 45===r?(t.consume(r),n.interrupt?e:R):i(r)}function p(r){const s="CDATA[";return r===s.charCodeAt(a++)?(t.consume(r),6===a?n.interrupt?e:F:p):i(r)}function f(e){return AS(e)?(t.consume(e),o=String.fromCharCode(e),d):i(e)}function d(a){if(null===a||47===a||62===a||TS(a)){const u=47===a,l=o.toLowerCase();return u||s||!w_.includes(l)?b_.includes(o.toLowerCase())?(r=6,u?(t.consume(a),g):n.interrupt?e(a):F(a)):(r=7,n.interrupt&&!n.parser.lazy[n.now().line]?i(a):s?m(a):y(a)):(r=1,n.interrupt?e(a):F(a))}return 45===a||FS(a)?(t.consume(a),o+=String.fromCharCode(a),d):i(a)}function g(r){return 62===r?(t.consume(r),n.interrupt?e:F):i(r)}function m(e){return RS(e)?(t.consume(e),m):x(e)}function y(e){return 47===e?(t.consume(e),x):58===e||95===e||AS(e)?(t.consume(e),b):RS(e)?(t.consume(e),y):x(e)}function b(e){return 45===e||46===e||58===e||95===e||FS(e)?(t.consume(e),b):w(e)}function w(e){return 61===e?(t.consume(e),v):RS(e)?(t.consume(e),w):y(e)}function v(e){return null===e||60===e||61===e||62===e||96===e?i(e):34===e||39===e?(t.consume(e),u=e,D):RS(e)?(t.consume(e),v):k(e)}function D(e){return e===u?(t.consume(e),u=null,E):null===e||BS(e)?i(e):(t.consume(e),D)}function k(e){return null===e||34===e||39===e||47===e||60===e||61===e||62===e||96===e||TS(e)?w(e):(t.consume(e),k)}function E(t){return 47===t||62===t||RS(t)?y(t):i(t)}function x(e){return 62===e?(t.consume(e),A):i(e)}function A(e){return null===e||BS(e)?F(e):RS(e)?(t.consume(e),A):i(e)}function F(e){return 45===e&&2===r?(t.consume(e),j):60===e&&1===r?(t.consume(e),O):62===e&&4===r?(t.consume(e),I):63===e&&3===r?(t.consume(e),R):93===e&&5===r?(t.consume(e),T):!BS(e)||6!==r&&7!==r?null===e||BS(e)?(t.exit("htmlFlowData"),C(e)):(t.consume(e),F):(t.exit("htmlFlowData"),t.check(D_,$,C)(e))}function C(e){return t.check(k_,S,$)(e)}function S(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),_}function _(e){return null===e||BS(e)?C(e):(t.enter("htmlFlowData"),F(e))}function j(e){return 45===e?(t.consume(e),R):F(e)}function O(e){return 47===e?(t.consume(e),o="",B):F(e)}function B(e){if(62===e){const i=o.toLowerCase();return w_.includes(i)?(t.consume(e),I):F(e)}return AS(e)&&o.length<8?(t.consume(e),o+=String.fromCharCode(e),B):F(e)}function T(e){return 93===e?(t.consume(e),R):F(e)}function R(e){return 62===e?(t.consume(e),I):45===e&&2===r?(t.consume(e),R):F(e)}function I(e){return null===e||BS(e)?(t.exit("htmlFlowData"),$(e)):(t.consume(e),I)}function $(i){return t.exit("htmlFlow"),e(i)}},resolveTo:function(t){let e=t.length;for(;e--&&("enter"!==t[e][0]||"htmlFlow"!==t[e][1].type););e>1&&"linePrefix"===t[e-2][1].type&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2));return t},concrete:!0},D_={tokenize:function(t,e,i){return function(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),t.attempt(VS,e,i)}},partial:!0},k_={tokenize:function(t,e,i){const n=this;return function(e){if(BS(e))return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),r;return i(e)};function r(t){return n.parser.lazy[n.now().line]?i(t):e(t)}},partial:!0};const E_={name:"htmlText",tokenize:function(t,e,i){const n=this;let r,s,o;return function(e){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(e),a};function a(e){return 33===e?(t.consume(e),u):47===e?(t.consume(e),v):63===e?(t.consume(e),b):AS(e)?(t.consume(e),E):i(e)}function u(e){return 45===e?(t.consume(e),l):91===e?(t.consume(e),s=0,f):AS(e)?(t.consume(e),y):i(e)}function l(e){return 45===e?(t.consume(e),p):i(e)}function c(e){return null===e?i(e):45===e?(t.consume(e),h):BS(e)?(o=c,B(e)):(t.consume(e),c)}function h(e){return 45===e?(t.consume(e),p):c(e)}function p(t){return 62===t?O(t):45===t?h(t):c(t)}function f(e){const n="CDATA[";return e===n.charCodeAt(s++)?(t.consume(e),6===s?d:f):i(e)}function d(e){return null===e?i(e):93===e?(t.consume(e),g):BS(e)?(o=d,B(e)):(t.consume(e),d)}function g(e){return 93===e?(t.consume(e),m):d(e)}function m(e){return 62===e?O(e):93===e?(t.consume(e),m):d(e)}function y(e){return null===e||62===e?O(e):BS(e)?(o=y,B(e)):(t.consume(e),y)}function b(e){return null===e?i(e):63===e?(t.consume(e),w):BS(e)?(o=b,B(e)):(t.consume(e),b)}function w(t){return 62===t?O(t):b(t)}function v(e){return AS(e)?(t.consume(e),D):i(e)}function D(e){return 45===e||FS(e)?(t.consume(e),D):k(e)}function k(e){return BS(e)?(o=k,B(e)):RS(e)?(t.consume(e),k):O(e)}function E(e){return 45===e||FS(e)?(t.consume(e),E):47===e||62===e||TS(e)?x(e):i(e)}function x(e){return 47===e?(t.consume(e),O):58===e||95===e||AS(e)?(t.consume(e),A):BS(e)?(o=x,B(e)):RS(e)?(t.consume(e),x):O(e)}function A(e){return 45===e||46===e||58===e||95===e||FS(e)?(t.consume(e),A):F(e)}function F(e){return 61===e?(t.consume(e),C):BS(e)?(o=F,B(e)):RS(e)?(t.consume(e),F):x(e)}function C(e){return null===e||60===e||61===e||62===e||96===e?i(e):34===e||39===e?(t.consume(e),r=e,S):BS(e)?(o=C,B(e)):RS(e)?(t.consume(e),C):(t.consume(e),_)}function S(e){return e===r?(t.consume(e),r=void 0,j):null===e?i(e):BS(e)?(o=S,B(e)):(t.consume(e),S)}function _(e){return null===e||34===e||39===e||60===e||61===e||96===e?i(e):47===e||62===e||TS(e)?x(e):(t.consume(e),_)}function j(t){return 47===t||62===t||TS(t)?x(t):i(t)}function O(n){return 62===n?(t.consume(n),t.exit("htmlTextData"),t.exit("htmlText"),e):i(n)}function B(e){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),T}function T(e){return RS(e)?LS(t,R,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):R(e)}function R(e){return t.enter("htmlTextData"),o(e)}}};const x_={name:"labelEnd",tokenize:function(t,e,i){const n=this;let r,s,o=n.events.length;for(;o--;)if(("labelImage"===n.events[o][1].type||"labelLink"===n.events[o][1].type)&&!n.events[o][1]._balanced){r=n.events[o][1];break}return function(e){if(!r)return i(e);if(r._inactive)return c(e);return s=n.parser.defined.includes(f_(n.sliceSerialize({start:r.end,end:n.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelEnd"),a};function a(e){return 40===e?t.attempt(A_,l,s?l:c)(e):91===e?t.attempt(F_,l,s?u:c)(e):s?l(e):c(e)}function u(e){return t.attempt(C_,l,c)(e)}function l(t){return e(t)}function c(t){return r._balanced=!0,i(t)}},resolveTo:function(t,e){let i,n,r,s,o=t.length,a=0;for(;o--;)if(i=t[o][1],n){if("link"===i.type||"labelLink"===i.type&&i._inactive)break;"enter"===t[o][0]&&"labelLink"===i.type&&(i._inactive=!0)}else if(r){if("enter"===t[o][0]&&("labelImage"===i.type||"labelLink"===i.type)&&!i._balanced&&(n=o,"labelLink"!==i.type)){a=2;break}}else"labelEnd"===i.type&&(r=o);const u={type:"labelLink"===t[n][1].type?"link":"image",start:Object.assign({},t[n][1].start),end:Object.assign({},t[t.length-1][1].end)},l={type:"label",start:Object.assign({},t[n][1].start),end:Object.assign({},t[r][1].end)},c={type:"labelText",start:Object.assign({},t[n+a+2][1].end),end:Object.assign({},t[r-2][1].start)};return s=[["enter",u,e],["enter",l,e]],s=vS(s,t.slice(n+1,n+a+3)),s=vS(s,[["enter",c,e]]),s=vS(s,US(e.parser.constructs.insideSpan.null,t.slice(n+a+4,r-3),e)),s=vS(s,[["exit",c,e],t[r-2],t[r-1],["exit",l,e]]),s=vS(s,t.slice(r+1)),s=vS(s,[["exit",u,e]]),wS(t,n,t.length,s),t},resolveAll:function(t){let e=-1;for(;++e=3&&(null===s||BS(s))?(t.exit("thematicBreak"),e(s)):i(s)}function o(e){return e===n?(t.consume(e),r++,o):(t.exit("thematicBreakSequence"),RS(e)?LS(t,s,"whitespace")(e):s(e))}}};const B_={name:"list",tokenize:function(t,e,i){const n=this,r=n.events[n.events.length-1];let s=r&&"linePrefix"===r[1].type?r[2].sliceSerialize(r[1],!0).length:0,o=0;return function(e){const r=n.containerState.type||(42===e||43===e||45===e?"listUnordered":"listOrdered");if("listUnordered"===r?!n.containerState.marker||e===n.containerState.marker:_S(e)){if(n.containerState.type||(n.containerState.type=r,t.enter(r,{_container:!0})),"listUnordered"===r)return t.enter("listItemPrefix"),42===e||45===e?t.check(O_,i,u)(e):u(e);if(!n.interrupt||49===e)return t.enter("listItemPrefix"),t.enter("listItemValue"),a(e)}return i(e)};function a(e){return _S(e)&&++o<10?(t.consume(e),a):(!n.interrupt||o<2)&&(n.containerState.marker?e===n.containerState.marker:41===e||46===e)?(t.exit("listItemValue"),u(e)):i(e)}function u(e){return t.enter("listItemMarker"),t.consume(e),t.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||e,t.check(VS,n.interrupt?i:l,t.attempt(T_,h,c))}function l(t){return n.containerState.initialBlankLine=!0,s++,h(t)}function c(e){return RS(e)?(t.enter("listItemPrefixWhitespace"),t.consume(e),t.exit("listItemPrefixWhitespace"),h):i(e)}function h(i){return n.containerState.size=s+n.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(i)}},continuation:{tokenize:function(t,e,i){const n=this;return n.containerState._closeFlow=void 0,t.check(VS,r,s);function r(i){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,LS(t,e,"listItemIndent",n.containerState.size+1)(i)}function s(i){return n.containerState.furtherBlankLines||!RS(i)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,o(i)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,t.attempt(R_,e,o)(i))}function o(r){return n.containerState._closeFlow=!0,n.interrupt=void 0,LS(t,t.attempt(B_,e,i),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(r)}}},exit:function(t){t.exit(this.containerState.type)}},T_={tokenize:function(t,e,i){const n=this;return LS(t,(function(t){const r=n.events[n.events.length-1];return!RS(t)&&r&&"listItemPrefixWhitespace"===r[1].type?e(t):i(t)}),"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},R_={tokenize:function(t,e,i){const n=this;return LS(t,(function(t){const r=n.events[n.events.length-1];return r&&"listItemIndent"===r[1].type&&r[2].sliceSerialize(r[1],!0).length===n.containerState.size?e(t):i(t)}),"listItemIndent",n.containerState.size+1)},partial:!0};const I_={name:"setextUnderline",tokenize:function(t,e,i){const n=this;let r;return function(e){let o,a=n.events.length;for(;a--;)if("lineEnding"!==n.events[a][1].type&&"linePrefix"!==n.events[a][1].type&&"content"!==n.events[a][1].type){o="paragraph"===n.events[a][1].type;break}if(!n.parser.lazy[n.now().line]&&(n.interrupt||o))return t.enter("setextHeadingLine"),r=e,function(e){return t.enter("setextHeadingLineSequence"),s(e)}(e);return i(e)};function s(e){return e===r?(t.consume(e),s):(t.exit("setextHeadingLineSequence"),RS(e)?LS(t,o,"lineSuffix")(e):o(e))}function o(n){return null===n||BS(n)?(t.exit("setextHeadingLine"),e(n)):i(n)}},resolveTo:function(t,e){let i,n,r,s=t.length;for(;s--;)if("enter"===t[s][0]){if("content"===t[s][1].type){i=s;break}"paragraph"===t[s][1].type&&(n=s)}else"content"===t[s][1].type&&t.splice(s,1),r||"definition"!==t[s][1].type||(r=s);const o={type:"setextHeading",start:Object.assign({},t[n][1].start),end:Object.assign({},t[t.length-1][1].end)};t[n][1].type="setextHeadingText",r?(t.splice(n,0,["enter",o,e]),t.splice(r+1,0,["exit",t[i][1],e]),t[i][1].end=Object.assign({},t[r][1].end)):t[i][1]=o;return t.push(["exit",o,e]),t}};const $_={tokenize:function(t){const e=this,i=t.attempt(VS,(function(n){if(null===n)return void t.consume(n);return t.enter("lineEndingBlank"),t.consume(n),t.exit("lineEndingBlank"),e.currentConstruct=void 0,i}),t.attempt(this.parser.constructs.flowInitial,n,LS(t,t.attempt(this.parser.constructs.flow,n,t.attempt(a_,n)),"linePrefix")));return i;function n(n){if(null!==n)return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),e.currentConstruct=void 0,i;t.consume(n)}}};const N_={resolveAll:z_()},L_=M_("string"),P_=M_("text");function M_(t){return{tokenize:function(e){const i=this,n=this.parser.constructs[t],r=e.attempt(n,s,o);return s;function s(t){return u(t)?r(t):o(t)}function o(t){if(null!==t)return e.enter("data"),e.consume(t),a;e.consume(t)}function a(t){return u(t)?(e.exit("data"),r(t)):(e.consume(t),a)}function u(t){if(null===t)return!0;const e=n[t];let r=-1;if(e)for(;++r-1){const t=o[0];"string"==typeof t?o[0]=t.slice(n):o.shift()}s>0&&o.push(t[r].slice(0,s))}return o}(o,t)}function p(){const{line:t,column:e,offset:i,_index:r,_bufferIndex:s}=n;return{line:t,column:e,offset:i,_index:r,_bufferIndex:s}}function f(){let t;for(;n._index13&&i<32||i>126&&i<160||i>55295&&i<57344||i>64975&&i<65008||!(65535&~i)||65534==(65535&i)||i>1114111?"�":String.fromCharCode(i)}const tj=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ej(t){return t.replace(tj,ij)}function ij(t,e,i){if(e)return e;if(35===i.charCodeAt(0)){const t=i.charCodeAt(1),e=120===t||88===t;return X_(i.slice(e?2:1),e?16:10)}return QS(i)||t}const nj={}.hasOwnProperty,rj=function(t,e,i){return"string"!=typeof e&&(i=e,e=void 0),function(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(it),autolinkProtocol:C,autolinkEmail:C,atxHeading:a(Q),blockQuote:a(V),characterEscape:C,characterReference:C,codeFenced:a(K),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:a(K,u),codeText:a(Y,u),codeTextData:C,data:C,codeFlowValue:C,definition:a(J),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:a(Z),hardBreakEscape:a(X),hardBreakTrailing:a(X),htmlFlow:a(tt,u),htmlFlowData:C,htmlText:a(tt,u),htmlTextData:C,image:a(et),label:u,link:a(it),listItem:a(rt),listItemValue:d,listOrdered:a(nt,f),listUnordered:a(nt),paragraph:a(st),reference:z,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:a(Q),strong:a(ot),thematicBreak:a(ut)},exit:{atxHeading:c(),atxHeadingSequence:E,autolink:c(),autolinkEmail:H,autolinkProtocol:W,blockQuote:c(),characterEscapeValue:S,characterReferenceMarkerHexadecimal:U,characterReferenceMarkerNumeric:U,characterReferenceValue:G,codeFenced:c(b),codeFencedFence:y,codeFencedFenceInfo:g,codeFencedFenceMeta:m,codeFlowValue:S,codeIndented:c(w),codeText:c(T),codeTextData:S,data:S,definition:c(),definitionDestinationString:k,definitionLabelString:v,definitionTitleString:D,emphasis:c(),hardBreakEscape:c(j),hardBreakTrailing:c(j),htmlFlow:c(O),htmlFlowData:S,htmlText:c(B),htmlTextData:S,image:c(I),label:N,labelText:$,lineEnding:_,link:c(R),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:q,resourceDestinationString:L,resourceTitleString:P,resource:M,setextHeading:c(F),setextHeadingLineSequence:A,setextHeadingText:x,strong:c(),thematicBreak:c()}};oj(e,(t||{}).mdastExtensions||[]);const i={};return n;function n(t){let i={type:"root",children:[]};const n={stack:[i],tokenStack:[],config:e,enter:l,exit:h,buffer:u,resume:p,setData:s,getData:o},a=[];let c=-1;for(;++c0){const t=n.tokenStack[n.tokenStack.length-1];(t[1]||uj).call(n,void 0,t[0])}for(i.position={start:sj(t.length>0?t[0][1].start:{line:1,column:1,offset:0}),end:sj(t.length>0?t[t.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c"+(i?"":" ")+t}function pj(t,e){return fj(t,e.inConstruct,!0)&&!fj(t,e.notInConstruct,!1)}function fj(t,e,i){if("string"==typeof e&&(e=[e]),!e||0===e.length)return i;let n=-1;for(;++n":""),""+c+")")})}var c;return h;function h(){let l,c,h,p=[];if((!e||r(o,a,u[u.length-1]||null))&&(p=function(t){if(Array.isArray(t))return t;if("number"==typeof t)return[Ej,t];return[t]}(i(o,u)),p[0]===xj))return p;if(o.children&&p[0]!==Aj)for(c=(n?o.children.length:-1)+s,h=u.concat(o);c>-1&&c{if("value"in t&&/\r?\n|\r/.test(t.value)||"break"===t.type)return i=!0,xj})),Boolean((!t.depth||t.depth<3)&&_j(t)&&(e.options.setext||i))}function Tj(t){return t.value||""}function Rj(t,e,i,n){const r=yj(i),s='"'===r?"Quote":"Apostrophe",o=i.enter("image");let a=i.enter("label");const u=i.createTracker(n);let l=u.move("![");return l+=u.move(i.safe(t.alt,{before:l,after:"]",...u.current()})),l+=u.move("]("),a(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(a=i.enter("destinationLiteral"),l+=u.move("<"),l+=u.move(i.safe(t.url,{before:l,after:">",...u.current()})),l+=u.move(">")):(a=i.enter("destinationRaw"),l+=u.move(i.safe(t.url,{before:l,after:t.title?" ":")",...u.current()}))),a(),t.title&&(a=i.enter(`title${s}`),l+=u.move(" "+r),l+=u.move(i.safe(t.title,{before:l,after:r,...u.current()})),l+=u.move(r),a()),l+=u.move(")"),o(),l}function Ij(t,e,i,n){const r=t.referenceType,s=i.enter("imageReference");let o=i.enter("label");const a=i.createTracker(n);let u=a.move("![");const l=i.safe(t.alt,{before:u,after:"]",...a.current()});u+=a.move(l+"]["),o();const c=i.stack;i.stack=[],o=i.enter("reference");const h=i.safe(i.associationId(t),{before:u,after:"]",...a.current()});return o(),i.stack=c,s(),"full"!==r&&l&&l===h?"shortcut"===r?u=u.slice(0,-1):u+=a.move("]"):u+=a.move(h+"]"),u}function $j(t){if(!t._compiled){const e=(t.atBreak?"[\\r\\n][\\t ]*":"")+(t.before?"(?:"+t.before+")":"");t._compiled=new RegExp((e?"("+e+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(t.character)?"\\":"")+t.character+(t.after?"(?:"+t.after+")":""),"g")}return t._compiled}function Nj(t,e,i){let n=t.value||"",r="`",s=-1;for(;new RegExp("(^|[^`])"+r+"([^`]|$)").test(n);)r+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++s\u007F]/.test(t.url))}function Pj(t,e,i,n){const r=yj(i),s='"'===r?"Quote":"Apostrophe",o=i.createTracker(n);let a,u;if(Lj(t,i)){const e=i.stack;i.stack=[],a=i.enter("autolink");let n=o.move("<");return n+=o.move(i.containerPhrasing(t,{before:n,after:">",...o.current()})),n+=o.move(">"),a(),i.stack=e,n}a=i.enter("link"),u=i.enter("label");let l=o.move("[");return l+=o.move(i.containerPhrasing(t,{before:l,after:"](",...o.current()})),l+=o.move("]("),u(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(u=i.enter("destinationLiteral"),l+=o.move("<"),l+=o.move(i.safe(t.url,{before:l,after:">",...o.current()})),l+=o.move(">")):(u=i.enter("destinationRaw"),l+=o.move(i.safe(t.url,{before:l,after:t.title?" ":")",...o.current()}))),u(),t.title&&(u=i.enter(`title${s}`),l+=o.move(" "+r),l+=o.move(i.safe(t.title,{before:l,after:r,...o.current()})),l+=o.move(r),u()),l+=o.move(")"),a(),l}function Mj(t,e,i,n){const r=t.referenceType,s=i.enter("linkReference");let o=i.enter("label");const a=i.createTracker(n);let u=a.move("[");const l=i.containerPhrasing(t,{before:u,after:"]",...a.current()});u+=a.move(l+"]["),o();const c=i.stack;i.stack=[],o=i.enter("reference");const h=i.safe(i.associationId(t),{before:u,after:"]",...a.current()});return o(),i.stack=c,s(),"full"!==r&&l&&l===h?"shortcut"===r?u=u.slice(0,-1):u+=a.move("]"):u+=a.move(h+"]"),u}function zj(t){const e=t.options.bullet||"*";if("*"!==e&&"+"!==e&&"-"!==e)throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function qj(t){const e=t.options.bulletOrdered||".";if("."!==e&&")"!==e)throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}function Uj(t){const e=t.options.rule||"*";if("*"!==e&&"-"!==e&&"_"!==e)throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function Gj(t,e,i,n){const r=function(t){const e=t.options.listItemIndent||"tab";if(1===e||"1"===e)return"one";if("tab"!==e&&"one"!==e&&"mixed"!==e)throw new Error("Cannot serialize items with `"+e+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return e}(i);let s=i.bulletCurrent||zj(i);e&&"list"===e.type&&e.ordered&&(s=("number"==typeof e.start&&e.start>-1?e.start:1)+(!1===i.options.incrementListMarker?0:e.children.indexOf(t))+s);let o=s.length+1;("tab"===r||"mixed"===r&&(e&&"list"===e.type&&e.spread||t.spread))&&(o=4*Math.ceil(o/4));const a=i.createTracker(n);a.move(s+" ".repeat(o-s.length)),a.shift(o);const u=i.enter("listItem"),l=i.indentLines(i.containerFlow(t,a.current()),(function(t,e,i){if(e)return(i?"":" ".repeat(o))+t;return(i?s:s+" ".repeat(o-s.length))+t}));return u(),l}Tj.peek=function(){return"<"},Rj.peek=function(){return"!"},Ij.peek=function(){return"!"},Nj.peek=function(){return"`"},Pj.peek=function(t,e,i){return Lj(t,i)?"<":"["},Mj.peek=function(){return"["};const Wj=vj(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function Hj(t,e,i,n){const r=function(t){const e=t.options.strong||"*";if("*"!==e&&"_"!==e)throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}(i),s=i.enter("strong"),o=i.createTracker(n);let a=o.move(r+r);return a+=o.move(i.containerPhrasing(t,{before:a,after:r,...o.current()})),a+=o.move(r+r),s(),a}Hj.peek=function(t,e,i){return i.options.strong||"*"};const Vj={blockquote:function(t,e,i,n){const r=i.enter("blockquote"),s=i.createTracker(n);s.move("> "),s.shift(2);const o=i.indentLines(i.containerFlow(t,s.current()),hj);return r(),o},break:dj,code:function(t,e,i,n){const r=function(t){const e=t.options.fence||"`";if("`"!==e&&"~"!==e)throw new Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}(i),s=t.value||"",o="`"===r?"GraveAccent":"Tilde";if(gj(t,i)){const t=i.enter("codeIndented"),e=i.indentLines(s,mj);return t(),e}const a=i.createTracker(n),u=r.repeat(Math.max(function(t,e){const i=String(t);let n=i.indexOf(e),r=n,s=0,o=0;if("string"!=typeof e)throw new TypeError("Expected substring");for(;-1!==n;)n===r?++s>o&&(o=s):s=1,r=n+e.length,n=i.indexOf(e,r);return o}(s,r)+1,3)),l=i.enter("codeFenced");let c=a.move(u);if(t.lang){const e=i.enter(`codeFencedLang${o}`);c+=a.move(i.safe(t.lang,{before:c,after:" ",encode:["`"],...a.current()})),e()}if(t.lang&&t.meta){const e=i.enter(`codeFencedMeta${o}`);c+=a.move(" "),c+=a.move(i.safe(t.meta,{before:c,after:"\n",encode:["`"],...a.current()})),e()}return c+=a.move("\n"),s&&(c+=a.move(s+"\n")),c+=a.move(u),l(),c},definition:function(t,e,i,n){const r=yj(i),s='"'===r?"Quote":"Apostrophe",o=i.enter("definition");let a=i.enter("label");const u=i.createTracker(n);let l=u.move("[");return l+=u.move(i.safe(i.associationId(t),{before:l,after:"]",...u.current()})),l+=u.move("]: "),a(),!t.url||/[\0- \u007F]/.test(t.url)?(a=i.enter("destinationLiteral"),l+=u.move("<"),l+=u.move(i.safe(t.url,{before:l,after:">",...u.current()})),l+=u.move(">")):(a=i.enter("destinationRaw"),l+=u.move(i.safe(t.url,{before:l,after:t.title?" ":"\n",...u.current()}))),a(),t.title&&(a=i.enter(`title${s}`),l+=u.move(" "+r),l+=u.move(i.safe(t.title,{before:l,after:r,...u.current()})),l+=u.move(r),a()),o(),l},emphasis:bj,hardBreak:dj,heading:function(t,e,i,n){const r=Math.max(Math.min(6,t.depth||1),1),s=i.createTracker(n);if(Bj(t,i)){const e=i.enter("headingSetext"),n=i.enter("phrasing"),o=i.containerPhrasing(t,{...s.current(),before:"\n",after:"\n"});return n(),e(),o+"\n"+(1===r?"=":"-").repeat(o.length-(Math.max(o.lastIndexOf("\r"),o.lastIndexOf("\n"))+1))}const o="#".repeat(r),a=i.enter("headingAtx"),u=i.enter("phrasing");s.move(o+" ");let l=i.containerPhrasing(t,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(l)&&(l="&#x"+l.charCodeAt(0).toString(16).toUpperCase()+";"+l.slice(1)),l=l?o+" "+l:o,i.options.closeAtx&&(l+=" "+o),u(),a(),l},html:Tj,image:Rj,imageReference:Ij,inlineCode:Nj,link:Pj,linkReference:Mj,list:function(t,e,i,n){const r=i.enter("list"),s=i.bulletCurrent;let o=t.ordered?qj(i):zj(i);const a=t.ordered?function(t){const e=qj(t),i=t.options.bulletOrderedOther;if(!i)return"."===e?")":".";if("."!==i&&")"!==i)throw new Error("Cannot serialize items with `"+i+"` for `options.bulletOrderedOther`, expected `*`, `+`, or `-`");if(i===e)throw new Error("Expected `bulletOrdered` (`"+e+"`) and `bulletOrderedOther` (`"+i+"`) to be different");return i}(i):function(t){const e=zj(t),i=t.options.bulletOther;if(!i)return"*"===e?"-":"*";if("*"!==i&&"+"!==i&&"-"!==i)throw new Error("Cannot serialize items with `"+i+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(i===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+i+"`) to be different");return i}(i),u=i.bulletLastUsed;let l=!1;if(e&&(t.ordered?i.options.bulletOrderedOther:i.options.bulletOther)&&u&&o===u&&(l=!0),!t.ordered){const e=t.children?t.children[0]:void 0;if("*"!==o&&"-"!==o||!e||e.children&&e.children[0]||"list"!==i.stack[i.stack.length-1]||"listItem"!==i.stack[i.stack.length-2]||"list"!==i.stack[i.stack.length-3]||"listItem"!==i.stack[i.stack.length-4]||0!==i.indexStack[i.indexStack.length-1]||0!==i.indexStack[i.indexStack.length-2]||0!==i.indexStack[i.indexStack.length-3]||(l=!0),Uj(i)===o&&e){let e=-1;for(;++eWj(t)))?i.containerPhrasing:i.containerFlow).call(i,t,n)},strong:Hj,text:function(t,e,i,n){return i.safe(t.value,n)},thematicBreak:function(t,e,i){const n=(Uj(i)+(i.options.ruleSpaces?" ":"")).repeat(function(t){const e=t.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}(i));return i.options.ruleSpaces?n.slice(0,-1):n}},Kj=[function(t,e,i,n){if("code"===e.type&&gj(e,n)&&("list"===t.type||t.type===e.type&&gj(t,n)))return!1;if("list"===t.type&&t.type===e.type&&Boolean(t.ordered)===Boolean(e.ordered)&&!(t.ordered?n.options.bulletOrderedOther:n.options.bulletOther))return!1;if("spread"in i&&"boolean"==typeof i.spread){if("paragraph"===t.type&&(t.type===e.type||"definition"===e.type||"heading"===e.type&&Bj(e,n)))return;return i.spread?1:0}}];const Yj=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],Jj=[{character:"\t",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",before:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:Yj},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:Yj},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:"(?:[ \t\r\n*])"},{character:"*",inConstruct:"phrasing",notInConstruct:Yj},{atBreak:!0,character:"+",after:"(?:[ \t\r\n])"},{atBreak:!0,character:"-",after:"(?:[ \t\r\n-])"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \t\r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:Yj},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:Yj},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:Yj},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:Yj},{atBreak:!0,character:"~"}];function Zj(t){return t.label||!t.identifier?t.label||"":ej(t.identifier)}function Qj(t,e,i){const n=e.indexStack,r=t.children||[],s=[];let o=-1,a=i.before;n.push(-1);let u=e.createTracker(i);for(;++o0&&("\r"===a||"\n"===a)&&"html"===l.type&&(s[s.length-1]=s[s.length-1].replace(/(\r?\n|\r)$/," "),a=" ",u=e.createTracker(i),u.move(s.join(""))),s.push(u.move(e.handle(l,t,e,{...u.current(),before:a,after:c}))),a=s[s.length-1].slice(-1)}return n.pop(),s.join("")}function Xj(t,e,i){const n=e.indexStack,r=t.children||[],s=e.createTracker(i),o=[];let a=-1;for(n.push(-1);++a=l||(t+10&&!i&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),i}function jO(t,e){const i=String(t);if("string"!=typeof e)throw new TypeError("Expected character");let n=0,r=i.indexOf(e);for(;-1!==r;)n++,r=i.indexOf(e,r+e.length);return n}kO[43]=DO,kO[45]=DO,kO[46]=DO,kO[95]=DO,kO[72]=[DO,vO],kO[104]=[DO,vO],kO[87]=[DO,wO],kO[119]=[DO,wO];const OO={}.hasOwnProperty,BO=function(t,e,i,n){let r,s;"string"==typeof e||e instanceof RegExp?(s=[[e,i]],r=n):(s=e,r=i),r||(r={});const o=vj(r.ignore||[]),a=function(t){const e=[];if("object"!=typeof t)throw new TypeError("Expected array or object as schema");if(Array.isArray(t)){let i=-1;for(;++i0?{type:"text",value:a}:void 0),!1!==a&&(s!==i&&c.push({type:"text",value:t.value.slice(s,i)}),Array.isArray(a)?c.push(...a):a&&c.push(a),s=i+h[0].length,l=!0),!n.global)break;h=n.exec(t.value)}l?(st}const IO="phrasing",$O=["autolink","link","image","label"],NO={transforms:[function(t){BO(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,MO],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,zO]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(t){this.enter({type:"link",title:null,url:"",children:[]},t)},literalAutolinkEmail:PO,literalAutolinkHttp:PO,literalAutolinkWww:PO},exit:{literalAutolink:function(t){this.exit(t)},literalAutolinkEmail:function(t){this.config.exit.autolinkEmail.call(this,t)},literalAutolinkHttp:function(t){this.config.exit.autolinkProtocol.call(this,t)},literalAutolinkWww:function(t){this.config.exit.data.call(this,t);const e=this.stack[this.stack.length-1];e.url="http://"+this.sliceSerialize(t)}}},LO={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:IO,notInConstruct:$O},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:IO,notInConstruct:$O},{character:":",before:"[ps]",after:"\\/",inConstruct:IO,notInConstruct:$O}]};function PO(t){this.config.enter.autolinkProtocol.call(this,t)}function MO(t,e,i,n,r){let s="";if(!qO(r))return!1;if(/^w/i.test(e)&&(i=e+i,e="",s="http://"),!function(t){const e=t.split(".");if(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))return!1;return!0}(i))return!1;const o=function(t){const e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let i=e[0],n=i.indexOf(")");const r=jO(t,"(");let s=jO(t,")");for(;-1!==n&&r>s;)t+=i.slice(0,n+1),i=i.slice(n+1),n=i.indexOf(")"),s++;return[t,i]}(i+n);if(!o[0])return!1;const a={type:"link",title:null,url:s+e+o[0],children:[{type:"text",value:e+o[0]}]};return o[1]?[a,{type:"text",value:o[1]}]:a}function zO(t,e,i,n){return!(!qO(n,!0)||/[-\d_]$/.test(i))&&{type:"link",title:null,url:"mailto:"+e+"@"+i,children:[{type:"text",value:e+"@"+i}]}}function qO(t,e){const i=t.input.charCodeAt(t.index-1);return(0===t.index||$S(i)||IS(i))&&(!e||47!==i)}const UO={};function GO(t,e){const i=e||UO;return WO(t,"boolean"!=typeof i.includeImageAlt||i.includeImageAlt,"boolean"!=typeof i.includeHtml||i.includeHtml)}function WO(t,e,i){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||i?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return HO(t.children,e,i)}return Array.isArray(t)?HO(t,e,i):""}function HO(t,e,i){const n=[];let r=-1;for(;++r<~]))"].join("|");return new RegExp(e,t?void 0:"g")}();function KO(t){if("string"!=typeof t)throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);return t.replace(VO,"")}var YO,JO,ZO,QO,XO,tB,eB,iB,nB={exports:{}};function rB(){if(QO)return ZO;QO=1;const t=JO?YO:(JO=1,YO={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]}),e={};for(const i of Object.keys(t))e[t[i]]=i;const i={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"]}};ZO=i;for(const t of Object.keys(i)){if(!("channels"in i[t]))throw new Error("missing channels property: "+t);if(!("labels"in i[t]))throw new Error("missing channel labels property: "+t);if(i[t].labels.length!==i[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:n}=i[t];delete i[t].channels,delete i[t].labels,Object.defineProperty(i[t],"channels",{value:e}),Object.defineProperty(i[t],"labels",{value:n})}return i.rgb.hsl=function(t){const e=t[0]/255,i=t[1]/255,n=t[2]/255,r=Math.min(e,i,n),s=Math.max(e,i,n),o=s-r;let a,u;s===r?a=0:e===s?a=(i-n)/o:i===s?a=2+(n-e)/o:n===s&&(a=4+(e-i)/o),a=Math.min(60*a,360),a<0&&(a+=360);const l=(r+s)/2;return u=s===r?0:l<=.5?o/(s+r):o/(2-s-r),[a,100*u,100*l]},i.rgb.hsv=function(t){let e,i,n,r,s;const o=t[0]/255,a=t[1]/255,u=t[2]/255,l=Math.max(o,a,u),c=l-Math.min(o,a,u),h=function(t){return(l-t)/6/c+.5};return 0===c?(r=0,s=0):(s=c/l,e=h(o),i=h(a),n=h(u),o===l?r=n-i:a===l?r=1/3+e-n:u===l&&(r=2/3+i-e),r<0?r+=1:r>1&&(r-=1)),[360*r,100*s,100*l]},i.rgb.hwb=function(t){const e=t[0],n=t[1];let r=t[2];const s=i.rgb.hsl(t)[0],o=1/255*Math.min(e,Math.min(n,r));return r=1-1/255*Math.max(e,Math.max(n,r)),[s,100*o,100*r]},i.rgb.cmyk=function(t){const e=t[0]/255,i=t[1]/255,n=t[2]/255,r=Math.min(1-e,1-i,1-n);return[100*((1-e-r)/(1-r)||0),100*((1-i-r)/(1-r)||0),100*((1-n-r)/(1-r)||0),100*r]},i.rgb.keyword=function(i){const n=e[i];if(n)return n;let r,s=1/0;for(const e of Object.keys(t)){const n=t[e],u=(a=n,((o=i)[0]-a[0])**2+(o[1]-a[1])**2+(o[2]-a[2])**2);u.04045?((e+.055)/1.055)**2.4:e/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;return[100*(.4124*e+.3576*i+.1805*n),100*(.2126*e+.7152*i+.0722*n),100*(.0193*e+.1192*i+.9505*n)]},i.rgb.lab=function(t){const e=i.rgb.xyz(t);let n=e[0],r=e[1],s=e[2];n/=95.047,r/=100,s/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,s=s>.008856?s**(1/3):7.787*s+16/116;return[116*r-16,500*(n-r),200*(r-s)]},i.hsl.rgb=function(t){const e=t[0]/360,i=t[1]/100,n=t[2]/100;let r,s,o;if(0===i)return o=255*n,[o,o,o];r=n<.5?n*(1+i):n+i-n*i;const a=2*n-r,u=[0,0,0];for(let t=0;t<3;t++)s=e+1/3*-(t-1),s<0&&s++,s>1&&s--,o=6*s<1?a+6*(r-a)*s:2*s<1?r:3*s<2?a+(r-a)*(2/3-s)*6:a,u[t]=255*o;return u},i.hsl.hsv=function(t){const e=t[0];let i=t[1]/100,n=t[2]/100,r=i;const s=Math.max(n,.01);n*=2,i*=n<=1?n:2-n,r*=s<=1?s:2-s;return[e,100*(0===n?2*r/(s+r):2*i/(n+i)),100*((n+i)/2)]},i.hsv.rgb=function(t){const e=t[0]/60,i=t[1]/100;let n=t[2]/100;const r=Math.floor(e)%6,s=e-Math.floor(e),o=255*n*(1-i),a=255*n*(1-i*s),u=255*n*(1-i*(1-s));switch(n*=255,r){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]}},i.hsv.hsl=function(t){const e=t[0],i=t[1]/100,n=t[2]/100,r=Math.max(n,.01);let s,o;o=(2-i)*n;const a=(2-i)*r;return s=i*r,s/=a<=1?a:2-a,s=s||0,o/=2,[e,100*s,100*o]},i.hwb.rgb=function(t){const e=t[0]/360;let i=t[1]/100,n=t[2]/100;const r=i+n;let s;r>1&&(i/=r,n/=r);const o=Math.floor(6*e),a=1-n;s=6*e-o,1&o&&(s=1-s);const u=i+s*(a-i);let l,c,h;switch(o){default:case 6:case 0:l=a,c=u,h=i;break;case 1:l=u,c=a,h=i;break;case 2:l=i,c=a,h=u;break;case 3:l=i,c=u,h=a;break;case 4:l=u,c=i,h=a;break;case 5:l=a,c=i,h=u}return[255*l,255*c,255*h]},i.cmyk.rgb=function(t){const e=t[0]/100,i=t[1]/100,n=t[2]/100,r=t[3]/100;return[255*(1-Math.min(1,e*(1-r)+r)),255*(1-Math.min(1,i*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r))]},i.xyz.rgb=function(t){const e=t[0]/100,i=t[1]/100,n=t[2]/100;let r,s,o;return r=3.2406*e+-1.5372*i+-.4986*n,s=-.9689*e+1.8758*i+.0415*n,o=.0557*e+-.204*i+1.057*n,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,r=Math.min(Math.max(0,r),1),s=Math.min(Math.max(0,s),1),o=Math.min(Math.max(0,o),1),[255*r,255*s,255*o]},i.xyz.lab=function(t){let e=t[0],i=t[1],n=t[2];e/=95.047,i/=100,n/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;return[116*i-16,500*(e-i),200*(i-n)]},i.lab.xyz=function(t){let e,i,n;i=(t[0]+16)/116,e=t[1]/500+i,n=i-t[2]/200;const r=i**3,s=e**3,o=n**3;return i=r>.008856?r:(i-16/116)/7.787,e=s>.008856?s:(e-16/116)/7.787,n=o>.008856?o:(n-16/116)/7.787,e*=95.047,i*=100,n*=108.883,[e,i,n]},i.lab.lch=function(t){const e=t[0],i=t[1],n=t[2];let r;r=360*Math.atan2(n,i)/2/Math.PI,r<0&&(r+=360);return[e,Math.sqrt(i*i+n*n),r]},i.lch.lab=function(t){const e=t[0],i=t[1],n=t[2]/360*2*Math.PI;return[e,i*Math.cos(n),i*Math.sin(n)]},i.rgb.ansi16=function(t,e=null){const[n,r,s]=t;let o=null===e?i.rgb.hsv(t)[2]:e;if(o=Math.round(o/50),0===o)return 30;let a=30+(Math.round(s/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===o&&(a+=60),a},i.hsv.ansi16=function(t){return i.rgb.ansi16(i.hsv.rgb(t),t[2])},i.rgb.ansi256=function(t){const e=t[0],i=t[1],n=t[2];if(e===i&&i===n)return e<8?16:e>248?231:Math.round((e-8)/247*24)+232;return 16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5)},i.ansi16.rgb=function(t){let e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const i=.5*(1+~~(t>50));return[(1&e)*i*255,(e>>1&1)*i*255,(e>>2&1)*i*255]},i.ansi256.rgb=function(t){if(t>=232){const e=10*(t-232)+8;return[e,e,e]}let e;t-=16;return[Math.floor(t/36)/5*255,Math.floor((e=t%36)/6)/5*255,e%6/5*255]},i.rgb.hex=function(t){const e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},i.hex.rgb=function(t){const e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let i=e[0];3===e[0].length&&(i=i.split("").map((t=>t+t)).join(""));const n=parseInt(i,16);return[n>>16&255,n>>8&255,255&n]},i.rgb.hcg=function(t){const e=t[0]/255,i=t[1]/255,n=t[2]/255,r=Math.max(Math.max(e,i),n),s=Math.min(Math.min(e,i),n),o=r-s;let a,u;return a=o<1?s/(1-o):0,u=o<=0?0:r===e?(i-n)/o%6:r===i?2+(n-e)/o:4+(e-i)/o,u/=6,u%=1,[360*u,100*o,100*a]},i.hsl.hcg=function(t){const e=t[1]/100,i=t[2]/100,n=i<.5?2*e*i:2*e*(1-i);let r=0;return n<1&&(r=(i-.5*n)/(1-n)),[t[0],100*n,100*r]},i.hsv.hcg=function(t){const e=t[1]/100,i=t[2]/100,n=e*i;let r=0;return n<1&&(r=(i-n)/(1-n)),[t[0],100*n,100*r]},i.hcg.rgb=function(t){const e=t[0]/360,i=t[1]/100,n=t[2]/100;if(0===i)return[255*n,255*n,255*n];const r=[0,0,0],s=e%1*6,o=s%1,a=1-o;let u=0;switch(Math.floor(s)){case 0:r[0]=1,r[1]=o,r[2]=0;break;case 1:r[0]=a,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=o;break;case 3:r[0]=0,r[1]=a,r[2]=1;break;case 4:r[0]=o,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=a}return u=(1-i)*n,[255*(i*r[0]+u),255*(i*r[1]+u),255*(i*r[2]+u)]},i.hcg.hsv=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);let n=0;return i>0&&(n=e/i),[t[0],100*n,100*i]},i.hcg.hsl=function(t){const e=t[1]/100,i=t[2]/100*(1-e)+.5*e;let n=0;return i>0&&i<.5?n=e/(2*i):i>=.5&&i<1&&(n=e/(2*(1-i))),[t[0],100*n,100*i]},i.hcg.hwb=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);return[t[0],100*(i-e),100*(1-i)]},i.hwb.hcg=function(t){const e=t[1]/100,i=1-t[2]/100,n=i-e;let r=0;return n<1&&(r=(i-n)/(1-n)),[t[0],100*n,100*r]},i.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},i.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},i.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},i.gray.hsl=function(t){return[0,0,t[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(t){return[0,100,t[0]]},i.gray.cmyk=function(t){return[0,0,0,t[0]]},i.gray.lab=function(t){return[t[0],0,0]},i.gray.hex=function(t){const e=255&Math.round(t[0]/100*255),i=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(i.length)+i},i.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]},ZO}function sB(){if(tB)return XO;tB=1;const t=rB();function e(e){const i=function(){const e={},i=Object.keys(t);for(let t=i.length,n=0;n{i[n]={},Object.defineProperty(i[n],"channels",{value:t[n].channels}),Object.defineProperty(i[n],"labels",{value:t[n].labels});const r=e(n);Object.keys(r).forEach((t=>{const e=r[t];i[n][t]=function(t){const e=function(...e){const i=e[0];if(null==i)return i;i.length>1&&(e=i);const n=t(e);if("object"==typeof n)for(let t=n.length,e=0;e1&&(e=i),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(e)}))})),eB=i}!function(t){const e=(t,e)=>(...i)=>`[${t(...i)+e}m`,i=(t,e)=>(...i)=>{const n=t(...i);return`[${38+e};5;${n}m`},n=(t,e)=>(...i)=>{const n=t(...i);return`[${38+e};2;${n[0]};${n[1]};${n[2]}m`},r=t=>t,s=(t,e,i)=>[t,e,i],o=(t,e,i)=>{Object.defineProperty(t,e,{get:()=>{const n=i();return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})};let a;const u=(t,e,i,n)=>{void 0===a&&(a=oB());const r=n?10:0,s={};for(const[n,o]of Object.entries(a)){const a="ansi16"===n?"ansi":n;n===e?s[a]=t(i,r):"object"==typeof o&&(s[a]=t(o[e],r))}return s};Object.defineProperty(t,"exports",{enumerable:!0,get:function(){const t=new Map,a={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],blackBright:[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]}};a.color.gray=a.color.blackBright,a.bgColor.bgGray=a.bgColor.bgBlackBright,a.color.grey=a.color.blackBright,a.bgColor.bgGrey=a.bgColor.bgBlackBright;for(const[e,i]of Object.entries(a)){for(const[e,n]of Object.entries(i))a[e]={open:`[${n[0]}m`,close:`[${n[1]}m`},i[e]=a[e],t.set(n[0],n[1]);Object.defineProperty(a,e,{value:i,enumerable:!1})}return Object.defineProperty(a,"codes",{value:t,enumerable:!1}),a.color.close="",a.bgColor.close="",o(a.color,"ansi",(()=>u(e,"ansi16",r,!1))),o(a.color,"ansi256",(()=>u(i,"ansi256",r,!1))),o(a.color,"ansi16m",(()=>u(n,"rgb",s,!1))),o(a.bgColor,"ansi",(()=>u(e,"ansi16",r,!0))),o(a.bgColor,"ansi256",(()=>u(i,"ansi256",r,!0))),o(a.bgColor,"ansi16m",(()=>u(n,"rgb",s,!0))),a}})}(nB);var aB=nB.exports;const uB=h,lB=w,cB=dC,{env:hB}=process;let pB;function fB(t){return 0!==t&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function dB(t,e){if(0===pB)return 0;if(cB("color=16m")||cB("color=full")||cB("color=truecolor"))return 3;if(cB("color=256"))return 2;if(t&&!e&&void 0===pB)return 0;const i=pB||0;if("dumb"===hB.TERM)return i;if("win32"===process.platform){const t=uB.release().split(".");return Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in hB)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((t=>t in hB))||"codeship"===hB.CI_NAME?1:i;if("TEAMCITY_VERSION"in hB)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(hB.TEAMCITY_VERSION)?1:0;if("truecolor"===hB.COLORTERM)return 3;if("TERM_PROGRAM"in hB){const t=parseInt((hB.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(hB.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(hB.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(hB.TERM)||"COLORTERM"in hB?1:i}cB("no-color")||cB("no-colors")||cB("color=false")||cB("color=never")?pB=0:(cB("color")||cB("colors")||cB("color=true")||cB("color=always"))&&(pB=1),"FORCE_COLOR"in hB&&(pB="true"===hB.FORCE_COLOR?1:"false"===hB.FORCE_COLOR?0:0===hB.FORCE_COLOR.length?1:Math.min(parseInt(hB.FORCE_COLOR,10),3));var gB={supportsColor:function(t){return fB(dB(t,t&&t.isTTY))},stdout:fB(dB(!0,lB.isatty(1))),stderr:fB(dB(!0,lB.isatty(2)))};var mB,yB,bB={stringReplaceAll:(t,e,i)=>{let n=t.indexOf(e);if(-1===n)return t;const r=e.length;let s=0,o="";do{o+=t.substr(s,n-s)+e+i,s=n+r,n=t.indexOf(e,s)}while(-1!==n);return o+=t.substr(s),o},stringEncaseCRLFWithFirstIndex:(t,e,i,n)=>{let r=0,s="";do{const o="\r"===t[n-1];s+=t.substr(r,(o?n-1:n)-r)+e+(o?"\r\n":"\n")+i,r=n+1,n=t.indexOf("\n",r)}while(-1!==n);return s+=t.substr(r),s}};const wB=aB,{stdout:vB,stderr:DB}=gB,{stringReplaceAll:kB,stringEncaseCRLFWithFirstIndex:EB}=bB,{isArray:xB}=Array,AB=["ansi","ansi","ansi256","ansi16m"],FB=Object.create(null);class CB{constructor(t){return SB(t)}}const SB=t=>{const e={};return((t,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const i=vB?vB.level:0;t.level=void 0===e.level?i:e.level})(e,t),e.template=(...t)=>$B(e.template,...t),Object.setPrototypeOf(e,_B.prototype),Object.setPrototypeOf(e.template,e),e.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},e.template.Instance=CB,e.template};function _B(t){return SB(t)}for(const[t,e]of Object.entries(wB))FB[t]={get(){const i=TB(this,BB(e.open,e.close,this._styler),this._isEmpty);return Object.defineProperty(this,t,{value:i}),i}};FB.visible={get(){const t=TB(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:t}),t}};const jB=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const t of jB)FB[t]={get(){const{level:e}=this;return function(...i){const n=BB(wB.color[AB[e]][t](...i),wB.color.close,this._styler);return TB(this,n,this._isEmpty)}}};for(const t of jB){FB["bg"+t[0].toUpperCase()+t.slice(1)]={get(){const{level:e}=this;return function(...i){const n=BB(wB.bgColor[AB[e]][t](...i),wB.bgColor.close,this._styler);return TB(this,n,this._isEmpty)}}}}const OB=Object.defineProperties((()=>{}),{...FB,level:{enumerable:!0,get(){return this._generator.level},set(t){this._generator.level=t}}}),BB=(t,e,i)=>{let n,r;return void 0===i?(n=t,r=e):(n=i.openAll+t,r=e+i.closeAll),{open:t,close:e,openAll:n,closeAll:r,parent:i}},TB=(t,e,i)=>{const n=(...t)=>xB(t[0])&&xB(t[0].raw)?RB(n,$B(n,...t)):RB(n,1===t.length?""+t[0]:t.join(" "));return Object.setPrototypeOf(n,OB),n._generator=t,n._styler=e,n._isEmpty=i,n},RB=(t,e)=>{if(t.level<=0||!e)return t._isEmpty?"":e;let i=t._styler;if(void 0===i)return e;const{openAll:n,closeAll:r}=i;if(-1!==e.indexOf(""))for(;void 0!==i;)e=kB(e,i.close,i.open),i=i.parent;const s=e.indexOf("\n");return-1!==s&&(e=EB(e,r,n,s)),n+e+r};let IB;const $B=(t,...e)=>{const[i]=e;if(!xB(i)||!xB(i.raw))return e.join(" ");const n=e.slice(1),r=[i.raw[0]];for(let t=1;te?s(e):i)))}else r.push(o)}return r}function a(t){e.lastIndex=0;const i=[];let n;for(;null!==(n=e.exec(t));){const t=n[1];if(n[2]){const e=o(t,n[2]);i.push([t].concat(e))}else i.push([t])}return i}function u(t,e){const i={};for(const t of e)for(const e of t.styles)i[e[0]]=t.inverse?null:e.slice(1);let n=t;for(const[t,e]of Object.entries(i))if(Array.isArray(e)){if(!(t in n))throw new Error(`Unknown Chalk style: ${t}`);n=e.length>0?n[t](...e):n[t]}return n}return mB=(e,i)=>{const n=[],r=[];let o=[];if(i.replace(t,((t,i,l,c,h,p)=>{if(i)o.push(s(i));else if(c){const t=o.join("");o=[],r.push(0===n.length?t:u(e,n)(t)),n.push({inverse:l,styles:a(c)})}else if(h){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(u(e,n)(o.join(""))),o=[],n.pop()}else o.push(p)})),r.push(o.join("")),n.length>0){const t=`Chalk template literal is missing ${n.length} closing bracket${1===n.length?"":"s"} (\`}\`)`;throw new Error(t)}return r.join("")},mB}()),IB(t,r.join(""))};Object.defineProperties(_B.prototype,FB);const NB=_B();NB.supportsColor=vB,NB.stderr=_B({level:DB?DB.level:0}),NB.stderr.supportsColor=DB;var LB=q(NB);const PB=(t,e)=>e.some((e=>e instanceof RegExp?e.test(t):e===t)),MB=(t,{stripHash:e})=>{const i=/^data:(?[^,]*?),(?[^#]*?)(?:#(?.*))?$/.exec(t);if(!i)throw new Error(`Invalid URL: ${t}`);let{type:n,data:r,hash:s}=i.groups;const o=n.split(";");s=e?"":s;let a=!1;"base64"===o[o.length-1]&&(o.pop(),a=!0);const u=(o.shift()||"").toLowerCase(),l=o.map((t=>{let[e,i=""]=t.split("=").map((t=>t.trim()));return"charset"===e&&(i=i.toLowerCase(),"us-ascii"===i)?"":`${e}${i?`=${i}`:""}`})).filter(Boolean),c=[...l];return a&&c.push("base64"),(c.length>0||u&&"text/plain"!==u)&&c.unshift(u),`data:${c.join(";")},${a?r.trim():r}${s?`#${s}`:""}`};const zB={inlineCode:LB.cyan,heading:LB.bold,emphasis:LB.italic,strong:LB.bold,thematicBreak:LB.dim};function qB(t){const e={...zB,...(t=t||{}).style},i=t.stream||process.stdout,n=t.width||i.columns||3,r=function(t){if("0"===process.env.FORCE_HYPERLINK)return!1;if("1"===process.env.FORCE_HYPERLINK)return!0;if(!t.isTTY)return!1;return fS.supportsHyperlink(t)||!!process.env.WT_SESSION}(i),s=/^https?:\/\//,o=/^https?:\/\/(?:www\.)?npmjs\.com\/package\/([a-z0-9-_@!.]{1,214})$/i,a=/^https?:\/\/github\.com\/([\da-z][-\da-z]{0,38})\/((?:\.git[\w-]|\.(?!git)|[\w-])+)\/(commit|issues|pull)\/([a-f\d]+\/?(?=[#?]|$))/i,u=/^https?:\/\/github\.com\/([\da-z][-\da-z]{0,38})\/((?:\.git[\w-]|\.(?!git)|[\w-])+)/i,l={extensions:[EO],mdastExtensions:[NO]},c={extensions:[LO],bullet:"-",listItemIndent:"one",handlers:{inlineCode:t=>e.inlineCode(UB(t.value)),link(t,i,n){if(!t.url)return UB(GO(t));if(!r||!s.test(t.url))return UB(t.url);const l=function(t,e){return Boolean(t.url&&!t.title&&function(t,e){return t.children&&1===t.children.length&&t.children[0].type===e}(t,"text")&&(t.url===t.children[0].value||t.url==="mailto:"+t.children[0].value)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}(t)?function(t){let i=a.exec(t);if(i){return`${i[1]}/${i[2]}${"commit"===i[3]?"@":"#"}${i[4]}`}if(i=u.exec(t),i){const t=i[1],n=i[2];return e.inlineCode(`${t}/${n}`)}if(i=o.exec(t),i){const t=i[1];return e.inlineCode(t)}return UB(function(t,e){if(e={defaultProtocol:"http:",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,removeExplicitPort:!1,sortQueryParameters:!0,...e},t=t.trim(),/^data:/i.test(t))return MB(t,e);if(/^view-source:/i.test(t))throw new Error("`view-source:` is not supported as it is a non-standard protocol");const i=t.startsWith("//");!i&&/^\.*\//.test(t)||(t=t.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,e.defaultProtocol));const n=new URL(t);if(e.forceHttp&&e.forceHttps)throw new Error("The `forceHttp` and `forceHttps` options cannot be used together");if(e.forceHttp&&"https:"===n.protocol&&(n.protocol="http:"),e.forceHttps&&"http:"===n.protocol&&(n.protocol="https:"),e.stripAuthentication&&(n.username="",n.password=""),e.stripHash?n.hash="":e.stripTextFragment&&(n.hash=n.hash.replace(/#?:~:text.*?$/i,"")),n.pathname){const t=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g;let e=0,i="";for(;;){const r=t.exec(n.pathname);if(!r)break;const s=r[0],o=r.index;i+=n.pathname.slice(e,o).replace(/\/{2,}/g,"/"),i+=s,e=o+s.length}i+=n.pathname.slice(e,n.pathname.length).replace(/\/{2,}/g,"/"),n.pathname=i}if(n.pathname)try{n.pathname=decodeURI(n.pathname)}catch{}if(!0===e.removeDirectoryIndex&&(e.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(e.removeDirectoryIndex)&&e.removeDirectoryIndex.length>0){let t=n.pathname.split("/");const i=t[t.length-1];PB(i,e.removeDirectoryIndex)&&(t=t.slice(0,-1),n.pathname=t.slice(1).join("/")+"/")}if(n.hostname&&(n.hostname=n.hostname.replace(/\.$/,""),e.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(n.hostname)&&(n.hostname=n.hostname.replace(/^www\./,""))),Array.isArray(e.removeQueryParameters))for(const t of[...n.searchParams.keys()])PB(t,e.removeQueryParameters)&&n.searchParams.delete(t);if(Array.isArray(e.keepQueryParameters)||!0!==e.removeQueryParameters||(n.search=""),Array.isArray(e.keepQueryParameters)&&e.keepQueryParameters.length>0)for(const t of[...n.searchParams.keys()])PB(t,e.keepQueryParameters)||n.searchParams.delete(t);if(e.sortQueryParameters){n.searchParams.sort();try{n.search=decodeURIComponent(n.search)}catch{}}e.removeTrailingSlash&&(n.pathname=n.pathname.replace(/\/$/,"")),e.removeExplicitPort&&n.port&&(n.port="");const r=t;return t=n.toString(),e.removeSingleSlash||"/"!==n.pathname||r.endsWith("/")||""!==n.hash||(t=t.replace(/\/$/,"")),(e.removeTrailingSlash||"/"===n.pathname)&&""===n.hash&&e.removeSingleSlash&&(t=t.replace(/\/$/,"")),i&&!e.normalizeProtocol&&(t=t.replace(/^http:\/\//,"//")),e.stripProtocol&&(t=t.replace(/^(?:https?:)?\/\//,"")),t}(t,{stripProtocol:!0,stripWWW:!0}))}(t.url):UB(GO(t));return tS.link(l,t.url)},heading(t,i,n){const r=Math.max(Math.min(6,t.depth||1),1),s="#".repeat(r),o=UB(GO(t));return e.heading(o?s+" "+o:s)},emphasis:(t,i,n)=>e.emphasis(UB(GO(t))),strong:(t,i,n)=>e.strong(UB(GO(t))),thematicBreak:(t,i,r)=>e.thematicBreak("—".repeat(n))}};return function(t){const e=KO(t);return aO(rj(e,l),c).trim()}}function UB(t){return KO(String(t||""))}const GB=function(){if("win32"!==process.platform||process.env.CI||"xterm-256color"===process.env.TERM||process.env.WT_SESSION)return{info:"🔷",warning:"⚠️",error:"❌"};return{info:WC.blue("i"),warning:WC.yellow("‼"),error:WC.red("×")}}();function WB(t,e){e||(e={});const i=[],n=function(t){if("0"===process.env.FORCE_HYPERLINK)return!1;if("1"===process.env.FORCE_HYPERLINK)return!0;if(!t.isTTY)return!1;return fS.supportsHyperlink(t)||!!process.env.WT_SESSION}(process.stdout),r=qB({stream:process.stdout}),s=v.resolve(e.cwd||".");let o=0,a=0,u=0,l=0,c=0,h=!1;for(const e of t){const{messages:t}=e;if(0===t.length)continue;0!==i.length&&i.push({type:"separator"});for(const e of t)void 0!==e.fatal&&null==e.severity&&(e.severity=e.fatal?2:!1===e.fatal?1:0);const n=t.find(HB)||t[0],p=v.resolve(e.cwd||s,e.path),f=v.relative(s,p);i.push({type:"header",path:e.path,relativePath:f||".",isDir:KB(f,p),firstLinePos:Ox(n)});for(const e of t.sort(VB)){let{reason:t,severity:n}=e;0===n?o++:1===n?a++:u++,t=r(t);const s=Ox(e),p=MF(s),f=MF(t);l=Math.max(p,l),c=Math.max(f,c),h=h||""!==s,i.push({type:"message",severity:n,pos:s,posWidth:p,reason:t,reasonWidth:f,ruleId:[e.source,e.ruleId].filter(Boolean).join(":")||""})}}let p="\n";return process.stdout.isTTY&&!process.env.CI&&(p+=tS.iTerm.setCwd()),p+=i.map((function(t){if("header"===t.type){const e=h&&t.firstLinePos&&!t.isDir?WC.hidden.dim.gray(`:${t.firstLinePos}`):"";return" "+WC.underline((t.isDir?" ":"")+t.relativePath)+e}if("message"===t.type){const{ruleId:i,ruleUrl:r}=function(t,e){if(!t)return{ruleId:"",ruleUrl:""};let i;const n=t.replace(/[/]/g,":"),r=n.includes(":")?n:"eslint:"+n;if(/^remark-lint:/.test(r))i="https://github.com/remarkjs/remark-lint/blob/main/doc/rules.md";else if(/^(remark|hallmark|attend)[a-z0-9-]*:/.test(r))i="https://npmjs.com/package/"+r.split(":")[0];else{const n=t.replace(/:/g,"/").replace(/^eslint[/]/,"");try{i=e.rulesMeta[n].docs.url}catch{try{i=gS(n).url}catch{}}}return{ruleId:r,ruleUrl:i}}(t.ruleId,e),s=["",0===t.severity?GB.info:1===t.severity?GB.warning:GB.error," ".repeat(l-t.posWidth)+WC.gray(t.pos),t.reason," ".repeat(c-t.reasonWidth)+(r&&n?tS.link(WC.dim(i),r):WC.dim(i))];return h||s.splice(2,1),s.join(" ")}return""})).join("\n")+"\n\n",a>0&&(p+=" "+WC.yellow(`${a} ${KC("warning",a)}`)+"\n"),u>0&&(p+=" "+WC.red(`${u} ${KC("error",u)}`)+"\n"),u+a+o>0?p:""}function HB(t){return 2===t.severity}function VB(t,e){return t.severity===e.severity?t.line===e.line?t.column{if(!t&&e&&i){const r=o.stringify(e,i);null==r||("string"==typeof(n=r)||jx(n)?i.value=r:i.result=r),s(t,i)}else s(t);var n}))}i(null,e)}function g(t){let e;o.freeze(),lT("processSync",o.Parser),cT("processSync",o.Compiler);const i=dT(t);return o.process(i,(function(t){e=!0,YB(t)})),fT("processSync","process",e),i}}().freeze(),aT={}.hasOwnProperty;function uT(t,e){return"function"==typeof t&&t.prototype&&(function(t){let e;for(e in t)if(aT.call(t,e))return!0;return!1}(t.prototype)||e in t.prototype)}function lT(t,e){if("function"!=typeof e)throw new TypeError("Cannot `"+t+"` without `Parser`")}function cT(t,e){if("function"!=typeof e)throw new TypeError("Cannot `"+t+"` without `Compiler`")}function hT(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function pT(t){if(!SE(t)||"string"!=typeof t.type)throw new TypeError("Expected node, got `"+t+"`")}function fT(t,e,i){if(!i)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function dT(t){return function(t){return Boolean(t&&"object"==typeof t&&"message"in t&&"messages"in t)}(t)?t:new Lx(t)}const gT=oT().use((function(t){Object.assign(this,{Parser:e=>{const i=this.data("settings");return rj(e,Object.assign({},i,t,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})})).use((function(t){Object.assign(this,{Compiler:e=>{const i=this.data("settings");return aO(e,Object.assign({},i,t,{extensions:this.data("toMarkdownExtensions")||[]}))}})})).freeze(),mT={tokenize:function(t,e,i){const n=this;return LS(t,(function(t){const r=n.events[n.events.length-1];return r&&"gfmFootnoteDefinitionIndent"===r[1].type&&4===r[2].sliceSerialize(r[1],!0).length?e(t):i(t)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function yT(t,e,i){const n=this;let r=n.events.length;const s=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let o;for(;r--;){const t=n.events[r][1];if("labelImage"===t.type){o=t;break}if("gfmFootnoteCall"===t.type||"labelLink"===t.type||"label"===t.type||"image"===t.type||"link"===t.type)break}return function(r){if(!o||!o._balanced)return i(r);const a=f_(n.sliceSerialize({start:o.end,end:n.now()}));if(94!==a.codePointAt(0)||!s.includes(a.slice(1)))return i(r);return t.enter("gfmFootnoteCallLabelMarker"),t.consume(r),t.exit("gfmFootnoteCallLabelMarker"),e(r)}}function bT(t,e){let i=t.length;for(;i--;)if("labelImage"===t[i][1].type&&"enter"===t[i][0]){t[i][1];break}t[i+1][1].type="data",t[i+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},t[i+3][1].start),end:Object.assign({},t[t.length-1][1].end)},r={type:"gfmFootnoteCallMarker",start:Object.assign({},t[i+3][1].end),end:Object.assign({},t[i+3][1].end)};r.end.column++,r.end.offset++,r.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},r.end),end:Object.assign({},t[t.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},a=[t[i+1],t[i+2],["enter",n,e],t[i+3],t[i+4],["enter",r,e],["exit",r,e],["enter",s,e],["enter",o,e],["exit",o,e],["exit",s,e],t[t.length-2],t[t.length-1],["exit",n,e]];return t.splice(i,t.length-i+1,...a),t}function wT(t,e,i){const n=this,r=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let s,o=0;return function(e){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(e),t.exit("gfmFootnoteCallLabelMarker"),a};function a(e){return 94!==e?i(e):(t.enter("gfmFootnoteCallMarker"),t.consume(e),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",u)}function u(a){if(o>999||93===a&&!s||null===a||91===a||TS(a))return i(a);if(93===a){t.exit("chunkString");const s=t.exit("gfmFootnoteCallString");return r.includes(f_(n.sliceSerialize(s)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(a),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):i(a)}return TS(a)||(s=!0),o++,t.consume(a),92===a?l:u}function l(e){return 91===e||92===e||93===e?(t.consume(e),o++,u):u(e)}}function vT(t,e,i){const n=this,r=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let s,o,a=0;return function(e){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(e),t.exit("gfmFootnoteDefinitionLabelMarker"),u};function u(e){return 94===e?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(e),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",l):i(e)}function l(e){if(a>999||93===e&&!o||null===e||91===e||TS(e))return i(e);if(93===e){t.exit("chunkString");const i=t.exit("gfmFootnoteDefinitionLabelString");return s=f_(n.sliceSerialize(i)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(e),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),h}return TS(e)||(o=!0),a++,t.consume(e),92===e?c:l}function c(e){return 91===e||92===e||93===e?(t.consume(e),a++,l):l(e)}function h(e){return 58===e?(t.enter("definitionMarker"),t.consume(e),t.exit("definitionMarker"),r.includes(s)||r.push(s),LS(t,p,"gfmFootnoteDefinitionWhitespace")):i(e)}function p(t){return e(t)}}function DT(t,e,i){return t.check(VS,e,t.attempt(mT,e,i))}function kT(t){t.exit("gfmFootnoteDefinition")}function ET(t){let e=(t||{}).singleTilde;const i={tokenize:function(t,i,n){const r=this.previous,s=this.events;let o=0;return function(e){if(126===r&&"characterEscape"!==s[s.length-1][1].type)return n(e);return t.enter("strikethroughSequenceTemporary"),a(e)};function a(s){const u=qS(r);if(126===s)return o>1?n(s):(t.consume(s),o++,a);if(o<2&&!e)return n(s);const l=t.exit("strikethroughSequenceTemporary"),c=qS(s);return l._open=!c||2===c&&Boolean(u),l._close=!u||2===u&&Boolean(c),i(s)}},resolveAll:function(t,e){let i=-1;for(;++it[0]-e[0])),0===this.map.length)return;let e=this.map.length;const i=[];for(;e>0;)e-=1,i.push(t.slice(this.map[e][0]+this.map[e][1])),i.push(this.map[e][2]),t.length=this.map[e][0];i.push([...t]),t.length=0;let n=i.pop();for(;n;)t.push(...n),n=i.pop();this.map.length=0}}function AT(t,e){let i=!1;const n=[];for(;e-1;){const t=n.events[e][1].type;if("lineEnding"!==t&&"linePrefix"!==t)break;e--}const r=e>-1?n.events[e][1].type:null,s="tableHead"===r||"tableRow"===r?v:a;if(s===v&&n.parser.lazy[n.now().line])return i(t);return s(t)};function a(e){return t.enter("tableHead"),t.enter("tableRow"),function(t){if(124===t)return u(t);return r=!0,o+=1,u(t)}(e)}function u(e){return null===e?i(e):BS(e)?o>1?(o=0,n.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),h):i(e):RS(e)?LS(t,u,"whitespace")(e):(o+=1,r&&(r=!1,s+=1),124===e?(t.enter("tableCellDivider"),t.consume(e),t.exit("tableCellDivider"),r=!0,u):(t.enter("data"),l(e)))}function l(e){return null===e||124===e||TS(e)?(t.exit("data"),u(e)):(t.consume(e),92===e?c:l)}function c(e){return 92===e||124===e?(t.consume(e),l):l(e)}function h(e){return n.interrupt=!1,n.parser.lazy[n.now().line]?i(e):(t.enter("tableDelimiterRow"),r=!1,RS(e)?LS(t,p,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):p(e))}function p(e){return 45===e||58===e?d(e):124===e?(r=!0,t.enter("tableCellDivider"),t.consume(e),t.exit("tableCellDivider"),f):w(e)}function f(e){return RS(e)?LS(t,d,"whitespace")(e):d(e)}function d(e){return 58===e?(o+=1,r=!0,t.enter("tableDelimiterMarker"),t.consume(e),t.exit("tableDelimiterMarker"),g):45===e?(o+=1,g(e)):null===e||BS(e)?b(e):w(e)}function g(e){return 45===e?(t.enter("tableDelimiterFiller"),m(e)):w(e)}function m(e){return 45===e?(t.consume(e),m):58===e?(r=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(e),t.exit("tableDelimiterMarker"),y):(t.exit("tableDelimiterFiller"),y(e))}function y(e){return RS(e)?LS(t,b,"whitespace")(e):b(e)}function b(i){return 124===i?p(i):(null===i||BS(i))&&r&&s===o?(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(i)):w(i)}function w(t){return i(t)}function v(e){return t.enter("tableRow"),D(e)}function D(i){return 124===i?(t.enter("tableCellDivider"),t.consume(i),t.exit("tableCellDivider"),D):null===i||BS(i)?(t.exit("tableRow"),e(i)):RS(i)?LS(t,D,"whitespace")(i):(t.enter("data"),k(i))}function k(e){return null===e||124===e||TS(e)?(t.exit("data"),D(e)):(t.consume(e),92===e?E:k)}function E(e){return 92===e||124===e?(t.consume(e),k):k(e)}},resolveAll:function(t,e){let i,n,r,s=-1,o=!0,a=0,u=[0,0,0,0],l=[0,0,0,0],c=!1,h=0;const p=new xT;for(;++si[2]+1){const e=i[2]+1,n=i[3]-i[2]-1;t.add(e,n,[])}}t.add(i[3]+1,0,[["exit",o,e]])}return void 0!==r&&(s.end=Object.assign({},_T(e.events,r)),t.add(r,0,[["exit",s,e]]),s=void 0),s}function ST(t,e,i,n,r){const s=[],o=_T(e.events,i);r&&(r.end=Object.assign({},o),s.push(["exit",r,e])),n.end=Object.assign({},o),s.push(["exit",n,e]),t.add(i+1,0,s)}function _T(t,e){const i=t[e],n="enter"===i[0]?"start":"end";return i[1][n]}const jT={tokenize:function(t,e,i){const n=this;return function(e){if(null!==n.previous||!n._gfmTasklistFirstContentOfListItem)return i(e);return t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(e),t.exit("taskListCheckMarker"),r};function r(e){return TS(e)?(t.enter("taskListCheckValueUnchecked"),t.consume(e),t.exit("taskListCheckValueUnchecked"),s):88===e||120===e?(t.enter("taskListCheckValueChecked"),t.consume(e),t.exit("taskListCheckValueChecked"),s):i(e)}function s(e){return 93===e?(t.enter("taskListCheckMarker"),t.consume(e),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),o):i(e)}function o(n){return BS(n)?e(n):RS(n)?t.check({tokenize:BT},e,i)(n):i(n)}}},OT={text:{91:jT}};function BT(t,e,i){return LS(t,(function(t){return null===t?i(t):e(t)}),"whitespace")}function TT(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function RT(){this.buffer()}function IT(t){const e=this.resume(),i=this.stack[this.stack.length-1];i.label=e,i.identifier=f_(this.sliceSerialize(t)).toLowerCase()}function $T(t){this.exit(t)}function NT(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function LT(){this.buffer()}function PT(t){const e=this.resume(),i=this.stack[this.stack.length-1];i.label=e,i.identifier=f_(this.sliceSerialize(t)).toLowerCase()}function MT(t){this.exit(t)}function zT(t,e,i,n){const r=oO(n);let s=r.move("[^");const o=i.enter("footnoteReference"),a=i.enter("reference");return s+=r.move(nO(i,Zj(t),{...r.current(),before:s,after:"]"})),a(),o(),s+=r.move("]"),s}function qT(t,e,i,n){const r=oO(n);let s=r.move("[^");const o=i.enter("footnoteDefinition"),a=i.enter("label");return s+=r.move(nO(i,Zj(t),{...r.current(),before:s,after:"]"})),a(),s+=r.move("]:"+(t.children&&t.children.length>0?" ":"")),r.shift(4),s+=r.move(iO(Xj(t,i,r.current()),UT)),o(),s}function UT(t,e,i){return 0===e?t:(i?"":" ")+t}zT.peek=function(){return"["};HT.peek=function(){return"~"};const GT={canContainEols:["delete"],enter:{strikethrough:function(t){this.enter({type:"delete",children:[]},t)}},exit:{strikethrough:function(t){this.exit(t)}}},WT={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:HT}};function HT(t,e,i,n){const r=oO(n),s=i.enter("strikethrough");let o=r.move("~~");return o+=Qj(t,i,{...r.current(),before:o,after:"~"}),o+=r.move("~~"),s(),o}function VT(t){return t.length}function KT(t){const e="string"==typeof t?t.codePointAt(0):0;return 67===e||99===e?99:76===e||108===e?108:82===e||114===e?114:0}const YT={enter:{table:function(t){const e=t._align;this.enter({type:"table",align:e.map((t=>"none"===t?null:t)),children:[]},t),this.setData("inTable",!0)},tableData:ZT,tableHeader:ZT,tableRow:function(t){this.enter({type:"tableRow",children:[]},t)}},exit:{codeText:function(t){let e=this.resume();this.getData("inTable")&&(e=e.replace(/\\([\\|])/g,QT));const i=this.stack[this.stack.length-1];i.value=e,this.exit(t)},table:function(t){this.exit(t),this.setData("inTable")},tableData:JT,tableHeader:JT,tableRow:JT}};function JT(t){this.exit(t)}function ZT(t){this.enter({type:"tableCell",children:[]},t)}function QT(t,e){return"|"===e?e:t}function XT(t){const e=t||{},i=e.tableCellPadding,n=e.tablePipeAlign,r=e.stringLength,s=i?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(t,e,i,n){return a(function(t,e,i){const n=t.children;let r=-1;const s=[],o=e.enter("table");for(;++ru&&(u=t[l].length);++ha[h])&&(a[h]=t)}i.push(s)}s[l]=i,o[l]=r}var c;let h=-1;if("object"==typeof i&&"length"in i)for(;++ha[h]&&(a[h]=s),f[h]=s),p[h]=o}s.splice(1,0,p),o.splice(1,0,f),l=-1;const d=[];for(;++lthis.end)throw new Error("start must be <= end");this.pos=this.start}if(null!==this.fd)return void process.nextTick((function(){r._read()}));t.open(this.path,this.flags,this.mode,(function(t,e){if(t)return r.emit("error",t),void(r.readable=!1);r.fd=e,r.emit("open",e),r._read()}))},WriteStream:function e(i,n){if(!(this instanceof e))return new e(i,n);vR.call(this),this.path=i,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,n=n||{};for(var r=Object.keys(n),s=0,o=r.length;s= zero");this.pos=this.start}this.busy=!1,this._queue=[],null===this.fd&&(this._open=t.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}};var kR=function(t){if(null===t||"object"!=typeof t)return t;if(t instanceof Object)var e={__proto__:ER(t)};else e=Object.create(null);return Object.getOwnPropertyNames(t).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))})),e},ER=Object.getPrototypeOf||function(t){return t.__proto__};var xR,AR,FR=a,CR=wR,SR=DR,_R=kR,jR=c;function OR(t,e){Object.defineProperty(t,xR,{get:function(){return e}})}"function"==typeof Symbol&&"function"==typeof Symbol.for?(xR=Symbol.for("graceful-fs.queue"),AR=Symbol.for("graceful-fs.previous")):(xR="___graceful-fs.queue",AR="___graceful-fs.previous");var BR=function(){};if(jR.debuglog?BR=jR.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(BR=function(){var t=jR.format.apply(jR,arguments);t="GFS4: "+t.split(/\n/).join("\nGFS4: "),console.error(t)}),!FR[xR]){var TR=z[xR]||[];OR(FR,TR),FR.close=function(t){function e(e,i){return t.call(FR,e,(function(t){t||LR(),"function"==typeof i&&i.apply(this,arguments)}))}return Object.defineProperty(e,AR,{value:t}),e}(FR.close),FR.closeSync=function(t){function e(e){t.apply(FR,arguments),LR()}return Object.defineProperty(e,AR,{value:t}),e}(FR.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){BR(FR[xR]),l.equal(FR[xR].length,0)}))}z[xR]||OR(z,FR[xR]);var RR,IR=$R(_R(FR));function $R(t){CR(t),t.gracefulify=$R,t.createReadStream=function(e,i){return new t.ReadStream(e,i)},t.createWriteStream=function(e,i){return new t.WriteStream(e,i)};var e=t.readFile;t.readFile=function(t,i,n){"function"==typeof i&&(n=i,i=null);return function t(i,n,r,s){return e(i,n,(function(e){!e||"EMFILE"!==e.code&&"ENFILE"!==e.code?"function"==typeof r&&r.apply(this,arguments):NR([t,[i,n,r],e,s||Date.now(),Date.now()])}))}(t,i,n)};var i=t.writeFile;t.writeFile=function(t,e,n,r){"function"==typeof n&&(r=n,n=null);return function t(e,n,r,s,o){return i(e,n,r,(function(i){!i||"EMFILE"!==i.code&&"ENFILE"!==i.code?"function"==typeof s&&s.apply(this,arguments):NR([t,[e,n,r,s],i,o||Date.now(),Date.now()])}))}(t,e,n,r)};var n=t.appendFile;n&&(t.appendFile=function(t,e,i,r){"function"==typeof i&&(r=i,i=null);return function t(e,i,r,s,o){return n(e,i,r,(function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?"function"==typeof s&&s.apply(this,arguments):NR([t,[e,i,r,s],n,o||Date.now(),Date.now()])}))}(t,e,i,r)});var r=t.copyFile;r&&(t.copyFile=function(t,e,i,n){"function"==typeof i&&(n=i,i=0);return function t(e,i,n,s,o){return r(e,i,n,(function(r){!r||"EMFILE"!==r.code&&"ENFILE"!==r.code?"function"==typeof s&&s.apply(this,arguments):NR([t,[e,i,n,s],r,o||Date.now(),Date.now()])}))}(t,e,i,n)});var s=t.readdir;t.readdir=function(t,e,i){"function"==typeof e&&(i=e,e=null);var n=o.test(process.version)?function(t,e,i,n){return s(t,r(t,e,i,n))}:function(t,e,i,n){return s(t,e,r(t,e,i,n))};return n(t,e,i);function r(t,e,i,r){return function(s,o){!s||"EMFILE"!==s.code&&"ENFILE"!==s.code?(o&&o.sort&&o.sort(),"function"==typeof i&&i.call(this,s,o)):NR([n,[t,e,i],s,r||Date.now(),Date.now()])}}};var o=/^v[0-5]\./;if("v0.8"===process.version.substr(0,4)){var a=SR(t);p=a.ReadStream,f=a.WriteStream}var u=t.ReadStream;u&&(p.prototype=Object.create(u.prototype),p.prototype.open=function(){var t=this;g(t.path,t.flags,t.mode,(function(e,i){e?(t.autoClose&&t.destroy(),t.emit("error",e)):(t.fd=i,t.emit("open",i),t.read())}))});var l=t.WriteStream;l&&(f.prototype=Object.create(l.prototype),f.prototype.open=function(){var t=this;g(t.path,t.flags,t.mode,(function(e,i){e?(t.destroy(),t.emit("error",e)):(t.fd=i,t.emit("open",i))}))}),Object.defineProperty(t,"ReadStream",{get:function(){return p},set:function(t){p=t},enumerable:!0,configurable:!0}),Object.defineProperty(t,"WriteStream",{get:function(){return f},set:function(t){f=t},enumerable:!0,configurable:!0});var c=p;Object.defineProperty(t,"FileReadStream",{get:function(){return c},set:function(t){c=t},enumerable:!0,configurable:!0});var h=f;function p(t,e){return this instanceof p?(u.apply(this,arguments),this):p.apply(Object.create(p.prototype),arguments)}function f(t,e){return this instanceof f?(l.apply(this,arguments),this):f.apply(Object.create(f.prototype),arguments)}Object.defineProperty(t,"FileWriteStream",{get:function(){return h},set:function(t){h=t},enumerable:!0,configurable:!0});var d=t.open;function g(t,e,i,n){return"function"==typeof i&&(n=i,i=null),function t(e,i,n,r,s){return d(e,i,n,(function(o,a){!o||"EMFILE"!==o.code&&"ENFILE"!==o.code?"function"==typeof r&&r.apply(this,arguments):NR([t,[e,i,n,r],o,s||Date.now(),Date.now()])}))}(t,e,i,n)}return t.open=g,t}function NR(t){BR("ENQUEUE",t[0].name,t[1]),FR[xR].push(t),PR()}function LR(){for(var t=Date.now(),e=0;e2&&(FR[xR][e][3]=t,FR[xR][e][4]=t);PR()}function PR(){if(clearTimeout(RR),RR=void 0,0!==FR[xR].length){var t=FR[xR].shift(),e=t[0],i=t[1],n=t[2],r=t[3],s=t[4];if(void 0===r)BR("RETRY",e.name,i),e.apply(null,i);else if(Date.now()-r>=6e4){BR("TIMEOUT",e.name,i);var o=i.pop();"function"==typeof o&&o.call(null,n)}else{var a=Date.now()-s,u=Math.max(s-r,1);a>=Math.min(1.2*u,100)?(BR("RETRY",e.name,i),e.apply(null,i.concat([r]))):FR[xR].push(t)}void 0===RR&&(RR=setTimeout(PR,0))}}process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!FR.__patched&&(IR=$R(FR),FR.__patched=!0);var MR={exports:{}},zR=MR.exports=function(t){for(var e=0;e="\t"&&t<="\r"||" "===t||"᠎"===t||t>=" "&&t<=" "||"\u2028"===t||"\u2029"===t||" "===t||" "===t||" "===t},t.exports.isWhiteSpaceJSON=function(t){return" "===t||"\t"===t||"\n"===t||"\r"===t},t.exports.isLineTerminator=function(t){return"\n"===t||"\r"===t||"\u2028"===t||"\u2029"===t},t.exports.isLineTerminatorJSON=function(t){return"\n"===t||"\r"===t},t.exports.isIdentifierStart=function(t){return"$"===t||"_"===t||t>="A"&&t<="Z"||t>="a"&&t<="z"||t>="€"&&e.NonAsciiIdentifierStart.test(t)},t.exports.isIdentifierPart=function(t){return"$"===t||"_"===t||t>="A"&&t<="Z"||t>="a"&&t<="z"||t>="0"&&t<="9"||t>="€"&&e.NonAsciiIdentifierPart.test(t)},t.exports.NonAsciiIdentifierStart=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\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\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\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\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\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\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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]/,t.exports.NonAsciiIdentifierPart=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191C\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\u1DFC-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE26\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/}(UR);var GR=UR.exports;!function(t){var e=GR;function i(t){return t>="0"&&t<="9"||t>="A"&&t<="F"||t>="a"&&t<="f"}function n(t){return t>="0"&&t<="7"}function r(t){return t>="0"&&t<="9"}var s={"'":"'",'"':'"',"\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v","/":"/"};function o(t,o){var a,u=!("json"===o.mode||o.legacy),l=u?e.isLineTerminator:e.isLineTerminatorJSON,c=u?e.isWhiteSpace:e.isWhiteSpaceJSON,h=t.length,p=0,f=0,d=0,g=[],m=function(){},y=function(t){return t};function b(i){var n=d-f;if(!i)if(d=u&&(c+="^");break}if(l+=p,n===u?c+="^":n>u&&(c+="\t"===t[u]?"\t":" "),l.length>78)break}return a+"\n"+l+"\n"+c}(t,i,d,p,n,u));throw s.row=p+1,s.column=n+1,s}function w(e){"\r"===e&&"\n"===t[d]&&d++,f=d,p++}function v(){for(;d=h||e[r]!=t[d])&&(d=i-1,b()),d++}function A(){for(var e=o.null_prototype?Object.create(null):{},i={},n=!1;d="1"&&s<="9"){for(;d=h&&b(),o=t[d++],s[o]&&(u||"v"!=o&&"'"!=o))r+=s[o];else if(u&&l(o))w(o);else if("u"===o||"x"===o&&u){for(var a="u"===o?4:2,c=0;c=h&&b(),i(t[d])||b("Bad escape sequence"),d++;r+=String.fromCharCode(parseInt(t.substr(d-a,a),16))}else if(u&&n(o)){if(o<"4"&&n(t[d])&&n(t[d+1]))var p=3;else if(n(t[d]))p=2;else p=1;d+=p-1,r+=String.fromCharCode(parseInt(t.substr(d-p,p),8))}else u?r+=o:(d--,b());else l(o)?b():(!u&&o.charCodeAt(0)<32&&(d--,b("Unexpected control character")),r+=o)}b()}o._tokenize&&(a=null,m=function(){if(null!==a)throw Error("internal error, token overlap");a=d},y=function(e,i){if(a!=d){var n={raw:t.substr(a,d-a),type:i,stack:g.slice(0)};void 0!==e&&(n.value=e),o._tokenize.call(null,n)}return a=null,e}),k();var j=v();if(void 0!==j||d=h)return"function"==typeof o.reviver&&(j=o.reviver.call(null,"",j)),j;b()}else b(d?"No data, only a whitespace":"No data, empty input")}t.exports.parse=function(t,e){if("function"==typeof e&&(e={reviver:e}),void 0!==t){"string"!=typeof t&&(t=String(t)),null==e&&(e={}),null==e.reserved_keys&&(e.reserved_keys="ignore"),"throw"!==e.reserved_keys&&"ignore"!==e.reserved_keys||null==e.null_prototype&&(e.null_prototype=!0);try{return o(t,e)}catch(t){if(t instanceof SyntaxError&&null!=t.row&&null!=t.column){var i=t;(t=SyntaxError(i.message)).column=i.column,t.row=i.row}throw t}}},t.exports.tokenize=function(e,i){null==i&&(i={}),i._tokenize=function(t){i._addstack&&t.stack.unshift.apply(t.stack,i._addstack),n.push(t)};var n=[];return n.data=t.exports.parse(e,i),n}}(qR);var WR,HR,VR=qR.exports,KR=Up("JSONError",{fileName:Up.append("in %s")});var YR="function"==typeof Promise?Promise:function(){if(HR)return WR;HR=1;var t,e="pending",i="settled",n="fulfilled",r="rejected",s=function(){},o=void 0!==z&&void 0!==z.process&&"function"==typeof z.process.emit,a="undefined"==typeof setImmediate?setTimeout:setImmediate,u=[];function l(){for(var e=0;ethis.depth)return this.createChild(t,e);if(this.parent)return this.parent.add(t)}return wj(t,"definition")&&"string"==typeof t.identifier?this.root().definitions.set(t.identifier.toLowerCase(),t):this.content.push(t),this}createChild(t,e){const i=new e(this.depth+1,this,t);return this.children.push(i),i}tree(){const t=[];this.heading&&t.push(this.heading),this.content&&t.push(...this.content);for(const e of this.children)t.push(...e.tree());for(const e of this.definitions.values())t.push(e);return t}root(){return this.parent?this.parent.root():this}hasContent(){return this.content.length>0}isEmpty(){return!this.hasContent()&&0===this.children.length}}class n extends i{constructor(t,e,i){super(t,e,i),this.index=e.children.length,this.version=null,this.title=null,this.linkType=null,this.parseable=!1;const n=i.children||[];if(wj(n[0],"text")&&1===n.length){this.title=n[0].value;const[t,e,...i]=(n[0].value||"").split(" - ");i.length||(this.parseable=!0,this.version=t,this.date=e)}else if(wj(n[0],["link","linkReference"])&&fI(n[0],"text")){this.linkType=n[0].type;const t=n[0].children[0].value;if(1===n.length)this.parseable=!0,this.version=t,this.title=t;else if(2===n.length&&wj(n[1],"text")){const[e,i,...r]=(n[1].value||"").split(" - ");e||r.length||(this.parseable=!0,this.version=t,this.date=i)}}}add(t){return super.add(t,r)}createGroup(t){return this.createChild(rR("heading",{depth:3},[rR("text",t)]),r)}createNotice(t){return this.content.unshift(rR("paragraph",[rR("emphasis",[rR("text",String(t))])])),this}}class r extends i{add(t){return super.add(t,i)}hasValidHeading(){return!!wj(this.heading,{type:"heading",depth:3})&&null!=fI(this.heading,{type:"text"})}type(){const t=this.heading.children[0];return t?t.value:null}createList(e){const i=rR("list",{ordered:!1,spread:!1},e.map((e=>{const i=!!e.description,n=t(i?(r=e.title).endsWith(".")?r:r+".":e.title);var r;let s=!1;if(i){const i=e.description.split("\n");!function(t){return t=t.filter(Boolean),t.length>0&&t.every((t=>hI.test(t)))}(i)?(n.push(...t(e.description)),s=!0):n.push(function(e){const i=rR("list",{ordered:!1,spread:!1},[]);for(const n of e){if(!n)continue;const e=n.replace(hI,"").trim(),r=rR("listItem",{spread:!1},t(e));i.children.push(r)}return i}(i))}return rR("listItem",{spread:s},n)})));return this.add(i)}}const s=new class extends i{add(t){return!wj(t,"heading")||this.heading||this.hasContent()||1!==t.depth?super.add(t,n):(this.heading=t,this)}hasValidHeading(){return!!wj(this.heading,{type:"heading",depth:1})&&(!(!this.heading.children||1!==this.heading.children.length)&&wj(this.heading.children[0],{type:"text",value:"Changelog"}))}buildHeading(){wj(this.heading,{type:"heading",depth:1})?this.heading.children=[rR("text","Changelog")]:this.heading=rR("heading",{depth:1},[rR("text","Changelog")])}createRelease(t,e){return this.createChild(rR("heading",{depth:2},[rR("text",t+" - "+e)]),n)}};for(let t=0,i=s;t=0?this.maxPending=t.maxPending:this.maxPending=dI.DEFAULT_MAX_PENDING};dI.DEFAULT_TIMEOUT=0,dI.DEFAULT_MAX_OCCUPATION_TIME=0,dI.DEFAULT_MAX_EXECUTION_TIME=0,dI.DEFAULT_MAX_PENDING=1e3,dI.prototype.acquire=function(t,e,i,n){if(Array.isArray(t))return this._acquireBatch(t,e,i,n);if("function"!=typeof e)throw new Error("You must pass a function to execute");var r=null,s=null,o=null;"function"!=typeof i&&(n=i,i=null,o=new this.Promise((function(t,e){r=t,s=e}))),n=n||{};var a=!1,u=null,l=null,c=null,h=this,p=function(e,n,u){l&&(clearTimeout(l),l=null),c&&(clearTimeout(c),c=null),e&&(h.queues[t]&&0===h.queues[t].length&&delete h.queues[t],h.domainReentrant&&delete h.domains[t]),a||(o?n?s(n):r(u):"function"==typeof i&&i(n,u),a=!0),e&&h.queues[t]&&h.queues[t].length>0&&h.queues[t].shift()()},f=function(i){if(a)return p(i);u&&(clearTimeout(u),u=null),h.domainReentrant&&i&&(h.domains[t]=process.domain);var r=n.maxExecutionTime||h.maxExecutionTime;if(r&&(c=setTimeout((function(){h.queues[t]&&p(i,new Error("Maximum execution time is exceeded "+t))}),r)),1===e.length){var s=!1;try{e((function(t,e){s||(s=!0,p(i,t,e))}))}catch(t){s||(s=!0,p(i,t))}}else h._promiseTry((function(){return e()})).then((function(t){p(i,void 0,t)}),(function(t){p(i,t)}))};h.domainReentrant&&process.domain&&(f=process.domain.bind(f));var d=n.maxPending||h.maxPending;if(h.queues[t])if(h.domainReentrant&&process.domain&&process.domain===h.domains[t])f(!1);else if(h.queues[t].length>=d)p(!1,new Error("Too many pending tasks in queue "+t));else{var g=function(){f(!0)};n.skipQueue?h.queues[t].unshift(g):h.queues[t].push(g);var m=n.timeout||h.timeout;m&&(u=setTimeout((function(){u=null,p(!1,new Error("async-lock timed out in queue "+t))}),m))}else h.queues[t]=[],f(!0);var y=n.maxOccupationTime||h.maxOccupationTime;return y&&(l=setTimeout((function(){h.queues[t]&&p(!1,new Error("Maximum occupation time is exceeded in queue "+t))}),y)),o||void 0},dI.prototype._acquireBatch=function(t,e,i,n){"function"!=typeof i&&(n=i,i=null);var r=this,s=t.reduceRight((function(t,e){return function(t,e){return function(i){r.acquire(t,e,i,n)}}(e,t)}),e);if("function"!=typeof i)return new this.Promise((function(t,e){1===s.length?s((function(i,n){i?e(i):t(n)})):t(s())}));s(i)},dI.prototype.isBusy=function(t){return t?!!this.queues[t]:Object.keys(this.queues).length>0},dI.prototype._promiseTry=function(t){try{return this.Promise.resolve(t())}catch(t){return this.Promise.reject(t)}};var gI=q(dI),mI=RA.Buffer;function yI(t,e){this._block=mI.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}yI.prototype.update=function(t,e){"string"==typeof t&&(e=e||"utf8",t=mI.from(t,e));for(var i=this._block,n=this._blockSize,r=t.length,s=this._len,o=0;o=this._finalSize&&(this._update(this._block),this._block.fill(0));var i=8*this._len;if(i<=4294967295)this._block.writeUInt32BE(i,this._blockSize-4);else{var n=(4294967295&i)>>>0,r=(i-n)/4294967296;this._block.writeUInt32BE(r,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var s=this._hash();return t?s.toString(t):s},yI.prototype._update=function(){throw new Error("_update must be implemented by subclass")};var bI=ee,wI=yI,vI=RA.Buffer,DI=[1518500249,1859775393,-1894007588,-899497514],kI=new Array(80);function EI(){this.init(),this._w=kI,wI.call(this,64,56)}function xI(t){return t<<1|t>>>31}function AI(t){return t<<5|t>>>27}function FI(t){return t<<30|t>>>2}function CI(t,e,i,n){return 0===t?e&i|~e&n:2===t?e&i|e&n|i&n:e^i^n}bI(EI,wI),EI.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},EI.prototype._update=function(t){for(var e=this._w,i=0|this._a,n=0|this._b,r=0|this._c,s=0|this._d,o=0|this._e,a=0;a<16;++a)e[a]=t.readInt32BE(4*a);for(;a<80;++a)e[a]=xI(e[a-3]^e[a-8]^e[a-14]^e[a-16]);for(var u=0;u<80;++u){var l=~~(u/20),c=AI(i)+CI(l,n,r,s)+o+e[u]+DI[l]|0;o=s,s=r,r=FI(n),n=i,i=c}this._a=i+this._a|0,this._b=n+this._b|0,this._c=r+this._c|0,this._d=s+this._d|0,this._e=o+this._e|0},EI.prototype._hash=function(){var t=vI.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t};var SI,_I=q(EI),jI={};SI=jI,function(t){"undefined"==typeof DO_NOT_EXPORT_CRC?t(SI):t({})}((function(t){t.version="1.2.2";var e=function(){for(var t=0,e=new Array(256),i=0;256!=i;++i)t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=i)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1,e[i]=t;return"undefined"!=typeof Int32Array?new Int32Array(e):e}(),i=function(t){var e=0,i=0,n=0,r="undefined"!=typeof Int32Array?new Int32Array(4096):new Array(4096);for(n=0;256!=n;++n)r[n]=t[n];for(n=0;256!=n;++n)for(i=t[n],e=256+n;e<4096;e+=256)i=r[e]=i>>>8^t[255&i];var s=[];for(n=1;16!=n;++n)s[n-1]="undefined"!=typeof Int32Array?r.subarray(256*n,256*n+256):r.slice(256*n,256*n+256);return s}(e),n=i[0],r=i[1],s=i[2],o=i[3],a=i[4],u=i[5],l=i[6],c=i[7],h=i[8],p=i[9],f=i[10],d=i[11],g=i[12],m=i[13],y=i[14];t.table=e,t.bstr=function(t,i){for(var n=~i,r=0,s=t.length;r>>8^e[255&(n^t.charCodeAt(r++))];return~n},t.buf=function(t,i){for(var b=~i,w=t.length-15,v=0;v>8&255]^g[t[v++]^b>>16&255]^d[t[v++]^b>>>24]^f[t[v++]]^p[t[v++]]^h[t[v++]]^c[t[v++]]^l[t[v++]]^u[t[v++]]^a[t[v++]]^o[t[v++]]^s[t[v++]]^r[t[v++]]^n[t[v++]]^e[t[v++]];for(w+=15;v>>8^e[255&(b^t[v++])];return~b},t.str=function(t,i){for(var n=~i,r=0,s=t.length,o=0,a=0;r>>8^e[255&(n^o)]:o<2048?n=(n=n>>>8^e[255&(n^(192|o>>6&31))])>>>8^e[255&(n^(128|63&o))]:o>=55296&&o<57344?(o=64+(1023&o),a=1023&t.charCodeAt(r++),n=(n=(n=(n=n>>>8^e[255&(n^(240|o>>8&7))])>>>8^e[255&(n^(128|o>>2&63))])>>>8^e[255&(n^(128|a>>6&15|(3&o)<<4))])>>>8^e[255&(n^(128|63&a))]):n=(n=(n=n>>>8^e[255&(n^(224|o>>12&15))])>>>8^e[255&(n^(128|o>>6&63))])>>>8^e[255&(n^(128|63&o))];return~n}}));var OI=q(jI),BI={};!function(t){var e="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function i(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var n=e.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)i(n,r)&&(t[r]=n[r])}}return t},t.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var n={arraySet:function(t,e,i,n,r){if(e.subarray&&t.subarray)t.set(e.subarray(i,i+n),r);else for(var s=0;s=0;)t[e]=0}var MI=0,zI=29,qI=256,UI=qI+1+zI,GI=30,WI=19,HI=2*UI+1,VI=15,KI=16,YI=7,JI=256,ZI=16,QI=17,XI=18,t$=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],e$=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],i$=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],n$=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],r$=new Array(2*(UI+2));PI(r$);var s$=new Array(2*GI);PI(s$);var o$=new Array(512);PI(o$);var a$=new Array(256);PI(a$);var u$=new Array(zI);PI(u$);var l$,c$,h$,p$=new Array(GI);function f$(t,e,i,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=i,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function d$(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function g$(t){return t<256?o$[t]:o$[256+(t>>>7)]}function m$(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function y$(t,e,i){t.bi_valid>KI-i?(t.bi_buf|=e<>KI-t.bi_valid,t.bi_valid+=i-KI):(t.bi_buf|=e<>>=1,i<<=1}while(--e>0);return i>>>1}function v$(t,e,i){var n,r,s=new Array(VI+1),o=0;for(n=1;n<=VI;n++)s[n]=o=o+i[n-1]<<1;for(r=0;r<=e;r++){var a=t[2*r+1];0!==a&&(t[2*r]=w$(s[a]++,a))}}function D$(t){var e;for(e=0;e8?m$(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function E$(t,e,i,n){var r=2*e,s=2*i;return t[r]>1;i>=1;i--)x$(t,s,i);r=u;do{i=t.heap[1],t.heap[1]=t.heap[t.heap_len--],x$(t,s,1),n=t.heap[1],t.heap[--t.heap_max]=i,t.heap[--t.heap_max]=n,s[2*r]=s[2*i]+s[2*n],t.depth[r]=(t.depth[i]>=t.depth[n]?t.depth[i]:t.depth[n])+1,s[2*i+1]=s[2*n+1]=r,t.heap[1]=r++,x$(t,s,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var i,n,r,s,o,a,u=e.dyn_tree,l=e.max_code,c=e.stat_desc.static_tree,h=e.stat_desc.has_stree,p=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,d=e.stat_desc.max_length,g=0;for(s=0;s<=VI;s++)t.bl_count[s]=0;for(u[2*t.heap[t.heap_max]+1]=0,i=t.heap_max+1;id&&(s=d,g++),u[2*n+1]=s,n>l||(t.bl_count[s]++,o=0,n>=f&&(o=p[n-f]),a=u[2*n],t.opt_len+=a*(s+o),h&&(t.static_len+=a*(c[2*n+1]+o)));if(0!==g){do{for(s=d-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[d]--,g-=2}while(g>0);for(s=d;0!==s;s--)for(n=t.bl_count[s];0!==n;)(r=t.heap[--i])>l||(u[2*r+1]!==s&&(t.opt_len+=(s-u[2*r+1])*u[2*r],u[2*r+1]=s),n--)}}(t,e),v$(s,l,t.bl_count)}function C$(t,e,i){var n,r,s=-1,o=e[1],a=0,u=7,l=4;for(0===o&&(u=138,l=3),e[2*(i+1)+1]=65535,n=0;n<=i;n++)r=o,o=e[2*(n+1)+1],++a>=7;n0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,i=4093624447;for(e=0;e<=31;e++,i>>>=1)if(1&i&&0!==t.dyn_ltree[2*e])return NI;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return LI;for(e=32;e=3&&0===t.bl_tree[2*n$[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=r&&(r=s)):r=s=i+5,i+4<=r&&-1!==e?j$(t,e,i,n):4===t.strategy||s===r?(y$(t,2+(n?1:0),3),A$(t,r$,s$)):(y$(t,4+(n?1:0),3),function(t,e,i,n){var r;for(y$(t,e-257,5),y$(t,i-1,5),y$(t,n-4,4),r=0;r>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&i,t.last_lit++,0===e?t.dyn_ltree[2*i]++:(t.matches++,e--,t.dyn_ltree[2*(a$[i]+qI+1)]++,t.dyn_dtree[2*g$(e)]++),t.last_lit===t.lit_bufsize-1},II._tr_align=function(t){y$(t,2,3),b$(t,JI,r$),function(t){16===t.bi_valid?(m$(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)};var O$=function(t,e,i,n){for(var r=65535&t,s=t>>>16&65535,o=0;0!==i;){i-=o=i>2e3?2e3:i;do{s=s+(r=r+e[n++]|0)|0}while(--o);r%=65521,s%=65521}return r|s<<16};var B$=function(){for(var t,e=[],i=0;i<256;i++){t=i;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[i]=t}return e}();var T$,R$=function(t,e,i,n){var r=B$,s=n+i;t^=-1;for(var o=n;o>>8^r[255&(t^e[o])];return~t},I$={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},$$=BI,N$=II,L$=O$,P$=R$,M$=I$,z$=0,q$=4,U$=0,G$=-2,W$=-1,H$=4,V$=2,K$=8,Y$=9,J$=286,Z$=30,Q$=19,X$=2*J$+1,tN=15,eN=3,iN=258,nN=iN+eN+1,rN=42,sN=103,oN=113,aN=666,uN=1,lN=2,cN=3,hN=4;function pN(t,e){return t.msg=M$[e],e}function fN(t){return(t<<1)-(t>4?9:0)}function dN(t){for(var e=t.length;--e>=0;)t[e]=0}function gN(t){var e=t.state,i=e.pending;i>t.avail_out&&(i=t.avail_out),0!==i&&($$.arraySet(t.output,e.pending_buf,e.pending_out,i,t.next_out),t.next_out+=i,e.pending_out+=i,t.total_out+=i,t.avail_out-=i,e.pending-=i,0===e.pending&&(e.pending_out=0))}function mN(t,e){N$._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,gN(t.strm)}function yN(t,e){t.pending_buf[t.pending++]=e}function bN(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function wN(t,e,i,n){var r=t.avail_in;return r>n&&(r=n),0===r?0:(t.avail_in-=r,$$.arraySet(e,t.input,t.next_in,r,i),1===t.state.wrap?t.adler=L$(t.adler,e,r,i):2===t.state.wrap&&(t.adler=P$(t.adler,e,r,i)),t.next_in+=r,t.total_in+=r,r)}function vN(t,e){var i,n,r=t.max_chain_length,s=t.strstart,o=t.prev_length,a=t.nice_match,u=t.strstart>t.w_size-nN?t.strstart-(t.w_size-nN):0,l=t.window,c=t.w_mask,h=t.prev,p=t.strstart+iN,f=l[s+o-1],d=l[s+o];t.prev_length>=t.good_match&&(r>>=2),a>t.lookahead&&(a=t.lookahead);do{if(l[(i=e)+o]===d&&l[i+o-1]===f&&l[i]===l[s]&&l[++i]===l[s+1]){s+=2,i++;do{}while(l[++s]===l[++i]&&l[++s]===l[++i]&&l[++s]===l[++i]&&l[++s]===l[++i]&&l[++s]===l[++i]&&l[++s]===l[++i]&&l[++s]===l[++i]&&l[++s]===l[++i]&&so){if(t.match_start=e,o=n,n>=a)break;f=l[s+o-1],d=l[s+o]}}}while((e=h[e&c])>u&&0!=--r);return o<=t.lookahead?o:t.lookahead}function DN(t){var e,i,n,r,s,o=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=o+(o-nN)){$$.arraySet(t.window,t.window,o,o,0),t.match_start-=o,t.strstart-=o,t.block_start-=o,e=i=t.hash_size;do{n=t.head[--e],t.head[e]=n>=o?n-o:0}while(--i);e=i=o;do{n=t.prev[--e],t.prev[e]=n>=o?n-o:0}while(--i);r+=o}if(0===t.strm.avail_in)break;if(i=wN(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=i,t.lookahead+t.insert>=eN)for(s=t.strstart-t.insert,t.ins_h=t.window[s],t.ins_h=(t.ins_h<=eN&&(t.ins_h=(t.ins_h<=eN)if(n=N$._tr_tally(t,t.strstart-t.match_start,t.match_length-eN),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=eN){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<=eN&&(t.ins_h=(t.ins_h<4096)&&(t.match_length=eN-1)),t.prev_length>=eN&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-eN,n=N$._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-eN),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=(t.ins_h<15&&(o=2,n-=16),r<1||r>Y$||i!==K$||n<8||n>15||e<0||e>9||s<0||s>H$)return pN(t,G$);8===n&&(n=9);var a=new AN;return t.state=a,a.strm=t,a.wrap=o,a.gzhead=null,a.w_bits=n,a.w_size=1<t.pending_buf_size-5&&(i=t.pending_buf_size-5);;){if(t.lookahead<=1){if(DN(t),0===t.lookahead&&e===z$)return uN;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+i;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,mN(t,!1),0===t.strm.avail_out))return uN;if(t.strstart-t.block_start>=t.w_size-nN&&(mN(t,!1),0===t.strm.avail_out))return uN}return t.insert=0,e===q$?(mN(t,!0),0===t.strm.avail_out?cN:hN):(t.strstart>t.block_start&&(mN(t,!1),t.strm.avail_out),uN)})),new xN(4,4,8,4,kN),new xN(4,5,16,8,kN),new xN(4,6,32,32,kN),new xN(4,4,16,16,EN),new xN(8,16,32,32,EN),new xN(8,16,128,128,EN),new xN(8,32,128,256,EN),new xN(32,128,258,1024,EN),new xN(32,258,258,4096,EN)],RI.deflateInit=function(t,e){return SN(t,e,K$,15,8,0)},RI.deflateInit2=SN,RI.deflateReset=CN,RI.deflateResetKeep=FN,RI.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?G$:(t.state.gzhead=e,U$):G$},RI.deflate=function(t,e){var i,n,r,s;if(!t||!t.state||e>5||e<0)return t?pN(t,G$):G$;if(n=t.state,!t.output||!t.input&&0!==t.avail_in||n.status===aN&&e!==q$)return pN(t,0===t.avail_out?-5:G$);if(n.strm=t,i=n.last_flush,n.last_flush=e,n.status===rN)if(2===n.wrap)t.adler=0,yN(n,31),yN(n,139),yN(n,8),n.gzhead?(yN(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),yN(n,255&n.gzhead.time),yN(n,n.gzhead.time>>8&255),yN(n,n.gzhead.time>>16&255),yN(n,n.gzhead.time>>24&255),yN(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),yN(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(yN(n,255&n.gzhead.extra.length),yN(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=P$(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(yN(n,0),yN(n,0),yN(n,0),yN(n,0),yN(n,0),yN(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),yN(n,3),n.status=oN);else{var o=K$+(n.w_bits-8<<4)<<8;o|=(n.strategy>=2||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(o|=32),o+=31-o%31,n.status=oN,bN(n,o),0!==n.strstart&&(bN(n,t.adler>>>16),bN(n,65535&t.adler)),t.adler=1}if(69===n.status)if(n.gzhead.extra){for(r=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>r&&(t.adler=P$(t.adler,n.pending_buf,n.pending-r,r)),gN(t),r=n.pending,n.pending!==n.pending_buf_size));)yN(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>r&&(t.adler=P$(t.adler,n.pending_buf,n.pending-r,r)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){r=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>r&&(t.adler=P$(t.adler,n.pending_buf,n.pending-r,r)),gN(t),r=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindexr&&(t.adler=P$(t.adler,n.pending_buf,n.pending-r,r)),0===s&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){r=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>r&&(t.adler=P$(t.adler,n.pending_buf,n.pending-r,r)),gN(t),r=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindexr&&(t.adler=P$(t.adler,n.pending_buf,n.pending-r,r)),0===s&&(n.status=sN)}else n.status=sN;if(n.status===sN&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&gN(t),n.pending+2<=n.pending_buf_size&&(yN(n,255&t.adler),yN(n,t.adler>>8&255),t.adler=0,n.status=oN)):n.status=oN),0!==n.pending){if(gN(t),0===t.avail_out)return n.last_flush=-1,U$}else if(0===t.avail_in&&fN(e)<=fN(i)&&e!==q$)return pN(t,-5);if(n.status===aN&&0!==t.avail_in)return pN(t,-5);if(0!==t.avail_in||0!==n.lookahead||e!==z$&&n.status!==aN){var a=2===n.strategy?function(t,e){for(var i;;){if(0===t.lookahead&&(DN(t),0===t.lookahead)){if(e===z$)return uN;break}if(t.match_length=0,i=N$._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,i&&(mN(t,!1),0===t.strm.avail_out))return uN}return t.insert=0,e===q$?(mN(t,!0),0===t.strm.avail_out?cN:hN):t.last_lit&&(mN(t,!1),0===t.strm.avail_out)?uN:lN}(n,e):3===n.strategy?function(t,e){for(var i,n,r,s,o=t.window;;){if(t.lookahead<=iN){if(DN(t),t.lookahead<=iN&&e===z$)return uN;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=eN&&t.strstart>0&&(n=o[r=t.strstart-1])===o[++r]&&n===o[++r]&&n===o[++r]){s=t.strstart+iN;do{}while(n===o[++r]&&n===o[++r]&&n===o[++r]&&n===o[++r]&&n===o[++r]&&n===o[++r]&&n===o[++r]&&n===o[++r]&&rt.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=eN?(i=N$._tr_tally(t,1,t.match_length-eN),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(i=N$._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),i&&(mN(t,!1),0===t.strm.avail_out))return uN}return t.insert=0,e===q$?(mN(t,!0),0===t.strm.avail_out?cN:hN):t.last_lit&&(mN(t,!1),0===t.strm.avail_out)?uN:lN}(n,e):T$[n.level].func(n,e);if(a!==cN&&a!==hN||(n.status=aN),a===uN||a===cN)return 0===t.avail_out&&(n.last_flush=-1),U$;if(a===lN&&(1===e?N$._tr_align(n):5!==e&&(N$._tr_stored_block(n,0,0,!1),3===e&&(dN(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),gN(t),0===t.avail_out))return n.last_flush=-1,U$}return e!==q$?U$:n.wrap<=0?1:(2===n.wrap?(yN(n,255&t.adler),yN(n,t.adler>>8&255),yN(n,t.adler>>16&255),yN(n,t.adler>>24&255),yN(n,255&t.total_in),yN(n,t.total_in>>8&255),yN(n,t.total_in>>16&255),yN(n,t.total_in>>24&255)):(bN(n,t.adler>>>16),bN(n,65535&t.adler)),gN(t),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?U$:1)},RI.deflateEnd=function(t){var e;return t&&t.state?(e=t.state.status)!==rN&&69!==e&&73!==e&&91!==e&&e!==sN&&e!==oN&&e!==aN?pN(t,G$):(t.state=null,e===oN?pN(t,-3):U$):G$},RI.deflateSetDictionary=function(t,e){var i,n,r,s,o,a,u,l,c=e.length;if(!t||!t.state)return G$;if(2===(s=(i=t.state).wrap)||1===s&&i.status!==rN||i.lookahead)return G$;for(1===s&&(t.adler=L$(t.adler,e,c,0)),i.wrap=0,c>=i.w_size&&(0===s&&(dN(i.head),i.strstart=0,i.block_start=0,i.insert=0),l=new $$.Buf8(i.w_size),$$.arraySet(l,e,c-i.w_size,i.w_size,0),e=l,c=i.w_size),o=t.avail_in,a=t.next_in,u=t.input,t.avail_in=c,t.next_in=0,t.input=e,DN(i);i.lookahead>=eN;){n=i.strstart,r=i.lookahead-(eN-1);do{i.ins_h=(i.ins_h<=252?6:RN>=248?5:RN>=240?4:RN>=224?3:RN>=192?2:1;function IN(t,e){if(e<65534&&(t.subarray&&BN||!t.subarray&&ON))return String.fromCharCode.apply(null,jN.shrinkBuf(t,e));for(var i="",n=0;n>>6,e[s++]=128|63&i):i<65536?(e[s++]=224|i>>>12,e[s++]=128|i>>>6&63,e[s++]=128|63&i):(e[s++]=240|i>>>18,e[s++]=128|i>>>12&63,e[s++]=128|i>>>6&63,e[s++]=128|63&i);return e},_N.buf2binstring=function(t){return IN(t,t.length)},_N.binstring2buf=function(t){for(var e=new jN.Buf8(t.length),i=0,n=e.length;i4)a[n++]=65533,i+=s-1;else{for(r&=2===s?31:3===s?15:7;s>1&&i1?a[n++]=65533:r<65536?a[n++]=r:(r-=65536,a[n++]=55296|r>>10&1023,a[n++]=56320|1023&r)}return IN(a,n)},_N.utf8border=function(t,e){var i;for((e=e||t.length)>t.length&&(e=t.length),i=e-1;i>=0&&128==(192&t[i]);)i--;return i<0||0===i?e:i+TN[t[i]]>e?i:e};var $N=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},NN=RI,LN=BI,PN=_N,MN=I$,zN=$N,qN=Object.prototype.toString,UN=0,GN=-1,WN=0,HN=8;function VN(t){if(!(this instanceof VN))return new VN(t);this.options=LN.assign({level:GN,method:HN,chunkSize:16384,windowBits:15,memLevel:8,strategy:WN,to:""},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new zN,this.strm.avail_out=0;var i=NN.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(i!==UN)throw new Error(MN[i]);if(e.header&&NN.deflateSetHeader(this.strm,e.header),e.dictionary){var n;if(n="string"==typeof e.dictionary?PN.string2buf(e.dictionary):"[object ArrayBuffer]"===qN.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,(i=NN.deflateSetDictionary(this.strm,n))!==UN)throw new Error(MN[i]);this._dict_set=!0}}function KN(t,e){var i=new VN(e);if(i.push(t,!0),i.err)throw i.msg||MN[i.err];return i.result}VN.prototype.push=function(t,e){var i,n,r=this.strm,s=this.options.chunkSize;if(this.ended)return!1;n=e===~~e?e:!0===e?4:0,"string"==typeof t?r.input=PN.string2buf(t):"[object ArrayBuffer]"===qN.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;do{if(0===r.avail_out&&(r.output=new LN.Buf8(s),r.next_out=0,r.avail_out=s),1!==(i=NN.deflate(r,n))&&i!==UN)return this.onEnd(i),this.ended=!0,!1;0!==r.avail_out&&(0!==r.avail_in||4!==n&&2!==n)||("string"===this.options.to?this.onData(PN.buf2binstring(LN.shrinkBuf(r.output,r.next_out))):this.onData(LN.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||0===r.avail_out)&&1!==i);return 4===n?(i=NN.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===UN):2!==n||(this.onEnd(UN),r.avail_out=0,!0)},VN.prototype.onData=function(t){this.chunks.push(t)},VN.prototype.onEnd=function(t){t===UN&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=LN.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},TI.Deflate=VN,TI.deflate=KN,TI.deflateRaw=function(t,e){return(e=e||{}).raw=!0,KN(t,e)},TI.gzip=function(t,e){return(e=e||{}).gzip=!0,KN(t,e)};var YN={},JN={},ZN=BI,QN=15,XN=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],tL=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],eL=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],iL=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],nL=BI,rL=O$,sL=R$,oL=function(t,e){var i,n,r,s,o,a,u,l,c,h,p,f,d,g,m,y,b,w,v,D,k,E,x,A,F;i=t.state,n=t.next_in,A=t.input,r=n+(t.avail_in-5),s=t.next_out,F=t.output,o=s-(e-t.avail_out),a=s+(t.avail_out-257),u=i.dmax,l=i.wsize,c=i.whave,h=i.wnext,p=i.window,f=i.hold,d=i.bits,g=i.lencode,m=i.distcode,y=(1<>>=v=w>>>24,d-=v,0===(v=w>>>16&255))F[s++]=65535&w;else{if(!(16&v)){if(64&v){if(32&v){i.mode=12;break t}t.msg="invalid literal/length code",i.mode=30;break t}w=g[(65535&w)+(f&(1<>>=v,d-=v),d<15&&(f+=A[n++]<>>=v=w>>>24,d-=v,16&(v=w>>>16&255)){if(k=65535&w,d<(v&=15)&&(f+=A[n++]<u){t.msg="invalid distance too far back",i.mode=30;break t}if(f>>>=v,d-=v,k>(v=s-o)){if((v=k-v)>c&&i.sane){t.msg="invalid distance too far back",i.mode=30;break t}if(E=0,x=p,0===h){if(E+=l-v,v2;)F[s++]=x[E++],F[s++]=x[E++],F[s++]=x[E++],D-=3;D&&(F[s++]=x[E++],D>1&&(F[s++]=x[E++]))}else{E=s-k;do{F[s++]=F[E++],F[s++]=F[E++],F[s++]=F[E++],D-=3}while(D>2);D&&(F[s++]=F[E++],D>1&&(F[s++]=F[E++]))}break}if(64&v){t.msg="invalid distance code",i.mode=30;break t}w=m[(65535&w)+(f&(1<>3,f&=(1<<(d-=D<<3))-1,t.next_in=n,t.next_out=s,t.avail_in=n=1&&0===j[D];D--);if(k>D&&(k=D),0===D)return r[s++]=20971520,r[s++]=20971520,a.bits=1,0;for(v=1;v0&&(0===t||1!==D))return-1;for(O[1]=0,b=1;b852||2===t&&F>592)return 1;for(;;){d=b-x,o[w]f?(g=B[T+o[w]],m=S[_+o[w]]):(g=96,m=0),u=1<>x)+(l-=u)]=d<<24|g<<16|m}while(0!==l);for(u=1<>=1;if(0!==u?(C&=u-1,C+=u):C=0,w++,0==--j[b]){if(b===D)break;b=e[i+o[w]]}if(b>k&&(C&h)!==c){for(0===x&&(x=k),p+=v,A=1<<(E=b-x);E+x852||2===t&&F>592)return 1;r[c=C&h]=k<<24|E<<16|p-s}}return 0!==C&&(r[p+C]=b-x<<24|64<<16),a.bits=k,0},uL=1,lL=2,cL=0,hL=-2,pL=1,fL=12,dL=30,gL=852,mL=592;function yL(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function bL(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new nL.Buf16(320),this.work=new nL.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function wL(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=pL,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new nL.Buf32(gL),e.distcode=e.distdyn=new nL.Buf32(mL),e.sane=1,e.back=-1,cL):hL}function vL(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,wL(t)):hL}function DL(t,e){var i,n;return t&&t.state?(n=t.state,e<0?(i=0,e=-e):(i=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?hL:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=i,n.wbits=e,vL(t))):hL}function kL(t,e){var i,n;return t?(n=new bL,t.state=n,n.window=null,(i=DL(t,e))!==cL&&(t.state=null),i):hL}var EL,xL,AL=!0;function FL(t){if(AL){var e;for(EL=new nL.Buf32(512),xL=new nL.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(aL(uL,t.lens,0,288,EL,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;aL(lL,t.lens,0,32,xL,0,t.work,{bits:5}),AL=!1}t.lencode=EL,t.lenbits=9,t.distcode=xL,t.distbits=5}function CL(t,e,i,n){var r,s=t.state;return null===s.window&&(s.wsize=1<=s.wsize?(nL.arraySet(s.window,e,i-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):((r=s.wsize-s.wnext)>n&&(r=n),nL.arraySet(s.window,e,i-n,r,s.wnext),(n-=r)?(nL.arraySet(s.window,e,i-n,n,0),s.wnext=n,s.whave=s.wsize):(s.wnext+=r,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,i.check=sL(i.check,C,2,0),l=0,c=0,i.mode=2;break}if(i.flags=0,i.head&&(i.head.done=!1),!(1&i.wrap)||(((255&l)<<8)+(l>>8))%31){t.msg="incorrect header check",i.mode=dL;break}if(8!=(15&l)){t.msg="unknown compression method",i.mode=dL;break}if(c-=4,k=8+(15&(l>>>=4)),0===i.wbits)i.wbits=k;else if(k>i.wbits){t.msg="invalid window size",i.mode=dL;break}i.dmax=1<>8&1),512&i.flags&&(C[0]=255&l,C[1]=l>>>8&255,i.check=sL(i.check,C,2,0)),l=0,c=0,i.mode=3;case 3:for(;c<32;){if(0===a)break t;a--,l+=n[s++]<>>8&255,C[2]=l>>>16&255,C[3]=l>>>24&255,i.check=sL(i.check,C,4,0)),l=0,c=0,i.mode=4;case 4:for(;c<16;){if(0===a)break t;a--,l+=n[s++]<>8),512&i.flags&&(C[0]=255&l,C[1]=l>>>8&255,i.check=sL(i.check,C,2,0)),l=0,c=0,i.mode=5;case 5:if(1024&i.flags){for(;c<16;){if(0===a)break t;a--,l+=n[s++]<>>8&255,i.check=sL(i.check,C,2,0)),l=0,c=0}else i.head&&(i.head.extra=null);i.mode=6;case 6:if(1024&i.flags&&((f=i.length)>a&&(f=a),f&&(i.head&&(k=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Array(i.head.extra_len)),nL.arraySet(i.head.extra,n,s,f,k)),512&i.flags&&(i.check=sL(i.check,n,f,s)),a-=f,s+=f,i.length-=f),i.length))break t;i.length=0,i.mode=7;case 7:if(2048&i.flags){if(0===a)break t;f=0;do{k=n[s+f++],i.head&&k&&i.length<65536&&(i.head.name+=String.fromCharCode(k))}while(k&&f>9&1,i.head.done=!0),t.adler=i.check=0,i.mode=fL;break;case 10:for(;c<32;){if(0===a)break t;a--,l+=n[s++]<>>=7&c,c-=7&c,i.mode=27;break}for(;c<3;){if(0===a)break t;a--,l+=n[s++]<>>=1)){case 0:i.mode=14;break;case 1:if(FL(i),i.mode=20,6===e){l>>>=2,c-=2;break t}break;case 2:i.mode=17;break;case 3:t.msg="invalid block type",i.mode=dL}l>>>=2,c-=2;break;case 14:for(l>>>=7&c,c-=7&c;c<32;){if(0===a)break t;a--,l+=n[s++]<>>16^65535)){t.msg="invalid stored block lengths",i.mode=dL;break}if(i.length=65535&l,l=0,c=0,i.mode=15,6===e)break t;case 15:i.mode=16;case 16:if(f=i.length){if(f>a&&(f=a),f>u&&(f=u),0===f)break t;nL.arraySet(r,n,s,f,o),a-=f,s+=f,u-=f,o+=f,i.length-=f;break}i.mode=fL;break;case 17:for(;c<14;){if(0===a)break t;a--,l+=n[s++]<>>=5,c-=5,i.ndist=1+(31&l),l>>>=5,c-=5,i.ncode=4+(15&l),l>>>=4,c-=4,i.nlen>286||i.ndist>30){t.msg="too many length or distance symbols",i.mode=dL;break}i.have=0,i.mode=18;case 18:for(;i.have>>=3,c-=3}for(;i.have<19;)i.lens[S[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,x={bits:i.lenbits},E=aL(0,i.lens,0,19,i.lencode,0,i.work,x),i.lenbits=x.bits,E){t.msg="invalid code lengths set",i.mode=dL;break}i.have=0,i.mode=19;case 19:for(;i.have>>16&255,b=65535&F,!((m=F>>>24)<=c);){if(0===a)break t;a--,l+=n[s++]<>>=m,c-=m,i.lens[i.have++]=b;else{if(16===b){for(A=m+2;c>>=m,c-=m,0===i.have){t.msg="invalid bit length repeat",i.mode=dL;break}k=i.lens[i.have-1],f=3+(3&l),l>>>=2,c-=2}else if(17===b){for(A=m+3;c>>=m)),l>>>=3,c-=3}else{for(A=m+7;c>>=m)),l>>>=7,c-=7}if(i.have+f>i.nlen+i.ndist){t.msg="invalid bit length repeat",i.mode=dL;break}for(;f--;)i.lens[i.have++]=k}}if(i.mode===dL)break;if(0===i.lens[256]){t.msg="invalid code -- missing end-of-block",i.mode=dL;break}if(i.lenbits=9,x={bits:i.lenbits},E=aL(uL,i.lens,0,i.nlen,i.lencode,0,i.work,x),i.lenbits=x.bits,E){t.msg="invalid literal/lengths set",i.mode=dL;break}if(i.distbits=6,i.distcode=i.distdyn,x={bits:i.distbits},E=aL(lL,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,x),i.distbits=x.bits,E){t.msg="invalid distances set",i.mode=dL;break}if(i.mode=20,6===e)break t;case 20:i.mode=21;case 21:if(a>=6&&u>=258){t.next_out=o,t.avail_out=u,t.next_in=s,t.avail_in=a,i.hold=l,i.bits=c,oL(t,p),o=t.next_out,r=t.output,u=t.avail_out,s=t.next_in,n=t.input,a=t.avail_in,l=i.hold,c=i.bits,i.mode===fL&&(i.back=-1);break}for(i.back=0;y=(F=i.lencode[l&(1<>>16&255,b=65535&F,!((m=F>>>24)<=c);){if(0===a)break t;a--,l+=n[s++]<>w)])>>>16&255,b=65535&F,!(w+(m=F>>>24)<=c);){if(0===a)break t;a--,l+=n[s++]<>>=w,c-=w,i.back+=w}if(l>>>=m,c-=m,i.back+=m,i.length=b,0===y){i.mode=26;break}if(32&y){i.back=-1,i.mode=fL;break}if(64&y){t.msg="invalid literal/length code",i.mode=dL;break}i.extra=15&y,i.mode=22;case 22:if(i.extra){for(A=i.extra;c>>=i.extra,c-=i.extra,i.back+=i.extra}i.was=i.length,i.mode=23;case 23:for(;y=(F=i.distcode[l&(1<>>16&255,b=65535&F,!((m=F>>>24)<=c);){if(0===a)break t;a--,l+=n[s++]<>w)])>>>16&255,b=65535&F,!(w+(m=F>>>24)<=c);){if(0===a)break t;a--,l+=n[s++]<>>=w,c-=w,i.back+=w}if(l>>>=m,c-=m,i.back+=m,64&y){t.msg="invalid distance code",i.mode=dL;break}i.offset=b,i.extra=15&y,i.mode=24;case 24:if(i.extra){for(A=i.extra;c>>=i.extra,c-=i.extra,i.back+=i.extra}if(i.offset>i.dmax){t.msg="invalid distance too far back",i.mode=dL;break}i.mode=25;case 25:if(0===u)break t;if(f=p-u,i.offset>f){if((f=i.offset-f)>i.whave&&i.sane){t.msg="invalid distance too far back",i.mode=dL;break}f>i.wnext?(f-=i.wnext,d=i.wsize-f):d=i.wnext-f,f>i.length&&(f=i.length),g=i.window}else g=r,d=o-i.offset,f=i.length;f>u&&(f=u),u-=f,i.length-=f;do{r[o++]=g[d++]}while(--f);0===i.length&&(i.mode=21);break;case 26:if(0===u)break t;r[o++]=i.length,u--,i.mode=21;break;case 27:if(i.wrap){for(;c<32;){if(0===a)break t;a--,l|=n[s++]<=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&(15&e.windowBits||(e.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new RL,this.strm.avail_out=0;var i=_L.inflateInit2(this.strm,e.windowBits);if(i!==BL.Z_OK)throw new Error(TL[i]);if(this.header=new IL,_L.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=OL.string2buf(e.dictionary):"[object ArrayBuffer]"===$L.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(i=_L.inflateSetDictionary(this.strm,e.dictionary))!==BL.Z_OK))throw new Error(TL[i])}function LL(t,e){var i=new NL(e);if(i.push(t,!0),i.err)throw i.msg||TL[i.err];return i.result}NL.prototype.push=function(t,e){var i,n,r,s,o,a=this.strm,u=this.options.chunkSize,l=this.options.dictionary,c=!1;if(this.ended)return!1;n=e===~~e?e:!0===e?BL.Z_FINISH:BL.Z_NO_FLUSH,"string"==typeof t?a.input=OL.binstring2buf(t):"[object ArrayBuffer]"===$L.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=new jL.Buf8(u),a.next_out=0,a.avail_out=u),(i=_L.inflate(a,BL.Z_NO_FLUSH))===BL.Z_NEED_DICT&&l&&(i=_L.inflateSetDictionary(this.strm,l)),i===BL.Z_BUF_ERROR&&!0===c&&(i=BL.Z_OK,c=!1),i!==BL.Z_STREAM_END&&i!==BL.Z_OK)return this.onEnd(i),this.ended=!0,!1;a.next_out&&(0!==a.avail_out&&i!==BL.Z_STREAM_END&&(0!==a.avail_in||n!==BL.Z_FINISH&&n!==BL.Z_SYNC_FLUSH)||("string"===this.options.to?(r=OL.utf8border(a.output,a.next_out),s=a.next_out-r,o=OL.buf2string(a.output,r),a.next_out=s,a.avail_out=u-s,s&&jL.arraySet(a.output,a.output,r,s,0),this.onData(o)):this.onData(jL.shrinkBuf(a.output,a.next_out)))),0===a.avail_in&&0===a.avail_out&&(c=!0)}while((a.avail_in>0||0===a.avail_out)&&i!==BL.Z_STREAM_END);return i===BL.Z_STREAM_END&&(n=BL.Z_FINISH),n===BL.Z_FINISH?(i=_L.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===BL.Z_OK):n!==BL.Z_SYNC_FLUSH||(this.onEnd(BL.Z_OK),a.avail_out=0,!0)},NL.prototype.onData=function(t){this.chunks.push(t)},NL.prototype.onEnd=function(t){t===BL.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=jL.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},YN.Inflate=NL,YN.inflate=LL,YN.inflateRaw=function(t,e){return(e=e||{}).raw=!0,LL(t,e)},YN.ungzip=LL;var PL={};(0,BI.assign)(PL,TI,YN,SL);var ML=q(PL);const zL=(t,e)=>function(...i){return new(0,e.promiseModule)(((n,r)=>{e.multiArgs?i.push(((...t)=>{e.errorFirst?t[0]?r(t):(t.shift(),n(t)):n(t)})):e.errorFirst?i.push(((t,e)=>{t?r(t):n(e)})):i.push(n),t.apply(this,i)}))};var qL=(t,e)=>{e=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:!0,promiseModule:Promise},e);const i=typeof t;if(null===t||"object"!==i&&"function"!==i)throw new TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${null===t?"null":i}\``);const n=t=>{const i=e=>"string"==typeof e?t===e:e.test(t);return e.include?e.include.some(i):!e.exclude.some(i)};let r;r="function"===i?function(...i){return e.excludeMain?t(...i):zL(t,e).apply(this,i)}:Object.create(Object.getPrototypeOf(t));for(const i in t){const s=t[i];r[i]="function"==typeof s&&n(i)?zL(s,e):s}return r},UL=q(qL);function GL(t,e,i){return e=e instanceof RegExp?e:new RegExp(function(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(e),"g"),t.replace(e,i)}var WL=q({clean:function(t){if("string"!=typeof t)throw new Error("Expected a string, received: "+t);return t=GL(t,"./","/"),t=GL(t,"..","."),t=GL(t," ","-"),t=GL(t,/^[~^:?*\\\-]/g,""),t=GL(t,/[~^:?*\\]/g,"-"),t=GL(t,/[~^:?*\\\-]$/g,""),t=GL(t,"@{","-"),t=GL(t,/\.$/g,""),t=GL(t,/\/$/g,""),t=GL(t,/\.lock$/g,"")}}),HL=function(t,e){var i,n,r=t,s=e,o=r.length,a=s.length,u=!1,l=null,c=o+1,h=[],p=[],f=[],d="",g=function(t,e,i){return{x:t,y:e,k:i}},m=function(t,e){return{elem:t,t:e}},y=function(t,e,i){var n,u,l;for(n=e>i?h[t-1+c]:h[t+1+c],u=(l=Math.max(e,i))-t;u=a&&(i=r,n=o,r=s,s=i,o=a,a=n,u=!0,c=o+1),{SES_DELETE:-1,SES_COMMON:0,SES_ADD:1,editdistance:function(){return l},getlcs:function(){return d},getses:function(){return f},compose:function(){var t,e,i,n,b,w,v,D;for(t=a-o,e=o+a+3,i={},v=0;v=t+1;--D)i[D+c]=y(D,i[D-1+c]+1,i[D+1+c]);i[t+c]=y(t,i[t-1+c]+1,i[t+1+c])}while(i[t+c]!==a);for(l=t+2*n,b=h[t+c],w=[];-1!==b;)w[w.length]=new g(p[b].x,p[b].y,null),b=p[b].k;!function(t){var e,i,n;for(e=i=0,n=t.length-1;n>=0;--n)for(;ei-e?(f[f.length]=new m(s[i],u?-1:1),++i):t[n].y-t[n].x=0;--u)s[u].t===i.SES_COMMON?(r?(r.chain={file1index:o,file2index:a,chain:null},r=r.chain):r=n={file1index:o,file2index:a,chain:null},o--,a--):s[u].t===i.SES_DELETE?o--:s[u].t===i.SES_ADD&&a--;var l={file1index:-1,file2index:-1,chain:null};return r?(r.chain=l,n):l}(t,e);null!==s;s=s.chain){var o=n-s.file1index-1,a=r-s.file2index-1;n=s.file1index,r=s.file2index,(o||a)&&i.push({file1:[n+1,o],file2:[r+1,a]})}return i.reverse(),i}var KL=function(t,e,i){var n=[],r=[t,e,i],s=function(t,e,i){var n,r=VL(e,t),s=VL(e,i),o=[];function a(t,e){o.push([t.file1[0],e,t.file1[1],t.file2[0],t.file2[1]])}for(n=0;nl&&(u.push([1,l,t-l]),l=t)}for(var h=0;hg)break;g=Math.max(g,y+m[2]),h++}if(c(d),p==h)f[4]>0&&u.push([f[1],f[3],f[4]]);else{var b={0:[t.length,-1,e.length,-1],2:[i.length,-1,e.length,-1]};for(n=p;n<=h;n++){var w=b[(f=o[n])[1]],v=f[0],D=v+f[2],k=f[3],E=k+f[4];w[0]=Math.min(k,w[0]),w[1]=Math.max(E,w[1]),w[2]=Math.min(v,w[2]),w[3]=Math.max(D,w[3])}var x=b[0][0]+(d-b[0][2]),A=b[0][1]+(g-b[0][3]),F=b[2][0]+(d-b[2][2]),C=b[2][1]+(g-b[2][3]);u.push([-1,x,A-x,d,g-d,F,C-F])}l=g}return c(e.length),u}(t,e,i),o=[];function a(){o.length&&n.push({ok:o}),o=[]}function u(t){for(var e=0;e=this.buffer.length}tell(){return this._start}seek(t){this._start=t}slice(t){const e=this.buffer.slice(this._start,this._start+t);return this._start+=t,e}toString(t,e){const i=this.buffer.toString(t,this._start,this._start+e);return this._start+=e,i}write(t,e,i){const n=this.buffer.write(t,this._start,e,i);return this._start+=e,n}copy(t,e,i){const n=t.copy(this.buffer,this._start,e,i);return this._start+=n,n}readUInt8(){const t=this.buffer.readUInt8(this._start);return this._start+=1,t}writeUInt8(t){const e=this.buffer.writeUInt8(t,this._start);return this._start+=1,e}readUInt16BE(){const t=this.buffer.readUInt16BE(this._start);return this._start+=2,t}writeUInt16BE(t){const e=this.buffer.writeUInt16BE(t,this._start);return this._start+=2,e}readUInt32BE(){const t=this.buffer.readUInt32BE(this._start);return this._start+=4,t}writeUInt32BE(t){const e=this.buffer.writeUInt32BE(t,this._start);return this._start+=4,e}}function eP(t,e){return-(te)}function iP(t,e){return eP(t.path,e.path)}function nP(t){let e=t>0?t>>12:0;4!==e&&8!==e&&10!==e&&14!==e&&(e=8);let i=511&t;return i=73&i?493:420,8!==e&&(i=0),(e<<12)+i}const rP=2**32;function sP(t,e,i,n){if(void 0!==t&&void 0!==e)return[t,e];void 0===i&&(i=n.valueOf());const r=Math.floor(i/1e3);return[r,1e6*(i-1e3*r)]}function oP(t){const[e,i]=sP(t.ctimeSeconds,t.ctimeNanoseconds,t.ctimeMs,t.ctime),[n,r]=sP(t.mtimeSeconds,t.mtimeNanoseconds,t.mtimeMs,t.mtime);return{ctimeSeconds:e%rP,ctimeNanoseconds:i%rP,mtimeSeconds:n%rP,mtimeNanoseconds:r%rP,dev:t.dev%rP,ino:t.ino%rP,mode:nP(t.mode%rP),uid:t.uid%rP,gid:t.gid%rP,size:t.size>-1?t.size%rP:0}}let aP=null;async function uP(t){return null===aP&&(aP=await async function(){try{if("da39a3ee5e6b4b0d3255bfef95601890afd80709"===await lP(new Uint8Array([])))return!0}catch(t){}return!1}()),aP?lP(t):function(t){return(new _I).update(t).digest("hex")}(t)}async function lP(t){return function(t){let e="";for(const i of new Uint8Array(t))i<16&&(e+="0"),e+=i.toString(16);return e}(await crypto.subtle.digest("SHA-1",t))}class cP{constructor(t,e){this._dirty=!1,this._unmergedPaths=e||new Set,this._entries=t||new Map}_addEntry(t){if(0===t.flags.stage)t.stages=[t],this._entries.set(t.path,t),this._unmergedPaths.delete(t.path);else{let e=this._entries.get(t.path);e||(this._entries.set(t.path,t),e=t),e.stages[t.flags.stage]=t,this._unmergedPaths.add(t.path)}}static async from(t){if(Buffer.isBuffer(t))return cP.fromBuffer(t);if(null===t)return new cP(null);throw new QL("invalid type passed to GitIndex.from")}static async fromBuffer(t){if(0===t.length)throw new QL("Index file is empty (.git/index)");const e=new cP,i=new tP(t),n=i.toString("utf8",4);if("DIRC"!==n)throw new QL(`Invalid dircache magic file number: ${n}`);const r=await uP(t.slice(0,-20)),s=t.slice(-20).toString("hex");if(s!==r)throw new QL(`Invalid checksum in GitIndex buffer: expected ${s} but saw ${r}`);const o=i.readUInt32BE();if(2!==o)throw new QL(`Unsupported dircache version: ${o}`);const a=i.readUInt32BE();let u=0;for(;!i.eof()&&u>12,nameLength:4095&l});const s=t.indexOf(0,i.tell()+1)-i.tell();if(s<1)throw new QL(`Got a path length of: ${s}`);if(n.path=i.toString("utf8",s),n.path.includes("..\\")||n.path.includes("../"))throw new XL(n.path);let o=8-(i.tell()-12)%8;for(0===o&&(o=8);o--;){const t=i.readUInt8();if(0!==t)throw new QL(`Expected 1-8 null characters but got '${t}' after ${n.path}`);if(i.eof())throw new QL("Unexpected end of file")}n.stages=[],e._addEntry(n),u++}var l;return e}get unmergedPaths(){return[...this._unmergedPaths]}get entries(){return[...this._entries.values()].sort(iP)}get entriesMap(){return this._entries}get entriesFlat(){return[...this.entries].flatMap((t=>t.stages.length>1?t.stages.filter((t=>t)):t))}*[Symbol.iterator](){for(const t of this.entries)yield t}insert({filepath:t,stats:e,oid:i,stage:n=0}){e||(e={ctimeSeconds:0,ctimeNanoseconds:0,mtimeSeconds:0,mtimeNanoseconds:0,dev:0,ino:0,mode:0,uid:0,gid:0,size:0}),e=oP(e);const r=Buffer.from(t),s={ctimeSeconds:e.ctimeSeconds,ctimeNanoseconds:e.ctimeNanoseconds,mtimeSeconds:e.mtimeSeconds,mtimeNanoseconds:e.mtimeNanoseconds,dev:e.dev,ino:e.ino,mode:e.mode||33188,uid:e.uid,gid:e.gid,size:e.size,path:t,oid:i,flags:{assumeValid:!1,extended:!1,stage:n,nameLength:r.length<4095?r.length:4095},stages:[]};this._addEntry(s),this._dirty=!0}delete({filepath:t}){if(this._entries.has(t))this._entries.delete(t);else for(const e of this._entries.keys())e.startsWith(t+"/")&&this._entries.delete(e);this._unmergedPaths.has(t)&&this._unmergedPaths.delete(t),this._dirty=!0}clear(){this._entries.clear(),this._dirty=!0}has({filepath:t}){return this._entries.has(t)}render(){return this.entries.map((t=>`${t.mode.toString(8)} ${t.oid} ${t.path}`)).join("\n")}static async _entryToBuffer(t){const e=Buffer.from(t.path),i=8*Math.ceil((62+e.length+1)/8),n=Buffer.alloc(i),r=new tP(n),s=oP(t);return r.writeUInt32BE(s.ctimeSeconds),r.writeUInt32BE(s.ctimeNanoseconds),r.writeUInt32BE(s.mtimeSeconds),r.writeUInt32BE(s.mtimeNanoseconds),r.writeUInt32BE(s.dev),r.writeUInt32BE(s.ino),r.writeUInt32BE(s.mode),r.writeUInt32BE(s.uid),r.writeUInt32BE(s.gid),r.writeUInt32BE(s.size),r.write(t.oid,20,"hex"),r.writeUInt16BE(function(t){const e=t.flags;return e.extended=!1,e.nameLength=Math.min(Buffer.from(t.path).length,4095),(e.assumeValid?32768:0)+(e.extended?16384:0)+((3&e.stage)<<12)+(4095&e.nameLength)}(t)),r.write(t.path,e.length,"utf8"),n}async toObject(){const t=Buffer.alloc(12),e=new tP(t);e.write("DIRC",4,"utf8"),e.writeUInt32BE(2),e.writeUInt32BE(this.entriesFlat.length);let i=[];for(const t of this.entries)if(i.push(cP._entryToBuffer(t)),t.stages.length>1)for(const e of t.stages)e&&e!==t&&i.push(cP._entryToBuffer(e));i=await Promise.all(i);const n=Buffer.concat(i),r=Buffer.concat([t,n]),s=await uP(r);return Buffer.concat([r,Buffer.from(s,"hex")])}}function hP(t,e){const i=oP(t),n=oP(e);return i.mode!==n.mode||i.mtimeSeconds!==n.mtimeSeconds||i.ctimeSeconds!==n.ctimeSeconds||i.uid!==n.uid||i.gid!==n.gid||i.ino!==n.ino||i.size!==n.size}let pP=null;const fP=Symbol("IndexCache");class dP{static async acquire({fs:t,gitdir:e,cache:i,allowUnmerged:n=!0},r){i[fP]||(i[fP]={map:new Map,stats:new Map});const s=`${e}/index`;let o;null===pP&&(pP=new gI({maxPending:1/0}));let a=[];return await pP.acquire(s,(async()=>{await async function(t,e,i){const n=i.stats.get(e);if(void 0===n)return!0;const r=await t.lstat(e);return null!==n&&null!==r&&hP(n,r)}(t,s,i[fP])&&await async function(t,e,i){const n=await t.lstat(e),r=await t.read(e),s=await cP.from(r);i.map.set(e,s),i.stats.set(e,n)}(t,s,i[fP]);const e=i[fP].map.get(s);if(a=e.unmergedPaths,a.length&&!n)throw new ZL(a);if(o=await r(e),e._dirty){const n=await e.toObject();await t.write(s,n),i[fP].stats.set(s,await t.lstat(s)),e._dirty=!1}})),o}}function gP(t){const e=Math.max(t.lastIndexOf("/"),t.lastIndexOf("\\"));return e>-1&&(t=t.slice(e+1)),t}function mP(t){const e=Math.max(t.lastIndexOf("/"),t.lastIndexOf("\\"));return-1===e?".":0===e?"/":t.slice(0,e)}function yP(t){const e=new Map,i=function(t){if(!e.has(t)){const n={type:"tree",fullpath:t,basename:gP(t),metadata:{},children:[]};e.set(t,n),n.parent=i(mP(t)),n.parent&&n.parent!==n&&n.parent.children.push(n)}return e.get(t)},n=function(t,n){if(!e.has(t)){const r={type:"blob",fullpath:t,basename:gP(t),metadata:n,parent:i(mP(t)),children:[]};r.parent&&r.parent.children.push(r),e.set(t,r)}return e.get(t)};i(".");for(const e of t)n(e.path,e);return e}class bP{constructor({fs:t,gitdir:e,cache:i}){this.treePromise=dP.acquire({fs:t,gitdir:e,cache:i},(async function(t){return yP(t.entries)}));const n=this;this.ConstructEntry=class{constructor(t){this._fullpath=t,this._type=!1,this._mode=!1,this._stat=!1,this._oid=!1}async type(){return n.type(this)}async mode(){return n.mode(this)}async stat(){return n.stat(this)}async content(){return n.content(this)}async oid(){return n.oid(this)}}}async readdir(t){const e=t._fullpath,i=(await this.treePromise).get(e);if(!i)return null;if("blob"===i.type)return null;if("tree"!==i.type)throw new Error(`ENOTDIR: not a directory, scandir '${e}'`);const n=i.children.map((t=>t.fullpath));return n.sort(eP),n}async type(t){return!1===t._type&&await t.stat(),t._type}async mode(t){return!1===t._mode&&await t.stat(),t._mode}async stat(t){if(!1===t._stat){const e=(await this.treePromise).get(t._fullpath);if(!e)throw new Error(`ENOENT: no such file or directory, lstat '${t._fullpath}'`);const i="tree"===e.type?{}:oP(e.metadata);t._type="tree"===e.type?"tree":function(t){switch(t){case 16384:return"tree";case 33188:case 33261:case 40960:return"blob";case 57344:return"commit"}throw new QL(`Unexpected GitTree entry mode: ${t.toString(8)}`)}(i.mode),t._mode=i.mode,"tree"===e.type?t._stat=void 0:t._stat=i}return t._stat}async content(t){}async oid(t){if(!1===t._oid){const e=(await this.treePromise).get(t._fullpath);t._oid=e.metadata.oid}return t._oid}}const wP=Symbol("GitWalkSymbol");function vP(){const t=Object.create(null);return Object.defineProperty(t,wP,{value:function({fs:t,gitdir:e,cache:i}){return new bP({fs:t,gitdir:e,cache:i})}}),Object.freeze(t),t}class DP extends JL{constructor(t){super(`Could not find ${t}.`),this.code=this.name=DP.code,this.data={what:t}}}DP.code="NotFoundError";class kP extends JL{constructor(t,e,i,n){super(`Object ${t} ${n?`at ${n}`:""}was anticipated to be a ${i} but it is a ${e}.`),this.code=this.name=kP.code,this.data={oid:t,actual:e,expected:i,filepath:n}}}kP.code="ObjectTypeError";class EP extends JL{constructor(t){super(`Expected a 40-char hex object id but saw "${t}".`),this.code=this.name=EP.code,this.data={value:t}}}EP.code="InvalidOidError";class xP extends JL{constructor(t){super(`Could not find a fetch refspec for remote "${t}". Make sure the config file has an entry like the following:\n[remote "${t}"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n`),this.code=this.name=xP.code,this.data={remote:t}}}xP.code="NoRefspecError";class AP{constructor(t){if(this.refs=new Map,this.parsedConfig=[],t){let e=null;this.parsedConfig=t.trim().split("\n").map((t=>{if(/^\s*#/.test(t))return{line:t,comment:!0};const i=t.indexOf(" ");if(t.startsWith("^")){const i=t.slice(1);return this.refs.set(e+"^{}",i),{line:t,ref:e,peeled:i}}{const n=t.slice(0,i);return e=t.slice(i+1),this.refs.set(e,n),{line:t,ref:e,oid:n}}}))}return this}static from(t){return new AP(t)}delete(t){this.parsedConfig=this.parsedConfig.filter((e=>e.ref!==t)),this.refs.delete(t)}toString(){return this.parsedConfig.map((({line:t})=>t)).join("\n")+"\n"}}class FP{constructor({remotePath:t,localPath:e,force:i,matchPrefix:n}){Object.assign(this,{remotePath:t,localPath:e,force:i,matchPrefix:n})}static from(t){const[e,i,n,r,s]=t.match(/^(\+?)(.*?)(\*?):(.*?)(\*?)$/).slice(1),o="+"===e,a="*"===n;if(a!==("*"===s))throw new QL("Invalid refspec");return new FP({remotePath:i,localPath:r,force:o,matchPrefix:a})}translate(t){if(this.matchPrefix){if(t.startsWith(this.remotePath))return this.localPath+t.replace(this.remotePath,"")}else if(t===this.remotePath)return this.localPath;return null}reverseTranslate(t){if(this.matchPrefix){if(t.startsWith(this.localPath))return this.remotePath+t.replace(this.localPath,"")}else if(t===this.localPath)return this.remotePath;return null}}class CP{constructor(t=[]){this.rules=t}static from(t){const e=[];for(const i of t)e.push(FP.from(i));return new CP(e)}add(t){const e=FP.from(t);this.rules.push(e)}translate(t){const e=[];for(const i of this.rules)for(const n of t){const t=i.translate(n);t&&e.push([n,t])}return e}translateOne(t){let e=null;for(const i of this.rules){const n=i.translate(t);n&&(e=n)}return e}localNamespaces(){return this.rules.filter((t=>t.matchPrefix)).map((t=>t.localPath.replace(/\/$/,"")))}}function SP(t,e){const i=t.replace(/\^\{\}$/,""),n=e.replace(/\^\{\}$/,""),r=-(in);return 0===r?t.endsWith("^{}")?1:-1:r}const _P=new Map;function jP(t){let e=_P.get(t);return e||(e=function(t){if(t=t.split("/./").join("/").replace(/\/{2,}/g,"/"),"/."===t)return"/";if("./"===t)return".";t.startsWith("./")&&(t=t.slice(2));t.endsWith("/.")&&(t=t.slice(0,-2));t.length>1&&t.endsWith("/")&&(t=t.slice(0,-1));return""===t?".":t}(t),_P.set(t,e)),e}function OP(...t){return jP(t.map(jP).join("/"))}const BP=t=>{if("true"===(t=t.trim().toLowerCase())||"yes"===t||"on"===t)return!0;if("false"===t||"no"===t||"off"===t)return!1;throw Error(`Expected 'true', 'false', 'yes', 'no', 'on', or 'off', but got ${t}`)},TP={core:{filemode:BP,bare:BP,logallrefupdates:BP,symlinks:BP,ignorecase:BP,bigFileThreshold:t=>{t=t.toLowerCase();let e=parseInt(t);return t.endsWith("k")&&(e*=1024),t.endsWith("m")&&(e*=1048576),t.endsWith("g")&&(e*=1073741824),e}}},RP=/^\[([A-Za-z0-9-.]+)(?: "(.*)")?\]$/,IP=/^[A-Za-z0-9-.]+$/,$P=/^([A-Za-z][A-Za-z-]*)(?: *= *(.*))?$/,NP=/^[A-Za-z][A-Za-z-]*$/,LP=/^(.*?)( *[#;].*)$/,PP=t=>{const e=LP.exec(t);if(null==e)return t;const[i,n]=e.slice(1);return MP(i)&&MP(n)?`${i}${n}`:i},MP=t=>(t.match(/(?:^|[^\\])"/g)||[]).length%2!=0,zP=t=>t.split("").reduce(((t,e,i,n)=>{const r='"'===e&&"\\"!==n[i-1],s="\\"===e&&'"'===n[i+1];return r||s?t:t+e}),""),qP=t=>null!=t?t.toLowerCase():null,UP=(t,e,i)=>[qP(t),e,qP(i)].filter((t=>null!=t)).join("."),GP=t=>{const e=t.split("."),i=e.shift(),n=e.pop(),r=e.length?e.join("."):void 0;return{section:i,subsection:r,name:n,path:UP(i,r,n),sectionPath:UP(i,r,null)}};class WP{constructor(t){let e=null,i=null;this.parsedConfig=t.split("\n").map((t=>{let n=null,r=null;const s=t.trim(),o=(t=>{const e=RP.exec(t);if(null!=e){const[t,i]=e.slice(1);return[t,i]}return null})(s),a=null!=o;if(a)[e,i]=o;else{const t=(t=>{const e=$P.exec(t);if(null!=e){const[t,i="true"]=e.slice(1),n=PP(i);return[t,zP(n)]}return null})(s);null!=t&&([n,r]=t)}const u=UP(e,i,n);return{line:t,isSection:a,section:e,subsection:i,name:n,value:r,path:u}}))}static from(t){return new WP(t)}async get(t,e=!1){const i=GP(t).path,n=this.parsedConfig.filter((t=>t.path===i)).map((({section:t,name:e,value:i})=>{const n=TP[t]&&TP[t][e];return n?n(i):i}));return e?n:n.pop()}async getall(t){return this.get(t,!0)}async getSubsections(t){return this.parsedConfig.filter((e=>e.section===t&&e.isSection)).map((t=>t.subsection))}async deleteSection(t,e){this.parsedConfig=this.parsedConfig.filter((i=>!(i.section===t&&i.subsection===e)))}async append(t,e){return this.set(t,e,!0)}async set(t,e,i=!1){const{section:n,subsection:r,name:s,path:o,sectionPath:a}=GP(t),u=((t,e)=>t.reduce(((t,i,n)=>e(i)?n:t),-1))(this.parsedConfig,(t=>t.path===o));if(null==e)-1!==u&&this.parsedConfig.splice(u,1);else if(-1!==u){const t=this.parsedConfig[u],n=Object.assign({},t,{name:s,value:e,modified:!0});i?this.parsedConfig.splice(u+1,0,n):this.parsedConfig[u]=n}else{const t=this.parsedConfig.findIndex((t=>t.path===a)),i={section:n,subsection:r,name:s,value:e,modified:!0,path:o};if(IP.test(n)&&NP.test(s))if(t>=0)this.parsedConfig.splice(t+1,0,i);else{const t={section:n,subsection:r,modified:!0,path:a};this.parsedConfig.push(t,i)}}}toString(){return this.parsedConfig.map((({line:t,section:e,subsection:i,name:n,value:r,modified:s=!1})=>s?null!=n&&null!=r?"string"==typeof r&&/[#;]/.test(r)?`\t${n} = "${r}"`:`\t${n} = ${r}`:null!=i?`[${e} "${i}"]`:`[${e}]`:t)).join("\n")}}class HP{static async get({fs:t,gitdir:e}){const i=await t.read(`${e}/config`,{encoding:"utf8"});return WP.from(i)}static async save({fs:t,gitdir:e,config:i}){await t.write(`${e}/config`,i.toString(),{encoding:"utf8"})}}const VP=t=>[`${t}`,`refs/${t}`,`refs/tags/${t}`,`refs/heads/${t}`,`refs/remotes/${t}`,`refs/remotes/${t}/HEAD`],KP=["config","description","index","shallow","commondir"];class YP{static async updateRemoteRefs({fs:t,gitdir:e,remote:i,refs:n,symrefs:r,tags:s,refspecs:o,prune:a=!1,pruneTags:u=!1}){for(const t of n.values())if(!t.match(/[0-9a-f]{40}/))throw new EP(t);const l=await HP.get({fs:t,gitdir:e});if(!o){if(0===(o=await l.getall(`remote.${i}.fetch`)).length)throw new xP(i);o.unshift(`+HEAD:refs/remotes/${i}/HEAD`)}const c=CP.from(o),h=new Map;if(u){const i=await YP.listRefs({fs:t,gitdir:e,filepath:"refs/tags"});await YP.deleteRefs({fs:t,gitdir:e,refs:i.map((t=>`refs/tags/${t}`))})}if(s)for(const i of n.keys())if(i.startsWith("refs/tags")&&!i.endsWith("^{}")&&!await YP.exists({fs:t,gitdir:e,ref:i})){const t=n.get(i);h.set(i,t)}const p=c.translate([...n.keys()]);for(const[t,e]of p){const i=n.get(t);h.set(e,i)}const f=c.translate([...r.keys()]);for(const[t,e]of f){const i=r.get(t),n=c.translateOne(i);n&&h.set(e,`ref: ${n}`)}const d=[];if(a){for(const i of c.localNamespaces()){const n=(await YP.listRefs({fs:t,gitdir:e,filepath:i})).map((t=>`${i}/${t}`));for(const t of n)h.has(t)||d.push(t)}d.length>0&&await YP.deleteRefs({fs:t,gitdir:e,refs:d})}for(const[i,n]of h)await t.write(OP(e,i),`${n.trim()}\n`,"utf8");return{pruned:d}}static async writeRef({fs:t,gitdir:e,ref:i,value:n}){if(!n.match(/[0-9a-f]{40}/))throw new EP(n);await t.write(OP(e,i),`${n.trim()}\n`,"utf8")}static async writeSymbolicRef({fs:t,gitdir:e,ref:i,value:n}){await t.write(OP(e,i),`ref: ${n.trim()}\n`,"utf8")}static async deleteRef({fs:t,gitdir:e,ref:i}){return YP.deleteRefs({fs:t,gitdir:e,refs:[i]})}static async deleteRefs({fs:t,gitdir:e,refs:i}){await Promise.all(i.map((i=>t.rm(OP(e,i)))));let n=await t.read(`${e}/packed-refs`,{encoding:"utf8"});const r=AP.from(n),s=r.refs.size;for(const t of i)r.refs.has(t)&&r.delete(t);r.refs.size!KP.includes(t)));for(const i of o)if(r=await t.read(`${e}/${i}`,{encoding:"utf8"})||s.get(i),r)return YP.resolve({fs:t,gitdir:e,ref:r.trim(),depth:n});throw new DP(i)}static async exists({fs:t,gitdir:e,ref:i}){try{return await YP.expand({fs:t,gitdir:e,ref:i}),!0}catch(t){return!1}}static async expand({fs:t,gitdir:e,ref:i}){if(40===i.length&&/[0-9a-f]{40}/.test(i))return i;const n=await YP.packedRefs({fs:t,gitdir:e}),r=VP(i);for(const i of r){if(await t.exists(`${e}/${i}`))return i;if(n.has(i))return i}throw new DP(i)}static async expandAgainstMap({ref:t,map:e}){const i=VP(t);for(const t of i)if(await e.has(t))return t;throw new DP(t)}static resolveAgainstMap({ref:t,fullref:e=t,depth:i,map:n}){if(void 0!==i&&-1===--i)return{fullref:e,oid:t};if(t.startsWith("ref: "))return t=t.slice(5),YP.resolveAgainstMap({ref:t,fullref:e,depth:i,map:n});if(40===t.length&&/[0-9a-f]{40}/.test(t))return{fullref:e,oid:t};const r=VP(t);for(const t of r){const e=n.get(t);if(e)return YP.resolveAgainstMap({ref:e.trim(),fullref:t,depth:i,map:n})}throw new DP(t)}static async packedRefs({fs:t,gitdir:e}){const i=await t.read(`${e}/packed-refs`,{encoding:"utf8"});return AP.from(i).refs}static async listRefs({fs:t,gitdir:e,filepath:i}){const n=YP.packedRefs({fs:t,gitdir:e});let r=null;try{r=await t.readdirDeep(`${e}/${i}`),r=r.map((t=>t.replace(`${e}/${i}/`,"")))}catch(t){r=[]}for(let t of(await n).keys())t.startsWith(i)&&(t=t.replace(i+"/",""),r.includes(t)||r.push(t));return r.sort(SP),r}static async listBranches({fs:t,gitdir:e,remote:i}){return i?YP.listRefs({fs:t,gitdir:e,filepath:`refs/remotes/${i}`}):YP.listRefs({fs:t,gitdir:e,filepath:"refs/heads"})}static async listTags({fs:t,gitdir:e}){return(await YP.listRefs({fs:t,gitdir:e,filepath:"refs/tags"})).filter((t=>!t.endsWith("^{}")))}}function JP(t,e){return eP(ZP(t),ZP(e))}function ZP(t){return"040000"===t.mode?t.path+"/":t.path}function QP(t){switch(t){case"040000":return"tree";case"100644":case"100755":case"120000":return"blob";case"160000":return"commit"}throw new QL(`Unexpected GitTree entry mode: ${t}`)}function XP(t){return!t.oid&&t.sha&&(t.oid=t.sha),t.mode=function(t){if("number"==typeof t&&(t=t.toString(8)),t.match(/^0?4.*/))return"040000";if(t.match(/^1006.*/))return"100644";if(t.match(/^1007.*/))return"100755";if(t.match(/^120.*/))return"120000";if(t.match(/^160.*/))return"160000";throw new QL(`Could not understand file mode: ${t}`)}(t.mode),t.type||(t.type=QP(t.mode)),t}class tM{constructor(t){if(Buffer.isBuffer(t))this._entries=function(t){const e=[];let i=0;for(;i`${t.mode} ${t.type} ${t.oid} ${t.path}`)).join("\n")}toObject(){const t=[...this._entries];return t.sort(JP),Buffer.concat(t.map((t=>{const e=Buffer.from(t.mode.replace(/^0/,"")),i=Buffer.from(" "),n=Buffer.from(t.path,"utf8"),r=Buffer.from([0]),s=Buffer.from(t.oid,"hex");return Buffer.concat([e,i,n,r,s])})))}entries(){return this._entries}*[Symbol.iterator](){for(const t of this._entries)yield t}}class eM{static wrap({type:t,object:e}){return Buffer.concat([Buffer.from(`${t} ${e.byteLength.toString()}\0`),Buffer.from(e)])}static unwrap(t){const e=t.indexOf(32),i=t.indexOf(0),n=t.slice(0,e).toString("utf8"),r=t.slice(e+1,i).toString("utf8"),s=t.length-(i+1);if(parseInt(r)!==s)throw new QL(`Length mismatch: expected ${r} bytes but got ${s} instead.`);return{type:n,object:Buffer.from(t.slice(i+1))}}}function iM(t){let e=0,i=0,n=null;do{n=t.readUInt8(),e|=(127&n)<>=1,r+=8;return n}function rM(t,e){const i=t.readUInt8();if(128&i){const n=nM(t,15&i,4);let r=nM(t,(112&i)>>4,3);return 0===r&&(r=65536),e.slice(n,n+r)}return t.slice(i)}function sM(t){return t[Symbol.asyncIterator]?t[Symbol.asyncIterator]():t[Symbol.iterator]?t[Symbol.iterator]():t.next?t:function(t){let e=[t];return{next:()=>Promise.resolve({done:0===e.length,value:e.pop()}),return:()=>(e=[],{}),[Symbol.asyncIterator](){return this}}}(t)}class oM{constructor(t){this.stream=sM(t),this.buffer=null,this.cursor=0,this.undoCursor=0,this.started=!1,this._ended=!1,this._discardedBytes=0}eof(){return this._ended&&this.cursor===this.buffer.length}tell(){return this._discardedBytes+this.cursor}async byte(){if(!this.eof()&&(this.started||await this._init(),this.cursor!==this.buffer.length||(await this._loadnext(),!this._ended)))return this._moveCursor(1),this.buffer[this.undoCursor]}async chunk(){if(!this.eof()&&(this.started||await this._init(),this.cursor!==this.buffer.length||(await this._loadnext(),!this._ended)))return this._moveCursor(this.buffer.length),this.buffer.slice(this.undoCursor,this.cursor)}async read(t){if(!this.eof())return this.started||await this._init(),this.cursor+t>this.buffer.length&&(this._trim(),await this._accumulate(t)),this._moveCursor(t),this.buffer.slice(this.undoCursor,this.cursor)}async skip(t){this.eof()||(this.started||await this._init(),this.cursor+t>this.buffer.length&&(this._trim(),await this._accumulate(t)),this._moveCursor(t))}async undo(){this.cursor=this.undoCursor}async _next(){this.started=!0;let{done:t,value:e}=await this.stream.next();return t&&(this._ended=!0,!e)?Buffer.alloc(0):(e&&(e=Buffer.from(e)),e)}_trim(){this.buffer=this.buffer.slice(this.undoCursor),this.cursor-=this.undoCursor,this._discardedBytes+=this.undoCursor,this.undoCursor=0}_moveCursor(t){this.undoCursor=this.cursor,this.cursor+=t,this.cursor>this.buffer.length&&(this.cursor=this.buffer.length)}async _accumulate(t){if(this._ended)return;const e=[this.buffer];for(;this.cursor+t>aM(e);){const t=await this._next();if(this._ended)break;e.push(t)}this.buffer=Buffer.concat(e)}async _loadnext(){this._discardedBytes+=this.buffer.length,this.undoCursor=0,this.cursor=0,this.buffer=await this._next()}async _init(){this.buffer=await this._next()}}function aM(t){return t.reduce(((t,e)=>t+e.length),0)}async function uM(t){let e=await t.byte();const i=e>>4&7;let n,r,s=15&e;if(128&e){let i=4;do{e=await t.byte(),s|=(127&e)<2147483648)throw new QL("To keep implementation simple, I haven't implemented the layer 5 feature needed to support packfiles > 2GB in size.");i.seek(i.tell()+1020);const r=i.readUInt32BE(),s=[];for(let t=0;t{null===l&&(l=a);const u=Math.floor(100*(l-a)/l);u!==c&&i&&await i({phase:"Receiving objects",loaded:l-a,total:l}),c=u,(["commit","tree","blob","tag"].includes(e=n[e])||"ofs-delta"===e||"ref-delta"===e)&&(r[o]={type:e,offset:o})}));const h=Object.keys(r).map(Number);for(const[e,i]of h.entries()){const n=e+1===h.length?t.byteLength-20:h[e+1],s=r[i],o=OI.buf(t.slice(i,n))>>>0;s.end=n,s.crc=o}const p=new cM({pack:Promise.resolve(t),packfileSha:s,crcs:a,hashes:o,offsets:u,getExternalRefDelta:e});c=null;let f=0;const d=[0,0,0,0,0,0,0,0,0,0,0,0];for(let t in r){t=Number(t);const e=Math.floor(100*f/l);e!==c&&i&&await i({phase:"Resolving deltas",loaded:f,total:l}),f++,c=e;const n=r[t];if(!n.oid)try{p.readDepth=0,p.externalReadDepth=0;const{type:e,object:i}=await p.readSlice({start:t});d[p.readDepth]+=1;const r=await uP(eM.wrap({type:e,object:i}));n.oid=r,o.push(r),u.set(r,t),a[r]=n.crc}catch(t){continue}}return o.sort(),p}async toBuffer(){const t=[],e=(e,i)=>{t.push(Buffer.from(e,i))};e("ff744f63","hex"),e("00000002","hex");const i=new tP(Buffer.alloc(1024));for(let t=0;t<256;t++){let e=0;for(const i of this.hashes)parseInt(i.slice(0,2),16)<=t&&e++;i.writeUInt32BE(e)}t.push(i.buffer);for(const t of this.hashes)e(t,"hex");const n=new tP(Buffer.alloc(4*this.hashes.length));for(const t of this.hashes)n.writeUInt32BE(this.crcs[t]);t.push(n.buffer);const r=new tP(Buffer.alloc(4*this.hashes.length));for(const t of this.hashes)r.writeUInt32BE(this.offsets.get(t));t.push(r.buffer),e(this.packfileSha,"hex");const s=Buffer.concat(t),o=await uP(s),a=Buffer.alloc(20);return a.write(o,"hex"),Buffer.concat([s,a])}async load({pack:t}){this.pack=t}async unload(){this.pack=null}async read({oid:t}){if(!this.offsets.get(t)){if(this.getExternalRefDelta)return this.externalReadDepth++,this.getExternalRefDelta(t);throw new QL(`Could not read object ${t} from packfile`)}const e=this.offsets.get(t);return this.readSlice({start:e})}async readSlice({start:t}){if(this.offsetCache[t])return Object.assign({},this.offsetCache[t]);this.readDepth++;if(!this.pack)throw new QL("Tried to read from a GitPackIndex with no packfile loaded into memory");const e=(await this.pack).slice(t),i=new tP(e),n=i.readUInt8(),r=112&n;let s={16:"commit",32:"tree",48:"blob",64:"tag",96:"ofs_delta",112:"ref_delta"}[r];if(void 0===s)throw new QL("Unrecognized type: 0b"+r.toString(2));const o=15&n;let a=o;128&n&&(a=function(t,e){let i=e,n=4,r=null;do{r=t.readUInt8(),i|=(127&r)<t+1<<7|e),-1)}(i),n=t-e;({object:u,type:s}=await this.readSlice({start:n}))}if("ref_delta"===s){const t=i.slice(20).toString("hex");({object:u,type:s}=await this.read({oid:t}))}const c=e.slice(i.tell());if(l=Buffer.from(await lM(c)),l.byteLength!==a)throw new QL(`Packfile told us object would have length ${a} but it had length ${l.byteLength}`);return u&&(l=Buffer.from(function(t,e){const i=new tP(t),n=iM(i);if(n!==e.byteLength)throw new QL(`applyDelta expected source buffer to be ${n} bytes but the provided buffer was ${e.length} bytes`);const r=iM(i);let s;const o=rM(i,e);if(o.byteLength===r)s=o;else{s=Buffer.alloc(r);const t=new tP(s);for(t.copy(o);!i.eof();)t.copy(rM(i,e));const n=t.tell();if(r!==n)throw new QL(`applyDelta expected target buffer to be ${r} bytes but the resulting buffer was ${n} bytes`)}return s}(l,u))),this.readDepth>3&&(this.offsetCache[t]={type:s,object:l}),{type:s,format:"content",object:l}}}const hM=Symbol("PackfileCache");function pM({fs:t,cache:e,filename:i,getExternalRefDelta:n,emitter:r,emitterPrefix:s}){e[hM]||(e[hM]=new Map);let o=e[hM].get(i);return o||(o=async function({fs:t,filename:e,getExternalRefDelta:i,emitter:n,emitterPrefix:r}){const s=await t.read(e);return cM.fromIdx({idx:s,getExternalRefDelta:i})}({fs:t,filename:i,getExternalRefDelta:n,emitter:r,emitterPrefix:s}),e[hM].set(i,o)),o}async function fM({fs:t,cache:e,gitdir:i,oid:n,format:r="content"}){const s=n=>fM({fs:t,cache:e,gitdir:i,oid:n});let o;if("4b825dc642cb6eb9a060e54bf8d69288fbee4904"===n&&(o={format:"wrapped",object:Buffer.from("tree 0\0")}),o||(o=await async function({fs:t,gitdir:e,oid:i}){const n=`objects/${i.slice(0,2)}/${i.slice(2)}`,r=await t.read(`${e}/${n}`);return r?{object:r,format:"deflated",source:n}:null}({fs:t,gitdir:i,oid:n})),o||(o=await async function({fs:t,cache:e,gitdir:i,oid:n,format:r="content",getExternalRefDelta:s}){let o=await t.readdir(OP(i,"objects/pack"));o=o.filter((t=>t.endsWith(".idx")));for(const r of o){const o=`${i}/objects/pack/${r}`,a=await pM({fs:t,cache:e,filename:o,getExternalRefDelta:s});if(a.error)throw new QL(a.error);if(a.offsets.has(n)){if(!a.pack){const e=o.replace(/idx$/,"pack");a.pack=t.read(e)}const e=await a.read({oid:n,getExternalRefDelta:s});return e.format="content",e.source=`objects/pack/${r.replace(/idx$/,"pack")}`,e}}return null}({fs:t,cache:e,gitdir:i,oid:n,getExternalRefDelta:s})),!o)throw new DP(n);if("deflated"===r)return o;if("deflated"===o.format&&(o.object=Buffer.from(await lM(o.object)),o.format="wrapped"),"wrapped"===o.format){if("wrapped"===r&&"wrapped"===o.format)return o;const t=await uP(o.object);if(t!==n)throw new QL(`SHA check failed! Expected ${n}, computed ${t}`);const{object:e,type:i}=eM.unwrap(o.object);o.type=i,o.object=e,o.format="content"}if("content"===o.format)return"content"===r?o:void 0;throw new QL(`invalid format "${o.format}"`)}class dM extends JL{constructor(t,e,i=!0){super(`Failed to create ${t} at ${e} because it already exists.${i?` (Hint: use 'force: true' parameter to overwrite existing ${t}.)`:""}`),this.code=this.name=dM.code,this.data={noun:t,where:e,canForce:i}}}dM.code="AlreadyExistsError";class gM extends JL{constructor(t,e,i){super(`Found multiple ${t} matching "${e}" (${i.join(", ")}). Use a longer abbreviation length to disambiguate them.`),this.code=this.name=gM.code,this.data={nouns:t,short:e,matches:i}}}gM.code="AmbiguousError";class mM extends JL{constructor(t){super(`Your local changes to the following files would be overwritten by checkout: ${t.join(", ")}`),this.code=this.name=mM.code,this.data={filepaths:t}}}mM.code="CheckoutConflictError";class yM extends JL{constructor(t,e){super(`Failed to checkout "${t}" because commit ${e} is not available locally. Do a git fetch to make the branch available locally.`),this.code=this.name=yM.code,this.data={ref:t,oid:e}}}yM.code="CommitNotFetchedError";class bM extends JL{constructor(){super("Empty response from git server."),this.code=this.name=bM.code,this.data={}}}bM.code="EmptyServerResponseError";class wM extends JL{constructor(){super("A simple fast-forward merge was not possible."),this.code=this.name=wM.code,this.data={}}}wM.code="FastForwardError";class vM extends JL{constructor(t,e){super(`One or more branches were not updated: ${t}`),this.code=this.name=vM.code,this.data={prettyDetails:t,result:e}}}vM.code="GitPushError";class DM extends JL{constructor(t,e,i){super(`HTTP Error: ${t} ${e}`),this.code=this.name=DM.code,this.data={statusCode:t,statusMessage:e,response:i}}}DM.code="HttpError";class kM extends JL{constructor(t){let e="invalid filepath";"leading-slash"===t||"trailing-slash"===t?e='"filepath" parameter should not include leading or trailing directory separators because these can cause problems on some platforms.':"directory"===t&&(e='"filepath" should not be a directory.'),super(e),this.code=this.name=kM.code,this.data={reason:t}}}kM.code="InvalidFilepathError";class EM extends JL{constructor(t,e){super(`"${t}" would be an invalid git reference. (Hint: a valid alternative would be "${e}".)`),this.code=this.name=EM.code,this.data={ref:t,suggestion:e}}}EM.code="InvalidRefNameError";class xM extends JL{constructor(t){super(`Maximum search depth of ${t} exceeded.`),this.code=this.name=xM.code,this.data={depth:t}}}xM.code="MaxDepthError";class AM extends JL{constructor(){super("Merges with conflicts are not supported yet."),this.code=this.name=AM.code,this.data={}}}AM.code="MergeNotSupportedError";class FM extends JL{constructor(t,e,i,n){super(`Automatic merge failed with one or more merge conflicts in the following files: ${t.toString()}. Fix conflicts then commit the result.`),this.code=this.name=FM.code,this.data={filepaths:t,bothModified:e,deleteByUs:i,deleteByTheirs:n}}}FM.code="MergeConflictError";class CM extends JL{constructor(t){super(`No name was provided for ${t} in the argument or in the .git/config file.`),this.code=this.name=CM.code,this.data={role:t}}}CM.code="MissingNameError";class SM extends JL{constructor(t){super(`The function requires a "${t}" parameter but none was provided.`),this.code=this.name=SM.code,this.data={parameter:t}}}SM.code="MissingParameterError";class _M extends JL{constructor(t){super('There are multiple errors that were thrown by the method. Please refer to the "errors" property to see more'),this.code=this.name=_M.code,this.data={errors:t},this.errors=t}}_M.code="MultipleGitError";class jM extends JL{constructor(t,e){super(`Expected "${t}" but received "${e}".`),this.code=this.name=jM.code,this.data={expected:t,actual:e}}}jM.code="ParseError";class OM extends JL{constructor(t){let e="";"not-fast-forward"===t?e=" because it was not a simple fast-forward":"tag-exists"===t&&(e=" because tag already exists"),super(`Push rejected${e}. Use "force: true" to override.`),this.code=this.name=OM.code,this.data={reason:t}}}OM.code="PushRejectedError";class BM extends JL{constructor(t,e){super(`Remote does not support the "${t}" so the "${e}" parameter cannot be used.`),this.code=this.name=BM.code,this.data={capability:t,parameter:e}}}BM.code="RemoteCapabilityError";class TM extends JL{constructor(t,e){super(`Remote did not reply using the "smart" HTTP protocol. Expected "001e# service=git-upload-pack" but received: ${t}`),this.code=this.name=TM.code,this.data={preview:t,response:e}}}TM.code="SmartHttpError";class RM extends JL{constructor(t,e,i){super(`Git remote "${t}" uses an unrecognized transport protocol: "${e}"`),this.code=this.name=RM.code,this.data={url:t,transport:e,suggestion:i}}}RM.code="UnknownTransportError";class IM extends JL{constructor(t){super(`Cannot parse remote URL: "${t}"`),this.code=this.name=IM.code,this.data={url:t}}}IM.code="UrlParseError";class $M extends JL{constructor(){super("The operation was canceled."),this.code=this.name=$M.code,this.data={}}}$M.code="UserCanceledError";class NM extends JL{constructor(t){super(`Could not merge index: Entry for '${t}' is not up to date. Either reset the index entry to HEAD, or stage your unstaged changes.`),this.code=this.name=NM.code,this.data={filepath:t}}}NM.code="IndexResetError";var LM=Object.freeze({__proto__:null,AlreadyExistsError:dM,AmbiguousError:gM,CheckoutConflictError:mM,CommitNotFetchedError:yM,EmptyServerResponseError:bM,FastForwardError:wM,GitPushError:vM,HttpError:DM,InternalError:QL,InvalidFilepathError:kM,InvalidOidError:EP,InvalidRefNameError:EM,MaxDepthError:xM,MergeNotSupportedError:AM,MergeConflictError:FM,MissingNameError:CM,MissingParameterError:SM,MultipleGitError:_M,NoRefspecError:xP,NotFoundError:DP,ObjectTypeError:kP,ParseError:jM,PushRejectedError:OM,RemoteCapabilityError:BM,SmartHttpError:TM,UnknownTransportError:RM,UnsafeFilepathError:XL,UrlParseError:IM,UserCanceledError:$M,UnmergedPathsError:ZL,IndexResetError:NM});function PM({name:t,email:e,timestamp:i,timezoneOffset:n}){return n=function(t){const e=function(t){return Math.sign(t)||(Object.is(t,-0)?-1:1)}(function(t){return 0===t?t:-t}(t));t=Math.abs(t);const i=Math.floor(t/60);t-=60*i;let n=String(i),r=String(t);n.length<2&&(n="0"+n);r.length<2&&(r="0"+r);return(-1===e?"-":"+")+n+r}(n),`${t} <${e}> ${i} ${n}`}function MM(t){return t=(t=(t=t.replace(/\r/g,"")).replace(/^\n+/,"")).replace(/\n+$/,"")+"\n"}function zM(t){const[,e,i,n,r]=t.match(/^(.*) <(.*)> (.*) (.*)$/);return{name:e,email:i,timestamp:Number(n),timezoneOffset:qM(r)}}function qM(t){let[,e,i,n]=t.match(/(\+|-)(\d\d)(\d\d)/);return n=("+"===e?1:-1)*(60*Number(i)+Number(n)),function(t){return 0===t?t:-t}(n)}class UM{constructor(t){if("string"==typeof t)this._tag=t;else if(Buffer.isBuffer(t))this._tag=t.toString("utf8");else{if("object"!=typeof t)throw new QL("invalid type passed to GitAnnotatedTag constructor");this._tag=UM.render(t)}}static from(t){return new UM(t)}static render(t){return`object ${t.object}\ntype ${t.type}\ntag ${t.tag}\ntagger ${PM(t.tagger)}\n\n${t.message}\n${t.gpgsig?t.gpgsig:""}`}justHeaders(){return this._tag.slice(0,this._tag.indexOf("\n\n"))}message(){const t=this.withoutSignature();return t.slice(t.indexOf("\n\n")+2)}parse(){return Object.assign(this.headers(),{message:this.message(),gpgsig:this.gpgsig()})}render(){return this._tag}headers(){const t=this.justHeaders().split("\n"),e=[];for(const i of t)" "===i[0]?e[e.length-1]+="\n"+i.slice(1):e.push(i);const i={};for(const t of e){const e=t.slice(0,t.indexOf(" ")),n=t.slice(t.indexOf(" ")+1);Array.isArray(i[e])?i[e].push(n):i[e]=n}return i.tagger&&(i.tagger=zM(i.tagger)),i.committer&&(i.committer=zM(i.committer)),i}withoutSignature(){const t=MM(this._tag);return-1===t.indexOf("\n-----BEGIN PGP SIGNATURE-----")?t:t.slice(0,t.lastIndexOf("\n-----BEGIN PGP SIGNATURE-----"))}gpgsig(){if(-1===this._tag.indexOf("\n-----BEGIN PGP SIGNATURE-----"))return;return MM(this._tag.slice(this._tag.indexOf("-----BEGIN PGP SIGNATURE-----"),this._tag.indexOf("-----END PGP SIGNATURE-----")+27))}payload(){return this.withoutSignature()+"\n"}toObject(){return Buffer.from(this._tag,"utf8")}static async sign(t,e,i){const n=t.payload();let{signature:r}=await e({payload:n,secretKey:i});r=MM(r);const s=n+r;return UM.from(s)}}function GM(t){return t.trim().split("\n").map((t=>" "+t)).join("\n")+"\n"}class WM{constructor(t){if("string"==typeof t)this._commit=t;else if(Buffer.isBuffer(t))this._commit=t.toString("utf8");else{if("object"!=typeof t)throw new QL("invalid type passed to GitCommit constructor");this._commit=WM.render(t)}}static fromPayloadSignature({payload:t,signature:e}){const i=WM.justHeaders(t),n=WM.justMessage(t),r=MM(i+"\ngpgsig"+GM(e)+"\n"+n);return new WM(r)}static from(t){return new WM(t)}toObject(){return Buffer.from(this._commit,"utf8")}headers(){return this.parseHeaders()}message(){return WM.justMessage(this._commit)}parse(){return Object.assign({message:this.message()},this.headers())}static justMessage(t){return MM(t.slice(t.indexOf("\n\n")+2))}static justHeaders(t){return t.slice(0,t.indexOf("\n\n"))}parseHeaders(){const t=WM.justHeaders(this._commit).split("\n"),e=[];for(const i of t)" "===i[0]?e[e.length-1]+="\n"+i.slice(1):e.push(i);const i={parent:[]};for(const t of e){const e=t.slice(0,t.indexOf(" ")),n=t.slice(t.indexOf(" ")+1);Array.isArray(i[e])?i[e].push(n):i[e]=n}return i.author&&(i.author=zM(i.author)),i.committer&&(i.committer=zM(i.committer)),i}static renderHeaders(t){let e="";if(t.tree?e+=`tree ${t.tree}\n`:e+="tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904\n",t.parent){if(void 0===t.parent.length)throw new QL("commit 'parent' property should be an array");for(const i of t.parent)e+=`parent ${i}\n`}e+=`author ${PM(t.author)}\n`;return e+=`committer ${PM(t.committer||t.author)}\n`,t.gpgsig&&(e+="gpgsig"+GM(t.gpgsig)),e}static render(t){return WM.renderHeaders(t)+"\n"+MM(t.message)}render(){return this._commit}withoutSignature(){const t=MM(this._commit);if(-1===t.indexOf("\ngpgsig"))return t;return MM(t.slice(0,t.indexOf("\ngpgsig"))+"\n"+t.slice(t.indexOf("-----END PGP SIGNATURE-----\n")+28))}isolateSignature(){const t=this._commit.slice(this._commit.indexOf("-----BEGIN PGP SIGNATURE-----"),this._commit.indexOf("-----END PGP SIGNATURE-----")+27);return t.split("\n").map((t=>t.replace(/^ /,""))).join("\n")}static async sign(t,e,i){const n=t.withoutSignature(),r=WM.justMessage(t._commit);let{signature:s}=await e({payload:n,secretKey:i});s=MM(s);const o=WM.justHeaders(t._commit)+"\ngpgsig"+GM(s)+"\n"+r;return WM.from(o)}}async function HM({fs:t,cache:e,gitdir:i,oid:n}){if("4b825dc642cb6eb9a060e54bf8d69288fbee4904"===n)return{tree:tM.from([]),oid:n};const{type:r,object:s}=await fM({fs:t,cache:e,gitdir:i,oid:n});if("tag"===r)return HM({fs:t,cache:e,gitdir:i,oid:n=UM.from(s).parse().object});if("commit"===r)return HM({fs:t,cache:e,gitdir:i,oid:n=WM.from(s).parse().tree});if("tree"!==r)throw new kP(n,r,"tree");return{tree:tM.from(s),oid:n}}class VM{constructor({fs:t,gitdir:e,ref:i,cache:n}){this.fs=t,this.cache=n,this.gitdir=e,this.mapPromise=(async()=>{const n=new Map;let r;try{r=await YP.resolve({fs:t,gitdir:e,ref:i})}catch(t){t instanceof DP&&(r="4b825dc642cb6eb9a060e54bf8d69288fbee4904")}const s=await HM({fs:t,cache:this.cache,gitdir:e,oid:r});return s.type="tree",s.mode="40000",n.set(".",s),n})();const r=this;this.ConstructEntry=class{constructor(t){this._fullpath=t,this._type=!1,this._mode=!1,this._stat=!1,this._content=!1,this._oid=!1}async type(){return r.type(this)}async mode(){return r.mode(this)}async stat(){return r.stat(this)}async content(){return r.content(this)}async oid(){return r.oid(this)}}}async readdir(t){const e=t._fullpath,{fs:i,cache:n,gitdir:r}=this,s=await this.mapPromise,o=s.get(e);if(!o)throw new Error(`No obj for ${e}`);const a=o.oid;if(!a)throw new Error(`No oid for obj ${JSON.stringify(o)}`);if("tree"!==o.type)return null;const{type:u,object:l}=await fM({fs:i,cache:n,gitdir:r,oid:a});if(u!==o.type)throw new kP(a,u,o.type);const c=tM.from(l);for(const t of c)s.set(OP(e,t.path),t);return c.entries().map((t=>OP(e,t.path)))}async type(t){if(!1===t._type){const e=await this.mapPromise,{type:i}=e.get(t._fullpath);t._type=i}return t._type}async mode(t){if(!1===t._mode){const e=await this.mapPromise,{mode:i}=e.get(t._fullpath);t._mode=nP(parseInt(i,8))}return t._mode}async stat(t){}async content(t){if(!1===t._content){const e=await this.mapPromise,{fs:i,cache:n,gitdir:r}=this,s=e.get(t._fullpath).oid,{type:o,object:a}=await fM({fs:i,cache:n,gitdir:r,oid:s});t._content="blob"!==o?void 0:new Uint8Array(a)}return t._content}async oid(t){if(!1===t._oid){const e=(await this.mapPromise).get(t._fullpath);t._oid=e.oid}return t._oid}}function KM({ref:t="HEAD"}={}){const e=Object.create(null);return Object.defineProperty(e,wP,{value:function({fs:e,gitdir:i,cache:n}){return new VM({fs:e,gitdir:i,ref:t,cache:n})}}),Object.freeze(e),e}class YM{constructor({fs:t,dir:e,gitdir:i,cache:n}){this.fs=t,this.cache=n,this.dir=e,this.gitdir=i;const r=this;this.ConstructEntry=class{constructor(t){this._fullpath=t,this._type=!1,this._mode=!1,this._stat=!1,this._content=!1,this._oid=!1}async type(){return r.type(this)}async mode(){return r.mode(this)}async stat(){return r.stat(this)}async content(){return r.content(this)}async oid(){return r.oid(this)}}}async readdir(t){const e=t._fullpath,{fs:i,dir:n}=this,r=await i.readdir(OP(n,e));return null===r?null:r.map((t=>OP(e,t)))}async type(t){return!1===t._type&&await t.stat(),t._type}async mode(t){return!1===t._mode&&await t.stat(),t._mode}async stat(t){if(!1===t._stat){const{fs:e,dir:i}=this;let n=await e.lstat(`${i}/${t._fullpath}`);if(!n)throw new Error(`ENOENT: no such file or directory, lstat '${t._fullpath}'`);let r=n.isDirectory()?"tree":"blob";"blob"!==r||n.isFile()||n.isSymbolicLink()||(r="special"),t._type=r,n=oP(n),t._mode=n.mode,-1===n.size&&t._actualSize&&(n.size=t._actualSize),t._stat=n}return t._stat}async content(t){if(!1===t._content){const{fs:e,dir:i}=this;if("tree"===await t.type())t._content=void 0;else{const n=await e.read(`${i}/${t._fullpath}`);t._actualSize=n.length,t._stat&&-1===t._stat.size&&(t._stat.size=t._actualSize),t._content=new Uint8Array(n)}}return t._content}async oid(t){if(!1===t._oid){const{fs:e,gitdir:i,cache:n}=this;let r;await dP.acquire({fs:e,gitdir:i,cache:n},(async function(e){const i=e.entriesMap.get(t._fullpath),n=await t.stat();if(!i||hP(n,i)){void 0===await t.content()?r=void 0:(r=await uP(eM.wrap({type:"blob",object:await t.content()})),i&&r===i.oid&&n.mode===i.mode&&hP(n,i)&&e.insert({filepath:t._fullpath,stats:n,oid:r}))}else r=i.oid})),t._oid=r}return t._oid}}function JM(){const t=Object.create(null);return Object.defineProperty(t,wP,{value:function({fs:t,dir:e,gitdir:i,cache:n}){return new YM({fs:t,dir:e,gitdir:i,cache:n})}}),Object.freeze(t),t}const ZM=void 0===Array.prototype.flat?t=>t.reduce(((t,e)=>t.concat(e)),[]):t=>t.flat();class QM{constructor(){this.value=null}consider(t){null!=t&&(null===this.value||te),reduce:o=(async(t,e)=>{const i=ZM(e);return void 0!==t&&i.unshift(t),i}),iterate:a=((t,e)=>Promise.all([...e].map(t)))}){const u=r.map((r=>r[wP]({fs:t,dir:i,gitdir:n,cache:e}))),l=new Array(u.length).fill("."),c=function(t,e){const i=e-t;return Array.from({length:i},((e,i)=>t+i))}(0,u.length),h=async t=>{const{entries:e,children:i}=await(async t=>{c.map((e=>{t[e]=t[e]&&new u[e].ConstructEntry(t[e])}));const e=(await Promise.all(c.map((e=>t[e]?u[e].readdir(t[e]):[])))).map((t=>null===t?[]:t)).map((t=>t[Symbol.iterator]()));return{entries:t,children:XM(e)}})(t),n=e.find((t=>t&&t._fullpath))._fullpath,r=await s(n,e);if(null!==r){let t=await a(h,i);return t=t.filter((t=>void 0!==t)),o(r,t)}};return h(l)}async function ez(t,e){const i=await t.readdir(e);null==i?await t.rm(e):i.length?await Promise.all(i.map((i=>{const n=OP(e,i);return t.lstat(n).then((e=>{if(e)return e.isDirectory()?ez(t,n):t.rm(n)}))}))).then((()=>t.rmdir(e))):await t.rmdir(e)}function iz(t){return"function"==typeof t}function nz(t){return function(t){return t&&"object"==typeof t}(e=(t=>{try{return t.readFile().catch((t=>t))}catch(t){return t}})(t))&&iz(e.then)&&iz(e.catch);var e}const rz=["readFile","writeFile","mkdir","rmdir","unlink","stat","lstat","readdir","readlink","symlink"];function sz(t,e){if(nz(e))for(const i of rz)t[`_${i}`]=e[i].bind(e);else for(const i of rz)t[`_${i}`]=UL(e[i].bind(e));nz(e)?e.rm?t._rm=e.rm.bind(e):e.rmdir.length>1?t._rm=e.rmdir.bind(e):t._rm=ez.bind(null,t):e.rm?t._rm=UL(e.rm.bind(e)):e.rmdir.length>2?t._rm=UL(e.rmdir.bind(e)):t._rm=ez.bind(null,t)}class oz{constructor(t){if(void 0!==t._original_unwrapped_fs)return t;const e=Object.getOwnPropertyDescriptor(t,"promises");e&&e.enumerable?sz(this,t.promises):sz(this,t),this._original_unwrapped_fs=t}async exists(t,e={}){try{return await this._stat(t),!0}catch(t){if("ENOENT"===t.code||"ENOTDIR"===t.code)return!1;throw console.log('Unhandled error in "FileSystem.exists()" function',t),t}}async read(t,e={}){try{let i=await this._readFile(t,e);return"string"!=typeof i&&(i=Buffer.from(i)),i}catch(t){return null}}async write(t,e,i={}){try{return void await this._writeFile(t,e,i)}catch(n){await this.mkdir(mP(t)),await this._writeFile(t,e,i)}}async mkdir(t,e=!1){try{return void await this._mkdir(t)}catch(i){if(null===i)return;if("EEXIST"===i.code)return;if(e)throw i;if("ENOENT"===i.code){const e=mP(t);if("."===e||"/"===e||e===t)throw i;await this.mkdir(e),await this.mkdir(t,!0)}}}async rm(t){try{await this._unlink(t)}catch(t){if("ENOENT"!==t.code)throw t}}async rmdir(t,e){try{e&&e.recursive?await this._rm(t,e):await this._rmdir(t)}catch(t){if("ENOENT"!==t.code)throw t}}async readdir(t){try{const e=await this._readdir(t);return e.sort(eP),e}catch(t){return"ENOTDIR"===t.code?null:[]}}async readdirDeep(t){const e=await this._readdir(t);return(await Promise.all(e.map((async e=>{const i=t+"/"+e;return(await this._stat(i)).isDirectory()?this.readdirDeep(i):i})))).reduce(((t,e)=>t.concat(e)),[])}async lstat(t){try{return await this._lstat(t)}catch(t){if("ENOENT"===t.code)return null;throw t}}async readlink(t,e={encoding:"buffer"}){try{const i=await this._readlink(t,e);return Buffer.isBuffer(i)?i:Buffer.from(i)}catch(t){if("ENOENT"===t.code)return null;throw t}}async writelink(t,e){return this._symlink(e.toString("utf8"),t)}}function az(t,e){if(void 0===e)throw new SM(t)}async function uz(t,e){return!(!t&&!e)&&(!(!t||e)||(!(t||!e)||("tree"!==await t.type()||"tree"!==await e.type())&&(await t.type()!==await e.type()||await t.mode()!==await e.mode()||await t.oid()!==await e.oid())))}class lz{static async isIgnored({fs:t,dir:e,gitdir:i=OP(e,".git"),filepath:n}){if(".git"===gP(n))return!0;if("."===n)return!1;let r="";const s=OP(i,"info","exclude");await t.exists(s)&&(r=await t.read(s,"utf8"));const o=[{gitignore:OP(e,".gitignore"),filepath:n}],a=n.split("/").filter(Boolean);for(let t=1;t{if(!s){if(await lz.isIgnored({fs:i,dir:t,gitdir:e,filepath:n}))return}const a=await i.lstat(OP(t,n));if(!a)throw new DP(n);if(a.isDirectory()){const a=await i.readdir(OP(t,n));if(o){const u=a.map((a=>dz({dir:t,gitdir:e,fs:i,filepath:[OP(n,a)],index:r,force:s,parallel:o})));await Promise.all(u)}else for(const u of a)await dz({dir:t,gitdir:e,fs:i,filepath:[OP(n,u)],index:r,force:s,parallel:o})}else{const s=a.isSymbolicLink()?await i.readlink(OP(t,n)).then(fz):await i.read(OP(t,n));if(null===s)throw new DP(n);const o=await pz({fs:i,gitdir:e,type:"blob",object:s});r.insert({filepath:n,stats:a,oid:o})}})),u=await Promise.allSettled(a),l=u.filter((t=>"rejected"===t.status)).map((t=>t.reason));if(l.length>1)throw new _M(l);if(1===l.length)throw l[0];return u.filter((t=>"fulfilled"===t.status&&t.value)).map((t=>t.value))}async function gz({fs:t,cache:e,onSign:i,gitdir:n,message:r,author:s,committer:o,signingKey:a,dryRun:u=!1,noUpdateBranch:l=!1,ref:c,parent:h,tree:p}){return c||(c=await YP.resolve({fs:t,gitdir:n,ref:"HEAD",depth:2})),dP.acquire({fs:t,gitdir:n,cache:e,allowUnmerged:!1},(async function(e){const f=yP(e.entries).get(".");if(p||(p=await mz({fs:t,gitdir:n,inode:f,dryRun:u})),h)h=await Promise.all(h.map((e=>YP.resolve({fs:t,gitdir:n,ref:e}))));else try{h=[await YP.resolve({fs:t,gitdir:n,ref:c})]}catch(t){h=[]}let d=WM.from({tree:p,parent:h,author:s,committer:o,message:r});a&&(d=await WM.sign(d,i,a));const g=await pz({fs:t,gitdir:n,type:"commit",object:d.toObject(),dryRun:u});return l||u||await YP.writeRef({fs:t,gitdir:n,ref:c,value:g}),g}))}async function mz({fs:t,gitdir:e,inode:i,dryRun:n}){const r=i.children;for(const i of r)"tree"===i.type&&(i.metadata.mode="040000",i.metadata.oid=await mz({fs:t,gitdir:e,inode:i,dryRun:n}));const s=r.map((t=>({mode:t.metadata.mode,path:t.basename,oid:t.metadata.oid,type:t.type}))),o=tM.from(s);return await pz({fs:t,gitdir:e,type:"tree",object:o.toObject(),dryRun:n})}async function yz({fs:t,cache:e,gitdir:i,oid:n,filepath:r}){if(r.startsWith("/"))throw new kM("leading-slash");if(r.endsWith("/"))throw new kM("trailing-slash");const s=n,o=await HM({fs:t,cache:e,gitdir:i,oid:n}),a=o.tree;if(""===r)n=o.oid;else{const o=r.split("/");n=await bz({fs:t,cache:e,gitdir:i,tree:a,pathArray:o,oid:s,filepath:r})}return n}async function bz({fs:t,cache:e,gitdir:i,tree:n,pathArray:r,oid:s,filepath:o}){const a=r.shift();for(const u of n)if(u.path===a){if(0===r.length)return u.oid;{const{type:a,object:l}=await fM({fs:t,cache:e,gitdir:i,oid:u.oid});if("tree"!==a)throw new kP(s,a,"tree",o);return bz({fs:t,cache:e,gitdir:i,tree:n=tM.from(l),pathArray:r,oid:s,filepath:o})}}throw new DP(`file or directory found at "${s}:${o}"`)}async function wz({fs:t,cache:e,gitdir:i,oid:n,filepath:r}){void 0!==r&&(n=await yz({fs:t,cache:e,gitdir:i,oid:n,filepath:r}));const{tree:s,oid:o}=await HM({fs:t,cache:e,gitdir:i,oid:n});return{oid:o,tree:s.entries()}}async function vz({fs:t,gitdir:e,tree:i}){const n=tM.from(i).toObject();return await pz({fs:t,gitdir:e,type:"tree",object:n,format:"content"})}async function Dz({fs:t,gitdir:e,path:i}){return(await HP.get({fs:t,gitdir:e})).get(i)}async function kz({fs:t,gitdir:e,author:i={}}){let{name:n,email:r,timestamp:s,timezoneOffset:o}=i;if(n=n||await Dz({fs:t,gitdir:e,path:"user.name"}),r=r||await Dz({fs:t,gitdir:e,path:"user.email"})||"",void 0!==n)return s=null!=s?s:Math.floor(Date.now()/1e3),o=null!=o?o:new Date(1e3*s).getTimezoneOffset(),{name:n,email:r,timestamp:s,timezoneOffset:o}}async function Ez({fs:t,gitdir:e,author:i,committer:n}){return n=Object.assign({},n||i),i&&(n.timestamp=n.timestamp||i.timestamp,n.timezoneOffset=n.timezoneOffset||i.timezoneOffset),n=await kz({fs:t,gitdir:e,author:n})}async function xz({fs:t,gitdir:e,remote:i,url:n,force:r}){if(i!==WL.clean(i))throw new EM(i,WL.clean(i));const s=await HP.get({fs:t,gitdir:e});if(!r){if((await s.getSubsections("remote")).includes(i)&&n!==await s.get(`remote.${i}.url`))throw new dM("remote",i)}await s.set(`remote.${i}.url`,n),await s.set(`remote.${i}.fetch`,`+refs/heads/*:refs/remotes/${i}/*`),await HP.save({fs:t,gitdir:e,config:s})}const Az=(t,e)=>"."===t||null==e||0===e.length||"."===e||(e.length>=t.length?e.startsWith(t):t.startsWith(e));async function Fz({fs:t,cache:e,onProgress:i,dir:n,gitdir:r,remote:s,ref:o,filepaths:a,noCheckout:u,noUpdateHead:l,dryRun:c,force:h,track:p=!0}){let f;try{f=await YP.resolve({fs:t,gitdir:r,ref:o})}catch(e){if("HEAD"===o)throw e;const i=`${s}/${o}`;if(f=await YP.resolve({fs:t,gitdir:r,ref:i}),p){const e=await HP.get({fs:t,gitdir:r});await e.set(`branch.${o}.remote`,s),await e.set(`branch.${o}.merge`,`refs/heads/${o}`),await HP.save({fs:t,gitdir:r,config:e})}await YP.writeRef({fs:t,gitdir:r,ref:`refs/heads/${o}`,value:f})}if(!u){let s;try{s=await async function({fs:t,cache:e,onProgress:i,dir:n,gitdir:r,ref:s,force:o,filepaths:a}){let u=0;return tz({fs:t,cache:e,dir:n,gitdir:r,trees:[KM({ref:s}),JM(),vP()],map:async function(t,[e,n,r]){if("."===t)return;if(a&&!a.some((e=>Az(t,e))))return null;i&&await i({phase:"Analyzing workdir",loaded:++u});switch([!!r,!!e,!!n].map(Number).join("")){case"000":return;case"001":return o&&a&&a.includes(t)?["delete",t]:void 0;case"010":switch(await e.type()){case"tree":return["mkdir",t];case"blob":return["create",t,await e.oid(),await e.mode()];case"commit":return["mkdir-index",t,await e.oid(),await e.mode()];default:return["error",`new entry Unhandled type ${await e.type()}`]}case"011":switch(`${await e.type()}-${await n.type()}`){case"tree-tree":case"commit-tree":return;case"tree-blob":case"blob-tree":case"commit-blob":return["conflict",t];case"blob-blob":return await e.oid()!==await n.oid()?o?["update",t,await e.oid(),await e.mode(),await e.mode()!==await n.mode()]:["conflict",t]:await e.mode()!==await n.mode()?o?["update",t,await e.oid(),await e.mode(),!0]:["conflict",t]:["create-index",t,await e.oid(),await e.mode()];default:return["error",`new entry Unhandled type ${e.type}`]}case"100":return["delete-index",t];case"101":switch(await r.type()){case"tree":return["rmdir",t];case"blob":return await r.oid()!==await n.oid()?o?["delete",t]:["conflict",t]:["delete",t];case"commit":return["rmdir-index",t];default:return["error",`delete entry Unhandled type ${await r.type()}`]}case"110":case"111":switch(`${await r.type()}-${await e.type()}`){case"tree-tree":return;case"blob-blob":if(await r.oid()===await e.oid()&&await r.mode()===await e.mode()&&!o)return;if(n){if(await n.oid()!==await r.oid()&&await n.oid()!==await e.oid())return o?["update",t,await e.oid(),await e.mode(),await e.mode()!==await n.mode()]:["conflict",t]}else if(o)return["update",t,await e.oid(),await e.mode(),await e.mode()!==await r.mode()];return await e.mode()!==await r.mode()?["update",t,await e.oid(),await e.mode(),!0]:await e.oid()!==await r.oid()?["update",t,await e.oid(),await e.mode(),!1]:void 0;case"tree-blob":return["update-dir-to-blob",t,await e.oid()];case"blob-tree":return["update-blob-to-tree",t];case"commit-commit":return["mkdir-index",t,await e.oid(),await e.mode()];default:return["error",`update entry Unhandled type ${await r.type()}-${await e.type()}`]}}},reduce:async function(t,e){return e=ZM(e),t?t&&"rmdir"===t[0]?(e.push(t),e):(e.unshift(t),e):e}})}({fs:t,cache:e,onProgress:i,dir:n,gitdir:r,ref:o,force:h,filepaths:a})}catch(t){throw t instanceof DP&&t.data.what===f?new yM(o,f):t}const u=s.filter((([t])=>"conflict"===t)).map((([t,e])=>e));if(u.length>0)throw new mM(u);const l=s.filter((([t])=>"error"===t)).map((([t,e])=>e));if(l.length>0)throw new QL(l.join(", "));if(c)return;let p=0;const d=s.length;await dP.acquire({fs:t,gitdir:r,cache:e},(async function(e){await Promise.all(s.filter((([t])=>"delete"===t||"delete-index"===t)).map((async function([r,s]){const o=`${n}/${s}`;"delete"===r&&await t.rm(o),e.delete({filepath:s}),i&&await i({phase:"Updating workdir",loaded:++p,total:d})})))})),await dP.acquire({fs:t,gitdir:r,cache:e},(async function(e){for(const[r,o]of s)if("rmdir"===r||"rmdir-index"===r){const s=`${n}/${o}`;try{"rmdir-index"===r&&e.delete({filepath:o}),await t.rmdir(s),i&&await i({phase:"Updating workdir",loaded:++p,total:d})}catch(t){if("ENOTEMPTY"!==t.code)throw t;console.log(`Did not delete ${o} because directory is not empty`)}}})),await Promise.all(s.filter((([t])=>"mkdir"===t||"mkdir-index"===t)).map((async function([e,r]){const s=`${n}/${r}`;await t.mkdir(s),i&&await i({phase:"Updating workdir",loaded:++p,total:d})}))),await dP.acquire({fs:t,gitdir:r,cache:e},(async function(o){await Promise.all(s.filter((([t])=>"create"===t||"create-index"===t||"update"===t||"mkdir-index"===t)).map((async function([s,a,u,l,c]){const h=`${n}/${a}`;try{if("create-index"!==s&&"mkdir-index"!==s){const{object:i}=await fM({fs:t,cache:e,gitdir:r,oid:u});if(c&&await t.rm(h),33188===l)await t.write(h,i);else if(33261===l)await t.write(h,i,{mode:511});else{if(40960!==l)throw new QL(`Invalid mode 0o${l.toString(8)} detected in blob ${u}`);await t.writelink(h,i)}}const n=await t.lstat(h);33261===l&&(n.mode=493),"mkdir-index"===s&&(n.mode=57344),o.insert({filepath:a,stats:n,oid:u}),i&&await i({phase:"Updating workdir",loaded:++p,total:d})}catch(t){console.log(t)}})))}))}if(!l){const e=await YP.expand({fs:t,gitdir:r,ref:o});e.startsWith("refs/heads")?await YP.writeSymbolicRef({fs:t,gitdir:r,ref:"HEAD",value:e}):await YP.writeRef({fs:t,gitdir:r,ref:"HEAD",value:f})}}const Cz=new RegExp("^refs/(heads/|tags/|remotes/)?(.*)");function Sz(t){const e=Cz.exec(t);return e?"remotes/"===e[1]&&t.endsWith("/HEAD")?e[2].slice(0,-5):e[2]:t}async function _z({fs:t,gitdir:e,fullname:i=!1,test:n=!1}){const r=await YP.resolve({fs:t,gitdir:e,ref:"HEAD",depth:2});if(n)try{await YP.resolve({fs:t,gitdir:e,ref:r})}catch(t){return}if(r.startsWith("refs/"))return i?r:Sz(r)}function jz({username:t="",password:e=""}){return`Basic ${Buffer.from(`${t}:${e}`).toString("base64")}`}async function Oz(t,e){const i=sM(t);for(;;){const{value:t,done:n}=await i.next();if(t&&await e(t),n)break}i.return&&i.return()}async function Bz(t){let e=0;const i=[];await Oz(t,(t=>{i.push(t),e+=t.byteLength}));const n=new Uint8Array(e);let r=0;for(const t of i)n.set(t,r),r+=t.byteLength;return n}function Tz(t){let e=t.match(/^https?:\/\/([^/]+)@/);if(null==e)return{url:t,auth:{}};e=e[1];const[i,n]=e.split(":");return{url:t=t.replace(`${e}@`,""),auth:{username:i,password:n}}}function Rz(t,e){const i=e.toString(16);return"0".repeat(t-i.length)+i}class Iz{static flush(){return Buffer.from("0000","utf8")}static delim(){return Buffer.from("0001","utf8")}static encode(t){"string"==typeof t&&(t=Buffer.from(t));const e=Rz(4,t.length+4);return Buffer.concat([Buffer.from(e,"utf8"),t])}static streamReader(t){const e=new oM(t);return async function(){try{let t=await e.read(4);if(null==t)return!0;if(t=parseInt(t.toString("utf8"),16),0===t)return null;if(1===t)return null;const i=await e.read(t-4);return null==i||i}catch(e){return t.error=e,!0}}}}async function $z(t){const e={};let i;for(;i=await t(),!0!==i;){if(null===i)continue;i=i.toString("utf8").replace(/\n$/,"");const t=i.indexOf("=");if(t>-1){const n=i.slice(0,t),r=i.slice(t+1);e[n]=r}else e[i]=!0}return{protocolVersion:2,capabilities2:e}}async function Nz(t,{service:e}){const i=new Set,n=new Map,r=new Map,s=Iz.streamReader(t);let o=await s();for(;null===o;)o=await s();if(!0===o)throw new bM;if(o.includes("version 2"))return $z(s);if(o.toString("utf8").replace(/\n$/,"")!==`# service=${e}`)throw new jM(`# service=${e}\\n`,o.toString("utf8"));let a=await s();for(;null===a;)a=await s();if(!0===a)return{capabilities:i,refs:n,symrefs:r};if(a=a.toString("utf8"),a.includes("version 2"))return $z(s);const[u,l]=Lz(a,"\0","\\x00");l.split(" ").map((t=>i.add(t)));const[c,h]=Lz(u," "," ");for(n.set(h,c);;){const t=await s();if(!0===t)break;if(null!==t){const[e,i]=Lz(t.toString("utf8")," "," ");n.set(i,e)}}for(const t of i)if(t.startsWith("symref=")){const e=t.match(/symref=([^:]+):(.*)/);3===e.length&&r.set(e[1],e[2])}return{protocolVersion:1,capabilities:i,refs:n,symrefs:r}}function Lz(t,e,i){const n=t.trim().split(e);if(2!==n.length)throw new jM(`Two strings separated by '${i}'`,t.toString("utf8"));return n}const Pz=(t,e)=>t.endsWith("?")?`${t}${e}`:`${t}/${e.replace(/^https?:\/\//,"")}`,Mz=(t,e)=>{(e.username||e.password)&&(t.Authorization=jz(e)),e.headers&&Object.assign(t,e.headers)},zz=async t=>{try{const e=Buffer.from(await Bz(t.body)),i=e.toString("utf8");return{preview:i.length<256?i:i.slice(0,256)+"...",response:i,data:e}}catch(t){return{}}};class qz{static async capabilities(){return["discover","connect"]}static async discover({http:t,onProgress:e,onAuth:i,onAuthSuccess:n,onAuthFailure:r,corsProxy:s,service:o,url:a,headers:u,protocolVersion:l}){let{url:c,auth:h}=Tz(a);const p=s?Pz(s,c):c;let f,d;(h.username||h.password)&&(u.Authorization=jz(h)),2===l&&(u["Git-Protocol"]="version=2");let g=!1;do{if(f=await t.request({onProgress:e,method:"GET",url:`${p}/info/refs?service=${o}`,headers:u}),d=!1,401===f.statusCode||203===f.statusCode){const t=g?r:i;if(t){if(h=await t(c,{...h,headers:{...u}}),h&&h.cancel)throw new $M;h&&(Mz(u,h),g=!0,d=!0)}}else 200===f.statusCode&&g&&n&&await n(c,h)}while(d);if(200!==f.statusCode){const{response:t}=await zz(f);throw new DM(f.statusCode,f.statusMessage,t)}if(f.headers["content-type"]===`application/x-${o}-advertisement`){const t=await Nz(f.body,{service:o});return t.auth=h,t}{const{preview:t,response:e,data:i}=await zz(f);try{const t=await Nz([i],{service:o});return t.auth=h,t}catch(i){throw new TM(t,e)}}}static async connect({http:t,onProgress:e,corsProxy:i,service:n,url:r,auth:s,body:o,headers:a}){const u=Tz(r);u&&(r=u.url),i&&(r=Pz(i,r)),a["content-type"]=`application/x-${n}-request`,a.accept=`application/x-${n}-result`,Mz(a,s);const l=await t.request({onProgress:e,method:"POST",url:`${r}/${n}`,body:o,headers:a});if(200!==l.statusCode){const{response:t}=zz(l);throw new DM(l.statusCode,l.statusMessage,t)}return l}}class Uz{static getRemoteHelperFor({url:t}){const e=new Map;e.set("http",qz),e.set("https",qz);const i=function({url:t}){if(t.startsWith("git@"))return{transport:"ssh",address:t};const e=t.match(/(\w+)(:\/\/|::)(.*)/);return null!==e?"://"===e[2]?{transport:e[1],address:e[0]}:"::"===e[2]?{transport:e[1],address:e[3]}:void 0:void 0}({url:t});if(!i)throw new IM(t);if(e.has(i.transport))return e.get(i.transport);throw new RM(t,i.transport,"ssh"===i.transport?function(t){return(t=t.replace(/^git@([^:]+):/,"https://$1/")).replace(/^ssh:\/\//,"https://")}(t):void 0)}}let Gz=null;class Wz{static async read({fs:t,gitdir:e}){null===Gz&&(Gz=new gI);const i=OP(e,"shallow"),n=new Set;return await Gz.acquire(i,(async function(){const e=await t.read(i,{encoding:"utf8"});return null===e||""===e.trim()?n:void e.trim().split("\n").map((t=>n.add(t)))})),n}static async write({fs:t,gitdir:e,oids:i}){null===Gz&&(Gz=new gI);const n=OP(e,"shallow");if(i.size>0){const e=[...i].join("\n")+"\n";await Gz.acquire(n,(async function(){await t.write(n,e,{encoding:"utf8"})}))}else await Gz.acquire(n,(async function(){await t.rm(n)}))}}async function Hz({fs:t,cache:e,gitdir:i,oid:n,format:r="content"}){const s=n=>fM({fs:t,cache:e,gitdir:i,oid:n});let o=await async function({fs:t,gitdir:e,oid:i}){const n=`objects/${i.slice(0,2)}/${i.slice(2)}`;return t.exists(`${e}/${n}`)}({fs:t,gitdir:i,oid:n});return o||(o=await async function({fs:t,cache:e,gitdir:i,oid:n,getExternalRefDelta:r}){let s=await t.readdir(OP(i,"objects/pack"));s=s.filter((t=>t.endsWith(".idx")));for(const o of s){const s=`${i}/objects/pack/${o}`,a=await pM({fs:t,cache:e,filename:s,getExternalRefDelta:r});if(a.error)throw new QL(a.error);if(a.offsets.has(n))return!0}return!1}({fs:t,cache:e,gitdir:i,oid:n,getExternalRefDelta:s})),o}function Vz(t,e){const i=t.map((t=>t.split("=",1)[0]));return e.filter((t=>{const e=t.split("=",1)[0];return i.includes(e)}))}const Kz={name:"isomorphic-git",version:"1.25.6",agent:"git/isomorphic-git@1.25.6"};class Yz{constructor(){this._queue=[]}write(t){if(this._ended)throw Error("You cannot write to a FIFO that has already been ended!");if(this._waiting){const e=this._waiting;this._waiting=null,e({value:t})}else this._queue.push(t)}end(){if(this._ended=!0,this._waiting){const t=this._waiting;this._waiting=null,t({done:!0})}}destroy(t){this.error=t,this.end()}async next(){if(this._queue.length>0)return{value:this._queue.shift()};if(this._ended)return{done:!0};if(this._waiting)throw Error("You cannot call read until the previous call to read has returned!");return new Promise((t=>{this._waiting=t}))}}function Jz(t){const e=t.indexOf("\r"),i=t.indexOf("\n");return-1===e&&-1===i?-1:-1===e?i+1:-1===i?e+1:i===e+1?i+1:Math.min(e,i)+1}function Zz(t){const e=new Yz;let i="";return(async()=>{await Oz(t,(t=>{for(t=t.toString("utf8"),i+=t;;){const t=Jz(i);if(-1===t)break;e.write(i.slice(0,t)),i=i.slice(t)}})),i.length>0&&e.write(i),e.end()})(),e}class Qz{static demux(t){const e=Iz.streamReader(t),i=new Yz,n=new Yz,r=new Yz,s=async function(){const o=await e();if(null===o)return s();if(!0===o)return i.end(),r.end(),void(t.error?n.destroy(t.error):n.end());switch(o[0]){case 1:n.write(o.slice(1));break;case 2:r.write(o.slice(1));break;case 3:{const t=o.slice(1);return r.write(t),i.end(),r.end(),void n.destroy(new Error(t.toString("utf8")))}default:i.write(o)}s()};return s(),{packetlines:i,packfile:n,progress:r}}}async function Xz({fs:t,cache:e,http:i,onProgress:n,onMessage:r,onAuth:s,onAuthSuccess:o,onAuthFailure:a,gitdir:u,ref:l,remoteRef:c,remote:h,url:p,corsProxy:f,depth:d=null,since:g=null,exclude:m=[],relative:y=!1,tags:b=!1,singleBranch:w=!1,headers:v={},prune:D=!1,pruneTags:k=!1}){const E=l||await _z({fs:t,gitdir:u,test:!0}),x=await HP.get({fs:t,gitdir:u}),A=h||E&&await x.get(`branch.${E}.remote`)||"origin",F=p||await x.get(`remote.${A}.url`);if(void 0===F)throw new SM("remote OR url");const C=c||E&&await x.get(`branch.${E}.merge`)||l||"HEAD";void 0===f&&(f=await x.get("http.corsProxy"));const S=Uz.getRemoteHelperFor({url:F}),_=await S.discover({http:i,onAuth:s,onAuthSuccess:o,onAuthFailure:a,corsProxy:f,service:"git-upload-pack",url:F,headers:v,protocolVersion:1}),j=_.auth,O=_.refs;if(0===O.size)return{defaultBranch:null,fetchHead:null,fetchHeadDescription:null};if(null!==d&&!_.capabilities.has("shallow"))throw new BM("shallow","depth");if(null!==g&&!_.capabilities.has("deepen-since"))throw new BM("deepen-since","since");if(m.length>0&&!_.capabilities.has("deepen-not"))throw new BM("deepen-not","exclude");if(!0===y&&!_.capabilities.has("deepen-relative"))throw new BM("deepen-relative","relative");const{oid:B,fullref:T}=YP.resolveAgainstMap({ref:C,map:O});for(const t of O.keys())t===T||"HEAD"===t||t.startsWith("refs/heads/")||b&&t.startsWith("refs/tags/")||O.delete(t);const R=Vz([..._.capabilities],["multi_ack_detailed","no-done","side-band-64k","ofs-delta",`agent=${Kz.agent}`]);y&&R.push("deepen-relative");const I=w?[B]:O.values(),$=w?[E]:await YP.listRefs({fs:t,gitdir:u,filepath:"refs"});let N=[];for(let i of $)try{i=await YP.expand({fs:t,gitdir:u,ref:i});const n=await YP.resolve({fs:t,gitdir:u,ref:i});await Hz({fs:t,cache:e,gitdir:u,oid:n})&&N.push(n)}catch(t){}N=[...new Set(N)];const L=await Wz.read({fs:t,gitdir:u}),P=function({capabilities:t=[],wants:e=[],haves:i=[],shallows:n=[],depth:r=null,since:s=null,exclude:o=[]}){const a=[];e=[...new Set(e)];let u=` ${t.join(" ")}`;for(const t of e)a.push(Iz.encode(`want ${t}${u}\n`)),u="";for(const t of n)a.push(Iz.encode(`shallow ${t}\n`));null!==r&&a.push(Iz.encode(`deepen ${r}\n`)),null!==s&&a.push(Iz.encode(`deepen-since ${Math.floor(s.valueOf()/1e3)}\n`));for(const t of o)a.push(Iz.encode(`deepen-not ${t}\n`));a.push(Iz.flush());for(const t of i)a.push(Iz.encode(`have ${t}\n`));return a.push(Iz.encode("done\n")),a}({capabilities:R,wants:I,haves:N,shallows:_.capabilities.has("shallow")?[...L]:[],depth:d,since:g,exclude:m}),M=Buffer.from(await Bz(P)),z=await S.connect({http:i,onProgress:n,corsProxy:f,service:"git-upload-pack",url:F,auth:j,body:[M],headers:v}),q=await async function(t){const{packetlines:e,packfile:i,progress:n}=Qz.demux(t),r=[],s=[],o=[];let a=!1,u=!1;return new Promise(((l,c)=>{Oz(e,(e=>{const h=e.toString("utf8").trim();if(h.startsWith("shallow")){const t=h.slice(-41).trim();40!==t.length&&c(new EP(t)),r.push(t)}else if(h.startsWith("unshallow")){const t=h.slice(-41).trim();40!==t.length&&c(new EP(t)),s.push(t)}else if(h.startsWith("ACK")){const[,t,e]=h.split(" ");o.push({oid:t,status:e}),e||(u=!0)}else h.startsWith("NAK")?(a=!0,u=!0):(u=!0,a=!0);u&&(t.error?c(t.error):l({shallows:r,unshallows:s,acks:o,nak:a,packfile:i,progress:n}))})).finally((()=>{u||(t.error?c(t.error):l({shallows:r,unshallows:s,acks:o,nak:a,packfile:i,progress:n}))}))}))}(z.body);z.headers&&(q.headers=z.headers);for(const i of q.shallows)if(!L.has(i))try{const{object:n}=await fM({fs:t,cache:e,gitdir:u,oid:i}),r=new WM(n),s=await Promise.all(r.headers().parent.map((i=>Hz({fs:t,cache:e,gitdir:u,oid:i})))),o=0===s.length||s.every((t=>t));o||L.add(i)}catch(t){L.add(i)}for(const t of q.unshallows)L.delete(t);if(await Wz.write({fs:t,gitdir:u,oids:L}),w){const e=new Map([[T,B]]),i=new Map;let n=10,r=T;for(;n--;){const t=_.symrefs.get(r);if(void 0===t)break;i.set(r,t),r=t}const s=O.get(r);s&&e.set(r,s);const{pruned:o}=await YP.updateRemoteRefs({fs:t,gitdir:u,remote:A,refs:e,symrefs:i,tags:b,prune:D});D&&(q.pruned=o)}else{const{pruned:e}=await YP.updateRemoteRefs({fs:t,gitdir:u,remote:A,refs:O,symrefs:_.symrefs,tags:b,prune:D,pruneTags:k});D&&(q.pruned=e)}if(q.HEAD=_.symrefs.get("HEAD"),void 0===q.HEAD){const{oid:t}=YP.resolveAgainstMap({ref:"HEAD",map:O});for(const[e,i]of O.entries())if("HEAD"!==e&&i===t){q.HEAD=e;break}}const U=T.startsWith("refs/tags")?"tag":"branch";if(q.FETCH_HEAD={oid:B,description:`${U} '${Sz(T)}' of ${F}`},n||r){Oz(Zz(q.progress),(async t=>{if(r&&await r(t),n){const e=t.match(/([^:]*).*\((\d+?)\/(\d+?)\)/);e&&await n({phase:e[1].trim(),loaded:parseInt(e[2],10),total:parseInt(e[3],10)})}}))}const G=Buffer.from(await Bz(q.packfile));if(z.body.error)throw z.body.error;const W=G.slice(-20).toString("hex"),H={defaultBranch:q.HEAD,fetchHead:q.FETCH_HEAD.oid,fetchHeadDescription:q.FETCH_HEAD.description};if(q.headers&&(H.headers=q.headers),D&&(H.pruned=q.pruned),""!==W&&"5041434b0000000200000000"!==G.slice(0,12).toString("hex")){H.packfile=`objects/pack/pack-${W}.pack`;const i=OP(u,H.packfile);await t.write(i,G);const r=i=>fM({fs:t,cache:e,gitdir:u,oid:i}),s=await cM.fromPack({pack:G,getExternalRefDelta:r,onProgress:n});await t.write(i.replace(/\.pack$/,".idx"),await s.toBuffer())}return H}async function tq({fs:t,bare:e=!1,dir:i,gitdir:n=(e?i:OP(i,".git")),defaultBranch:r="master"}){if(await t.exists(n+"/config"))return;let s=["hooks","info","objects/info","objects/pack","refs/heads","refs/tags"];s=s.map((t=>n+"/"+t));for(const e of s)await t.mkdir(e);await t.write(n+"/config",`[core]\n\trepositoryformatversion = 0\n\tfilemode = false\n\tbare = ${e}\n`+(e?"":"\tlogallrefupdates = true\n")+"\tsymlinks = false\n\tignorecase = true\n"),await t.write(n+"/HEAD",`ref: refs/heads/${r}\n`)}async function eq({fs:t,cache:e,gitdir:i,oid:n}){const r=await async function({fs:t,gitdir:e,oid:i}){const n=i.slice(0,2);return(await t.readdir(`${e}/objects/${n}`)).map((t=>`${n}${t}`)).filter((t=>t.startsWith(i)))}({fs:t,gitdir:i,oid:n}),s=await async function({fs:t,cache:e,gitdir:i,oid:n,getExternalRefDelta:r}){const s=[];let o=await t.readdir(OP(i,"objects/pack"));o=o.filter((t=>t.endsWith(".idx")));for(const a of o){const o=`${i}/objects/pack/${a}`,u=await pM({fs:t,cache:e,filename:o,getExternalRefDelta:r});if(u.error)throw new QL(u.error);for(const t of u.offsets.keys())t.startsWith(n)&&s.push(t)}return s}({fs:t,cache:e,gitdir:i,oid:n,getExternalRefDelta:n=>fM({fs:t,cache:e,gitdir:i,oid:n})});for(const t of s)-1===r.indexOf(t)&&r.push(t);if(1===r.length)return r[0];if(r.length>1)throw new gM("oids",n,r);throw new DP(`an object matching "${n}"`)}async function iq({fs:t,cache:e,gitdir:i,oids:n}){const r={},s=n.length;let o=n.map(((t,e)=>({index:e,oid:t})));for(;o.length;){const n=new Set;for(const{oid:t,index:e}of o)r[t]||(r[t]=new Set),r[t].add(e),r[t].size===s&&n.add(t);if(n.size>0)return[...n];const a=new Map;for(const{oid:n,index:s}of o)try{const{object:o}=await fM({fs:t,cache:e,gitdir:i,oid:n}),u=WM.from(o),{parent:l}=u.parseHeaders();for(const t of l)r[t]&&r[t].has(s)||a.set(t+":"+s,{oid:t,index:s})}catch(t){}o=Array.from(a.values())}return[]}const nq=/^.*(\r?\n|$)/gm;function rq({branches:t,contents:e}){const i=t[1],n=t[2],r=e[0],s=e[1],o=e[2],a=s.match(nq),u=r.match(nq),l=o.match(nq),c=YL(a,u,l);let h="",p=!0;for(const t of c)t.ok&&(h+=t.ok.join("")),t.conflict&&(p=!1,h+=`${"<".repeat(7)} ${i}\n`,h+=t.conflict.a.join(""),h+=`${"=".repeat(7)}\n`,h+=t.conflict.b.join(""),h+=`${">".repeat(7)} ${n}\n`);return{cleanMerge:p,mergedText:h}}async function sq({fs:t,cache:e,dir:i,gitdir:n=OP(i,".git"),index:r,ourOid:s,baseOid:o,theirOid:a,ourName:u="ours",baseName:l="base",theirName:c="theirs",dryRun:h=!1,abortOnConflict:p=!0,mergeDriver:f}){const d=KM({ref:s}),g=KM({ref:o}),m=KM({ref:a}),y=[],b=[],w=[],v=[],D=await tz({fs:t,cache:e,dir:i,gitdir:n,trees:[d,g,m],map:async function(e,[i,s,o]){const a=gP(e);switch(`${await uz(i,s)}-${await uz(o,s)}`){case"false-false":return{mode:await s.mode(),path:a,oid:await s.oid(),type:await s.type()};case"false-true":return o?{mode:await o.mode(),path:a,oid:await o.oid(),type:await o.type()}:void 0;case"true-false":return i?{mode:await i.mode(),path:a,oid:await i.oid(),type:await i.type()}:void 0;case"true-true":if(i&&s&&o&&"blob"===await i.type()&&"blob"===await s.type()&&"blob"===await o.type())return async function({fs:t,gitdir:e,path:i,ours:n,base:r,theirs:s,ourName:o,theirName:a,baseName:u,dryRun:l,mergeDriver:c=rq}){const h="blob",p=await r.mode()===await n.mode()?await s.mode():await n.mode();if(await n.oid()===await s.oid())return{cleanMerge:!0,mergeResult:{mode:p,path:i,oid:await n.oid(),type:h}};if(await n.oid()===await r.oid())return{cleanMerge:!0,mergeResult:{mode:p,path:i,oid:await s.oid(),type:h}};if(await s.oid()===await r.oid())return{cleanMerge:!0,mergeResult:{mode:p,path:i,oid:await n.oid(),type:h}};const f=Buffer.from(await n.content()).toString("utf8"),d=Buffer.from(await r.content()).toString("utf8"),g=Buffer.from(await s.content()).toString("utf8"),{mergedText:m,cleanMerge:y}=await c({branches:[u,o,a],contents:[d,f,g],path:i}),b=await pz({fs:t,gitdir:e,type:"blob",object:Buffer.from(m,"utf8"),dryRun:l});return{cleanMerge:y,mergeResult:{mode:p,path:i,oid:b,type:h}}}({fs:t,gitdir:n,path:a,ours:i,base:s,theirs:o,ourName:u,baseName:l,theirName:c,mergeDriver:f}).then((async t=>{if(t.cleanMerge)p||r.insert({filepath:e,oid:t.mergeResult.oid,stage:0});else if(y.push(e),b.push(e),!p){const t=await s.oid(),n=await i.oid(),a=await o.oid();r.delete({filepath:e}),r.insert({filepath:e,oid:t,stage:1}),r.insert({filepath:e,oid:n,stage:2}),r.insert({filepath:e,oid:a,stage:3})}return t.mergeResult}));if(s&&!i&&o&&"blob"===await s.type()&&"blob"===await o.type()){if(y.push(e),w.push(e),!p){const t=await s.oid(),i=await o.oid();r.delete({filepath:e}),r.insert({filepath:e,oid:t,stage:1}),r.insert({filepath:e,oid:i,stage:3})}return{mode:await o.mode(),oid:await o.oid(),type:"blob",path:a}}if(s&&i&&!o&&"blob"===await s.type()&&"blob"===await i.type()){if(y.push(e),v.push(e),!p){const t=await s.oid(),n=await i.oid();r.delete({filepath:e}),r.insert({filepath:e,oid:t,stage:1}),r.insert({filepath:e,oid:n,stage:2})}return{mode:await i.mode(),oid:await i.oid(),type:"blob",path:a}}if(s&&!i&&!o&&"blob"===await s.type())return;throw new AM}},reduce:0===y.length||i&&!p?async(e,i)=>{const r=i.filter(Boolean);if(e&&(!e||"tree"!==e.type||0!==r.length)){if(r.length>0){const i=new tM(r).toObject(),s=await pz({fs:t,gitdir:n,type:"tree",object:i,dryRun:h});e.oid=s}return e}}:void 0});return 0!==y.length?(i&&!p&&await tz({fs:t,cache:e,dir:i,gitdir:n,trees:[KM({ref:D.oid})],map:async function(e,[n]){const r=`${i}/${e}`;if("blob"===await n.type()){const e=await n.mode(),i=(new TextDecoder).decode(await n.content());await t.write(r,i,{mode:e})}return!0}}),new FM(y,b,w,v)):D.oid}async function oq({fs:t,cache:e,dir:i,gitdir:n,ours:r,theirs:s,fastForward:o=!0,fastForwardOnly:a=!1,dryRun:u=!1,noUpdateBranch:l=!1,abortOnConflict:c=!0,message:h,author:p,committer:f,signingKey:d,onSign:g,mergeDriver:m}){void 0===r&&(r=await _z({fs:t,gitdir:n,fullname:!0})),r=await YP.expand({fs:t,gitdir:n,ref:r}),s=await YP.expand({fs:t,gitdir:n,ref:s});const y=await YP.resolve({fs:t,gitdir:n,ref:r}),b=await YP.resolve({fs:t,gitdir:n,ref:s}),w=await iq({fs:t,cache:e,gitdir:n,oids:[y,b]});if(1!==w.length)throw new AM;const v=w[0];if(v===b)return{oid:y,alreadyMerged:!0};if(o&&v===y)return u||l||await YP.writeRef({fs:t,gitdir:n,ref:r,value:b}),{oid:b,fastForward:!0};{if(a)throw new wM;const o=await dP.acquire({fs:t,gitdir:n,cache:e,allowUnmerged:!1},(async o=>sq({fs:t,cache:e,dir:i,gitdir:n,index:o,ourOid:y,theirOid:b,baseOid:v,ourName:Sz(r),baseName:"base",theirName:Sz(s),dryRun:u,abortOnConflict:c,mergeDriver:m})));if(o instanceof FM)throw o;h||(h=`Merge branch '${Sz(s)}' into ${Sz(r)}`);return{oid:await gz({fs:t,cache:e,gitdir:n,message:h,ref:r,tree:o,parent:[y,b],author:p,committer:f,signingKey:d,onSign:g,dryRun:u,noUpdateBranch:l}),tree:o,mergeCommit:!0}}}async function aq({fs:t,cache:e,http:i,onProgress:n,onMessage:r,onAuth:s,onAuthSuccess:o,onAuthFailure:a,dir:u,gitdir:l,ref:c,url:h,remote:p,remoteRef:f,prune:d,pruneTags:g,fastForward:m,fastForwardOnly:y,corsProxy:b,singleBranch:w,headers:v,author:D,committer:k,signingKey:E}){try{if(!c){const e=await _z({fs:t,gitdir:l});if(!e)throw new SM("ref");c=e}const{fetchHead:x,fetchHeadDescription:A}=await Xz({fs:t,cache:e,http:i,onProgress:n,onMessage:r,onAuth:s,onAuthSuccess:o,onAuthFailure:a,gitdir:l,corsProxy:b,ref:c,url:h,remote:p,remoteRef:f,singleBranch:w,headers:v,prune:d,pruneTags:g});await oq({fs:t,cache:e,gitdir:l,ours:c,theirs:x,fastForward:m,fastForwardOnly:y,message:`Merge ${A}`,author:D,committer:k,signingKey:E,dryRun:!1,noUpdateBranch:!1}),await Fz({fs:t,cache:e,onProgress:n,dir:u,gitdir:l,ref:c,remote:p,noCheckout:!1})}catch(t){throw t.caller="git.pull",t}}async function uq({fs:t,filepath:e}){if(await t.exists(OP(e,".git")))return e;{const i=mP(e);if(i===e)throw new DP(`git root for ${e}`);return uq({fs:t,filepath:i})}}function lq(t,e,i,n){const r=[];for(const[s,o]of t.refs){if(e&&!s.startsWith(e))continue;if(s.endsWith("^{}")){if(n){const t=s.replace("^{}",""),e=r[r.length-1],i=e.ref===t?e:r.find((e=>e.ref===t));if(void 0===i)throw new Error("I did not expect this to happen");i.peeled=o}continue}const a={ref:s,oid:o};i&&t.symrefs.has(s)&&(a.target=t.symrefs.get(s)),r.push(a)}return r}async function cq({fs:t,cache:e,gitdir:i,oid:n,ancestor:r,depth:s}){const o=await Wz.read({fs:t,gitdir:i});if(!n)throw new SM("oid");if(!r)throw new SM("ancestor");if(n===r)return!1;const a=[n],u=new Set;let l=0;for(;a.length;){if(l++===s)throw new xM(s);const n=a.shift(),{type:c,object:h}=await fM({fs:t,cache:e,gitdir:i,oid:n});if("commit"!==c)throw new kP(n,c,"commit");const p=WM.from(h).parse();for(const t of p.parent)if(t===r)return!0;if(!o.has(n))for(const t of p.parent)u.has(t)||(a.push(t),u.add(t))}return!1}async function hq({fs:t,gitdir:e,ref:i,cache:n}){if(i){const r=await YP.resolve({gitdir:e,fs:t,ref:i}),s=[];return await pq({fs:t,cache:n,gitdir:e,oid:r,filenames:s,prefix:""}),s}return dP.acquire({fs:t,gitdir:e,cache:n},(async function(t){return t.entries.map((t=>t.path))}))}async function pq({fs:t,cache:e,gitdir:i,oid:n,filenames:r,prefix:s}){const{tree:o}=await wz({fs:t,cache:e,gitdir:i,oid:n});for(const n of o)"tree"===n.type?await pq({fs:t,cache:e,gitdir:i,oid:n.oid,filenames:r,prefix:OP(s,n.path)}):r.push(OP(s,n.path))}async function fq({fs:t,cache:e,gitdir:i,oid:n}){const{type:r,object:s}=await fM({fs:t,cache:e,gitdir:i,oid:n});if("tag"===r)return fq({fs:t,cache:e,gitdir:i,oid:n=UM.from(s).parse().object});if("commit"!==r)throw new kP(n,r,"commit");return{commit:WM.from(s),oid:n}}async function dq({fs:t,cache:e,gitdir:i,oid:n}){const{commit:r,oid:s}=await fq({fs:t,cache:e,gitdir:i,oid:n});return{oid:s,commit:r.parse(),payload:r.withoutSignature()}}function gq(t,e){return t.committer.timestamp-e.committer.timestamp}const mq="e69de29bb2d1d6434b8b29ae775ad8c2e48c5391";async function yq({fs:t,cache:e,gitdir:i,oid:n,fileId:r}){if(r===mq)return;const s=n;let o;const a=await HM({fs:t,cache:e,gitdir:i,oid:n}),u=a.tree;return r===a.oid?o=a.path:(o=await bq({fs:t,cache:e,gitdir:i,tree:u,fileId:r,oid:s}),Array.isArray(o)&&(0===o.length?o=void 0:1===o.length&&(o=o[0]))),o}async function bq({fs:t,cache:e,gitdir:i,tree:n,fileId:r,oid:s,filepaths:o=[],parentPath:a=""}){const u=n.entries().map((function(n){let u;return n.oid===r?(u=OP(a,n.path),o.push(u)):"tree"===n.type&&(u=fM({fs:t,cache:e,gitdir:i,oid:n.oid}).then((function({object:u}){return bq({fs:t,cache:e,gitdir:i,tree:tM.from(u),fileId:r,oid:s,filepaths:o,parentPath:OP(a,n.path)})}))),u}));return await Promise.all(u),o}const wq={commit:16,tree:32,blob:48,tag:64,ofs_delta:96,ref_delta:112};async function vq({fs:t,cache:e,dir:i,gitdir:n=OP(i,".git"),oids:r}){const s=new _I,o=[];function a(t,e){const i=Buffer.from(t,e);o.push(i),s.update(i)}async function u({stype:t,object:e}){const i=wq[t];let n=e.length,r=n>15?128:0;const s=15&n;n>>>=4;let o=(r|i|s).toString(16);for(a(o,"hex");r;)r=n>127?128:0,o=r|127&n,a(Rz(2,o),"hex"),n>>>=7;a(Buffer.from(await hz(e)))}a("PACK"),a("00000002","hex"),a(Rz(8,r.length),"hex");for(const i of r){const{type:r,object:s}=await fM({fs:t,cache:e,gitdir:n,oid:i});await u({write:a,object:s,stype:r})}const l=s.digest();return o.push(l),o}async function Dq({fs:t,cache:e,dir:i,gitdir:n=OP(i,".git"),oids:r}){const s=new Set;async function o(i){if(s.has(i))return;s.add(i);const{type:r,object:a}=await fM({fs:t,cache:e,gitdir:n,oid:i});if("tag"===r){const t=UM.from(a).headers().object;await o(t)}else if("commit"===r){const t=WM.from(a).headers().tree;await o(t)}else if("tree"===r){const t=tM.from(a);for(const e of t)"blob"===e.type&&s.add(e.oid),"tree"===e.type&&await o(e.oid)}}for(const t of r)await o(t);return s}async function kq({fs:t,cache:e,http:i,onProgress:n,onMessage:r,onAuth:s,onAuthSuccess:o,onAuthFailure:a,gitdir:u,ref:l,remoteRef:c,remote:h,url:p,force:f=!1,delete:d=!1,corsProxy:g,headers:m={}}){const y=l||await _z({fs:t,gitdir:u});if(void 0===y)throw new SM("ref");const b=await HP.get({fs:t,gitdir:u});h=h||await b.get(`branch.${y}.pushRemote`)||await b.get("remote.pushDefault")||await b.get(`branch.${y}.remote`)||"origin";const w=p||await b.get(`remote.${h}.pushurl`)||await b.get(`remote.${h}.url`);if(void 0===w)throw new SM("remote OR url");const v=c||await b.get(`branch.${y}.merge`);if(void 0===w)throw new SM("remoteRef");void 0===g&&(g=await b.get("http.corsProxy"));const D=await YP.expand({fs:t,gitdir:u,ref:y}),k=d?"0000000000000000000000000000000000000000":await YP.resolve({fs:t,gitdir:u,ref:D}),E=Uz.getRemoteHelperFor({url:w}),x=await E.discover({http:i,onAuth:s,onAuthSuccess:o,onAuthFailure:a,corsProxy:g,service:"git-receive-pack",url:w,headers:m,protocolVersion:1}),A=x.auth;let F;if(v)try{F=await YP.expandAgainstMap({ref:v,map:x.refs})}catch(t){if(!(t instanceof DP))throw t;F=v.startsWith("refs/")?v:`refs/heads/${v}`}else F=D;const C=x.refs.get(F)||"0000000000000000000000000000000000000000",S=!x.capabilities.has("no-thin");let _=new Set;if(!d){const i=[...x.refs.values()];let n=new Set;if("0000000000000000000000000000000000000000"!==C){const r=await iq({fs:t,cache:e,gitdir:u,oids:[k,C]});for(const t of r)i.push(t);S&&(n=await Dq({fs:t,cache:e,gitdir:u,oids:r}))}if(!i.includes(k)){const n=await async function({fs:t,cache:e,dir:i,gitdir:n=OP(i,".git"),start:r,finish:s}){const o=await Wz.read({fs:t,gitdir:n}),a=new Set,u=new Set;for(const e of r)a.add(await YP.resolve({fs:t,gitdir:n,ref:e}));for(const e of s)try{const i=await YP.resolve({fs:t,gitdir:n,ref:e});u.add(i)}catch(t){}const l=new Set;async function c(i){l.add(i);const{type:r,object:s}=await fM({fs:t,cache:e,gitdir:n,oid:i});if("tag"===r)return c(UM.from(s).headers().object);if("commit"!==r)throw new kP(i,r,"commit");if(!o.has(i)){const t=WM.from(s).headers().parent;for(i of t)u.has(i)||l.has(i)||await c(i)}}for(const t of a)await c(t);return l}({fs:t,cache:e,gitdir:u,start:[k],finish:i});_=await Dq({fs:t,cache:e,gitdir:u,oids:n})}if(S){try{const i=await YP.resolve({fs:t,gitdir:u,ref:`refs/remotes/${h}/HEAD`,depth:2}),{oid:r}=await YP.resolveAgainstMap({ref:i.replace(`refs/remotes/${h}/`,""),fullref:i,map:x.refs}),s=[r];for(const i of await Dq({fs:t,cache:e,gitdir:u,oids:s}))n.add(i)}catch(t){}for(const t of n)_.delete(t)}if(k===C&&(f=!0),!f){if(D.startsWith("refs/tags")&&"0000000000000000000000000000000000000000"!==C)throw new OM("tag-exists");if("0000000000000000000000000000000000000000"!==k&&"0000000000000000000000000000000000000000"!==C&&!await cq({fs:t,cache:e,gitdir:u,oid:k,ancestor:C,depth:-1}))throw new OM("not-fast-forward")}}const j=Vz([...x.capabilities],["report-status","side-band-64k",`agent=${Kz.agent}`]),O=await async function({capabilities:t=[],triplets:e=[]}){const i=[];let n=`\0 ${t.join(" ")}`;for(const t of e)i.push(Iz.encode(`${t.oldoid} ${t.oid} ${t.fullRef}${n}\n`)),n="";return i.push(Iz.flush()),i}({capabilities:j,triplets:[{oldoid:C,oid:k,fullRef:F}]}),B=d?[]:await vq({fs:t,cache:e,gitdir:u,oids:[..._]}),T=await E.connect({http:i,onProgress:n,corsProxy:g,service:"git-receive-pack",url:w,auth:A,headers:m,body:[...O,...B]}),{packfile:R,progress:I}=await Qz.demux(T.body);if(r){Oz(Zz(I),(async t=>{await r(t)}))}const $=await async function(t){const e={};let i="";const n=Iz.streamReader(t);let r=await n();for(;!0!==r;)null!==r&&(i+=r.toString("utf8")+"\n"),r=await n();const s=i.toString("utf8").split("\n");if(r=s.shift(),!r.startsWith("unpack "))throw new jM('unpack ok" or "unpack [error message]',r);e.ok="unpack ok"===r,e.ok||(e.error=r.slice(7)),e.refs={};for(const t of s){if(""===t.trim())continue;const i=t.slice(0,2),n=t.slice(3);let r=n.indexOf(" ");-1===r&&(r=n.length);const s=n.slice(0,r),o=n.slice(r+1);e.refs[s]={ok:"ok"===i,error:o}}return e}(R);if(T.headers&&($.headers=T.headers),h&&$.ok&&$.refs[F].ok){const e=`refs/remotes/${h}/${F.replace("refs/heads","")}`;d?await YP.deleteRef({fs:t,gitdir:u,ref:e}):await YP.writeRef({fs:t,gitdir:u,ref:e,value:k})}if($.ok&&Object.values($.refs).every((t=>t.ok)))return $;{const t=Object.entries($.refs).filter((([t,e])=>!e.ok)).map((([t,e])=>`\n - ${t}: ${e.error}`)).join("");throw new vM(t,$)}}async function Eq({fs:t,cache:e,gitdir:i,oid:n}){const{type:r,object:s}=await fM({fs:t,cache:e,gitdir:i,oid:n});if("tag"===r)return Eq({fs:t,cache:e,gitdir:i,oid:n=UM.from(s).parse().object});if("blob"!==r)throw new kP(n,r,"blob");return{oid:n,blob:new Uint8Array(s)}}async function xq({fs:t,cache:e,gitdir:i,oid:n,filepath:r}){void 0!==r&&(n=await yz({fs:t,cache:e,gitdir:i,oid:n,filepath:r}));return await Eq({fs:t,cache:e,gitdir:i,oid:n})}async function Aq({gitdir:t,type:e,object:i}){return uP(eM.wrap({type:e,object:i}))}async function Fq({fs:t,cache:e,gitdir:i,tree:n,path:r}){"string"==typeof r&&(r=r.split("/"));const s=r.shift();for(const o of n)if(o.path===s){if(0===r.length)return o.oid;const{type:n,object:s}=await fM({fs:t,cache:e,gitdir:i,oid:o.oid});if("tree"===n){return Fq({fs:t,cache:e,gitdir:i,tree:tM.from(s),path:r})}if("blob"===n)throw new kP(o.oid,n,"blob",r.join("/"))}return null}var Cq={Errors:LM,STAGE:vP,TREE:KM,WORKDIR:JM,add:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),filepath:n,cache:r={},force:s=!1,parallel:o=!0}){try{az("fs",t),az("dir",e),az("gitdir",i),az("filepath",n);const a=new oz(t);await dP.acquire({fs:a,gitdir:i,cache:r},(async t=>dz({dir:e,gitdir:i,fs:a,filepath:n,index:t,force:s,parallel:o})))}catch(t){throw t.caller="git.add",t}},abortMerge:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),commit:n="HEAD",cache:r={}}){try{az("fs",t),az("dir",e),az("gitdir",i);const s=new oz(t),o=[KM({ref:n}),JM(),vP()];let a=[];await dP.acquire({fs:s,gitdir:i,cache:r},(async function(t){a=t.unmergedPaths}));const u=await tz({fs:s,cache:r,dir:e,gitdir:i,trees:o,map:async function(t,[e,i,n]){const r=!await uz(i,n),s=a.includes(t),o=!await uz(n,e);if(r||s)return e?{path:t,mode:await e.mode(),oid:await e.oid(),type:await e.type(),content:await e.content()}:void 0;if(o)return!1;throw new NM(t)}});await dP.acquire({fs:s,gitdir:i,cache:r},(async function(t){for(const i of u)if(!1!==i)if(i){if("blob"===i.type){const n=(new TextDecoder).decode(i.content);await s.write(`${e}/${i.path}`,n,{mode:i.mode}),t.insert({filepath:i.path,oid:i.oid,stage:0})}}else await s.rmdir(`${e}/${i.path}`,{recursive:!0}),t.delete({filepath:i.path})}))}catch(t){throw t.caller="git.abortMerge",t}},addNote:async function({fs:t,onSign:e,dir:i,gitdir:n=OP(i,".git"),ref:r="refs/notes/commits",oid:s,note:o,force:a,author:u,committer:l,signingKey:c,cache:h={}}){try{az("fs",t),az("gitdir",n),az("oid",s),az("note",o),c&&az("onSign",e);const i=new oz(t),p=await kz({fs:i,gitdir:n,author:u});if(!p)throw new CM("author");const f=await Ez({fs:i,gitdir:n,author:p,committer:l});if(!f)throw new CM("committer");return await async function({fs:t,cache:e,onSign:i,gitdir:n,ref:r,oid:s,note:o,force:a,author:u,committer:l,signingKey:c}){let h;try{h=await YP.resolve({gitdir:n,fs:t,ref:r})}catch(t){if(!(t instanceof DP))throw t}let p=(await wz({fs:t,cache:e,gitdir:n,oid:h||"4b825dc642cb6eb9a060e54bf8d69288fbee4904"})).tree;if(a)p=p.filter((t=>t.path!==s));else for(const t of p)if(t.path===s)throw new dM("note",s);"string"==typeof o&&(o=Buffer.from(o,"utf8"));const f=await pz({fs:t,gitdir:n,type:"blob",object:o,format:"content"});p.push({mode:"100644",path:s,oid:f,type:"blob"});const d=await vz({fs:t,gitdir:n,tree:p});return await gz({fs:t,cache:e,onSign:i,gitdir:n,ref:r,tree:d,parent:h&&[h],message:"Note added by 'isomorphic-git addNote'\n",author:u,committer:l,signingKey:c})}({fs:new oz(i),cache:h,onSign:e,gitdir:n,ref:r,oid:s,note:o,force:a,author:p,committer:f,signingKey:c})}catch(t){throw t.caller="git.addNote",t}},addRemote:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),remote:n,url:r,force:s=!1}){try{return az("fs",t),az("gitdir",i),az("remote",n),az("url",r),await xz({fs:new oz(t),gitdir:i,remote:n,url:r,force:s})}catch(t){throw t.caller="git.addRemote",t}},annotatedTag:async function({fs:t,onSign:e,dir:i,gitdir:n=OP(i,".git"),ref:r,tagger:s,message:o=r,gpgsig:a,object:u,signingKey:l,force:c=!1,cache:h={}}){try{az("fs",t),az("gitdir",n),az("ref",r),l&&az("onSign",e);const i=new oz(t),p=await kz({fs:i,gitdir:n,author:s});if(!p)throw new CM("tagger");return await async function({fs:t,cache:e,onSign:i,gitdir:n,ref:r,tagger:s,message:o=r,gpgsig:a,object:u,signingKey:l,force:c=!1}){if(r=r.startsWith("refs/tags/")?r:`refs/tags/${r}`,!c&&await YP.exists({fs:t,gitdir:n,ref:r}))throw new dM("tag",r);const h=await YP.resolve({fs:t,gitdir:n,ref:u||"HEAD"}),{type:p}=await fM({fs:t,cache:e,gitdir:n,oid:h});let f=UM.from({object:h,type:p,tag:r.replace("refs/tags/",""),tagger:s,message:o,gpgsig:a});l&&(f=await UM.sign(f,i,l));const d=await pz({fs:t,gitdir:n,type:"tag",object:f.toObject()});await YP.writeRef({fs:t,gitdir:n,ref:r,value:d})}({fs:i,cache:h,onSign:e,gitdir:n,ref:r,tagger:p,message:o,gpgsig:a,object:u,signingKey:l,force:c})}catch(t){throw t.caller="git.annotatedTag",t}},branch:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n,object:r,checkout:s=!1,force:o=!1}){try{return az("fs",t),az("gitdir",i),az("ref",n),await async function({fs:t,gitdir:e,ref:i,object:n,checkout:r=!1,force:s=!1}){if(i!==WL.clean(i))throw new EM(i,WL.clean(i));const o=`refs/heads/${i}`;if(!s&&await YP.exists({fs:t,gitdir:e,ref:o}))throw new dM("branch",i,!1);let a;try{a=await YP.resolve({fs:t,gitdir:e,ref:n||"HEAD"})}catch(t){}a&&await YP.writeRef({fs:t,gitdir:e,ref:o,value:a}),r&&await YP.writeSymbolicRef({fs:t,gitdir:e,ref:"HEAD",value:o})}({fs:new oz(t),gitdir:i,ref:n,object:r,checkout:s,force:o})}catch(t){throw t.caller="git.branch",t}},checkout:async function({fs:t,onProgress:e,dir:i,gitdir:n=OP(i,".git"),remote:r="origin",ref:s,filepaths:o,noCheckout:a=!1,noUpdateHead:u=void 0===s,dryRun:l=!1,force:c=!1,track:h=!0,cache:p={}}){try{az("fs",t),az("dir",i),az("gitdir",n);const f=s||"HEAD";return await Fz({fs:new oz(t),cache:p,onProgress:e,dir:i,gitdir:n,remote:r,ref:f,filepaths:o,noCheckout:a,noUpdateHead:u,dryRun:l,force:c,track:h})}catch(t){throw t.caller="git.checkout",t}},clone:async function({fs:t,http:e,onProgress:i,onMessage:n,onAuth:r,onAuthSuccess:s,onAuthFailure:o,dir:a,gitdir:u=OP(a,".git"),url:l,corsProxy:c,ref:h,remote:p="origin",depth:f,since:d,exclude:g=[],relative:m=!1,singleBranch:y=!1,noCheckout:b=!1,noTags:w=!1,headers:v={},cache:D={}}){try{return az("fs",t),az("http",e),az("gitdir",u),b||az("dir",a),az("url",l),await async function({fs:t,cache:e,http:i,onProgress:n,onMessage:r,onAuth:s,onAuthSuccess:o,onAuthFailure:a,dir:u,gitdir:l,url:c,corsProxy:h,ref:p,remote:f,depth:d,since:g,exclude:m,relative:y,singleBranch:b,noCheckout:w,noTags:v,headers:D}){try{if(await tq({fs:t,gitdir:l}),await xz({fs:t,gitdir:l,remote:f,url:c,force:!1}),h){const e=await HP.get({fs:t,gitdir:l});await e.set("http.corsProxy",h),await HP.save({fs:t,gitdir:l,config:e})}const{defaultBranch:k,fetchHead:E}=await Xz({fs:t,cache:e,http:i,onProgress:n,onMessage:r,onAuth:s,onAuthSuccess:o,onAuthFailure:a,gitdir:l,ref:p,remote:f,corsProxy:h,depth:d,since:g,exclude:m,relative:y,singleBranch:b,headers:D,tags:!v});if(null===E)return;p=(p=p||k).replace("refs/heads/",""),await Fz({fs:t,cache:e,onProgress:n,dir:u,gitdir:l,ref:p,remote:f,noCheckout:w})}catch(e){throw await t.rmdir(l,{recursive:!0,maxRetries:10}).catch((()=>{})),e}}({fs:new oz(t),cache:D,http:e,onProgress:i,onMessage:n,onAuth:r,onAuthSuccess:s,onAuthFailure:o,dir:a,gitdir:u,url:l,corsProxy:c,ref:h,remote:p,depth:f,since:d,exclude:g,relative:m,singleBranch:y,noCheckout:b,noTags:w,headers:v})}catch(t){throw t.caller="git.clone",t}},commit:async function({fs:t,onSign:e,dir:i,gitdir:n=OP(i,".git"),message:r,author:s,committer:o,signingKey:a,dryRun:u=!1,noUpdateBranch:l=!1,ref:c,parent:h,tree:p,cache:f={}}){try{az("fs",t),az("message",r),a&&az("onSign",e);const i=new oz(t),d=await kz({fs:i,gitdir:n,author:s});if(!d)throw new CM("author");const g=await Ez({fs:i,gitdir:n,author:d,committer:o});if(!g)throw new CM("committer");return await gz({fs:i,cache:f,onSign:e,gitdir:n,message:r,author:d,committer:g,signingKey:a,dryRun:u,noUpdateBranch:l,ref:c,parent:h,tree:p})}catch(t){throw t.caller="git.commit",t}},getConfig:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),path:n}){try{return az("fs",t),az("gitdir",i),az("path",n),await Dz({fs:new oz(t),gitdir:i,path:n})}catch(t){throw t.caller="git.getConfig",t}},getConfigAll:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),path:n}){try{return az("fs",t),az("gitdir",i),az("path",n),await async function({fs:t,gitdir:e,path:i}){return(await HP.get({fs:t,gitdir:e})).getall(i)}({fs:new oz(t),gitdir:i,path:n})}catch(t){throw t.caller="git.getConfigAll",t}},setConfig:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),path:n,value:r,append:s=!1}){try{az("fs",t),az("gitdir",i),az("path",n);const e=new oz(t),o=await HP.get({fs:e,gitdir:i});s?await o.append(n,r):await o.set(n,r),await HP.save({fs:e,gitdir:i,config:o})}catch(t){throw t.caller="git.setConfig",t}},currentBranch:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),fullname:n=!1,test:r=!1}){try{return az("fs",t),az("gitdir",i),await _z({fs:new oz(t),gitdir:i,fullname:n,test:r})}catch(t){throw t.caller="git.currentBranch",t}},deleteBranch:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n}){try{return az("fs",t),az("ref",n),await async function({fs:t,gitdir:e,ref:i}){if(i=i.startsWith("refs/heads/")?i:`refs/heads/${i}`,!await YP.exists({fs:t,gitdir:e,ref:i}))throw new DP(i);const n=await YP.expand({fs:t,gitdir:e,ref:i});if(n===await _z({fs:t,gitdir:e,fullname:!0})){const i=await YP.resolve({fs:t,gitdir:e,ref:n});await YP.writeRef({fs:t,gitdir:e,ref:"HEAD",value:i})}await YP.deleteRef({fs:t,gitdir:e,ref:n})}({fs:new oz(t),gitdir:i,ref:n})}catch(t){throw t.caller="git.deleteBranch",t}},deleteRef:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n}){try{az("fs",t),az("ref",n),await YP.deleteRef({fs:new oz(t),gitdir:i,ref:n})}catch(t){throw t.caller="git.deleteRef",t}},deleteRemote:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),remote:n}){try{return az("fs",t),az("remote",n),await async function({fs:t,gitdir:e,remote:i}){const n=await HP.get({fs:t,gitdir:e});await n.deleteSection("remote",i),await HP.save({fs:t,gitdir:e,config:n})}({fs:new oz(t),gitdir:i,remote:n})}catch(t){throw t.caller="git.deleteRemote",t}},deleteTag:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n}){try{return az("fs",t),az("ref",n),await async function({fs:t,gitdir:e,ref:i}){i=i.startsWith("refs/tags/")?i:`refs/tags/${i}`,await YP.deleteRef({fs:t,gitdir:e,ref:i})}({fs:new oz(t),gitdir:i,ref:n})}catch(t){throw t.caller="git.deleteTag",t}},expandOid:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),oid:n,cache:r={}}){try{return az("fs",t),az("gitdir",i),az("oid",n),await eq({fs:new oz(t),cache:r,gitdir:i,oid:n})}catch(t){throw t.caller="git.expandOid",t}},expandRef:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n}){try{return az("fs",t),az("gitdir",i),az("ref",n),await YP.expand({fs:new oz(t),gitdir:i,ref:n})}catch(t){throw t.caller="git.expandRef",t}},fastForward:async function({fs:t,http:e,onProgress:i,onMessage:n,onAuth:r,onAuthSuccess:s,onAuthFailure:o,dir:a,gitdir:u=OP(a,".git"),ref:l,url:c,remote:h,remoteRef:p,corsProxy:f,singleBranch:d,headers:g={},cache:m={}}){try{az("fs",t),az("http",e),az("gitdir",u);const y={name:"",email:"",timestamp:Date.now(),timezoneOffset:0};return await aq({fs:new oz(t),cache:m,http:e,onProgress:i,onMessage:n,onAuth:r,onAuthSuccess:s,onAuthFailure:o,dir:a,gitdir:u,ref:l,url:c,remote:h,remoteRef:p,fastForwardOnly:!0,corsProxy:f,singleBranch:d,headers:g,author:y,committer:y})}catch(t){throw t.caller="git.fastForward",t}},fetch:async function({fs:t,http:e,onProgress:i,onMessage:n,onAuth:r,onAuthSuccess:s,onAuthFailure:o,dir:a,gitdir:u=OP(a,".git"),ref:l,remote:c,remoteRef:h,url:p,corsProxy:f,depth:d=null,since:g=null,exclude:m=[],relative:y=!1,tags:b=!1,singleBranch:w=!1,headers:v={},prune:D=!1,pruneTags:k=!1,cache:E={}}){try{return az("fs",t),az("http",e),az("gitdir",u),await Xz({fs:new oz(t),cache:E,http:e,onProgress:i,onMessage:n,onAuth:r,onAuthSuccess:s,onAuthFailure:o,gitdir:u,ref:l,remote:c,remoteRef:h,url:p,corsProxy:f,depth:d,since:g,exclude:m,relative:y,tags:b,singleBranch:w,headers:v,prune:D,pruneTags:k})}catch(t){throw t.caller="git.fetch",t}},findMergeBase:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),oids:n,cache:r={}}){try{return az("fs",t),az("gitdir",i),az("oids",n),await iq({fs:new oz(t),cache:r,gitdir:i,oids:n})}catch(t){throw t.caller="git.findMergeBase",t}},findRoot:async function({fs:t,filepath:e}){try{return az("fs",t),az("filepath",e),await uq({fs:new oz(t),filepath:e})}catch(t){throw t.caller="git.findRoot",t}},getRemoteInfo:async function({http:t,onAuth:e,onAuthSuccess:i,onAuthFailure:n,corsProxy:r,url:s,headers:o={},forPush:a=!1}){try{az("http",t),az("url",s);const u=Uz.getRemoteHelperFor({url:s}),l=await u.discover({http:t,onAuth:e,onAuthSuccess:i,onAuthFailure:n,corsProxy:r,service:a?"git-receive-pack":"git-upload-pack",url:s,headers:o,protocolVersion:1}),c={capabilities:[...l.capabilities]};for(const[t,e]of l.refs){const i=t.split("/"),n=i.pop();let r=c;for(const t of i)r[t]=r[t]||{},r=r[t];r[n]=e}for(const[t,e]of l.symrefs){const i=t.split("/"),n=i.pop();let r=c;for(const t of i)r[t]=r[t]||{},r=r[t];r[n]=e}return c}catch(t){throw t.caller="git.getRemoteInfo",t}},getRemoteInfo2:async function({http:t,onAuth:e,onAuthSuccess:i,onAuthFailure:n,corsProxy:r,url:s,headers:o={},forPush:a=!1,protocolVersion:u=2}){try{az("http",t),az("url",s);const l=Uz.getRemoteHelperFor({url:s}),c=await l.discover({http:t,onAuth:e,onAuthSuccess:i,onAuthFailure:n,corsProxy:r,service:a?"git-receive-pack":"git-upload-pack",url:s,headers:o,protocolVersion:u});if(2===c.protocolVersion)return{protocolVersion:c.protocolVersion,capabilities:c.capabilities2};const h={};for(const t of c.capabilities){const[e,i]=t.split("=");h[e]=i||!0}return{protocolVersion:1,capabilities:h,refs:lq(c,void 0,!0,!0)}}catch(t){throw t.caller="git.getRemoteInfo2",t}},hashBlob:async function({object:t}){try{az("object",t),t="string"==typeof t?Buffer.from(t,"utf8"):Buffer.from(t);const e="blob",{oid:i,object:n}=await async function({type:t,object:e,format:i="content",oid:n}){return"deflated"!==i&&("wrapped"!==i&&(e=eM.wrap({type:t,object:e})),n=await uP(e)),{oid:n,object:e}}({type:"blob",format:"content",object:t});return{oid:i,type:e,object:new Uint8Array(n),format:"wrapped"}}catch(t){throw t.caller="git.hashBlob",t}},indexPack:async function({fs:t,onProgress:e,dir:i,gitdir:n=OP(i,".git"),filepath:r,cache:s={}}){try{return az("fs",t),az("dir",i),az("gitdir",i),az("filepath",r),await async function({fs:t,cache:e,onProgress:i,dir:n,gitdir:r,filepath:s}){try{s=OP(n,s);const o=await t.read(s),a=i=>fM({fs:t,cache:e,gitdir:r,oid:i}),u=await cM.fromPack({pack:o,getExternalRefDelta:a,onProgress:i});return await t.write(s.replace(/\.pack$/,".idx"),await u.toBuffer()),{oids:[...u.hashes]}}catch(t){throw t.caller="git.indexPack",t}}({fs:new oz(t),cache:s,onProgress:e,dir:i,gitdir:n,filepath:r})}catch(t){throw t.caller="git.indexPack",t}},init:async function({fs:t,bare:e=!1,dir:i,gitdir:n=(e?i:OP(i,".git")),defaultBranch:r="master"}){try{return az("fs",t),az("gitdir",n),e||az("dir",i),await tq({fs:new oz(t),bare:e,dir:i,gitdir:n,defaultBranch:r})}catch(t){throw t.caller="git.init",t}},isDescendent:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),oid:n,ancestor:r,depth:s=-1,cache:o={}}){try{return az("fs",t),az("gitdir",i),az("oid",n),az("ancestor",r),await cq({fs:new oz(t),cache:o,gitdir:i,oid:n,ancestor:r,depth:s})}catch(t){throw t.caller="git.isDescendent",t}},isIgnored:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),filepath:n}){try{return az("fs",t),az("dir",e),az("gitdir",i),az("filepath",n),lz.isIgnored({fs:new oz(t),dir:e,gitdir:i,filepath:n})}catch(t){throw t.caller="git.isIgnored",t}},listBranches:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),remote:n}){try{return az("fs",t),az("gitdir",i),YP.listBranches({fs:new oz(t),gitdir:i,remote:n})}catch(t){throw t.caller="git.listBranches",t}},listFiles:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n,cache:r={}}){try{return az("fs",t),az("gitdir",i),await hq({fs:new oz(t),cache:r,gitdir:i,ref:n})}catch(t){throw t.caller="git.listFiles",t}},listNotes:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n="refs/notes/commits",cache:r={}}){try{return az("fs",t),az("gitdir",i),az("ref",n),await async function({fs:t,cache:e,gitdir:i,ref:n}){let r;try{r=await YP.resolve({gitdir:i,fs:t,ref:n})}catch(t){if(t instanceof DP)return[]}return(await wz({fs:t,cache:e,gitdir:i,oid:r})).tree.map((t=>({target:t.path,note:t.oid})))}({fs:new oz(t),cache:r,gitdir:i,ref:n})}catch(t){throw t.caller="git.listNotes",t}},listRemotes:async function({fs:t,dir:e,gitdir:i=OP(e,".git")}){try{return az("fs",t),az("gitdir",i),await async function({fs:t,gitdir:e}){const i=await HP.get({fs:t,gitdir:e}),n=await i.getSubsections("remote");return Promise.all(n.map((async t=>({remote:t,url:await i.get(`remote.${t}.url`)}))))}({fs:new oz(t),gitdir:i})}catch(t){throw t.caller="git.listRemotes",t}},listServerRefs:async function({http:t,onAuth:e,onAuthSuccess:i,onAuthFailure:n,corsProxy:r,url:s,headers:o={},forPush:a=!1,protocolVersion:u=2,prefix:l,symrefs:c,peelTags:h}){try{az("http",t),az("url",s);const p=await qz.discover({http:t,onAuth:e,onAuthSuccess:i,onAuthFailure:n,corsProxy:r,service:a?"git-receive-pack":"git-upload-pack",url:s,headers:o,protocolVersion:u});if(1===p.protocolVersion)return lq(p,l,c,h);const f=await async function({prefix:t,symrefs:e,peelTags:i}){const n=[];return n.push(Iz.encode("command=ls-refs\n")),n.push(Iz.encode(`agent=${Kz.agent}\n`)),(i||e||t)&&n.push(Iz.delim()),i&&n.push(Iz.encode("peel")),e&&n.push(Iz.encode("symrefs")),t&&n.push(Iz.encode(`ref-prefix ${t}`)),n.push(Iz.flush()),n}({prefix:l,symrefs:c,peelTags:h});return async function(t){const e=Iz.streamReader(t),i=[];let n;for(;n=await e(),!0!==n;){if(null===n)continue;n=n.toString("utf8").replace(/\n$/,"");const[t,e,...r]=n.split(" "),s={ref:e,oid:t};for(const t of r){const[e,i]=t.split(":");"symref-target"===e?s.target=i:"peeled"===e&&(s.peeled=i)}i.push(s)}return i}((await qz.connect({http:t,auth:p.auth,headers:o,corsProxy:r,service:a?"git-receive-pack":"git-upload-pack",url:s,body:f})).body)}catch(t){throw t.caller="git.listServerRefs",t}},listTags:async function({fs:t,dir:e,gitdir:i=OP(e,".git")}){try{return az("fs",t),az("gitdir",i),YP.listTags({fs:new oz(t),gitdir:i})}catch(t){throw t.caller="git.listTags",t}},log:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),filepath:n,ref:r="HEAD",depth:s,since:o,force:a,follow:u,cache:l={}}){try{return az("fs",t),az("gitdir",i),az("ref",r),await async function({fs:t,cache:e,gitdir:i,filepath:n,ref:r,depth:s,since:o,force:a,follow:u}){const l=void 0===o?void 0:Math.floor(o.valueOf()/1e3),c=[],h=await Wz.read({fs:t,gitdir:i}),p=await YP.resolve({fs:t,gitdir:i,ref:r}),f=[await dq({fs:t,cache:e,gitdir:i,oid:p})];let d,g,m;function y(t){m&&n&&c.push(t)}for(;f.length>0;){const r=f.pop();if(void 0!==l&&r.commit.committer.timestamp<=l)break;if(n){let s;try{s=await yz({fs:t,cache:e,gitdir:i,oid:r.commit.tree,filepath:n}),g&&d!==s&&c.push(g),d=s,g=r,m=!0}catch(s){if(!(s instanceof DP))throw s;{let o=u&&d;if(o&&(o=await yq({fs:t,cache:e,gitdir:i,oid:r.commit.tree,fileId:d}),o))if(Array.isArray(o)){if(g){const r=await yq({fs:t,cache:e,gitdir:i,oid:g.commit.tree,fileId:d});if(Array.isArray(r)){if(o=o.filter((t=>-1===r.indexOf(t))),1!==o.length){o=!1,g&&c.push(g);break}o=o[0],n=o,g&&c.push(g)}}}else n=o,g&&c.push(g);if(!o){if(m&&d&&(c.push(g),!a))break;if(!a&&!u)throw s}g=r,m=!1}}}else c.push(r);if(void 0!==s&&c.length===s){y(r);break}if(!h.has(r.oid))for(const n of r.commit.parent){const r=await dq({fs:t,cache:e,gitdir:i,oid:n});f.map((t=>t.oid)).includes(r.oid)||f.push(r)}0===f.length&&y(r),f.sort(((t,e)=>gq(t.commit,e.commit)))}return c}({fs:new oz(t),cache:l,gitdir:i,filepath:n,ref:r,depth:s,since:o,force:a,follow:u})}catch(t){throw t.caller="git.log",t}},merge:async function({fs:t,onSign:e,dir:i,gitdir:n=OP(i,".git"),ours:r,theirs:s,fastForward:o=!0,fastForwardOnly:a=!1,dryRun:u=!1,noUpdateBranch:l=!1,abortOnConflict:c=!0,message:h,author:p,committer:f,signingKey:d,cache:g={},mergeDriver:m}){try{az("fs",t),d&&az("onSign",e);const y=new oz(t),b=await kz({fs:y,gitdir:n,author:p});if(!(b||a&&o))throw new CM("author");const w=await Ez({fs:y,gitdir:n,author:b,committer:f});if(!(w||a&&o))throw new CM("committer");return await oq({fs:y,cache:g,dir:i,gitdir:n,ours:r,theirs:s,fastForward:o,fastForwardOnly:a,dryRun:u,noUpdateBranch:l,abortOnConflict:c,message:h,author:b,committer:w,signingKey:d,onSign:e,mergeDriver:m})}catch(t){throw t.caller="git.merge",t}},packObjects:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),oids:n,write:r=!1,cache:s={}}){try{return az("fs",t),az("gitdir",i),az("oids",n),await async function({fs:t,cache:e,gitdir:i,oids:n,write:r}){const s=await vq({fs:t,cache:e,gitdir:i,oids:n}),o=Buffer.from(await Bz(s)),a=`pack-${o.slice(-20).toString("hex")}.pack`;return r?(await t.write(OP(i,`objects/pack/${a}`),o),{filename:a}):{filename:a,packfile:new Uint8Array(o)}}({fs:new oz(t),cache:s,gitdir:i,oids:n,write:r})}catch(t){throw t.caller="git.packObjects",t}},pull:async function({fs:t,http:e,onProgress:i,onMessage:n,onAuth:r,onAuthSuccess:s,onAuthFailure:o,dir:a,gitdir:u=OP(a,".git"),ref:l,url:c,remote:h,remoteRef:p,prune:f=!1,pruneTags:d=!1,fastForward:g=!0,fastForwardOnly:m=!1,corsProxy:y,singleBranch:b,headers:w={},author:v,committer:D,signingKey:k,cache:E={}}){try{az("fs",t),az("gitdir",u);const x=new oz(t),A=await kz({fs:x,gitdir:u,author:v});if(!A)throw new CM("author");const F=await Ez({fs:x,gitdir:u,author:A,committer:D});if(!F)throw new CM("committer");return await aq({fs:x,cache:E,http:e,onProgress:i,onMessage:n,onAuth:r,onAuthSuccess:s,onAuthFailure:o,dir:a,gitdir:u,ref:l,url:c,remote:h,remoteRef:p,fastForward:g,fastForwardOnly:m,corsProxy:y,singleBranch:b,headers:w,author:A,committer:F,signingKey:k,prune:f,pruneTags:d})}catch(t){throw t.caller="git.pull",t}},push:async function({fs:t,http:e,onProgress:i,onMessage:n,onAuth:r,onAuthSuccess:s,onAuthFailure:o,dir:a,gitdir:u=OP(a,".git"),ref:l,remoteRef:c,remote:h="origin",url:p,force:f=!1,delete:d=!1,corsProxy:g,headers:m={},cache:y={}}){try{return az("fs",t),az("http",e),az("gitdir",u),await kq({fs:new oz(t),cache:y,http:e,onProgress:i,onMessage:n,onAuth:r,onAuthSuccess:s,onAuthFailure:o,gitdir:u,ref:l,remoteRef:c,remote:h,url:p,force:f,delete:d,corsProxy:g,headers:m})}catch(t){throw t.caller="git.push",t}},readBlob:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),oid:n,filepath:r,cache:s={}}){try{return az("fs",t),az("gitdir",i),az("oid",n),await xq({fs:new oz(t),cache:s,gitdir:i,oid:n,filepath:r})}catch(t){throw t.caller="git.readBlob",t}},readCommit:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),oid:n,cache:r={}}){try{return az("fs",t),az("gitdir",i),az("oid",n),await dq({fs:new oz(t),cache:r,gitdir:i,oid:n})}catch(t){throw t.caller="git.readCommit",t}},readNote:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n="refs/notes/commits",oid:r,cache:s={}}){try{return az("fs",t),az("gitdir",i),az("ref",n),az("oid",r),await async function({fs:t,cache:e,gitdir:i,ref:n="refs/notes/commits",oid:r}){const s=await YP.resolve({gitdir:i,fs:t,ref:n}),{blob:o}=await xq({fs:t,cache:e,gitdir:i,oid:s,filepath:r});return o}({fs:new oz(t),cache:s,gitdir:i,ref:n,oid:r})}catch(t){throw t.caller="git.readNote",t}},readObject:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),oid:n,format:r="parsed",filepath:s,encoding:o,cache:a={}}){try{az("fs",t),az("gitdir",i),az("oid",n);const e=new oz(t);void 0!==s&&(n=await yz({fs:e,cache:a,gitdir:i,oid:n,filepath:s}));const u="parsed"===r?"content":r,l=await fM({fs:e,cache:a,gitdir:i,oid:n,format:u});if(l.oid=n,"parsed"===r)switch(l.format="parsed",l.type){case"commit":l.object=WM.from(l.object).parse();break;case"tree":l.object=tM.from(l.object).entries();break;case"blob":o?l.object=l.object.toString(o):(l.object=new Uint8Array(l.object),l.format="content");break;case"tag":l.object=UM.from(l.object).parse();break;default:throw new kP(l.oid,l.type,"blob|commit|tag|tree")}else"deflated"!==l.format&&"wrapped"!==l.format||(l.type=l.format);return l}catch(t){throw t.caller="git.readObject",t}},readTag:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),oid:n,cache:r={}}){try{return az("fs",t),az("gitdir",i),az("oid",n),await async function({fs:t,cache:e,gitdir:i,oid:n}){const{type:r,object:s}=await fM({fs:t,cache:e,gitdir:i,oid:n,format:"content"});if("tag"!==r)throw new kP(n,r,"tag");const o=UM.from(s);return{oid:n,tag:o.parse(),payload:o.payload()}}({fs:new oz(t),cache:r,gitdir:i,oid:n})}catch(t){throw t.caller="git.readTag",t}},readTree:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),oid:n,filepath:r,cache:s={}}){try{return az("fs",t),az("gitdir",i),az("oid",n),await wz({fs:new oz(t),cache:s,gitdir:i,oid:n,filepath:r})}catch(t){throw t.caller="git.readTree",t}},remove:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),filepath:n,cache:r={}}){try{az("fs",t),az("gitdir",i),az("filepath",n),await dP.acquire({fs:new oz(t),gitdir:i,cache:r},(async function(t){t.delete({filepath:n})}))}catch(t){throw t.caller="git.remove",t}},removeNote:async function({fs:t,onSign:e,dir:i,gitdir:n=OP(i,".git"),ref:r="refs/notes/commits",oid:s,author:o,committer:a,signingKey:u,cache:l={}}){try{az("fs",t),az("gitdir",n),az("oid",s);const i=new oz(t),c=await kz({fs:i,gitdir:n,author:o});if(!c)throw new CM("author");const h=await Ez({fs:i,gitdir:n,author:c,committer:a});if(!h)throw new CM("committer");return await async function({fs:t,cache:e,onSign:i,gitdir:n,ref:r="refs/notes/commits",oid:s,author:o,committer:a,signingKey:u}){let l;try{l=await YP.resolve({gitdir:n,fs:t,ref:r})}catch(t){if(!(t instanceof DP))throw t}let c=(await wz({fs:t,gitdir:n,oid:l||"4b825dc642cb6eb9a060e54bf8d69288fbee4904"})).tree;c=c.filter((t=>t.path!==s));const h=await vz({fs:t,gitdir:n,tree:c});return await gz({fs:t,cache:e,onSign:i,gitdir:n,ref:r,tree:h,parent:l&&[l],message:"Note removed by 'isomorphic-git removeNote'\n",author:o,committer:a,signingKey:u})}({fs:i,cache:l,onSign:e,gitdir:n,ref:r,oid:s,author:c,committer:h,signingKey:u})}catch(t){throw t.caller="git.removeNote",t}},renameBranch:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n,oldref:r,checkout:s=!1}){try{return az("fs",t),az("gitdir",i),az("ref",n),az("oldref",r),await async function({fs:t,gitdir:e,oldref:i,ref:n,checkout:r=!1}){if(n!==WL.clean(n))throw new EM(n,WL.clean(n));if(i!==WL.clean(i))throw new EM(i,WL.clean(i));const s=`refs/heads/${i}`,o=`refs/heads/${n}`;if(await YP.exists({fs:t,gitdir:e,ref:o}))throw new dM("branch",n,!1);const a=await YP.resolve({fs:t,gitdir:e,ref:s,depth:1});await YP.writeRef({fs:t,gitdir:e,ref:o,value:a}),await YP.deleteRef({fs:t,gitdir:e,ref:s});const u=await _z({fs:t,gitdir:e,fullname:!0});(r||u===s)&&await YP.writeSymbolicRef({fs:t,gitdir:e,ref:"HEAD",value:o})}({fs:new oz(t),gitdir:i,ref:n,oldref:r,checkout:s})}catch(t){throw t.caller="git.renameBranch",t}},resetIndex:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),filepath:n,ref:r,cache:s={}}){try{az("fs",t),az("gitdir",i),az("filepath",n);const o=new oz(t);let a,u;try{a=await YP.resolve({fs:o,gitdir:i,ref:r||"HEAD"})}catch(t){if(r)throw t}if(a)try{a=await yz({fs:o,cache:s,gitdir:i,oid:a,filepath:n})}catch(t){a=null}let l={ctime:new Date(0),mtime:new Date(0),dev:0,ino:0,mode:0,uid:0,gid:0,size:0};const c=e&&await o.read(OP(e,n));c&&(u=await Aq({gitdir:i,type:"blob",object:c}),a===u&&(l=await o.lstat(OP(e,n)))),await dP.acquire({fs:o,gitdir:i,cache:s},(async function(t){t.delete({filepath:n}),a&&t.insert({filepath:n,stats:l,oid:a})}))}catch(t){throw t.caller="git.reset",t}},updateIndex:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),cache:n={},filepath:r,oid:s,mode:o,add:a,remove:u,force:l}){try{az("fs",t),az("gitdir",i),az("filepath",r);const c=new oz(t);if(u)return await dP.acquire({fs:c,gitdir:i,cache:n},(async function(t){let i;if(l||(i=await c.lstat(OP(e,r)),!i))t.has({filepath:r})&&t.delete({filepath:r});else if(i.isDirectory())throw new kM("directory")}));let h;if(!s){if(h=await c.lstat(OP(e,r)),!h)throw new DP(`file at "${r}" on disk and "remove" not set`);if(h.isDirectory())throw new kM("directory")}return await dP.acquire({fs:c,gitdir:i,cache:n},(async function(t){if(!a&&!t.has({filepath:r}))throw new DP(`file at "${r}" in index and "add" not set`);let n={ctime:new Date(0),mtime:new Date(0),dev:0,ino:0,mode:o,uid:0,gid:0,size:0};if(!s){n=h;const t=n.isSymbolicLink()?await c.readlink(OP(e,r)):await c.read(OP(e,r));s=await pz({fs:c,gitdir:i,type:"blob",format:"content",object:t})}return t.insert({filepath:r,oid:s,stats:n}),s}))}catch(t){throw t.caller="git.updateIndex",t}},resolveRef:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n,depth:r}){try{az("fs",t),az("gitdir",i),az("ref",n);return await YP.resolve({fs:new oz(t),gitdir:i,ref:n,depth:r})}catch(t){throw t.caller="git.resolveRef",t}},status:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),filepath:n,cache:r={}}){try{az("fs",t),az("gitdir",i),az("filepath",n);const s=new oz(t);if(await lz.isIgnored({fs:s,gitdir:i,dir:e,filepath:n}))return"ignored";const o=await async function({fs:t,cache:e,gitdir:i}){let n;try{n=await YP.resolve({fs:t,gitdir:i,ref:"HEAD"})}catch(t){if(t instanceof DP)return[]}const{tree:r}=await wz({fs:t,cache:e,gitdir:i,oid:n});return r}({fs:s,cache:r,gitdir:i}),a=await Fq({fs:s,cache:r,gitdir:i,tree:o,path:n}),u=await dP.acquire({fs:s,gitdir:i,cache:r},(async function(t){for(const e of t)if(e.path===n)return e;return null})),l=await s.lstat(OP(e,n)),c=null!==a,h=null!==u,p=null!==l,f=async()=>{if(h&&!hP(u,l))return u.oid;{const t=await s.read(OP(e,n)),o=await Aq({gitdir:i,type:"blob",object:t});return h&&u.oid===o&&-1!==l.size&&dP.acquire({fs:s,gitdir:i,cache:r},(async function(t){t.insert({filepath:n,stats:l,oid:o})})),o}};if(!c&&!p&&!h)return"absent";if(!c&&!p&&h)return"*absent";if(!c&&p&&!h)return"*added";if(!c&&p&&h){return await f()===u.oid?"added":"*added"}if(c&&!p&&!h)return"deleted";if(c&&!p&&h)return u.oid,"*deleted";if(c&&p&&!h){return await f()===a?"*undeleted":"*undeletemodified"}if(c&&p&&h){const t=await f();return t===a?t===u.oid?"unmodified":"*unmodified":t===u.oid?"modified":"*modified"}}catch(t){throw t.caller="git.status",t}},statusMatrix:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n="HEAD",filepaths:r=["."],filter:s,cache:o={},ignored:a=!1}){try{az("fs",t),az("gitdir",i),az("ref",n);const u=new oz(t);return await tz({fs:u,cache:o,dir:e,gitdir:i,trees:[KM({ref:n}),JM(),vP()],map:async function(t,[i,n,o]){if(!i&&!o&&n&&!a){if(await lz.isIgnored({fs:u,dir:e,filepath:t}))return null}if(!r.some((e=>Az(t,e))))return null;if(s&&!s(t))return;const[l,c,h]=await Promise.all([i&&i.type(),n&&n.type(),o&&o.type()]),p=[l,c,h].includes("blob");if(("tree"===l||"special"===l)&&!p)return;if("commit"===l)return null;if(("tree"===c||"special"===c)&&!p)return;if("commit"===h)return null;if(("tree"===h||"special"===h)&&!p)return;const f="blob"===l?await i.oid():void 0,d="blob"===h?await o.oid():void 0;let g;"blob"!==l&&"blob"===c&&"blob"!==h?g="42":"blob"===c&&(g=await n.oid());const m=[void 0,f,g,d],y=m.map((t=>m.indexOf(t)));return y.shift(),[t,...y]}})}catch(t){throw t.caller="git.statusMatrix",t}},tag:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n,object:r,force:s=!1}){try{az("fs",t),az("gitdir",i),az("ref",n);const e=new oz(t);if(void 0===n)throw new SM("ref");n=n.startsWith("refs/tags/")?n:`refs/tags/${n}`;const o=await YP.resolve({fs:e,gitdir:i,ref:r||"HEAD"});if(!s&&await YP.exists({fs:e,gitdir:i,ref:n}))throw new dM("tag",n);await YP.writeRef({fs:e,gitdir:i,ref:n,value:o})}catch(t){throw t.caller="git.tag",t}},version:function(){try{return Kz.version}catch(t){throw t.caller="git.version",t}},walk:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),trees:n,map:r,reduce:s,iterate:o,cache:a={}}){try{return az("fs",t),az("gitdir",i),az("trees",n),await tz({fs:new oz(t),cache:a,dir:e,gitdir:i,trees:n,map:r,reduce:s,iterate:o})}catch(t){throw t.caller="git.walk",t}},writeBlob:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),blob:n}){try{return az("fs",t),az("gitdir",i),az("blob",n),await pz({fs:new oz(t),gitdir:i,type:"blob",object:n,format:"content"})}catch(t){throw t.caller="git.writeBlob",t}},writeCommit:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),commit:n}){try{return az("fs",t),az("gitdir",i),az("commit",n),await async function({fs:t,gitdir:e,commit:i}){const n=WM.from(i).toObject();return await pz({fs:t,gitdir:e,type:"commit",object:n,format:"content"})}({fs:new oz(t),gitdir:i,commit:n})}catch(t){throw t.caller="git.writeCommit",t}},writeObject:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),type:n,object:r,format:s="parsed",oid:o,encoding:a}){try{const e=new oz(t);if("parsed"===s){switch(n){case"commit":r=WM.from(r).toObject();break;case"tree":r=tM.from(r).toObject();break;case"blob":r=Buffer.from(r,a);break;case"tag":r=UM.from(r).toObject();break;default:throw new kP(o||"",n,"blob|commit|tag|tree")}s="content"}return o=await pz({fs:e,gitdir:i,type:n,object:r,oid:o,format:s})}catch(t){throw t.caller="git.writeObject",t}},writeRef:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),ref:n,value:r,force:s=!1,symbolic:o=!1}){try{az("fs",t),az("gitdir",i),az("ref",n),az("value",r);const e=new oz(t);if(n!==WL.clean(n))throw new EM(n,WL.clean(n));if(!s&&await YP.exists({fs:e,gitdir:i,ref:n}))throw new dM("ref",n);o?await YP.writeSymbolicRef({fs:e,gitdir:i,ref:n,value:r}):(r=await YP.resolve({fs:e,gitdir:i,ref:r}),await YP.writeRef({fs:e,gitdir:i,ref:n,value:r}))}catch(t){throw t.caller="git.writeRef",t}},writeTag:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),tag:n}){try{return az("fs",t),az("gitdir",i),az("tag",n),await async function({fs:t,gitdir:e,tag:i}){const n=UM.from(i).toObject();return await pz({fs:t,gitdir:e,type:"tag",object:n,format:"content"})}({fs:new oz(t),gitdir:i,tag:n})}catch(t){throw t.caller="git.writeTag",t}},writeTree:async function({fs:t,dir:e,gitdir:i=OP(e,".git"),tree:n}){try{return az("fs",t),az("gitdir",i),az("tree",n),await vz({fs:new oz(t),gitdir:i,tree:n})}catch(t){throw t.caller="git.writeTree",t}}},Sq=/^((bump(ed)?|chore( *\(release\))?)[ :]*)?v?\d+\.\d+\.\d+/i;function _q(t,e){"function"==typeof t&&(e=t,t=null);const i=jq(t);if(null==e)return i;i.then((function(t){process.nextTick(e,null,t)})).catch((function(t){process.nextTick(e,t)}))}async function jq(t){t||(t={});const e=o.resolve(t.cwd||"."),i=t.gitdir?o.resolve(t.gitdir):o.join(e,".git"),n=!("gt"in t),r=!("lt"in t),s=Rq(n?t.gte:t.gt)||null,u=Rq(r?t.lte:t.lt)||"HEAD",l=t.limit||1e3,c=s?await Bq(e,i,s):null,h=await Bq(e,i,u),p=!0===t.ignoreTags,f=[],d=[],g=new Map;let m=!1,y=h,b=c;for(;!m&&f.length1&&(e.isMergeCommit=!0,e.pr=Tq(e.message),e.commits=[],2===e.parent.length&&d.push(e)),f.length===l&&(m=!0),m)break}y=s[s.length-1].oid}for(const t of d){if(null==t.pr)continue;let e,[i,n]=t.parent;for(;i!==n&&(e=g.get(i))&&t.commits.length"origin"===t.remote))[0];if(i&&i.url){const t=Pr.fromUrl(i.url,{optional:!0});if(t)return t.slug({commitish:!1})}}catch(t){console.error(t)}}(e,i);for(const t of f)t.ghrepo=w;if(t.submodules&&a.existsSync(o.join(e,".gitmodules"))){const t=new Map;for(const{commit:i,submodule:n}of Oq(e,b))t.set(n,{gt:i});for(const{commit:i,submodule:n}of Oq(e,h))t.has(n)&&(t.get(n).gt===i?t.delete(n):t.get(n).lte=i);for(const[i,{gt:n,lte:r}]of t){const t=o.join(e,i),s=o.join(e,".git","modules",i),a=await jq({cwd:t,gitdir:s,gt:n,lte:r,limit:l,ignoreTags:!0,submodules:!1});f.push(...a.map((t=>({...t,submodule:i}))))}}return f}function Oq(t,e){if(!e)throw new Error("Cannot list submodules without ref");return x.execFileSync("git",["ls-tree",e],{cwd:t,encoding:"utf8"}).split(/\r?\n/).map((t=>t.split(/\s+/))).filter((t=>"commit"===t[1])).map((([t,e,i,n])=>({commit:i,submodule:n})))}async function Bq(t,e,i){const n=await Cq.resolveRef({fs:a,dir:t,gitdir:e,ref:i}),r=await Cq.readObject({fs:a,dir:t,gitdir:e,oid:n,encoding:"utf8"});if("commit"===r.type)return n;if("tag"===r.type&&"commit"===r.object.type&&r.object.object)return r.object.object;throw new Error("Could not resolve "+i+" to commit")}function Tq(t){return/^Merge pull request #\d/i.test(t)?parseInt(t.slice(20),10):null}function Rq(t){return/^head$/i.test(t)?"HEAD":t}const Iq=new Map([["change","Changed"],["addition","Added"],["removal","Removed"],["fix","Fixed"],["uncategorized","Uncategorized"],["none",null]]),$q=1,Nq=2,Lq=3,Pq=4,Mq=5;function zq(t,e){return/^breaking:/i.test(t)&&(t=t.slice(9).trim(),e=e?`${e} (breaking)`:"Breaking"),e?`**${e}:** ${t}`:t}function qq(t,e){const i={description:null,category:null,notice:null,references:[],authors:null},n=t.split(/\r?\n/),r=new Set;t="";for(let e=0;e0?Wq(s.slice(0,o)):null;if(!a){t+=s+"\n";continue}let u=s.slice(o+1).trim();for(;e+10){const e=u.slice(0,t).trim();0===e.length||Gq({name:e})||r.add(e)}break}case Pq:{u.endsWith(".")&&(u=u.slice(0,u.length-1));const t=u.split(/\s*,\s*/);i.references.push(...t.filter(Hq));break}}}return!e||!e.name||0!==r.size&&Gq(e)||r.has(e.name)?i.authors=Array.from(r):i.authors=[e.name,...r],i.description=t.trim(),i}function Uq(t){return t.mergeCommit?t.mergeCommit.author:t.committer}function Gq(t){return"Greenkeeper"===t.name||"greenkeeper[bot]"===t.name||t.email&&t.email.endsWith("@greenkeeper.io")||"dependabot[bot]"===t.name||"github-actions"===t.name}function Wq(t){return/^Category$/i.test(t)?$q:/^Notice$/i.test(t)?Nq:/^Co-Authored-By$/i.test(t)?Lq:/^(Ref|Refs|Fixes|Closes|CVE-ID)$/i.test(t)?Pq:/^(Reviewed-By|Signed-Off-By|Acked-By)$/i.test(t)?Mq:void 0}function Hq(t){return/^(#\d+|[a-z]{2,4}-\d+|CVE-\d+-\d+)$/i.test(t)}const Vq="remark-common-changelog",Kq=new Set(["history","releases","changelog"]),Yq=new Set(["Changed","Added","Deprecated","Removed","Fixed","Security"]),Jq="Uncategorized";function Zq(t){const e=!!(t=t||{}).fix,i=!!t.submodules,n=t.add,r=t=>this.parse(t).children;return async function(s,a){if(a.basename&&"CHANGELOG.md"!==a.basename)return void(Kq.has(a.stem.toLowerCase())&&d("Filename must be CHANGELOG.md",s,"filename"));if(!wj(s,"root")||!s.children)throw new Error("Expected a root node");const u=o.resolve(t.cwd||a.cwd),l=function(t,e){return function(){return e=e||cI.sync({cwd:t})||{}}}(u,t.pkg),c=function(t,e,i){if(e.repository)return Pr.fromUrl(e.repository,{committish:!1}).homepage();const n=Pr.fromPkg(i(),{committish:!1,optional:!0})||Pr.fromGit(t,{committish:!1});return n.homepage()}(u,t,l),h=function(t){const e=A("git",["tag"],{cwd:t,maxBuffer:16777216,encoding:"utf8"}),i=e.split(/\r?\n/).map((t=>{const e=t&&fD.valid(t);return e?{tag:t,normalTag:"v"+e,version:e}:null}));return i.filter(Boolean).sort(((t,e)=>Xq(t.version,e.version)))}(u),p=pI(r,s.children),f=new Set;e?p.buildHeading():p.hasValidHeading()||d('Changelog must start with a top-level "Changelog" heading',p.heading||s,"title"),e?(n&&function e(i,n){if(Array.isArray(i))return void i.forEach((t=>e(t,n)));if("object"==typeof i&&null!==i){const t={gte:null,lte:null};for(const e of["gte","lte"])if(i[e]&&(t[e]="string"==typeof i[e]?fD.parse(i[e]):null,!t[e]))return void d("The `"+e+"` option must be a semver-valid version",s,"add-new-release");const n=h.map((t=>t.version)),r=n.filter(function(t){return function(e){return(null==t.gte||fD.gte(e,t.gte))&&(null==t.lte||fD.lte(e,t.lte))}}(t));return void e(r,!1)}if("string"!=typeof i||""===i)return void d("Target must be a non-empty string",s,"add-new-release");let r=fD.valid(i);const o=!!r;if(!r&&n){let e=t.version||l().version||function(t){let e;try{e=A("git",["describe","--tags","--abbrev=0"],{cwd:t,encoding:"utf8",stdio:["ignore","pipe","ignore"]}).trim()}catch{return null}return e&&fD.valid(e)||null}(u)||"0.0.0";const n=p.children[0]&&p.children[0].version;if(n&&fD.gt(n,e)&&(e=n),fD.valid(e)!==e)throw new Error(`Current version is not semver-valid: ${e}`);r=fD.inc(e,i)}if(!r)return void d(`Target (${i}) must be a version or release type ([pre]major, [pre]minor, [pre]patch or prerelease)`,s,"add-new-release");if(p.children.some((t=>t.version===r)))return void d(`Target version ${r} already exists`,s,"add-new-release");const a=o?function(t,e){try{const i=A("git",["log","-1","--format=%aI",e],{cwd:t,encoding:"utf8",stdio:["ignore","pipe","ignore"]}).trim();return i?new Date(i):null}catch{return null}}(u,"v"+r):null,c=t.Date||Date;p.createRelease(r,function(t){const e=t.getFullYear(),i=nU(t.getMonth()+1),n=nU(t.getDate());return`${e}-${i}-${n}`}(a||new c))}(n,!0),p.children.sort(Qq)):iU(p.children,Qq)||(d("Releases must be sorted latest-first",s,"latest-release-first"),p.children.sort(Qq)),e&&p.children.forEach((function(t,e,i){if(t.previousVersion=i[e+1]?i[e+1].version:null,t.version){const e=h.findIndex((e=>e.version===t.version)),i=e>=0?h[e+1]&&h[e+1].version:h[0]&&h[0].version;i&&(e=>!t.previousVersion||fD.gt(e,t.previousVersion))(i)&&fD.gt(t.version,i)&&(t.previousVersion=i)}})),await Promise.all(p.children.map((async function(n){const{heading:r}=n;if(!wj(r,{depth:2}))return void d("Release must start with second-level heading",r,"release-heading-depth");if(!n.parseable)return void d('Release heading must have the format " - "',r,"release-heading");n.version&&(f.has(n.version)&&d("Release version must be unique",r,"unique-release"),f.add(n.version));n.version?fD.valid(n.version)!==n.version&&d("Release version must be semver-valid",r,"release-version"):d("Release must have a version",r,"release-version");n.date?/^\d{4}-\d{2}-\d{2}$/.test(n.date)||d("Release date must have format YYYY-MM-DD",r,"release-date"):d("Release must have date",r,"release-date");n.isEmpty()&&await async function(n){const{heading:r,version:s,previousVersion:o}=n;if(e&&s&&o){const e=!1!==t.commits;let a=[];if(e){const t=eU(o,h),e={cwd:u,gt:t,limit:100,submodules:i},n=h.find((t=>t.version===s));n?e.lt=n.tag:e.lte="HEAD";try{a=await _q(e)}catch(t){const i=`> ${e.gt} `+(e.lt?`< ${e.lt}`:`<= ${e.lte}`);return void d(`Failed to get commits for release (${s}) (${i}): ${t.message}`,r,"no-empty-release")}}const l=function(t){const e={Changed:[],Added:[],Removed:[],Fixed:[],Uncategorized:[]};for(const i of t){if(i.isMergeCommit)continue;let t=i.title;const n=i.oid.slice(0,7),r=Gq(i.author)?Uq(i):i.author,s=qq(i.description||"",r);i.submodule?(t=zq(t,i.submodule),i.ghrepo&&(i.pr?t+=` (${i.ghrepo}#${i.pr})`:n&&(t+=` (${i.ghrepo}@${n})`))):(t=zq(t),i.pr?t+=` (#${i.pr})`:n&&(t+=` (${n})`)),s.references.length>0&&(t+=` (${s.references.join(", ")})`),s.authors.length>0&&(t+=` (${s.authors.join(", ")})`);const o=s.category?Iq.get(s.category):"Uncategorized";o&&e[o].push({title:t,description:s.description,notice:s.notice})}return e}(a),c=!e||l[Jq].length>0,p=[];for(const t in l){const e=l[t];if(!(e.length||c&&t!==Jq))continue;const i=n.createGroup(t);if(e.length){i.createList(e);for(const t of e)t.notice&&p.push(t.notice)}}if(e&&p.length>0&&n.createNotice(p.map(rU).join(" ")),!n.isEmpty())return}else if(e&&("0.0.1"===s||"0.1.0"===s||"1.0.0"===s))return void n.createNotice(":seedling: Initial release.");d(`Release (${s||"n/a"}) is empty`,r,"no-empty-release")}(n);const s=n.children.some((function(t){return t.type()===Jq&&!t.isEmpty()}));n.children.forEach((function(t){!function(t,e){if(!t.hasValidHeading())return void d("Group must start with a third-level, text-only heading",t.heading,"group-heading");const i=t.type(),n=Array.from(Yq).join(", ");i?i!==Jq&&e||!t.isEmpty()?Yq.has(i)||(i===Jq?d("Categorize the changes",t.heading,"no-uncategorized-changes"):d(`Group heading must be one of ${n}`,t.heading,"group-heading-type")):d(`Remove or fill empty group ${i}`,t.heading,"no-empty-group"):d(`Group heading must be one of ${n}`,t.heading,"group-heading-type")}(t,s)}))})));for(let t=0;te(t[0],i[0]))),new Map(i)}(p.definitions,Xq):function(t,e){return iU(Array.from(t.keys()),e)}(p.definitions,Xq)||d("Definitions must be sorted latest-first",s,"latest-definition-first"),e)return s.children=p.tree(),s;function d(t,e,i){a.message(t,e,`${Vq}:${i}`)}}}function Qq(t,e){return t.version&&e.version?Xq(t.version,e.version):t.index-e.index}function Xq(t,e){if(t===e)return 0;let i=fD.valid(t),n=fD.valid(e);return i&&(i=i.replace(/-rc(\d+)$/,((t,e)=>"-rc."+e))),n&&(n=n.replace(/-rc(\d+)$/,((t,e)=>"-rc."+e))),i&&n?fD.compare(n,i):i?-1:n?1:t.localeCompare(e)}function tU(t,e,i){return`${t}/releases/tag/${eU(`v${i}`,e)}`}function eU(t,e){"v"!==t[0]&&(t="v"+t);const i=e.find((e=>e.normalTag===t));return i?i.tag:t}function iU(t,e){for(let i=0;i0)return!1;return!0}function nU(t){return t<10?`0${t}`:t}function rU(t){return(t=t.trim()).endsWith(".")?t:t+"."}const sU={};function oU(t,e,i){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||i?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return aU(t.children,e,i)}return Array.isArray(t)?aU(t,e,i):""}function aU(t,e,i){const n=[];let r=-1;for(;++r{const n=t.repository||function(t){let e;try{e=JSON.parse(String(a.readFileSync(o.join(t,"package.json"))))}catch{}return e&&e.repository?"object"==typeof e.repository?e.repository.url:e.repository:""}(i.cwd),r=gU.exec(n||"");if(!r)throw new Error("Missing or invalid `repository` field in `options`");const s={user:r[1],project:r[2]};function u(e){return t.buildUrl?t.buildUrl(e,vU):vU(e)}BO(e,[[mU,function(t,e,i,n,r,o){if(/[^\t\n\r (@[{]/.test(o.input.charAt(o.index-1))||/\w/.test(o.input.charAt(o.index+t.length)))return!1;const a=i||s.project,l=u(n?{type:"issue",user:e,project:a,no:n}:{type:"commit",user:e,project:a,hash:r});if(!l)return!1;const c=[];let h="";a!==s.project?h+=e+"/"+a:e!==s.user&&(h+=e);n?h+="#"+n:(h+="@",c.push({type:"inlineCode",value:wU(r)}));return c.unshift({type:"text",value:h}),{type:"link",title:null,url:l,children:c}}],[yU,function(e,i,n){if(/[\w`]/.test(n.input.charAt(n.index-1))||/[/\w`]/.test(n.input.charAt(n.index+e.length))||uU.has(i))return!1;const r=u({type:"mention",user:i});if(!r)return!1;let s={type:"text",value:e};!1!==t.mentionStrong&&(s={type:"strong",children:[s]});return{type:"link",title:null,url:r,children:[s]}}],[/(?:#|\bgh-)([1-9]\d*)/gi,function(t,e,i){if(/\w/.test(i.input.charAt(i.index-1))||/\w/.test(i.input.charAt(i.index+t.length)))return!1;const n=u({type:"issue",...s,no:e});return!!n&&{type:"link",title:null,url:n,children:[{type:"text",value:t}]}}],[/\b([a-f\d]{7,40})\.{3}([a-f\d]{7,40})\b/gi,function(t,e,i,n){if(/[^\t\n\r (@[{]/.test(n.input.charAt(n.index-1))||/\w/.test(n.input.charAt(n.index+t.length))||lU.has(t))return!1;const r=u({type:"compare",...s,base:e,compare:i});return!!r&&{type:"link",title:null,url:r,children:[{type:"inlineCode",value:wU(e)+"..."+wU(i)}]}}],[/\b[a-f\d]{7,40}\b/gi,function(t,e){if(/[^\t\n\r (@[{.]/.test(e.input.charAt(e.index-1))||"."===e.input.charAt(e.index-1)&&"."!==e.input.charAt(e.index-2)||/\w/.test(e.input.charAt(e.index+t.length))||lU.has(t))return!1;const i=u({type:"commit",...s,hash:t});return!!i&&{type:"link",title:null,url:i,children:[{type:"inlineCode",value:wU(t)}]}}]],{ignore:["link","linkReference"]}),Cj(e,"link",(t=>{const e=function(t){const e=t.url||"",i=dU.exec(e);if(!i||1!==t.children.length||"text"!==t.children[0].type||function(t,e){const i=e||sU;return oU(t,"boolean"!=typeof i.includeImageAlt||i.includeImageAlt,"boolean"!=typeof i.includeHtml||i.includeHtml)}(t)!==e||"commit"===i[3]&&(i[4].length<4||i[4].length>40)||"compare"===i[3]&&!/^[a-f\d]{4,40}\.{3}[a-f\d]{4,40}$/.test(i[4])||("issues"===i[3]||"pull"===i[3])&&/[a-f]/i.test(i[4])||i[2].length>=100)return;let n=i[4];if("compare"===i[3]){const[t,e]=n.split("...");n=wU(t)+"..."+wU(e)}else n=wU(n);return{user:i[1],project:i[2],page:i[3],reference:n,comment:"#"===e.charAt(i[0].length)&&i[0].length+1"))throw new Error("The url must contain for the reference number");const r=new RegExp("\\b"+function(t){return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e)+"(\\d+)","g");return function(t,e){BO(t,[[r,function(r,s,o){if("["===o.input.charAt(o.index-1))return!1;if(/\w/.test(o.input.charAt(o.index+r.length)))return!1;if(!n)return e.message(`Reference ${r} must be a link`,t,"remark-autolink-references:require-link"),!1;return{type:"link",title:null,url:i.replace("",s),children:[{type:"text",value:r}]}}]],{ignore:["link","linkReference"]})}}function kU(t){const e=String(t),i=[],n=/\r?\n|\r/g;for(;n.test(e);)i.push(n.lastIndex);return i.push(e.length+1),{toPoint:function(t){let e=-1;if("number"==typeof t&&t>-1&&tt)return{line:e+1,column:t-(e>0?i[e-1]:0)+1,offset:t};return{line:void 0,column:void 0,offset:void 0}},toOffset:function(t){const e=t&&t.line,n=t&&t.column;if("number"==typeof e&&"number"==typeof n&&!Number.isNaN(e)&&!Number.isNaN(n)&&e-1 in i){const t=(i[e-2]||0)+n-1||0;if(t>-1&&t":""),""+h+")")}));var h;return p;function p(){var l,c,h,p=[];if((!e||r(o,a,u[u.length-1]||null))&&(p=function(t){if(Array.isArray(t))return t;if("number"==typeof t)return[EU,t];return[t]}(i(o,u)),p[0]===xU))return p;if(o.children&&"skip"!==p[0])for(c=(n?o.children.length:-1)+s,h=u.concat(o);c>-1&&c0?r[r.length-1].state:t?n?e.includes(t):!i.includes(t):!n}(s);if(r!==a&&o.push({state:r,point:t}),!s)for(s in c)CU.call(c,s)&&f(t,r,s)}function d(t,r,s){if(r&&r.length>0){let e=r.length;for(;e--;){const i=r[e];if(t.line&&t.column&&i.point&&i.point.line&&i.point.column&&(i.point.line0)for(;++hfunction(t){let e=l.length;if(!t.source||!r.includes(t.source))return!0;t.line||(t.line=1),t.column||(t.column=1);const i=a(t);for(;e--;)if(l[e][0]<=i&&l[e][1]>i)return!1;return(!t.ruleId||d(t,c[t.ruleId],t.ruleId))&&d(t,h)}(t)))}}const _U=/\s*([a-zA-Z\d-]+)(\s+([\s\S]*))?\s*/,jU=new RegExp("(\\s*\\/\\*"+_U.source+"\\*\\/\\s*)"),OU=new RegExp("(\\s*\x3c!--"+_U.source+"--\x3e\\s*)");function BU(t){if(function(t){return Boolean(t&&"object"==typeof t&&"type"in t)}(t)&&("html"===t.type||"comment"===t.type||"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type)){let e,i=2;if("comment"===t.type?(e=t.value.match(_U),i=1):"html"===t.type?e=t.value.match(OU):"mdxFlowExpression"!==t.type&&"mdxTextExpression"!==t.type||(e=t.value.match(jU)),e&&e[0].length===t.value.length){const n=function(t){const e={};return t.replace(/\s+([-\w]+)(?:=(?:"((?:\\[\s\S]|[^"])*)"|'((?:\\[\s\S]|[^'])*)'|((?:\\[\s\S]|[^"'\s])+)))?/gi,i).replace(/\s+/g,"")?null:e;function i(t,i,n,r,s){let o=void 0===n?void 0===r?s:r:n;const a=Number(o);return"true"===o||void 0===o?o=!0:"false"===o?o=!1:o.trim()&&!Number.isNaN(a)&&(o=a),e[i]=o,""}}(e[i+1]||"");if(n)return{name:e[i],attributes:(e[i+2]||"").trim(),parameters:n,node:t}}}return null}const TU=["html","comment","mdxFlowExpression","mdxTextExpression"];function RU(){this.use(IU)}function IU(){return t={name:"lint",source:"remark-lint"},SU(Object.assign({marker:BU,test:TU},t));var t}function $U(t,e){const i="string"==typeof t?t:t.origin,n="string"==typeof t?void 0:t.url,r=i.split(":"),s=r[1]?r[0]:void 0,o=r[1];return Object.defineProperty(a,"name",{value:i}),a;function a(t){const[i,r]=function(t,e){if(!Array.isArray(e))return[1,e];const[i,...n]=e;switch(i){case!1:case"off":case 0:return[0,...n];case!0:case"on":case"warn":case 1:return[1,...n];case"error":case 2:return[2,...n];default:if("number"!=typeof i)return[1,e];throw new Error("Incorrect severity `"+i+"` for `"+t+"`, expected 0, 1, or 2")}}(o,t);if(!i)return;const a=2===i;return(t,i,u)=>{let l=i.messages.length-1;qr(e,(t=>{const e=i.messages;if(t&&!e.includes(t))try{i.fail(t)}catch{}for(;++l-1?i.offset:null}}}const zU=$U({origin:"remark-lint:no-undefined-references",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-undefined-references#readme"},((t,e,i={})=>{const n=String(e),r=kU(e),s=/(\r?\n|\r)[\t ]*(>[\t ]*)*/g,o=Object.create(null),a=i.allow||[],u=[],l=new Set;let c=-1;for(;++ct.test(e)))}Cj(t,(t=>{"definition"!==t.type&&"footnoteDefinition"!==t.type||NU(t)||(o[f_(t.identifier)]=!0)})),Cj(t,(t=>{"imageReference"!==t.type&&"linkReference"!==t.type&&"footnoteReference"!==t.type||NU(t)||f_(t.identifier)in o||h(t.identifier)||e.message("Found reference to undefined definition",t),"paragraph"!==t.type&&"heading"!==t.type||function(t){let i=[];Cj(t,(e=>{if(e===t)return;if("link"===e.type||"linkReference"===e.type)return i=[],Aj;if("text"!==e.type)return;const r=LU(e).offset,o=PU(e).offset;if("number"!=typeof r||"number"!=typeof o)return xj;const a=n.slice(r,o),l=[[r,""]];let c=0;s.lastIndex=0;let h=s.exec(a);for(;h;){const t=h.index;l[l.length-1][1]=a.slice(c,t),c=t+h[0].length,l.push([r+c,""]),h=s.exec(a)}l[l.length-1][1]=a.slice(c);let p=-1;for(;++p{const i=Object.create(null);let n;for(n in Cj(t,(t=>{"definition"!==t.type&&"footnoteDefinition"!==t.type||NU(t)||(i[t.identifier.toUpperCase()]={node:t,used:!1})})),Cj(t,(t=>{if("imageReference"===t.type||"linkReference"===t.type||"footnoteReference"===t.type){const e=i[t.identifier.toUpperCase()];!NU(t)&&e&&(e.used=!0)}})),i)if(UU.call(i,n)){const t=i[n];t.used||e.message("Found unused definition",t.node)}}));var WU=GU;const HU=$U({origin:"remark-lint:no-duplicate-definitions",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-duplicate-definitions#readme"},((t,e)=>{const i=Object.create(null);Cj(t,(t=>{if(("definition"===t.type||"footnoteDefinition"===t.type)&&!NU(t)){const n=t.identifier,r=i[n];r&&e.message("Do not use definitions with the same identifier ("+r+")",t),i[n]=Ox(LU(t))}}))}));var VU=HU;const KU={};function YU(t,e,i){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||i?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return JU(t.children,e,i)}return Array.isArray(t)?JU(t,e,i):""}function JU(t,e,i){const n=[];let r=-1;for(;++r{Cj(t,(t=>{if(("link"===t.type||"linkReference"===t.type)&&!NU(t)){const i=function(t,e){const i=e||KU;return YU(t,"boolean"!=typeof i.includeImageAlt||i.includeImageAlt,"boolean"!=typeof i.includeHtml||i.includeHtml)}(t);" "!==i.charAt(0)&&" "!==i.charAt(i.length-1)||e.message("Don’t pad `"+t.type+"` with inner spaces",t)}}))}));var QU=ZU,XU={exports:{}};!function(t,e){!function(e,i){t.exports=i()}(0,(function(){var t=[],e=[],i={},n={},r={};function s(t){return"string"==typeof t?new RegExp("^"+t+"$","i"):t}function o(t,e){return t===e?e:t===t.toLowerCase()?e.toLowerCase():t===t.toUpperCase()?e.toUpperCase():t[0]===t[0].toUpperCase()?e.charAt(0).toUpperCase()+e.substr(1).toLowerCase():e.toLowerCase()}function a(t,e){return t.replace(e[0],(function(i,n){var r,s,a=(r=e[1],s=arguments,r.replace(/\$(\d{1,2})/g,(function(t,e){return s[e]||""})));return o(""===i?t[n-1]:i,a)}))}function u(t,e,n){if(!t.length||i.hasOwnProperty(t))return e;for(var r=n.length;r--;){var s=n[r];if(s[0].test(e))return a(e,s)}return e}function l(t,e,i){return function(n){var r=n.toLowerCase();return e.hasOwnProperty(r)?o(n,r):t.hasOwnProperty(r)?o(n,t[r]):u(r,n,i)}}function c(t,e,i,n){return function(n){var r=n.toLowerCase();return!!e.hasOwnProperty(r)||!t.hasOwnProperty(r)&&u(r,r,i)===r}}function h(t,e,i){return(i?e+" ":"")+(1===e?h.singular(t):h.plural(t))}return h.plural=l(r,n,t),h.isPlural=c(r,n,t),h.singular=l(n,r,e),h.isSingular=c(n,r,e),h.addPluralRule=function(e,i){t.push([s(e),i])},h.addSingularRule=function(t,i){e.push([s(t),i])},h.addUncountableRule=function(t){"string"!=typeof t?(h.addPluralRule(t,"$0"),h.addSingularRule(t,"$0")):i[t.toLowerCase()]=!0},h.addIrregularRule=function(t,e){e=e.toLowerCase(),t=t.toLowerCase(),r[t]=e,n[e]=t},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach((function(t){return h.addIrregularRule(t[0],t[1])})),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach((function(t){return h.addPluralRule(t[0],t[1])})),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach((function(t){return h.addSingularRule(t[0],t[1])})),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(h.addUncountableRule),h}))}(XU);var tG=q(XU.exports);const eG=$U({origin:"remark-lint:blockquote-indentation",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-blockquote-indentation#readme"},((t,e,i="consistent")=>{Cj(t,"blockquote",(t=>{if(!NU(t)&&0!==t.children.length)if("consistent"===i)i=nG(t);else{const n=i-nG(t);if(0!==n){const i=Math.abs(n);e.message((n>0?"Add":"Remove")+" "+i+" "+tG("space",i)+" between block quote and content",LU(t.children[0]))}}}))}));var iG=eG;function nG(t){return LU(t.children[0]).column-LU(t).column}const rG=$U({origin:"remark-lint:checkbox-content-indent",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-checkbox-content-indent#readme"},((t,e)=>{const i=String(e),n=kU(e);Cj(t,"listItem",(t=>{const r=t.children[0],s=LU(r);if("boolean"!=typeof t.checked||!r||"number"!=typeof s.offset)return;if(!/\[([\t xX])]/.exec(i.slice(s.offset-4,s.offset+1)))return;const o=s.offset;let a=o;for(;/[\t ]/.test(i.charAt(a));)a++;a-o>0&&e.message("Checkboxes should be followed by a single character",{start:n.toPoint(o),end:n.toPoint(a)})}))}));var sG=rG;var oG=$U({origin:"remark-lint:final-newline",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-final-newline#readme"},((t,e)=>{const i=String(e),n=i.length-1;n>-1&&"\n"!==i.charAt(n)&&e.message("Missing newline character at end of file")}));const aG=$U({origin:"remark-lint:list-item-bullet-indent",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-list-item-bullet-indent#readme"},((t,e)=>{Cj(t,"list",((t,i,n)=>{let r=-1;for(;++r{const n=String(e);"tab-size"!==i&&"space"!==i&&"mixed"!==i&&e.fail("Incorrect list-item indent style `"+i+"`: use either `'tab-size'`, `'space'`, or `'mixed'`"),Cj(t,"list",(t=>{if(NU(t))return;const r=t.spread;let s=-1;for(;++s0?"add":"remove")+" "+i+" "+tG("space",i),u)}}}))}));var cG=lG;const hG={};function pG(t,e,i){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||i?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return fG(t.children,e,i)}return Array.isArray(t)?fG(t,e,i):""}function fG(t,e,i){const n=[];let r=-1;for(;++r{Cj(t,"link",(t=>{NU(t)||LU(t).column!==LU(t.children[0]).column-1||PU(t).column!==PU(t.children[t.children.length-1]).column+1||dG.test(function(t,e){const i=e||hG;return pG(t,"boolean"!=typeof i.includeImageAlt||i.includeImageAlt,"boolean"!=typeof i.includeHtml||i.includeHtml)}(t))||e.message("All automatic links must start with a protocol",t)}))}));var mG=gG;const yG=$U({origin:"remark-lint:no-blockquote-without-marker",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-blockquote-without-marker#readme"},((t,e)=>{const i=String(e),n=kU(e);Cj(t,"blockquote",(t=>{let r=-1;for(;++r[\t ]+$/.test(i.slice(t-5,t))||e.message("Missing marker in block quote",{line:o,column:r-2})}}}}))}));var bG=yG;const wG={};function vG(t,e,i){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||i?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return DG(t.children,e,i)}return Array.isArray(t)?DG(t,e,i):""}function DG(t,e,i){const n=[];let r=-1;for(;++r{Cj(t,"link",(t=>{const i=function(t,e){const i=e||wG;return vG(t,"boolean"!=typeof i.includeImageAlt||i.includeImageAlt,"boolean"!=typeof i.includeHtml||i.includeHtml)}(t);NU(t)||LU(t).column!==LU(t.children[0]).column||PU(t).column!==PU(t.children[t.children.length-1]).column||t.url!=="mailto:"+i&&t.url!==i||e.message("Don’t use literal URLs without angle brackets",t)}))}));var EG=kG;function xG(t,e){return t<3?"atx":"atx"===e||"setext"===e?e:null}const AG=$U({origin:"remark-lint:no-heading-content-indent",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-heading-content-indent#readme"},((t,e)=>{Cj(t,"heading",(t=>{if(NU(t))return;const i=function(t,e){const i=t.children[t.children.length-1],n=t.depth,r=t.position&&t.position.end,s=i&&i.position&&i.position.end;return r?i?s&&s.line+1===r.line?"setext":s&&s.column+n{const i=String(e);Cj(t,"break",(t=>{if(!NU(t)){i.slice(LU(t).offset,PU(t).offset).split("\n",1)[0].replace(/\r$/,"").length>2&&e.message("Use two spaces for hard line breaks",t)}}))}));var SG=CG;const _G=$U({origin:"remark-lint:code-block-style",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-code-block-style#readme"},((t,e,i="consistent")=>{const n=String(e);"consistent"!==i&&"fenced"!==i&&"indented"!==i&&e.fail("Incorrect code block style `"+i+"`: use either `'consistent'`, `'fenced'`, or `'indented'`"),Cj(t,"code",(t=>{if(NU(t))return;const r=LU(t).offset,s=PU(t).offset,o=t.lang||/^\s*([~`])\1{2,}/.test(n.slice(r,s))?"fenced":"indented";"consistent"===i?i=o:i!==o&&e.message("Code blocks should be "+i,t)}))}));var jG=_G;const OG=$U({origin:"remark-lint:table-cell-padding",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-table-cell-padding#readme"},((t,e,i="consistent")=>{function n(t,i,n,r){const s=i.node,o=i.column,a=i[t];if(void 0===a||a===n)return;let u="Cell should be ";if(0===n){if(TG(s)n){if(TG(s){const e=t.children,r=t.align||[],s=[],o=[];let a=-1;for(;++a{const i=String(e);Cj(t,"table",(t=>{let n=-1;for(;++n{const n=String(e);let r="consistent",s="consistent";"object"==typeof i&&(r=i.checked||"consistent",s=i.unchecked||"consistent"),"consistent"!==s&&" "!==s&&"\t"!==s&&e.fail("Incorrect unchecked checkbox marker `"+s+"`: use either `'\\t'`, or `' '`"),"consistent"!==r&&"x"!==r&&"X"!==r&&e.fail("Incorrect checked checkbox marker `"+r+"`: use either `'x'`, or `'X'`"),Cj(t,"listItem",(t=>{const i=t.children[0],o=LU(i);if("boolean"!=typeof t.checked||!i||"number"!=typeof o.offset)return;o.offset-=2,o.column-=2;const a=/\[([\t Xx])]/.exec(n.slice(o.offset-2,o.offset+1));if(!a)return;const u=t.checked?r:s;"consistent"===u?t.checked?r=a[1]:s=a[1]:a[1]!==u&&e.message((t.checked?"Checked":"Unchecked")+" checkboxes should use `"+u+"` as a marker",o)}))}));var NG=$G;const LG=/^\s*\[((?:\\[\s\S]|[^[\]])+)]/,PG=$U({origin:"remark-lint:definition-case",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-definition-case#readme"},((t,e)=>{const i=String(e);Cj(t,(t=>{if("definition"===t.type||"footnoteDefinition"===t.type){const n=LU(t).offset,r=PU(t).offset;if("number"==typeof n&&"number"==typeof r){const s=i.slice(n,r).match(LG);s&&s[1]!==s[1].toLowerCase()&&e.message("Do not use uppercase characters in definition labels",t)}}}))}));var MG=PG;const zG={sourceId:"remark-validate-links",headingRuleId:"missing-heading",headingInFileRuleId:"missing-heading-in-file",fileRuleId:"missing-file",landmarkId:"remarkValidateLinksLandmarks",referenceId:"remarkValidateLinksReferences"},qG={}.hasOwnProperty;const UG={}.hasOwnProperty;var GG,WG;GG=[],WG=[];var HG=function(t,e,i){var n,r,s,o,a,u,l,c;if(t===e)return 0;if(n=t.length,r=e.length,0===n)return r;if(0===r)return n;for(i&&(t=t.toLowerCase(),e=e.toLowerCase()),l=0;lo?u>o?o+1:u:u>a?a+1:u;return o},VG=HG;var KG=q((function(){var t,e,i,n,r,s=0,o=arguments[0],a=arguments[1],u=a.length,l=arguments[2];l&&(n=l.threshold,r=l.ignoreCase),void 0===n&&(n=0);for(var c=0;co.length?1-e/a[c].length:1-e/o.length)>s&&(s=t,i=a[c]);return s>=n?i:null}));const YG={}.hasOwnProperty;function JG(t,e){const i=t.landmarks,n=e.file.path?v.resolve(e.file.cwd,e.file.path):"",r=n?v.dirname(n):null,s=r?v.relative(r,e.reference.filePath):e.reference.filePath,o=e.reference.hash,a=[];let u,l;o?(u="Link to unknown heading",l=zG.headingRuleId,r&&v.join(r,s)!==n&&(u+=" in `"+s+"`",l=zG.headingInFileRuleId),u+=": `"+o+"`"):(u="Link to unknown file: `"+s+"`",l=zG.fileRuleId);const c=[zG.sourceId,l].join(":");let h;for(h in i){if(!(h in i)||!i[h][""])continue;const t=r?v.relative(r,h):h;if(!o){a.push(t);continue}if(t!==s)continue;let e;for(e in i[h])""!==e&&a.push(e)}const p=KG(o||s,a,{threshold:.7});p&&(u+=". Did you mean `"+p+"`");let f=-1;for(;++f{t[""]=!0}),(e=>{t[""]="ENOENT"!==e.code&&"ENOTDIR"!==e.code})))}await Promise.all(n)})).use((function(t){const e=t.landmarks,i=t.references,n=[];let r;for(r in i)if(YG.call(i,r)){const t=i[r],s=r in e?e[r]:Object.create(null);let o;for(o in t)s[o]||n.push(...t[o])}let s=-1;for(;++se(t)),this))}onabort(){}addEventListener(t,e){"abort"===t&&this._listeners.push(e)}removeEventListener(t,e){"abort"===t&&(this._listeners=this._listeners.filter((t=>t!==e)))}},rW=new Set,sW=(t,e)=>{const i=`LRU_CACHE_OPTION_${t}`;uW(i)&&lW(i,`${t} option`,`options.${e}`,dW)},oW=(t,e)=>{const i=`LRU_CACHE_METHOD_${t}`;if(uW(i)){const{prototype:n}=dW,{get:r}=Object.getOwnPropertyDescriptor(n,t);lW(i,`${t} method`,`cache.${e}()`,r)}},aW=(...t)=>{"object"==typeof process&&process&&"function"==typeof process.emitWarning?process.emitWarning(...t):console.error(...t)},uW=t=>!rW.has(t),lW=(t,e,i,n)=>{rW.add(t);aW(`The ${e} is deprecated. Please use ${i} instead.`,"DeprecationWarning",t,n)},cW=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),hW=t=>cW(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?pW:null:null;class pW extends Array{constructor(t){super(t),this.fill(0)}}class fW{constructor(t){if(0===t)return[];const e=hW(t);this.heap=new e(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class dW{constructor(t={}){const{max:e=0,ttl:i,ttlResolution:n=1,ttlAutopurge:r,updateAgeOnGet:s,updateAgeOnHas:o,allowStale:a,dispose:u,disposeAfter:l,noDisposeOnSet:c,noUpdateTTL:h,maxSize:p=0,maxEntrySize:f=0,sizeCalculation:d,fetchMethod:g,fetchContext:m,noDeleteOnFetchRejection:y,noDeleteOnStaleGet:b,allowStaleOnFetchRejection:w,allowStaleOnFetchAbort:v,ignoreFetchAbort:D}=t,{length:k,maxAge:E,stale:x}=t instanceof dW?{}:t;if(0!==e&&!cW(e))throw new TypeError("max option must be a nonnegative integer");const A=e?hW(e):Array;if(!A)throw new Error("invalid max value: "+e);if(this.max=e,this.maxSize=p,this.maxEntrySize=f||this.maxSize,this.sizeCalculation=d||k,this.sizeCalculation){if(!this.maxSize&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if("function"!=typeof this.sizeCalculation)throw new TypeError("sizeCalculation set to non-function")}if(this.fetchMethod=g||null,this.fetchMethod&&"function"!=typeof this.fetchMethod)throw new TypeError("fetchMethod must be a function if specified");if(this.fetchContext=m,!this.fetchMethod&&void 0!==m)throw new TypeError("cannot set fetchContext without fetchMethod");if(this.keyMap=new Map,this.keyList=new Array(e).fill(null),this.valList=new Array(e).fill(null),this.next=new A(e),this.prev=new A(e),this.head=0,this.tail=0,this.free=new fW(e),this.initialFill=1,this.size=0,"function"==typeof u&&(this.dispose=u),"function"==typeof l?(this.disposeAfter=l,this.disposed=[]):(this.disposeAfter=null,this.disposed=null),this.noDisposeOnSet=!!c,this.noUpdateTTL=!!h,this.noDeleteOnFetchRejection=!!y,this.allowStaleOnFetchRejection=!!w,this.allowStaleOnFetchAbort=!!v,this.ignoreFetchAbort=!!D,0!==this.maxEntrySize){if(0!==this.maxSize&&!cW(this.maxSize))throw new TypeError("maxSize must be a positive integer if specified");if(!cW(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.initializeSizeTracking()}if(this.allowStale=!!a||!!x,this.noDeleteOnStaleGet=!!b,this.updateAgeOnGet=!!s,this.updateAgeOnHas=!!o,this.ttlResolution=cW(n)||0===n?n:1,this.ttlAutopurge=!!r,this.ttl=i||E||0,this.ttl){if(!cW(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.initializeTTLTracking()}if(0===this.max&&0===this.ttl&&0===this.maxSize)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.max&&!this.maxSize){const t="LRU_CACHE_UNBOUNDED";if(uW(t)){rW.add(t);aW("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",t,dW)}}x&&sW("stale","allowStale"),E&&sW("maxAge","ttl"),k&&sW("length","sizeCalculation")}getRemainingTTL(t){return this.has(t,{updateAgeOnHas:!1})?1/0:0}initializeTTLTracking(){this.ttls=new pW(this.max),this.starts=new pW(this.max),this.setItemTTL=(t,e,i=XG.now())=>{if(this.starts[t]=0!==e?i:0,this.ttls[t]=e,0!==e&&this.ttlAutopurge){const i=setTimeout((()=>{this.isStale(t)&&this.delete(this.keyList[t])}),e+1);i.unref&&i.unref()}},this.updateItemAge=t=>{this.starts[t]=0!==this.ttls[t]?XG.now():0},this.statusTTL=(i,n)=>{i&&(i.ttl=this.ttls[n],i.start=this.starts[n],i.now=t||e(),i.remainingTTL=i.now+i.ttl-i.start)};let t=0;const e=()=>{const e=XG.now();if(this.ttlResolution>0){t=e;const i=setTimeout((()=>t=0),this.ttlResolution);i.unref&&i.unref()}return e};this.getRemainingTTL=i=>{const n=this.keyMap.get(i);return void 0===n?0:0===this.ttls[n]||0===this.starts[n]?1/0:this.starts[n]+this.ttls[n]-(t||e())},this.isStale=i=>0!==this.ttls[i]&&0!==this.starts[i]&&(t||e())-this.starts[i]>this.ttls[i]}updateItemAge(t){}statusTTL(t,e){}setItemTTL(t,e,i){}isStale(t){return!1}initializeSizeTracking(){this.calculatedSize=0,this.sizes=new pW(this.max),this.removeItemSize=t=>{this.calculatedSize-=this.sizes[t],this.sizes[t]=0},this.requireSize=(t,e,i,n)=>{if(this.isBackgroundFetch(e))return 0;if(!cW(i)){if(!n)throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");if("function"!=typeof n)throw new TypeError("sizeCalculation must be a function");if(i=n(e,t),!cW(i))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return i},this.addItemSize=(t,e,i)=>{if(this.sizes[t]=e,this.maxSize){const e=this.maxSize-this.sizes[t];for(;this.calculatedSize>e;)this.evict(!0)}this.calculatedSize+=this.sizes[t],i&&(i.entrySize=e,i.totalCalculatedSize=this.calculatedSize)}}removeItemSize(t){}addItemSize(t,e){}requireSize(t,e,i,n){if(i||n)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}*indexes({allowStale:t=this.allowStale}={}){if(this.size)for(let e=this.tail;this.isValidIndex(e)&&(!t&&this.isStale(e)||(yield e),e!==this.head);)e=this.prev[e]}*rindexes({allowStale:t=this.allowStale}={}){if(this.size)for(let e=this.head;this.isValidIndex(e)&&(!t&&this.isStale(e)||(yield e),e!==this.tail);)e=this.next[e]}isValidIndex(t){return void 0!==t&&this.keyMap.get(this.keyList[t])===t}*entries(){for(const t of this.indexes())void 0===this.valList[t]||void 0===this.keyList[t]||this.isBackgroundFetch(this.valList[t])||(yield[this.keyList[t],this.valList[t]])}*rentries(){for(const t of this.rindexes())void 0===this.valList[t]||void 0===this.keyList[t]||this.isBackgroundFetch(this.valList[t])||(yield[this.keyList[t],this.valList[t]])}*keys(){for(const t of this.indexes())void 0===this.keyList[t]||this.isBackgroundFetch(this.valList[t])||(yield this.keyList[t])}*rkeys(){for(const t of this.rindexes())void 0===this.keyList[t]||this.isBackgroundFetch(this.valList[t])||(yield this.keyList[t])}*values(){for(const t of this.indexes())void 0===this.valList[t]||this.isBackgroundFetch(this.valList[t])||(yield this.valList[t])}*rvalues(){for(const t of this.rindexes())void 0===this.valList[t]||this.isBackgroundFetch(this.valList[t])||(yield this.valList[t])}[Symbol.iterator](){return this.entries()}find(t,e){for(const i of this.indexes()){const n=this.valList[i],r=this.isBackgroundFetch(n)?n.__staleWhileFetching:n;if(void 0!==r&&t(r,this.keyList[i],this))return this.get(this.keyList[i],e)}}forEach(t,e=this){for(const i of this.indexes()){const n=this.valList[i],r=this.isBackgroundFetch(n)?n.__staleWhileFetching:n;void 0!==r&&t.call(e,r,this.keyList[i],this)}}rforEach(t,e=this){for(const i of this.rindexes()){const n=this.valList[i],r=this.isBackgroundFetch(n)?n.__staleWhileFetching:n;void 0!==r&&t.call(e,r,this.keyList[i],this)}}get prune(){return oW("prune","purgeStale"),this.purgeStale}purgeStale(){let t=!1;for(const e of this.rindexes({allowStale:!0}))this.isStale(e)&&(this.delete(this.keyList[e]),t=!0);return t}dump(){const t=[];for(const e of this.indexes({allowStale:!0})){const i=this.keyList[e],n=this.valList[e],r=this.isBackgroundFetch(n)?n.__staleWhileFetching:n;if(void 0===r)continue;const s={value:r};if(this.ttls){s.ttl=this.ttls[e];const t=XG.now()-this.starts[e];s.start=Math.floor(Date.now()-t)}this.sizes&&(s.size=this.sizes[e]),t.unshift([i,s])}return t}load(t){this.clear();for(const[e,i]of t){if(i.start){const t=Date.now()-i.start;i.start=XG.now()-t}this.set(e,i.value,i)}}dispose(t,e,i){}set(t,e,{ttl:i=this.ttl,start:n,noDisposeOnSet:r=this.noDisposeOnSet,size:s=0,sizeCalculation:o=this.sizeCalculation,noUpdateTTL:a=this.noUpdateTTL,status:u}={}){if(s=this.requireSize(t,e,s,o),this.maxEntrySize&&s>this.maxEntrySize)return u&&(u.set="miss",u.maxEntrySizeExceeded=!0),this.delete(t),this;let l=0===this.size?void 0:this.keyMap.get(t);if(void 0===l)l=this.newIndex(),this.keyList[l]=t,this.valList[l]=e,this.keyMap.set(t,l),this.next[this.tail]=l,this.prev[l]=this.tail,this.tail=l,this.size++,this.addItemSize(l,s,u),u&&(u.set="add"),a=!1;else{this.moveToTail(l);const i=this.valList[l];if(e!==i){if(this.isBackgroundFetch(i)?i.__abortController.abort(new Error("replaced")):r||(this.dispose(i,t,"set"),this.disposeAfter&&this.disposed.push([i,t,"set"])),this.removeItemSize(l),this.valList[l]=e,this.addItemSize(l,s,u),u){u.set="replace";const t=i&&this.isBackgroundFetch(i)?i.__staleWhileFetching:i;void 0!==t&&(u.oldValue=t)}}else u&&(u.set="update")}if(0===i||0!==this.ttl||this.ttls||this.initializeTTLTracking(),a||this.setItemTTL(l,i,n),this.statusTTL(u,l),this.disposeAfter)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return this}newIndex(){return 0===this.size?this.tail:this.size===this.max&&0!==this.max?this.evict(!1):0!==this.free.length?this.free.pop():this.initialFill++}pop(){if(this.size){const t=this.valList[this.head];return this.evict(!0),t}}evict(t){const e=this.head,i=this.keyList[e],n=this.valList[e];return this.isBackgroundFetch(n)?n.__abortController.abort(new Error("evicted")):(this.dispose(n,i,"evict"),this.disposeAfter&&this.disposed.push([n,i,"evict"])),this.removeItemSize(e),t&&(this.keyList[e]=null,this.valList[e]=null,this.free.push(e)),this.head=this.next[e],this.keyMap.delete(i),this.size--,e}has(t,{updateAgeOnHas:e=this.updateAgeOnHas,status:i}={}){const n=this.keyMap.get(t);if(void 0!==n){if(!this.isStale(n))return e&&this.updateItemAge(n),i&&(i.has="hit"),this.statusTTL(i,n),!0;i&&(i.has="stale",this.statusTTL(i,n))}else i&&(i.has="miss");return!1}peek(t,{allowStale:e=this.allowStale}={}){const i=this.keyMap.get(t);if(void 0!==i&&(e||!this.isStale(i))){const t=this.valList[i];return this.isBackgroundFetch(t)?t.__staleWhileFetching:t}}backgroundFetch(t,e,i,n){const r=void 0===e?void 0:this.valList[e];if(this.isBackgroundFetch(r))return r;const s=new tW;i.signal&&i.signal.addEventListener("abort",(()=>s.abort(i.signal.reason)));const o={signal:s.signal,options:i,context:n},a=(n,r=!1)=>{const{aborted:a}=s.signal,c=i.ignoreFetchAbort&&void 0!==n;return i.status&&(a&&!r?(i.status.fetchAborted=!0,i.status.fetchError=s.signal.reason,c&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),!a||c||r?(this.valList[e]===l&&(void 0===n?l.__staleWhileFetching?this.valList[e]=l.__staleWhileFetching:this.delete(t):(i.status&&(i.status.fetchUpdated=!0),this.set(t,n,o.options))),n):u(s.signal.reason)},u=n=>{const{aborted:r}=s.signal,o=r&&i.allowStaleOnFetchAbort,a=o||i.allowStaleOnFetchRejection,u=a||i.noDeleteOnFetchRejection;if(this.valList[e]===l){!u||void 0===l.__staleWhileFetching?this.delete(t):o||(this.valList[e]=l.__staleWhileFetching)}if(a)return i.status&&void 0!==l.__staleWhileFetching&&(i.status.returnedStale=!0),l.__staleWhileFetching;if(l.__returned===l)throw n};i.status&&(i.status.fetchDispatched=!0);const l=new Promise(((e,n)=>{this.fetchMethod(t,r,o).then((t=>e(t)),n),s.signal.addEventListener("abort",(()=>{i.ignoreFetchAbort&&!i.allowStaleOnFetchAbort||(e(),i.allowStaleOnFetchAbort&&(e=t=>a(t,!0)))}))})).then(a,(t=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=t),u(t))));return l.__abortController=s,l.__staleWhileFetching=r,l.__returned=null,void 0===e?(this.set(t,l,{...o.options,status:void 0}),e=this.keyMap.get(t)):this.valList[e]=l,l}isBackgroundFetch(t){return t&&"object"==typeof t&&"function"==typeof t.then&&Object.prototype.hasOwnProperty.call(t,"__staleWhileFetching")&&Object.prototype.hasOwnProperty.call(t,"__returned")&&(t.__returned===t||null===t.__returned)}async fetch(t,{allowStale:e=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,ttl:r=this.ttl,noDisposeOnSet:s=this.noDisposeOnSet,size:o=0,sizeCalculation:a=this.sizeCalculation,noUpdateTTL:u=this.noUpdateTTL,noDeleteOnFetchRejection:l=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:c=this.allowStaleOnFetchRejection,ignoreFetchAbort:h=this.ignoreFetchAbort,allowStaleOnFetchAbort:p=this.allowStaleOnFetchAbort,fetchContext:f=this.fetchContext,forceRefresh:d=!1,status:g,signal:m}={}){if(!this.fetchMethod)return g&&(g.fetch="get"),this.get(t,{allowStale:e,updateAgeOnGet:i,noDeleteOnStaleGet:n,status:g});const y={allowStale:e,updateAgeOnGet:i,noDeleteOnStaleGet:n,ttl:r,noDisposeOnSet:s,size:o,sizeCalculation:a,noUpdateTTL:u,noDeleteOnFetchRejection:l,allowStaleOnFetchRejection:c,allowStaleOnFetchAbort:p,ignoreFetchAbort:h,status:g,signal:m};let b=this.keyMap.get(t);if(void 0===b){g&&(g.fetch="miss");const e=this.backgroundFetch(t,b,y,f);return e.__returned=e}{const n=this.valList[b];if(this.isBackgroundFetch(n)){const t=e&&void 0!==n.__staleWhileFetching;return g&&(g.fetch="inflight",t&&(g.returnedStale=!0)),t?n.__staleWhileFetching:n.__returned=n}const r=this.isStale(b);if(!d&&!r)return g&&(g.fetch="hit"),this.moveToTail(b),i&&this.updateItemAge(b),this.statusTTL(g,b),n;const s=this.backgroundFetch(t,b,y,f),o=void 0!==s.__staleWhileFetching,a=o&&e;return g&&(g.fetch=o&&r?"stale":"refresh",a&&r&&(g.returnedStale=!0)),a?s.__staleWhileFetching:s.__returned=s}}get(t,{allowStale:e=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,status:r}={}){const s=this.keyMap.get(t);if(void 0!==s){const o=this.valList[s],a=this.isBackgroundFetch(o);return this.statusTTL(r,s),this.isStale(s)?(r&&(r.get="stale"),a?(r&&(r.returnedStale=e&&void 0!==o.__staleWhileFetching),e?o.__staleWhileFetching:void 0):(n||this.delete(t),r&&(r.returnedStale=e),e?o:void 0)):(r&&(r.get="hit"),a?o.__staleWhileFetching:(this.moveToTail(s),i&&this.updateItemAge(s),o))}r&&(r.get="miss")}connect(t,e){this.prev[e]=t,this.next[t]=e}moveToTail(t){t!==this.tail&&(t===this.head?this.head=this.next[t]:this.connect(this.prev[t],this.next[t]),this.connect(this.tail,t),this.tail=t)}get del(){return oW("del","delete"),this.delete}delete(t){let e=!1;if(0!==this.size){const i=this.keyMap.get(t);if(void 0!==i)if(e=!0,1===this.size)this.clear();else{this.removeItemSize(i);const e=this.valList[i];this.isBackgroundFetch(e)?e.__abortController.abort(new Error("deleted")):(this.dispose(e,t,"delete"),this.disposeAfter&&this.disposed.push([e,t,"delete"])),this.keyMap.delete(t),this.keyList[i]=null,this.valList[i]=null,i===this.tail?this.tail=this.prev[i]:i===this.head?this.head=this.next[i]:(this.next[this.prev[i]]=this.next[i],this.prev[this.next[i]]=this.prev[i]),this.size--,this.free.push(i)}}if(this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return e}clear(){for(const t of this.rindexes({allowStale:!0})){const e=this.valList[t];if(this.isBackgroundFetch(e))e.__abortController.abort(new Error("deleted"));else{const i=this.keyList[t];this.dispose(e,i,"delete"),this.disposeAfter&&this.disposed.push([e,i,"delete"])}}if(this.keyMap.clear(),this.valList.fill(null),this.keyList.fill(null),this.ttls&&(this.ttls.fill(0),this.starts.fill(0)),this.sizes&&this.sizes.fill(0),this.head=0,this.tail=0,this.initialFill=1,this.free.length=0,this.calculatedSize=0,this.size=0,this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift())}get reset(){return oW("reset","clear"),this.clear}get length(){return((t,e)=>{const i=`LRU_CACHE_PROPERTY_${t}`;if(uW(i)){const{prototype:n}=dW,{get:r}=Object.getOwnPropertyDescriptor(n,t);lW(i,`${t} property`,`cache.${e}`,r)}})("length","size"),this.size}static get AbortController(){return tW}static get AbortSignal(){return nW}}var gW=dW;const mW=(...t)=>t.every((t=>t))?t.join(""):"",yW=t=>t?encodeURIComponent(t):"",bW=t=>t.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-"),wW={sshtemplate:({domain:t,user:e,project:i,committish:n})=>`git@${t}:${e}/${i}.git${mW("#",n)}`,sshurltemplate:({domain:t,user:e,project:i,committish:n})=>`git+ssh://git@${t}/${e}/${i}.git${mW("#",n)}`,edittemplate:({domain:t,user:e,project:i,committish:n,editpath:r,path:s})=>`https://${t}/${e}/${i}${mW("/",r,"/",yW(n||"HEAD"),"/",s)}`,browsetemplate:({domain:t,user:e,project:i,committish:n,treepath:r})=>`https://${t}/${e}/${i}${mW("/",r,"/",yW(n))}`,browsetreetemplate:({domain:t,user:e,project:i,committish:n,treepath:r,path:s,fragment:o,hashformat:a})=>`https://${t}/${e}/${i}/${r}/${yW(n||"HEAD")}/${s}${mW("#",a(o||""))}`,browseblobtemplate:({domain:t,user:e,project:i,committish:n,blobpath:r,path:s,fragment:o,hashformat:a})=>`https://${t}/${e}/${i}/${r}/${yW(n||"HEAD")}/${s}${mW("#",a(o||""))}`,docstemplate:({domain:t,user:e,project:i,treepath:n,committish:r})=>`https://${t}/${e}/${i}${mW("/",n,"/",yW(r))}#readme`,httpstemplate:({auth:t,domain:e,user:i,project:n,committish:r})=>`git+https://${mW(t,"@")}${e}/${i}/${n}.git${mW("#",r)}`,filetemplate:({domain:t,user:e,project:i,committish:n,path:r})=>`https://${t}/${e}/${i}/raw/${yW(n||"HEAD")}/${r}`,shortcuttemplate:({type:t,user:e,project:i,committish:n})=>`${t}:${e}/${i}${mW("#",n)}`,pathtemplate:({user:t,project:e,committish:i})=>`${t}/${e}${mW("#",i)}`,bugstemplate:({domain:t,user:e,project:i})=>`https://${t}/${e}/${i}/issues`,hashformat:bW},vW={};vW.github={protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",blobpath:"blob",editpath:"edit",filetemplate:({auth:t,user:e,project:i,committish:n,path:r})=>`https://${mW(t,"@")}raw.githubusercontent.com/${e}/${i}/${yW(n||"HEAD")}/${r}`,gittemplate:({auth:t,domain:e,user:i,project:n,committish:r})=>`git://${mW(t,"@")}${e}/${i}/${n}.git${mW("#",r)}`,tarballtemplate:({domain:t,user:e,project:i,committish:n})=>`https://codeload.${t}/${e}/${i}/tar.gz/${yW(n||"HEAD")}`,extract:t=>{let[,e,i,n,r]=t.pathname.split("/",5);if((!n||"tree"===n)&&(n||(r=t.hash.slice(1)),i&&i.endsWith(".git")&&(i=i.slice(0,-4)),e&&i))return{user:e,project:i,committish:r}}},vW.bitbucket={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",blobpath:"src",editpath:"?mode=edit",edittemplate:({domain:t,user:e,project:i,committish:n,treepath:r,path:s,editpath:o})=>`https://${t}/${e}/${i}${mW("/",r,"/",yW(n||"HEAD"),"/",s,o)}`,tarballtemplate:({domain:t,user:e,project:i,committish:n})=>`https://${t}/${e}/${i}/get/${yW(n||"HEAD")}.tar.gz`,extract:t=>{let[,e,i,n]=t.pathname.split("/",4);if(!["get"].includes(n)&&(i&&i.endsWith(".git")&&(i=i.slice(0,-4)),e&&i))return{user:e,project:i,committish:t.hash.slice(1)}}},vW.gitlab={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",blobpath:"tree",editpath:"-/edit",httpstemplate:({auth:t,domain:e,user:i,project:n,committish:r})=>`git+https://${mW(t,"@")}${e}/${i}/${n}.git${mW("#",r)}`,tarballtemplate:({domain:t,user:e,project:i,committish:n})=>`https://${t}/${e}/${i}/repository/archive.tar.gz?ref=${yW(n||"HEAD")}`,extract:t=>{const e=t.pathname.slice(1);if(e.includes("/-/")||e.includes("/archive.tar.gz"))return;const i=e.split("/");let n=i.pop();n.endsWith(".git")&&(n=n.slice(0,-4));const r=i.join("/");return r&&n?{user:r,project:n,committish:t.hash.slice(1)}:void 0}},vW.gist={protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",editpath:"edit",sshtemplate:({domain:t,project:e,committish:i})=>`git@${t}:${e}.git${mW("#",i)}`,sshurltemplate:({domain:t,project:e,committish:i})=>`git+ssh://git@${t}/${e}.git${mW("#",i)}`,edittemplate:({domain:t,user:e,project:i,committish:n,editpath:r})=>`https://${t}/${e}/${i}${mW("/",yW(n))}/${r}`,browsetemplate:({domain:t,project:e,committish:i})=>`https://${t}/${e}${mW("/",yW(i))}`,browsetreetemplate:({domain:t,project:e,committish:i,path:n,hashformat:r})=>`https://${t}/${e}${mW("/",yW(i))}${mW("#",r(n))}`,browseblobtemplate:({domain:t,project:e,committish:i,path:n,hashformat:r})=>`https://${t}/${e}${mW("/",yW(i))}${mW("#",r(n))}`,docstemplate:({domain:t,project:e,committish:i})=>`https://${t}/${e}${mW("/",yW(i))}`,httpstemplate:({domain:t,project:e,committish:i})=>`git+https://${t}/${e}.git${mW("#",i)}`,filetemplate:({user:t,project:e,committish:i,path:n})=>`https://gist.githubusercontent.com/${t}/${e}/raw${mW("/",yW(i))}/${n}`,shortcuttemplate:({type:t,project:e,committish:i})=>`${t}:${e}${mW("#",i)}`,pathtemplate:({project:t,committish:e})=>`${t}${mW("#",e)}`,bugstemplate:({domain:t,project:e})=>`https://${t}/${e}`,gittemplate:({domain:t,project:e,committish:i})=>`git://${t}/${e}.git${mW("#",i)}`,tarballtemplate:({project:t,committish:e})=>`https://codeload.github.com/gist/${t}/tar.gz/${yW(e||"HEAD")}`,extract:t=>{let[,e,i,n]=t.pathname.split("/",4);if("raw"!==n){if(!i){if(!e)return;i=e,e=null}return i.endsWith(".git")&&(i=i.slice(0,-4)),{user:e,project:i,committish:t.hash.slice(1)}}},hashformat:function(t){return t&&"file-"+bW(t)}},vW.sourcehut={protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",blobpath:"tree",filetemplate:({domain:t,user:e,project:i,committish:n,path:r})=>`https://${t}/${e}/${i}/blob/${yW(n)||"HEAD"}/${r}`,httpstemplate:({domain:t,user:e,project:i,committish:n})=>`https://${t}/${e}/${i}.git${mW("#",n)}`,tarballtemplate:({domain:t,user:e,project:i,committish:n})=>`https://${t}/${e}/${i}/archive/${yW(n)||"HEAD"}.tar.gz`,bugstemplate:({user:t,project:e})=>`https://todo.sr.ht/${t}/${e}`,extract:t=>{let[,e,i,n]=t.pathname.split("/",4);if(!["archive"].includes(n)&&(i&&i.endsWith(".git")&&(i=i.slice(0,-4)),e&&i))return{user:e,project:i,committish:t.hash.slice(1)}}};for(const[t,e]of Object.entries(vW))vW[t]=Object.assign({},wW,e);const DW=p,kW=(t,e,i)=>{const n=t.indexOf(i);return t.lastIndexOf(e,n>-1?n:1/0)},EW=t=>{try{return new DW.URL(t)}catch{}};var xW=(t,e)=>{const i=e?((t,e)=>{const i=t.indexOf(":"),n=t.slice(0,i+1);if(Object.prototype.hasOwnProperty.call(e,n))return t;const r=t.indexOf("@");return r>-1?r>i?`git+ssh://${t}`:t:t.indexOf("//")===i+1?t:`${t.slice(0,i+1)}//${t.slice(i+1)}`})(t,e):t;return EW(i)||EW((t=>{const e=kW(t,"@","#"),i=kW(t,":","#");return i>e&&(t=t.slice(0,i)+"/"+t.slice(i+1)),-1===kW(t,":","#")&&-1===t.indexOf("//")&&(t=`git+ssh://${t}`),t})(i))};const AW=xW;const FW=vW,CW=(t,e,{gitHosts:i,protocols:n})=>{if(!t)return;const r=(t=>{const e=t.indexOf("#"),i=t.indexOf("/"),n=t.indexOf("/",i+1),r=t.indexOf(":"),s=/\s/.exec(t),o=t.indexOf("@"),a=!s||e>-1&&s.index>e,u=-1===o||e>-1&&o>e,l=-1===r||e>-1&&r>e,c=-1===n||e>-1&&n>e,h=i>0,p=e>-1?"/"!==t[e-1]:!t.endsWith("/"),f=!t.startsWith(".");return a&&h&&p&&f&&u&&l&&c})(t)?`github:${t}`:t,s=AW(r,n);if(!s)return;const o=i.byShortcut[s.protocol],a=i.byDomain[s.hostname.startsWith("www.")?s.hostname.slice(4):s.hostname],u=o||a;if(!u)return;const l=i[o||a];let c=null;n[s.protocol]?.auth&&(s.username||s.password)&&(c=`${s.username}${s.password?":"+s.password:""}`);let h=null,p=null,f=null,d=null;try{if(o){let t=s.pathname.startsWith("/")?s.pathname.slice(1):s.pathname;const e=t.indexOf("@");e>-1&&(t=t.slice(e+1));const i=t.lastIndexOf("/");i>-1?(p=decodeURIComponent(t.slice(0,i)),p||(p=null),f=decodeURIComponent(t.slice(i+1))):f=decodeURIComponent(t),f.endsWith(".git")&&(f=f.slice(0,-4)),s.hash&&(h=decodeURIComponent(s.hash.slice(1))),d="shortcut"}else{if(!l.protocols.includes(s.protocol))return;const t=l.extract(s);if(!t)return;p=t.user&&decodeURIComponent(t.user),f=decodeURIComponent(t.project),h=decodeURIComponent(t.committish),d=n[s.protocol]?.name||s.protocol.slice(0,-1)}}catch(t){if(t instanceof URIError)return;throw t}return[u,p,c,f,h,d,e]},SW=xW,_W=new gW({max:1e3});class jW{constructor(t,e,i,n,r,s,o={}){Object.assign(this,jW.#De[t],{type:t,user:e,auth:i,project:n,committish:r,default:s,opts:o})}static#De={byShortcut:{},byDomain:{}};static#ke={"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}};static addHost(t,e){jW.#De[t]=e,jW.#De.byDomain[e.domain]=t,jW.#De.byShortcut[`${t}:`]=t,jW.#ke[`${t}:`]={name:t}}static fromUrl(t,e){if("string"!=typeof t)return;const i=t+JSON.stringify(e||{});if(!_W.has(i)){const n=CW(t,e,{gitHosts:jW.#De,protocols:jW.#ke});_W.set(i,n?new jW(...n):void 0)}return _W.get(i)}static parseUrl(t){return SW(t)}#Ee(t,e){if("function"!=typeof t)return null;const i={...this,...this.opts,...e};i.path||(i.path=""),i.path.startsWith("/")&&(i.path=i.path.slice(1)),i.noCommittish&&(i.committish=null);const n=t(i);return i.noGitPlus&&n.startsWith("git+")?n.slice(4):n}hash(){return this.committish?`#${this.committish}`:""}ssh(t){return this.#Ee(this.sshtemplate,t)}sshurl(t){return this.#Ee(this.sshurltemplate,t)}browse(t,...e){return"string"!=typeof t?this.#Ee(this.browsetemplate,t):"string"!=typeof e[0]?this.#Ee(this.browsetreetemplate,{...e[0],path:t}):this.#Ee(this.browsetreetemplate,{...e[1],fragment:e[0],path:t})}browseFile(t,...e){return"string"!=typeof e[0]?this.#Ee(this.browseblobtemplate,{...e[0],path:t}):this.#Ee(this.browseblobtemplate,{...e[1],fragment:e[0],path:t})}docs(t){return this.#Ee(this.docstemplate,t)}bugs(t){return this.#Ee(this.bugstemplate,t)}https(t){return this.#Ee(this.httpstemplate,t)}git(t){return this.#Ee(this.gittemplate,t)}shortcut(t){return this.#Ee(this.shortcuttemplate,t)}path(t){return this.#Ee(this.pathtemplate,t)}tarball(t){return this.#Ee(this.tarballtemplate,{...t,noCommittish:!1})}file(t,e){return this.#Ee(this.filetemplate,{...e,path:t})}edit(t,e){return this.#Ee(this.edittemplate,{...e,path:t})}getDefaultRepresentation(){return this.default}toString(t){return this.default&&"function"==typeof this[this.default]?this[this.default](t):this.sshurl(t)}}for(const[t,e]of Object.entries(FW))jW.addHost(t,e);var OW=q(jW);const BW={github:"blob",gitlab:"blob",bitbucket:"src"},TW={github:"#",gitlab:"#",bitbucket:"#markdown-header-"},RW={github:"#readme",gitlab:"#readme"},IW={github:!0,gitlab:!0};const $W={};function NW(t,e,i){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||i?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return LW(t.children,e,i)}return Array.isArray(t)?LW(t,e,i):""}function LW(t,e,i){const n=[];let r=-1;for(;++r{const s=t.data||{},o=s.hProperties||{};let a=String(o.name||o.id||s.id||"");if(a||"heading"!==t.type||(a=zW.slug(function(t,e){const i=e||$W;return NW(t,"boolean"!=typeof i.includeImageAlt||i.includeImageAlt,"boolean"!=typeof i.includeHtml||i.includeHtml)}(t,{includeImageAlt:!1,includeHtml:!1}))),a&&p(n,a),"url"in t&&t.url){const s=function(t,e,i){if(t.charAt(0)===qW){if(!e.urlConfig.hostname)return;t=WW+VW+e.urlConfig.hostname+t}let n;try{n=new B(t)}catch{}if(n&&e.root){if(!e.urlConfig.prefix||!e.urlConfig.hostname||n.protocol!==WW&&n.protocol!==HW||n.hostname!==e.urlConfig.hostname||n.pathname.slice(0,e.urlConfig.prefix.length)!==e.urlConfig.prefix)return;return t=(t=n.pathname.slice(e.urlConfig.prefix.length)).split(qW).slice(1).join(qW),ZW(v.resolve(e.root,t+("image"===i?"":n.hash)),e)}let r=t.indexOf(UW);const s=t.indexOf(GW);-1!==s&&(-1===r||r>s)&&(r=(t=t.slice(0,s)+(-1===r?"":t.slice(r))).indexOf(UW));-1!==r&&"image"===i&&(t=t.slice(0,r));t=t.charAt(0)===UW?e.path?e.path+t:t:e.path?v.resolve(e.base,t):"";return ZW(t,e)}(t.url,u,t.type);if(s){const o=s.filePath,a=s.hash;d(o,"",t),a&&((i||o===n)&&d(o,a,t),i&&o&&!l.includes(o)&&h.push(async function(t){l.push(t);try{if((await r.stat(t)).isDirectory()){let e=[];try{e=await r.readdir(t)}catch{}const i=e.sort();let n,s=-1;for(;++s{XW.run({tree:i,file:n,fileSet:e,options:{...t}},(t=>{t?r(t):e?r():iH([n],r)}))}}function eH(t,e){iH(t.valueOf(),e)}function iH(t,e){ZG.run({files:t},(t=>{e(t)}))}eH.pluginId=zG.sourceId;const nH=$U({origin:"remark-lint:emphasis-marker",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-emphasis-marker#readme"},((t,e,i="consistent")=>{const n=String(e);"*"!==i&&"_"!==i&&"consistent"!==i&&e.fail("Incorrect emphasis marker `"+i+"`: use either `'consistent'`, `'*'`, or `'_'`"),Cj(t,"emphasis",(t=>{const r=LU(t).offset;if("number"==typeof r){const s=n.charAt(r);"consistent"===i?i=s:s!==i&&e.message("Emphasis should use `"+i+"` as a marker",t)}}))}));var rH=nH;const sH=$U({origin:"remark-lint:strong-marker",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-strong-marker#readme"},((t,e,i="consistent")=>{const n=String(e);"*"!==i&&"_"!==i&&"consistent"!==i&&e.fail("Incorrect strong marker `"+i+"`: use either `'consistent'`, `'*'`, or `'_'`"),Cj(t,"strong",(t=>{const r=LU(t).offset;if("number"==typeof r){const s=n.charAt(r);"consistent"===i?i=s:s!==i&&e.message("Strong should use `"+i+"` as a marker",t)}}))}));var oH=sH;const aH=new Set(["-","*","+"]),uH=$U({origin:"remark-lint:unordered-list-marker-style",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-unordered-list-marker-style#readme"},((t,e,i="consistent")=>{const n=String(e);"consistent"===i||aH.has(i)||e.fail("Incorrect unordered list item marker style `"+i+"`: use either `'-'`, `'*'`, or `'+'`"),Cj(t,"list",(t=>{if(t.ordered)return;let r=-1;for(;++r{const n=String(e);"consistent"!==i&&"~"!==i&&"`"!==i&&e.fail("Incorrect fenced code marker `"+i+"`: use either `'consistent'`, `` '`' ``, or `'~'`"),Cj(t,"code",(t=>{const r=LU(t).offset;if("number"==typeof r){const s=n.slice(r,r+4).replace(/^\s+/,"").charAt(0);"~"!==s&&"`"!==s||("consistent"===i?i=s:s!==i&&e.message("Fenced code should use `"+("~"===i?i:"` ` `")+"` as a marker",t))}}))}));var hH=cH;const pH=$U({origin:"remark-lint:rule-style",url:"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-rule-style#readme"},((t,e,i="consistent")=>{const n=String(e);"consistent"!==i&&/[^-_* ]/.test(i)&&e.fail("Incorrect preferred rule style: provide a correct markdown rule or `'consistent'`"),Cj(t,"thematicBreak",(t=>{const r=LU(t).offset,s=PU(t).offset;if("number"==typeof r&&"number"==typeof s){const o=n.slice(r,s);"consistent"===i?i=o:o!==i&&e.message("Rules should use `"+i+"`",t)}}))}));var fH=pH;function dH({fix:t,repository:e,paddedTable:i,validateLinks:n}){const r={plugins:[RU,qU,WU,VU,QU,[iG,2],sG]};return t||r.plugins.push([rH,"_"],[oH,"*"],oG,[lH,"-"],uG,[cG,"space"],[hH,"`"],[fH,"---"],mG,bG,EG,FG,SG,[jG,"fenced"],i?[BG,"padded"]:null,IG,[NG,{checked:"x",unchecked:" "}],MG),n&&r.plugins.push([tH,{repository:e||!1}]),r.plugins=r.plugins.filter(Boolean),r}const gH=Symbol("promise");function mH(t,e){e=Br(e,gH);const i=!!t.fix,n=v.resolve(t.cwd||"."),r=vH("package.json",n)||{},s=Object.assign({},vH(".hallmarkrc",n),r.hallmark),o=function(t,...e){for(const i of e)if(i[t])return i[t]}("files",t,s)||["*.md"],a=function(t,e,i,n){const r=e.repository||i.repository,s=!1;if(r)return Pr.fromUrl(r,{committish:s}).https();const o=Pr.fromPkg(n,{committish:s,optional:!0})||Pr.fromGit(t,{committish:s});return o.https()}(n,t,s,r),u=DH("ignore",s,t);return ji(o,{usePackageJson:!1,cwd:n,ignore:u},(function(o,u){if(o)return e(o);if(!u.length)return void e(null,{code:0,files:[]});let l,c;!1===t.report?l=function(){}:t.report?(l=[].concat(t.report)[0],"string"!=typeof l&&(c=l,l=l._[0])):l=WB;const h=!1!==s.paddedTable,p=!1!==s.validateLinks,f=Object.assign({},s.changelog,t.changelog),d={plugins:DH("plugins",s,t)},g={plugins:DH("fixers",s,t)};return"contributors"in s?e(new Error("The 'contributors' option has been removed")):"community"in s?e(new Error("The 'community' option has been removed")):void function(t,e){const i={};let n=new R;try{n=m.stdin}catch{}if(!e)throw new Error("Missing `callback`");if(!t||!t.processor)return c(new Error("Missing `processor`"));if(i.processor=t.processor,i.cwd="object"==typeof t.cwd?O(t.cwd):t.cwd||m.cwd(),i.files=(t.files||[]).map((t=>"object"==typeof t&&"href"in t&&!("path"in t)?O(t):t)),i.extensions=(t.extensions||[]).map((t=>"."===t.charAt(0)?t:"."+t)),i.filePath=t.filePath,i.streamIn=t.streamIn||n,i.streamOut=t.streamOut||m.stdout,i.streamError=t.streamError||m.stderr,i.alwaysStringify=t.alwaysStringify,i.output=t.output,i.out=t.out,null!==i.output&&void 0!==i.output||(i.output=void 0),i.output&&i.out)return c(new Error("Cannot accept both `output` and `out`"));const r=t.tree||!1;i.treeIn=t.treeIn,i.treeOut=t.treeOut,i.inspect=t.inspect,null!==i.treeIn&&void 0!==i.treeIn||(i.treeIn=r),null!==i.treeOut&&void 0!==i.treeOut||(i.treeOut=r);const s=t.detectConfig,o=Boolean(t.rcName||t.packageField);if(s&&!o)return c(new Error("Missing `rcName` or `packageField` with `detectConfig`"));i.detectConfig=null==s?o:s,i.rcName=t.rcName,i.rcPath=t.rcPath,i.packageField=t.packageField,i.settings=t.settings||{},i.configTransform=t.configTransform,i.defaultConfig=t.defaultConfig;const a=t.detectIgnore,u=Boolean(t.ignoreName),l=Boolean(t.ignoreUnconfigured);if(i.detectIgnore=null==a?u:a,i.ignoreName=t.ignoreName,i.ignorePath=t.ignorePath,i.ignorePathResolveFrom=t.ignorePathResolveFrom||"dir",i.ignorePatterns=t.ignorePatterns||[],i.ignoreUnconfigured=l,i.silentlyIgnore=Boolean(t.silentlyIgnore),l&&i.rcPath)return c(new Error("Cannot accept both `rcPath` and `ignoreUnconfigured`, as former prevents looking for configuration but the latter requires it"));if(l&&!o)return c(new Error("Missing `rcName` or `packageField` with `ignoreUnconfigured`, the former are needed to look for configuration"));if(l&&!i.detectConfig)return c(new Error("Cannot use `detectConfig: false` with `ignoreUnconfigured`, the former prevents looking for configuration but the latter requires it"));if(a&&!u)return c(new Error("Missing `ignoreName` with `detectIgnore`"));function c(t,n){const r=Mr((n||{}).files),s=Boolean(i.frail?r.fatal||r.warn:r.fatal);t?e(t):e(null,s?1:0,n)}i.pluginPrefix=t.pluginPrefix,i.plugins=t.plugins||[],i.reporter=t.reporter,i.reporterOptions=t.reporterOptions,i.color=t.color||!1,i.silent=t.silent,i.quiet=t.quiet,i.frail=t.frail,tC.run({files:i.files},i,c)}({processor:gT,extensions:["md","markdown"],color:Gd.stdout,files:u,cwd:n,reporter:l,reporterOptions:c,plugins:[[nR,{tableCellPadding:!0,tablePipeAlign:h,stringLength:h?t=>String(t).length:()=>3}],[Zq,{cwd:n,fix:i,pkg:r,repository:a,...f}],[bU,{repository:a}],s.autolinkReferences?[DU,{...s.autolinkReferences,fix:i}]:null,i?g:null,dH({fix:i,repository:a,paddedTable:h,validateLinks:p}),d].filter(Boolean),settings:{fences:!0,listItemIndent:"one",bullet:"-",rule:"-",emphasis:"_",strong:"*"},pluginPrefix:"remark",output:i,out:!1,frail:!0,quiet:!0},(function(t,i,n){if(t)return e(t);e(null,{code:i,files:n.files})}))})),e[gH]}function yH(t,e){return"function"==typeof t&&(e=t,t={}),mH({...t,fix:!1},e)}function bH(t,e){return"function"==typeof t&&(e=t,t={}),mH({...t,fix:!0},e)}const wH={add:function(e,i,n){if(!e)throw new TypeError('First argument "target" is required');if(Array.isArray(e)){if(!e.every((t=>"string"==typeof t&&""!==t.trim())))throw new TypeError('First argument "target" must be a string or array of strings')}else if("object"==typeof e&&null!==e);else if("string"!=typeof e)throw new TypeError('First argument "target" must be a string or array of strings');"function"==typeof i?(n=i,i={}):null==i&&(i={});const r=["CHANGELOG.md"],s=v.join(i.cwd||".",r[0]);t.existsSync(s)||t.writeFileSync(s,"# Changelog\n");const o={commits:!1!==i.commits,...i.changelog,add:e};return mH({...i,files:r,changelog:o,fix:!0},n)}};function vH(e,i){const n=gn.sync(e,i,100);return n?JSON.parse(t.readFileSync(n,"utf8")):null}function DH(t,e,i){return[].concat(e[t]||[]).concat(i[t]||[])}var kH=Object.freeze({__proto__:null,cc:wH,fix:bH,lint:yH});process.version.match(/^v(\d+)\./)[1]<16&&(console.error("Skipping hallmark: Node 16 or greater is required."),process.exit(0));const EH=K(process.argv.slice(2),{boolean:["fix","help","version","commits"],string:["report"],default:{fix:!1,help:!1,version:!1,commits:!0},alias:{h:"help",v:"version",i:"ignore"}});if(EH.help)FH(0);else if(EH.version){const e=new URL("./package.json",import.meta.url);console.log(JSON.parse(t.readFileSync(e,"utf8")).version)}else{const{commits:t,_:e,...i}=EH;if("lint"===e[0])i.files=xH(e.slice(1)),yH(i,AH);else if("fix"===e[0])i.files=xH(e.slice(1)),bH(i,AH);else if("bump"===e[0])console.error("Error: the 'bump' command has been renamed to 'cc add'.\n"),FH(1);else if("cc"===e[0])if("add"===e[1]){const n=e.slice(2);n.length&&n.every(Boolean)||FH(1),wH.add(n,{...i,commits:t},AH)}else if("init"===e[1]){const{gte:e,lte:n,...r}=i;wH.add({gte:e,lte:n},{...r,commits:t},AH)}else console.error("Error: unknown command."),FH(1);else i.files=xH(e),kH[i.fix?"fix":"lint"](i,AH)}function xH(t){return t.length?t:null}function AH(t,e){if(t)throw t;process.exit(e.code)}function FH(e){const i=new URL("./USAGE",import.meta.url),n=t.readFileSync(i,"utf8").trim();e?(console.error(n),process.exit(e)):(console.log(n),process.exit())} diff --git a/index.js b/index.js index a3dd269..74b45c1 100644 --- a/index.js +++ b/index.js @@ -10,8 +10,6 @@ import remarkGfm from 'remark-gfm' import remarkCommonChangelog from 'remark-common-changelog' import remarkGithub from 'remark-github' import remarkAutolinkReferences from 'remark-autolink-references' -import remarkToc from 'remark-toc' -import remarkCollapse from 'remark-collapse' import path from 'node:path' import fs from 'node:fs' import linter from './lint.js' @@ -57,7 +55,6 @@ function hallmark (options, callback) { const paddedTable = rc.paddedTable !== false const validateLinks = rc.validateLinks !== false - const toc = rc.toc !== false const changelog = Object.assign({}, rc.changelog, options.changelog) const plugins = { plugins: concat('plugins', rc, options) } const fixers = { plugins: concat('fixers', rc, options) } @@ -99,10 +96,6 @@ function hallmark (options, callback) { }] : null, - // TODO: https://github.com/vweevers/hallmark/issues/36 - toc ? [remarkToc, { tight: true }] : null, - toc ? [remarkCollapse, collapseToc()] : null, - fix ? fixers : null, linter({ fix, repository, paddedTable, validateLinks }), plugins @@ -230,10 +223,3 @@ function repo (cwd, options, rc, pkg) { function concat (key, rc, options) { return [].concat(rc[key] || []).concat(options[key] || []) } - -function collapseToc () { - return { - test: /^table of contents$/i, - summary: 'Click to expand' - } -} diff --git a/package.json b/package.json index 1df0e7e..6ff5b3d 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,6 @@ "find-githost": "^1.0.0", "remark": "^14.0.1", "remark-autolink-references": "^2.0.0", - "remark-collapse": "~0.1.2", "remark-common-changelog": "^2.3.1", "remark-gfm": "^3.0.1", "remark-github": "^11.2.2", @@ -55,7 +54,6 @@ "remark-lint-table-cell-padding": "^4.1.1", "remark-lint-table-pipes": "^4.1.0", "remark-lint-unordered-list-marker-style": "^3.1.0", - "remark-toc": "^8.0.1", "remark-validate-links": "^12.1.0", "subarg": "^1.0.0", "supports-color": "^9.0.2", @@ -75,7 +73,9 @@ "tempy": "^3.0.0" }, "standard": { - "ignore": ["cli-dist.js"] + "ignore": [ + "cli-dist.js" + ] }, "repository": { "type": "git",