Files
changesets-action/dist/get-packages.cjs-Lk6WyPet.js
T
2026-06-23 07:33:38 +00:00

48 lines
316 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{x as e,y as t}from"./github-B-FmP-qI.js";var n=t(((e,t)=>{let n=(e,t)=>function(...n){let r=t.promiseModule;return new r((r,i)=>{t.multiArgs?n.push((...e)=>{t.errorFirst?e[0]?i(e):(e.shift(),r(e)):r(e)}):t.errorFirst?n.push((e,t)=>{e?i(e):r(t)}):n.push(r),e.apply(this,n)})};t.exports=(e,t)=>{t=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:!0,promiseModule:Promise},t);let r=typeof e;if(!(e!==null&&(r===`object`||r===`function`)))throw TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${e===null?`null`:r}\``);let i=e=>{let n=t=>typeof t==`string`?e===t:t.test(e);return t.include?t.include.some(n):!t.exclude.some(n)},a;a=r===`function`?function(...r){return t.excludeMain?e(...r):n(e,t).apply(this,r)}:Object.create(Object.getPrototypeOf(e));for(let r in e){let o=e[r];a[r]=typeof o==`function`&&i(r)?n(o,t):o}return a}})),r=t(((e,t)=>{function n(e){return Array.isArray(e)?e:[e]}let r=/^\s+$/,i=/(?:[^\\]|^)\\$/,a=/^\\!/,o=/^\\#/,s=/\r?\n/g,c=/^\.*\/|^\.+$/,l=`node-ignore`;typeof Symbol<`u`&&(l=Symbol.for(`node-ignore`));let u=l,d=(e,t,n)=>Object.defineProperty(e,t,{value:n}),f=/([0-z])-([0-z])/g,p=()=>!1,m=e=>e.replace(f,(e,t,n)=>t.charCodeAt(0)<=n.charCodeAt(0)?e:``),h=e=>{let{length:t}=e;return e.slice(0,t-t%2)},g=[[/^\uFEFF/,()=>``],[/((?:\\\\)*?)(\\?\s+)$/,(e,t,n)=>t+(n.indexOf(`\\`)===0?` `:``)],[/(\\+?)\s/g,(e,t)=>{let{length:n}=t;return t.slice(0,n-n%2)+` `}],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>`[^/]`],[/^\//,()=>`^`],[/\//g,()=>`\\/`],[/^\^*\\\*\\\*\\\//,()=>`^(?:.*\\/)?`],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?`^`:`(?:^|\\/)`}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,n)=>t+6<n.length?`(?:\\/[^\\/]+)*`:`\\/.+`],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(e,t,n)=>t+n.replace(/\\\*/g,`[^\\/]*`)],[/\\\\\\(?=[$.|*+(){^])/g,()=>`\\`],[/\\\\/g,()=>`\\`],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,n,r,i)=>t===`\\`?`\\[${n}${h(r)}${i}`:i===`]`&&r.length%2==0?`[${m(n)}${r}]`:`[]`],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:`[^/]*`}(?=$|\\/$)`]],_=Object.create(null),v=(e,t)=>{let n=_[e];return n||(n=g.reduce((t,[n,r])=>t.replace(n,r.bind(e)),e),_[e]=n),t?new RegExp(n,`i`):new RegExp(n)},y=e=>typeof e==`string`,b=e=>e&&y(e)&&!r.test(e)&&!i.test(e)&&e.indexOf(`#`)!==0,x=e=>e.split(s);var S=class{constructor(e,t,n,r){this.origin=e,this.pattern=t,this.negative=n,this.regex=r}};let C=(e,t)=>{let n=e,r=!1;e.indexOf(`!`)===0&&(r=!0,e=e.substr(1)),e=e.replace(a,`!`).replace(o,`#`);let i=v(e,t);return new S(n,e,r,i)},w=(e,t)=>{throw new t(e)},T=(e,t,n)=>y(e)?e?T.isNotRelative(e)?n(`path should be a \`path.relative()\`d string, but got "${t}"`,RangeError):!0:n(`path must not be empty`,TypeError):n(`path must be a string, but got \`${t}\``,TypeError),E=e=>c.test(e);T.isNotRelative=E,T.convert=e=>e;var D=class{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:n=!1}={}){d(this,u,!0),this._rules=[],this._ignoreCase=t,this._allowRelativePaths=n,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(e){if(e&&e[u]){this._rules=this._rules.concat(e._rules),this._added=!0;return}if(b(e)){let t=C(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,n(y(e)?x(e):e).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(e){return this.add(e)}_testOne(e,t){let n=!1,r=!1;return this._rules.forEach(i=>{let{negative:a}=i;r===a&&n!==r||a&&!n&&!r&&!t||i.regex.test(e)&&(n=!a,r=a)}),{ignored:n,unignored:r}}_test(e,t,n,r){let i=e&&T.convert(e);return T(i,e,this._allowRelativePaths?p:w),this._t(i,t,n,r)}_t(e,t,n,r){if(e in t)return t[e];if(r||=e.split(`/`),r.pop(),!r.length)return t[e]=this._testOne(e,n);let i=this._t(r.join(`/`)+`/`,t,n,r);return t[e]=i.ignored?i:this._testOne(e,n)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return n(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}};let O=e=>new D(e);if(O.isPathValid=e=>T(e&&T.convert(e),e,p),O.default=O,t.exports=O,typeof process<`u`&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform===`win32`)){T.convert=e=>/^\\\\\?\\/.test(e)||/["<>|\u0000-\u001F]+/u.test(e)?e:e.replace(/\\/g,`/`);let e=/^[a-z]:\//i;T.isNotRelative=t=>e.test(t)||E(t)}})),i=t((e=>{e.fromCallback=function(e){return Object.defineProperty(function(){if(typeof arguments[arguments.length-1]==`function`)e.apply(this,arguments);else return new Promise((t,n)=>{arguments[arguments.length]=(e,r)=>{if(e)return n(e);t(r)},arguments.length++,e.apply(this,arguments)})},`name`,{value:e.name})},e.fromPromise=function(e){return Object.defineProperty(function(){let t=arguments[arguments.length-1];if(typeof t!=`function`)return e.apply(this,arguments);e.apply(this,arguments).then(e=>t(null,e),t)},`name`,{value:e.name})}})),a=t(((t,n)=>{var r=e(`constants`),i=process.cwd,a=null,o=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return a||=i.call(process),a};try{process.cwd()}catch{}if(typeof process.chdir==`function`){var s=process.chdir;process.chdir=function(e){a=null,s.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,s)}n.exports=c;function c(e){r.hasOwnProperty(`O_SYMLINK`)&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&t(e),e.lutimes||n(e),e.chown=s(e.chown),e.fchown=s(e.fchown),e.lchown=s(e.lchown),e.chmod=i(e.chmod),e.fchmod=i(e.fchmod),e.lchmod=i(e.lchmod),e.chownSync=c(e.chownSync),e.fchownSync=c(e.fchownSync),e.lchownSync=c(e.lchownSync),e.chmodSync=a(e.chmodSync),e.fchmodSync=a(e.fchmodSync),e.lchmodSync=a(e.lchmodSync),e.stat=l(e.stat),e.fstat=l(e.fstat),e.lstat=l(e.lstat),e.statSync=u(e.statSync),e.fstatSync=u(e.fstatSync),e.lstatSync=u(e.lstatSync),e.chmod&&!e.lchmod&&(e.lchmod=function(e,t,n){n&&process.nextTick(n)},e.lchmodSync=function(){}),e.chown&&!e.lchown&&(e.lchown=function(e,t,n,r){r&&process.nextTick(r)},e.lchownSync=function(){}),o===`win32`&&(e.rename=typeof e.rename==`function`?(function(t){function n(n,r,i){var a=Date.now(),o=0;t(n,r,function s(c){if(c&&(c.code===`EACCES`||c.code===`EPERM`||c.code===`EBUSY`)&&Date.now()-a<6e4){setTimeout(function(){e.stat(r,function(e,a){e&&e.code===`ENOENT`?t(n,r,s):i(c)})},o),o<100&&(o+=10);return}i&&i(c)})}return Object.setPrototypeOf&&Object.setPrototypeOf(n,t),n})(e.rename):e.rename),e.read=typeof e.read==`function`?(function(t){function n(n,r,i,a,o,s){var c;if(s&&typeof s==`function`){var l=0;c=function(u,d,f){if(u&&u.code===`EAGAIN`&&l<10)return l++,t.call(e,n,r,i,a,o,c);s.apply(this,arguments)}}return t.call(e,n,r,i,a,o,c)}return Object.setPrototypeOf&&Object.setPrototypeOf(n,t),n})(e.read):e.read,e.readSync=typeof e.readSync==`function`?(function(t){return function(n,r,i,a,o){for(var s=0;;)try{return t.call(e,n,r,i,a,o)}catch(e){if(e.code===`EAGAIN`&&s<10){s++;continue}throw e}}})(e.readSync):e.readSync;function t(e){e.lchmod=function(t,n,i){e.open(t,r.O_WRONLY|r.O_SYMLINK,n,function(t,r){if(t){i&&i(t);return}e.fchmod(r,n,function(t){e.close(r,function(e){i&&i(t||e)})})})},e.lchmodSync=function(t,n){var i=e.openSync(t,r.O_WRONLY|r.O_SYMLINK,n),a=!0,o;try{o=e.fchmodSync(i,n),a=!1}finally{if(a)try{e.closeSync(i)}catch{}else e.closeSync(i)}return o}}function n(e){r.hasOwnProperty(`O_SYMLINK`)&&e.futimes?(e.lutimes=function(t,n,i,a){e.open(t,r.O_SYMLINK,function(t,r){if(t){a&&a(t);return}e.futimes(r,n,i,function(t){e.close(r,function(e){a&&a(t||e)})})})},e.lutimesSync=function(t,n,i){var a=e.openSync(t,r.O_SYMLINK),o,s=!0;try{o=e.futimesSync(a,n,i),s=!1}finally{if(s)try{e.closeSync(a)}catch{}else e.closeSync(a)}return o}):e.futimes&&(e.lutimes=function(e,t,n,r){r&&process.nextTick(r)},e.lutimesSync=function(){})}function i(t){return t&&function(n,r,i){return t.call(e,n,r,function(e){d(e)&&(e=null),i&&i.apply(this,arguments)})}}function a(t){return t&&function(n,r){try{return t.call(e,n,r)}catch(e){if(!d(e))throw e}}}function s(t){return t&&function(n,r,i,a){return t.call(e,n,r,i,function(e){d(e)&&(e=null),a&&a.apply(this,arguments)})}}function c(t){return t&&function(n,r,i){try{return t.call(e,n,r,i)}catch(e){if(!d(e))throw e}}}function l(t){return t&&function(n,r,i){typeof r==`function`&&(i=r,r=null);function a(e,t){t&&(t.uid<0&&(t.uid+=4294967296),t.gid<0&&(t.gid+=4294967296)),i&&i.apply(this,arguments)}return r?t.call(e,n,r,a):t.call(e,n,a)}}function u(t){return t&&function(n,r){var i=r?t.call(e,n,r):t.call(e,n);return i&&(i.uid<0&&(i.uid+=4294967296),i.gid<0&&(i.gid+=4294967296)),i}}function d(e){return!e||e.code===`ENOSYS`||(!process.getuid||process.getuid()!==0)&&(e.code===`EINVAL`||e.code===`EPERM`)}}})),o=t(((t,n)=>{var r=e(`stream`).Stream;n.exports=i;function i(e){return{ReadStream:t,WriteStream:n};function t(n,i){if(!(this instanceof t))return new t(n,i);r.call(this);var a=this;this.path=n,this.fd=null,this.readable=!0,this.paused=!1,this.flags=`r`,this.mode=438,this.bufferSize=64*1024,i||={};for(var o=Object.keys(i),s=0,c=o.length;s<c;s++){var l=o[s];this[l]=i[l]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!=`number`)throw TypeError(`start must be a Number`);if(this.end===void 0)this.end=1/0;else if(typeof this.end!=`number`)throw TypeError(`end must be a Number`);if(this.start>this.end)throw Error(`start must be <= end`);this.pos=this.start}if(this.fd!==null){process.nextTick(function(){a._read()});return}e.open(this.path,this.flags,this.mode,function(e,t){if(e){a.emit(`error`,e),a.readable=!1;return}a.fd=t,a.emit(`open`,t),a._read()})}function n(t,i){if(!(this instanceof n))return new n(t,i);r.call(this),this.path=t,this.fd=null,this.writable=!0,this.flags=`w`,this.encoding=`binary`,this.mode=438,this.bytesWritten=0,i||={};for(var a=Object.keys(i),o=0,s=a.length;o<s;o++){var c=a[o];this[c]=i[c]}if(this.start!==void 0){if(typeof this.start!=`number`)throw TypeError(`start must be a Number`);if(this.start<0)throw Error(`start must be >= zero`);this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=e.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}})),s=t(((e,t)=>{t.exports=r;var n=Object.getPrototypeOf||function(e){return e.__proto__};function r(e){if(typeof e!=`object`||!e)return e;if(e instanceof Object)var t={__proto__:n(e)};else var t=Object.create(null);return Object.getOwnPropertyNames(e).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}})),c=t(((t,n)=>{var r=e(`fs`),i=a(),c=o(),l=s(),u=e(`util`),d,f;typeof Symbol==`function`&&typeof Symbol.for==`function`?(d=Symbol.for(`graceful-fs.queue`),f=Symbol.for(`graceful-fs.previous`)):(d=`___graceful-fs.queue`,f=`___graceful-fs.previous`);function p(){}function m(e,t){Object.defineProperty(e,d,{get:function(){return t}})}var h=p;u.debuglog?h=u.debuglog(`gfs4`):/\bgfs4\b/i.test(process.env.NODE_DEBUG||``)&&(h=function(){var e=u.format.apply(u,arguments);e=`GFS4: `+e.split(/\n/).join(`
GFS4: `),console.error(e)}),r[d]||(m(r,global[d]||[]),r.close=(function(e){function t(t,n){return e.call(r,t,function(e){e||y(),typeof n==`function`&&n.apply(this,arguments)})}return Object.defineProperty(t,f,{value:e}),t})(r.close),r.closeSync=(function(e){function t(t){e.apply(r,arguments),y()}return Object.defineProperty(t,f,{value:e}),t})(r.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||``)&&process.on(`exit`,function(){h(r[d]),e(`assert`).equal(r[d].length,0)})),global[d]||m(global,r[d]),n.exports=g(l(r)),process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!r.__patched&&(n.exports=g(r),r.__patched=!0);function g(e){i(e),e.gracefulify=g,e.createReadStream=T,e.createWriteStream=E;var t=e.readFile;e.readFile=n;function n(e,n,r){return typeof n==`function`&&(r=n,n=null),i(e,n,r);function i(e,n,r,a){return t(e,n,function(t){t&&(t.code===`EMFILE`||t.code===`ENFILE`)?_([i,[e,n,r],t,a||Date.now(),Date.now()]):typeof r==`function`&&r.apply(this,arguments)})}}var r=e.writeFile;e.writeFile=a;function a(e,t,n,i){return typeof n==`function`&&(i=n,n=null),a(e,t,n,i);function a(e,t,n,i,o){return r(e,t,n,function(r){r&&(r.code===`EMFILE`||r.code===`ENFILE`)?_([a,[e,t,n,i],r,o||Date.now(),Date.now()]):typeof i==`function`&&i.apply(this,arguments)})}}var o=e.appendFile;o&&(e.appendFile=s);function s(e,t,n,r){return typeof n==`function`&&(r=n,n=null),i(e,t,n,r);function i(e,t,n,r,a){return o(e,t,n,function(o){o&&(o.code===`EMFILE`||o.code===`ENFILE`)?_([i,[e,t,n,r],o,a||Date.now(),Date.now()]):typeof r==`function`&&r.apply(this,arguments)})}}var l=e.copyFile;l&&(e.copyFile=u);function u(e,t,n,r){return typeof n==`function`&&(r=n,n=0),i(e,t,n,r);function i(e,t,n,r,a){return l(e,t,n,function(o){o&&(o.code===`EMFILE`||o.code===`ENFILE`)?_([i,[e,t,n,r],o,a||Date.now(),Date.now()]):typeof r==`function`&&r.apply(this,arguments)})}}var d=e.readdir;e.readdir=p;var f=/^v[0-5]\./;function p(e,t,n){typeof t==`function`&&(n=t,t=null);var r=f.test(process.version)?function(e,t,n,r){return d(e,i(e,t,n,r))}:function(e,t,n,r){return d(e,t,i(e,t,n,r))};return r(e,t,n);function i(e,t,n,i){return function(a,o){a&&(a.code===`EMFILE`||a.code===`ENFILE`)?_([r,[e,t,n],a,i||Date.now(),Date.now()]):(o&&o.sort&&o.sort(),typeof n==`function`&&n.call(this,a,o))}}}if(process.version.substr(0,4)===`v0.8`){var m=c(e);x=m.ReadStream,C=m.WriteStream}var h=e.ReadStream;h&&(x.prototype=Object.create(h.prototype),x.prototype.open=S);var v=e.WriteStream;v&&(C.prototype=Object.create(v.prototype),C.prototype.open=w),Object.defineProperty(e,`ReadStream`,{get:function(){return x},set:function(e){x=e},enumerable:!0,configurable:!0}),Object.defineProperty(e,`WriteStream`,{get:function(){return C},set:function(e){C=e},enumerable:!0,configurable:!0});var y=x;Object.defineProperty(e,`FileReadStream`,{get:function(){return y},set:function(e){y=e},enumerable:!0,configurable:!0});var b=C;Object.defineProperty(e,`FileWriteStream`,{get:function(){return b},set:function(e){b=e},enumerable:!0,configurable:!0});function x(e,t){return this instanceof x?(h.apply(this,arguments),this):x.apply(Object.create(x.prototype),arguments)}function S(){var e=this;O(e.path,e.flags,e.mode,function(t,n){t?(e.autoClose&&e.destroy(),e.emit(`error`,t)):(e.fd=n,e.emit(`open`,n),e.read())})}function C(e,t){return this instanceof C?(v.apply(this,arguments),this):C.apply(Object.create(C.prototype),arguments)}function w(){var e=this;O(e.path,e.flags,e.mode,function(t,n){t?(e.destroy(),e.emit(`error`,t)):(e.fd=n,e.emit(`open`,n))})}function T(t,n){return new e.ReadStream(t,n)}function E(t,n){return new e.WriteStream(t,n)}var D=e.open;e.open=O;function O(e,t,n,r){return typeof n==`function`&&(r=n,n=null),i(e,t,n,r);function i(e,t,n,r,a){return D(e,t,n,function(o,s){o&&(o.code===`EMFILE`||o.code===`ENFILE`)?_([i,[e,t,n,r],o,a||Date.now(),Date.now()]):typeof r==`function`&&r.apply(this,arguments)})}}return e}function _(e){h(`ENQUEUE`,e[0].name,e[1]),r[d].push(e),b()}var v;function y(){for(var e=Date.now(),t=0;t<r[d].length;++t)r[d][t].length>2&&(r[d][t][3]=e,r[d][t][4]=e);b()}function b(){if(clearTimeout(v),v=void 0,r[d].length!==0){var e=r[d].shift(),t=e[0],n=e[1],i=e[2],a=e[3],o=e[4];if(a===void 0)h(`RETRY`,t.name,n),t.apply(null,n);else if(Date.now()-a>=6e4){h(`TIMEOUT`,t.name,n);var s=n.pop();typeof s==`function`&&s.call(null,i)}else{var c=Date.now()-o,l=Math.max(o-a,1);c>=Math.min(l*1.2,100)?(h(`RETRY`,t.name,n),t.apply(null,n.concat([a]))):r[d].push(e)}v===void 0&&(v=setTimeout(b,0))}}})),l=t(((t,n)=>{var r;try{r=c()}catch{r=e(`fs`)}function i(e,t,n){n??(n=t,t={}),typeof t==`string`&&(t={encoding:t}),t||={};var i=t.fs||r,a=!0;`throws`in t&&(a=t.throws),i.readFile(e,t,function(r,i){if(r)return n(r);i=u(i);var o;try{o=JSON.parse(i,t?t.reviver:null)}catch(t){return a?(t.message=e+`: `+t.message,n(t)):n(null,null)}n(null,o)})}function a(e,t){t||={},typeof t==`string`&&(t={encoding:t});var n=t.fs||r,i=!0;`throws`in t&&(i=t.throws);try{var a=n.readFileSync(e,t);return a=u(a),JSON.parse(a,t.reviver)}catch(t){if(i)throw t.message=e+`: `+t.message,t;return null}}function o(e,t){var n,r=`
`;return typeof t==`object`&&t&&(t.spaces&&(n=t.spaces),t.EOL&&(r=t.EOL)),JSON.stringify(e,t?t.replacer:null,n).replace(/\n/g,r)+r}function s(e,t,n,i){i??(i=n,n={}),n||={};var a=n.fs||r,s=``;try{s=o(t,n)}catch(e){i&&i(e,null);return}a.writeFile(e,s,n,i)}function l(e,t,n){n||={};var i=n.fs||r,a=o(t,n);return i.writeFileSync(e,a,n)}function u(e){return Buffer.isBuffer(e)&&(e=e.toString(`utf8`)),e=e.replace(/^\uFEFF/,``),e}n.exports={readFile:i,readFileSync:a,writeFile:s,writeFileSync:l}})),u=t(((e,t)=>{function n(e,t){this.v=e,this.k=t}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),d=t(((e,t)=>{function n(e,r,i,a){var o=Object.defineProperty;try{o({},``,{})}catch{o=0}t.exports=n=function(e,t,r,i){function a(t,r){n(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!i,configurable:!i,writable:!i}):e[t]=r:(a(`next`,0),a(`throw`,1),a(`return`,2))},t.exports.__esModule=!0,t.exports.default=t.exports,n(e,r,i,a)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),f=t(((e,t)=>{var n=d();function r(){var e,i,a=typeof Symbol==`function`?Symbol:{},o=a.iterator||`@@iterator`,s=a.toStringTag||`@@toStringTag`;function c(t,r,a,o){var s=r&&r.prototype instanceof u?r:u,c=Object.create(s.prototype);return n(c,`_invoke`,function(t,n,r){var a,o,s,c=0,u=r||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,o=0,s=e,f.n=n,l}};function p(t,n){for(o=t,s=n,i=0;!d&&c&&!r&&i<u.length;i++){var r,a=u[i],p=f.p,m=a[2];t>3?(r=m===n)&&(s=a[(o=a[4])?5:(o=3,3)],a[4]=a[5]=e):a[0]<=p&&((r=t<2&&p<a[1])?(o=0,f.v=n,f.n=a[1]):p<m&&(r=t<3||a[0]>n||n>m)&&(a[4]=t,a[5]=n,f.n=m,o=0))}if(r||t>1)return l;throw d=!0,n}return function(r,u,m){if(c>1)throw TypeError(`Generator is already running`);for(d&&u===1&&p(u,m),o=u,s=m;(i=o<2?e:s)||!d;){a||(o?o<3?(o>1&&(f.n=-1),p(o,s)):f.n=s:f.v=s);try{if(c=2,a){if(o||(r=`next`),i=a[r]){if(!(i=i.call(a,s)))throw TypeError(`iterator result is not an object`);if(!i.done)return i;s=i.value,o<2&&(o=0)}else o===1&&(i=a.return)&&i.call(a),o<2&&(s=TypeError(`The iterator does not provide a '`+r+`' method`),o=1);a=e}else if((i=(d=f.n<0)?s:t.call(n,f))!==l)break}catch(t){a=e,o=1,s=t}finally{c=1}}return{value:i,done:d}}}(t,a,o),!0),c}var l={};function u(){}function d(){}function f(){}i=Object.getPrototypeOf;var p=[][o]?i(i([][o]())):(n(i={},o,function(){return this}),i),m=f.prototype=u.prototype=Object.create(p);function h(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,n(e,s,`GeneratorFunction`)),e.prototype=Object.create(m),e}return d.prototype=f,n(m,`constructor`,f),n(f,`constructor`,d),d.displayName=`GeneratorFunction`,n(f,s,`GeneratorFunction`),n(m),n(m,s,`Generator`),n(m,o,function(){return this}),n(m,`toString`,function(){return`[object Generator]`}),(t.exports=r=function(){return{w:c,m:h}},t.exports.__esModule=!0,t.exports.default=t.exports)()}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports})),p=t(((e,t)=>{var n=u(),r=d();function i(e,t){function a(r,i,o,s){try{var c=e[r](i),l=c.value;return l instanceof n?t.resolve(l.v).then(function(e){a(`next`,e,o,s)},function(e){a(`throw`,e,o,s)}):t.resolve(l).then(function(e){c.value=e,o(c)},function(e){return a(`throw`,e,o,s)})}catch(e){s(e)}}var o;this.next||(r(i.prototype),r(i.prototype,typeof Symbol==`function`&&Symbol.asyncIterator||`@asyncIterator`,function(){return this})),r(this,`_invoke`,function(e,n,r){function i(){return new t(function(t,n){a(e,r,t,n)})}return o=o?o.then(i,i):i()},!0)}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports})),m=t(((e,t)=>{var n=f(),r=p();function i(e,t,i,a,o){return new r(n().w(e,t,i,a),o||Promise)}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports})),h=t(((e,t)=>{var n=m();function r(e,t,r,i,a){var o=n(e,t,r,i,a);return o.next().then(function(e){return e.done?e.value:o.next()})}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports})),g=t(((e,t)=>{function n(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),_=t(((e,t)=>{function n(e){"@babel/helpers - typeof";return t.exports=n=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),v=t(((e,t)=>{var n=_().default;function r(e){if(e!=null){var t=e[typeof Symbol==`function`&&Symbol.iterator||`@@iterator`],r=0;if(t)return t.call(e);if(typeof e.next==`function`)return e;if(!isNaN(e.length))return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}throw TypeError(n(e)+` is not iterable`)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports})),y=t(((e,t)=>{var n=u(),r=f(),i=h(),a=m(),o=p(),s=g(),c=v();function l(){var e=r(),u=e.m(l),d=(Object.getPrototypeOf?Object.getPrototypeOf(u):u.__proto__).constructor;function f(e){var t=typeof e==`function`&&e.constructor;return!!t&&(t===d||(t.displayName||t.name)===`GeneratorFunction`)}var p={throw:1,return:2,break:3,continue:3};function m(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,p[e],t)},delegateYield:function(e,i,a){return t.resultName=i,n(r.d,c(e),a)},finish:function(e){return n(r.f,e)}},n=function(e,n,i){r.p=t.prev,r.n=t.next;try{return e(n,i)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(t.exports=l=function(){return{wrap:function(t,n,r,i){return e.w(m(t),n,r,i&&i.reverse())},isGeneratorFunction:f,mark:e.m,awrap:function(e,t){return new n(e,t)},AsyncIterator:o,async:function(e,t,n,r,o){return(f(t)?a:i)(m(e),t,n,r,o)},keys:s,values:c}},t.exports.__esModule=!0,t.exports.default=t.exports)()}t.exports=l,t.exports.__esModule=!0,t.exports.default=t.exports})),b=t(((e,t)=>{var n=y()();t.exports=n;try{regeneratorRuntime=n}catch{typeof globalThis==`object`?globalThis.regeneratorRuntime=n:Function(`r`,`regeneratorRuntime = r`)(n)}})),x=t(((e,t)=>{function n(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,i)}function r(e){return function(){var t=this,r=arguments;return new Promise(function(i,a){var o=e.apply(t,r);function s(e){n(o,i,a,s,c,`next`,e)}function c(e){n(o,i,a,s,c,`throw`,e)}s(void 0)})}}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports})),S=t(((e,t)=>{function n(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),C=t(((e,t)=>{function n(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),w=t(((e,t)=>{var n=_().default,r=C();function i(e,t){if(t&&(n(t)==`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return r(e)}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports})),T=t(((e,t)=>{function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),E=t(((e,t)=>{function n(e,r){return t.exports=n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},t.exports.__esModule=!0,t.exports.default=t.exports,n(e,r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),D=t(((e,t)=>{var n=E();function r(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&n(e,t)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports})),O=t(((e,t)=>{function n(e){try{return Function.toString.call(e).indexOf(`[native code]`)!==-1}catch{return typeof e==`function`}}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),k=t(((e,t)=>{function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(t.exports=n=function(){return!!e},t.exports.__esModule=!0,t.exports.default=t.exports)()}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),A=t(((e,t)=>{var n=k(),r=E();function i(e,t,i){if(n())return Reflect.construct.apply(null,arguments);var a=[null];a.push.apply(a,t);var o=new(e.bind.apply(e,a));return i&&r(o,i.prototype),o}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports})),j=t(((e,t)=>{var n=T(),r=E(),i=O(),a=A();function o(e){var s=typeof Map==`function`?new Map:void 0;return t.exports=o=function(e){if(e===null||!i(e))return e;if(typeof e!=`function`)throw TypeError(`Super expression must either be null or a function`);if(s!==void 0){if(s.has(e))return s.get(e);s.set(e,t)}function t(){return a(e,arguments,n(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),r(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports,o(e)}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports})),M=t((e=>{let t=i().fromCallback,n=c(),r=`access.appendFile.chmod.chown.close.copyFile.fchmod.fchown.fdatasync.fstat.fsync.ftruncate.futimes.lchown.lchmod.link.lstat.mkdir.mkdtemp.open.readFile.readdir.readlink.realpath.rename.rmdir.stat.symlink.truncate.unlink.utimes.writeFile`.split(`.`).filter(e=>typeof n[e]==`function`);Object.keys(n).forEach(t=>{t!==`promises`&&(e[t]=n[t])}),r.forEach(r=>{e[r]=t(n[r])}),e.exists=function(e,t){return typeof t==`function`?n.exists(e,t):new Promise(t=>n.exists(e,t))},e.read=function(e,t,r,i,a,o){return typeof o==`function`?n.read(e,t,r,i,a,o):new Promise((o,s)=>{n.read(e,t,r,i,a,(e,t,n)=>{if(e)return s(e);o({bytesRead:t,buffer:n})})})},e.write=function(e,t,...r){return typeof r[r.length-1]==`function`?n.write(e,t,...r):new Promise((i,a)=>{n.write(e,t,...r,(e,t,n)=>{if(e)return a(e);i({bytesWritten:t,buffer:n})})})},typeof n.realpath.native==`function`&&(e.realpath.native=t(n.realpath.native))})),N=t(((t,n)=>{let r=e(`path`);function i(e){return e=r.normalize(r.resolve(e)).split(r.sep),e.length>0?e[0]:null}let a=/[<>:"|?*]/;function o(e){let t=i(e);return e=e.replace(t,``),a.test(e)}n.exports={getRootPath:i,invalidWin32Path:o}})),P=t(((t,n)=>{let r=c(),i=e(`path`),a=N().invalidWin32Path;function o(e,t,n,s){if(typeof t==`function`?(n=t,t={}):(!t||typeof t!=`object`)&&(t={mode:t}),process.platform===`win32`&&a(e)){let t=Error(e+` contains invalid WIN32 path characters.`);return t.code=`EINVAL`,n(t)}let c=t.mode,l=t.fs||r;c===void 0&&(c=511&~process.umask()),s||=null,n||=function(){},e=i.resolve(e),l.mkdir(e,c,r=>{if(!r)return s||=e,n(null,s);switch(r.code){case`ENOENT`:if(i.dirname(e)===e)return n(r);o(i.dirname(e),t,(r,i)=>{r?n(r,i):o(e,t,n,i)});break;default:l.stat(e,(e,t)=>{e||!t.isDirectory()?n(r,s):n(null,s)});break}})}n.exports=o})),F=t(((t,n)=>{let r=c(),i=e(`path`),a=N().invalidWin32Path;function o(e,t,n){(!t||typeof t!=`object`)&&(t={mode:t});let s=t.mode,c=t.fs||r;if(process.platform===`win32`&&a(e)){let t=Error(e+` contains invalid WIN32 path characters.`);throw t.code=`EINVAL`,t}s===void 0&&(s=511&~process.umask()),n||=null,e=i.resolve(e);try{c.mkdirSync(e,s),n||=e}catch(r){if(r.code===`ENOENT`){if(i.dirname(e)===e)throw r;n=o(i.dirname(e),t,n),o(e,t,n)}else{let t;try{t=c.statSync(e)}catch{throw r}if(!t.isDirectory())throw r}}return n}n.exports=o})),I=t(((e,t)=>{let n=i().fromCallback,r=n(P()),a=F();t.exports={mkdirs:r,mkdirsSync:a,mkdirp:r,mkdirpSync:a,ensureDir:r,ensureDirSync:a}})),L=t(((t,n)=>{let r=c(),i=e(`os`),a=e(`path`);function o(){let e=a.join(`millis-test-sync`+Date.now().toString()+Math.random().toString().slice(2));e=a.join(i.tmpdir(),e);let t=new Date(1435410243862);r.writeFileSync(e,`https://github.com/jprichardson/node-fs-extra/pull/141`);let n=r.openSync(e,`r+`);return r.futimesSync(n,t,t),r.closeSync(n),r.statSync(e).mtime>1435410243e3}function s(e){let t=a.join(`millis-test`+Date.now().toString()+Math.random().toString().slice(2));t=a.join(i.tmpdir(),t);let n=new Date(1435410243862);r.writeFile(t,`https://github.com/jprichardson/node-fs-extra/pull/141`,i=>{if(i)return e(i);r.open(t,`r+`,(i,a)=>{if(i)return e(i);r.futimes(a,n,n,n=>{if(n)return e(n);r.close(a,n=>{if(n)return e(n);r.stat(t,(t,n)=>{if(t)return e(t);e(null,n.mtime>1435410243e3)})})})})})}function l(e){if(typeof e==`number`)return Math.floor(e/1e3)*1e3;if(e instanceof Date)return new Date(Math.floor(e.getTime()/1e3)*1e3);throw Error(`fs-extra: timeRemoveMillis() unknown parameter type`)}function u(e,t,n,i){r.open(e,`r+`,(e,a)=>{if(e)return i(e);r.futimes(a,t,n,e=>{r.close(a,t=>{i&&i(e||t)})})})}function d(e,t,n){let i=r.openSync(e,`r+`);return r.futimesSync(i,t,n),r.closeSync(i)}n.exports={hasMillisRes:s,hasMillisResSync:o,timeRemoveMillis:l,utimesMillis:u,utimesMillisSync:d}})),R=t(((t,n)=>{let r=c(),i=e(`path`),a=process.versions.node.split(`.`),o=Number.parseInt(a[0],10),s=Number.parseInt(a[1],10),l=Number.parseInt(a[2],10);function u(){return o>10||o===10&&(s>5||s===5&&l>=0)}function d(e,t,n){u()?r.stat(e,{bigint:!0},(e,i)=>{if(e)return n(e);r.stat(t,{bigint:!0},(e,t)=>e?e.code===`ENOENT`?n(null,{srcStat:i,destStat:null}):n(e):n(null,{srcStat:i,destStat:t}))}):r.stat(e,(e,i)=>{if(e)return n(e);r.stat(t,(e,t)=>e?e.code===`ENOENT`?n(null,{srcStat:i,destStat:null}):n(e):n(null,{srcStat:i,destStat:t}))})}function f(e,t){let n,i;n=u()?r.statSync(e,{bigint:!0}):r.statSync(e);try{i=u()?r.statSync(t,{bigint:!0}):r.statSync(t)}catch(e){if(e.code===`ENOENT`)return{srcStat:n,destStat:null};throw e}return{srcStat:n,destStat:i}}function p(e,t,n,r){d(e,t,(i,a)=>{if(i)return r(i);let{srcStat:o,destStat:s}=a;return s&&s.ino&&s.dev&&s.ino===o.ino&&s.dev===o.dev?r(Error(`Source and destination must not be the same.`)):o.isDirectory()&&_(e,t)?r(Error(v(e,t,n))):r(null,{srcStat:o,destStat:s})})}function m(e,t,n){let{srcStat:r,destStat:i}=f(e,t);if(i&&i.ino&&i.dev&&i.ino===r.ino&&i.dev===r.dev)throw Error(`Source and destination must not be the same.`);if(r.isDirectory()&&_(e,t))throw Error(v(e,t,n));return{srcStat:r,destStat:i}}function h(e,t,n,a,o){let s=i.resolve(i.dirname(e)),c=i.resolve(i.dirname(n));if(c===s||c===i.parse(c).root)return o();u()?r.stat(c,{bigint:!0},(r,i)=>r?r.code===`ENOENT`?o():o(r):i.ino&&i.dev&&i.ino===t.ino&&i.dev===t.dev?o(Error(v(e,n,a))):h(e,t,c,a,o)):r.stat(c,(r,i)=>r?r.code===`ENOENT`?o():o(r):i.ino&&i.dev&&i.ino===t.ino&&i.dev===t.dev?o(Error(v(e,n,a))):h(e,t,c,a,o))}function g(e,t,n,a){let o=i.resolve(i.dirname(e)),s=i.resolve(i.dirname(n));if(s===o||s===i.parse(s).root)return;let c;try{c=u()?r.statSync(s,{bigint:!0}):r.statSync(s)}catch(e){if(e.code===`ENOENT`)return;throw e}if(c.ino&&c.dev&&c.ino===t.ino&&c.dev===t.dev)throw Error(v(e,n,a));return g(e,t,s,a)}function _(e,t){let n=i.resolve(e).split(i.sep).filter(e=>e),r=i.resolve(t).split(i.sep).filter(e=>e);return n.reduce((e,t,n)=>e&&r[n]===t,!0)}function v(e,t,n){return`Cannot ${n} '${e}' to a subdirectory of itself, '${t}'.`}n.exports={checkPaths:p,checkPathsSync:m,checkParentPaths:h,checkParentPathsSync:g,isSrcSubdir:_}})),z=t(((e,t)=>{t.exports=function(e){if(typeof Buffer.allocUnsafe==`function`)try{return Buffer.allocUnsafe(e)}catch{return new Buffer(e)}return new Buffer(e)}})),B=t(((t,n)=>{let r=c(),i=e(`path`),a=I().mkdirsSync,o=L().utimesMillisSync,s=R();function l(e,t,n){typeof n==`function`&&(n={filter:n}),n||={},n.clobber=`clobber`in n?!!n.clobber:!0,n.overwrite=`overwrite`in n?!!n.overwrite:n.clobber,n.preserveTimestamps&&process.arch===`ia32`&&console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;
see https://github.com/jprichardson/node-fs-extra/issues/269`);let{srcStat:r,destStat:i}=s.checkPathsSync(e,t,`copy`);return s.checkParentPathsSync(e,r,t,`copy`),u(i,e,t,n)}function u(e,t,n,o){if(o.filter&&!o.filter(t,n))return;let s=i.dirname(n);return r.existsSync(s)||a(s),d(e,t,n,o)}function d(e,t,n,r){if(!(r.filter&&!r.filter(t,n)))return f(e,t,n,r)}function f(e,t,n,i){let a=(i.dereference?r.statSync:r.lstatSync)(t);if(a.isDirectory())return _(a,e,t,n,i);if(a.isFile()||a.isCharacterDevice()||a.isBlockDevice())return p(a,e,t,n,i);if(a.isSymbolicLink())return x(e,t,n,i)}function p(e,t,n,r,i){return t?m(e,n,r,i):h(e,n,r,i)}function m(e,t,n,i){if(i.overwrite)return r.unlinkSync(n),h(e,t,n,i);if(i.errorOnExist)throw Error(`'${n}' already exists`)}function h(e,t,n,i){return typeof r.copyFileSync==`function`?(r.copyFileSync(t,n),r.chmodSync(n,e.mode),i.preserveTimestamps?o(n,e.atime,e.mtime):void 0):g(e,t,n,i)}function g(e,t,n,i){let a=64*1024,o=z()(a),s=r.openSync(t,`r`),c=r.openSync(n,`w`,e.mode),l=0;for(;l<e.size;){let e=r.readSync(s,o,0,a,l);r.writeSync(c,o,0,e),l+=e}i.preserveTimestamps&&r.futimesSync(c,e.atime,e.mtime),r.closeSync(s),r.closeSync(c)}function _(e,t,n,r,i){if(!t)return v(e,n,r,i);if(t&&!t.isDirectory())throw Error(`Cannot overwrite non-directory '${r}' with directory '${n}'.`);return y(n,r,i)}function v(e,t,n,i){return r.mkdirSync(n),y(t,n,i),r.chmodSync(n,e.mode)}function y(e,t,n){r.readdirSync(e).forEach(r=>b(r,e,t,n))}function b(e,t,n,r){let a=i.join(t,e),o=i.join(n,e),{destStat:c}=s.checkPathsSync(a,o,`copy`);return d(c,a,o,r)}function x(e,t,n,a){let o=r.readlinkSync(t);if(a.dereference&&(o=i.resolve(process.cwd(),o)),e){let e;try{e=r.readlinkSync(n)}catch(e){if(e.code===`EINVAL`||e.code===`UNKNOWN`)return r.symlinkSync(o,n);throw e}if(a.dereference&&(e=i.resolve(process.cwd(),e)),s.isSrcSubdir(o,e))throw Error(`Cannot copy '${o}' to a subdirectory of itself, '${e}'.`);if(r.statSync(n).isDirectory()&&s.isSrcSubdir(e,o))throw Error(`Cannot overwrite '${e}' with '${o}'.`);return S(o,n)}else return r.symlinkSync(o,n)}function S(e,t){return r.unlinkSync(t),r.symlinkSync(e,t)}n.exports=l})),V=t(((e,t)=>{t.exports={copySync:B()}})),H=t(((e,t)=>{let n=i().fromPromise,r=M();function a(e){return r.access(e).then(()=>!0).catch(()=>!1)}t.exports={pathExists:n(a),pathExistsSync:r.existsSync}})),U=t(((t,n)=>{let r=c(),i=e(`path`),a=I().mkdirs,o=H().pathExists,s=L().utimesMillis,l=R();function u(e,t,n,r){typeof n==`function`&&!r?(r=n,n={}):typeof n==`function`&&(n={filter:n}),r||=function(){},n||={},n.clobber=`clobber`in n?!!n.clobber:!0,n.overwrite=`overwrite`in n?!!n.overwrite:n.clobber,n.preserveTimestamps&&process.arch===`ia32`&&console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;
see https://github.com/jprichardson/node-fs-extra/issues/269`),l.checkPaths(e,t,`copy`,(i,a)=>{if(i)return r(i);let{srcStat:o,destStat:s}=a;l.checkParentPaths(e,o,t,`copy`,i=>i?r(i):n.filter?f(d,s,e,t,n,r):d(s,e,t,n,r))})}function d(e,t,n,r,s){let c=i.dirname(n);o(c,(i,o)=>{if(i)return s(i);if(o)return p(e,t,n,r,s);a(c,i=>i?s(i):p(e,t,n,r,s))})}function f(e,t,n,r,i,a){Promise.resolve(i.filter(n,r)).then(o=>o?e(t,n,r,i,a):a(),e=>a(e))}function p(e,t,n,r,i){return r.filter?f(m,e,t,n,r,i):m(e,t,n,r,i)}function m(e,t,n,i,a){(i.dereference?r.stat:r.lstat)(t,(r,o)=>{if(r)return a(r);if(o.isDirectory())return b(o,e,t,n,i,a);if(o.isFile()||o.isCharacterDevice()||o.isBlockDevice())return h(o,e,t,n,i,a);if(o.isSymbolicLink())return T(e,t,n,i,a)})}function h(e,t,n,r,i,a){return t?g(e,n,r,i,a):_(e,n,r,i,a)}function g(e,t,n,i,a){if(i.overwrite)r.unlink(n,r=>r?a(r):_(e,t,n,i,a));else if(i.errorOnExist)return a(Error(`'${n}' already exists`));else return a()}function _(e,t,n,i,a){return typeof r.copyFile==`function`?r.copyFile(t,n,t=>t?a(t):y(e,n,i,a)):v(e,t,n,i,a)}function v(e,t,n,i,a){let o=r.createReadStream(t);o.on(`error`,e=>a(e)).once(`open`,()=>{let t=r.createWriteStream(n,{mode:e.mode});t.on(`error`,e=>a(e)).on(`open`,()=>o.pipe(t)).once(`close`,()=>y(e,n,i,a))})}function y(e,t,n,i){r.chmod(t,e.mode,r=>r?i(r):n.preserveTimestamps?s(t,e.atime,e.mtime,i):i())}function b(e,t,n,r,i,a){return t?t&&!t.isDirectory()?a(Error(`Cannot overwrite non-directory '${r}' with directory '${n}'.`)):S(n,r,i,a):x(e,n,r,i,a)}function x(e,t,n,i,a){r.mkdir(n,o=>{if(o)return a(o);S(t,n,i,t=>t?a(t):r.chmod(n,e.mode,a))})}function S(e,t,n,i){r.readdir(e,(r,a)=>r?i(r):C(a,e,t,n,i))}function C(e,t,n,r,i){let a=e.pop();return a?w(e,a,t,n,r,i):i()}function w(e,t,n,r,a,o){let s=i.join(n,t),c=i.join(r,t);l.checkPaths(s,c,`copy`,(t,i)=>{if(t)return o(t);let{destStat:l}=i;p(l,s,c,a,t=>t?o(t):C(e,n,r,a,o))})}function T(e,t,n,a,o){r.readlink(t,(t,s)=>{if(t)return o(t);if(a.dereference&&(s=i.resolve(process.cwd(),s)),e)r.readlink(n,(t,c)=>t?t.code===`EINVAL`||t.code===`UNKNOWN`?r.symlink(s,n,o):o(t):(a.dereference&&(c=i.resolve(process.cwd(),c)),l.isSrcSubdir(s,c)?o(Error(`Cannot copy '${s}' to a subdirectory of itself, '${c}'.`)):e.isDirectory()&&l.isSrcSubdir(c,s)?o(Error(`Cannot overwrite '${c}' with '${s}'.`)):E(s,n,o)));else return r.symlink(s,n,o)})}function E(e,t,n){r.unlink(t,i=>i?n(i):r.symlink(e,t,n))}n.exports=u})),W=t(((e,t)=>{let n=i().fromCallback;t.exports={copy:n(U())}})),G=t(((t,n)=>{let r=c(),i=e(`path`),a=e(`assert`),o=process.platform===`win32`;function s(e){[`unlink`,`chmod`,`stat`,`lstat`,`rmdir`,`readdir`].forEach(t=>{e[t]=e[t]||r[t],t+=`Sync`,e[t]=e[t]||r[t]}),e.maxBusyTries=e.maxBusyTries||3}function l(e,t,n){let r=0;typeof t==`function`&&(n=t,t={}),a(e,`rimraf: missing path`),a.strictEqual(typeof e,`string`,`rimraf: path should be a string`),a.strictEqual(typeof n,`function`,`rimraf: callback function required`),a(t,`rimraf: invalid options argument provided`),a.strictEqual(typeof t,`object`,`rimraf: options should be object`),s(t),u(e,t,function i(a){if(a){if((a.code===`EBUSY`||a.code===`ENOTEMPTY`||a.code===`EPERM`)&&r<t.maxBusyTries){r++;let n=r*100;return setTimeout(()=>u(e,t,i),n)}a.code===`ENOENT`&&(a=null)}n(a)})}function u(e,t,n){a(e),a(t),a(typeof n==`function`),t.lstat(e,(r,i)=>{if(r&&r.code===`ENOENT`)return n(null);if(r&&r.code===`EPERM`&&o)return d(e,t,r,n);if(i&&i.isDirectory())return p(e,t,r,n);t.unlink(e,r=>{if(r){if(r.code===`ENOENT`)return n(null);if(r.code===`EPERM`)return o?d(e,t,r,n):p(e,t,r,n);if(r.code===`EISDIR`)return p(e,t,r,n)}return n(r)})})}function d(e,t,n,r){a(e),a(t),a(typeof r==`function`),n&&a(n instanceof Error),t.chmod(e,438,i=>{i?r(i.code===`ENOENT`?null:n):t.stat(e,(i,a)=>{i?r(i.code===`ENOENT`?null:n):a.isDirectory()?p(e,t,n,r):t.unlink(e,r)})})}function f(e,t,n){let r;a(e),a(t),n&&a(n instanceof Error);try{t.chmodSync(e,438)}catch(e){if(e.code===`ENOENT`)return;throw n}try{r=t.statSync(e)}catch(e){if(e.code===`ENOENT`)return;throw n}r.isDirectory()?g(e,t,n):t.unlinkSync(e)}function p(e,t,n,r){a(e),a(t),n&&a(n instanceof Error),a(typeof r==`function`),t.rmdir(e,i=>{i&&(i.code===`ENOTEMPTY`||i.code===`EEXIST`||i.code===`EPERM`)?m(e,t,r):i&&i.code===`ENOTDIR`?r(n):r(i)})}function m(e,t,n){a(e),a(t),a(typeof n==`function`),t.readdir(e,(r,a)=>{if(r)return n(r);let o=a.length,s;if(o===0)return t.rmdir(e,n);a.forEach(r=>{l(i.join(e,r),t,r=>{if(!s){if(r)return n(s=r);--o===0&&t.rmdir(e,n)}})})})}function h(e,t){let n;t||={},s(t),a(e,`rimraf: missing path`),a.strictEqual(typeof e,`string`,`rimraf: path should be a string`),a(t,`rimraf: missing options`),a.strictEqual(typeof t,`object`,`rimraf: options should be object`);try{n=t.lstatSync(e)}catch(n){if(n.code===`ENOENT`)return;n.code===`EPERM`&&o&&f(e,t,n)}try{n&&n.isDirectory()?g(e,t,null):t.unlinkSync(e)}catch(n){if(n.code===`ENOENT`)return;if(n.code===`EPERM`)return o?f(e,t,n):g(e,t,n);if(n.code!==`EISDIR`)throw n;g(e,t,n)}}function g(e,t,n){a(e),a(t),n&&a(n instanceof Error);try{t.rmdirSync(e)}catch(r){if(r.code===`ENOTDIR`)throw n;if(r.code===`ENOTEMPTY`||r.code===`EEXIST`||r.code===`EPERM`)_(e,t);else if(r.code!==`ENOENT`)throw r}}function _(e,t){if(a(e),a(t),t.readdirSync(e).forEach(n=>h(i.join(e,n),t)),o){let n=Date.now();do try{return t.rmdirSync(e,t)}catch{}while(Date.now()-n<500)}else return t.rmdirSync(e,t)}n.exports=l,l.sync=h})),K=t(((e,t)=>{let n=i().fromCallback,r=G();t.exports={remove:n(r),removeSync:r.sync}})),q=t(((t,n)=>{let r=i().fromCallback,a=c(),o=e(`path`),s=I(),l=K(),u=r(function(e,t){t||=function(){},a.readdir(e,(n,r)=>{if(n)return s.mkdirs(e,t);r=r.map(t=>o.join(e,t)),i();function i(){let e=r.pop();if(!e)return t();l.remove(e,e=>{if(e)return t(e);i()})}})});function d(e){let t;try{t=a.readdirSync(e)}catch{return s.mkdirsSync(e)}t.forEach(t=>{t=o.join(e,t),l.removeSync(t)})}n.exports={emptyDirSync:d,emptydirSync:d,emptyDir:u,emptydir:u}})),J=t(((t,n)=>{let r=i().fromCallback,a=e(`path`),o=c(),s=I(),l=H().pathExists;function u(e,t){function n(){o.writeFile(e,``,e=>{if(e)return t(e);t()})}o.stat(e,(r,i)=>{if(!r&&i.isFile())return t();let o=a.dirname(e);l(o,(e,r)=>{if(e)return t(e);if(r)return n();s.mkdirs(o,e=>{if(e)return t(e);n()})})})}function d(e){let t;try{t=o.statSync(e)}catch{}if(t&&t.isFile())return;let n=a.dirname(e);o.existsSync(n)||s.mkdirsSync(n),o.writeFileSync(e,``)}n.exports={createFile:r(u),createFileSync:d}})),Y=t(((t,n)=>{let r=i().fromCallback,a=e(`path`),o=c(),s=I(),l=H().pathExists;function u(e,t,n){function r(e,t){o.link(e,t,e=>{if(e)return n(e);n(null)})}l(t,(i,c)=>{if(i)return n(i);if(c)return n(null);o.lstat(e,i=>{if(i)return i.message=i.message.replace(`lstat`,`ensureLink`),n(i);let o=a.dirname(t);l(o,(i,a)=>{if(i)return n(i);if(a)return r(e,t);s.mkdirs(o,i=>{if(i)return n(i);r(e,t)})})})})}function d(e,t){if(o.existsSync(t))return;try{o.lstatSync(e)}catch(e){throw e.message=e.message.replace(`lstat`,`ensureLink`),e}let n=a.dirname(t);return o.existsSync(n)||s.mkdirsSync(n),o.linkSync(e,t)}n.exports={createLink:r(u),createLinkSync:d}})),X=t(((t,n)=>{let r=e(`path`),i=c(),a=H().pathExists;function o(e,t,n){if(r.isAbsolute(e))return i.lstat(e,t=>t?(t.message=t.message.replace(`lstat`,`ensureSymlink`),n(t)):n(null,{toCwd:e,toDst:e}));{let o=r.dirname(t),s=r.join(o,e);return a(s,(t,a)=>t?n(t):a?n(null,{toCwd:s,toDst:e}):i.lstat(e,t=>t?(t.message=t.message.replace(`lstat`,`ensureSymlink`),n(t)):n(null,{toCwd:e,toDst:r.relative(o,e)})))}}function s(e,t){let n;if(r.isAbsolute(e)){if(n=i.existsSync(e),!n)throw Error(`absolute srcpath does not exist`);return{toCwd:e,toDst:e}}else{let a=r.dirname(t),o=r.join(a,e);if(n=i.existsSync(o),n)return{toCwd:o,toDst:e};if(n=i.existsSync(e),!n)throw Error(`relative srcpath does not exist`);return{toCwd:e,toDst:r.relative(a,e)}}}n.exports={symlinkPaths:o,symlinkPathsSync:s}})),ee=t(((e,t)=>{let n=c();function r(e,t,r){if(r=typeof t==`function`?t:r,t=typeof t==`function`?!1:t,t)return r(null,t);n.lstat(e,(e,n)=>{if(e)return r(null,`file`);t=n&&n.isDirectory()?`dir`:`file`,r(null,t)})}function i(e,t){let r;if(t)return t;try{r=n.lstatSync(e)}catch{return`file`}return r&&r.isDirectory()?`dir`:`file`}t.exports={symlinkType:r,symlinkTypeSync:i}})),te=t(((t,n)=>{let r=i().fromCallback,a=e(`path`),o=c(),s=I(),l=s.mkdirs,u=s.mkdirsSync,d=X(),f=d.symlinkPaths,p=d.symlinkPathsSync,m=ee(),h=m.symlinkType,g=m.symlinkTypeSync,_=H().pathExists;function v(e,t,n,r){r=typeof n==`function`?n:r,n=typeof n==`function`?!1:n,_(t,(i,s)=>{if(i)return r(i);if(s)return r(null);f(e,t,(i,s)=>{if(i)return r(i);e=s.toDst,h(s.toCwd,n,(n,i)=>{if(n)return r(n);let s=a.dirname(t);_(s,(n,a)=>{if(n)return r(n);if(a)return o.symlink(e,t,i,r);l(s,n=>{if(n)return r(n);o.symlink(e,t,i,r)})})})})})}function y(e,t,n){if(o.existsSync(t))return;let r=p(e,t);e=r.toDst,n=g(r.toCwd,n);let i=a.dirname(t);return o.existsSync(i)||u(i),o.symlinkSync(e,t,n)}n.exports={createSymlink:r(v),createSymlinkSync:y}})),Z=t(((e,t)=>{let n=J(),r=Y(),i=te();t.exports={createFile:n.createFile,createFileSync:n.createFileSync,ensureFile:n.createFile,ensureFileSync:n.createFileSync,createLink:r.createLink,createLinkSync:r.createLinkSync,ensureLink:r.createLink,ensureLinkSync:r.createLinkSync,createSymlink:i.createSymlink,createSymlinkSync:i.createSymlinkSync,ensureSymlink:i.createSymlink,ensureSymlinkSync:i.createSymlinkSync}})),ne=t(((e,t)=>{let n=i().fromCallback,r=l();t.exports={readJson:n(r.readFile),readJsonSync:r.readFileSync,writeJson:n(r.writeFile),writeJsonSync:r.writeFileSync}})),re=t(((t,n)=>{let r=e(`path`),i=I(),a=H().pathExists,o=ne();function s(e,t,n,s){typeof n==`function`&&(s=n,n={});let c=r.dirname(e);a(c,(r,a)=>{if(r)return s(r);if(a)return o.writeJson(e,t,n,s);i.mkdirs(c,r=>{if(r)return s(r);o.writeJson(e,t,n,s)})})}n.exports=s})),ie=t(((t,n)=>{let r=c(),i=e(`path`),a=I(),o=ne();function s(e,t,n){let s=i.dirname(e);r.existsSync(s)||a.mkdirsSync(s),o.writeJsonSync(e,t,n)}n.exports=s})),ae=t(((e,t)=>{let n=i().fromCallback,r=ne();r.outputJson=n(re()),r.outputJsonSync=ie(),r.outputJSON=r.outputJson,r.outputJSONSync=r.outputJsonSync,r.writeJSON=r.writeJson,r.writeJSONSync=r.writeJsonSync,r.readJSON=r.readJson,r.readJSONSync=r.readJsonSync,t.exports=r})),oe=t(((t,n)=>{let r=c(),i=e(`path`),a=V().copySync,o=K().removeSync,s=I().mkdirpSync,l=R();function u(e,t,n){n||={};let r=n.overwrite||n.clobber||!1,{srcStat:a}=l.checkPathsSync(e,t,`move`);return l.checkParentPathsSync(e,a,t,`move`),s(i.dirname(t)),d(e,t,r)}function d(e,t,n){if(n)return o(t),f(e,t,n);if(r.existsSync(t))throw Error(`dest already exists.`);return f(e,t,n)}function f(e,t,n){try{r.renameSync(e,t)}catch(r){if(r.code!==`EXDEV`)throw r;return p(e,t,n)}}function p(e,t,n){return a(e,t,{overwrite:n,errorOnExist:!0}),o(e)}n.exports=u})),se=t(((e,t)=>{t.exports={moveSync:oe()}})),ce=t(((t,n)=>{let r=c(),i=e(`path`),a=W().copy,o=K().remove,s=I().mkdirp,l=H().pathExists,u=R();function d(e,t,n,r){typeof n==`function`&&(r=n,n={});let a=n.overwrite||n.clobber||!1;u.checkPaths(e,t,`move`,(n,o)=>{if(n)return r(n);let{srcStat:c}=o;u.checkParentPaths(e,c,t,`move`,n=>{if(n)return r(n);s(i.dirname(t),n=>n?r(n):f(e,t,a,r))})})}function f(e,t,n,r){if(n)return o(t,i=>i?r(i):p(e,t,n,r));l(t,(i,a)=>i?r(i):a?r(Error(`dest already exists.`)):p(e,t,n,r))}function p(e,t,n,i){r.rename(e,t,r=>r?r.code===`EXDEV`?m(e,t,n,i):i(r):i())}function m(e,t,n,r){a(e,t,{overwrite:n,errorOnExist:!0},t=>t?r(t):o(e,r))}n.exports=d})),le=t(((e,t)=>{let n=i().fromCallback;t.exports={move:n(ce())}})),ue=t(((t,n)=>{let r=i().fromCallback,a=c(),o=e(`path`),s=I(),l=H().pathExists;function u(e,t,n,r){typeof n==`function`&&(r=n,n=`utf8`);let i=o.dirname(e);l(i,(o,c)=>{if(o)return r(o);if(c)return a.writeFile(e,t,n,r);s.mkdirs(i,i=>{if(i)return r(i);a.writeFile(e,t,n,r)})})}function d(e,...t){let n=o.dirname(e);if(a.existsSync(n))return a.writeFileSync(e,...t);s.mkdirsSync(n),a.writeFileSync(e,...t)}n.exports={outputFile:r(u),outputFileSync:d}})),Q=t(((t,n)=>{n.exports=Object.assign({},M(),V(),W(),q(),Z(),ae(),I(),se(),le(),ue(),H(),K());let r=e(`fs`);Object.getOwnPropertyDescriptor(r,`promises`)&&Object.defineProperty(n.exports,`promises`,{get(){return r.promises}})})),de=t(((e,t)=>{t.exports=(...e)=>[...new Set([].concat(...e))]})),fe=t(((t,n)=>{let r=e(`stream`).PassThrough,i=Array.prototype.slice;n.exports=a;function a(){let e=[],t=i.call(arguments),n=!1,a=t[t.length-1];a&&!Array.isArray(a)&&a.pipe==null?t.pop():a={};let s=a.end!==!1,c=a.pipeError===!0;a.objectMode??=!0,a.highWaterMark??=64*1024;let l=r(a);function u(){for(let t=0,n=arguments.length;t<n;t++)e.push(o(arguments[t],a));return d(),this}function d(){if(n)return;n=!0;let t=e.shift();if(!t){process.nextTick(f);return}Array.isArray(t)||(t=[t]);let r=t.length+1;function i(){--r>0||(n=!1,d())}function a(e){function t(){e.removeListener(`merge2UnpipeEnd`,t),e.removeListener(`end`,t),c&&e.removeListener(`error`,n),i()}function n(e){l.emit(`error`,e)}if(e._readableState.endEmitted)return i();e.on(`merge2UnpipeEnd`,t),e.on(`end`,t),c&&e.on(`error`,n),e.pipe(l,{end:!1}),e.resume()}for(let e=0;e<t.length;e++)a(t[e]);i()}function f(){n=!1,l.emit(`queueDrain`),s&&l.end()}return l.setMaxListeners(0),l.add=u,l.on(`unpipe`,function(e){e.emit(`merge2UnpipeEnd`)}),t.length&&u.apply(null,t),l}function o(e,t){if(Array.isArray(e))for(let n=0,r=e.length;n<r;n++)e[n]=o(e[n],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(r(t))),!e._readableState||!e.pause||!e.pipe)throw Error(`Only readable stream can be merged.`);e.pause()}return e}})),pe=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.splitWhen=e.flatten=void 0;function t(e){return e.reduce((e,t)=>[].concat(e,t),[])}e.flatten=t;function n(e,t){let n=[[]],r=0;for(let i of e)t(i)?(r++,n[r]=[]):n[r].push(i);return n}e.splitWhen=n})),me=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.isEnoentCodeError=void 0;function t(e){return e.code===`ENOENT`}e.isEnoentCodeError=t})),he=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.createDirentFromStats=void 0;var t=class{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}};function n(e,n){return new t(e,n)}e.createDirentFromStats=n})),ge=t((t=>{Object.defineProperty(t,`__esModule`,{value:!0}),t.convertPosixPathToPattern=t.convertWindowsPathToPattern=t.convertPathToPattern=t.escapePosixPath=t.escapeWindowsPath=t.escape=t.removeLeadingDotSegment=t.makeAbsolute=t.unixify=void 0;let n=e(`os`),r=e(`path`),i=n.platform()===`win32`,a=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,o=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,s=/^\\\\([.?])/,c=/\\(?![!()+@[\]{}])/g;function l(e){return e.replace(/\\/g,`/`)}t.unixify=l;function u(e,t){return r.resolve(e,t)}t.makeAbsolute=u;function d(e){if(e.charAt(0)===`.`){let t=e.charAt(1);if(t===`/`||t===`\\`)return e.slice(2)}return e}t.removeLeadingDotSegment=d,t.escape=i?f:p;function f(e){return e.replace(o,`\\$2`)}t.escapeWindowsPath=f;function p(e){return e.replace(a,`\\$2`)}t.escapePosixPath=p,t.convertPathToPattern=i?m:h;function m(e){return f(e).replace(s,`//$1`).replace(c,`/`)}t.convertWindowsPathToPattern=m;function h(e){return p(e)}t.convertPosixPathToPattern=h})),_e=t(((e,t)=>{t.exports=function(e){if(typeof e!=`string`||e===``)return!1;for(var t;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1}})),ve=t(((e,t)=>{var n=_e(),r={"{":`}`,"(":`)`,"[":`]`},i=function(e){if(e[0]===`!`)return!0;for(var t=0,n=-2,i=-2,a=-2,o=-2,s=-2;t<e.length;){if(e[t]===`*`||e[t+1]===`?`&&/[\].+)]/.test(e[t])||i!==-1&&e[t]===`[`&&e[t+1]!==`]`&&(i<t&&(i=e.indexOf(`]`,t)),i>t&&(s===-1||s>i||(s=e.indexOf(`\\`,t),s===-1||s>i)))||a!==-1&&e[t]===`{`&&e[t+1]!==`}`&&(a=e.indexOf(`}`,t),a>t&&(s=e.indexOf(`\\`,t),s===-1||s>a))||o!==-1&&e[t]===`(`&&e[t+1]===`?`&&/[:!=]/.test(e[t+2])&&e[t+3]!==`)`&&(o=e.indexOf(`)`,t),o>t&&(s=e.indexOf(`\\`,t),s===-1||s>o))||n!==-1&&e[t]===`(`&&e[t+1]!==`|`&&(n<t&&(n=e.indexOf(`|`,t)),n!==-1&&e[n+1]!==`)`&&(o=e.indexOf(`)`,n),o>n&&(s=e.indexOf(`\\`,n),s===-1||s>o))))return!0;if(e[t]===`\\`){var c=e[t+1];t+=2;var l=r[c];if(l){var u=e.indexOf(l,t);u!==-1&&(t=u+1)}if(e[t]===`!`)return!0}else t++}return!1},a=function(e){if(e[0]===`!`)return!0;for(var t=0;t<e.length;){if(/[*?{}()[\]]/.test(e[t]))return!0;if(e[t]===`\\`){var n=e[t+1];t+=2;var i=r[n];if(i){var a=e.indexOf(i,t);a!==-1&&(t=a+1)}if(e[t]===`!`)return!0}else t++}return!1};t.exports=function(e,t){if(typeof e!=`string`||e===``)return!1;if(n(e))return!0;var r=i;return t&&t.strict===!1&&(r=a),r(e)}})),ye=t(((t,n)=>{var r=ve(),i=e(`path`).posix.dirname,a=e(`os`).platform()===`win32`,o=`/`,s=/\\/g,c=/[\{\[].*[\}\]]$/,l=/(^|[^\\])([\{\[]|\([^\)]+$)/,u=/\\([\!\*\?\|\[\]\(\)\{\}])/g;n.exports=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&a&&e.indexOf(o)<0&&(e=e.replace(s,o)),c.test(e)&&(e+=o),e+=`a`;do e=i(e);while(r(e)||l.test(e));return e.replace(u,`$1`)}})),be=t((e=>{e.isInteger=e=>typeof e==`number`?Number.isInteger(e):typeof e==`string`&&e.trim()!==``?Number.isInteger(Number(e)):!1,e.find=(e,t)=>e.nodes.find(e=>e.type===t),e.exceedsLimit=(t,n,r=1,i)=>i===!1||!e.isInteger(t)||!e.isInteger(n)?!1:(Number(n)-Number(t))/Number(r)>=i,e.escapeNode=(e,t=0,n)=>{let r=e.nodes[t];r&&(n&&r.type===n||r.type===`open`||r.type===`close`)&&r.escaped!==!0&&(r.value=`\\`+r.value,r.escaped=!0)},e.encloseBrace=e=>e.type===`brace`?e.commas>>0+e.ranges>>0?!1:(e.invalid=!0,!0):!1,e.isInvalidBrace=e=>e.type===`brace`?e.invalid===!0||e.dollar?!0:!(e.commas>>0+e.ranges>>0)||e.open!==!0||e.close!==!0?(e.invalid=!0,!0):!1:!1,e.isOpenOrClose=e=>e.type===`open`||e.type===`close`?!0:e.open===!0||e.close===!0,e.reduce=e=>e.reduce((e,t)=>(t.type===`text`&&e.push(t.value),t.type===`range`&&(t.type=`text`),e),[]),e.flatten=(...e)=>{let t=[],n=e=>{for(let r=0;r<e.length;r++){let i=e[r];if(Array.isArray(i)){n(i);continue}i!==void 0&&t.push(i)}return t};return n(e),t}})),xe=t(((e,t)=>{let n=be();t.exports=(e,t={})=>{let r=(e,i={})=>{let a=t.escapeInvalid&&n.isInvalidBrace(i),o=e.invalid===!0&&t.escapeInvalid===!0,s=``;if(e.value)return(a||o)&&n.isOpenOrClose(e)?`\\`+e.value:e.value;if(e.value)return e.value;if(e.nodes)for(let t of e.nodes)s+=r(t);return s};return r(e)}})),Se=t(((e,t)=>{t.exports=function(e){return typeof e==`number`?e-e===0:typeof e==`string`&&e.trim()!==``?Number.isFinite?Number.isFinite(+e):isFinite(+e):!1}})),Ce=t(((e,t)=>{let n=Se(),r=(e,t,a)=>{if(n(e)===!1)throw TypeError(`toRegexRange: expected the first argument to be a number`);if(t===void 0||e===t)return String(e);if(n(t)===!1)throw TypeError(`toRegexRange: expected the second argument to be a number.`);let o={relaxZeros:!0,...a};typeof o.strictZeros==`boolean`&&(o.relaxZeros=o.strictZeros===!1);let c=String(o.relaxZeros),l=String(o.shorthand),u=String(o.capture),d=String(o.wrap),f=e+`:`+t+`=`+c+l+u+d;if(r.cache.hasOwnProperty(f))return r.cache[f].result;let p=Math.min(e,t),m=Math.max(e,t);if(Math.abs(p-m)===1){let n=e+`|`+t;return o.capture?`(${n})`:o.wrap===!1?n:`(?:${n})`}let h=g(e)||g(t),_={min:e,max:t,a:p,b:m},v=[],y=[];return h&&(_.isPadded=h,_.maxLen=String(_.max).length),p<0&&(y=s(m<0?Math.abs(m):1,Math.abs(p),_,o),p=_.a=0),m>=0&&(v=s(p,m,_,o)),_.negatives=y,_.positives=v,_.result=i(y,v,o),o.capture===!0?_.result=`(${_.result})`:o.wrap!==!1&&v.length+y.length>1&&(_.result=`(?:${_.result})`),r.cache[f]=_,_.result};function i(e,t,n){let r=c(e,t,`-`,!1,n)||[],i=c(t,e,``,!1,n)||[],a=c(e,t,`-?`,!0,n)||[];return r.concat(a).concat(i).join(`|`)}function a(e,t){let n=1,r=1,i=f(e,n),a=new Set([t]);for(;e<=i&&i<=t;)a.add(i),n+=1,i=f(e,n);for(i=p(t+1,r)-1;e<i&&i<=t;)a.add(i),r+=1,i=p(t+1,r)-1;return a=[...a],a.sort(u),a}function o(e,t,n){if(e===t)return{pattern:e,count:[],digits:0};let r=l(e,t),i=r.length,a=``,o=0;for(let e=0;e<i;e++){let[t,i]=r[e];t===i?a+=t:t!==`0`||i!==`9`?a+=h(t,i,n):o++}return o&&(a+=n.shorthand===!0?`\\d`:`[0-9]`),{pattern:a,count:[o],digits:i}}function s(e,t,n,r){let i=a(e,t),s=[],c=e,l;for(let e=0;e<i.length;e++){let t=i[e],a=o(String(c),String(t),r),u=``;if(!n.isPadded&&l&&l.pattern===a.pattern){l.count.length>1&&l.count.pop(),l.count.push(a.count[0]),l.string=l.pattern+m(l.count),c=t+1;continue}n.isPadded&&(u=_(t,n,r)),a.string=u+a.pattern+m(a.count),s.push(a),c=t+1,l=a}return s}function c(e,t,n,r,i){let a=[];for(let i of e){let{string:e}=i;!r&&!d(t,`string`,e)&&a.push(n+e),r&&d(t,`string`,e)&&a.push(n+e)}return a}function l(e,t){let n=[];for(let r=0;r<e.length;r++)n.push([e[r],t[r]]);return n}function u(e,t){return e>t?1:t>e?-1:0}function d(e,t,n){return e.some(e=>e[t]===n)}function f(e,t){return Number(String(e).slice(0,-t)+`9`.repeat(t))}function p(e,t){return e-e%10**t}function m(e){let[t=0,n=``]=e;return n||t>1?`{${t+(n?`,`+n:``)}}`:``}function h(e,t,n){return`[${e}${t-e===1?``:`-`}${t}]`}function g(e){return/^-?(0+)\d/.test(e)}function _(e,t,n){if(!t.isPadded)return e;let r=Math.abs(t.maxLen-String(e).length),i=n.relaxZeros!==!1;switch(r){case 0:return``;case 1:return i?`0?`:`0`;case 2:return i?`0{0,2}`:`00`;default:return i?`0{0,${r}}`:`0{${r}}`}}r.cache={},r.clearCache=()=>r.cache={},t.exports=r})),we=t(((t,n)=>{let r=e(`util`),i=Ce(),a=e=>typeof e==`object`&&!!e&&!Array.isArray(e),o=e=>t=>e===!0?Number(t):String(t),s=e=>typeof e==`number`||typeof e==`string`&&e!==``,c=e=>Number.isInteger(+e),l=e=>{let t=`${e}`,n=-1;if(t[0]===`-`&&(t=t.slice(1)),t===`0`)return!1;for(;t[++n]===`0`;);return n>0},u=(e,t,n)=>typeof e==`string`||typeof t==`string`?!0:n.stringify===!0,d=(e,t,n)=>{if(t>0){let n=e[0]===`-`?`-`:``;n&&(e=e.slice(1)),e=n+e.padStart(n?t-1:t,`0`)}return n===!1?String(e):e},f=(e,t)=>{let n=e[0]===`-`?`-`:``;for(n&&(e=e.slice(1),t--);e.length<t;)e=`0`+e;return n?`-`+e:e},p=(e,t,n)=>{e.negatives.sort((e,t)=>e<t?-1:+(e>t)),e.positives.sort((e,t)=>e<t?-1:+(e>t));let r=t.capture?``:`?:`,i=``,a=``,o;return e.positives.length&&(i=e.positives.map(e=>f(String(e),n)).join(`|`)),e.negatives.length&&(a=`-(${r}${e.negatives.map(e=>f(String(e),n)).join(`|`)})`),o=i&&a?`${i}|${a}`:i||a,t.wrap?`(${r}${o})`:o},m=(e,t,n,r)=>{if(n)return i(e,t,{wrap:!1,...r});let a=String.fromCharCode(e);return e===t?a:`[${a}-${String.fromCharCode(t)}]`},h=(e,t,n)=>{if(Array.isArray(e)){let t=n.wrap===!0,r=n.capture?``:`?:`;return t?`(${r}${e.join(`|`)})`:e.join(`|`)}return i(e,t,n)},g=(...e)=>RangeError(`Invalid range arguments: `+r.inspect(...e)),_=(e,t,n)=>{if(n.strictRanges===!0)throw g([e,t]);return[]},v=(e,t)=>{if(t.strictRanges===!0)throw TypeError(`Expected step "${e}" to be a number`);return[]},y=(e,t,n=1,r={})=>{let i=Number(e),a=Number(t);if(!Number.isInteger(i)||!Number.isInteger(a)){if(r.strictRanges===!0)throw g([e,t]);return[]}i===0&&(i=0),a===0&&(a=0);let s=i>a,c=String(e),_=String(t),v=String(n);n=Math.max(Math.abs(n),1);let y=l(c)||l(_)||l(v),b=y?Math.max(c.length,_.length,v.length):0,x=y===!1&&u(e,t,r)===!1,S=r.transform||o(x);if(r.toRegex&&n===1)return m(f(e,b),f(t,b),!0,r);let C={negatives:[],positives:[]},w=e=>C[e<0?`negatives`:`positives`].push(Math.abs(e)),T=[],E=0;for(;s?i>=a:i<=a;)r.toRegex===!0&&n>1?w(i):T.push(d(S(i,E),b,x)),i=s?i-n:i+n,E++;return r.toRegex===!0?n>1?p(C,r,b):h(T,null,{wrap:!1,...r}):T},b=(e,t,n=1,r={})=>{if(!c(e)&&e.length>1||!c(t)&&t.length>1)return _(e,t,r);let i=r.transform||(e=>String.fromCharCode(e)),a=`${e}`.charCodeAt(0),o=`${t}`.charCodeAt(0),s=a>o,l=Math.min(a,o),u=Math.max(a,o);if(r.toRegex&&n===1)return m(l,u,!1,r);let d=[],f=0;for(;s?a>=o:a<=o;)d.push(i(a,f)),a=s?a-n:a+n,f++;return r.toRegex===!0?h(d,null,{wrap:!1,options:r}):d},x=(e,t,n,r={})=>{if(t==null&&s(e))return[e];if(!s(e)||!s(t))return _(e,t,r);if(typeof n==`function`)return x(e,t,1,{transform:n});if(a(n))return x(e,t,0,n);let i={...r};return i.capture===!0&&(i.wrap=!0),n=n||i.step||1,c(n)?c(e)&&c(t)?y(e,t,n,i):b(e,t,Math.max(Math.abs(n),1),i):n!=null&&!a(n)?v(n,i):x(e,t,1,n)};n.exports=x})),Te=t(((e,t)=>{let n=we(),r=be();t.exports=(e,t={})=>{let i=(e,a={})=>{let o=r.isInvalidBrace(a),s=e.invalid===!0&&t.escapeInvalid===!0,c=o===!0||s===!0,l=t.escapeInvalid===!0?`\\`:``,u=``;if(e.isOpen===!0)return l+e.value;if(e.isClose===!0)return console.log(`node.isClose`,l,e.value),l+e.value;if(e.type===`open`)return c?l+e.value:`(`;if(e.type===`close`)return c?l+e.value:`)`;if(e.type===`comma`)return e.prev.type===`comma`?``:c?e.value:`|`;if(e.value)return e.value;if(e.nodes&&e.ranges>0){let i=r.reduce(e.nodes),a=n(...i,{...t,wrap:!1,toRegex:!0,strictZeros:!0});if(a.length!==0)return i.length>1&&a.length>1?`(${a})`:a}if(e.nodes)for(let t of e.nodes)u+=i(t,e);return u};return i(e)}})),Ee=t(((e,t)=>{let n=we(),r=xe(),i=be(),a=(e=``,t=``,n=!1)=>{let r=[];if(e=[].concat(e),t=[].concat(t),!t.length)return e;if(!e.length)return n?i.flatten(t).map(e=>`{${e}}`):t;for(let i of e)if(Array.isArray(i))for(let e of i)r.push(a(e,t,n));else for(let e of t)n===!0&&typeof e==`string`&&(e=`{${e}}`),r.push(Array.isArray(e)?a(i,e,n):i+e);return i.flatten(r)};t.exports=(e,t={})=>{let o=t.rangeLimit===void 0?1e3:t.rangeLimit,s=(e,c={})=>{e.queue=[];let l=c,u=c.queue;for(;l.type!==`brace`&&l.type!==`root`&&l.parent;)l=l.parent,u=l.queue;if(e.invalid||e.dollar){u.push(a(u.pop(),r(e,t)));return}if(e.type===`brace`&&e.invalid!==!0&&e.nodes.length===2){u.push(a(u.pop(),[`{}`]));return}if(e.nodes&&e.ranges>0){let s=i.reduce(e.nodes);if(i.exceedsLimit(...s,t.step,o))throw RangeError(`expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.`);let c=n(...s,t);c.length===0&&(c=r(e,t)),u.push(a(u.pop(),c)),e.nodes=[];return}let d=i.encloseBrace(e),f=e.queue,p=e;for(;p.type!==`brace`&&p.type!==`root`&&p.parent;)p=p.parent,f=p.queue;for(let t=0;t<e.nodes.length;t++){let n=e.nodes[t];if(n.type===`comma`&&e.type===`brace`){t===1&&f.push(``),f.push(``);continue}if(n.type===`close`){u.push(a(u.pop(),f,d));continue}if(n.value&&n.type!==`open`){f.push(a(f.pop(),n.value));continue}n.nodes&&s(n,e)}return f};return i.flatten(s(e))}})),De=t(((e,t)=>{t.exports={MAX_LENGTH:1e4,CHAR_0:`0`,CHAR_9:`9`,CHAR_UPPERCASE_A:`A`,CHAR_LOWERCASE_A:`a`,CHAR_UPPERCASE_Z:`Z`,CHAR_LOWERCASE_Z:`z`,CHAR_LEFT_PARENTHESES:`(`,CHAR_RIGHT_PARENTHESES:`)`,CHAR_ASTERISK:`*`,CHAR_AMPERSAND:`&`,CHAR_AT:`@`,CHAR_BACKSLASH:`\\`,CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:`\r`,CHAR_CIRCUMFLEX_ACCENT:`^`,CHAR_COLON:`:`,CHAR_COMMA:`,`,CHAR_DOLLAR:`$`,CHAR_DOT:`.`,CHAR_DOUBLE_QUOTE:`"`,CHAR_EQUAL:`=`,CHAR_EXCLAMATION_MARK:`!`,CHAR_FORM_FEED:`\f`,CHAR_FORWARD_SLASH:`/`,CHAR_HASH:`#`,CHAR_HYPHEN_MINUS:`-`,CHAR_LEFT_ANGLE_BRACKET:`<`,CHAR_LEFT_CURLY_BRACE:`{`,CHAR_LEFT_SQUARE_BRACKET:`[`,CHAR_LINE_FEED:`
`,CHAR_NO_BREAK_SPACE:`\xA0`,CHAR_PERCENT:`%`,CHAR_PLUS:`+`,CHAR_QUESTION_MARK:`?`,CHAR_RIGHT_ANGLE_BRACKET:`>`,CHAR_RIGHT_CURLY_BRACE:`}`,CHAR_RIGHT_SQUARE_BRACKET:`]`,CHAR_SEMICOLON:`;`,CHAR_SINGLE_QUOTE:`'`,CHAR_SPACE:` `,CHAR_TAB:` `,CHAR_UNDERSCORE:`_`,CHAR_VERTICAL_LINE:`|`,CHAR_ZERO_WIDTH_NOBREAK_SPACE:``}})),Oe=t(((e,t)=>{let n=xe(),{MAX_LENGTH:r,CHAR_BACKSLASH:i,CHAR_BACKTICK:a,CHAR_COMMA:o,CHAR_DOT:s,CHAR_LEFT_PARENTHESES:c,CHAR_RIGHT_PARENTHESES:l,CHAR_LEFT_CURLY_BRACE:u,CHAR_RIGHT_CURLY_BRACE:d,CHAR_LEFT_SQUARE_BRACKET:f,CHAR_RIGHT_SQUARE_BRACKET:p,CHAR_DOUBLE_QUOTE:m,CHAR_SINGLE_QUOTE:h,CHAR_NO_BREAK_SPACE:g,CHAR_ZERO_WIDTH_NOBREAK_SPACE:_}=De();t.exports=(e,t={})=>{if(typeof e!=`string`)throw TypeError(`Expected a string`);let v=t||{},y=typeof v.maxLength==`number`?Math.min(r,v.maxLength):r;if(e.length>y)throw SyntaxError(`Input length (${e.length}), exceeds max characters (${y})`);let b={type:`root`,input:e,nodes:[]},x=[b],S=b,C=b,w=0,T=e.length,E=0,D=0,O,k=()=>e[E++],A=e=>{if(e.type===`text`&&C.type===`dot`&&(C.type=`text`),C&&C.type===`text`&&e.type===`text`){C.value+=e.value;return}return S.nodes.push(e),e.parent=S,e.prev=C,C=e,e};for(A({type:`bos`});E<T;)if(S=x[x.length-1],O=k(),!(O===_||O===g)){if(O===i){A({type:`text`,value:(t.keepEscaping?O:``)+k()});continue}if(O===p){A({type:`text`,value:`\\`+O});continue}if(O===f){w++;let e;for(;E<T&&(e=k());){if(O+=e,e===f){w++;continue}if(e===i){O+=k();continue}if(e===p&&(w--,w===0))break}A({type:`text`,value:O});continue}if(O===c){S=A({type:`paren`,nodes:[]}),x.push(S),A({type:`text`,value:O});continue}if(O===l){if(S.type!==`paren`){A({type:`text`,value:O});continue}S=x.pop(),A({type:`text`,value:O}),S=x[x.length-1];continue}if(O===m||O===h||O===a){let e=O,n;for(t.keepQuotes!==!0&&(O=``);E<T&&(n=k());){if(n===i){O+=n+k();continue}if(n===e){t.keepQuotes===!0&&(O+=n);break}O+=n}A({type:`text`,value:O});continue}if(O===u){D++,S=A({type:`brace`,open:!0,close:!1,dollar:C.value&&C.value.slice(-1)===`$`||S.dollar===!0,depth:D,commas:0,ranges:0,nodes:[]}),x.push(S),A({type:`open`,value:O});continue}if(O===d){if(S.type!==`brace`){A({type:`text`,value:O});continue}S=x.pop(),S.close=!0,A({type:`close`,value:O}),D--,S=x[x.length-1];continue}if(O===o&&D>0){if(S.ranges>0){S.ranges=0;let e=S.nodes.shift();S.nodes=[e,{type:`text`,value:n(S)}]}A({type:`comma`,value:O}),S.commas++;continue}if(O===s&&D>0&&S.commas===0){let e=S.nodes;if(D===0||e.length===0){A({type:`text`,value:O});continue}if(C.type===`dot`){if(S.range=[],C.value+=O,C.type=`range`,S.nodes.length!==3&&S.nodes.length!==5){S.invalid=!0,S.ranges=0,C.type=`text`;continue}S.ranges++,S.args=[];continue}if(C.type===`range`){e.pop();let t=e[e.length-1];t.value+=C.value+O,C=t,S.ranges--;continue}A({type:`dot`,value:O});continue}A({type:`text`,value:O})}do if(S=x.pop(),S.type!==`root`){S.nodes.forEach(e=>{e.nodes||(e.type===`open`&&(e.isOpen=!0),e.type===`close`&&(e.isClose=!0),e.nodes||(e.type=`text`),e.invalid=!0)});let e=x[x.length-1],t=e.nodes.indexOf(S);e.nodes.splice(t,1,...S.nodes)}while(x.length>0);return A({type:`eos`}),b}})),ke=t(((e,t)=>{let n=xe(),r=Te(),i=Ee(),a=Oe(),o=(e,t={})=>{let n=[];if(Array.isArray(e))for(let r of e){let e=o.create(r,t);Array.isArray(e)?n.push(...e):n.push(e)}else n=[].concat(o.create(e,t));return t&&t.expand===!0&&t.nodupes===!0&&(n=[...new Set(n)]),n};o.parse=(e,t={})=>a(e,t),o.stringify=(e,t={})=>n(typeof e==`string`?o.parse(e,t):e,t),o.compile=(e,t={})=>(typeof e==`string`&&(e=o.parse(e,t)),r(e,t)),o.expand=(e,t={})=>{typeof e==`string`&&(e=o.parse(e,t));let n=i(e,t);return t.noempty===!0&&(n=n.filter(Boolean)),t.nodupes===!0&&(n=[...new Set(n)]),n},o.create=(e,t={})=>e===``||e.length<3?[e]:t.expand===!0?o.expand(e,t):o.compile(e,t),t.exports=o})),Ae=t(((t,n)=>{let r=e(`path`),i=`[^\\\\/]`,a=`[^/]`,o=`(?:\\/|$)`,s=`(?:^|\\/)`,c=`\\.{1,2}${o}`,l={DOT_LITERAL:`\\.`,PLUS_LITERAL:`\\+`,QMARK_LITERAL:`\\?`,SLASH_LITERAL:`\\/`,ONE_CHAR:`(?=.)`,QMARK:a,END_ANCHOR:o,DOTS_SLASH:c,NO_DOT:`(?!\\.)`,NO_DOTS:`(?!${s}${c})`,NO_DOT_SLASH:`(?!\\.{0,1}${o})`,NO_DOTS_SLASH:`(?!${c})`,QMARK_NO_DOT:`[^.\\/]`,STAR:`${a}*?`,START_ANCHOR:s},u={...l,SLASH_LITERAL:`[\\\\/]`,QMARK:i,STAR:`${i}*?`,DOTS_SLASH:`\\.{1,2}(?:[\\\\/]|$)`,NO_DOT:`(?!\\.)`,NO_DOTS:`(?!(?:^|[\\\\/])\\.{1,2}(?:[\\\\/]|$))`,NO_DOT_SLASH:`(?!\\.{0,1}(?:[\\\\/]|$))`,NO_DOTS_SLASH:`(?!\\.{1,2}(?:[\\\\/]|$))`,QMARK_NO_DOT:`[^.\\\\/]`,START_ANCHOR:`(?:^|[\\\\/])`,END_ANCHOR:`(?:[\\\\/]|$)`};n.exports={DEFAULT_MAX_EXTGLOB_RECURSION:0,MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:{__proto__:null,alnum:`a-zA-Z0-9`,alpha:`a-zA-Z`,ascii:`\\x00-\\x7F`,blank:` \\t`,cntrl:`\\x00-\\x1F\\x7F`,digit:`0-9`,graph:`\\x21-\\x7E`,lower:`a-z`,print:`\\x20-\\x7E `,punct:`\\-!"#$%&'()\\*+,./:;<=>?@[\\]^_\`{|}~`,space:` \\t\\r\\n\\v\\f`,upper:`A-Z`,word:`A-Za-z0-9_`,xdigit:`A-Fa-f0-9`},REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{__proto__:null,"***":`*`,"**/**":`**`,"**/**/**":`**`},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:r.sep,extglobChars(e){return{"!":{type:`negate`,open:`(?:(?!(?:`,close:`))${e.STAR})`},"?":{type:`qmark`,open:`(?:`,close:`)?`},"+":{type:`plus`,open:`(?:`,close:`)+`},"*":{type:`star`,open:`(?:`,close:`)*`},"@":{type:`at`,open:`(?:`,close:`)`}}},globChars(e){return e===!0?u:l}}})),je=t((t=>{let n=e(`path`),r=process.platform===`win32`,{REGEX_BACKSLASH:i,REGEX_REMOVE_BACKSLASH:a,REGEX_SPECIAL_CHARS:o,REGEX_SPECIAL_CHARS_GLOBAL:s}=Ae();t.isObject=e=>typeof e==`object`&&!!e&&!Array.isArray(e),t.hasRegexChars=e=>o.test(e),t.isRegexChar=e=>e.length===1&&t.hasRegexChars(e),t.escapeRegex=e=>e.replace(s,`\\$1`),t.toPosixSlashes=e=>e.replace(i,`/`),t.removeBackslashes=e=>e.replace(a,e=>e===`\\`?``:e),t.supportsLookbehinds=()=>{let e=process.version.slice(1).split(`.`).map(Number);return e.length===3&&e[0]>=9||e[0]===8&&e[1]>=10},t.isWindows=e=>e&&typeof e.windows==`boolean`?e.windows:r===!0||n.sep===`\\`,t.escapeLast=(e,n,r)=>{let i=e.lastIndexOf(n,r);return i===-1?e:e[i-1]===`\\`?t.escapeLast(e,n,i-1):`${e.slice(0,i)}\\${e.slice(i)}`},t.removePrefix=(e,t={})=>{let n=e;return n.startsWith(`./`)&&(n=n.slice(2),t.prefix=`./`),n},t.wrapOutput=(e,t={},n={})=>{let r=`${n.contains?``:`^`}(?:${e})${n.contains?``:`$`}`;return t.negated===!0&&(r=`(?:^(?!${r}).*$)`),r}})),Me=t(((e,t)=>{let n=je(),{CHAR_ASTERISK:r,CHAR_AT:i,CHAR_BACKWARD_SLASH:a,CHAR_COMMA:o,CHAR_DOT:s,CHAR_EXCLAMATION_MARK:c,CHAR_FORWARD_SLASH:l,CHAR_LEFT_CURLY_BRACE:u,CHAR_LEFT_PARENTHESES:d,CHAR_LEFT_SQUARE_BRACKET:f,CHAR_PLUS:p,CHAR_QUESTION_MARK:m,CHAR_RIGHT_CURLY_BRACE:h,CHAR_RIGHT_PARENTHESES:g,CHAR_RIGHT_SQUARE_BRACKET:_}=Ae(),v=e=>e===l||e===a,y=e=>{e.isPrefix!==!0&&(e.depth=e.isGlobstar?1/0:1)};t.exports=(e,t)=>{let b=t||{},x=e.length-1,S=b.parts===!0||b.scanToEnd===!0,C=[],w=[],T=[],E=e,D=-1,O=0,k=0,A=!1,j=!1,M=!1,N=!1,P=!1,F=!1,I=!1,L=!1,R=!1,z=!1,B=0,V,H,U={value:``,depth:0,isGlob:!1},W=()=>D>=x,G=()=>E.charCodeAt(D+1),K=()=>(V=H,E.charCodeAt(++D));for(;D<x;){H=K();let e;if(H===a){I=U.backslashes=!0,H=K(),H===u&&(F=!0);continue}if(F===!0||H===u){for(B++;W()!==!0&&(H=K());){if(H===a){I=U.backslashes=!0,K();continue}if(H===u){B++;continue}if(F!==!0&&H===s&&(H=K())===s){if(A=U.isBrace=!0,M=U.isGlob=!0,z=!0,S===!0)continue;break}if(F!==!0&&H===o){if(A=U.isBrace=!0,M=U.isGlob=!0,z=!0,S===!0)continue;break}if(H===h&&(B--,B===0)){F=!1,A=U.isBrace=!0,z=!0;break}}if(S===!0)continue;break}if(H===l){if(C.push(D),w.push(U),U={value:``,depth:0,isGlob:!1},z===!0)continue;if(V===s&&D===O+1){O+=2;continue}k=D+1;continue}if(b.noext!==!0&&(H===p||H===i||H===r||H===m||H===c)&&G()===d){if(M=U.isGlob=!0,N=U.isExtglob=!0,z=!0,H===c&&D===O&&(R=!0),S===!0){for(;W()!==!0&&(H=K());){if(H===a){I=U.backslashes=!0,H=K();continue}if(H===g){M=U.isGlob=!0,z=!0;break}}continue}break}if(H===r){if(V===r&&(P=U.isGlobstar=!0),M=U.isGlob=!0,z=!0,S===!0)continue;break}if(H===m){if(M=U.isGlob=!0,z=!0,S===!0)continue;break}if(H===f){for(;W()!==!0&&(e=K());){if(e===a){I=U.backslashes=!0,K();continue}if(e===_){j=U.isBracket=!0,M=U.isGlob=!0,z=!0;break}}if(S===!0)continue;break}if(b.nonegate!==!0&&H===c&&D===O){L=U.negated=!0,O++;continue}if(b.noparen!==!0&&H===d){if(M=U.isGlob=!0,S===!0){for(;W()!==!0&&(H=K());){if(H===d){I=U.backslashes=!0,H=K();continue}if(H===g){z=!0;break}}continue}break}if(M===!0){if(z=!0,S===!0)continue;break}}b.noext===!0&&(N=!1,M=!1);let q=E,J=``,Y=``;O>0&&(J=E.slice(0,O),E=E.slice(O),k-=O),q&&M===!0&&k>0?(q=E.slice(0,k),Y=E.slice(k)):M===!0?(q=``,Y=E):q=E,q&&q!==``&&q!==`/`&&q!==E&&v(q.charCodeAt(q.length-1))&&(q=q.slice(0,-1)),b.unescape===!0&&(Y&&=n.removeBackslashes(Y),q&&I===!0&&(q=n.removeBackslashes(q)));let X={prefix:J,input:e,start:O,base:q,glob:Y,isBrace:A,isBracket:j,isGlob:M,isExtglob:N,isGlobstar:P,negated:L,negatedExtglob:R};if(b.tokens===!0&&(X.maxDepth=0,v(H)||w.push(U),X.tokens=w),b.parts===!0||b.tokens===!0){let t;for(let n=0;n<C.length;n++){let r=t?t+1:O,i=C[n],a=e.slice(r,i);b.tokens&&(n===0&&O!==0?(w[n].isPrefix=!0,w[n].value=J):w[n].value=a,y(w[n]),X.maxDepth+=w[n].depth),(n!==0||a!==``)&&T.push(a),t=i}if(t&&t+1<e.length){let n=e.slice(t+1);T.push(n),b.tokens&&(w[w.length-1].value=n,y(w[w.length-1]),X.maxDepth+=w[w.length-1].depth)}X.slashes=C,X.parts=T}return X}})),Ne=t(((e,t)=>{let n=Ae(),r=je(),{MAX_LENGTH:i,POSIX_REGEX_SOURCE:a,REGEX_NON_SPECIAL_CHARS:o,REGEX_SPECIAL_CHARS_BACKREF:s,REPLACEMENTS:c}=n,l=(e,t)=>{if(typeof t.expandRange==`function`)return t.expandRange(...e,t);e.sort();let n=`[${e.join(`-`)}]`;try{new RegExp(n)}catch{return e.map(e=>r.escapeRegex(e)).join(`..`)}return n},u=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,d=e=>{let t=[],n=0,r=0,i=0,a=``,o=!1;for(let s of e){if(o===!0){a+=s,o=!1;continue}if(s===`\\`){a+=s,o=!0;continue}if(s===`"`){i=i===1?0:1,a+=s;continue}if(i===0){if(s===`[`)n++;else if(s===`]`&&n>0)n--;else if(n===0){if(s===`(`)r++;else if(s===`)`&&r>0)r--;else if(s===`|`&&r===0){t.push(a),a=``;continue}}}a+=s}return t.push(a),t},f=e=>{let t=!1;for(let n of e){if(t===!0){t=!1;continue}if(n===`\\`){t=!0;continue}if(/[?*+@!()[\]{}]/.test(n))return!1}return!0},p=e=>{let t=e.trim(),n=!0;for(;n===!0;)n=!1,/^@\([^\\()[\]{}|]+\)$/.test(t)&&(t=t.slice(2,-1),n=!0);if(f(t))return t.replace(/\\(.)/g,`$1`)},m=e=>{let t=e.map(p).filter(Boolean);for(let e=0;e<t.length;e++)for(let n=e+1;n<t.length;n++){let r=t[e],i=t[n],a=r[0];if(!(!a||r!==a.repeat(r.length)||i!==a.repeat(i.length))&&(r===i||r.startsWith(i)||i.startsWith(r)))return!0}return!1},h=(e,t=!0)=>{if(e[0]!==`+`&&e[0]!==`*`||e[1]!==`(`)return;let n=0,r=0,i=0,a=!1;for(let o=1;o<e.length;o++){let s=e[o];if(a===!0){a=!1;continue}if(s===`\\`){a=!0;continue}if(s===`"`){i=i===1?0:1;continue}if(i!==1){if(s===`[`){n++;continue}if(s===`]`&&n>0){n--;continue}if(!(n>0)){if(s===`(`){r++;continue}if(s===`)`&&(r--,r===0))return t===!0&&o!==e.length-1?void 0:{type:e[0],body:e.slice(2,o),end:o}}}}},g=e=>{let t=0,n=[];for(;t<e.length;){let r=h(e.slice(t),!1);if(!r||r.type!==`*`)return;let i=d(r.body).map(e=>e.trim());if(i.length!==1)return;let a=p(i[0]);if(!a||a.length!==1)return;n.push(a),t+=r.end+1}if(!(n.length<1))return`${n.length===1?r.escapeRegex(n[0]):`[${n.map(e=>r.escapeRegex(e)).join(``)}]`}*`},_=e=>{let t=0,n=e.trim(),r=h(n);for(;r;)t++,n=r.body.trim(),r=h(n);return t},v=(e,t)=>{if(t.maxExtglobRecursion===!1)return{risky:!1};let r=typeof t.maxExtglobRecursion==`number`?t.maxExtglobRecursion:n.DEFAULT_MAX_EXTGLOB_RECURSION,i=d(e).map(e=>e.trim());if(i.length>1&&(i.some(e=>e===``)||i.some(e=>/^[*?]+$/.test(e))||m(i)))return{risky:!0};for(let e of i){let t=g(e);if(t)return{risky:!0,safeOutput:t};if(_(e)>r)return{risky:!0}}return{risky:!1}},y=(e,t)=>{if(typeof e!=`string`)throw TypeError(`Expected a string`);e=c[e]||e;let d={...t},f=typeof d.maxLength==`number`?Math.min(i,d.maxLength):i,p=e.length;if(p>f)throw SyntaxError(`Input length: ${p}, exceeds maximum allowed length: ${f}`);let m={type:`bos`,value:``,output:d.prepend||``},h=[m],g=d.capture?``:`?:`,_=r.isWindows(t),b=n.globChars(_),x=n.extglobChars(b),{DOT_LITERAL:S,PLUS_LITERAL:C,SLASH_LITERAL:w,ONE_CHAR:T,DOTS_SLASH:E,NO_DOT:D,NO_DOT_SLASH:O,NO_DOTS_SLASH:k,QMARK:A,QMARK_NO_DOT:j,STAR:M,START_ANCHOR:N}=b,P=e=>`(${g}(?:(?!${N}${e.dot?E:S}).)*?)`,F=d.dot?``:D,I=d.dot?A:j,L=d.bash===!0?P(d):M;d.capture&&(L=`(${L})`),typeof d.noext==`boolean`&&(d.noextglob=d.noext);let R={input:e,index:-1,start:0,dot:d.dot===!0,consumed:``,output:``,prefix:``,backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:h};e=r.removePrefix(e,R),p=e.length;let z=[],B=[],V=[],H=m,U,W=()=>R.index===p-1,G=R.peek=(t=1)=>e[R.index+t],K=R.advance=()=>e[++R.index]||``,q=()=>e.slice(R.index+1),J=(e=``,t=0)=>{R.consumed+=e,R.index+=t},Y=e=>{R.output+=e.output==null?e.value:e.output,J(e.value)},X=()=>{let e=1;for(;G()===`!`&&(G(2)!==`(`||G(3)===`?`);)K(),R.start++,e++;return e%2==0?!1:(R.negated=!0,R.start++,!0)},ee=e=>{R[e]++,V.push(e)},te=e=>{R[e]--,V.pop()},Z=e=>{if(H.type===`globstar`){let t=R.braces>0&&(e.type===`comma`||e.type===`brace`),n=e.extglob===!0||z.length&&(e.type===`pipe`||e.type===`paren`);e.type!==`slash`&&e.type!==`paren`&&!t&&!n&&(R.output=R.output.slice(0,-H.output.length),H.type=`star`,H.value=`*`,H.output=L,R.output+=H.output)}if(z.length&&e.type!==`paren`&&(z[z.length-1].inner+=e.value),(e.value||e.output)&&Y(e),H&&H.type===`text`&&e.type===`text`){H.value+=e.value,H.output=(H.output||``)+e.value;return}e.prev=H,h.push(e),H=e},ne=(e,t)=>{let n={...x[t],conditions:1,inner:``};n.prev=H,n.parens=R.parens,n.output=R.output,n.startIndex=R.index,n.tokensIndex=h.length;let r=(d.capture?`(`:``)+n.open;ee(`parens`),Z({type:e,value:t,output:R.output?``:T}),Z({type:`paren`,extglob:!0,value:K(),output:r}),z.push(n)},re=n=>{let i=e.slice(n.startIndex,R.index+1),a=v(e.slice(n.startIndex+2,R.index),d);if((n.type===`plus`||n.type===`star`)&&a.risky){let e=a.safeOutput?(n.output?``:T)+(d.capture?`(${a.safeOutput})`:a.safeOutput):void 0,t=h[n.tokensIndex];t.type=`text`,t.value=i,t.output=e||r.escapeRegex(i);for(let e=n.tokensIndex+1;e<h.length;e++)h[e].value=``,h[e].output=``,delete h[e].suffix;R.output=n.output+t.output,R.backtrack=!0,Z({type:`paren`,extglob:!0,value:U,output:``}),te(`parens`);return}let o=n.close+(d.capture?`)`:``),s;if(n.type===`negate`){let e=L;n.inner&&n.inner.length>1&&n.inner.includes(`/`)&&(e=P(d)),(e!==L||W()||/^\)+$/.test(q()))&&(o=n.close=`)$))${e}`),n.inner.includes(`*`)&&(s=q())&&/^\.[^\\/.]+$/.test(s)&&(o=n.close=`)${y(s,{...t,fastpaths:!1}).output})${e})`),n.prev.type===`bos`&&(R.negatedExtglob=!0)}Z({type:`paren`,extglob:!0,value:U,output:o}),te(`parens`)};if(d.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(e)){let n=!1,i=e.replace(s,(e,t,r,i,a,o)=>i===`\\`?(n=!0,e):i===`?`?t?t+i+(a?A.repeat(a.length):``):o===0?I+(a?A.repeat(a.length):``):A.repeat(r.length):i===`.`?S.repeat(r.length):i===`*`?t?t+i+(a?L:``):L:t?e:`\\${e}`);return n===!0&&(i=d.unescape===!0?i.replace(/\\/g,``):i.replace(/\\+/g,e=>e.length%2==0?`\\\\`:e?`\\`:``)),i===e&&d.contains===!0?(R.output=e,R):(R.output=r.wrapOutput(i,R,t),R)}for(;!W();){if(U=K(),U===`\0`)continue;if(U===`\\`){let e=G();if(e===`/`&&d.bash!==!0||e===`.`||e===`;`)continue;if(!e){U+=`\\`,Z({type:`text`,value:U});continue}let t=/^\\+/.exec(q()),n=0;if(t&&t[0].length>2&&(n=t[0].length,R.index+=n,n%2!=0&&(U+=`\\`)),d.unescape===!0?U=K():U+=K(),R.brackets===0){Z({type:`text`,value:U});continue}}if(R.brackets>0&&(U!==`]`||H.value===`[`||H.value===`[^`)){if(d.posix!==!1&&U===`:`){let e=H.value.slice(1);if(e.includes(`[`)&&(H.posix=!0,e.includes(`:`))){let e=H.value.lastIndexOf(`[`),t=H.value.slice(0,e),n=a[H.value.slice(e+2)];if(n){H.value=t+n,R.backtrack=!0,K(),!m.output&&h.indexOf(H)===1&&(m.output=T);continue}}}(U===`[`&&G()!==`:`||U===`-`&&G()===`]`)&&(U=`\\${U}`),U===`]`&&(H.value===`[`||H.value===`[^`)&&(U=`\\${U}`),d.posix===!0&&U===`!`&&H.value===`[`&&(U=`^`),H.value+=U,Y({value:U});continue}if(R.quotes===1&&U!==`"`){U=r.escapeRegex(U),H.value+=U,Y({value:U});continue}if(U===`"`){R.quotes=R.quotes===1?0:1,d.keepQuotes===!0&&Z({type:`text`,value:U});continue}if(U===`(`){ee(`parens`),Z({type:`paren`,value:U});continue}if(U===`)`){if(R.parens===0&&d.strictBrackets===!0)throw SyntaxError(u(`opening`,`(`));let e=z[z.length-1];if(e&&R.parens===e.parens+1){re(z.pop());continue}Z({type:`paren`,value:U,output:R.parens?`)`:`\\)`}),te(`parens`);continue}if(U===`[`){if(d.nobracket===!0||!q().includes(`]`)){if(d.nobracket!==!0&&d.strictBrackets===!0)throw SyntaxError(u(`closing`,`]`));U=`\\${U}`}else ee(`brackets`);Z({type:`bracket`,value:U});continue}if(U===`]`){if(d.nobracket===!0||H&&H.type===`bracket`&&H.value.length===1){Z({type:`text`,value:U,output:`\\${U}`});continue}if(R.brackets===0){if(d.strictBrackets===!0)throw SyntaxError(u(`opening`,`[`));Z({type:`text`,value:U,output:`\\${U}`});continue}te(`brackets`);let e=H.value.slice(1);if(H.posix!==!0&&e[0]===`^`&&!e.includes(`/`)&&(U=`/${U}`),H.value+=U,Y({value:U}),d.literalBrackets===!1||r.hasRegexChars(e))continue;let t=r.escapeRegex(H.value);if(R.output=R.output.slice(0,-H.value.length),d.literalBrackets===!0){R.output+=t,H.value=t;continue}H.value=`(${g}${t}|${H.value})`,R.output+=H.value;continue}if(U===`{`&&d.nobrace!==!0){ee(`braces`);let e={type:`brace`,value:U,output:`(`,outputIndex:R.output.length,tokensIndex:R.tokens.length};B.push(e),Z(e);continue}if(U===`}`){let e=B[B.length-1];if(d.nobrace===!0||!e){Z({type:`text`,value:U,output:U});continue}let t=`)`;if(e.dots===!0){let e=h.slice(),n=[];for(let t=e.length-1;t>=0&&(h.pop(),e[t].type!==`brace`);t--)e[t].type!==`dots`&&n.unshift(e[t].value);t=l(n,d),R.backtrack=!0}if(e.comma!==!0&&e.dots!==!0){let n=R.output.slice(0,e.outputIndex),r=R.tokens.slice(e.tokensIndex);e.value=e.output=`\\{`,U=t=`\\}`,R.output=n;for(let e of r)R.output+=e.output||e.value}Z({type:`brace`,value:U,output:t}),te(`braces`),B.pop();continue}if(U===`|`){z.length>0&&z[z.length-1].conditions++,Z({type:`text`,value:U});continue}if(U===`,`){let e=U,t=B[B.length-1];t&&V[V.length-1]===`braces`&&(t.comma=!0,e=`|`),Z({type:`comma`,value:U,output:e});continue}if(U===`/`){if(H.type===`dot`&&R.index===R.start+1){R.start=R.index+1,R.consumed=``,R.output=``,h.pop(),H=m;continue}Z({type:`slash`,value:U,output:w});continue}if(U===`.`){if(R.braces>0&&H.type===`dot`){H.value===`.`&&(H.output=S);let e=B[B.length-1];H.type=`dots`,H.output+=U,H.value+=U,e.dots=!0;continue}if(R.braces+R.parens===0&&H.type!==`bos`&&H.type!==`slash`){Z({type:`text`,value:U,output:S});continue}Z({type:`dot`,value:U,output:S});continue}if(U===`?`){if(!(H&&H.value===`(`)&&d.noextglob!==!0&&G()===`(`&&G(2)!==`?`){ne(`qmark`,U);continue}if(H&&H.type===`paren`){let e=G(),t=U;if(e===`<`&&!r.supportsLookbehinds())throw Error(`Node.js v10 or higher is required for regex lookbehinds`);(H.value===`(`&&!/[!=<:]/.test(e)||e===`<`&&!/<([!=]|\w+>)/.test(q()))&&(t=`\\${U}`),Z({type:`text`,value:U,output:t});continue}if(d.dot!==!0&&(H.type===`slash`||H.type===`bos`)){Z({type:`qmark`,value:U,output:j});continue}Z({type:`qmark`,value:U,output:A});continue}if(U===`!`){if(d.noextglob!==!0&&G()===`(`&&(G(2)!==`?`||!/[!=<:]/.test(G(3)))){ne(`negate`,U);continue}if(d.nonegate!==!0&&R.index===0){X();continue}}if(U===`+`){if(d.noextglob!==!0&&G()===`(`&&G(2)!==`?`){ne(`plus`,U);continue}if(H&&H.value===`(`||d.regex===!1){Z({type:`plus`,value:U,output:C});continue}if(H&&(H.type===`bracket`||H.type===`paren`||H.type===`brace`)||R.parens>0){Z({type:`plus`,value:U});continue}Z({type:`plus`,value:C});continue}if(U===`@`){if(d.noextglob!==!0&&G()===`(`&&G(2)!==`?`){Z({type:`at`,extglob:!0,value:U,output:``});continue}Z({type:`text`,value:U});continue}if(U!==`*`){(U===`$`||U===`^`)&&(U=`\\${U}`);let e=o.exec(q());e&&(U+=e[0],R.index+=e[0].length),Z({type:`text`,value:U});continue}if(H&&(H.type===`globstar`||H.star===!0)){H.type=`star`,H.star=!0,H.value+=U,H.output=L,R.backtrack=!0,R.globstar=!0,J(U);continue}let t=q();if(d.noextglob!==!0&&/^\([^?]/.test(t)){ne(`star`,U);continue}if(H.type===`star`){if(d.noglobstar===!0){J(U);continue}let n=H.prev,r=n.prev,i=n.type===`slash`||n.type===`bos`,a=r&&(r.type===`star`||r.type===`globstar`);if(d.bash===!0&&(!i||t[0]&&t[0]!==`/`)){Z({type:`star`,value:U,output:``});continue}let o=R.braces>0&&(n.type===`comma`||n.type===`brace`),s=z.length&&(n.type===`pipe`||n.type===`paren`);if(!i&&n.type!==`paren`&&!o&&!s){Z({type:`star`,value:U,output:``});continue}for(;t.slice(0,3)===`/**`;){let n=e[R.index+4];if(n&&n!==`/`)break;t=t.slice(3),J(`/**`,3)}if(n.type===`bos`&&W()){H.type=`globstar`,H.value+=U,H.output=P(d),R.output=H.output,R.globstar=!0,J(U);continue}if(n.type===`slash`&&n.prev.type!==`bos`&&!a&&W()){R.output=R.output.slice(0,-(n.output+H.output).length),n.output=`(?:${n.output}`,H.type=`globstar`,H.output=P(d)+(d.strictSlashes?`)`:`|$)`),H.value+=U,R.globstar=!0,R.output+=n.output+H.output,J(U);continue}if(n.type===`slash`&&n.prev.type!==`bos`&&t[0]===`/`){let e=t[1]===void 0?``:`|$`;R.output=R.output.slice(0,-(n.output+H.output).length),n.output=`(?:${n.output}`,H.type=`globstar`,H.output=`${P(d)}${w}|${w}${e})`,H.value+=U,R.output+=n.output+H.output,R.globstar=!0,J(U+K()),Z({type:`slash`,value:`/`,output:``});continue}if(n.type===`bos`&&t[0]===`/`){H.type=`globstar`,H.value+=U,H.output=`(?:^|${w}|${P(d)}${w})`,R.output=H.output,R.globstar=!0,J(U+K()),Z({type:`slash`,value:`/`,output:``});continue}R.output=R.output.slice(0,-H.output.length),H.type=`globstar`,H.output=P(d),H.value+=U,R.output+=H.output,R.globstar=!0,J(U);continue}let n={type:`star`,value:U,output:L};if(d.bash===!0){n.output=`.*?`,(H.type===`bos`||H.type===`slash`)&&(n.output=F+n.output),Z(n);continue}if(H&&(H.type===`bracket`||H.type===`paren`)&&d.regex===!0){n.output=U,Z(n);continue}(R.index===R.start||H.type===`slash`||H.type===`dot`)&&(H.type===`dot`?(R.output+=O,H.output+=O):d.dot===!0?(R.output+=k,H.output+=k):(R.output+=F,H.output+=F),G()!==`*`&&(R.output+=T,H.output+=T)),Z(n)}for(;R.brackets>0;){if(d.strictBrackets===!0)throw SyntaxError(u(`closing`,`]`));R.output=r.escapeLast(R.output,`[`),te(`brackets`)}for(;R.parens>0;){if(d.strictBrackets===!0)throw SyntaxError(u(`closing`,`)`));R.output=r.escapeLast(R.output,`(`),te(`parens`)}for(;R.braces>0;){if(d.strictBrackets===!0)throw SyntaxError(u(`closing`,`}`));R.output=r.escapeLast(R.output,`{`),te(`braces`)}if(d.strictSlashes!==!0&&(H.type===`star`||H.type===`bracket`)&&Z({type:`maybe_slash`,value:``,output:`${w}?`}),R.backtrack===!0){R.output=``;for(let e of R.tokens)R.output+=e.output==null?e.value:e.output,e.suffix&&(R.output+=e.suffix)}return R};y.fastpaths=(e,t)=>{let a={...t},o=typeof a.maxLength==`number`?Math.min(i,a.maxLength):i,s=e.length;if(s>o)throw SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${o}`);e=c[e]||e;let l=r.isWindows(t),{DOT_LITERAL:u,SLASH_LITERAL:d,ONE_CHAR:f,DOTS_SLASH:p,NO_DOT:m,NO_DOTS:h,NO_DOTS_SLASH:g,STAR:_,START_ANCHOR:v}=n.globChars(l),y=a.dot?h:m,b=a.dot?g:m,x=a.capture?``:`?:`,S={negated:!1,prefix:``},C=a.bash===!0?`.*?`:_;a.capture&&(C=`(${C})`);let w=e=>e.noglobstar===!0?C:`(${x}(?:(?!${v}${e.dot?p:u}).)*?)`,T=e=>{switch(e){case`*`:return`${y}${f}${C}`;case`.*`:return`${u}${f}${C}`;case`*.*`:return`${y}${C}${u}${f}${C}`;case`*/*`:return`${y}${C}${d}${f}${b}${C}`;case`**`:return y+w(a);case`**/*`:return`(?:${y}${w(a)}${d})?${b}${f}${C}`;case`**/*.*`:return`(?:${y}${w(a)}${d})?${b}${C}${u}${f}${C}`;case`**/.*`:return`(?:${y}${w(a)}${d})?${u}${f}${C}`;default:{let t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;let n=T(t[1]);return n?n+u+t[2]:void 0}}},E=T(r.removePrefix(e,S));return E&&a.strictSlashes!==!0&&(E+=`${d}?`),E},t.exports=y})),Pe=t(((t,n)=>{let r=e(`path`),i=Me(),a=Ne(),o=je(),s=Ae(),c=e=>e&&typeof e==`object`&&!Array.isArray(e),l=(e,t,n=!1)=>{if(Array.isArray(e)){let r=e.map(e=>l(e,t,n));return e=>{for(let t of r){let n=t(e);if(n)return n}return!1}}let r=c(e)&&e.tokens&&e.input;if(e===``||typeof e!=`string`&&!r)throw TypeError(`Expected pattern to be a non-empty string`);let i=t||{},a=o.isWindows(t),s=r?l.compileRe(e,t):l.makeRe(e,t,!1,!0),u=s.state;delete s.state;let d=()=>!1;if(i.ignore){let e={...t,ignore:null,onMatch:null,onResult:null};d=l(i.ignore,e,n)}let f=(n,r=!1)=>{let{isMatch:o,match:c,output:f}=l.test(n,s,t,{glob:e,posix:a}),p={glob:e,state:u,regex:s,posix:a,input:n,output:f,match:c,isMatch:o};return typeof i.onResult==`function`&&i.onResult(p),o===!1?(p.isMatch=!1,r?p:!1):d(n)?(typeof i.onIgnore==`function`&&i.onIgnore(p),p.isMatch=!1,r?p:!1):(typeof i.onMatch==`function`&&i.onMatch(p),r?p:!0)};return n&&(f.state=u),f};l.test=(e,t,n,{glob:r,posix:i}={})=>{if(typeof e!=`string`)throw TypeError(`Expected input to be a string`);if(e===``)return{isMatch:!1,output:``};let a=n||{},s=a.format||(i?o.toPosixSlashes:null),c=e===r,u=c&&s?s(e):e;return c===!1&&(u=s?s(e):e,c=u===r),(c===!1||a.capture===!0)&&(c=a.matchBase===!0||a.basename===!0?l.matchBase(e,t,n,i):t.exec(u)),{isMatch:!!c,match:c,output:u}},l.matchBase=(e,t,n,i=o.isWindows(n))=>(t instanceof RegExp?t:l.makeRe(t,n)).test(r.basename(e)),l.isMatch=(e,t,n)=>l(t,n)(e),l.parse=(e,t)=>Array.isArray(e)?e.map(e=>l.parse(e,t)):a(e,{...t,fastpaths:!1}),l.scan=(e,t)=>i(e,t),l.compileRe=(e,t,n=!1,r=!1)=>{if(n===!0)return e.output;let i=t||{},a=i.contains?``:`^`,o=i.contains?``:`$`,s=`${a}(?:${e.output})${o}`;e&&e.negated===!0&&(s=`^(?!${s}).*$`);let c=l.toRegex(s,t);return r===!0&&(c.state=e),c},l.makeRe=(e,t={},n=!1,r=!1)=>{if(!e||typeof e!=`string`)throw TypeError(`Expected a non-empty string`);let i={negated:!1,fastpaths:!0};return t.fastpaths!==!1&&(e[0]===`.`||e[0]===`*`)&&(i.output=a.fastpaths(e,t)),i.output||(i=a(e,t)),l.compileRe(i,t,n,r)},l.toRegex=(e,t)=>{try{let n=t||{};return new RegExp(e,n.flags||(n.nocase?`i`:``))}catch(e){if(t&&t.debug===!0)throw e;return/$^/}},l.constants=s,n.exports=l})),Fe=t(((e,t)=>{t.exports=Pe()})),Ie=t(((t,n)=>{let r=e(`util`),i=ke(),a=Fe(),o=je(),s=e=>e===``||e===`./`,c=e=>{let t=e.indexOf(`{`);return t>-1&&e.indexOf(`}`,t)>-1},l=(e,t,n)=>{t=[].concat(t),e=[].concat(e);let r=new Set,i=new Set,o=new Set,s=0,c=e=>{o.add(e.output),n&&n.onResult&&n.onResult(e)};for(let o=0;o<t.length;o++){let l=a(String(t[o]),{...n,onResult:c},!0),u=l.state.negated||l.state.negatedExtglob;u&&s++;for(let t of e){let e=l(t,!0);(u?!e.isMatch:e.isMatch)&&(u?r.add(e.output):(r.delete(e.output),i.add(e.output)))}}let l=(s===t.length?[...o]:[...i]).filter(e=>!r.has(e));if(n&&l.length===0){if(n.failglob===!0)throw Error(`No matches found for "${t.join(`, `)}"`);if(n.nonull===!0||n.nullglob===!0)return n.unescape?t.map(e=>e.replace(/\\/g,``)):t}return l};l.match=l,l.matcher=(e,t)=>a(e,t),l.isMatch=(e,t,n)=>a(t,n)(e),l.any=l.isMatch,l.not=(e,t,n={})=>{t=[].concat(t).map(String);let r=new Set,i=[],a=e=>{n.onResult&&n.onResult(e),i.push(e.output)},o=new Set(l(e,t,{...n,onResult:a}));for(let e of i)o.has(e)||r.add(e);return[...r]},l.contains=(e,t,n)=>{if(typeof e!=`string`)throw TypeError(`Expected a string: "${r.inspect(e)}"`);if(Array.isArray(t))return t.some(t=>l.contains(e,t,n));if(typeof t==`string`){if(s(e)||s(t))return!1;if(e.includes(t)||e.startsWith(`./`)&&e.slice(2).includes(t))return!0}return l.isMatch(e,t,{...n,contains:!0})},l.matchKeys=(e,t,n)=>{if(!o.isObject(e))throw TypeError(`Expected the first argument to be an object`);let r=l(Object.keys(e),t,n),i={};for(let t of r)i[t]=e[t];return i},l.some=(e,t,n)=>{let r=[].concat(e);for(let e of[].concat(t)){let t=a(String(e),n);if(r.some(e=>t(e)))return!0}return!1},l.every=(e,t,n)=>{let r=[].concat(e);for(let e of[].concat(t)){let t=a(String(e),n);if(!r.every(e=>t(e)))return!1}return!0},l.all=(e,t,n)=>{if(typeof e!=`string`)throw TypeError(`Expected a string: "${r.inspect(e)}"`);return[].concat(t).every(t=>a(t,n)(e))},l.capture=(e,t,n)=>{let r=o.isWindows(n),i=a.makeRe(String(e),{...n,capture:!0}).exec(r?o.toPosixSlashes(t):t);if(i)return i.slice(1).map(e=>e===void 0?``:e)},l.makeRe=(...e)=>a.makeRe(...e),l.scan=(...e)=>a.scan(...e),l.parse=(e,t)=>{let n=[];for(let r of[].concat(e||[]))for(let e of i(String(r),t))n.push(a.parse(e,t));return n},l.braces=(e,t)=>{if(typeof e!=`string`)throw TypeError(`Expected a string`);return t&&t.nobrace===!0||!c(e)?[e]:i(e,t)},l.braceExpand=(e,t)=>{if(typeof e!=`string`)throw TypeError(`Expected a string`);return l.braces(e,{...t,expand:!0})},l.hasBraces=c,n.exports=l})),Le=t((t=>{Object.defineProperty(t,`__esModule`,{value:!0}),t.isAbsolute=t.partitionAbsoluteAndRelative=t.removeDuplicateSlashes=t.matchAny=t.convertPatternsToRe=t.makeRe=t.getPatternParts=t.expandBraceExpansion=t.expandPatternsWithBraceExpansion=t.isAffectDepthOfReadingPattern=t.endsWithSlashGlobStar=t.hasGlobStar=t.getBaseDirectory=t.isPatternRelatedToParentDirectory=t.getPatternsOutsideCurrentDirectory=t.getPatternsInsideCurrentDirectory=t.getPositivePatterns=t.getNegativePatterns=t.isPositivePattern=t.isNegativePattern=t.convertToNegativePattern=t.convertToPositivePattern=t.isDynamicPattern=t.isStaticPattern=void 0;let n=e(`path`),r=ye(),i=Ie(),a=/[*?]|^!/,o=/\[[^[]*]/,s=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,c=/[!*+?@]\([^(]*\)/,l=/,|\.\./,u=/(?!^)\/{2,}/g;function d(e,t={}){return!f(e,t)}t.isStaticPattern=d;function f(e,t={}){return e===``?!1:!!(t.caseSensitiveMatch===!1||e.includes(`\\`)||a.test(e)||o.test(e)||s.test(e)||t.extglob!==!1&&c.test(e)||t.braceExpansion!==!1&&p(e))}t.isDynamicPattern=f;function p(e){let t=e.indexOf(`{`);if(t===-1)return!1;let n=e.indexOf(`}`,t+1);if(n===-1)return!1;let r=e.slice(t,n);return l.test(r)}function m(e){return g(e)?e.slice(1):e}t.convertToPositivePattern=m;function h(e){return`!`+e}t.convertToNegativePattern=h;function g(e){return e.startsWith(`!`)&&e[1]!==`(`}t.isNegativePattern=g;function _(e){return!g(e)}t.isPositivePattern=_;function v(e){return e.filter(g)}t.getNegativePatterns=v;function y(e){return e.filter(_)}t.getPositivePatterns=y;function b(e){return e.filter(e=>!S(e))}t.getPatternsInsideCurrentDirectory=b;function x(e){return e.filter(S)}t.getPatternsOutsideCurrentDirectory=x;function S(e){return e.startsWith(`..`)||e.startsWith(`./..`)}t.isPatternRelatedToParentDirectory=S;function C(e){return r(e,{flipBackslashes:!1})}t.getBaseDirectory=C;function w(e){return e.includes(`**`)}t.hasGlobStar=w;function T(e){return e.endsWith(`/**`)}t.endsWithSlashGlobStar=T;function E(e){let t=n.basename(e);return T(e)||d(t)}t.isAffectDepthOfReadingPattern=E;function D(e){return e.reduce((e,t)=>e.concat(O(t)),[])}t.expandPatternsWithBraceExpansion=D;function O(e){let t=i.braces(e,{expand:!0,nodupes:!0,keepEscaping:!0});return t.sort((e,t)=>e.length-t.length),t.filter(e=>e!==``)}t.expandBraceExpansion=O;function k(e,t){let{parts:n}=i.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return n.length===0&&(n=[e]),n[0].startsWith(`/`)&&(n[0]=n[0].slice(1),n.unshift(``)),n}t.getPatternParts=k;function A(e,t){return i.makeRe(e,t)}t.makeRe=A;function j(e,t){return e.map(e=>A(e,t))}t.convertPatternsToRe=j;function M(e,t){return t.some(t=>t.test(e))}t.matchAny=M;function N(e){return e.replace(u,`/`)}t.removeDuplicateSlashes=N;function P(e){let t=[],n=[];for(let r of e)F(r)?t.push(r):n.push(r);return[t,n]}t.partitionAbsoluteAndRelative=P;function F(e){return n.isAbsolute(e)}t.isAbsolute=F})),Re=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.merge=void 0;let t=fe();function n(e){let n=t(e);return e.forEach(e=>{e.once(`error`,e=>n.emit(`error`,e))}),n.once(`close`,()=>r(e)),n.once(`end`,()=>r(e)),n}e.merge=n;function r(e){e.forEach(e=>e.emit(`close`))}})),ze=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.isEmpty=e.isString=void 0;function t(e){return typeof e==`string`}e.isString=t;function n(e){return e===``}e.isEmpty=n})),Be=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.string=e.stream=e.pattern=e.path=e.fs=e.errno=e.array=void 0,e.array=pe(),e.errno=me(),e.fs=he(),e.path=ge(),e.pattern=Le(),e.stream=Re(),e.string=ze()})),Ve=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.convertPatternGroupToTask=e.convertPatternGroupsToTasks=e.groupPatternsByBaseDirectory=e.getNegativePatternsAsPositive=e.getPositivePatterns=e.convertPatternsToTasks=e.generate=void 0;let t=Be();function n(e,n){let s=r(e,n),c=r(n.ignore,n),l=a(s),u=o(s,c),d=l.filter(e=>t.pattern.isStaticPattern(e,n)),f=l.filter(e=>t.pattern.isDynamicPattern(e,n)),p=i(d,u,!1),m=i(f,u,!0);return p.concat(m)}e.generate=n;function r(e,n){let r=e;return n.braceExpansion&&(r=t.pattern.expandPatternsWithBraceExpansion(r)),n.baseNameMatch&&(r=r.map(e=>e.includes(`/`)?e:`**/${e}`)),r.map(e=>t.pattern.removeDuplicateSlashes(e))}function i(e,n,r){let i=[],a=t.pattern.getPatternsOutsideCurrentDirectory(e),o=t.pattern.getPatternsInsideCurrentDirectory(e),u=s(a),d=s(o);return i.push(...c(u,n,r)),`.`in d?i.push(l(`.`,o,n,r)):i.push(...c(d,n,r)),i}e.convertPatternsToTasks=i;function a(e){return t.pattern.getPositivePatterns(e)}e.getPositivePatterns=a;function o(e,n){return t.pattern.getNegativePatterns(e).concat(n).map(t.pattern.convertToPositivePattern)}e.getNegativePatternsAsPositive=o;function s(e){return e.reduce((e,n)=>{let r=t.pattern.getBaseDirectory(n);return r in e?e[r].push(n):e[r]=[n],e},{})}e.groupPatternsByBaseDirectory=s;function c(e,t,n){return Object.keys(e).map(r=>l(r,e[r],t,n))}e.convertPatternGroupsToTasks=c;function l(e,n,r,i){return{dynamic:i,positive:n,negative:r,base:e,patterns:[].concat(n,r.map(t.pattern.convertToNegativePattern))}}e.convertPatternGroupToTask=l})),He=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.read=void 0;function t(e,t,i){t.fs.lstat(e,(a,o)=>{if(a!==null){n(i,a);return}if(!o.isSymbolicLink()||!t.followSymbolicLink){r(i,o);return}t.fs.stat(e,(e,a)=>{if(e!==null){if(t.throwErrorOnBrokenSymbolicLink){n(i,e);return}r(i,o);return}t.markSymbolicLink&&(a.isSymbolicLink=()=>!0),r(i,a)})})}e.read=t;function n(e,t){e(t)}function r(e,t){e(null,t)}})),Ue=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.read=void 0;function t(e,t){let n=t.fs.lstatSync(e);if(!n.isSymbolicLink()||!t.followSymbolicLink)return n;try{let n=t.fs.statSync(e);return t.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(e){if(!t.throwErrorOnBrokenSymbolicLink)return n;throw e}}e.read=t})),We=t((t=>{Object.defineProperty(t,`__esModule`,{value:!0}),t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;let n=e(`fs`);t.FILE_SYSTEM_ADAPTER={lstat:n.lstat,stat:n.stat,lstatSync:n.lstatSync,statSync:n.statSync};function r(e){return e===void 0?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}t.createFileSystemAdapter=r})),Ge=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=We();e.default=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=t.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,t){return e??t}}})),Ke=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.statSync=e.stat=e.Settings=void 0;let t=He(),n=Ue(),r=Ge();e.Settings=r.default;function i(e,n,r){if(typeof n==`function`){t.read(e,o(),n);return}t.read(e,o(n),r)}e.stat=i;function a(e,t){let r=o(t);return n.read(e,r)}e.statSync=a;function o(e={}){return e instanceof r.default?e:new r.default(e)}})),qe=t(((e,t)=>{let n;t.exports=typeof queueMicrotask==`function`?queueMicrotask.bind(typeof window<`u`?window:global):e=>(n||=Promise.resolve()).then(e).catch(e=>setTimeout(()=>{throw e},0))})),Je=t(((e,t)=>{t.exports=r;let n=qe();function r(e,t){let r,i,a,o=!0;Array.isArray(e)?(r=[],i=e.length):(a=Object.keys(e),r={},i=a.length);function s(e){function i(){t&&t(e,r),t=null}o?n(i):i()}function c(e,t,n){r[e]=n,(--i===0||t)&&s(t)}i?a?a.forEach(function(t){e[t](function(e,n){c(t,e,n)})}):e.forEach(function(e,t){e(function(e,n){c(t,e,n)})}):s(null),o=!1}})),Ye=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;let t=process.versions.node.split(`.`);if(t[0]===void 0||t[1]===void 0)throw Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);let n=Number.parseInt(t[0],10),r=Number.parseInt(t[1],10);e.IS_SUPPORT_READDIR_WITH_FILE_TYPES=n>10||n===10&&r>=10})),Xe=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.createDirentFromStats=void 0;var t=class{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}};function n(e,n){return new t(e,n)}e.createDirentFromStats=n})),Ze=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.fs=void 0,e.fs=Xe()})),Qe=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.joinPathSegments=void 0;function t(e,t,n){return e.endsWith(n)?e+t:e+n+t}e.joinPathSegments=t})),$e=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.readdir=e.readdirWithFileTypes=e.read=void 0;let t=Ke(),n=Je(),r=Ye(),i=Ze(),a=Qe();function o(e,t,n){if(!t.stats&&r.IS_SUPPORT_READDIR_WITH_FILE_TYPES){s(e,t,n);return}l(e,t,n)}e.read=o;function s(e,t,r){t.fs.readdir(e,{withFileTypes:!0},(i,o)=>{if(i!==null){u(r,i);return}let s=o.map(n=>({dirent:n,name:n.name,path:a.joinPathSegments(e,n.name,t.pathSegmentSeparator)}));if(!t.followSymbolicLinks){d(r,s);return}n(s.map(e=>c(e,t)),(e,t)=>{if(e!==null){u(r,e);return}d(r,t)})})}e.readdirWithFileTypes=s;function c(e,t){return n=>{if(!e.dirent.isSymbolicLink()){n(null,e);return}t.fs.stat(e.path,(r,a)=>{if(r!==null){if(t.throwErrorOnBrokenSymbolicLink){n(r);return}n(null,e);return}e.dirent=i.fs.createDirentFromStats(e.name,a),n(null,e)})}}function l(e,r,o){r.fs.readdir(e,(s,c)=>{if(s!==null){u(o,s);return}n(c.map(n=>{let o=a.joinPathSegments(e,n,r.pathSegmentSeparator);return e=>{t.stat(o,r.fsStatSettings,(t,a)=>{if(t!==null){e(t);return}let s={name:n,path:o,dirent:i.fs.createDirentFromStats(n,a)};r.stats&&(s.stats=a),e(null,s)})}}),(e,t)=>{if(e!==null){u(o,e);return}d(o,t)})})}e.readdir=l;function u(e,t){e(t)}function d(e,t){e(null,t)}})),et=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.readdir=e.readdirWithFileTypes=e.read=void 0;let t=Ke(),n=Ye(),r=Ze(),i=Qe();function a(e,t){return!t.stats&&n.IS_SUPPORT_READDIR_WITH_FILE_TYPES?o(e,t):s(e,t)}e.read=a;function o(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map(n=>{let a={dirent:n,name:n.name,path:i.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(a.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{let e=t.fs.statSync(a.path);a.dirent=r.fs.createDirentFromStats(a.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink)throw e}return a})}e.readdirWithFileTypes=o;function s(e,n){return n.fs.readdirSync(e).map(a=>{let o=i.joinPathSegments(e,a,n.pathSegmentSeparator),s=t.statSync(o,n.fsStatSettings),c={name:a,path:o,dirent:r.fs.createDirentFromStats(a,s)};return n.stats&&(c.stats=s),c})}e.readdir=s})),tt=t((t=>{Object.defineProperty(t,`__esModule`,{value:!0}),t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;let n=e(`fs`);t.FILE_SYSTEM_ADAPTER={lstat:n.lstat,stat:n.stat,lstatSync:n.lstatSync,statSync:n.statSync,readdir:n.readdir,readdirSync:n.readdirSync};function r(e){return e===void 0?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}t.createFileSystemAdapter=r})),nt=t((t=>{Object.defineProperty(t,`__esModule`,{value:!0});let n=e(`path`),r=Ke(),i=tt();t.default=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=i.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,n.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new r.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return e??t}}})),rt=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.Settings=e.scandirSync=e.scandir=void 0;let t=$e(),n=et(),r=nt();e.Settings=r.default;function i(e,n,r){if(typeof n==`function`){t.read(e,o(),n);return}t.read(e,o(n),r)}e.scandir=i;function a(e,t){let r=o(t);return n.read(e,r)}e.scandirSync=a;function o(e={}){return e instanceof r.default?e:new r.default(e)}})),it=t(((e,t)=>{function n(e){var t=new e,n=t;function r(){var r=t;return r.next?t=r.next:(t=new e,n=t),r.next=null,r}function i(e){n.next=e,n=e}return{get:r,release:i}}t.exports=n})),at=t(((e,t)=>{var n=it();function r(e,t,r){if(typeof e==`function`&&(r=t,t=e,e=null),!(r>=1))throw Error(`fastqueue concurrency must be equal to or greater than 1`);var o=n(a),s=null,c=null,l=0,u=null,d={push:v,drain:i,saturated:i,pause:p,paused:!1,get concurrency(){return r},set concurrency(e){if(!(e>=1))throw Error(`fastqueue concurrency must be equal to or greater than 1`);if(r=e,!d.paused)for(;s&&l<r;)l++,b()},running:f,resume:g,idle:_,length:m,getQueue:h,unshift:y,empty:i,kill:x,killAndDrain:S,error:w,abort:C};return d;function f(){return l}function p(){d.paused=!0}function m(){for(var e=s,t=0;e;)e=e.next,t++;return t}function h(){for(var e=s,t=[];e;)t.push(e.value),e=e.next;return t}function g(){if(d.paused){if(d.paused=!1,s===null){l++,b();return}for(;s&&l<r;)l++,b()}}function _(){return l===0&&d.length()===0}function v(n,a){var f=o.get();f.context=e,f.release=b,f.value=n,f.callback=a||i,f.errorHandler=u,l>=r||d.paused?c?(c.next=f,c=f):(s=f,c=f,d.saturated()):(l++,t.call(e,f.value,f.worked))}function y(n,a){var f=o.get();f.context=e,f.release=b,f.value=n,f.callback=a||i,f.errorHandler=u,l>=r||d.paused?s?(f.next=s,s=f):(s=f,c=f,d.saturated()):(l++,t.call(e,f.value,f.worked))}function b(n){n&&o.release(n);var i=s;i&&l<=r?d.paused?l--:(c===s&&(c=null),s=i.next,i.next=null,t.call(e,i.value,i.worked),c===null&&d.empty()):--l===0&&d.drain()}function x(){s=null,c=null,d.drain=i}function S(){s=null,c=null,d.drain(),d.drain=i}function C(){var e=s;for(s=null,c=null;e;){var t=e.next,n=e.callback,r=e.errorHandler,a=e.value,o=e.context;e.value=null,e.callback=i,e.errorHandler=null,r&&r(Error(`abort`),a),n.call(o,Error(`abort`)),e.release(e),e=t}d.drain=i}function w(e){u=e}}function i(){}function a(){this.value=null,this.callback=i,this.next=null,this.release=i,this.context=null,this.errorHandler=null;var e=this;this.worked=function(t,n){var r=e.callback,a=e.errorHandler,o=e.value;e.value=null,e.callback=i,e.errorHandler&&a(t,o),r.call(e.context,t,n),e.release(e)}}function o(e,t,n){typeof e==`function`&&(n=t,t=e,e=null);function a(e,n){t.call(this,e).then(function(e){n(null,e)},n)}var o=r(e,a,n),s=o.push,c=o.unshift;return o.push=l,o.unshift=u,o.drained=d,o;function l(e){var t=new Promise(function(t,n){s(e,function(e,r){if(e){n(e);return}t(r)})});return t.catch(i),t}function u(e){var t=new Promise(function(t,n){c(e,function(e,r){if(e){n(e);return}t(r)})});return t.catch(i),t}function d(){return new Promise(function(e){process.nextTick(function(){if(o.idle())e();else{var t=o.drain;o.drain=function(){typeof t==`function`&&t(),e(),o.drain=t}}})})}}t.exports=r,t.exports.promise=o})),ot=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.joinPathSegments=e.replacePathSegmentSeparator=e.isAppliedFilter=e.isFatalError=void 0;function t(e,t){return e.errorFilter===null?!0:!e.errorFilter(t)}e.isFatalError=t;function n(e,t){return e===null||e(t)}e.isAppliedFilter=n;function r(e,t){return e.split(/[/\\]/).join(t)}e.replacePathSegmentSeparator=r;function i(e,t,n){return e===``?t:e.endsWith(n)?e+t:e+n+t}e.joinPathSegments=i})),st=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=ot();e.default=class{constructor(e,n){this._root=e,this._settings=n,this._root=t.replacePathSegmentSeparator(e,n.pathSegmentSeparator)}}})),ct=t((t=>{Object.defineProperty(t,`__esModule`,{value:!0});let n=e(`events`),r=rt(),i=at(),a=ot(),o=st();t.default=class extends o.default{constructor(e,t){super(e,t),this._settings=t,this._scandir=r.scandir,this._emitter=new n.EventEmitter,this._queue=i(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit(`end`)}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw Error(`The reader is already destroyed`);this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(e){this._emitter.on(`entry`,e)}onError(e){this._emitter.once(`error`,e)}onEnd(e){this._emitter.once(`end`,e)}_pushToQueue(e,t){let n={directory:e,base:t};this._queue.push(n,e=>{e!==null&&this._handleError(e)})}_worker(e,t){this._scandir(e.directory,this._settings.fsScandirSettings,(n,r)=>{if(n!==null){t(n,void 0);return}for(let t of r)this._handleEntry(t,e.base);t(null,void 0)})}_handleError(e){this._isDestroyed||!a.isFatalError(this._settings,e)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit(`error`,e))}_handleEntry(e,t){if(this._isDestroyed||this._isFatalError)return;let n=e.path;t!==void 0&&(e.path=a.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),a.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&a.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,t===void 0?void 0:e.path)}_emitEntry(e){this._emitter.emit(`entry`,e)}}})),lt=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=ct();e.default=class{constructor(e,n){this._root=e,this._settings=n,this._reader=new t.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError(t=>{n(e,t)}),this._reader.onEntry(e=>{this._storage.push(e)}),this._reader.onEnd(()=>{r(e,this._storage)}),this._reader.read()}};function n(e,t){e(t)}function r(e,t){e(null,t)}})),ut=t((t=>{Object.defineProperty(t,`__esModule`,{value:!0});let n=e(`stream`),r=ct();t.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new r.default(this._root,this._settings),this._stream=new n.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(e=>{this._stream.emit(`error`,e)}),this._reader.onEntry(e=>{this._stream.push(e)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}}})),dt=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=rt(),n=ot(),r=st();e.default=class extends r.default{constructor(){super(...arguments),this._scandir=t.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,t){this._queue.add({directory:e,base:t})}_handleQueue(){for(let e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,t){try{let n=this._scandir(e,this._settings.fsScandirSettings);for(let e of n)this._handleEntry(e,t)}catch(e){this._handleError(e)}}_handleError(e){if(n.isFatalError(this._settings,e))throw e}_handleEntry(e,t){let r=e.path;t!==void 0&&(e.path=n.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),n.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&n.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(r,t===void 0?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}}})),ft=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=dt();e.default=class{constructor(e,n){this._root=e,this._settings=n,this._reader=new t.default(this._root,this._settings)}read(){return this._reader.read()}}})),pt=t((t=>{Object.defineProperty(t,`__esModule`,{value:!0});let n=e(`path`),r=rt();t.default=class{constructor(e={}){this._options=e,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,1/0),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,n.sep),this.fsScandirSettings=new r.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return e??t}}})),mt=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.Settings=e.walkStream=e.walkSync=e.walk=void 0;let t=lt(),n=ut(),r=ft(),i=pt();e.Settings=i.default;function a(e,n,r){if(typeof n==`function`){new t.default(e,c()).read(n);return}new t.default(e,c(n)).read(r)}e.walk=a;function o(e,t){let n=c(t);return new r.default(e,n).read()}e.walkSync=o;function s(e,t){let r=c(t);return new n.default(e,r).read()}e.walkStream=s;function c(e={}){return e instanceof i.default?e:new i.default(e)}})),ht=t((t=>{Object.defineProperty(t,`__esModule`,{value:!0});let n=e(`path`),r=Ke(),i=Be();t.default=class{constructor(e){this._settings=e,this._fsStatSettings=new r.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return n.resolve(this._settings.cwd,e)}_makeEntry(e,t){let n={name:t,path:t,dirent:i.fs.createDirentFromStats(t,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!i.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}}})),gt=t((t=>{Object.defineProperty(t,`__esModule`,{value:!0});let n=e(`stream`),r=Ke(),i=mt(),a=ht();t.default=class extends a.default{constructor(){super(...arguments),this._walkStream=i.walkStream,this._stat=r.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){let r=e.map(this._getFullEntryPath,this),i=new n.PassThrough({objectMode:!0});i._write=(n,a,o)=>this._getEntry(r[n],e[n],t).then(e=>{e!==null&&t.entryFilter(e)&&i.push(e),n===r.length-1&&i.end(),o()}).catch(o);for(let e=0;e<r.length;e++)i.write(e);return i}_getEntry(e,t,n){return this._getStat(e).then(e=>this._makeEntry(e,t)).catch(e=>{if(n.errorFilter(e))return null;throw e})}_getStat(e){return new Promise((t,n)=>{this._stat(e,this._fsStatSettings,(e,r)=>e===null?t(r):n(e))})}}})),_t=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=mt(),n=ht(),r=gt();e.default=class extends n.default{constructor(){super(...arguments),this._walkAsync=t.walk,this._readerStream=new r.default(this._settings)}dynamic(e,t){return new Promise((n,r)=>{this._walkAsync(e,t,(e,t)=>{e===null?n(t):r(e)})})}async static(e,t){let n=[],r=this._readerStream.static(e,t);return new Promise((e,t)=>{r.once(`error`,t),r.on(`data`,e=>n.push(e)),r.once(`end`,()=>e(n))})}}})),vt=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=Be();e.default=class{constructor(e,t,n){this._patterns=e,this._settings=t,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){for(let e of this._patterns){let t=this._getPatternSegments(e),n=this._splitSegmentsIntoSections(t);this._storage.push({complete:n.length<=1,pattern:e,segments:t,sections:n})}}_getPatternSegments(e){return t.pattern.getPatternParts(e,this._micromatchOptions).map(e=>t.pattern.isDynamicPattern(e,this._settings)?{dynamic:!0,pattern:e,patternRe:t.pattern.makeRe(e,this._micromatchOptions)}:{dynamic:!1,pattern:e})}_splitSegmentsIntoSections(e){return t.array.splitWhen(e,e=>e.dynamic&&t.pattern.hasGlobStar(e.pattern))}}})),yt=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=vt();e.default=class extends t.default{match(e){let t=e.split(`/`),n=t.length,r=this._storage.filter(e=>!e.complete||e.segments.length>n);for(let e of r){let r=e.sections[0];if(!e.complete&&n>r.length||t.every((t,n)=>{let r=e.segments[n];return!!(r.dynamic&&r.patternRe.test(t)||!r.dynamic&&r.pattern===t)}))return!0}return!1}}})),bt=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=Be(),n=yt();e.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t}getFilter(e,t,n){let r=this._getMatcher(t),i=this._getNegativePatternsRe(n);return t=>this._filter(e,t,r,i)}_getMatcher(e){return new n.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){let n=e.filter(t.pattern.isAffectDepthOfReadingPattern);return t.pattern.convertPatternsToRe(n,this._micromatchOptions)}_filter(e,n,r,i){if(this._isSkippedByDeep(e,n.path)||this._isSkippedSymbolicLink(n))return!1;let a=t.path.removeLeadingDotSegment(n.path);return this._isSkippedByPositivePatterns(a,r)?!1:this._isSkippedByNegativePatterns(a,i)}_isSkippedByDeep(e,t){return this._settings.deep===1/0?!1:this._getEntryLevel(e,t)>=this._settings.deep}_getEntryLevel(e,t){let n=t.split(`/`).length;return e===``?n:n-e.split(`/`).length}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,t){return!this._settings.baseNameMatch&&!t.match(e)}_isSkippedByNegativePatterns(e,n){return!t.pattern.matchAny(e,n)}}})),xt=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=Be();e.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,n){let[r,i]=t.pattern.partitionAbsoluteAndRelative(n),a={positive:{all:t.pattern.convertPatternsToRe(e,this._micromatchOptions)},negative:{absolute:t.pattern.convertPatternsToRe(r,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0})),relative:t.pattern.convertPatternsToRe(i,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}))}};return e=>this._filter(e,a)}_filter(e,n){let r=t.path.removeLeadingDotSegment(e.path);if(this._settings.unique&&this._isDuplicateEntry(r)||this._onlyFileFilter(e)||this._onlyDirectoryFilter(e))return!1;let i=this._isMatchToPatternsSet(r,n,e.dirent.isDirectory());return this._settings.unique&&i&&this._createIndexRecord(r),i}_isDuplicateEntry(e){return this.index.has(e)}_createIndexRecord(e){this.index.set(e,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isMatchToPatternsSet(e,t,n){return!(!this._isMatchToPatterns(e,t.positive.all,n)||this._isMatchToPatterns(e,t.negative.relative,n)||this._isMatchToAbsoluteNegative(e,t.negative.absolute,n))}_isMatchToAbsoluteNegative(e,n,r){if(n.length===0)return!1;let i=t.path.makeAbsolute(this._settings.cwd,e);return this._isMatchToPatterns(i,n,r)}_isMatchToPatterns(e,n,r){if(n.length===0)return!1;let i=t.pattern.matchAny(e,n);return!i&&r?t.pattern.matchAny(e+`/`,n):i}}})),St=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=Be();e.default=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return t.errno.isEnoentCodeError(e)||this._settings.suppressErrors}}})),Ct=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=Be();e.default=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let n=e.path;return this._settings.absolute&&(n=t.path.makeAbsolute(this._settings.cwd,n),n=t.path.unixify(n)),this._settings.markDirectories&&e.dirent.isDirectory()&&(n+=`/`),this._settings.objectMode?Object.assign(Object.assign({},e),{path:n}):n}}})),wt=t((t=>{Object.defineProperty(t,`__esModule`,{value:!0});let n=e(`path`),r=bt(),i=xt(),a=St(),o=Ct();t.default=class{constructor(e){this._settings=e,this.errorFilter=new a.default(this._settings),this.entryFilter=new i.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new r.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new o.default(this._settings)}_getRootDirectory(e){return n.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){let t=e.base===`.`?``:e.base;return{basePath:t,pathSegmentSeparator:`/`,concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(t,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}}})),Tt=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=_t(),n=wt();e.default=class extends n.default{constructor(){super(...arguments),this._reader=new t.default(this._settings)}async read(e){let t=this._getRootDirectory(e),n=this._getReaderOptions(e);return(await this.api(t,e,n)).map(e=>n.transform(e))}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}})),Et=t((t=>{Object.defineProperty(t,`__esModule`,{value:!0});let n=e(`stream`),r=gt(),i=wt();t.default=class extends i.default{constructor(){super(...arguments),this._reader=new r.default(this._settings)}read(e){let t=this._getRootDirectory(e),r=this._getReaderOptions(e),i=this.api(t,e,r),a=new n.Readable({objectMode:!0,read:()=>{}});return i.once(`error`,e=>a.emit(`error`,e)).on(`data`,e=>a.emit(`data`,r.transform(e))).once(`end`,()=>a.emit(`end`)),a.once(`close`,()=>i.destroy()),a}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}})),Dt=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=Ke(),n=mt(),r=ht();e.default=class extends r.default{constructor(){super(...arguments),this._walkSync=n.walkSync,this._statSync=t.statSync}dynamic(e,t){return this._walkSync(e,t)}static(e,t){let n=[];for(let r of e){let e=this._getFullEntryPath(r),i=this._getEntry(e,r,t);i===null||!t.entryFilter(i)||n.push(i)}return n}_getEntry(e,t,n){try{let n=this._getStat(e);return this._makeEntry(n,t)}catch(e){if(n.errorFilter(e))return null;throw e}}_getStat(e){return this._statSync(e,this._fsStatSettings)}}})),Ot=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=Dt(),n=wt();e.default=class extends n.default{constructor(){super(...arguments),this._reader=new t.default(this._settings)}read(e){let t=this._getRootDirectory(e),n=this._getReaderOptions(e);return this.api(t,e,n).map(n.transform)}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}})),kt=t((t=>{Object.defineProperty(t,`__esModule`,{value:!0}),t.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;let n=e(`fs`),r=e(`os`),i=Math.max(r.cpus().length,1);t.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:n.lstat,lstatSync:n.lstatSync,stat:n.stat,statSync:n.statSync,readdir:n.readdir,readdirSync:n.readdirSync},t.default=class{constructor(e={}){this._options=e,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,i),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0),this.ignore=[].concat(this.ignore)}_getValue(e,t){return e===void 0?t:e}_getFileSystemMethods(e={}){return Object.assign(Object.assign({},t.DEFAULT_FILE_SYSTEM_ADAPTER),e)}}})),At=t(((e,t)=>{let n=Ve(),r=Tt(),i=Et(),a=Ot(),o=kt(),s=Be();async function c(e,t){u(e);let n=l(e,r.default,t),i=await Promise.all(n);return s.array.flatten(i)}(function(e){e.glob=e,e.globSync=t,e.globStream=r,e.async=e;function t(e,t){u(e);let n=l(e,a.default,t);return s.array.flatten(n)}e.sync=t;function r(e,t){u(e);let n=l(e,i.default,t);return s.stream.merge(n)}e.stream=r;function c(e,t){u(e);let r=[].concat(e),i=new o.default(t);return n.generate(r,i)}e.generateTasks=c;function d(e,t){u(e);let n=new o.default(t);return s.pattern.isDynamicPattern(e,n)}e.isDynamicPattern=d;function f(e){return u(e),s.path.escape(e)}e.escapePath=f;function p(e){return u(e),s.path.convertPathToPattern(e)}e.convertPathToPattern=p,(function(e){function t(e){return u(e),s.path.escapePosixPath(e)}e.escapePath=t;function n(e){return u(e),s.path.convertPosixPathToPattern(e)}e.convertPathToPattern=n})(e.posix||={}),(function(e){function t(e){return u(e),s.path.escapeWindowsPath(e)}e.escapePath=t;function n(e){return u(e),s.path.convertWindowsPathToPattern(e)}e.convertPathToPattern=n})(e.win32||={})})(c||={});function l(e,t,r){let i=[].concat(e),a=new o.default(r),s=n.generate(i,a),c=new t(a);return s.map(c.read,c)}function u(e){if(![].concat(e).every(e=>s.string.isString(e)&&!s.string.isEmpty(e)))throw TypeError(`Patterns must be a string (non empty) or an array of strings`)}t.exports=c})),jt=t((t=>{let{promisify:n}=e(`util`),r=e(`fs`);async function i(e,t,i){if(typeof i!=`string`)throw TypeError(`Expected a string, got ${typeof i}`);try{return(await n(r[e])(i))[t]()}catch(e){if(e.code===`ENOENT`)return!1;throw e}}function a(e,t,n){if(typeof n!=`string`)throw TypeError(`Expected a string, got ${typeof n}`);try{return r[e](n)[t]()}catch(e){if(e.code===`ENOENT`)return!1;throw e}}t.isFile=i.bind(null,`stat`,`isFile`),t.isDirectory=i.bind(null,`stat`,`isDirectory`),t.isSymlink=i.bind(null,`lstat`,`isSymbolicLink`),t.isFileSync=a.bind(null,`statSync`,`isFile`),t.isDirectorySync=a.bind(null,`statSync`,`isDirectory`),t.isSymlinkSync=a.bind(null,`lstatSync`,`isSymbolicLink`)})),Mt=t(((t,n)=>{let r=e(`path`),i=jt(),a=e=>e.length>1?`{${e.join(`,`)}}`:e[0],o=(e,t)=>{let n=e[0]===`!`?e.slice(1):e;return r.isAbsolute(n)?n:r.join(t,n)},s=(e,t)=>r.extname(e)?`**/${e}`:`**/${e}.${a(t)}`,c=(e,t)=>{if(t.files&&!Array.isArray(t.files))throw TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof t.files}\``);if(t.extensions&&!Array.isArray(t.extensions))throw TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof t.extensions}\``);return t.files&&t.extensions?t.files.map(n=>r.posix.join(e,s(n,t.extensions))):t.files?t.files.map(t=>r.posix.join(e,`**/${t}`)):t.extensions?[r.posix.join(e,`**/*.${a(t.extensions)}`)]:[r.posix.join(e,`**`)]};n.exports=async(e,t)=>{if(t={cwd:process.cwd(),...t},typeof t.cwd!=`string`)throw TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);let n=await Promise.all([].concat(e).map(async e=>await i.isDirectory(o(e,t.cwd))?c(e,t):e));return[].concat.apply([],n)},n.exports.sync=(e,t)=>{if(t={cwd:process.cwd(),...t},typeof t.cwd!=`string`)throw TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);let n=[].concat(e).map(e=>i.isDirectorySync(o(e,t.cwd))?c(e,t):e);return[].concat.apply([],n)}})),Nt=t(((e,t)=>{t.exports=e=>{let t=/^\\\\\?\\/.test(e),n=/[^\u0000-\u0080]+/.test(e);return t||n?e:e.replace(/\\/g,`/`)}})),Pt=t(((t,n)=>{let{promisify:i}=e(`util`),a=e(`fs`),o=e(`path`),s=At(),c=r(),l=Nt(),u=[`**/node_modules/**`,`**/flow-typed/**`,`**/coverage/**`,`**/.git`],d=i(a.readFile),f=e=>t=>t.startsWith(`!`)?`!`+o.posix.join(e,t.slice(1)):o.posix.join(e,t),p=(e,t)=>{let n=l(o.relative(t.cwd,o.dirname(t.fileName)));return e.split(/\r?\n/).filter(Boolean).filter(e=>!e.startsWith(`#`)).map(f(n))},m=e=>{let t=c();for(let n of e)t.add(p(n.content,{cwd:n.cwd,fileName:n.filePath}));return t},h=(e,t)=>{if(e=l(e),o.isAbsolute(t)){if(l(t).startsWith(e))return t;throw Error(`Path ${t} is not in cwd ${e}`)}return o.join(e,t)},g=(e,t)=>n=>e.ignores(l(o.relative(t,h(t,n.path||n)))),_=async(e,t)=>{let n=o.join(t,e);return{cwd:t,filePath:n,content:await d(n,`utf8`)}},v=(e,t)=>{let n=o.join(t,e);return{cwd:t,filePath:n,content:a.readFileSync(n,`utf8`)}},y=({ignore:e=[],cwd:t=l(process.cwd())}={})=>({ignore:e,cwd:t});n.exports=async e=>{e=y(e);let t=await s(`**/.gitignore`,{ignore:u.concat(e.ignore),cwd:e.cwd});return g(m(await Promise.all(t.map(t=>_(t,e.cwd)))),e.cwd)},n.exports.sync=e=>(e=y(e),g(m(s.sync(`**/.gitignore`,{ignore:u.concat(e.ignore),cwd:e.cwd}).map(t=>v(t,e.cwd))),e.cwd))})),Ft=t(((t,n)=>{let{Transform:r}=e(`stream`);var i=class extends r{constructor(){super({objectMode:!0})}};n.exports={FilterStream:class extends i{constructor(e){super(),this._filter=e}_transform(e,t,n){this._filter(e)&&this.push(e),n()}},UniqueStream:class extends i{constructor(){super(),this._pushed=new Set}_transform(e,t,n){this._pushed.has(e)||(this.push(e),this._pushed.add(e)),n()}}}})),It=t(((t,n)=>{let r=e(`fs`),i=de(),a=fe(),o=At(),s=Mt(),c=Pt(),{FilterStream:l,UniqueStream:u}=Ft(),d=()=>!1,f=e=>e[0]===`!`,p=e=>{if(!e.every(e=>typeof e==`string`))throw TypeError(`Patterns must be a string or an array of strings`)},m=(e={})=>{if(!e.cwd)return;let t;try{t=r.statSync(e.cwd)}catch{return}if(!t.isDirectory())throw Error("The `cwd` option must be a path to a directory")},h=e=>e.stats instanceof r.Stats?e.path:e,g=(e,t)=>{e=i([].concat(e)),p(e),m(t);let n=[];t={ignore:[],expandDirectories:!0,...t};for(let[r,i]of e.entries()){if(f(i))continue;let a=e.slice(r).filter(e=>f(e)).map(e=>e.slice(1)),o={...t,ignore:t.ignore.concat(a)};n.push({pattern:i,options:o})}return n},_=(e,t)=>{let n={};return e.options.cwd&&(n.cwd=e.options.cwd),Array.isArray(e.options.expandDirectories)?n={...n,files:e.options.expandDirectories}:typeof e.options.expandDirectories==`object`&&(n={...n,...e.options.expandDirectories}),t(e.pattern,n)},v=(e,t)=>e.options.expandDirectories?_(e,t):[e.pattern],y=e=>e&&e.gitignore?c.sync({cwd:e.cwd,ignore:e.ignore}):d,b=e=>t=>{let{options:n}=e;return n.ignore&&Array.isArray(n.ignore)&&n.expandDirectories&&(n.ignore=s.sync(n.ignore)),{pattern:t,options:n}};n.exports=async(e,t)=>{let n=g(e,t),[r,a]=await Promise.all([(async()=>t&&t.gitignore?c({cwd:t.cwd,ignore:t.ignore}):d)(),(async()=>i(...await Promise.all(n.map(async e=>{let t=await v(e,s);return Promise.all(t.map(b(e)))}))))()]);return i(...await Promise.all(a.map(e=>o(e.pattern,e.options)))).filter(e=>!r(h(e)))},n.exports.sync=(e,t)=>{let n=g(e,t),r=[];for(let e of n){let t=v(e,s.sync).map(b(e));r.push(...t)}let a=y(t),c=[];for(let e of r)c=i(c,o.sync(e.pattern,e.options));return c.filter(e=>!a(e))},n.exports.stream=(e,t)=>{let n=g(e,t),r=[];for(let e of n){let t=v(e,s.sync).map(b(e));r.push(...t)}let i=y(t),c=new l(e=>!i(e)),d=new u;return a(r.map(e=>o.stream(e.pattern,e.options))).pipe(c).pipe(d)},n.exports.generateGlobTasks=g,n.exports.hasMagic=(e,t)=>[].concat(e).some(e=>o.isDynamicPattern(e,t)),n.exports.gitignore=c})),Lt=t(((e,t)=>{t.exports=e=>{if(typeof e!=`string`)throw TypeError(`Expected a string, got `+typeof e);return e.charCodeAt(0)===65279?e.slice(1):e}})),Rt=t(((e,t)=>{function n(e){return e==null}function r(e){return typeof e==`object`&&!!e}function i(e){return Array.isArray(e)?e:n(e)?[]:[e]}function a(e,t){var n,r,i,a;if(t)for(a=Object.keys(t),n=0,r=a.length;n<r;n+=1)i=a[n],e[i]=t[i];return e}function o(e,t){var n=``,r;for(r=0;r<t;r+=1)n+=e;return n}function s(e){return e===0&&1/e==-1/0}t.exports.isNothing=n,t.exports.isObject=r,t.exports.toArray=i,t.exports.repeat=o,t.exports.isNegativeZero=s,t.exports.extend=a})),zt=t(((e,t)=>{function n(e,t){Error.call(this),this.name=`YAMLException`,this.reason=e,this.mark=t,this.message=(this.reason||`(unknown reason)`)+(this.mark?` `+this.mark.toString():``),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||``}n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n.prototype.toString=function(e){var t=this.name+`: `;return t+=this.reason||`(unknown reason)`,!e&&this.mark&&(t+=` `+this.mark.toString()),t},t.exports=n})),Bt=t(((e,t)=>{var n=Rt();function r(e,t,n,r,i){this.name=e,this.buffer=t,this.position=n,this.line=r,this.column=i}r.prototype.getSnippet=function(e,t){var r,i,a,o,s;if(!this.buffer)return null;for(e||=4,t||=75,r=``,i=this.position;i>0&&`\0\r
…\u2028\u2029`.indexOf(this.buffer.charAt(i-1))===-1;)if(--i,this.position-i>t/2-1){r=` ... `,i+=5;break}for(a=``,o=this.position;o<this.buffer.length&&`\0\r
…\u2028\u2029`.indexOf(this.buffer.charAt(o))===-1;)if(o+=1,o-this.position>t/2-1){a=` ... `,o-=5;break}return s=this.buffer.slice(i,o),n.repeat(` `,e)+r+s+a+`
`+n.repeat(` `,e+this.position-i+r.length)+`^`},r.prototype.toString=function(e){var t,n=``;return this.name&&(n+=`in "`+this.name+`" `),n+=`at line `+(this.line+1)+`, column `+(this.column+1),e||(t=this.getSnippet(),t&&(n+=`:
`+t)),n},t.exports=r})),$=t(((e,t)=>{var n=zt(),r=[`kind`,`resolve`,`construct`,`instanceOf`,`predicate`,`represent`,`defaultStyle`,`styleAliases`],i=[`scalar`,`sequence`,`mapping`];function a(e){var t={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(e){t[String(e)]=n})}),t}function o(e,t){if(t||={},Object.keys(t).forEach(function(t){if(r.indexOf(t)===-1)throw new n(`Unknown option "`+t+`" is met in definition of "`+e+`" YAML type.`)}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=a(t.styleAliases||null),i.indexOf(this.kind)===-1)throw new n(`Unknown kind "`+this.kind+`" is specified for "`+e+`" YAML type.`)}t.exports=o})),Vt=t(((e,t)=>{var n=Rt(),r=zt(),i=$();function a(e,t,n){var r=[];return e.include.forEach(function(e){n=a(e,t,n)}),e[t].forEach(function(e){n.forEach(function(t,n){t.tag===e.tag&&t.kind===e.kind&&r.push(n)}),n.push(e)}),n.filter(function(e,t){return r.indexOf(t)===-1})}function o(){var e={scalar:{},sequence:{},mapping:{},fallback:{}},t,n;function r(t){e[t.kind][t.tag]=e.fallback[t.tag]=t}for(t=0,n=arguments.length;t<n;t+=1)arguments[t].forEach(r);return e}function s(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach(function(e){if(e.loadKind&&e.loadKind!==`scalar`)throw new r(`There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.`)}),this.compiledImplicit=a(this,`implicit`,[]),this.compiledExplicit=a(this,`explicit`,[]),this.compiledTypeMap=o(this.compiledImplicit,this.compiledExplicit)}s.DEFAULT=null,s.create=function(){var e,t;switch(arguments.length){case 1:e=s.DEFAULT,t=arguments[0];break;case 2:e=arguments[0],t=arguments[1];break;default:throw new r(`Wrong number of arguments for Schema.create function`)}if(e=n.toArray(e),t=n.toArray(t),!e.every(function(e){return e instanceof s}))throw new r(`Specified list of super schemas (or a single Schema object) contains a non-Schema object.`);if(!t.every(function(e){return e instanceof i}))throw new r(`Specified list of YAML types (or a single Type object) contains a non-Type object.`);return new s({include:e,explicit:t})},t.exports=s})),Ht=t(((e,t)=>{t.exports=new($())(`tag:yaml.org,2002:str`,{kind:`scalar`,construct:function(e){return e===null?``:e}})})),Ut=t(((e,t)=>{t.exports=new($())(`tag:yaml.org,2002:seq`,{kind:`sequence`,construct:function(e){return e===null?[]:e}})})),Wt=t(((e,t)=>{t.exports=new($())(`tag:yaml.org,2002:map`,{kind:`mapping`,construct:function(e){return e===null?{}:e}})})),Gt=t(((e,t)=>{t.exports=new(Vt())({explicit:[Ht(),Ut(),Wt()]})})),Kt=t(((e,t)=>{var n=$();function r(e){if(e===null)return!0;var t=e.length;return t===1&&e===`~`||t===4&&(e===`null`||e===`Null`||e===`NULL`)}function i(){return null}function a(e){return e===null}t.exports=new n(`tag:yaml.org,2002:null`,{kind:`scalar`,resolve:r,construct:i,predicate:a,represent:{canonical:function(){return`~`},lowercase:function(){return`null`},uppercase:function(){return`NULL`},camelcase:function(){return`Null`}},defaultStyle:`lowercase`})})),qt=t(((e,t)=>{var n=$();function r(e){if(e===null)return!1;var t=e.length;return t===4&&(e===`true`||e===`True`||e===`TRUE`)||t===5&&(e===`false`||e===`False`||e===`FALSE`)}function i(e){return e===`true`||e===`True`||e===`TRUE`}function a(e){return Object.prototype.toString.call(e)===`[object Boolean]`}t.exports=new n(`tag:yaml.org,2002:bool`,{kind:`scalar`,resolve:r,construct:i,predicate:a,represent:{lowercase:function(e){return e?`true`:`false`},uppercase:function(e){return e?`TRUE`:`FALSE`},camelcase:function(e){return e?`True`:`False`}},defaultStyle:`lowercase`})})),Jt=t(((e,t)=>{var n=Rt(),r=$();function i(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function a(e){return 48<=e&&e<=55}function o(e){return 48<=e&&e<=57}function s(e){if(e===null)return!1;var t=e.length,n=0,r=!1,s;if(!t)return!1;if(s=e[n],(s===`-`||s===`+`)&&(s=e[++n]),s===`0`){if(n+1===t)return!0;if(s=e[++n],s===`b`){for(n++;n<t;n++)if(s=e[n],s!==`_`){if(s!==`0`&&s!==`1`)return!1;r=!0}return r&&s!==`_`}if(s===`x`){for(n++;n<t;n++)if(s=e[n],s!==`_`){if(!i(e.charCodeAt(n)))return!1;r=!0}return r&&s!==`_`}for(;n<t;n++)if(s=e[n],s!==`_`){if(!a(e.charCodeAt(n)))return!1;r=!0}return r&&s!==`_`}if(s===`_`)return!1;for(;n<t;n++)if(s=e[n],s!==`_`){if(s===`:`)break;if(!o(e.charCodeAt(n)))return!1;r=!0}return!r||s===`_`?!1:s===`:`?/^(:[0-5]?[0-9])+$/.test(e.slice(n)):!0}function c(e){var t=e,n=1,r,i,a=[];return t.indexOf(`_`)!==-1&&(t=t.replace(/_/g,``)),r=t[0],(r===`-`||r===`+`)&&(r===`-`&&(n=-1),t=t.slice(1),r=t[0]),t===`0`?0:r===`0`?t[1]===`b`?n*parseInt(t.slice(2),2):t[1]===`x`?n*parseInt(t,16):n*parseInt(t,8):t.indexOf(`:`)===-1?n*parseInt(t,10):(t.split(`:`).forEach(function(e){a.unshift(parseInt(e,10))}),t=0,i=1,a.forEach(function(e){t+=e*i,i*=60}),n*t)}function l(e){return Object.prototype.toString.call(e)===`[object Number]`&&e%1==0&&!n.isNegativeZero(e)}t.exports=new r(`tag:yaml.org,2002:int`,{kind:`scalar`,resolve:s,construct:c,predicate:l,represent:{binary:function(e){return e>=0?`0b`+e.toString(2):`-0b`+e.toString(2).slice(1)},octal:function(e){return e>=0?`0`+e.toString(8):`-0`+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?`0x`+e.toString(16).toUpperCase():`-0x`+e.toString(16).toUpperCase().slice(1)}},defaultStyle:`decimal`,styleAliases:{binary:[2,`bin`],octal:[8,`oct`],decimal:[10,`dec`],hexadecimal:[16,`hex`]}})})),Yt=t(((e,t)=>{var n=Rt(),r=$(),i=RegExp(`^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function a(e){return!(e===null||!i.test(e)||e[e.length-1]===`_`)}function o(e){var t=e.replace(/_/g,``).toLowerCase(),n=t[0]===`-`?-1:1,r,i=[];return`+-`.indexOf(t[0])>=0&&(t=t.slice(1)),t===`.inf`?n===1?1/0:-1/0:t===`.nan`?NaN:t.indexOf(`:`)>=0?(t.split(`:`).forEach(function(e){i.unshift(parseFloat(e,10))}),t=0,r=1,i.forEach(function(e){t+=e*r,r*=60}),n*t):n*parseFloat(t,10)}var s=/^[-+]?[0-9]+e/;function c(e,t){var r;if(isNaN(e))switch(t){case`lowercase`:return`.nan`;case`uppercase`:return`.NAN`;case`camelcase`:return`.NaN`}else if(e===1/0)switch(t){case`lowercase`:return`.inf`;case`uppercase`:return`.INF`;case`camelcase`:return`.Inf`}else if(e===-1/0)switch(t){case`lowercase`:return`-.inf`;case`uppercase`:return`-.INF`;case`camelcase`:return`-.Inf`}else if(n.isNegativeZero(e))return`-0.0`;return r=e.toString(10),s.test(r)?r.replace(`e`,`.e`):r}function l(e){return Object.prototype.toString.call(e)===`[object Number]`&&(e%1!=0||n.isNegativeZero(e))}t.exports=new r(`tag:yaml.org,2002:float`,{kind:`scalar`,resolve:a,construct:o,predicate:l,represent:c,defaultStyle:`lowercase`})})),Xt=t(((e,t)=>{t.exports=new(Vt())({include:[Gt()],implicit:[Kt(),qt(),Jt(),Yt()]})})),Zt=t(((e,t)=>{t.exports=new(Vt())({include:[Xt()]})})),Qt=t(((e,t)=>{var n=$(),r=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$`),i=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$`);function a(e){return e===null?!1:r.exec(e)!==null||i.exec(e)!==null}function o(e){var t,n,a,o,s,c,l,u=0,d=null,f,p,m;if(t=r.exec(e),t===null&&(t=i.exec(e)),t===null)throw Error(`Date resolve error`);if(n=+t[1],a=t[2]-1,o=+t[3],!t[4])return new Date(Date.UTC(n,a,o));if(s=+t[4],c=+t[5],l=+t[6],t[7]){for(u=t[7].slice(0,3);u.length<3;)u+=`0`;u=+u}return t[9]&&(f=+t[10],p=+(t[11]||0),d=(f*60+p)*6e4,t[9]===`-`&&(d=-d)),m=new Date(Date.UTC(n,a,o,s,c,l,u)),d&&m.setTime(m.getTime()-d),m}function s(e){return e.toISOString()}t.exports=new n(`tag:yaml.org,2002:timestamp`,{kind:`scalar`,resolve:a,construct:o,instanceOf:Date,represent:s})})),$t=t(((e,t)=>{var n=$();function r(e){return e===`<<`||e===null}t.exports=new n(`tag:yaml.org,2002:merge`,{kind:`scalar`,resolve:r})})),en=t(((t,n)=>{var r;try{r=e(`buffer`).Buffer}catch{}var i=$(),a=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;function o(e){if(e===null)return!1;var t,n,r=0,i=e.length,o=a;for(n=0;n<i;n++)if(t=o.indexOf(e.charAt(n)),!(t>64)){if(t<0)return!1;r+=6}return r%8==0}function s(e){var t,n,i=e.replace(/[\r\n=]/g,``),o=i.length,s=a,c=0,l=[];for(t=0;t<o;t++)t%4==0&&t&&(l.push(c>>16&255),l.push(c>>8&255),l.push(c&255)),c=c<<6|s.indexOf(i.charAt(t));return n=o%4*6,n===0?(l.push(c>>16&255),l.push(c>>8&255),l.push(c&255)):n===18?(l.push(c>>10&255),l.push(c>>2&255)):n===12&&l.push(c>>4&255),r?r.from?r.from(l):new r(l):l}function c(e){var t=``,n=0,r,i,o=e.length,s=a;for(r=0;r<o;r++)r%3==0&&r&&(t+=s[n>>18&63],t+=s[n>>12&63],t+=s[n>>6&63],t+=s[n&63]),n=(n<<8)+e[r];return i=o%3,i===0?(t+=s[n>>18&63],t+=s[n>>12&63],t+=s[n>>6&63],t+=s[n&63]):i===2?(t+=s[n>>10&63],t+=s[n>>4&63],t+=s[n<<2&63],t+=s[64]):i===1&&(t+=s[n>>2&63],t+=s[n<<4&63],t+=s[64],t+=s[64]),t}function l(e){return r&&r.isBuffer(e)}n.exports=new i(`tag:yaml.org,2002:binary`,{kind:`scalar`,resolve:o,construct:s,predicate:l,represent:c})})),tn=t(((e,t)=>{var n=$(),r=Object.prototype.hasOwnProperty,i=Object.prototype.toString;function a(e){if(e===null)return!0;var t=[],n,a,o,s,c,l=e;for(n=0,a=l.length;n<a;n+=1){if(o=l[n],c=!1,i.call(o)!==`[object Object]`)return!1;for(s in o)if(r.call(o,s))if(!c)c=!0;else return!1;if(!c)return!1;if(t.indexOf(s)===-1)t.push(s);else return!1}return!0}function o(e){return e===null?[]:e}t.exports=new n(`tag:yaml.org,2002:omap`,{kind:`sequence`,resolve:a,construct:o})})),nn=t(((e,t)=>{var n=$(),r=Object.prototype.toString;function i(e){if(e===null)return!0;var t,n,i,a,o,s=e;for(o=Array(s.length),t=0,n=s.length;t<n;t+=1){if(i=s[t],r.call(i)!==`[object Object]`||(a=Object.keys(i),a.length!==1))return!1;o[t]=[a[0],i[a[0]]]}return!0}function a(e){if(e===null)return[];var t,n,r,i,a,o=e;for(a=Array(o.length),t=0,n=o.length;t<n;t+=1)r=o[t],i=Object.keys(r),a[t]=[i[0],r[i[0]]];return a}t.exports=new n(`tag:yaml.org,2002:pairs`,{kind:`sequence`,resolve:i,construct:a})})),rn=t(((e,t)=>{var n=$(),r=Object.prototype.hasOwnProperty;function i(e){if(e===null)return!0;var t,n=e;for(t in n)if(r.call(n,t)&&n[t]!==null)return!1;return!0}function a(e){return e===null?{}:e}t.exports=new n(`tag:yaml.org,2002:set`,{kind:`mapping`,resolve:i,construct:a})})),an=t(((e,t)=>{t.exports=new(Vt())({include:[Zt()],implicit:[Qt(),$t()],explicit:[en(),tn(),nn(),rn()]})})),on=t(((e,t)=>{var n=$();function r(){return!0}function i(){}function a(){return``}function o(e){return e===void 0}t.exports=new n(`tag:yaml.org,2002:js/undefined`,{kind:`scalar`,resolve:r,construct:i,predicate:o,represent:a})})),sn=t(((e,t)=>{var n=$();function r(e){if(e===null||e.length===0)return!1;var t=e,n=/\/([gim]*)$/.exec(e),r=``;return!(t[0]===`/`&&(n&&(r=n[1]),r.length>3||t[t.length-r.length-1]!==`/`))}function i(e){var t=e,n=/\/([gim]*)$/.exec(e),r=``;return t[0]===`/`&&(n&&(r=n[1]),t=t.slice(1,t.length-r.length-1)),new RegExp(t,r)}function a(e){var t=`/`+e.source+`/`;return e.global&&(t+=`g`),e.multiline&&(t+=`m`),e.ignoreCase&&(t+=`i`),t}function o(e){return Object.prototype.toString.call(e)===`[object RegExp]`}t.exports=new n(`tag:yaml.org,2002:js/regexp`,{kind:`scalar`,resolve:r,construct:i,predicate:o,represent:a})})),cn=t(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r():typeof define==`function`&&define.amd?define([],r):typeof e==`object`?e.esprima=r():n.esprima=r()})(e,function(){return(function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p=``,n(0)})([function(e,t,n){Object.defineProperty(t,`__esModule`,{value:!0});var r=n(1),i=n(3),a=n(8),o=n(15);function s(e,t,n){var o=null,s=function(e,t){n&&n(e,t),o&&o.visit(e,t)},c=typeof n==`function`?s:null,l=!1;if(t){l=typeof t.comment==`boolean`&&t.comment;var u=typeof t.attachComment==`boolean`&&t.attachComment;(l||u)&&(o=new r.CommentHandler,o.attach=u,t.comment=!0,c=s)}var d=!1;t&&typeof t.sourceType==`string`&&(d=t.sourceType===`module`);var f=t&&typeof t.jsx==`boolean`&&t.jsx?new i.JSXParser(e,t,c):new a.Parser(e,t,c),p=d?f.parseModule():f.parseScript();return l&&o&&(p.comments=o.comments),f.config.tokens&&(p.tokens=f.tokens),f.config.tolerant&&(p.errors=f.errorHandler.errors),p}t.parse=s;function c(e,t,n){var r=t||{};return r.sourceType=`module`,s(e,r,n)}t.parseModule=c;function l(e,t,n){var r=t||{};return r.sourceType=`script`,s(e,r,n)}t.parseScript=l;function u(e,t,n){var r=new o.Tokenizer(e,t),i=[];try{for(;;){var a=r.getNextToken();if(!a)break;n&&(a=n(a)),i.push(a)}}catch(e){r.errorHandler.tolerate(e)}return r.errorHandler.tolerant&&(i.errors=r.errors()),i}t.tokenize=u,t.Syntax=n(2).Syntax,t.version=`4.0.1`},function(e,t,n){Object.defineProperty(t,`__esModule`,{value:!0});var r=n(2);t.CommentHandler=function(){function e(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return e.prototype.insertInnerComments=function(e,t){if(e.type===r.Syntax.BlockStatement&&e.body.length===0){for(var n=[],i=this.leading.length-1;i>=0;--i){var a=this.leading[i];t.end.offset>=a.start&&(n.unshift(a.comment),this.leading.splice(i,1),this.trailing.splice(i,1))}n.length&&(e.innerComments=n)}},e.prototype.findTrailingComments=function(e){var t=[];if(this.trailing.length>0){for(var n=this.trailing.length-1;n>=0;--n){var r=this.trailing[n];r.start>=e.end.offset&&t.unshift(r.comment)}return this.trailing.length=0,t}var i=this.stack[this.stack.length-1];if(i&&i.node.trailingComments){var a=i.node.trailingComments[0];a&&a.range[0]>=e.end.offset&&(t=i.node.trailingComments,delete i.node.trailingComments)}return t},e.prototype.findLeadingComments=function(e){for(var t=[],n;this.stack.length>0;){var r=this.stack[this.stack.length-1];if(r&&r.start>=e.start.offset)n=r.node,this.stack.pop();else break}if(n){for(var i=(n.leadingComments?n.leadingComments.length:0)-1;i>=0;--i){var a=n.leadingComments[i];a.range[1]<=e.start.offset&&(t.unshift(a),n.leadingComments.splice(i,1))}return n.leadingComments&&n.leadingComments.length===0&&delete n.leadingComments,t}for(var i=this.leading.length-1;i>=0;--i){var r=this.leading[i];r.start<=e.start.offset&&(t.unshift(r.comment),this.leading.splice(i,1))}return t},e.prototype.visitNode=function(e,t){if(!(e.type===r.Syntax.Program&&e.body.length>0)){this.insertInnerComments(e,t);var n=this.findTrailingComments(t),i=this.findLeadingComments(t);i.length>0&&(e.leadingComments=i),n.length>0&&(e.trailingComments=n),this.stack.push({node:e,start:t.start.offset})}},e.prototype.visitComment=function(e,t){var n=e.type[0]===`L`?`Line`:`Block`,r={type:n,value:e.value};if(e.range&&(r.range=e.range),e.loc&&(r.loc=e.loc),this.comments.push(r),this.attach){var i={comment:{type:n,value:e.value,range:[t.start.offset,t.end.offset]},start:t.start.offset};e.loc&&(i.comment.loc=e.loc),e.type=n,this.leading.push(i),this.trailing.push(i)}},e.prototype.visit=function(e,t){e.type===`LineComment`||e.type===`BlockComment`?this.visitComment(e,t):this.attach&&this.visitNode(e,t)},e}()},function(e,t){Object.defineProperty(t,`__esModule`,{value:!0}),t.Syntax={AssignmentExpression:`AssignmentExpression`,AssignmentPattern:`AssignmentPattern`,ArrayExpression:`ArrayExpression`,ArrayPattern:`ArrayPattern`,ArrowFunctionExpression:`ArrowFunctionExpression`,AwaitExpression:`AwaitExpression`,BlockStatement:`BlockStatement`,BinaryExpression:`BinaryExpression`,BreakStatement:`BreakStatement`,CallExpression:`CallExpression`,CatchClause:`CatchClause`,ClassBody:`ClassBody`,ClassDeclaration:`ClassDeclaration`,ClassExpression:`ClassExpression`,ConditionalExpression:`ConditionalExpression`,ContinueStatement:`ContinueStatement`,DoWhileStatement:`DoWhileStatement`,DebuggerStatement:`DebuggerStatement`,EmptyStatement:`EmptyStatement`,ExportAllDeclaration:`ExportAllDeclaration`,ExportDefaultDeclaration:`ExportDefaultDeclaration`,ExportNamedDeclaration:`ExportNamedDeclaration`,ExportSpecifier:`ExportSpecifier`,ExpressionStatement:`ExpressionStatement`,ForStatement:`ForStatement`,ForOfStatement:`ForOfStatement`,ForInStatement:`ForInStatement`,FunctionDeclaration:`FunctionDeclaration`,FunctionExpression:`FunctionExpression`,Identifier:`Identifier`,IfStatement:`IfStatement`,ImportDeclaration:`ImportDeclaration`,ImportDefaultSpecifier:`ImportDefaultSpecifier`,ImportNamespaceSpecifier:`ImportNamespaceSpecifier`,ImportSpecifier:`ImportSpecifier`,Literal:`Literal`,LabeledStatement:`LabeledStatement`,LogicalExpression:`LogicalExpression`,MemberExpression:`MemberExpression`,MetaProperty:`MetaProperty`,MethodDefinition:`MethodDefinition`,NewExpression:`NewExpression`,ObjectExpression:`ObjectExpression`,ObjectPattern:`ObjectPattern`,Program:`Program`,Property:`Property`,RestElement:`RestElement`,ReturnStatement:`ReturnStatement`,SequenceExpression:`SequenceExpression`,SpreadElement:`SpreadElement`,Super:`Super`,SwitchCase:`SwitchCase`,SwitchStatement:`SwitchStatement`,TaggedTemplateExpression:`TaggedTemplateExpression`,TemplateElement:`TemplateElement`,TemplateLiteral:`TemplateLiteral`,ThisExpression:`ThisExpression`,ThrowStatement:`ThrowStatement`,TryStatement:`TryStatement`,UnaryExpression:`UnaryExpression`,UpdateExpression:`UpdateExpression`,VariableDeclaration:`VariableDeclaration`,VariableDeclarator:`VariableDeclarator`,WhileStatement:`WhileStatement`,WithStatement:`WithStatement`,YieldExpression:`YieldExpression`}},function(e,t,n){var r=this&&this.__extends||(function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})();Object.defineProperty(t,`__esModule`,{value:!0});var i=n(4),a=n(5),o=n(6),s=n(7),c=n(8),l=n(13),u=n(14);l.TokenName[100]=`JSXIdentifier`,l.TokenName[101]=`JSXText`;function d(e){var t;switch(e.type){case o.JSXSyntax.JSXIdentifier:t=e.name;break;case o.JSXSyntax.JSXNamespacedName:var n=e;t=d(n.namespace)+`:`+d(n.name);break;case o.JSXSyntax.JSXMemberExpression:var r=e;t=d(r.object)+`.`+d(r.property);break;default:break}return t}t.JSXParser=function(e){r(t,e);function t(t,n,r){return e.call(this,t,n,r)||this}return t.prototype.parsePrimaryExpression=function(){return this.match(`<`)?this.parseJSXRoot():e.prototype.parsePrimaryExpression.call(this)},t.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},t.prototype.finishJSX=function(){this.nextToken()},t.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX(`}`),this.config.tokens&&this.tokens.pop()},t.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},t.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},t.prototype.scanXHTMLEntity=function(e){for(var t=`&`,n=!0,r=!1,a=!1,o=!1;!this.scanner.eof()&&n&&!r;){var s=this.scanner.source[this.scanner.index];if(s===e)break;if(r=s===`;`,t+=s,++this.scanner.index,!r)switch(t.length){case 2:a=s===`#`;break;case 3:a&&(o=s===`x`,n=o||i.Character.isDecimalDigit(s.charCodeAt(0)),a&&=!o);break;default:n&&=!(a&&!i.Character.isDecimalDigit(s.charCodeAt(0))),n&&=!(o&&!i.Character.isHexDigit(s.charCodeAt(0)));break}}if(n&&r&&t.length>2){var c=t.substr(1,t.length-2);a&&c.length>1?t=String.fromCharCode(parseInt(c.substr(1),10)):o&&c.length>2?t=String.fromCharCode(parseInt(`0`+c.substr(1),16)):!a&&!o&&u.XHTMLEntities[c]&&(t=u.XHTMLEntities[c])}return t},t.prototype.lexJSX=function(){var e=this.scanner.source.charCodeAt(this.scanner.index);if(e===60||e===62||e===47||e===58||e===61||e===123||e===125){var t=this.scanner.source[this.scanner.index++];return{type:7,value:t,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index}}if(e===34||e===39){for(var n=this.scanner.index,r=this.scanner.source[this.scanner.index++],a=``;!this.scanner.eof();){var o=this.scanner.source[this.scanner.index++];if(o===r)break;o===`&`?a+=this.scanXHTMLEntity(r):a+=o}return{type:8,value:a,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:n,end:this.scanner.index}}if(e===46){var s=this.scanner.source.charCodeAt(this.scanner.index+1),c=this.scanner.source.charCodeAt(this.scanner.index+2),t=s===46&&c===46?`...`:`.`,n=this.scanner.index;return this.scanner.index+=t.length,{type:7,value:t,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:n,end:this.scanner.index}}if(e===96)return{type:10,value:``,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(i.Character.isIdentifierStart(e)&&e!==92){var n=this.scanner.index;for(++this.scanner.index;!this.scanner.eof();){var o=this.scanner.source.charCodeAt(this.scanner.index);if(i.Character.isIdentifierPart(o)&&o!==92)++this.scanner.index;else if(o===45)++this.scanner.index;else break}return{type:100,value:this.scanner.source.slice(n,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:n,end:this.scanner.index}}return this.scanner.lex()},t.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var e=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(e)),e},t.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var e=this.scanner.index,t=``;!this.scanner.eof();){var n=this.scanner.source[this.scanner.index];if(n===`{`||n===`<`)break;++this.scanner.index,t+=n,i.Character.isLineTerminator(n.charCodeAt(0))&&(++this.scanner.lineNumber,n===`\r`&&this.scanner.source[this.scanner.index]===`
`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var r={type:101,value:t,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:e,end:this.scanner.index};return t.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(r)),r},t.prototype.peekJSXToken=function(){var e=this.scanner.saveState();this.scanner.scanComments();var t=this.lexJSX();return this.scanner.restoreState(e),t},t.prototype.expectJSX=function(e){var t=this.nextJSXToken();(t.type!==7||t.value!==e)&&this.throwUnexpectedToken(t)},t.prototype.matchJSX=function(e){var t=this.peekJSXToken();return t.type===7&&t.value===e},t.prototype.parseJSXIdentifier=function(){var e=this.createJSXNode(),t=this.nextJSXToken();return t.type!==100&&this.throwUnexpectedToken(t),this.finalize(e,new a.JSXIdentifier(t.value))},t.prototype.parseJSXElementName=function(){var e=this.createJSXNode(),t=this.parseJSXIdentifier();if(this.matchJSX(`:`)){var n=t;this.expectJSX(`:`);var r=this.parseJSXIdentifier();t=this.finalize(e,new a.JSXNamespacedName(n,r))}else if(this.matchJSX(`.`))for(;this.matchJSX(`.`);){var i=t;this.expectJSX(`.`);var o=this.parseJSXIdentifier();t=this.finalize(e,new a.JSXMemberExpression(i,o))}return t},t.prototype.parseJSXAttributeName=function(){var e=this.createJSXNode(),t,n=this.parseJSXIdentifier();if(this.matchJSX(`:`)){var r=n;this.expectJSX(`:`);var i=this.parseJSXIdentifier();t=this.finalize(e,new a.JSXNamespacedName(r,i))}else t=n;return t},t.prototype.parseJSXStringLiteralAttribute=function(){var e=this.createJSXNode(),t=this.nextJSXToken();t.type!==8&&this.throwUnexpectedToken(t);var n=this.getTokenRaw(t);return this.finalize(e,new s.Literal(t.value,n))},t.prototype.parseJSXExpressionAttribute=function(){var e=this.createJSXNode();this.expectJSX(`{`),this.finishJSX(),this.match(`}`)&&this.tolerateError(`JSX attributes must only be assigned a non-empty expression`);var t=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(e,new a.JSXExpressionContainer(t))},t.prototype.parseJSXAttributeValue=function(){return this.matchJSX(`{`)?this.parseJSXExpressionAttribute():this.matchJSX(`<`)?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},t.prototype.parseJSXNameValueAttribute=function(){var e=this.createJSXNode(),t=this.parseJSXAttributeName(),n=null;return this.matchJSX(`=`)&&(this.expectJSX(`=`),n=this.parseJSXAttributeValue()),this.finalize(e,new a.JSXAttribute(t,n))},t.prototype.parseJSXSpreadAttribute=function(){var e=this.createJSXNode();this.expectJSX(`{`),this.expectJSX(`...`),this.finishJSX();var t=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(e,new a.JSXSpreadAttribute(t))},t.prototype.parseJSXAttributes=function(){for(var e=[];!this.matchJSX(`/`)&&!this.matchJSX(`>`);){var t=this.matchJSX(`{`)?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();e.push(t)}return e},t.prototype.parseJSXOpeningElement=function(){var e=this.createJSXNode();this.expectJSX(`<`);var t=this.parseJSXElementName(),n=this.parseJSXAttributes(),r=this.matchJSX(`/`);return r&&this.expectJSX(`/`),this.expectJSX(`>`),this.finalize(e,new a.JSXOpeningElement(t,r,n))},t.prototype.parseJSXBoundaryElement=function(){var e=this.createJSXNode();if(this.expectJSX(`<`),this.matchJSX(`/`)){this.expectJSX(`/`);var t=this.parseJSXElementName();return this.expectJSX(`>`),this.finalize(e,new a.JSXClosingElement(t))}var n=this.parseJSXElementName(),r=this.parseJSXAttributes(),i=this.matchJSX(`/`);return i&&this.expectJSX(`/`),this.expectJSX(`>`),this.finalize(e,new a.JSXOpeningElement(n,i,r))},t.prototype.parseJSXEmptyExpression=function(){var e=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(e,new a.JSXEmptyExpression)},t.prototype.parseJSXExpressionContainer=function(){var e=this.createJSXNode();this.expectJSX(`{`);var t;return this.matchJSX(`}`)?(t=this.parseJSXEmptyExpression(),this.expectJSX(`}`)):(this.finishJSX(),t=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(e,new a.JSXExpressionContainer(t))},t.prototype.parseJSXChildren=function(){for(var e=[];!this.scanner.eof();){var t=this.createJSXChildNode(),n=this.nextJSXText();if(n.start<n.end){var r=this.getTokenRaw(n),i=this.finalize(t,new a.JSXText(n.value,r));e.push(i)}if(this.scanner.source[this.scanner.index]===`{`){var o=this.parseJSXExpressionContainer();e.push(o)}else break}return e},t.prototype.parseComplexJSXElement=function(e){for(var t=[];!this.scanner.eof();){e.children=e.children.concat(this.parseJSXChildren());var n=this.createJSXChildNode(),r=this.parseJSXBoundaryElement();if(r.type===o.JSXSyntax.JSXOpeningElement){var i=r;if(i.selfClosing){var s=this.finalize(n,new a.JSXElement(i,[],null));e.children.push(s)}else t.push(e),e={node:n,opening:i,closing:null,children:[]}}if(r.type===o.JSXSyntax.JSXClosingElement){e.closing=r;var c=d(e.opening.name);if(c!==d(e.closing.name)&&this.tolerateError(`Expected corresponding JSX closing tag for %0`,c),t.length>0){var s=this.finalize(e.node,new a.JSXElement(e.opening,e.children,e.closing));e=t[t.length-1],e.children.push(s),t.pop()}else break}}return e},t.prototype.parseJSXElement=function(){var e=this.createJSXNode(),t=this.parseJSXOpeningElement(),n=[],r=null;if(!t.selfClosing){var i=this.parseComplexJSXElement({node:e,opening:t,closing:r,children:n});n=i.children,r=i.closing}return this.finalize(e,new a.JSXElement(t,n,r))},t.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var e=this.parseJSXElement();return this.finishJSX(),e},t.prototype.isStartOfExpression=function(){return e.prototype.isStartOfExpression.call(this)||this.match(`<`)},t}(c.Parser)},function(e,t){Object.defineProperty(t,`__esModule`,{value:!0});var n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\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-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\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\u0D5F-\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-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\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\u2118-\u211D\u2124\u2126\u2128\u212A-\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\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\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-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\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\u0AF9\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\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\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\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\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\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\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-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\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\u2118-\u211D\u2124\u2126\u2128\u212A-\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\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\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-\uFE2F\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};t.Character={fromCodePoint:function(e){return e<65536?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10))+String.fromCharCode(56320+(e-65536&1023))},isWhiteSpace:function(e){return e===32||e===9||e===11||e===12||e===160||e>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(e)>=0},isLineTerminator:function(e){return e===10||e===13||e===8232||e===8233},isIdentifierStart:function(e){return e===36||e===95||e>=65&&e<=90||e>=97&&e<=122||e===92||e>=128&&n.NonAsciiIdentifierStart.test(t.Character.fromCodePoint(e))},isIdentifierPart:function(e){return e===36||e===95||e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===92||e>=128&&n.NonAsciiIdentifierPart.test(t.Character.fromCodePoint(e))},isDecimalDigit:function(e){return e>=48&&e<=57},isHexDigit:function(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102},isOctalDigit:function(e){return e>=48&&e<=55}}},function(e,t,n){Object.defineProperty(t,`__esModule`,{value:!0});var r=n(6);t.JSXClosingElement=function(){function e(e){this.type=r.JSXSyntax.JSXClosingElement,this.name=e}return e}(),t.JSXElement=function(){function e(e,t,n){this.type=r.JSXSyntax.JSXElement,this.openingElement=e,this.children=t,this.closingElement=n}return e}(),t.JSXEmptyExpression=function(){function e(){this.type=r.JSXSyntax.JSXEmptyExpression}return e}(),t.JSXExpressionContainer=function(){function e(e){this.type=r.JSXSyntax.JSXExpressionContainer,this.expression=e}return e}(),t.JSXIdentifier=function(){function e(e){this.type=r.JSXSyntax.JSXIdentifier,this.name=e}return e}(),t.JSXMemberExpression=function(){function e(e,t){this.type=r.JSXSyntax.JSXMemberExpression,this.object=e,this.property=t}return e}(),t.JSXAttribute=function(){function e(e,t){this.type=r.JSXSyntax.JSXAttribute,this.name=e,this.value=t}return e}(),t.JSXNamespacedName=function(){function e(e,t){this.type=r.JSXSyntax.JSXNamespacedName,this.namespace=e,this.name=t}return e}(),t.JSXOpeningElement=function(){function e(e,t,n){this.type=r.JSXSyntax.JSXOpeningElement,this.name=e,this.selfClosing=t,this.attributes=n}return e}(),t.JSXSpreadAttribute=function(){function e(e){this.type=r.JSXSyntax.JSXSpreadAttribute,this.argument=e}return e}(),t.JSXText=function(){function e(e,t){this.type=r.JSXSyntax.JSXText,this.value=e,this.raw=t}return e}()},function(e,t){Object.defineProperty(t,`__esModule`,{value:!0}),t.JSXSyntax={JSXAttribute:`JSXAttribute`,JSXClosingElement:`JSXClosingElement`,JSXElement:`JSXElement`,JSXEmptyExpression:`JSXEmptyExpression`,JSXExpressionContainer:`JSXExpressionContainer`,JSXIdentifier:`JSXIdentifier`,JSXMemberExpression:`JSXMemberExpression`,JSXNamespacedName:`JSXNamespacedName`,JSXOpeningElement:`JSXOpeningElement`,JSXSpreadAttribute:`JSXSpreadAttribute`,JSXText:`JSXText`}},function(e,t,n){Object.defineProperty(t,`__esModule`,{value:!0});var r=n(2);t.ArrayExpression=function(){function e(e){this.type=r.Syntax.ArrayExpression,this.elements=e}return e}(),t.ArrayPattern=function(){function e(e){this.type=r.Syntax.ArrayPattern,this.elements=e}return e}(),t.ArrowFunctionExpression=function(){function e(e,t,n){this.type=r.Syntax.ArrowFunctionExpression,this.id=null,this.params=e,this.body=t,this.generator=!1,this.expression=n,this.async=!1}return e}(),t.AssignmentExpression=function(){function e(e,t,n){this.type=r.Syntax.AssignmentExpression,this.operator=e,this.left=t,this.right=n}return e}(),t.AssignmentPattern=function(){function e(e,t){this.type=r.Syntax.AssignmentPattern,this.left=e,this.right=t}return e}(),t.AsyncArrowFunctionExpression=function(){function e(e,t,n){this.type=r.Syntax.ArrowFunctionExpression,this.id=null,this.params=e,this.body=t,this.generator=!1,this.expression=n,this.async=!0}return e}(),t.AsyncFunctionDeclaration=function(){function e(e,t,n){this.type=r.Syntax.FunctionDeclaration,this.id=e,this.params=t,this.body=n,this.generator=!1,this.expression=!1,this.async=!0}return e}(),t.AsyncFunctionExpression=function(){function e(e,t,n){this.type=r.Syntax.FunctionExpression,this.id=e,this.params=t,this.body=n,this.generator=!1,this.expression=!1,this.async=!0}return e}(),t.AwaitExpression=function(){function e(e){this.type=r.Syntax.AwaitExpression,this.argument=e}return e}(),t.BinaryExpression=function(){function e(e,t,n){var i=e===`||`||e===`&&`;this.type=i?r.Syntax.LogicalExpression:r.Syntax.BinaryExpression,this.operator=e,this.left=t,this.right=n}return e}(),t.BlockStatement=function(){function e(e){this.type=r.Syntax.BlockStatement,this.body=e}return e}(),t.BreakStatement=function(){function e(e){this.type=r.Syntax.BreakStatement,this.label=e}return e}(),t.CallExpression=function(){function e(e,t){this.type=r.Syntax.CallExpression,this.callee=e,this.arguments=t}return e}(),t.CatchClause=function(){function e(e,t){this.type=r.Syntax.CatchClause,this.param=e,this.body=t}return e}(),t.ClassBody=function(){function e(e){this.type=r.Syntax.ClassBody,this.body=e}return e}(),t.ClassDeclaration=function(){function e(e,t,n){this.type=r.Syntax.ClassDeclaration,this.id=e,this.superClass=t,this.body=n}return e}(),t.ClassExpression=function(){function e(e,t,n){this.type=r.Syntax.ClassExpression,this.id=e,this.superClass=t,this.body=n}return e}(),t.ComputedMemberExpression=function(){function e(e,t){this.type=r.Syntax.MemberExpression,this.computed=!0,this.object=e,this.property=t}return e}(),t.ConditionalExpression=function(){function e(e,t,n){this.type=r.Syntax.ConditionalExpression,this.test=e,this.consequent=t,this.alternate=n}return e}(),t.ContinueStatement=function(){function e(e){this.type=r.Syntax.ContinueStatement,this.label=e}return e}(),t.DebuggerStatement=function(){function e(){this.type=r.Syntax.DebuggerStatement}return e}(),t.Directive=function(){function e(e,t){this.type=r.Syntax.ExpressionStatement,this.expression=e,this.directive=t}return e}(),t.DoWhileStatement=function(){function e(e,t){this.type=r.Syntax.DoWhileStatement,this.body=e,this.test=t}return e}(),t.EmptyStatement=function(){function e(){this.type=r.Syntax.EmptyStatement}return e}(),t.ExportAllDeclaration=function(){function e(e){this.type=r.Syntax.ExportAllDeclaration,this.source=e}return e}(),t.ExportDefaultDeclaration=function(){function e(e){this.type=r.Syntax.ExportDefaultDeclaration,this.declaration=e}return e}(),t.ExportNamedDeclaration=function(){function e(e,t,n){this.type=r.Syntax.ExportNamedDeclaration,this.declaration=e,this.specifiers=t,this.source=n}return e}(),t.ExportSpecifier=function(){function e(e,t){this.type=r.Syntax.ExportSpecifier,this.exported=t,this.local=e}return e}(),t.ExpressionStatement=function(){function e(e){this.type=r.Syntax.ExpressionStatement,this.expression=e}return e}(),t.ForInStatement=function(){function e(e,t,n){this.type=r.Syntax.ForInStatement,this.left=e,this.right=t,this.body=n,this.each=!1}return e}(),t.ForOfStatement=function(){function e(e,t,n){this.type=r.Syntax.ForOfStatement,this.left=e,this.right=t,this.body=n}return e}(),t.ForStatement=function(){function e(e,t,n,i){this.type=r.Syntax.ForStatement,this.init=e,this.test=t,this.update=n,this.body=i}return e}(),t.FunctionDeclaration=function(){function e(e,t,n,i){this.type=r.Syntax.FunctionDeclaration,this.id=e,this.params=t,this.body=n,this.generator=i,this.expression=!1,this.async=!1}return e}(),t.FunctionExpression=function(){function e(e,t,n,i){this.type=r.Syntax.FunctionExpression,this.id=e,this.params=t,this.body=n,this.generator=i,this.expression=!1,this.async=!1}return e}(),t.Identifier=function(){function e(e){this.type=r.Syntax.Identifier,this.name=e}return e}(),t.IfStatement=function(){function e(e,t,n){this.type=r.Syntax.IfStatement,this.test=e,this.consequent=t,this.alternate=n}return e}(),t.ImportDeclaration=function(){function e(e,t){this.type=r.Syntax.ImportDeclaration,this.specifiers=e,this.source=t}return e}(),t.ImportDefaultSpecifier=function(){function e(e){this.type=r.Syntax.ImportDefaultSpecifier,this.local=e}return e}(),t.ImportNamespaceSpecifier=function(){function e(e){this.type=r.Syntax.ImportNamespaceSpecifier,this.local=e}return e}(),t.ImportSpecifier=function(){function e(e,t){this.type=r.Syntax.ImportSpecifier,this.local=e,this.imported=t}return e}(),t.LabeledStatement=function(){function e(e,t){this.type=r.Syntax.LabeledStatement,this.label=e,this.body=t}return e}(),t.Literal=function(){function e(e,t){this.type=r.Syntax.Literal,this.value=e,this.raw=t}return e}(),t.MetaProperty=function(){function e(e,t){this.type=r.Syntax.MetaProperty,this.meta=e,this.property=t}return e}(),t.MethodDefinition=function(){function e(e,t,n,i,a){this.type=r.Syntax.MethodDefinition,this.key=e,this.computed=t,this.value=n,this.kind=i,this.static=a}return e}(),t.Module=function(){function e(e){this.type=r.Syntax.Program,this.body=e,this.sourceType=`module`}return e}(),t.NewExpression=function(){function e(e,t){this.type=r.Syntax.NewExpression,this.callee=e,this.arguments=t}return e}(),t.ObjectExpression=function(){function e(e){this.type=r.Syntax.ObjectExpression,this.properties=e}return e}(),t.ObjectPattern=function(){function e(e){this.type=r.Syntax.ObjectPattern,this.properties=e}return e}(),t.Property=function(){function e(e,t,n,i,a,o){this.type=r.Syntax.Property,this.key=t,this.computed=n,this.value=i,this.kind=e,this.method=a,this.shorthand=o}return e}(),t.RegexLiteral=function(){function e(e,t,n,i){this.type=r.Syntax.Literal,this.value=e,this.raw=t,this.regex={pattern:n,flags:i}}return e}(),t.RestElement=function(){function e(e){this.type=r.Syntax.RestElement,this.argument=e}return e}(),t.ReturnStatement=function(){function e(e){this.type=r.Syntax.ReturnStatement,this.argument=e}return e}(),t.Script=function(){function e(e){this.type=r.Syntax.Program,this.body=e,this.sourceType=`script`}return e}(),t.SequenceExpression=function(){function e(e){this.type=r.Syntax.SequenceExpression,this.expressions=e}return e}(),t.SpreadElement=function(){function e(e){this.type=r.Syntax.SpreadElement,this.argument=e}return e}(),t.StaticMemberExpression=function(){function e(e,t){this.type=r.Syntax.MemberExpression,this.computed=!1,this.object=e,this.property=t}return e}(),t.Super=function(){function e(){this.type=r.Syntax.Super}return e}(),t.SwitchCase=function(){function e(e,t){this.type=r.Syntax.SwitchCase,this.test=e,this.consequent=t}return e}(),t.SwitchStatement=function(){function e(e,t){this.type=r.Syntax.SwitchStatement,this.discriminant=e,this.cases=t}return e}(),t.TaggedTemplateExpression=function(){function e(e,t){this.type=r.Syntax.TaggedTemplateExpression,this.tag=e,this.quasi=t}return e}(),t.TemplateElement=function(){function e(e,t){this.type=r.Syntax.TemplateElement,this.value=e,this.tail=t}return e}(),t.TemplateLiteral=function(){function e(e,t){this.type=r.Syntax.TemplateLiteral,this.quasis=e,this.expressions=t}return e}(),t.ThisExpression=function(){function e(){this.type=r.Syntax.ThisExpression}return e}(),t.ThrowStatement=function(){function e(e){this.type=r.Syntax.ThrowStatement,this.argument=e}return e}(),t.TryStatement=function(){function e(e,t,n){this.type=r.Syntax.TryStatement,this.block=e,this.handler=t,this.finalizer=n}return e}(),t.UnaryExpression=function(){function e(e,t){this.type=r.Syntax.UnaryExpression,this.operator=e,this.argument=t,this.prefix=!0}return e}(),t.UpdateExpression=function(){function e(e,t,n){this.type=r.Syntax.UpdateExpression,this.operator=e,this.argument=t,this.prefix=n}return e}(),t.VariableDeclaration=function(){function e(e,t){this.type=r.Syntax.VariableDeclaration,this.declarations=e,this.kind=t}return e}(),t.VariableDeclarator=function(){function e(e,t){this.type=r.Syntax.VariableDeclarator,this.id=e,this.init=t}return e}(),t.WhileStatement=function(){function e(e,t){this.type=r.Syntax.WhileStatement,this.test=e,this.body=t}return e}(),t.WithStatement=function(){function e(e,t){this.type=r.Syntax.WithStatement,this.object=e,this.body=t}return e}(),t.YieldExpression=function(){function e(e,t){this.type=r.Syntax.YieldExpression,this.argument=e,this.delegate=t}return e}()},function(e,t,n){Object.defineProperty(t,`__esModule`,{value:!0});var r=n(9),i=n(10),a=n(11),o=n(7),s=n(12),c=n(2),l=n(13),u=`ArrowParameterPlaceHolder`;t.Parser=function(){function e(e,t,n){t===void 0&&(t={}),this.config={range:typeof t.range==`boolean`&&t.range,loc:typeof t.loc==`boolean`&&t.loc,source:null,tokens:typeof t.tokens==`boolean`&&t.tokens,comment:typeof t.comment==`boolean`&&t.comment,tolerant:typeof t.tolerant==`boolean`&&t.tolerant},this.config.loc&&t.source&&t.source!==null&&(this.config.source=String(t.source)),this.delegate=n,this.errorHandler=new i.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new s.Scanner(e,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:``,lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return e.prototype.throwError=function(e){var t=Array.prototype.slice.call(arguments,1),n=e.replace(/%(\d)/g,function(e,n){return r.assert(n<t.length,`Message reference must be in range`),t[n]}),i=this.lastMarker.index,a=this.lastMarker.line,o=this.lastMarker.column+1;throw this.errorHandler.createError(i,a,o,n)},e.prototype.tolerateError=function(e){var t=Array.prototype.slice.call(arguments,1),n=e.replace(/%(\d)/g,function(e,n){return r.assert(n<t.length,`Message reference must be in range`),t[n]}),i=this.lastMarker.index,a=this.scanner.lineNumber,o=this.lastMarker.column+1;this.errorHandler.tolerateError(i,a,o,n)},e.prototype.unexpectedTokenError=function(e,t){var n=t||a.Messages.UnexpectedToken,r;if(e?(t||(n=e.type===2?a.Messages.UnexpectedEOS:e.type===3?a.Messages.UnexpectedIdentifier:e.type===6?a.Messages.UnexpectedNumber:e.type===8?a.Messages.UnexpectedString:e.type===10?a.Messages.UnexpectedTemplate:a.Messages.UnexpectedToken,e.type===4&&(this.scanner.isFutureReservedWord(e.value)?n=a.Messages.UnexpectedReserved:this.context.strict&&this.scanner.isStrictModeReservedWord(e.value)&&(n=a.Messages.StrictReservedWord))),r=e.value):r=`ILLEGAL`,n=n.replace(`%0`,r),e&&typeof e.lineNumber==`number`){var i=e.start,o=e.lineNumber,s=this.lastMarker.index-this.lastMarker.column,c=e.start-s+1;return this.errorHandler.createError(i,o,c,n)}else{var i=this.lastMarker.index,o=this.lastMarker.line,c=this.lastMarker.column+1;return this.errorHandler.createError(i,o,c,n)}},e.prototype.throwUnexpectedToken=function(e,t){throw this.unexpectedTokenError(e,t)},e.prototype.tolerateUnexpectedToken=function(e,t){this.errorHandler.tolerate(this.unexpectedTokenError(e,t))},e.prototype.collectComments=function(){if(!this.config.comment)this.scanner.scanComments();else{var e=this.scanner.scanComments();if(e.length>0&&this.delegate)for(var t=0;t<e.length;++t){var n=e[t],r=void 0;r={type:n.multiLine?`BlockComment`:`LineComment`,value:this.scanner.source.slice(n.slice[0],n.slice[1])},this.config.range&&(r.range=n.range),this.config.loc&&(r.loc=n.loc);var i={start:{line:n.loc.start.line,column:n.loc.start.column,offset:n.range[0]},end:{line:n.loc.end.line,column:n.loc.end.column,offset:n.range[1]}};this.delegate(r,i)}}},e.prototype.getTokenRaw=function(e){return this.scanner.source.slice(e.start,e.end)},e.prototype.convertToken=function(e){var t={type:l.TokenName[e.type],value:this.getTokenRaw(e)};return this.config.range&&(t.range=[e.start,e.end]),this.config.loc&&(t.loc={start:{line:this.startMarker.line,column:this.startMarker.column},end:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}),e.type===9&&(t.regex={pattern:e.pattern,flags:e.flags}),t},e.prototype.nextToken=function(){var e=this.lookahead;this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.collectComments(),this.scanner.index!==this.startMarker.index&&(this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart);var t=this.scanner.lex();return this.hasLineTerminator=e.lineNumber!==t.lineNumber,t&&this.context.strict&&t.type===3&&this.scanner.isStrictModeReservedWord(t.value)&&(t.type=4),this.lookahead=t,this.config.tokens&&t.type!==2&&this.tokens.push(this.convertToken(t)),e},e.prototype.nextRegexToken=function(){this.collectComments();var e=this.scanner.scanRegExp();return this.config.tokens&&(this.tokens.pop(),this.tokens.push(this.convertToken(e))),this.lookahead=e,this.nextToken(),e},e.prototype.createNode=function(){return{index:this.startMarker.index,line:this.startMarker.line,column:this.startMarker.column}},e.prototype.startNode=function(e,t){t===void 0&&(t=0);var n=e.start-e.lineStart,r=e.lineNumber;return n<0&&(n+=t,r--),{index:e.start,line:r,column:n}},e.prototype.finalize=function(e,t){if(this.config.range&&(t.range=[e.index,this.lastMarker.index]),this.config.loc&&(t.loc={start:{line:e.line,column:e.column},end:{line:this.lastMarker.line,column:this.lastMarker.column}},this.config.source&&(t.loc.source=this.config.source)),this.delegate){var n={start:{line:e.line,column:e.column,offset:e.index},end:{line:this.lastMarker.line,column:this.lastMarker.column,offset:this.lastMarker.index}};this.delegate(t,n)}return t},e.prototype.expect=function(e){var t=this.nextToken();(t.type!==7||t.value!==e)&&this.throwUnexpectedToken(t)},e.prototype.expectCommaSeparator=function(){if(this.config.tolerant){var e=this.lookahead;e.type===7&&e.value===`,`?this.nextToken():e.type===7&&e.value===`;`?(this.nextToken(),this.tolerateUnexpectedToken(e)):this.tolerateUnexpectedToken(e,a.Messages.UnexpectedToken)}else this.expect(`,`)},e.prototype.expectKeyword=function(e){var t=this.nextToken();(t.type!==4||t.value!==e)&&this.throwUnexpectedToken(t)},e.prototype.match=function(e){return this.lookahead.type===7&&this.lookahead.value===e},e.prototype.matchKeyword=function(e){return this.lookahead.type===4&&this.lookahead.value===e},e.prototype.matchContextualKeyword=function(e){return this.lookahead.type===3&&this.lookahead.value===e},e.prototype.matchAssign=function(){if(this.lookahead.type!==7)return!1;var e=this.lookahead.value;return e===`=`||e===`*=`||e===`**=`||e===`/=`||e===`%=`||e===`+=`||e===`-=`||e===`<<=`||e===`>>=`||e===`>>>=`||e===`&=`||e===`^=`||e===`|=`},e.prototype.isolateCoverGrammar=function(e){var t=this.context.isBindingElement,n=this.context.isAssignmentTarget,r=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var i=e.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=t,this.context.isAssignmentTarget=n,this.context.firstCoverInitializedNameError=r,i},e.prototype.inheritCoverGrammar=function(e){var t=this.context.isBindingElement,n=this.context.isAssignmentTarget,r=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var i=e.call(this);return this.context.isBindingElement=this.context.isBindingElement&&t,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&n,this.context.firstCoverInitializedNameError=r||this.context.firstCoverInitializedNameError,i},e.prototype.consumeSemicolon=function(){this.match(`;`)?this.nextToken():this.hasLineTerminator||(this.lookahead.type!==2&&!this.match(`}`)&&this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},e.prototype.parsePrimaryExpression=function(){var e=this.createNode(),t,n,r;switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value===`await`&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(e,new o.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,a.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,n=this.nextToken(),r=this.getTokenRaw(n),t=this.finalize(e,new o.Literal(n.value,r));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,n=this.nextToken(),r=this.getTokenRaw(n),t=this.finalize(e,new o.Literal(n.value===`true`,r));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,n=this.nextToken(),r=this.getTokenRaw(n),t=this.finalize(e,new o.Literal(null,r));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case`(`:this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case`[`:t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case`{`:t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case`/`:case`/=`:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,n=this.nextRegexToken(),r=this.getTokenRaw(n),t=this.finalize(e,new o.RegexLiteral(n.regex,r,n.pattern,n.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword(`yield`)?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword(`let`)?t=this.finalize(e,new o.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword(`function`)?t=this.parseFunctionExpression():this.matchKeyword(`this`)?(this.nextToken(),t=this.finalize(e,new o.ThisExpression)):t=this.matchKeyword(`class`)?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},e.prototype.parseSpreadElement=function(){var e=this.createNode();this.expect(`...`);var t=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(e,new o.SpreadElement(t))},e.prototype.parseArrayInitializer=function(){var e=this.createNode(),t=[];for(this.expect(`[`);!this.match(`]`);)if(this.match(`,`))this.nextToken(),t.push(null);else if(this.match(`...`)){var n=this.parseSpreadElement();this.match(`]`)||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(`,`)),t.push(n)}else t.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match(`]`)||this.expect(`,`);return this.expect(`]`),this.finalize(e,new o.ArrayExpression(t))},e.prototype.parsePropertyMethod=function(e){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var t=this.context.strict,n=this.context.allowStrictDirective;this.context.allowStrictDirective=e.simple;var r=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&e.firstRestricted&&this.tolerateUnexpectedToken(e.firstRestricted,e.message),this.context.strict&&e.stricted&&this.tolerateUnexpectedToken(e.stricted,e.message),this.context.strict=t,this.context.allowStrictDirective=n,r},e.prototype.parsePropertyMethodFunction=function(){var e=!1,t=this.createNode(),n=this.context.allowYield;this.context.allowYield=!0;var r=this.parseFormalParameters(),i=this.parsePropertyMethod(r);return this.context.allowYield=n,this.finalize(t,new o.FunctionExpression(null,r.params,i,e))},e.prototype.parsePropertyMethodAsyncFunction=function(){var e=this.createNode(),t=this.context.allowYield,n=this.context.await;this.context.allowYield=!1,this.context.await=!0;var r=this.parseFormalParameters(),i=this.parsePropertyMethod(r);return this.context.allowYield=t,this.context.await=n,this.finalize(e,new o.AsyncFunctionExpression(null,r.params,i))},e.prototype.parseObjectPropertyKey=function(){var e=this.createNode(),t=this.nextToken(),n;switch(t.type){case 8:case 6:this.context.strict&&t.octal&&this.tolerateUnexpectedToken(t,a.Messages.StrictOctalLiteral);var r=this.getTokenRaw(t);n=this.finalize(e,new o.Literal(t.value,r));break;case 3:case 1:case 5:case 4:n=this.finalize(e,new o.Identifier(t.value));break;case 7:t.value===`[`?(n=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect(`]`)):n=this.throwUnexpectedToken(t);break;default:n=this.throwUnexpectedToken(t)}return n},e.prototype.isPropertyKey=function(e,t){return e.type===c.Syntax.Identifier&&e.name===t||e.type===c.Syntax.Literal&&e.value===t},e.prototype.parseObjectProperty=function(e){var t=this.createNode(),n=this.lookahead,r,i=null,s=null,c=!1,l=!1,u=!1,d=!1;if(n.type===3){var f=n.value;this.nextToken(),c=this.match(`[`),d=!this.hasLineTerminator&&f===`async`&&!this.match(`:`)&&!this.match(`(`)&&!this.match(`*`)&&!this.match(`,`),i=d?this.parseObjectPropertyKey():this.finalize(t,new o.Identifier(f))}else this.match(`*`)?this.nextToken():(c=this.match(`[`),i=this.parseObjectPropertyKey());var p=this.qualifiedPropertyName(this.lookahead);if(n.type===3&&!d&&n.value===`get`&&p)r=`get`,c=this.match(`[`),i=this.parseObjectPropertyKey(),this.context.allowYield=!1,s=this.parseGetterMethod();else if(n.type===3&&!d&&n.value===`set`&&p)r=`set`,c=this.match(`[`),i=this.parseObjectPropertyKey(),s=this.parseSetterMethod();else if(n.type===7&&n.value===`*`&&p)r=`init`,c=this.match(`[`),i=this.parseObjectPropertyKey(),s=this.parseGeneratorMethod(),l=!0;else if(i||this.throwUnexpectedToken(this.lookahead),r=`init`,this.match(`:`)&&!d)!c&&this.isPropertyKey(i,`__proto__`)&&(e.value&&this.tolerateError(a.Messages.DuplicateProtoProperty),e.value=!0),this.nextToken(),s=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match(`(`))s=d?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),l=!0;else if(n.type===3){var f=this.finalize(t,new o.Identifier(n.value));if(this.match(`=`)){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),u=!0;var m=this.isolateCoverGrammar(this.parseAssignmentExpression);s=this.finalize(t,new o.AssignmentPattern(f,m))}else u=!0,s=f}else this.throwUnexpectedToken(this.nextToken());return this.finalize(t,new o.Property(r,i,c,s,l,u))},e.prototype.parseObjectInitializer=function(){var e=this.createNode();this.expect(`{`);for(var t=[],n={value:!1};!this.match(`}`);)t.push(this.parseObjectProperty(n)),this.match(`}`)||this.expectCommaSeparator();return this.expect(`}`),this.finalize(e,new o.ObjectExpression(t))},e.prototype.parseTemplateHead=function(){r.assert(this.lookahead.head,`Template literal must start with a template head`);var e=this.createNode(),t=this.nextToken(),n=t.value,i=t.cooked;return this.finalize(e,new o.TemplateElement({raw:n,cooked:i},t.tail))},e.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var e=this.createNode(),t=this.nextToken(),n=t.value,r=t.cooked;return this.finalize(e,new o.TemplateElement({raw:n,cooked:r},t.tail))},e.prototype.parseTemplateLiteral=function(){var e=this.createNode(),t=[],n=[],r=this.parseTemplateHead();for(n.push(r);!r.tail;)t.push(this.parseExpression()),r=this.parseTemplateElement(),n.push(r);return this.finalize(e,new o.TemplateLiteral(n,t))},e.prototype.reinterpretExpressionAsPattern=function(e){switch(e.type){case c.Syntax.Identifier:case c.Syntax.MemberExpression:case c.Syntax.RestElement:case c.Syntax.AssignmentPattern:break;case c.Syntax.SpreadElement:e.type=c.Syntax.RestElement,this.reinterpretExpressionAsPattern(e.argument);break;case c.Syntax.ArrayExpression:e.type=c.Syntax.ArrayPattern;for(var t=0;t<e.elements.length;t++)e.elements[t]!==null&&this.reinterpretExpressionAsPattern(e.elements[t]);break;case c.Syntax.ObjectExpression:e.type=c.Syntax.ObjectPattern;for(var t=0;t<e.properties.length;t++)this.reinterpretExpressionAsPattern(e.properties[t].value);break;case c.Syntax.AssignmentExpression:e.type=c.Syntax.AssignmentPattern,delete e.operator,this.reinterpretExpressionAsPattern(e.left);break;default:break}},e.prototype.parseGroupExpression=function(){var e;if(this.expect(`(`),this.match(`)`))this.nextToken(),this.match(`=>`)||this.expect(`=>`),e={type:u,params:[],async:!1};else{var t=this.lookahead,n=[];if(this.match(`...`))e=this.parseRestElement(n),this.expect(`)`),this.match(`=>`)||this.expect(`=>`),e={type:u,params:[e],async:!1};else{var r=!1;if(this.context.isBindingElement=!0,e=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(`,`)){var i=[];for(this.context.isAssignmentTarget=!1,i.push(e);this.lookahead.type!==2&&this.match(`,`);){if(this.nextToken(),this.match(`)`)){this.nextToken();for(var a=0;a<i.length;a++)this.reinterpretExpressionAsPattern(i[a]);r=!0,e={type:u,params:i,async:!1}}else if(this.match(`...`)){this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),i.push(this.parseRestElement(n)),this.expect(`)`),this.match(`=>`)||this.expect(`=>`),this.context.isBindingElement=!1;for(var a=0;a<i.length;a++)this.reinterpretExpressionAsPattern(i[a]);r=!0,e={type:u,params:i,async:!1}}else i.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(r)break}r||(e=this.finalize(this.startNode(t),new o.SequenceExpression(i)))}if(!r){if(this.expect(`)`),this.match(`=>`)&&(e.type===c.Syntax.Identifier&&e.name===`yield`&&(r=!0,e={type:u,params:[e],async:!1}),!r)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),e.type===c.Syntax.SequenceExpression)for(var a=0;a<e.expressions.length;a++)this.reinterpretExpressionAsPattern(e.expressions[a]);else this.reinterpretExpressionAsPattern(e);e={type:u,params:e.type===c.Syntax.SequenceExpression?e.expressions:[e],async:!1}}this.context.isBindingElement=!1}}}return e},e.prototype.parseArguments=function(){this.expect(`(`);var e=[];if(!this.match(`)`))for(;;){var t=this.match(`...`)?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAssignmentExpression);if(e.push(t),this.match(`)`)||(this.expectCommaSeparator(),this.match(`)`)))break}return this.expect(`)`),e},e.prototype.isIdentifierName=function(e){return e.type===3||e.type===4||e.type===1||e.type===5},e.prototype.parseIdentifierName=function(){var e=this.createNode(),t=this.nextToken();return this.isIdentifierName(t)||this.throwUnexpectedToken(t),this.finalize(e,new o.Identifier(t.value))},e.prototype.parseNewExpression=function(){var e=this.createNode(),t=this.parseIdentifierName();r.assert(t.name===`new`,"New expression must start with `new`");var n;if(this.match(`.`))if(this.nextToken(),this.lookahead.type===3&&this.context.inFunctionBody&&this.lookahead.value===`target`){var i=this.parseIdentifierName();n=new o.MetaProperty(t,i)}else this.throwUnexpectedToken(this.lookahead);else{var a=this.isolateCoverGrammar(this.parseLeftHandSideExpression),s=this.match(`(`)?this.parseArguments():[];n=new o.NewExpression(a,s),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return this.finalize(e,n)},e.prototype.parseAsyncArgument=function(){var e=this.parseAssignmentExpression();return this.context.firstCoverInitializedNameError=null,e},e.prototype.parseAsyncArguments=function(){this.expect(`(`);var e=[];if(!this.match(`)`))for(;;){var t=this.match(`...`)?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAsyncArgument);if(e.push(t),this.match(`)`)||(this.expectCommaSeparator(),this.match(`)`)))break}return this.expect(`)`),e},e.prototype.parseLeftHandSideExpressionAllowCall=function(){var e=this.lookahead,t=this.matchContextualKeyword(`async`),n=this.context.allowIn;this.context.allowIn=!0;var r;for(this.matchKeyword(`super`)&&this.context.inFunctionBody?(r=this.createNode(),this.nextToken(),r=this.finalize(r,new o.Super),!this.match(`(`)&&!this.match(`.`)&&!this.match(`[`)&&this.throwUnexpectedToken(this.lookahead)):r=this.inheritCoverGrammar(this.matchKeyword(`new`)?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match(`.`)){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(`.`);var i=this.parseIdentifierName();r=this.finalize(this.startNode(e),new o.StaticMemberExpression(r,i))}else if(this.match(`(`)){var a=t&&e.lineNumber===this.lookahead.lineNumber;this.context.isBindingElement=!1,this.context.isAssignmentTarget=!1;var s=a?this.parseAsyncArguments():this.parseArguments();if(r=this.finalize(this.startNode(e),new o.CallExpression(r,s)),a&&this.match(`=>`)){for(var c=0;c<s.length;++c)this.reinterpretExpressionAsPattern(s[c]);r={type:u,params:s,async:!0}}}else if(this.match(`[`)){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(`[`);var i=this.isolateCoverGrammar(this.parseExpression);this.expect(`]`),r=this.finalize(this.startNode(e),new o.ComputedMemberExpression(r,i))}else if(this.lookahead.type===10&&this.lookahead.head){var l=this.parseTemplateLiteral();r=this.finalize(this.startNode(e),new o.TaggedTemplateExpression(r,l))}else break;return this.context.allowIn=n,r},e.prototype.parseSuper=function(){var e=this.createNode();return this.expectKeyword(`super`),!this.match(`[`)&&!this.match(`.`)&&this.throwUnexpectedToken(this.lookahead),this.finalize(e,new o.Super)},e.prototype.parseLeftHandSideExpression=function(){r.assert(this.context.allowIn,`callee of new expression always allow in keyword.`);for(var e=this.startNode(this.lookahead),t=this.matchKeyword(`super`)&&this.context.inFunctionBody?this.parseSuper():this.inheritCoverGrammar(this.matchKeyword(`new`)?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match(`[`)){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(`[`);var n=this.isolateCoverGrammar(this.parseExpression);this.expect(`]`),t=this.finalize(e,new o.ComputedMemberExpression(t,n))}else if(this.match(`.`)){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(`.`);var n=this.parseIdentifierName();t=this.finalize(e,new o.StaticMemberExpression(t,n))}else if(this.lookahead.type===10&&this.lookahead.head){var i=this.parseTemplateLiteral();t=this.finalize(e,new o.TaggedTemplateExpression(t,i))}else break;return t},e.prototype.parseUpdateExpression=function(){var e,t=this.lookahead;if(this.match(`++`)||this.match(`--`)){var n=this.startNode(t),r=this.nextToken();e=this.inheritCoverGrammar(this.parseUnaryExpression),this.context.strict&&e.type===c.Syntax.Identifier&&this.scanner.isRestrictedWord(e.name)&&this.tolerateError(a.Messages.StrictLHSPrefix),this.context.isAssignmentTarget||this.tolerateError(a.Messages.InvalidLHSInAssignment);var i=!0;e=this.finalize(n,new o.UpdateExpression(r.value,e,i)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else if(e=this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall),!this.hasLineTerminator&&this.lookahead.type===7&&(this.match(`++`)||this.match(`--`))){this.context.strict&&e.type===c.Syntax.Identifier&&this.scanner.isRestrictedWord(e.name)&&this.tolerateError(a.Messages.StrictLHSPostfix),this.context.isAssignmentTarget||this.tolerateError(a.Messages.InvalidLHSInAssignment),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var s=this.nextToken().value,i=!1;e=this.finalize(this.startNode(t),new o.UpdateExpression(s,e,i))}return e},e.prototype.parseAwaitExpression=function(){var e=this.createNode();this.nextToken();var t=this.parseUnaryExpression();return this.finalize(e,new o.AwaitExpression(t))},e.prototype.parseUnaryExpression=function(){var e;if(this.match(`+`)||this.match(`-`)||this.match(`~`)||this.match(`!`)||this.matchKeyword(`delete`)||this.matchKeyword(`void`)||this.matchKeyword(`typeof`)){var t=this.startNode(this.lookahead),n=this.nextToken();e=this.inheritCoverGrammar(this.parseUnaryExpression),e=this.finalize(t,new o.UnaryExpression(n.value,e)),this.context.strict&&e.operator===`delete`&&e.argument.type===c.Syntax.Identifier&&this.tolerateError(a.Messages.StrictDelete),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else e=this.context.await&&this.matchContextualKeyword(`await`)?this.parseAwaitExpression():this.parseUpdateExpression();return e},e.prototype.parseExponentiationExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseUnaryExpression);if(t.type!==c.Syntax.UnaryExpression&&this.match(`**`)){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var n=t,r=this.isolateCoverGrammar(this.parseExponentiationExpression);t=this.finalize(this.startNode(e),new o.BinaryExpression(`**`,n,r))}return t},e.prototype.binaryPrecedence=function(e){var t=e.value;return e.type===7?this.operatorPrecedence[t]||0:e.type===4&&(t===`instanceof`||this.context.allowIn&&t===`in`)?7:0},e.prototype.parseBinaryExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseExponentiationExpression),n=this.lookahead,r=this.binaryPrecedence(n);if(r>0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var i=[e,this.lookahead],a=t,s=this.isolateCoverGrammar(this.parseExponentiationExpression),c=[a,n.value,s],l=[r];r=this.binaryPrecedence(this.lookahead),!(r<=0);){for(;c.length>2&&r<=l[l.length-1];){s=c.pop();var u=c.pop();l.pop(),a=c.pop(),i.pop();var d=this.startNode(i[i.length-1]);c.push(this.finalize(d,new o.BinaryExpression(u,a,s)))}c.push(this.nextToken().value),l.push(r),i.push(this.lookahead),c.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var f=c.length-1;t=c[f];for(var p=i.pop();f>1;){var m=i.pop(),h=p&&p.lineStart,d=this.startNode(m,h),u=c[f-1];t=this.finalize(d,new o.BinaryExpression(u,c[f-2],t)),f-=2,p=m}}return t},e.prototype.parseConditionalExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match(`?`)){this.nextToken();var n=this.context.allowIn;this.context.allowIn=!0;var r=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=n,this.expect(`:`);var i=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new o.ConditionalExpression(t,r,i)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return t},e.prototype.checkPatternParam=function(e,t){switch(t.type){case c.Syntax.Identifier:this.validateParam(e,t,t.name);break;case c.Syntax.RestElement:this.checkPatternParam(e,t.argument);break;case c.Syntax.AssignmentPattern:this.checkPatternParam(e,t.left);break;case c.Syntax.ArrayPattern:for(var n=0;n<t.elements.length;n++)t.elements[n]!==null&&this.checkPatternParam(e,t.elements[n]);break;case c.Syntax.ObjectPattern:for(var n=0;n<t.properties.length;n++)this.checkPatternParam(e,t.properties[n].value);break;default:break}e.simple=e.simple&&t instanceof o.Identifier},e.prototype.reinterpretAsCoverFormalsList=function(e){var t=[e],n,r=!1;switch(e.type){case c.Syntax.Identifier:break;case u:t=e.params,r=e.async;break;default:return null}n={simple:!0,paramSet:{}};for(var i=0;i<t.length;++i){var o=t[i];o.type===c.Syntax.AssignmentPattern?o.right.type===c.Syntax.YieldExpression&&(o.right.argument&&this.throwUnexpectedToken(this.lookahead),o.right.type=c.Syntax.Identifier,o.right.name=`yield`,delete o.right.argument,delete o.right.delegate):r&&o.type===c.Syntax.Identifier&&o.name===`await`&&this.throwUnexpectedToken(this.lookahead),this.checkPatternParam(n,o),t[i]=o}if(this.context.strict||!this.context.allowYield)for(var i=0;i<t.length;++i){var o=t[i];o.type===c.Syntax.YieldExpression&&this.throwUnexpectedToken(this.lookahead)}if(n.message===a.Messages.StrictParamDupe){var s=this.context.strict?n.stricted:n.firstRestricted;this.throwUnexpectedToken(s,n.message)}return{simple:n.simple,params:t,stricted:n.stricted,firstRestricted:n.firstRestricted,message:n.message}},e.prototype.parseAssignmentExpression=function(){var e;if(!this.context.allowYield&&this.matchKeyword(`yield`))e=this.parseYieldExpression();else{var t=this.lookahead,n=t;if(e=this.parseConditionalExpression(),n.type===3&&n.lineNumber===this.lookahead.lineNumber&&n.value===`async`&&(this.lookahead.type===3||this.matchKeyword(`yield`))){var r=this.parsePrimaryExpression();this.reinterpretExpressionAsPattern(r),e={type:u,params:[r],async:!0}}if(e.type===u||this.match(`=>`)){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var i=e.async,s=this.reinterpretAsCoverFormalsList(e);if(s){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var l=this.context.strict,d=this.context.allowStrictDirective;this.context.allowStrictDirective=s.simple;var f=this.context.allowYield,p=this.context.await;this.context.allowYield=!0,this.context.await=i;var m=this.startNode(t);this.expect(`=>`);var h=void 0;if(this.match(`{`)){var g=this.context.allowIn;this.context.allowIn=!0,h=this.parseFunctionSourceElements(),this.context.allowIn=g}else h=this.isolateCoverGrammar(this.parseAssignmentExpression);var _=h.type!==c.Syntax.BlockStatement;this.context.strict&&s.firstRestricted&&this.throwUnexpectedToken(s.firstRestricted,s.message),this.context.strict&&s.stricted&&this.tolerateUnexpectedToken(s.stricted,s.message),e=i?this.finalize(m,new o.AsyncArrowFunctionExpression(s.params,h,_)):this.finalize(m,new o.ArrowFunctionExpression(s.params,h,_)),this.context.strict=l,this.context.allowStrictDirective=d,this.context.allowYield=f,this.context.await=p}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(a.Messages.InvalidLHSInAssignment),this.context.strict&&e.type===c.Syntax.Identifier){var v=e;this.scanner.isRestrictedWord(v.name)&&this.tolerateUnexpectedToken(n,a.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(v.name)&&this.tolerateUnexpectedToken(n,a.Messages.StrictReservedWord)}this.match(`=`)?this.reinterpretExpressionAsPattern(e):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1),n=this.nextToken();var y=n.value,b=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new o.AssignmentExpression(y,e,b)),this.context.firstCoverInitializedNameError=null}}return e},e.prototype.parseExpression=function(){var e=this.lookahead,t=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(`,`)){var n=[];for(n.push(t);this.lookahead.type!==2&&this.match(`,`);)this.nextToken(),n.push(this.isolateCoverGrammar(this.parseAssignmentExpression));t=this.finalize(this.startNode(e),new o.SequenceExpression(n))}return t},e.prototype.parseStatementListItem=function(){var e;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case`export`:this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,a.Messages.IllegalExportDeclaration),e=this.parseExportDeclaration();break;case`import`:this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,a.Messages.IllegalImportDeclaration),e=this.parseImportDeclaration();break;case`const`:e=this.parseLexicalDeclaration({inFor:!1});break;case`function`:e=this.parseFunctionDeclaration();break;case`class`:e=this.parseClassDeclaration();break;case`let`:e=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:e=this.parseStatement();break}else e=this.parseStatement();return e},e.prototype.parseBlock=function(){var e=this.createNode();this.expect(`{`);for(var t=[];!this.match(`}`);)t.push(this.parseStatementListItem());return this.expect(`}`),this.finalize(e,new o.BlockStatement(t))},e.prototype.parseLexicalBinding=function(e,t){var n=this.createNode(),r=this.parsePattern([],e);this.context.strict&&r.type===c.Syntax.Identifier&&this.scanner.isRestrictedWord(r.name)&&this.tolerateError(a.Messages.StrictVarName);var i=null;return e===`const`?!this.matchKeyword(`in`)&&!this.matchContextualKeyword(`of`)&&(this.match(`=`)?(this.nextToken(),i=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(a.Messages.DeclarationMissingInitializer,`const`)):(!t.inFor&&r.type!==c.Syntax.Identifier||this.match(`=`))&&(this.expect(`=`),i=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(n,new o.VariableDeclarator(r,i))},e.prototype.parseBindingList=function(e,t){for(var n=[this.parseLexicalBinding(e,t)];this.match(`,`);)this.nextToken(),n.push(this.parseLexicalBinding(e,t));return n},e.prototype.isLexicalDeclaration=function(){var e=this.scanner.saveState();this.scanner.scanComments();var t=this.scanner.lex();return this.scanner.restoreState(e),t.type===3||t.type===7&&t.value===`[`||t.type===7&&t.value===`{`||t.type===4&&t.value===`let`||t.type===4&&t.value===`yield`},e.prototype.parseLexicalDeclaration=function(e){var t=this.createNode(),n=this.nextToken().value;r.assert(n===`let`||n===`const`,`Lexical declaration must be either let or const`);var i=this.parseBindingList(n,e);return this.consumeSemicolon(),this.finalize(t,new o.VariableDeclaration(i,n))},e.prototype.parseBindingRestElement=function(e,t){var n=this.createNode();this.expect(`...`);var r=this.parsePattern(e,t);return this.finalize(n,new o.RestElement(r))},e.prototype.parseArrayPattern=function(e,t){var n=this.createNode();this.expect(`[`);for(var r=[];!this.match(`]`);)if(this.match(`,`))this.nextToken(),r.push(null);else{if(this.match(`...`)){r.push(this.parseBindingRestElement(e,t));break}else r.push(this.parsePatternWithDefault(e,t));this.match(`]`)||this.expect(`,`)}return this.expect(`]`),this.finalize(n,new o.ArrayPattern(r))},e.prototype.parsePropertyPattern=function(e,t){var n=this.createNode(),r=!1,i=!1,a=!1,s,c;if(this.lookahead.type===3){var l=this.lookahead;s=this.parseVariableIdentifier();var u=this.finalize(n,new o.Identifier(l.value));if(this.match(`=`)){e.push(l),i=!0,this.nextToken();var d=this.parseAssignmentExpression();c=this.finalize(this.startNode(l),new o.AssignmentPattern(u,d))}else this.match(`:`)?(this.expect(`:`),c=this.parsePatternWithDefault(e,t)):(e.push(l),i=!0,c=u)}else r=this.match(`[`),s=this.parseObjectPropertyKey(),this.expect(`:`),c=this.parsePatternWithDefault(e,t);return this.finalize(n,new o.Property(`init`,s,r,c,a,i))},e.prototype.parseObjectPattern=function(e,t){var n=this.createNode(),r=[];for(this.expect(`{`);!this.match(`}`);)r.push(this.parsePropertyPattern(e,t)),this.match(`}`)||this.expect(`,`);return this.expect(`}`),this.finalize(n,new o.ObjectPattern(r))},e.prototype.parsePattern=function(e,t){var n;return this.match(`[`)?n=this.parseArrayPattern(e,t):this.match(`{`)?n=this.parseObjectPattern(e,t):(this.matchKeyword(`let`)&&(t===`const`||t===`let`)&&this.tolerateUnexpectedToken(this.lookahead,a.Messages.LetInLexicalBinding),e.push(this.lookahead),n=this.parseVariableIdentifier(t)),n},e.prototype.parsePatternWithDefault=function(e,t){var n=this.lookahead,r=this.parsePattern(e,t);if(this.match(`=`)){this.nextToken();var i=this.context.allowYield;this.context.allowYield=!0;var a=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=i,r=this.finalize(this.startNode(n),new o.AssignmentPattern(r,a))}return r},e.prototype.parseVariableIdentifier=function(e){var t=this.createNode(),n=this.nextToken();return n.type===4&&n.value===`yield`?this.context.strict?this.tolerateUnexpectedToken(n,a.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(n):n.type===3?(this.context.isModule||this.context.await)&&n.type===3&&n.value===`await`&&this.tolerateUnexpectedToken(n):this.context.strict&&n.type===4&&this.scanner.isStrictModeReservedWord(n.value)?this.tolerateUnexpectedToken(n,a.Messages.StrictReservedWord):(this.context.strict||n.value!==`let`||e!==`var`)&&this.throwUnexpectedToken(n),this.finalize(t,new o.Identifier(n.value))},e.prototype.parseVariableDeclaration=function(e){var t=this.createNode(),n=this.parsePattern([],`var`);this.context.strict&&n.type===c.Syntax.Identifier&&this.scanner.isRestrictedWord(n.name)&&this.tolerateError(a.Messages.StrictVarName);var r=null;return this.match(`=`)?(this.nextToken(),r=this.isolateCoverGrammar(this.parseAssignmentExpression)):n.type!==c.Syntax.Identifier&&!e.inFor&&this.expect(`=`),this.finalize(t,new o.VariableDeclarator(n,r))},e.prototype.parseVariableDeclarationList=function(e){var t={inFor:e.inFor},n=[];for(n.push(this.parseVariableDeclaration(t));this.match(`,`);)this.nextToken(),n.push(this.parseVariableDeclaration(t));return n},e.prototype.parseVariableStatement=function(){var e=this.createNode();this.expectKeyword(`var`);var t=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(e,new o.VariableDeclaration(t,`var`))},e.prototype.parseEmptyStatement=function(){var e=this.createNode();return this.expect(`;`),this.finalize(e,new o.EmptyStatement)},e.prototype.parseExpressionStatement=function(){var e=this.createNode(),t=this.parseExpression();return this.consumeSemicolon(),this.finalize(e,new o.ExpressionStatement(t))},e.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword(`function`)&&this.tolerateError(a.Messages.StrictFunction),this.parseStatement()},e.prototype.parseIfStatement=function(){var e=this.createNode(),t,n=null;this.expectKeyword(`if`),this.expect(`(`);var r=this.parseExpression();return!this.match(`)`)&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(`)`),t=this.parseIfClause(),this.matchKeyword(`else`)&&(this.nextToken(),n=this.parseIfClause())),this.finalize(e,new o.IfStatement(r,t,n))},e.prototype.parseDoWhileStatement=function(){var e=this.createNode();this.expectKeyword(`do`);var t=this.context.inIteration;this.context.inIteration=!0;var n=this.parseStatement();this.context.inIteration=t,this.expectKeyword(`while`),this.expect(`(`);var r=this.parseExpression();return!this.match(`)`)&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(`)`),this.match(`;`)&&this.nextToken()),this.finalize(e,new o.DoWhileStatement(n,r))},e.prototype.parseWhileStatement=function(){var e=this.createNode(),t;this.expectKeyword(`while`),this.expect(`(`);var n=this.parseExpression();if(!this.match(`)`)&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(`)`);var r=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=r}return this.finalize(e,new o.WhileStatement(n,t))},e.prototype.parseForStatement=function(){var e=null,t=null,n=null,r=!0,i,s,l=this.createNode();if(this.expectKeyword(`for`),this.expect(`(`),this.match(`;`))this.nextToken();else if(this.matchKeyword(`var`)){e=this.createNode(),this.nextToken();var u=this.context.allowIn;this.context.allowIn=!1;var d=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=u,d.length===1&&this.matchKeyword(`in`)){var f=d[0];f.init&&(f.id.type===c.Syntax.ArrayPattern||f.id.type===c.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(a.Messages.ForInOfLoopInitializer,`for-in`),e=this.finalize(e,new o.VariableDeclaration(d,`var`)),this.nextToken(),i=e,s=this.parseExpression(),e=null}else d.length===1&&d[0].init===null&&this.matchContextualKeyword(`of`)?(e=this.finalize(e,new o.VariableDeclaration(d,`var`)),this.nextToken(),i=e,s=this.parseAssignmentExpression(),e=null,r=!1):(e=this.finalize(e,new o.VariableDeclaration(d,`var`)),this.expect(`;`))}else if(this.matchKeyword(`const`)||this.matchKeyword(`let`)){e=this.createNode();var p=this.nextToken().value;if(!this.context.strict&&this.lookahead.value===`in`)e=this.finalize(e,new o.Identifier(p)),this.nextToken(),i=e,s=this.parseExpression(),e=null;else{var u=this.context.allowIn;this.context.allowIn=!1;var d=this.parseBindingList(p,{inFor:!0});this.context.allowIn=u,d.length===1&&d[0].init===null&&this.matchKeyword(`in`)?(e=this.finalize(e,new o.VariableDeclaration(d,p)),this.nextToken(),i=e,s=this.parseExpression(),e=null):d.length===1&&d[0].init===null&&this.matchContextualKeyword(`of`)?(e=this.finalize(e,new o.VariableDeclaration(d,p)),this.nextToken(),i=e,s=this.parseAssignmentExpression(),e=null,r=!1):(this.consumeSemicolon(),e=this.finalize(e,new o.VariableDeclaration(d,p)))}}else{var m=this.lookahead,u=this.context.allowIn;if(this.context.allowIn=!1,e=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=u,this.matchKeyword(`in`))(!this.context.isAssignmentTarget||e.type===c.Syntax.AssignmentExpression)&&this.tolerateError(a.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(e),i=e,s=this.parseExpression(),e=null;else if(this.matchContextualKeyword(`of`))(!this.context.isAssignmentTarget||e.type===c.Syntax.AssignmentExpression)&&this.tolerateError(a.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(e),i=e,s=this.parseAssignmentExpression(),e=null,r=!1;else{if(this.match(`,`)){for(var h=[e];this.match(`,`);)this.nextToken(),h.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(m),new o.SequenceExpression(h))}this.expect(`;`)}}i===void 0&&(this.match(`;`)||(t=this.parseExpression()),this.expect(`;`),this.match(`)`)||(n=this.parseExpression()));var g;if(!this.match(`)`)&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(`)`);var _=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=_}return i===void 0?this.finalize(l,new o.ForStatement(e,t,n,g)):r?this.finalize(l,new o.ForInStatement(i,s,g)):this.finalize(l,new o.ForOfStatement(i,s,g))},e.prototype.parseContinueStatement=function(){var e=this.createNode();this.expectKeyword(`continue`);var t=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var n=this.parseVariableIdentifier();t=n;var r=`$`+n.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,r)||this.throwError(a.Messages.UnknownLabel,n.name)}return this.consumeSemicolon(),t===null&&!this.context.inIteration&&this.throwError(a.Messages.IllegalContinue),this.finalize(e,new o.ContinueStatement(t))},e.prototype.parseBreakStatement=function(){var e=this.createNode();this.expectKeyword(`break`);var t=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var n=this.parseVariableIdentifier(),r=`$`+n.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,r)||this.throwError(a.Messages.UnknownLabel,n.name),t=n}return this.consumeSemicolon(),t===null&&!this.context.inIteration&&!this.context.inSwitch&&this.throwError(a.Messages.IllegalBreak),this.finalize(e,new o.BreakStatement(t))},e.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(a.Messages.IllegalReturn);var e=this.createNode();this.expectKeyword(`return`);var t=!this.match(`;`)&&!this.match(`}`)&&!this.hasLineTerminator&&this.lookahead.type!==2||this.lookahead.type===8||this.lookahead.type===10?this.parseExpression():null;return this.consumeSemicolon(),this.finalize(e,new o.ReturnStatement(t))},e.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(a.Messages.StrictModeWith);var e=this.createNode(),t;this.expectKeyword(`with`),this.expect(`(`);var n=this.parseExpression();return!this.match(`)`)&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(`)`),t=this.parseStatement()),this.finalize(e,new o.WithStatement(n,t))},e.prototype.parseSwitchCase=function(){var e=this.createNode(),t;this.matchKeyword(`default`)?(this.nextToken(),t=null):(this.expectKeyword(`case`),t=this.parseExpression()),this.expect(`:`);for(var n=[];!(this.match(`}`)||this.matchKeyword(`default`)||this.matchKeyword(`case`));)n.push(this.parseStatementListItem());return this.finalize(e,new o.SwitchCase(t,n))},e.prototype.parseSwitchStatement=function(){var e=this.createNode();this.expectKeyword(`switch`),this.expect(`(`);var t=this.parseExpression();this.expect(`)`);var n=this.context.inSwitch;this.context.inSwitch=!0;var r=[],i=!1;for(this.expect(`{`);!this.match(`}`);){var s=this.parseSwitchCase();s.test===null&&(i&&this.throwError(a.Messages.MultipleDefaultsInSwitch),i=!0),r.push(s)}return this.expect(`}`),this.context.inSwitch=n,this.finalize(e,new o.SwitchStatement(t,r))},e.prototype.parseLabelledStatement=function(){var e=this.createNode(),t=this.parseExpression(),n;if(t.type===c.Syntax.Identifier&&this.match(`:`)){this.nextToken();var r=t,i=`$`+r.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,i)&&this.throwError(a.Messages.Redeclaration,`Label`,r.name),this.context.labelSet[i]=!0;var s=void 0;if(this.matchKeyword(`class`))this.tolerateUnexpectedToken(this.lookahead),s=this.parseClassDeclaration();else if(this.matchKeyword(`function`)){var l=this.lookahead,u=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(l,a.Messages.StrictFunction):u.generator&&this.tolerateUnexpectedToken(l,a.Messages.GeneratorInLegacyContext),s=u}else s=this.parseStatement();delete this.context.labelSet[i],n=new o.LabeledStatement(r,s)}else this.consumeSemicolon(),n=new o.ExpressionStatement(t);return this.finalize(e,n)},e.prototype.parseThrowStatement=function(){var e=this.createNode();this.expectKeyword(`throw`),this.hasLineTerminator&&this.throwError(a.Messages.NewlineAfterThrow);var t=this.parseExpression();return this.consumeSemicolon(),this.finalize(e,new o.ThrowStatement(t))},e.prototype.parseCatchClause=function(){var e=this.createNode();this.expectKeyword(`catch`),this.expect(`(`),this.match(`)`)&&this.throwUnexpectedToken(this.lookahead);for(var t=[],n=this.parsePattern(t),r={},i=0;i<t.length;i++){var s=`$`+t[i].value;Object.prototype.hasOwnProperty.call(r,s)&&this.tolerateError(a.Messages.DuplicateBinding,t[i].value),r[s]=!0}this.context.strict&&n.type===c.Syntax.Identifier&&this.scanner.isRestrictedWord(n.name)&&this.tolerateError(a.Messages.StrictCatchVariable),this.expect(`)`);var l=this.parseBlock();return this.finalize(e,new o.CatchClause(n,l))},e.prototype.parseFinallyClause=function(){return this.expectKeyword(`finally`),this.parseBlock()},e.prototype.parseTryStatement=function(){var e=this.createNode();this.expectKeyword(`try`);var t=this.parseBlock(),n=this.matchKeyword(`catch`)?this.parseCatchClause():null,r=this.matchKeyword(`finally`)?this.parseFinallyClause():null;return!n&&!r&&this.throwError(a.Messages.NoCatchOrFinally),this.finalize(e,new o.TryStatement(t,n,r))},e.prototype.parseDebuggerStatement=function(){var e=this.createNode();return this.expectKeyword(`debugger`),this.consumeSemicolon(),this.finalize(e,new o.DebuggerStatement)},e.prototype.parseStatement=function(){var e;switch(this.lookahead.type){case 1:case 5:case 6:case 8:case 10:case 9:e=this.parseExpressionStatement();break;case 7:var t=this.lookahead.value;e=t===`{`?this.parseBlock():t===`(`?this.parseExpressionStatement():t===`;`?this.parseEmptyStatement():this.parseExpressionStatement();break;case 3:e=this.matchAsyncFunction()?this.parseFunctionDeclaration():this.parseLabelledStatement();break;case 4:switch(this.lookahead.value){case`break`:e=this.parseBreakStatement();break;case`continue`:e=this.parseContinueStatement();break;case`debugger`:e=this.parseDebuggerStatement();break;case`do`:e=this.parseDoWhileStatement();break;case`for`:e=this.parseForStatement();break;case`function`:e=this.parseFunctionDeclaration();break;case`if`:e=this.parseIfStatement();break;case`return`:e=this.parseReturnStatement();break;case`switch`:e=this.parseSwitchStatement();break;case`throw`:e=this.parseThrowStatement();break;case`try`:e=this.parseTryStatement();break;case`var`:e=this.parseVariableStatement();break;case`while`:e=this.parseWhileStatement();break;case`with`:e=this.parseWithStatement();break;default:e=this.parseExpressionStatement();break}break;default:e=this.throwUnexpectedToken(this.lookahead)}return e},e.prototype.parseFunctionSourceElements=function(){var e=this.createNode();this.expect(`{`);var t=this.parseDirectivePrologues(),n=this.context.labelSet,r=this.context.inIteration,i=this.context.inSwitch,a=this.context.inFunctionBody;for(this.context.labelSet={},this.context.inIteration=!1,this.context.inSwitch=!1,this.context.inFunctionBody=!0;this.lookahead.type!==2&&!this.match(`}`);)t.push(this.parseStatementListItem());return this.expect(`}`),this.context.labelSet=n,this.context.inIteration=r,this.context.inSwitch=i,this.context.inFunctionBody=a,this.finalize(e,new o.BlockStatement(t))},e.prototype.validateParam=function(e,t,n){var r=`$`+n;this.context.strict?(this.scanner.isRestrictedWord(n)&&(e.stricted=t,e.message=a.Messages.StrictParamName),Object.prototype.hasOwnProperty.call(e.paramSet,r)&&(e.stricted=t,e.message=a.Messages.StrictParamDupe)):e.firstRestricted||(this.scanner.isRestrictedWord(n)?(e.firstRestricted=t,e.message=a.Messages.StrictParamName):this.scanner.isStrictModeReservedWord(n)?(e.firstRestricted=t,e.message=a.Messages.StrictReservedWord):Object.prototype.hasOwnProperty.call(e.paramSet,r)&&(e.stricted=t,e.message=a.Messages.StrictParamDupe)),typeof Object.defineProperty==`function`?Object.defineProperty(e.paramSet,r,{value:!0,enumerable:!0,writable:!0,configurable:!0}):e.paramSet[r]=!0},e.prototype.parseRestElement=function(e){var t=this.createNode();this.expect(`...`);var n=this.parsePattern(e);return this.match(`=`)&&this.throwError(a.Messages.DefaultRestParameter),this.match(`)`)||this.throwError(a.Messages.ParameterAfterRestParameter),this.finalize(t,new o.RestElement(n))},e.prototype.parseFormalParameter=function(e){for(var t=[],n=this.match(`...`)?this.parseRestElement(t):this.parsePatternWithDefault(t),r=0;r<t.length;r++)this.validateParam(e,t[r],t[r].value);e.simple=e.simple&&n instanceof o.Identifier,e.params.push(n)},e.prototype.parseFormalParameters=function(e){var t={simple:!0,params:[],firstRestricted:e};if(this.expect(`(`),!this.match(`)`))for(t.paramSet={};this.lookahead.type!==2&&(this.parseFormalParameter(t),!(this.match(`)`)||(this.expect(`,`),this.match(`)`)))););return this.expect(`)`),{simple:t.simple,params:t.params,stricted:t.stricted,firstRestricted:t.firstRestricted,message:t.message}},e.prototype.matchAsyncFunction=function(){var e=this.matchContextualKeyword(`async`);if(e){var t=this.scanner.saveState();this.scanner.scanComments();var n=this.scanner.lex();this.scanner.restoreState(t),e=t.lineNumber===n.lineNumber&&n.type===4&&n.value===`function`}return e},e.prototype.parseFunctionDeclaration=function(e){var t=this.createNode(),n=this.matchContextualKeyword(`async`);n&&this.nextToken(),this.expectKeyword(`function`);var r=n?!1:this.match(`*`);r&&this.nextToken();var i,s=null,c=null;if(!e||!this.match(`(`)){var l=this.lookahead;s=this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(l.value)&&this.tolerateUnexpectedToken(l,a.Messages.StrictFunctionName):this.scanner.isRestrictedWord(l.value)?(c=l,i=a.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(l.value)&&(c=l,i=a.Messages.StrictReservedWord)}var u=this.context.await,d=this.context.allowYield;this.context.await=n,this.context.allowYield=!r;var f=this.parseFormalParameters(c),p=f.params,m=f.stricted;c=f.firstRestricted,f.message&&(i=f.message);var h=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=f.simple;var _=this.parseFunctionSourceElements();return this.context.strict&&c&&this.throwUnexpectedToken(c,i),this.context.strict&&m&&this.tolerateUnexpectedToken(m,i),this.context.strict=h,this.context.allowStrictDirective=g,this.context.await=u,this.context.allowYield=d,n?this.finalize(t,new o.AsyncFunctionDeclaration(s,p,_)):this.finalize(t,new o.FunctionDeclaration(s,p,_,r))},e.prototype.parseFunctionExpression=function(){var e=this.createNode(),t=this.matchContextualKeyword(`async`);t&&this.nextToken(),this.expectKeyword(`function`);var n=t?!1:this.match(`*`);n&&this.nextToken();var r,i=null,s,c=this.context.await,l=this.context.allowYield;if(this.context.await=t,this.context.allowYield=!n,!this.match(`(`)){var u=this.lookahead;i=!this.context.strict&&!n&&this.matchKeyword(`yield`)?this.parseIdentifierName():this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(u.value)&&this.tolerateUnexpectedToken(u,a.Messages.StrictFunctionName):this.scanner.isRestrictedWord(u.value)?(s=u,r=a.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(u.value)&&(s=u,r=a.Messages.StrictReservedWord)}var d=this.parseFormalParameters(s),f=d.params,p=d.stricted;s=d.firstRestricted,d.message&&(r=d.message);var m=this.context.strict,h=this.context.allowStrictDirective;this.context.allowStrictDirective=d.simple;var g=this.parseFunctionSourceElements();return this.context.strict&&s&&this.throwUnexpectedToken(s,r),this.context.strict&&p&&this.tolerateUnexpectedToken(p,r),this.context.strict=m,this.context.allowStrictDirective=h,this.context.await=c,this.context.allowYield=l,t?this.finalize(e,new o.AsyncFunctionExpression(i,f,g)):this.finalize(e,new o.FunctionExpression(i,f,g,n))},e.prototype.parseDirective=function(){var e=this.lookahead,t=this.createNode(),n=this.parseExpression(),r=n.type===c.Syntax.Literal?this.getTokenRaw(e).slice(1,-1):null;return this.consumeSemicolon(),this.finalize(t,r?new o.Directive(n,r):new o.ExpressionStatement(n))},e.prototype.parseDirectivePrologues=function(){for(var e=null,t=[];;){var n=this.lookahead;if(n.type!==8)break;var r=this.parseDirective();t.push(r);var i=r.directive;if(typeof i!=`string`)break;i===`use strict`?(this.context.strict=!0,e&&this.tolerateUnexpectedToken(e,a.Messages.StrictOctalLiteral),this.context.allowStrictDirective||this.tolerateUnexpectedToken(n,a.Messages.IllegalLanguageModeDirective)):!e&&n.octal&&(e=n)}return t},e.prototype.qualifiedPropertyName=function(e){switch(e.type){case 3:case 8:case 1:case 5:case 6:case 4:return!0;case 7:return e.value===`[`;default:break}return!1},e.prototype.parseGetterMethod=function(){var e=this.createNode(),t=!1,n=this.context.allowYield;this.context.allowYield=!t;var r=this.parseFormalParameters();r.params.length>0&&this.tolerateError(a.Messages.BadGetterArity);var i=this.parsePropertyMethod(r);return this.context.allowYield=n,this.finalize(e,new o.FunctionExpression(null,r.params,i,t))},e.prototype.parseSetterMethod=function(){var e=this.createNode(),t=!1,n=this.context.allowYield;this.context.allowYield=!t;var r=this.parseFormalParameters();r.params.length===1?r.params[0]instanceof o.RestElement&&this.tolerateError(a.Messages.BadSetterRestParameter):this.tolerateError(a.Messages.BadSetterArity);var i=this.parsePropertyMethod(r);return this.context.allowYield=n,this.finalize(e,new o.FunctionExpression(null,r.params,i,t))},e.prototype.parseGeneratorMethod=function(){var e=this.createNode(),t=!0,n=this.context.allowYield;this.context.allowYield=!0;var r=this.parseFormalParameters();this.context.allowYield=!1;var i=this.parsePropertyMethod(r);return this.context.allowYield=n,this.finalize(e,new o.FunctionExpression(null,r.params,i,t))},e.prototype.isStartOfExpression=function(){var e=!0,t=this.lookahead.value;switch(this.lookahead.type){case 7:e=t===`[`||t===`(`||t===`{`||t===`+`||t===`-`||t===`!`||t===`~`||t===`++`||t===`--`||t===`/`||t===`/=`;break;case 4:e=t===`class`||t===`delete`||t===`function`||t===`let`||t===`new`||t===`super`||t===`this`||t===`typeof`||t===`void`||t===`yield`;break;default:break}return e},e.prototype.parseYieldExpression=function(){var e=this.createNode();this.expectKeyword(`yield`);var t=null,n=!1;if(!this.hasLineTerminator){var r=this.context.allowYield;this.context.allowYield=!1,n=this.match(`*`),n?(this.nextToken(),t=this.parseAssignmentExpression()):this.isStartOfExpression()&&(t=this.parseAssignmentExpression()),this.context.allowYield=r}return this.finalize(e,new o.YieldExpression(t,n))},e.prototype.parseClassElement=function(e){var t=this.lookahead,n=this.createNode(),r=``,i=null,s=null,c=!1,l=!1,u=!1,d=!1;if(this.match(`*`))this.nextToken();else if(c=this.match(`[`),i=this.parseObjectPropertyKey(),i.name===`static`&&(this.qualifiedPropertyName(this.lookahead)||this.match(`*`))&&(t=this.lookahead,u=!0,c=this.match(`[`),this.match(`*`)?this.nextToken():i=this.parseObjectPropertyKey()),t.type===3&&!this.hasLineTerminator&&t.value===`async`){var f=this.lookahead.value;f!==`:`&&f!==`(`&&f!==`*`&&(d=!0,t=this.lookahead,i=this.parseObjectPropertyKey(),t.type===3&&t.value===`constructor`&&this.tolerateUnexpectedToken(t,a.Messages.ConstructorIsAsync))}var p=this.qualifiedPropertyName(this.lookahead);return t.type===3?t.value===`get`&&p?(r=`get`,c=this.match(`[`),i=this.parseObjectPropertyKey(),this.context.allowYield=!1,s=this.parseGetterMethod()):t.value===`set`&&p&&(r=`set`,c=this.match(`[`),i=this.parseObjectPropertyKey(),s=this.parseSetterMethod()):t.type===7&&t.value===`*`&&p&&(r=`init`,c=this.match(`[`),i=this.parseObjectPropertyKey(),s=this.parseGeneratorMethod(),l=!0),!r&&i&&this.match(`(`)&&(r=`init`,s=d?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),l=!0),r||this.throwUnexpectedToken(this.lookahead),r===`init`&&(r=`method`),c||(u&&this.isPropertyKey(i,`prototype`)&&this.throwUnexpectedToken(t,a.Messages.StaticPrototype),!u&&this.isPropertyKey(i,`constructor`)&&((r!==`method`||!l||s&&s.generator)&&this.throwUnexpectedToken(t,a.Messages.ConstructorSpecialMethod),e.value?this.throwUnexpectedToken(t,a.Messages.DuplicateConstructor):e.value=!0,r=`constructor`)),this.finalize(n,new o.MethodDefinition(i,c,s,r,u))},e.prototype.parseClassElementList=function(){var e=[],t={value:!1};for(this.expect(`{`);!this.match(`}`);)this.match(`;`)?this.nextToken():e.push(this.parseClassElement(t));return this.expect(`}`),e},e.prototype.parseClassBody=function(){var e=this.createNode(),t=this.parseClassElementList();return this.finalize(e,new o.ClassBody(t))},e.prototype.parseClassDeclaration=function(e){var t=this.createNode(),n=this.context.strict;this.context.strict=!0,this.expectKeyword(`class`);var r=e&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),i=null;this.matchKeyword(`extends`)&&(this.nextToken(),i=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var a=this.parseClassBody();return this.context.strict=n,this.finalize(t,new o.ClassDeclaration(r,i,a))},e.prototype.parseClassExpression=function(){var e=this.createNode(),t=this.context.strict;this.context.strict=!0,this.expectKeyword(`class`);var n=this.lookahead.type===3?this.parseVariableIdentifier():null,r=null;this.matchKeyword(`extends`)&&(this.nextToken(),r=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var i=this.parseClassBody();return this.context.strict=t,this.finalize(e,new o.ClassExpression(n,r,i))},e.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var e=this.createNode(),t=this.parseDirectivePrologues();this.lookahead.type!==2;)t.push(this.parseStatementListItem());return this.finalize(e,new o.Module(t))},e.prototype.parseScript=function(){for(var e=this.createNode(),t=this.parseDirectivePrologues();this.lookahead.type!==2;)t.push(this.parseStatementListItem());return this.finalize(e,new o.Script(t))},e.prototype.parseModuleSpecifier=function(){var e=this.createNode();this.lookahead.type!==8&&this.throwError(a.Messages.InvalidModuleSpecifier);var t=this.nextToken(),n=this.getTokenRaw(t);return this.finalize(e,new o.Literal(t.value,n))},e.prototype.parseImportSpecifier=function(){var e=this.createNode(),t,n;return this.lookahead.type===3?(t=this.parseVariableIdentifier(),n=t,this.matchContextualKeyword(`as`)&&(this.nextToken(),n=this.parseVariableIdentifier())):(t=this.parseIdentifierName(),n=t,this.matchContextualKeyword(`as`)?(this.nextToken(),n=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(e,new o.ImportSpecifier(n,t))},e.prototype.parseNamedImports=function(){this.expect(`{`);for(var e=[];!this.match(`}`);)e.push(this.parseImportSpecifier()),this.match(`}`)||this.expect(`,`);return this.expect(`}`),e},e.prototype.parseImportDefaultSpecifier=function(){var e=this.createNode(),t=this.parseIdentifierName();return this.finalize(e,new o.ImportDefaultSpecifier(t))},e.prototype.parseImportNamespaceSpecifier=function(){var e=this.createNode();this.expect(`*`),this.matchContextualKeyword(`as`)||this.throwError(a.Messages.NoAsAfterImportNamespace),this.nextToken();var t=this.parseIdentifierName();return this.finalize(e,new o.ImportNamespaceSpecifier(t))},e.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(a.Messages.IllegalImportDeclaration);var e=this.createNode();this.expectKeyword(`import`);var t,n=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match(`{`)?n=n.concat(this.parseNamedImports()):this.match(`*`)?n.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword(`default`)?(n.push(this.parseImportDefaultSpecifier()),this.match(`,`)&&(this.nextToken(),this.match(`*`)?n.push(this.parseImportNamespaceSpecifier()):this.match(`{`)?n=n.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword(`from`)){var r=this.lookahead.value?a.Messages.UnexpectedToken:a.Messages.MissingFromClause;this.throwError(r,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new o.ImportDeclaration(n,t))},e.prototype.parseExportSpecifier=function(){var e=this.createNode(),t=this.parseIdentifierName(),n=t;return this.matchContextualKeyword(`as`)&&(this.nextToken(),n=this.parseIdentifierName()),this.finalize(e,new o.ExportSpecifier(t,n))},e.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(a.Messages.IllegalExportDeclaration);var e=this.createNode();this.expectKeyword(`export`);var t;if(this.matchKeyword(`default`))if(this.nextToken(),this.matchKeyword(`function`)){var n=this.parseFunctionDeclaration(!0);t=this.finalize(e,new o.ExportDefaultDeclaration(n))}else if(this.matchKeyword(`class`)){var n=this.parseClassDeclaration(!0);t=this.finalize(e,new o.ExportDefaultDeclaration(n))}else if(this.matchContextualKeyword(`async`)){var n=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression();t=this.finalize(e,new o.ExportDefaultDeclaration(n))}else{this.matchContextualKeyword(`from`)&&this.throwError(a.Messages.UnexpectedToken,this.lookahead.value);var n=this.match(`{`)?this.parseObjectInitializer():this.match(`[`)?this.parseArrayInitializer():this.parseAssignmentExpression();this.consumeSemicolon(),t=this.finalize(e,new o.ExportDefaultDeclaration(n))}else if(this.match(`*`)){if(this.nextToken(),!this.matchContextualKeyword(`from`)){var r=this.lookahead.value?a.Messages.UnexpectedToken:a.Messages.MissingFromClause;this.throwError(r,this.lookahead.value)}this.nextToken();var i=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new o.ExportAllDeclaration(i))}else if(this.lookahead.type===4){var n=void 0;switch(this.lookahead.value){case`let`:case`const`:n=this.parseLexicalDeclaration({inFor:!1});break;case`var`:case`class`:case`function`:n=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new o.ExportNamedDeclaration(n,[],null))}else if(this.matchAsyncFunction()){var n=this.parseFunctionDeclaration();t=this.finalize(e,new o.ExportNamedDeclaration(n,[],null))}else{var s=[],c=null,l=!1;for(this.expect(`{`);!this.match(`}`);)l||=this.matchKeyword(`default`),s.push(this.parseExportSpecifier()),this.match(`}`)||this.expect(`,`);if(this.expect(`}`),this.matchContextualKeyword(`from`))this.nextToken(),c=this.parseModuleSpecifier(),this.consumeSemicolon();else if(l){var r=this.lookahead.value?a.Messages.UnexpectedToken:a.Messages.MissingFromClause;this.throwError(r,this.lookahead.value)}else this.consumeSemicolon();t=this.finalize(e,new o.ExportNamedDeclaration(null,s,c))}return t},e}()},function(e,t){Object.defineProperty(t,`__esModule`,{value:!0});function n(e,t){if(!e)throw Error(`ASSERT: `+t)}t.assert=n},function(e,t){Object.defineProperty(t,`__esModule`,{value:!0}),t.ErrorHandler=function(){function e(){this.errors=[],this.tolerant=!1}return e.prototype.recordError=function(e){this.errors.push(e)},e.prototype.tolerate=function(e){if(this.tolerant)this.recordError(e);else throw e},e.prototype.constructError=function(e,t){var n=Error(e);try{throw n}catch(e){Object.create&&Object.defineProperty&&(n=Object.create(e),Object.defineProperty(n,`column`,{value:t}))}return n},e.prototype.createError=function(e,t,n,r){var i=`Line `+t+`: `+r,a=this.constructError(i,n);return a.index=e,a.lineNumber=t,a.description=r,a},e.prototype.throwError=function(e,t,n,r){throw this.createError(e,t,n,r)},e.prototype.tolerateError=function(e,t,n,r){var i=this.createError(e,t,n,r);if(this.tolerant)this.recordError(i);else throw i},e}()},function(e,t){Object.defineProperty(t,`__esModule`,{value:!0}),t.Messages={BadGetterArity:`Getter must not have any formal parameters`,BadSetterArity:`Setter must have exactly one formal parameter`,BadSetterRestParameter:`Setter function argument must not be a rest parameter`,ConstructorIsAsync:`Class constructor may not be an async method`,ConstructorSpecialMethod:`Class constructor may not be an accessor`,DeclarationMissingInitializer:`Missing initializer in %0 declaration`,DefaultRestParameter:`Unexpected token =`,DuplicateBinding:`Duplicate binding %0`,DuplicateConstructor:`A class may only have one constructor`,DuplicateProtoProperty:`Duplicate __proto__ fields are not allowed in object literals`,ForInOfLoopInitializer:`%0 loop variable declaration may not have an initializer`,GeneratorInLegacyContext:`Generator declarations are not allowed in legacy contexts`,IllegalBreak:`Illegal break statement`,IllegalContinue:`Illegal continue statement`,IllegalExportDeclaration:`Unexpected token`,IllegalImportDeclaration:`Unexpected token`,IllegalLanguageModeDirective:`Illegal 'use strict' directive in function with non-simple parameter list`,IllegalReturn:`Illegal return statement`,InvalidEscapedReservedWord:`Keyword must not contain escaped characters`,InvalidHexEscapeSequence:`Invalid hexadecimal escape sequence`,InvalidLHSInAssignment:`Invalid left-hand side in assignment`,InvalidLHSInForIn:`Invalid left-hand side in for-in`,InvalidLHSInForLoop:`Invalid left-hand side in for-loop`,InvalidModuleSpecifier:`Unexpected token`,InvalidRegExp:`Invalid regular expression`,LetInLexicalBinding:`let is disallowed as a lexically bound name`,MissingFromClause:`Unexpected token`,MultipleDefaultsInSwitch:`More than one default clause in switch statement`,NewlineAfterThrow:`Illegal newline after throw`,NoAsAfterImportNamespace:`Unexpected token`,NoCatchOrFinally:`Missing catch or finally after try`,ParameterAfterRestParameter:`Rest parameter must be last formal parameter`,Redeclaration:`%0 '%1' has already been declared`,StaticPrototype:`Classes may not have static property named prototype`,StrictCatchVariable:`Catch variable may not be eval or arguments in strict mode`,StrictDelete:`Delete of an unqualified identifier in strict mode.`,StrictFunction:`In strict mode code, functions can only be declared at top level or inside a block`,StrictFunctionName:`Function name may not be eval or arguments in strict mode`,StrictLHSAssignment:`Assignment to eval or arguments is not allowed in strict mode`,StrictLHSPostfix:`Postfix increment/decrement may not have eval or arguments operand in strict mode`,StrictLHSPrefix:`Prefix increment/decrement may not have eval or arguments operand in strict mode`,StrictModeWith:`Strict mode code may not include a with statement`,StrictOctalLiteral:`Octal literals are not allowed in strict mode.`,StrictParamDupe:`Strict mode function may not have duplicate parameter names`,StrictParamName:`Parameter name eval or arguments is not allowed in strict mode`,StrictReservedWord:`Use of future reserved word in strict mode`,StrictVarName:`Variable name may not be eval or arguments in strict mode`,TemplateOctalLiteral:`Octal literals are not allowed in template strings.`,UnexpectedEOS:`Unexpected end of input`,UnexpectedIdentifier:`Unexpected identifier`,UnexpectedNumber:`Unexpected number`,UnexpectedReserved:`Unexpected reserved word`,UnexpectedString:`Unexpected string`,UnexpectedTemplate:`Unexpected quasi %0`,UnexpectedToken:`Unexpected token %0`,UnexpectedTokenIllegal:`Unexpected token ILLEGAL`,UnknownLabel:`Undefined label '%0'`,UnterminatedRegExp:`Invalid regular expression: missing /`}},function(e,t,n){Object.defineProperty(t,`__esModule`,{value:!0});var r=n(9),i=n(4),a=n(11);function o(e){return`0123456789abcdef`.indexOf(e.toLowerCase())}function s(e){return`01234567`.indexOf(e)}t.Scanner=function(){function e(e,t){this.source=e,this.errorHandler=t,this.trackComment=!1,this.isModule=!1,this.length=e.length,this.index=0,this.lineNumber=+(e.length>0),this.lineStart=0,this.curlyStack=[]}return e.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},e.prototype.restoreState=function(e){this.index=e.index,this.lineNumber=e.lineNumber,this.lineStart=e.lineStart},e.prototype.eof=function(){return this.index>=this.length},e.prototype.throwUnexpectedToken=function(e){return e===void 0&&(e=a.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,e)},e.prototype.tolerateUnexpectedToken=function(e){e===void 0&&(e=a.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,e)},e.prototype.skipSingleLineComment=function(e){var t=[],n,r;for(this.trackComment&&(t=[],n=this.index-e,r={start:{line:this.lineNumber,column:this.index-this.lineStart-e},end:{}});!this.eof();){var a=this.source.charCodeAt(this.index);if(++this.index,i.Character.isLineTerminator(a)){if(this.trackComment){r.end={line:this.lineNumber,column:this.index-this.lineStart-1};var o={multiLine:!1,slice:[n+e,this.index-1],range:[n,this.index-1],loc:r};t.push(o)}return a===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,t}}if(this.trackComment){r.end={line:this.lineNumber,column:this.index-this.lineStart};var o={multiLine:!1,slice:[n+e,this.index],range:[n,this.index],loc:r};t.push(o)}return t},e.prototype.skipMultiLineComment=function(){var e=[],t,n;for(this.trackComment&&(e=[],t=this.index-2,n={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var r=this.source.charCodeAt(this.index);if(i.Character.isLineTerminator(r))r===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(r===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){n.end={line:this.lineNumber,column:this.index-this.lineStart};var a={multiLine:!0,slice:[t+2,this.index-2],range:[t,this.index],loc:n};e.push(a)}return e}++this.index}else ++this.index}if(this.trackComment){n.end={line:this.lineNumber,column:this.index-this.lineStart};var a={multiLine:!0,slice:[t+2,this.index],range:[t,this.index],loc:n};e.push(a)}return this.tolerateUnexpectedToken(),e},e.prototype.scanComments=function(){var e;this.trackComment&&(e=[]);for(var t=this.index===0;!this.eof();){var n=this.source.charCodeAt(this.index);if(i.Character.isWhiteSpace(n))++this.index;else if(i.Character.isLineTerminator(n))++this.index,n===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,t=!0;else if(n===47)if(n=this.source.charCodeAt(this.index+1),n===47){this.index+=2;var r=this.skipSingleLineComment(2);this.trackComment&&(e=e.concat(r)),t=!0}else if(n===42){this.index+=2;var r=this.skipMultiLineComment();this.trackComment&&(e=e.concat(r))}else break;else if(t&&n===45)if(this.source.charCodeAt(this.index+1)===45&&this.source.charCodeAt(this.index+2)===62){this.index+=3;var r=this.skipSingleLineComment(3);this.trackComment&&(e=e.concat(r))}else break;else if(n===60&&!this.isModule)if(this.source.slice(this.index+1,this.index+4)===`!--`){this.index+=4;var r=this.skipSingleLineComment(4);this.trackComment&&(e=e.concat(r))}else break;else break}return e},e.prototype.isFutureReservedWord=function(e){switch(e){case`enum`:case`export`:case`import`:case`super`:return!0;default:return!1}},e.prototype.isStrictModeReservedWord=function(e){switch(e){case`implements`:case`interface`:case`package`:case`private`:case`protected`:case`public`:case`static`:case`yield`:case`let`:return!0;default:return!1}},e.prototype.isRestrictedWord=function(e){return e===`eval`||e===`arguments`},e.prototype.isKeyword=function(e){switch(e.length){case 2:return e===`if`||e===`in`||e===`do`;case 3:return e===`var`||e===`for`||e===`new`||e===`try`||e===`let`;case 4:return e===`this`||e===`else`||e===`case`||e===`void`||e===`with`||e===`enum`;case 5:return e===`while`||e===`break`||e===`catch`||e===`throw`||e===`const`||e===`yield`||e===`class`||e===`super`;case 6:return e===`return`||e===`typeof`||e===`delete`||e===`switch`||e===`export`||e===`import`;case 7:return e===`default`||e===`finally`||e===`extends`;case 8:return e===`function`||e===`continue`||e===`debugger`;case 10:return e===`instanceof`;default:return!1}},e.prototype.codePointAt=function(e){var t=this.source.charCodeAt(e);if(t>=55296&&t<=56319){var n=this.source.charCodeAt(e+1);n>=56320&&n<=57343&&(t=(t-55296)*1024+n-56320+65536)}return t},e.prototype.scanHexEscape=function(e){for(var t=e===`u`?4:2,n=0,r=0;r<t;++r)if(!this.eof()&&i.Character.isHexDigit(this.source.charCodeAt(this.index)))n=n*16+o(this.source[this.index++]);else return null;return String.fromCharCode(n)},e.prototype.scanUnicodeCodePointEscape=function(){var e=this.source[this.index],t=0;for(e===`}`&&this.throwUnexpectedToken();!this.eof()&&(e=this.source[this.index++],i.Character.isHexDigit(e.charCodeAt(0)));)t=t*16+o(e);return(t>1114111||e!==`}`)&&this.throwUnexpectedToken(),i.Character.fromCodePoint(t)},e.prototype.getIdentifier=function(){for(var e=this.index++;!this.eof();){var t=this.source.charCodeAt(this.index);if(t===92||t>=55296&&t<57343)return this.index=e,this.getComplexIdentifier();if(i.Character.isIdentifierPart(t))++this.index;else break}return this.source.slice(e,this.index)},e.prototype.getComplexIdentifier=function(){var e=this.codePointAt(this.index),t=i.Character.fromCodePoint(e);this.index+=t.length;var n;for(e===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]===`{`?(++this.index,n=this.scanUnicodeCodePointEscape()):(n=this.scanHexEscape(`u`),(n===null||n===`\\`||!i.Character.isIdentifierStart(n.charCodeAt(0)))&&this.throwUnexpectedToken()),t=n);!this.eof()&&(e=this.codePointAt(this.index),i.Character.isIdentifierPart(e));)n=i.Character.fromCodePoint(e),t+=n,this.index+=n.length,e===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]===`{`?(++this.index,n=this.scanUnicodeCodePointEscape()):(n=this.scanHexEscape(`u`),(n===null||n===`\\`||!i.Character.isIdentifierPart(n.charCodeAt(0)))&&this.throwUnexpectedToken()),t+=n);return t},e.prototype.octalToDecimal=function(e){var t=e!==`0`,n=s(e);return!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=!0,n=n*8+s(this.source[this.index++]),`0123`.indexOf(e)>=0&&!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(n=n*8+s(this.source[this.index++]))),{code:n,octal:t}},e.prototype.scanIdentifier=function(){var e,t=this.index,n=this.source.charCodeAt(t)===92?this.getComplexIdentifier():this.getIdentifier();if(e=n.length===1?3:this.isKeyword(n)?4:n===`null`?5:n===`true`||n===`false`?1:3,e!==3&&t+n.length!==this.index){var r=this.index;this.index=t,this.tolerateUnexpectedToken(a.Messages.InvalidEscapedReservedWord),this.index=r}return{type:e,value:n,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},e.prototype.scanPunctuator=function(){var e=this.index,t=this.source[this.index];switch(t){case`(`:case`{`:t===`{`&&this.curlyStack.push(`{`),++this.index;break;case`.`:++this.index,this.source[this.index]===`.`&&this.source[this.index+1]===`.`&&(this.index+=2,t=`...`);break;case`}`:++this.index,this.curlyStack.pop();break;case`)`:case`;`:case`,`:case`[`:case`]`:case`:`:case`?`:case`~`:++this.index;break;default:t=this.source.substr(this.index,4),t===`>>>=`?this.index+=4:(t=t.substr(0,3),t===`===`||t===`!==`||t===`>>>`||t===`<<=`||t===`>>=`||t===`**=`?this.index+=3:(t=t.substr(0,2),t===`&&`||t===`||`||t===`==`||t===`!=`||t===`+=`||t===`-=`||t===`*=`||t===`/=`||t===`++`||t===`--`||t===`<<`||t===`>>`||t===`&=`||t===`|=`||t===`^=`||t===`%=`||t===`<=`||t===`>=`||t===`=>`||t===`**`?this.index+=2:(t=this.source[this.index],`<>=!+-*%&|^/`.indexOf(t)>=0&&++this.index)))}return this.index===e&&this.throwUnexpectedToken(),{type:7,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanHexLiteral=function(e){for(var t=``;!this.eof()&&i.Character.isHexDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),i.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt(`0x`+t,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanBinaryLiteral=function(e){for(var t=``,n;!this.eof()&&(n=this.source[this.index],!(n!==`0`&&n!==`1`));)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(n=this.source.charCodeAt(this.index),(i.Character.isIdentifierStart(n)||i.Character.isDecimalDigit(n))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanOctalLiteral=function(e,t){var n=``,r=!1;for(i.Character.isOctalDigit(e.charCodeAt(0))?(r=!0,n=`0`+this.source[this.index++]):++this.index;!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index));)n+=this.source[this.index++];return!r&&n.length===0&&this.throwUnexpectedToken(),(i.Character.isIdentifierStart(this.source.charCodeAt(this.index))||i.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(n,8),octal:r,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},e.prototype.isImplicitOctalLiteral=function(){for(var e=this.index+1;e<this.length;++e){var t=this.source[e];if(t===`8`||t===`9`)return!1;if(!i.Character.isOctalDigit(t.charCodeAt(0)))return!0}return!0},e.prototype.scanNumericLiteral=function(){var e=this.index,t=this.source[e];r.assert(i.Character.isDecimalDigit(t.charCodeAt(0))||t===`.`,`Numeric literal must start with a decimal digit or a decimal point`);var n=``;if(t!==`.`){if(n=this.source[this.index++],t=this.source[this.index],n===`0`){if(t===`x`||t===`X`)return++this.index,this.scanHexLiteral(e);if(t===`b`||t===`B`)return++this.index,this.scanBinaryLiteral(e);if(t===`o`||t===`O`||t&&i.Character.isOctalDigit(t.charCodeAt(0))&&this.isImplicitOctalLiteral())return this.scanOctalLiteral(t,e)}for(;i.Character.isDecimalDigit(this.source.charCodeAt(this.index));)n+=this.source[this.index++];t=this.source[this.index]}if(t===`.`){for(n+=this.source[this.index++];i.Character.isDecimalDigit(this.source.charCodeAt(this.index));)n+=this.source[this.index++];t=this.source[this.index]}if(t===`e`||t===`E`)if(n+=this.source[this.index++],t=this.source[this.index],(t===`+`||t===`-`)&&(n+=this.source[this.index++]),i.Character.isDecimalDigit(this.source.charCodeAt(this.index)))for(;i.Character.isDecimalDigit(this.source.charCodeAt(this.index));)n+=this.source[this.index++];else this.throwUnexpectedToken();return i.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseFloat(n),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanStringLiteral=function(){var e=this.index,t=this.source[e];r.assert(t===`'`||t===`"`,`String literal must starts with a quote`),++this.index;for(var n=!1,o=``;!this.eof();){var s=this.source[this.index++];if(s===t){t=``;break}else if(s===`\\`)if(s=this.source[this.index++],!s||!i.Character.isLineTerminator(s.charCodeAt(0)))switch(s){case`u`:if(this.source[this.index]===`{`)++this.index,o+=this.scanUnicodeCodePointEscape();else{var c=this.scanHexEscape(s);c===null&&this.throwUnexpectedToken(),o+=c}break;case`x`:var l=this.scanHexEscape(s);l===null&&this.throwUnexpectedToken(a.Messages.InvalidHexEscapeSequence),o+=l;break;case`n`:o+=`
`;break;case`r`:o+=`\r`;break;case`t`:o+=` `;break;case`b`:o+=`\b`;break;case`f`:o+=`\f`;break;case`v`:o+=`\v`;break;case`8`:case`9`:o+=s,this.tolerateUnexpectedToken();break;default:if(s&&i.Character.isOctalDigit(s.charCodeAt(0))){var u=this.octalToDecimal(s);n=u.octal||n,o+=String.fromCharCode(u.code)}else o+=s;break}else ++this.lineNumber,s===`\r`&&this.source[this.index]===`
`&&++this.index,this.lineStart=this.index;else if(i.Character.isLineTerminator(s.charCodeAt(0)))break;else o+=s}return t!==``&&(this.index=e,this.throwUnexpectedToken()),{type:8,value:o,octal:n,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanTemplate=function(){var e=``,t=!1,n=this.index,r=this.source[n]==="`",o=!1,s=2;for(++this.index;!this.eof();){var c=this.source[this.index++];if(c==="`"){s=1,o=!0,t=!0;break}else if(c===`$`){if(this.source[this.index]===`{`){this.curlyStack.push("${"),++this.index,t=!0;break}e+=c}else if(c===`\\`)if(c=this.source[this.index++],i.Character.isLineTerminator(c.charCodeAt(0)))++this.lineNumber,c===`\r`&&this.source[this.index]===`
`&&++this.index,this.lineStart=this.index;else switch(c){case`n`:e+=`
`;break;case`r`:e+=`\r`;break;case`t`:e+=` `;break;case`u`:if(this.source[this.index]===`{`)++this.index,e+=this.scanUnicodeCodePointEscape();else{var l=this.index,u=this.scanHexEscape(c);u===null?(this.index=l,e+=c):e+=u}break;case`x`:var d=this.scanHexEscape(c);d===null&&this.throwUnexpectedToken(a.Messages.InvalidHexEscapeSequence),e+=d;break;case`b`:e+=`\b`;break;case`f`:e+=`\f`;break;case`v`:e+=`\v`;break;default:c===`0`?(i.Character.isDecimalDigit(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(a.Messages.TemplateOctalLiteral),e+=`\0`):i.Character.isOctalDigit(c.charCodeAt(0))?this.throwUnexpectedToken(a.Messages.TemplateOctalLiteral):e+=c;break}else i.Character.isLineTerminator(c.charCodeAt(0))?(++this.lineNumber,c===`\r`&&this.source[this.index]===`
`&&++this.index,this.lineStart=this.index,e+=`
`):e+=c}return t||this.throwUnexpectedToken(),r||this.curlyStack.pop(),{type:10,value:this.source.slice(n+1,this.index-s),cooked:e,head:r,tail:o,lineNumber:this.lineNumber,lineStart:this.lineStart,start:n,end:this.index}},e.prototype.testRegExp=function(e,t){var n=`￿`,r=e,i=this;t.indexOf(`u`)>=0&&(r=r.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(e,t,r){var o=parseInt(t||r,16);return o>1114111&&i.throwUnexpectedToken(a.Messages.InvalidRegExp),o<=65535?String.fromCharCode(o):n}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n));try{RegExp(r)}catch{this.throwUnexpectedToken(a.Messages.InvalidRegExp)}try{return new RegExp(e,t)}catch{return null}},e.prototype.scanRegExpBody=function(){var e=this.source[this.index];r.assert(e===`/`,`Regular expression literal must start with a slash`);for(var t=this.source[this.index++],n=!1,o=!1;!this.eof();)if(e=this.source[this.index++],t+=e,e===`\\`)e=this.source[this.index++],i.Character.isLineTerminator(e.charCodeAt(0))&&this.throwUnexpectedToken(a.Messages.UnterminatedRegExp),t+=e;else if(i.Character.isLineTerminator(e.charCodeAt(0)))this.throwUnexpectedToken(a.Messages.UnterminatedRegExp);else if(n)e===`]`&&(n=!1);else if(e===`/`){o=!0;break}else e===`[`&&(n=!0);return o||this.throwUnexpectedToken(a.Messages.UnterminatedRegExp),t.substr(1,t.length-2)},e.prototype.scanRegExpFlags=function(){for(var e=``,t=``;!this.eof();){var n=this.source[this.index];if(!i.Character.isIdentifierPart(n.charCodeAt(0)))break;if(++this.index,n===`\\`&&!this.eof())if(n=this.source[this.index],n===`u`){++this.index;var r=this.index,a=this.scanHexEscape(`u`);if(a!==null)for(t+=a,e+=`\\u`;r<this.index;++r)e+=this.source[r];else this.index=r,t+=`u`,e+=`\\u`;this.tolerateUnexpectedToken()}else e+=`\\`,this.tolerateUnexpectedToken();else t+=n,e+=n}return t},e.prototype.scanRegExp=function(){var e=this.index,t=this.scanRegExpBody(),n=this.scanRegExpFlags();return{type:9,value:``,pattern:t,flags:n,regex:this.testRegExp(t,n),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.lex=function(){if(this.eof())return{type:2,value:``,lineNumber:this.lineNumber,lineStart:this.lineStart,start:this.index,end:this.index};var e=this.source.charCodeAt(this.index);return i.Character.isIdentifierStart(e)?this.scanIdentifier():e===40||e===41||e===59?this.scanPunctuator():e===39||e===34?this.scanStringLiteral():e===46?i.Character.isDecimalDigit(this.source.charCodeAt(this.index+1))?this.scanNumericLiteral():this.scanPunctuator():i.Character.isDecimalDigit(e)?this.scanNumericLiteral():e===96||e===125&&this.curlyStack[this.curlyStack.length-1]==="${"?this.scanTemplate():e>=55296&&e<57343&&i.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},e}()},function(e,t){Object.defineProperty(t,`__esModule`,{value:!0}),t.TokenName={},t.TokenName[1]=`Boolean`,t.TokenName[2]=`<end>`,t.TokenName[3]=`Identifier`,t.TokenName[4]=`Keyword`,t.TokenName[5]=`Null`,t.TokenName[6]=`Numeric`,t.TokenName[7]=`Punctuator`,t.TokenName[8]=`String`,t.TokenName[9]=`RegularExpression`,t.TokenName[10]=`Template`},function(e,t){Object.defineProperty(t,`__esModule`,{value:!0}),t.XHTMLEntities={quot:`"`,amp:`&`,apos:`'`,gt:`>`,nbsp:`\xA0`,iexcl:`¡`,cent:`¢`,pound:`£`,curren:`¤`,yen:`¥`,brvbar:`¦`,sect:`§`,uml:`¨`,copy:`©`,ordf:`ª`,laquo:`«`,not:`¬`,shy:`­`,reg:`®`,macr:`¯`,deg:`°`,plusmn:`±`,sup2:`²`,sup3:`³`,acute:`´`,micro:`µ`,para:`¶`,middot:`·`,cedil:`¸`,sup1:`¹`,ordm:`º`,raquo:`»`,frac14:`¼`,frac12:`½`,frac34:`¾`,iquest:`¿`,Agrave:`À`,Aacute:`Á`,Acirc:`Â`,Atilde:`Ã`,Auml:`Ä`,Aring:`Å`,AElig:`Æ`,Ccedil:`Ç`,Egrave:`È`,Eacute:`É`,Ecirc:`Ê`,Euml:`Ë`,Igrave:`Ì`,Iacute:`Í`,Icirc:`Î`,Iuml:`Ï`,ETH:`Ð`,Ntilde:`Ñ`,Ograve:`Ò`,Oacute:`Ó`,Ocirc:`Ô`,Otilde:`Õ`,Ouml:`Ö`,times:`×`,Oslash:`Ø`,Ugrave:`Ù`,Uacute:`Ú`,Ucirc:`Û`,Uuml:`Ü`,Yacute:`Ý`,THORN:`Þ`,szlig:`ß`,agrave:`à`,aacute:`á`,acirc:`â`,atilde:`ã`,auml:`ä`,aring:`å`,aelig:`æ`,ccedil:`ç`,egrave:`è`,eacute:`é`,ecirc:`ê`,euml:`ë`,igrave:`ì`,iacute:`í`,icirc:`î`,iuml:`ï`,eth:`ð`,ntilde:`ñ`,ograve:`ò`,oacute:`ó`,ocirc:`ô`,otilde:`õ`,ouml:`ö`,divide:`÷`,oslash:`ø`,ugrave:`ù`,uacute:`ú`,ucirc:`û`,uuml:`ü`,yacute:`ý`,thorn:`þ`,yuml:`ÿ`,OElig:`Œ`,oelig:`œ`,Scaron:`Š`,scaron:`š`,Yuml:`Ÿ`,fnof:`ƒ`,circ:`ˆ`,tilde:`˜`,Alpha:`Α`,Beta:`Β`,Gamma:`Γ`,Delta:`Δ`,Epsilon:`Ε`,Zeta:`Ζ`,Eta:`Η`,Theta:`Θ`,Iota:`Ι`,Kappa:`Κ`,Lambda:`Λ`,Mu:`Μ`,Nu:`Ν`,Xi:`Ξ`,Omicron:`Ο`,Pi:`Π`,Rho:`Ρ`,Sigma:`Σ`,Tau:`Τ`,Upsilon:`Υ`,Phi:`Φ`,Chi:`Χ`,Psi:`Ψ`,Omega:`Ω`,alpha:`α`,beta:`β`,gamma:`γ`,delta:`δ`,epsilon:`ε`,zeta:`ζ`,eta:`η`,theta:`θ`,iota:`ι`,kappa:`κ`,lambda:`λ`,mu:`μ`,nu:`ν`,xi:`ξ`,omicron:`ο`,pi:`π`,rho:`ρ`,sigmaf:`ς`,sigma:`σ`,tau:`τ`,upsilon:`υ`,phi:`φ`,chi:`χ`,psi:`ψ`,omega:`ω`,thetasym:`ϑ`,upsih:`ϒ`,piv:`ϖ`,ensp:` `,emsp:` `,thinsp:` `,zwnj:`‌`,zwj:`‍`,lrm:`‎`,rlm:`‏`,ndash:`–`,mdash:`—`,lsquo:`‘`,rsquo:`’`,sbquo:`‚`,ldquo:`“`,rdquo:`”`,bdquo:`„`,dagger:`†`,Dagger:`‡`,bull:`•`,hellip:`…`,permil:`‰`,prime:`′`,Prime:`″`,lsaquo:`‹`,rsaquo:`›`,oline:`‾`,frasl:`⁄`,euro:`€`,image:`ℑ`,weierp:`℘`,real:`ℜ`,trade:`™`,alefsym:`ℵ`,larr:`←`,uarr:`↑`,rarr:`→`,darr:`↓`,harr:`↔`,crarr:`↵`,lArr:`⇐`,uArr:`⇑`,rArr:`⇒`,dArr:`⇓`,hArr:`⇔`,forall:`∀`,part:`∂`,exist:`∃`,empty:`∅`,nabla:`∇`,isin:`∈`,notin:`∉`,ni:`∋`,prod:`∏`,sum:`∑`,minus:`−`,lowast:`∗`,radic:`√`,prop:`∝`,infin:`∞`,ang:`∠`,and:`∧`,or:`∨`,cap:`∩`,cup:`∪`,int:`∫`,there4:`∴`,sim:`∼`,cong:`≅`,asymp:`≈`,ne:`≠`,equiv:`≡`,le:`≤`,ge:`≥`,sub:`⊂`,sup:`⊃`,nsub:`⊄`,sube:`⊆`,supe:`⊇`,oplus:`⊕`,otimes:`⊗`,perp:`⊥`,sdot:`⋅`,lceil:`⌈`,rceil:`⌉`,lfloor:`⌊`,rfloor:`⌋`,loz:`◊`,spades:`♠`,clubs:`♣`,hearts:`♥`,diams:`♦`,lang:`⟨`,rang:`⟩`}},function(e,t,n){Object.defineProperty(t,`__esModule`,{value:!0});var r=n(10),i=n(12),a=n(13),o=function(){function e(){this.values=[],this.curly=this.paren=-1}return e.prototype.beforeFunctionExpression=function(e){return`(.{.[.in.typeof.instanceof.new.return.case.delete.throw.void.=.+=.-=.*=.**=./=.%=.<<=.>>=.>>>=.&=.|=.^=.,.+.-.*.**./.%.++.--.<<.>>.>>>.&.|.^.!.~.&&.||.?.:.===.==.>=.<=.<.>.!=.!==`.split(`.`).indexOf(e)>=0},e.prototype.isRegexStart=function(){var e=this.values[this.values.length-1],t=e!==null;switch(e){case`this`:case`]`:t=!1;break;case`)`:var n=this.values[this.paren-1];t=n===`if`||n===`while`||n===`for`||n===`with`;break;case`}`:if(t=!1,this.values[this.curly-3]===`function`){var r=this.values[this.curly-4];t=r?!this.beforeFunctionExpression(r):!1}else if(this.values[this.curly-4]===`function`){var r=this.values[this.curly-5];t=r?!this.beforeFunctionExpression(r):!0}break;default:break}return t},e.prototype.push=function(e){e.type===7||e.type===4?(e.value===`{`?this.curly=this.values.length:e.value===`(`&&(this.paren=this.values.length),this.values.push(e.value)):this.values.push(null)},e}();t.Tokenizer=function(){function e(e,t){this.errorHandler=new r.ErrorHandler,this.errorHandler.tolerant=t?typeof t.tolerant==`boolean`&&t.tolerant:!1,this.scanner=new i.Scanner(e,this.errorHandler),this.scanner.trackComment=t?typeof t.comment==`boolean`&&t.comment:!1,this.trackRange=t?typeof t.range==`boolean`&&t.range:!1,this.trackLoc=t?typeof t.loc==`boolean`&&t.loc:!1,this.buffer=[],this.reader=new o}return e.prototype.errors=function(){return this.errorHandler.errors},e.prototype.getNextToken=function(){if(this.buffer.length===0){var e=this.scanner.scanComments();if(this.scanner.trackComment)for(var t=0;t<e.length;++t){var n=e[t],r=this.scanner.source.slice(n.slice[0],n.slice[1]),i={type:n.multiLine?`BlockComment`:`LineComment`,value:r};this.trackRange&&(i.range=n.range),this.trackLoc&&(i.loc=n.loc),this.buffer.push(i)}if(!this.scanner.eof()){var o=void 0;this.trackLoc&&(o={start:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},end:{}});var s=this.scanner.source[this.scanner.index]===`/`&&this.reader.isRegexStart()?this.scanner.scanRegExp():this.scanner.lex();this.reader.push(s);var c={type:a.TokenName[s.type],value:this.scanner.source.slice(s.start,s.end)};this.trackRange&&(c.range=[s.start,s.end]),this.trackLoc&&(o.end={line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},c.loc=o),s.type===9&&(c.regex={pattern:s.pattern,flags:s.flags}),this.buffer.push(c)}}return this.buffer.shift()},e}()}])})})),ln=t(((e,t)=>{var n;try{n=cn()}catch{typeof window<`u`&&(n=window.esprima)}var r=$();function i(e){if(e===null)return!1;try{var t=`(`+e+`)`,r=n.parse(t,{range:!0});return!(r.type!==`Program`||r.body.length!==1||r.body[0].type!==`ExpressionStatement`||r.body[0].expression.type!==`ArrowFunctionExpression`&&r.body[0].expression.type!==`FunctionExpression`)}catch{return!1}}function a(e){var t=`(`+e+`)`,r=n.parse(t,{range:!0}),i=[],a;if(r.type!==`Program`||r.body.length!==1||r.body[0].type!==`ExpressionStatement`||r.body[0].expression.type!==`ArrowFunctionExpression`&&r.body[0].expression.type!==`FunctionExpression`)throw Error(`Failed to resolve function`);return r.body[0].expression.params.forEach(function(e){i.push(e.name)}),a=r.body[0].expression.body.range,r.body[0].expression.body.type===`BlockStatement`?Function(i,t.slice(a[0]+1,a[1]-1)):Function(i,`return `+t.slice(a[0],a[1]))}function o(e){return e.toString()}function s(e){return Object.prototype.toString.call(e)===`[object Function]`}t.exports=new r(`tag:yaml.org,2002:js/function`,{kind:`scalar`,resolve:i,construct:a,predicate:s,represent:o})})),un=t(((e,t)=>{var n=Vt();t.exports=n.DEFAULT=new n({include:[an()],explicit:[on(),sn(),ln()]})})),dn=t(((e,t)=>{var n=Rt(),r=zt(),i=Bt(),a=an(),o=un(),s=Object.prototype.hasOwnProperty,c=1,l=2,u=3,d=4,f=1,p=2,m=3,h=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,g=/[\x85\u2028\u2029]/,_=/[,\[\]\{\}]/,v=/^(?:!|!!|![a-z\-]+!)$/i,y=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function b(e){return Object.prototype.toString.call(e)}function x(e){return e===10||e===13}function S(e){return e===9||e===32}function C(e){return e===9||e===32||e===10||e===13}function w(e){return e===44||e===91||e===93||e===123||e===125}function T(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}function E(e){return e===120?2:e===117?4:e===85?8:0}function D(e){return 48<=e&&e<=57?e-48:-1}function O(e){return e===48?`\0`:e===97?`\x07`:e===98?`\b`:e===116||e===9?` `:e===110?`
`:e===118?`\v`:e===102?`\f`:e===114?`\r`:e===101?`\x1B`:e===32?` `:e===34?`"`:e===47?`/`:e===92?`\\`:e===78?`…`:e===95?`\xA0`:e===76?`\u2028`:e===80?`\u2029`:``}function k(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function A(e,t,n){t===`__proto__`?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n}for(var j=Array(256),M=Array(256),N=0;N<256;N++)j[N]=+!!O(N),M[N]=O(N);function P(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||o,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function F(e,t){return new r(t,new i(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function I(e,t){throw F(e,t)}function L(e,t){e.onWarning&&e.onWarning.call(null,F(e,t))}var R={YAML:function(e,t,n){var r,i,a;e.version!==null&&I(e,`duplication of %YAML directive`),n.length!==1&&I(e,`YAML directive accepts exactly one argument`),r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),r===null&&I(e,`ill-formed argument of the YAML directive`),i=parseInt(r[1],10),a=parseInt(r[2],10),i!==1&&I(e,`unacceptable YAML version of the document`),e.version=n[0],e.checkLineBreaks=a<2,a!==1&&a!==2&&L(e,`unsupported YAML version of the document`)},TAG:function(e,t,n){var r,i;n.length!==2&&I(e,`TAG directive accepts exactly two arguments`),r=n[0],i=n[1],v.test(r)||I(e,`ill-formed tag handle (first argument) of the TAG directive`),s.call(e.tagMap,r)&&I(e,`there is a previously declared suffix for "`+r+`" tag handle`),y.test(i)||I(e,`ill-formed tag prefix (second argument) of the TAG directive`),e.tagMap[r]=i}};function z(e,t,n,r){var i,a,o,s;if(t<n){if(s=e.input.slice(t,n),r)for(i=0,a=s.length;i<a;i+=1)o=s.charCodeAt(i),o===9||32<=o&&o<=1114111||I(e,`expected valid JSON character`);else h.test(s)&&I(e,`the stream contains non-printable characters`);e.result+=s}}function B(e,t,r,i){var a,o,c,l;for(n.isObject(r)||I(e,`cannot merge mappings; the provided source object is unacceptable`),a=Object.keys(r),c=0,l=a.length;c<l;c+=1)o=a[c],s.call(t,o)||(A(t,o,r[o]),i[o]=!0)}function V(e,t,n,r,i,a,o,c){var l,u;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),l=0,u=i.length;l<u;l+=1)Array.isArray(i[l])&&I(e,`nested arrays are not supported inside keys`),typeof i==`object`&&b(i[l])===`[object Object]`&&(i[l]=`[object Object]`);if(typeof i==`object`&&b(i)===`[object Object]`&&(i=`[object Object]`),i=String(i),t===null&&(t={}),r===`tag:yaml.org,2002:merge`)if(Array.isArray(a))for(l=0,u=a.length;l<u;l+=1)B(e,t,a[l],n);else B(e,t,a,n);else !e.json&&!s.call(n,i)&&s.call(t,i)&&(e.line=o||e.line,e.position=c||e.position,I(e,`duplicated mapping key`)),A(t,i,a),delete n[i];return t}function H(e){var t=e.input.charCodeAt(e.position);t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):I(e,`a line break is expected`),e.line+=1,e.lineStart=e.position}function U(e,t,n){for(var r=0,i=e.input.charCodeAt(e.position);i!==0;){for(;S(i);)i=e.input.charCodeAt(++e.position);if(t&&i===35)do i=e.input.charCodeAt(++e.position);while(i!==10&&i!==13&&i!==0);if(x(i))for(H(e),i=e.input.charCodeAt(e.position),r++,e.lineIndent=0;i===32;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return n!==-1&&r!==0&&e.lineIndent<n&&L(e,`deficient indentation`),r}function W(e){var t=e.position,n=e.input.charCodeAt(t);return!!((n===45||n===46)&&n===e.input.charCodeAt(t+1)&&n===e.input.charCodeAt(t+2)&&(t+=3,n=e.input.charCodeAt(t),n===0||C(n)))}function G(e,t){t===1?e.result+=` `:t>1&&(e.result+=n.repeat(`
`,t-1))}function K(e,t,n){var r,i,a,o,s,c,l,u,d=e.kind,f=e.result,p=e.input.charCodeAt(e.position);if(C(p)||w(p)||p===35||p===38||p===42||p===33||p===124||p===62||p===39||p===34||p===37||p===64||p===96||(p===63||p===45)&&(i=e.input.charCodeAt(e.position+1),C(i)||n&&w(i)))return!1;for(e.kind=`scalar`,e.result=``,a=o=e.position,s=!1;p!==0;){if(p===58){if(i=e.input.charCodeAt(e.position+1),C(i)||n&&w(i))break}else if(p===35){if(r=e.input.charCodeAt(e.position-1),C(r))break}else if(e.position===e.lineStart&&W(e)||n&&w(p))break;else if(x(p))if(c=e.line,l=e.lineStart,u=e.lineIndent,U(e,!1,-1),e.lineIndent>=t){s=!0,p=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=c,e.lineStart=l,e.lineIndent=u;break}s&&=(z(e,a,o,!1),G(e,e.line-c),a=o=e.position,!1),S(p)||(o=e.position+1),p=e.input.charCodeAt(++e.position)}return z(e,a,o,!1),e.result?!0:(e.kind=d,e.result=f,!1)}function q(e,t){var n=e.input.charCodeAt(e.position),r,i;if(n!==39)return!1;for(e.kind=`scalar`,e.result=``,e.position++,r=i=e.position;(n=e.input.charCodeAt(e.position))!==0;)if(n===39)if(z(e,r,e.position,!0),n=e.input.charCodeAt(++e.position),n===39)r=e.position,e.position++,i=e.position;else return!0;else x(n)?(z(e,r,i,!0),G(e,U(e,!1,t)),r=i=e.position):e.position===e.lineStart&&W(e)?I(e,`unexpected end of the document within a single quoted scalar`):(e.position++,i=e.position);I(e,`unexpected end of the stream within a single quoted scalar`)}function J(e,t){var n,r,i,a,o,s=e.input.charCodeAt(e.position);if(s!==34)return!1;for(e.kind=`scalar`,e.result=``,e.position++,n=r=e.position;(s=e.input.charCodeAt(e.position))!==0;)if(s===34)return z(e,n,e.position,!0),e.position++,!0;else if(s===92){if(z(e,n,e.position,!0),s=e.input.charCodeAt(++e.position),x(s))U(e,!1,t);else if(s<256&&j[s])e.result+=M[s],e.position++;else if((o=E(s))>0){for(i=o,a=0;i>0;i--)s=e.input.charCodeAt(++e.position),(o=T(s))>=0?a=(a<<4)+o:I(e,`expected hexadecimal character`);e.result+=k(a),e.position++}else I(e,`unknown escape sequence`);n=r=e.position}else x(s)?(z(e,n,r,!0),G(e,U(e,!1,t)),n=r=e.position):e.position===e.lineStart&&W(e)?I(e,`unexpected end of the document within a double quoted scalar`):(e.position++,r=e.position);I(e,`unexpected end of the stream within a double quoted scalar`)}function Y(e,t){var n=!0,r,i=e.tag,a,o=e.anchor,s,l,u,d,f,p={},m,h,g,_=e.input.charCodeAt(e.position);if(_===91)l=93,f=!1,a=[];else if(_===123)l=125,f=!0,a={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=a),_=e.input.charCodeAt(++e.position);_!==0;){if(U(e,!0,t),_=e.input.charCodeAt(e.position),_===l)return e.position++,e.tag=i,e.anchor=o,e.kind=f?`mapping`:`sequence`,e.result=a,!0;n||I(e,`missed comma between flow collection entries`),h=m=g=null,u=d=!1,_===63&&(s=e.input.charCodeAt(e.position+1),C(s)&&(u=d=!0,e.position++,U(e,!0,t))),r=e.line,ie(e,t,c,!1,!0),h=e.tag,m=e.result,U(e,!0,t),_=e.input.charCodeAt(e.position),(d||e.line===r)&&_===58&&(u=!0,_=e.input.charCodeAt(++e.position),U(e,!0,t),ie(e,t,c,!1,!0),g=e.result),f?V(e,a,p,h,m,g):u?a.push(V(e,null,p,h,m,g)):a.push(m),U(e,!0,t),_=e.input.charCodeAt(e.position),_===44?(n=!0,_=e.input.charCodeAt(++e.position)):n=!1}I(e,`unexpected end of the stream within a flow collection`)}function X(e,t){var r,i,a=f,o=!1,s=!1,c=t,l=0,u=!1,d,h=e.input.charCodeAt(e.position);if(h===124)i=!1;else if(h===62)i=!0;else return!1;for(e.kind=`scalar`,e.result=``;h!==0;)if(h=e.input.charCodeAt(++e.position),h===43||h===45)f===a?a=h===43?m:p:I(e,`repeat of a chomping mode identifier`);else if((d=D(h))>=0)d===0?I(e,`bad explicit indentation width of a block scalar; it cannot be less than one`):s?I(e,`repeat of an indentation width identifier`):(c=t+d-1,s=!0);else break;if(S(h)){do h=e.input.charCodeAt(++e.position);while(S(h));if(h===35)do h=e.input.charCodeAt(++e.position);while(!x(h)&&h!==0)}for(;h!==0;){for(H(e),e.lineIndent=0,h=e.input.charCodeAt(e.position);(!s||e.lineIndent<c)&&h===32;)e.lineIndent++,h=e.input.charCodeAt(++e.position);if(!s&&e.lineIndent>c&&(c=e.lineIndent),x(h)){l++;continue}if(e.lineIndent<c){a===m?e.result+=n.repeat(`
`,o?1+l:l):a===f&&o&&(e.result+=`
`);break}for(i?S(h)?(u=!0,e.result+=n.repeat(`
`,o?1+l:l)):u?(u=!1,e.result+=n.repeat(`
`,l+1)):l===0?o&&(e.result+=` `):e.result+=n.repeat(`
`,l):e.result+=n.repeat(`
`,o?1+l:l),o=!0,s=!0,l=0,r=e.position;!x(h)&&h!==0;)h=e.input.charCodeAt(++e.position);z(e,r,e.position,!1)}return!0}function ee(e,t){var n,r=e.tag,i=e.anchor,a=[],o,s=!1,c;for(e.anchor!==null&&(e.anchorMap[e.anchor]=a),c=e.input.charCodeAt(e.position);c!==0&&!(c!==45||(o=e.input.charCodeAt(e.position+1),!C(o)));){if(s=!0,e.position++,U(e,!0,-1)&&e.lineIndent<=t){a.push(null),c=e.input.charCodeAt(e.position);continue}if(n=e.line,ie(e,t,u,!1,!0),a.push(e.result),U(e,!0,-1),c=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&c!==0)I(e,`bad indentation of a sequence entry`);else if(e.lineIndent<t)break}return s?(e.tag=r,e.anchor=i,e.kind=`sequence`,e.result=a,!0):!1}function te(e,t,n){var r,i,a,o,s=e.tag,c=e.anchor,u={},f={},p=null,m=null,h=null,g=!1,_=!1,v;for(e.anchor!==null&&(e.anchorMap[e.anchor]=u),v=e.input.charCodeAt(e.position);v!==0;){if(r=e.input.charCodeAt(e.position+1),a=e.line,o=e.position,(v===63||v===58)&&C(r))v===63?(g&&(V(e,u,f,p,m,null),p=m=h=null),_=!0,g=!0,i=!0):g?(g=!1,i=!0):I(e,`incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line`),e.position+=1,v=r;else if(ie(e,n,l,!1,!0))if(e.line===a){for(v=e.input.charCodeAt(e.position);S(v);)v=e.input.charCodeAt(++e.position);if(v===58)v=e.input.charCodeAt(++e.position),C(v)||I(e,`a whitespace character is expected after the key-value separator within a block mapping`),g&&(V(e,u,f,p,m,null),p=m=h=null),_=!0,g=!1,i=!1,p=e.tag,m=e.result;else if(_)I(e,`can not read an implicit mapping pair; a colon is missed`);else return e.tag=s,e.anchor=c,!0}else if(_)I(e,`can not read a block mapping entry; a multiline key may not be an implicit key`);else return e.tag=s,e.anchor=c,!0;else break;if((e.line===a||e.lineIndent>t)&&(ie(e,t,d,!0,i)&&(g?m=e.result:h=e.result),g||(V(e,u,f,p,m,h,a,o),p=m=h=null),U(e,!0,-1),v=e.input.charCodeAt(e.position)),e.lineIndent>t&&v!==0)I(e,`bad indentation of a mapping entry`);else if(e.lineIndent<t)break}return g&&V(e,u,f,p,m,null),_&&(e.tag=s,e.anchor=c,e.kind=`mapping`,e.result=u),_}function Z(e){var t,n=!1,r=!1,i,a,o=e.input.charCodeAt(e.position);if(o!==33)return!1;if(e.tag!==null&&I(e,`duplication of a tag property`),o=e.input.charCodeAt(++e.position),o===60?(n=!0,o=e.input.charCodeAt(++e.position)):o===33?(r=!0,i=`!!`,o=e.input.charCodeAt(++e.position)):i=`!`,t=e.position,n){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(a=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):I(e,`unexpected end of the stream within a verbatim tag`)}else{for(;o!==0&&!C(o);)o===33&&(r?I(e,`tag suffix cannot contain exclamation marks`):(i=e.input.slice(t-1,e.position+1),v.test(i)||I(e,`named tag handle cannot contain such characters`),r=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);a=e.input.slice(t,e.position),_.test(a)&&I(e,`tag suffix cannot contain flow indicator characters`)}return a&&!y.test(a)&&I(e,`tag name cannot contain such characters: `+a),n?e.tag=a:s.call(e.tagMap,i)?e.tag=e.tagMap[i]+a:i===`!`?e.tag=`!`+a:i===`!!`?e.tag=`tag:yaml.org,2002:`+a:I(e,`undeclared tag handle "`+i+`"`),!0}function ne(e){var t,n=e.input.charCodeAt(e.position);if(n!==38)return!1;for(e.anchor!==null&&I(e,`duplication of an anchor property`),n=e.input.charCodeAt(++e.position),t=e.position;n!==0&&!C(n)&&!w(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&I(e,`name of an anchor node must contain at least one character`),e.anchor=e.input.slice(t,e.position),!0}function re(e){var t,n,r=e.input.charCodeAt(e.position);if(r!==42)return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!C(r)&&!w(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&I(e,`name of an alias node must contain at least one character`),n=e.input.slice(t,e.position),s.call(e.anchorMap,n)||I(e,`unidentified alias "`+n+`"`),e.result=e.anchorMap[n],U(e,!0,-1),!0}function ie(e,t,n,r,i){var a,o,f,p=1,m=!1,h=!1,g,_,v,y,b;if(e.listener!==null&&e.listener(`open`,e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,a=o=f=d===n||u===n,r&&U(e,!0,-1)&&(m=!0,e.lineIndent>t?p=1:e.lineIndent===t?p=0:e.lineIndent<t&&(p=-1)),p===1)for(;Z(e)||ne(e);)U(e,!0,-1)?(m=!0,f=a,e.lineIndent>t?p=1:e.lineIndent===t?p=0:e.lineIndent<t&&(p=-1)):f=!1;if(f&&=m||i,(p===1||d===n)&&(y=c===n||l===n?t:t+1,b=e.position-e.lineStart,p===1?f&&(ee(e,b)||te(e,b,y))||Y(e,y)?h=!0:(o&&X(e,y)||q(e,y)||J(e,y)?h=!0:re(e)?(h=!0,(e.tag!==null||e.anchor!==null)&&I(e,`alias node should not have any properties`)):K(e,y,c===n)&&(h=!0,e.tag===null&&(e.tag=`?`)),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):p===0&&(h=f&&ee(e,b))),e.tag!==null&&e.tag!==`!`)if(e.tag===`?`){for(e.result!==null&&e.kind!==`scalar`&&I(e,`unacceptable node kind for !<?> tag; it should be "scalar", not "`+e.kind+`"`),g=0,_=e.implicitTypes.length;g<_;g+=1)if(v=e.implicitTypes[g],v.resolve(e.result)){e.result=v.construct(e.result),e.tag=v.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else s.call(e.typeMap[e.kind||`fallback`],e.tag)?(v=e.typeMap[e.kind||`fallback`][e.tag],e.result!==null&&v.kind!==e.kind&&I(e,`unacceptable node kind for !<`+e.tag+`> tag; it should be "`+v.kind+`", not "`+e.kind+`"`),v.resolve(e.result)?(e.result=v.construct(e.result),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):I(e,`cannot resolve a node with !<`+e.tag+`> explicit tag`)):I(e,`unknown tag !<`+e.tag+`>`);return e.listener!==null&&e.listener(`close`,e),e.tag!==null||e.anchor!==null||h}function ae(e){var t=e.position,n,r,i,a=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};(o=e.input.charCodeAt(e.position))!==0&&(U(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(a=!0,o=e.input.charCodeAt(++e.position),n=e.position;o!==0&&!C(o);)o=e.input.charCodeAt(++e.position);for(r=e.input.slice(n,e.position),i=[],r.length<1&&I(e,`directive name must not be less than one character in length`);o!==0;){for(;S(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!x(o));break}if(x(o))break;for(n=e.position;o!==0&&!C(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(n,e.position))}o!==0&&H(e),s.call(R,r)?R[r](e,r,i):L(e,`unknown document directive "`+r+`"`)}if(U(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,U(e,!0,-1)):a&&I(e,`directives end mark is expected`),ie(e,e.lineIndent-1,d,!1,!0),U(e,!0,-1),e.checkLineBreaks&&g.test(e.input.slice(t,e.position))&&L(e,`non-ASCII line breaks are interpreted as content`),e.documents.push(e.result),e.position===e.lineStart&&W(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,U(e,!0,-1));return}if(e.position<e.length-1)I(e,`end of the stream or a document separator is expected`);else return}function oe(e,t){e=String(e),t||={},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
`),e.charCodeAt(0)===65279&&(e=e.slice(1)));var n=new P(e,t),r=e.indexOf(`\0`);for(r!==-1&&(n.position=r,I(n,`null byte is not allowed in input`)),n.input+=`\0`;n.input.charCodeAt(n.position)===32;)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)ae(n);return n.documents}function se(e,t,n){typeof t==`object`&&t&&n===void 0&&(n=t,t=null);var r=oe(e,n);if(typeof t!=`function`)return r;for(var i=0,a=r.length;i<a;i+=1)t(r[i])}function ce(e,t){var n=oe(e,t);if(n.length!==0){if(n.length===1)return n[0];throw new r(`expected a single document in the stream, but found more`)}}function le(e,t,r){return typeof t==`object`&&t&&r===void 0&&(r=t,t=null),se(e,t,n.extend({schema:a},r))}function ue(e,t){return ce(e,n.extend({schema:a},t))}t.exports.loadAll=se,t.exports.load=ce,t.exports.safeLoadAll=le,t.exports.safeLoad=ue})),fn=t(((e,t)=>{var n=Rt(),r=zt(),i=un(),a=an(),o=Object.prototype.toString,s=Object.prototype.hasOwnProperty,c=9,l=10,u=13,d=32,f=33,p=34,m=35,h=37,g=38,_=39,v=42,y=44,b=45,x=58,S=61,C=62,w=63,T=64,E=91,D=93,O=96,k=123,A=124,j=125,M={};M[0]=`\\0`,M[7]=`\\a`,M[8]=`\\b`,M[9]=`\\t`,M[10]=`\\n`,M[11]=`\\v`,M[12]=`\\f`,M[13]=`\\r`,M[27]=`\\e`,M[34]=`\\"`,M[92]=`\\\\`,M[133]=`\\N`,M[160]=`\\_`,M[8232]=`\\L`,M[8233]=`\\P`;var N=[`y`,`Y`,`yes`,`Yes`,`YES`,`on`,`On`,`ON`,`n`,`N`,`no`,`No`,`NO`,`off`,`Off`,`OFF`];function P(e,t){var n,r,i,a,o,c,l;if(t===null)return{};for(n={},r=Object.keys(t),i=0,a=r.length;i<a;i+=1)o=r[i],c=String(t[o]),o.slice(0,2)===`!!`&&(o=`tag:yaml.org,2002:`+o.slice(2)),l=e.compiledTypeMap.fallback[o],l&&s.call(l.styleAliases,c)&&(c=l.styleAliases[c]),n[o]=c;return n}function F(e){var t=e.toString(16).toUpperCase(),i,a;if(e<=255)i=`x`,a=2;else if(e<=65535)i=`u`,a=4;else if(e<=4294967295)i=`U`,a=8;else throw new r(`code point within a string may not be greater than 0xFFFFFFFF`);return`\\`+i+n.repeat(`0`,a-t.length)+t}function I(e){this.schema=e.schema||i,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=n.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=P(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result=``,this.duplicates=[],this.usedDuplicates=null}function L(e,t){for(var r=n.repeat(` `,t),i=0,a=-1,o=``,s,c=e.length;i<c;)a=e.indexOf(`
`,i),a===-1?(s=e.slice(i),i=c):(s=e.slice(i,a+1),i=a+1),s.length&&s!==`
`&&(o+=r),o+=s;return o}function R(e,t){return`
`+n.repeat(` `,e.indent*t)}function z(e,t){var n,r,i;for(n=0,r=e.implicitTypes.length;n<r;n+=1)if(i=e.implicitTypes[n],i.resolve(t))return!0;return!1}function B(e){return e===d||e===c}function V(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==65279||65536<=e&&e<=1114111}function H(e){return V(e)&&!B(e)&&e!==65279&&e!==u&&e!==l}function U(e,t){return V(e)&&e!==65279&&e!==y&&e!==E&&e!==D&&e!==k&&e!==j&&e!==x&&(e!==m||t&&H(t))}function W(e){return V(e)&&e!==65279&&!B(e)&&e!==b&&e!==w&&e!==x&&e!==y&&e!==E&&e!==D&&e!==k&&e!==j&&e!==m&&e!==g&&e!==v&&e!==f&&e!==A&&e!==S&&e!==C&&e!==_&&e!==p&&e!==h&&e!==T&&e!==O}function G(e){return/^\n* /.test(e)}var K=1,q=2,J=3,Y=4,X=5;function ee(e,t,n,r,i){var a,o,s,c=!1,u=!1,d=r!==-1,f=-1,p=W(e.charCodeAt(0))&&!B(e.charCodeAt(e.length-1));if(t)for(a=0;a<e.length;a++){if(o=e.charCodeAt(a),!V(o))return X;s=a>0?e.charCodeAt(a-1):null,p&&=U(o,s)}else{for(a=0;a<e.length;a++){if(o=e.charCodeAt(a),o===l)c=!0,d&&(u||=a-f-1>r&&e[f+1]!==` `,f=a);else if(!V(o))return X;s=a>0?e.charCodeAt(a-1):null,p&&=U(o,s)}u||=d&&a-f-1>r&&e[f+1]!==` `}return!c&&!u?p&&!i(e)?K:q:n>9&&G(e)?X:u?Y:J}function te(e,t,n,i){e.dump=function(){if(t.length===0)return`''`;if(!e.noCompatMode&&N.indexOf(t)!==-1)return`'`+t+`'`;var a=e.indent*Math.max(1,n),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-a),s=i||e.flowLevel>-1&&n>=e.flowLevel;function c(t){return z(e,t)}switch(ee(t,s,e.indent,o,c)){case K:return t;case q:return`'`+t.replace(/'/g,`''`)+`'`;case J:return`|`+Z(t,e.indent)+ne(L(t,a));case Y:return`>`+Z(t,e.indent)+ne(L(re(t,o),a));case X:return`"`+ae(t,o)+`"`;default:throw new r(`impossible error: invalid scalar style`)}}()}function Z(e,t){var n=G(e)?String(t):``,r=e[e.length-1]===`
`;return n+(r&&(e[e.length-2]===`
`||e===`
`)?`+`:r?``:`-`)+`
`}function ne(e){return e[e.length-1]===`
`?e.slice(0,-1):e}function re(e,t){for(var n=/(\n+)([^\n]*)/g,r=function(){var r=e.indexOf(`
`);return r=r===-1?e.length:r,n.lastIndex=r,ie(e.slice(0,r),t)}(),i=e[0]===`
`||e[0]===` `,a,o;o=n.exec(e);){var s=o[1],c=o[2];a=c[0]===` `,r+=s+(!i&&!a&&c!==``?`
`:``)+ie(c,t),i=a}return r}function ie(e,t){if(e===``||e[0]===` `)return e;for(var n=/ [^ ]/g,r,i=0,a,o=0,s=0,c=``;r=n.exec(e);)s=r.index,s-i>t&&(a=o>i?o:s,c+=`
`+e.slice(i,a),i=a+1),o=s;return c+=`
`,e.length-i>t&&o>i?c+=e.slice(i,o)+`
`+e.slice(o+1):c+=e.slice(i),c.slice(1)}function ae(e){for(var t=``,n,r,i,a=0;a<e.length;a++){if(n=e.charCodeAt(a),n>=55296&&n<=56319&&(r=e.charCodeAt(a+1),r>=56320&&r<=57343)){t+=F((n-55296)*1024+r-56320+65536),a++;continue}i=M[n],t+=!i&&V(n)?e[a]:i||F(n)}return t}function oe(e,t,n){var r=``,i=e.tag,a,o;for(a=0,o=n.length;a<o;a+=1)Q(e,t,n[a],!1,!1)&&(a!==0&&(r+=`,`+(e.condenseFlow?``:` `)),r+=e.dump);e.tag=i,e.dump=`[`+r+`]`}function se(e,t,n,r){var i=``,a=e.tag,o,s;for(o=0,s=n.length;o<s;o+=1)Q(e,t+1,n[o],!0,!0)&&((!r||o!==0)&&(i+=R(e,t)),e.dump&&l===e.dump.charCodeAt(0)?i+=`-`:i+=`- `,i+=e.dump);e.tag=a,e.dump=i||`[]`}function ce(e,t,n){var r=``,i=e.tag,a=Object.keys(n),o,s,c,l,u;for(o=0,s=a.length;o<s;o+=1)u=``,o!==0&&(u+=`, `),e.condenseFlow&&(u+=`"`),c=a[o],l=n[c],Q(e,t,c,!1,!1)&&(e.dump.length>1024&&(u+=`? `),u+=e.dump+(e.condenseFlow?`"`:``)+`:`+(e.condenseFlow?``:` `),Q(e,t,l,!1,!1)&&(u+=e.dump,r+=u));e.tag=i,e.dump=`{`+r+`}`}function le(e,t,n,i){var a=``,o=e.tag,s=Object.keys(n),c,u,d,f,p,m;if(e.sortKeys===!0)s.sort();else if(typeof e.sortKeys==`function`)s.sort(e.sortKeys);else if(e.sortKeys)throw new r(`sortKeys must be a boolean or a function`);for(c=0,u=s.length;c<u;c+=1)m=``,(!i||c!==0)&&(m+=R(e,t)),d=s[c],f=n[d],Q(e,t+1,d,!0,!0,!0)&&(p=e.tag!==null&&e.tag!==`?`||e.dump&&e.dump.length>1024,p&&(e.dump&&l===e.dump.charCodeAt(0)?m+=`?`:m+=`? `),m+=e.dump,p&&(m+=R(e,t)),Q(e,t+1,f,!0,p)&&(e.dump&&l===e.dump.charCodeAt(0)?m+=`:`:m+=`: `,m+=e.dump,a+=m));e.tag=o,e.dump=a||`{}`}function ue(e,t,n){var i,a=n?e.explicitTypes:e.implicitTypes,c,l,u,d;for(c=0,l=a.length;c<l;c+=1)if(u=a[c],(u.instanceOf||u.predicate)&&(!u.instanceOf||typeof t==`object`&&t instanceof u.instanceOf)&&(!u.predicate||u.predicate(t))){if(e.tag=n?u.tag:`?`,u.represent){if(d=e.styleMap[u.tag]||u.defaultStyle,o.call(u.represent)===`[object Function]`)i=u.represent(t,d);else if(s.call(u.represent,d))i=u.represent[d](t,d);else throw new r(`!<`+u.tag+`> tag resolver accepts not "`+d+`" style`);e.dump=i}return!0}return!1}function Q(e,t,n,i,a,s){e.tag=null,e.dump=n,ue(e,n,!1)||ue(e,n,!0);var c=o.call(e.dump);i&&=e.flowLevel<0||e.flowLevel>t;var l=c===`[object Object]`||c===`[object Array]`,u,d;if(l&&(u=e.duplicates.indexOf(n),d=u!==-1),(e.tag!==null&&e.tag!==`?`||d||e.indent!==2&&t>0)&&(a=!1),d&&e.usedDuplicates[u])e.dump=`*ref_`+u;else{if(l&&d&&!e.usedDuplicates[u]&&(e.usedDuplicates[u]=!0),c===`[object Object]`)i&&Object.keys(e.dump).length!==0?(le(e,t,e.dump,a),d&&(e.dump=`&ref_`+u+e.dump)):(ce(e,t,e.dump),d&&(e.dump=`&ref_`+u+` `+e.dump));else if(c===`[object Array]`){var f=e.noArrayIndent&&t>0?t-1:t;i&&e.dump.length!==0?(se(e,f,e.dump,a),d&&(e.dump=`&ref_`+u+e.dump)):(oe(e,f,e.dump),d&&(e.dump=`&ref_`+u+` `+e.dump))}else if(c===`[object String]`)e.tag!==`?`&&te(e,e.dump,t,s);else{if(e.skipInvalid)return!1;throw new r(`unacceptable kind of an object to dump `+c)}e.tag!==null&&e.tag!==`?`&&(e.dump=`!<`+e.tag+`> `+e.dump)}return!0}function de(e,t){var n=[],r=[],i,a;for(fe(e,n,r),i=0,a=r.length;i<a;i+=1)t.duplicates.push(n[r[i]]);t.usedDuplicates=Array(a)}function fe(e,t,n){var r,i,a;if(typeof e==`object`&&e)if(i=t.indexOf(e),i!==-1)n.indexOf(i)===-1&&n.push(i);else if(t.push(e),Array.isArray(e))for(i=0,a=e.length;i<a;i+=1)fe(e[i],t,n);else for(r=Object.keys(e),i=0,a=r.length;i<a;i+=1)fe(e[r[i]],t,n)}function pe(e,t){t||={};var n=new I(t);return n.noRefs||de(e,n),Q(n,0,e,!0,!0)?n.dump+`
`:``}function me(e,t){return pe(e,n.extend({schema:a},t))}t.exports.dump=pe,t.exports.safeDump=me})),pn=t(((e,t)=>{var n=dn(),r=fn();function i(e){return function(){throw Error(`Function `+e+` is deprecated and cannot be used.`)}}t.exports.Type=$(),t.exports.Schema=Vt(),t.exports.FAILSAFE_SCHEMA=Gt(),t.exports.JSON_SCHEMA=Xt(),t.exports.CORE_SCHEMA=Zt(),t.exports.DEFAULT_SAFE_SCHEMA=an(),t.exports.DEFAULT_FULL_SCHEMA=un(),t.exports.load=n.load,t.exports.loadAll=n.loadAll,t.exports.safeLoad=n.safeLoad,t.exports.safeLoadAll=n.safeLoadAll,t.exports.dump=r.dump,t.exports.safeDump=r.safeDump,t.exports.YAMLException=zt(),t.exports.MINIMAL_SCHEMA=Gt(),t.exports.SAFE_SCHEMA=an(),t.exports.DEFAULT_SCHEMA=un(),t.exports.scan=i(`scan`),t.exports.parse=i(`parse`),t.exports.compose=i(`compose`),t.exports.addConstructor=i(`addConstructor`)})),mn=t(((e,t)=>{t.exports=pn()})),hn=t(((e,t)=>{let r=c(),i=n(),a=Lt(),o=mn(),s=e=>o.safeLoad(a(e)),l=e=>i(r.readFile)(e,`utf8`).then(e=>s(e));t.exports=l,t.exports.default=l,t.exports.sync=e=>s(r.readFileSync(e,`utf8`))})),gn=t(((e,t)=>{let n=(e,...t)=>new Promise(n=>{n(e(...t))});t.exports=n,t.exports.default=n})),_n=t(((e,t)=>{let n=gn(),r=e=>{if(!((Number.isInteger(e)||e===1/0)&&e>0))return Promise.reject(TypeError("Expected `concurrency` to be a number from 1 and up"));let t=[],r=0,i=()=>{r--,t.length>0&&t.shift()()},a=(e,t,...a)=>{r++;let o=n(e,...a);t(o),o.then(i,i)},o=(n,i,...o)=>{r<e?a(n,i,...o):t.push(a.bind(null,n,i,...o))},s=(e,...t)=>new Promise(n=>o(e,n,...t));return Object.defineProperties(s,{activeCount:{get:()=>r},pendingCount:{get:()=>t.length},clearQueue:{value:()=>{t.length=0}}}),s};t.exports=r,t.exports.default=r})),vn=t(((e,t)=>{let n=_n();var r=class extends Error{constructor(e){super(),this.value=e}};let i=async(e,t)=>t(await e),a=async e=>{let t=await Promise.all(e);if(t[1]===!0)throw new r(t[0]);return!1},o=async(e,t,o)=>{o={concurrency:1/0,preserveOrder:!0,...o};let s=n(o.concurrency),c=[...e].map(e=>[e,s(i,e,t)]),l=n(o.preserveOrder?1:1/0);try{await Promise.all(c.map(e=>l(a,e)))}catch(e){if(e instanceof r)return e.value;throw e}};t.exports=o,t.exports.default=o})),yn=t(((t,n)=>{let r=e(`path`),i=e(`fs`),{promisify:a}=e(`util`),o=vn(),s=a(i.stat),c=a(i.lstat),l={directory:`isDirectory`,file:`isFile`};function u({type:e}){if(!(e in l))throw Error(`Invalid type specified: ${e}`)}let d=(e,t)=>e===void 0||t[l[e]]();n.exports=async(e,t)=>{t={cwd:process.cwd(),type:`file`,allowSymlinks:!0,...t},u(t);let n=t.allowSymlinks?s:c;return o(e,async e=>{try{let i=await n(r.resolve(t.cwd,e));return d(t.type,i)}catch{return!1}},t)},n.exports.sync=(e,t)=>{t={cwd:process.cwd(),allowSymlinks:!0,type:`file`,...t},u(t);let n=t.allowSymlinks?i.statSync:i.lstatSync;for(let i of e)try{let e=n(r.resolve(t.cwd,i));if(d(t.type,e))return i}catch{}}})),bn=t(((t,n)=>{let r=e(`fs`),{promisify:i}=e(`util`),a=i(r.access);n.exports=async e=>{try{return await a(e),!0}catch{return!1}},n.exports.sync=e=>{try{return r.accessSync(e),!0}catch{return!1}}})),xn=t(((t,n)=>{let r=e(`path`),i=yn(),a=bn(),o=Symbol(`findUp.stop`);n.exports=async(e,t={})=>{let n=r.resolve(t.cwd||``),{root:a}=r.parse(n),s=[].concat(e),c=async t=>{if(typeof e!=`function`)return i(s,t);let n=await e(t.cwd);return typeof n==`string`?i([n],t):n};for(;;){let e=await c({...t,cwd:n});if(e===o)return;if(e)return r.resolve(n,e);if(n===a)return;n=r.dirname(n)}},n.exports.sync=(e,t={})=>{let n=r.resolve(t.cwd||``),{root:a}=r.parse(n),s=[].concat(e),c=t=>{if(typeof e!=`function`)return i.sync(s,t);let n=e(t.cwd);return typeof n==`string`?i.sync([n],t):n};for(;;){let e=c({...t,cwd:n});if(e===o)return;if(e)return r.resolve(n,e);if(n===a)return;n=r.dirname(n)}},n.exports.exists=a,n.exports.sync.exists=a.sync,n.exports.stop=o})),Sn=t((t=>{function n(e){return e&&typeof e==`object`&&`default`in e?e.default:e}Object.defineProperty(t,`__esModule`,{value:!0});var r=n(b()),i=n(x()),a=n(S()),o=n(w()),s=n(T()),c=n(D()),l=n(j()),u=xn(),d=n(u),f=n(e(`path`)),p=n(Q()),m=function(e){function t(e){var n;return a(this,t),(n=o(this,s(t).call(this,`No package.json could be found upwards from the directory ${e}`))).directory=e,n}return c(t,e),t}(l(Error));function h(e,t){return g.apply(this,arguments)}function g(){return(g=i(r.mark(function e(t,n){var i;return r.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,p.readJson(f.join(t,`package.json`));case 3:if(i=e.sent,n.current===void 0&&(n.current=t),!i.workspaces&&!i.bolt){e.next=7;break}return e.abrupt(`return`,t);case 7:e.next=13;break;case 9:if(e.prev=9,e.t0=e.catch(0),e.t0.code===`ENOENT`){e.next=13;break}throw e.t0;case 13:case`end`:return e.stop()}},e,null,[[0,9]])}))).apply(this,arguments)}function _(e){return v.apply(this,arguments)}function v(){return(v=i(r.mark(function e(t){return r.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,p.readJson(f.join(t,`lerna.json`));case 3:if(!0===e.sent.useWorkspaces){e.next=6;break}return e.abrupt(`return`,t);case 6:e.next=12;break;case 8:if(e.prev=8,e.t0=e.catch(0),e.t0.code===`ENOENT`){e.next=12;break}throw e.t0;case 12:case`end`:return e.stop()}},e,null,[[0,8]])}))).apply(this,arguments)}function y(e){return C.apply(this,arguments)}function C(){return(C=i(r.mark(function e(t){return r.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.exists(f.join(t,`pnpm-workspace.yaml`));case 2:if(!e.sent){e.next=5;break}return e.abrupt(`return`,t);case 5:case`end`:return e.stop()}},e)}))).apply(this,arguments)}function E(e){return O.apply(this,arguments)}function O(){return(O=i(r.mark(function e(t){var n,i;return r.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n={current:void 0},e.next=3,d(function(e){return Promise.all([_(e),h(e,n),y(e)]).then(function(e){return e.find(function(e){return e})})},{cwd:t,type:`directory`});case 3:if(i=e.sent,n.current!==void 0){e.next=6;break}throw new m(t);case 6:if(i!==void 0){e.next=8;break}return e.abrupt(`return`,n.current);case 8:return e.abrupt(`return`,i);case 9:case`end`:return e.stop()}},e)}))).apply(this,arguments)}function k(e,t){try{var n=p.readJsonSync(f.join(e,`package.json`));if(t.current===void 0&&(t.current=e),n.workspaces||n.bolt)return e}catch(e){if(e.code!==`ENOENT`)throw e}}function A(e){try{if(!0!==p.readJsonSync(f.join(e,`lerna.json`)).useWorkspaces)return e}catch(e){if(e.code!==`ENOENT`)throw e}}function M(e){if(p.existsSync(f.join(e,`pnpm-workspace.yaml`)))return e}function N(e){var t={current:void 0},n=u.sync(function(e){return[A(e),k(e,t),M(e)].find(function(e){return e})},{cwd:e,type:`directory`});if(t.current===void 0)throw new m(e);return n===void 0?t.current:n}t.NoPkgJsonFound=m,t.findRoot=E,t.findRootSync=N})),Cn=t((t=>{Object.defineProperty(t,`__esModule`,{value:!0});function n(e){return e&&typeof e==`object`&&`default`in e?e.default:e}var r=n(b()),i=n(x()),a=n(S()),o=n(w()),s=n(T()),c=n(D()),l=n(j()),u=xn(),d=n(u),f=n(e(`path`)),p=n(Q()),m=function(e){c(t,e);function t(e){var n;return a(this,t),n=o(this,s(t).call(this,`No package.json could be found upwards from the directory ${e}`)),n.directory=e,n}return t}(l(Error));function h(e,t){return g.apply(this,arguments)}function g(){return g=i(r.mark(function e(t,n){var i;return r.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,p.readJson(f.join(t,`package.json`));case 3:if(i=e.sent,n.current===void 0&&(n.current=t),!(i.workspaces||i.bolt)){e.next=7;break}return e.abrupt(`return`,t);case 7:e.next=13;break;case 9:if(e.prev=9,e.t0=e.catch(0),e.t0.code===`ENOENT`){e.next=13;break}throw e.t0;case 13:case`end`:return e.stop()}},e,null,[[0,9]])})),g.apply(this,arguments)}function _(e){return v.apply(this,arguments)}function v(){return v=i(r.mark(function e(t){var n;return r.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,p.readJson(f.join(t,`lerna.json`));case 3:if(n=e.sent,n.useWorkspaces===!0){e.next=6;break}return e.abrupt(`return`,t);case 6:e.next=12;break;case 8:if(e.prev=8,e.t0=e.catch(0),e.t0.code===`ENOENT`){e.next=12;break}throw e.t0;case 12:case`end`:return e.stop()}},e,null,[[0,8]])})),v.apply(this,arguments)}function y(e){return C.apply(this,arguments)}function C(){return C=i(r.mark(function e(t){var n;return r.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.exists(f.join(t,`pnpm-workspace.yaml`));case 2:if(n=e.sent,!n){e.next=5;break}return e.abrupt(`return`,t);case 5:case`end`:return e.stop()}},e)})),C.apply(this,arguments)}function E(e){return O.apply(this,arguments)}function O(){return O=i(r.mark(function e(t){var n,i;return r.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n={current:void 0},e.next=3,d(function(e){return Promise.all([_(e),h(e,n),y(e)]).then(function(e){return e.find(function(e){return e})})},{cwd:t,type:`directory`});case 3:if(i=e.sent,n.current!==void 0){e.next=6;break}throw new m(t);case 6:if(i!==void 0){e.next=8;break}return e.abrupt(`return`,n.current);case 8:return e.abrupt(`return`,i);case 9:case`end`:return e.stop()}},e)})),O.apply(this,arguments)}function k(e,t){try{var n=p.readJsonSync(f.join(e,`package.json`));if(t.current===void 0&&(t.current=e),n.workspaces||n.bolt)return e}catch(e){if(e.code!==`ENOENT`)throw e}}function A(e){try{if(p.readJsonSync(f.join(e,`lerna.json`)).useWorkspaces!==!0)return e}catch(e){if(e.code!==`ENOENT`)throw e}}function M(e){if(p.existsSync(f.join(e,`pnpm-workspace.yaml`)))return e}function N(e){var t={current:void 0},n=u.sync(function(e){return[A(e),k(e,t),M(e)].find(function(e){return e})},{cwd:e,type:`directory`});if(t.current===void 0)throw new m(e);return n===void 0?t.current:n}t.NoPkgJsonFound=m,t.findRoot=E,t.findRootSync=N})),wn=t(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=Sn():t.exports=Cn()})),Tn=t((t=>{function n(e){return e&&typeof e==`object`&&`default`in e?e.default:e}Object.defineProperty(t,`__esModule`,{value:!0});var r=n(b()),i=n(x()),a=n(S()),o=n(w()),s=n(T()),c=n(D()),l=n(j()),u=n(Q()),d=n(e(`path`)),f=It(),p=n(f),m=hn(),h=n(m),g=wn(),_=function(e){function t(e){var n;return a(this,t),(n=o(this,s(t).call(this,`The following package.jsons are missing the "name" field:
${e.join(`
`)}`))).directories=e,n}return c(t,e),t}(l(Error));function v(e){return y.apply(this,arguments)}function y(){return(y=i(r.mark(function e(t){var n,i,a,o,s,c,l,f,m,v;return r.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.findRoot(t);case 2:return n=e.sent,e.next=5,u.readJson(d.join(n,`package.json`));case 5:if(!(i=e.sent).workspaces){e.next=10;break}Array.isArray(i.workspaces)?a={type:`yarn`,packageGlobs:i.workspaces}:i.workspaces.packages&&(a={type:`yarn`,packageGlobs:i.workspaces.packages}),e.next=37;break;case 10:if(!i.bolt||!i.bolt.workspaces){e.next=14;break}a={type:`bolt`,packageGlobs:i.bolt.workspaces},e.next=37;break;case 14:return e.prev=14,e.next=17,h(d.join(n,`pnpm-workspace.yaml`));case 17:(o=e.sent)&&o.packages&&(a={type:`pnpm`,packageGlobs:o.packages}),e.next=25;break;case 21:if(e.prev=21,e.t0=e.catch(14),e.t0.code===`ENOENT`){e.next=25;break}throw e.t0;case 25:if(a){e.next=37;break}return e.prev=26,e.next=29,u.readJson(d.join(n,`lerna.json`));case 29:(s=e.sent)&&(a={type:`lerna`,packageGlobs:s.packages||[`packages/*`]}),e.next=37;break;case 33:if(e.prev=33,e.t1=e.catch(26),e.t1.code===`ENOENT`){e.next=37;break}throw e.t1;case 37:if(a){e.next=42;break}if(c={dir:n,packageJson:i},i.name){e.next=41;break}throw new _([`package.json`]);case 41:return e.abrupt(`return`,{tool:`root`,root:c,packages:[c]});case 42:return e.next=44,p(a.packageGlobs,{cwd:n,onlyDirectories:!0,expandDirectories:!1,ignore:[`**/node_modules`]});case 44:return l=e.sent,f=l.map(function(e){return d.resolve(n,e)}),m=[],e.next=49,Promise.all(f.sort().map(function(e){return u.readJson(d.join(e,`package.json`)).then(function(t){return t.name||m.push(d.relative(n,d.join(e,`package.json`))),{packageJson:t,dir:e}}).catch(function(e){if(e.code===`ENOENT`)return null;throw e})}));case 49:if(e.t2=function(e){return e},v=e.sent.filter(e.t2),m.length===0){e.next=54;break}throw m.sort(),new _(m);case 54:return e.abrupt(`return`,{tool:a.type,root:{dir:n,packageJson:i},packages:v});case 55:case`end`:return e.stop()}},e,null,[[14,21],[26,33]])}))).apply(this,arguments)}function C(e){var t,n=g.findRootSync(e),r=u.readJsonSync(d.join(n,`package.json`));if(r.workspaces)Array.isArray(r.workspaces)?t={type:`yarn`,packageGlobs:r.workspaces}:r.workspaces.packages&&(t={type:`yarn`,packageGlobs:r.workspaces.packages});else if(r.bolt&&r.bolt.workspaces)t={type:`bolt`,packageGlobs:r.bolt.workspaces};else{try{var i=m.sync(d.join(n,`pnpm-workspace.yaml`));i&&i.packages&&(t={type:`pnpm`,packageGlobs:i.packages})}catch(e){if(e.code!==`ENOENT`)throw e}if(!t)try{var a=u.readJsonSync(d.join(n,`lerna.json`));a&&(t={type:`lerna`,packageGlobs:a.packages||[`packages/*`]})}catch(e){if(e.code!==`ENOENT`)throw e}}if(!t){var o={dir:n,packageJson:r};if(!r.name)throw new _([`package.json`]);return{tool:`root`,root:o,packages:[o]}}var s=f.sync(t.packageGlobs,{cwd:n,onlyDirectories:!0,expandDirectories:!1,ignore:[`**/node_modules`]}).map(function(e){return d.resolve(n,e)}),c=[],l=s.sort().map(function(e){try{var t=u.readJsonSync(d.join(e,`package.json`));return t.name||c.push(d.relative(n,d.join(e,`package.json`))),{packageJson:t,dir:e}}catch(e){if(e.code===`ENOENT`)return null;throw e}}).filter(function(e){return e});if(c.length!==0)throw c.sort(),new _(c);return{tool:t.type,root:{dir:n,packageJson:r},packages:l}}t.PackageJsonMissingNameError=_,t.getPackages=v,t.getPackagesSync=C})),En=t((t=>{Object.defineProperty(t,`__esModule`,{value:!0});function n(e){return e&&typeof e==`object`&&`default`in e?e.default:e}var r=n(b()),i=n(x()),a=n(S()),o=n(w()),s=n(T()),c=n(D()),l=n(j()),u=n(Q()),d=n(e(`path`)),f=It(),p=n(f),m=hn(),h=n(m),g=wn(),_=function(e){c(t,e);function t(e){var n;return a(this,t),n=o(this,s(t).call(this,`The following package.jsons are missing the "name" field:
${e.join(`
`)}`)),n.directories=e,n}return t}(l(Error));function v(e){return y.apply(this,arguments)}function y(){return y=i(r.mark(function e(t){var n,i,a,o,s,c,l,f,m,v;return r.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.findRoot(t);case 2:return n=e.sent,e.next=5,u.readJson(d.join(n,`package.json`));case 5:if(i=e.sent,!i.workspaces){e.next=10;break}Array.isArray(i.workspaces)?a={type:`yarn`,packageGlobs:i.workspaces}:i.workspaces.packages&&(a={type:`yarn`,packageGlobs:i.workspaces.packages}),e.next=37;break;case 10:if(!(i.bolt&&i.bolt.workspaces)){e.next=14;break}a={type:`bolt`,packageGlobs:i.bolt.workspaces},e.next=37;break;case 14:return e.prev=14,e.next=17,h(d.join(n,`pnpm-workspace.yaml`));case 17:o=e.sent,o&&o.packages&&(a={type:`pnpm`,packageGlobs:o.packages}),e.next=25;break;case 21:if(e.prev=21,e.t0=e.catch(14),e.t0.code===`ENOENT`){e.next=25;break}throw e.t0;case 25:if(a){e.next=37;break}return e.prev=26,e.next=29,u.readJson(d.join(n,`lerna.json`));case 29:s=e.sent,s&&(a={type:`lerna`,packageGlobs:s.packages||[`packages/*`]}),e.next=37;break;case 33:if(e.prev=33,e.t1=e.catch(26),e.t1.code===`ENOENT`){e.next=37;break}throw e.t1;case 37:if(a){e.next=42;break}if(c={dir:n,packageJson:i},i.name){e.next=41;break}throw new _([`package.json`]);case 41:return e.abrupt(`return`,{tool:`root`,root:c,packages:[c]});case 42:return e.next=44,p(a.packageGlobs,{cwd:n,onlyDirectories:!0,expandDirectories:!1,ignore:[`**/node_modules`]});case 44:return l=e.sent,f=l.map(function(e){return d.resolve(n,e)}),m=[],e.next=49,Promise.all(f.sort().map(function(e){return u.readJson(d.join(e,`package.json`)).then(function(t){return t.name||m.push(d.relative(n,d.join(e,`package.json`))),{packageJson:t,dir:e}}).catch(function(e){if(e.code===`ENOENT`)return null;throw e})}));case 49:if(e.t2=function(e){return e},v=e.sent.filter(e.t2),m.length===0){e.next=54;break}throw m.sort(),new _(m);case 54:return e.abrupt(`return`,{tool:a.type,root:{dir:n,packageJson:i},packages:v});case 55:case`end`:return e.stop()}},e,null,[[14,21],[26,33]])})),y.apply(this,arguments)}function C(e){var t=g.findRootSync(e),n=u.readJsonSync(d.join(t,`package.json`)),r;if(n.workspaces)Array.isArray(n.workspaces)?r={type:`yarn`,packageGlobs:n.workspaces}:n.workspaces.packages&&(r={type:`yarn`,packageGlobs:n.workspaces.packages});else if(n.bolt&&n.bolt.workspaces)r={type:`bolt`,packageGlobs:n.bolt.workspaces};else{try{var i=m.sync(d.join(t,`pnpm-workspace.yaml`));i&&i.packages&&(r={type:`pnpm`,packageGlobs:i.packages})}catch(e){if(e.code!==`ENOENT`)throw e}if(!r)try{var a=u.readJsonSync(d.join(t,`lerna.json`));a&&(r={type:`lerna`,packageGlobs:a.packages||[`packages/*`]})}catch(e){if(e.code!==`ENOENT`)throw e}}if(!r){var o={dir:t,packageJson:n};if(!n.name)throw new _([`package.json`]);return{tool:`root`,root:o,packages:[o]}}var s=f.sync(r.packageGlobs,{cwd:t,onlyDirectories:!0,expandDirectories:!1,ignore:[`**/node_modules`]}).map(function(e){return d.resolve(t,e)}),c=[],l=s.sort().map(function(e){try{var n=u.readJsonSync(d.join(e,`package.json`));return n.name||c.push(d.relative(t,d.join(e,`package.json`))),{packageJson:n,dir:e}}catch(e){if(e.code===`ENOENT`)return null;throw e}}).filter(function(e){return e});if(c.length!==0)throw c.sort(),new _(c);return{tool:r.type,root:{dir:t,packageJson:n},packages:l}}t.PackageJsonMissingNameError=_,t.getPackages=v,t.getPackagesSync=C})),Dn=t(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=Tn():t.exports=En()}));export{i as a,c as i,Ie as n,r as o,l as r,n as s,Dn as t};