1(function(){function e(t,n,s){function o(i,r){if(!n[i]){if(!t[i]){var c,l,d="function"==typeof require&&require;if(!r&&d)return d(i,!0);if(a)return a(i,!0);throw l=new Error("Cannot find module '"+i+"'"),l.code="MODULE_NOT_FOUND",l}c=n[i]={exports:{}},t[i][0].call(c.exports,function(e){var n=t[i][1][e];return o(n||e)},c,c.exports,e,t,n,s)}return n[i].exports}for(var a="function"==typeof require&&require,i=0;i<s.length;i++)o(s[i]);return o}return e})()({1:[function(e){const s=e("bash-parser");window.parseBash=s},{"bash-parser":17}],2:[function(e,t,n){"use strict";n.byteLength=d,n.toByteArray=h,n.fromByteArray=p;for(var o=[],s=[],l=typeof Uint8Array!="undefined"?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,c=a.length;i<c;++i)o[i]=a[i],s[a.charCodeAt(i)]=i;s["-".charCodeAt(0)]=62,s["_".charCodeAt(0)]=63;function r(e){var t,s,n=e.length;if(n%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return t=e.indexOf("="),t===-1&&(t=n),s=t===n?0:4-t%4,[t,s]}function d(e){var t=r(e),s=t[0],n=t[1];return(s+n)*3/4-n}function u(e,t,n){return(t+n)*3/4-n}function h(e){var t,n,d=r(e),c=d[0],a=d[1],o=new l(u(e,c,a)),i=0,h=a>0?c-4:c;for(t=0;t<h;t+=4)n=s[e.charCodeAt(t)]<<18|s[e.charCodeAt(t+1)]<<12|s[e.charCodeAt(t+2)]<<6|s[e.charCodeAt(t+3)],o[i++]=n>>16&255,o[i++]=n>>8&255,o[i++]=n&255;return a===2&&(n=s[e.charCodeAt(t)]<<2|s[e.charCodeAt(t+1)]>>4,o[i++]=n&255),a===1&&(n=s[e.charCodeAt(t)]<<10|s[e.charCodeAt(t+1)]<<4|s[e.charCodeAt(t+2)]>>2,o[i++]=n>>8&255,o[i++]=n&255),o}function m(e){return o[e>>18&63]+o[e>>12&63]+o[e>>6&63]+o[e&63]}function f(e,t,n){for(var o,i=[],s=t;s<n;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(e[s+2]&255),i.push(m(o));return i.join("")}function p(e){for(var t,n=e.length,a=n%3,i=[],r=16383,s=0,c=n-a;s<c;s+=r)i.push(f(e,s,s+r>c?c:s+r));return a===1?(t=e[n-1],i.push(o[t>>2]+o[t<<4&63]+"==")):a===2&&(t=(e[n-2]<<8)+e[n-1],i.push(o[t>>10]+o[t>>4&63]+o[t<<2&63]+"=")),i.join("")}},{}],3:[function(){},{}],4:[function(e,t,n){(function(){(function(){/*! 2 * The buffer module from node.js, for the browser. 3 * 4 * @author Feross Aboukhadijeh <https://feross.org> 5 * @license MIT 6 */"use strict";var l,h,j,p=e("base64-js"),c=e("ieee754");n.Buffer=t,n.SlowBuffer=U,n.INSPECT_MAX_BYTES=50,l=2147483647,n.kMaxLength=l,t.TYPED_ARRAY_SUPPORT=Q(),!t.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Q(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},e.foo()===42}catch{return!1}}Object.defineProperty(t.prototype,"parent",{enumerable:!0,get:function(){return t.isBuffer(this)?this.buffer:void 0}}),Object.defineProperty(t.prototype,"offset",{enumerable:!0,get:function(){return t.isBuffer(this)?this.byteOffset:void 0}});function i(e){if(e>l)throw new RangeError('The value "'+e+'" is invalid for option "size"');var n=new Uint8Array(e);return n.__proto__=t.prototype,n}function t(e,t,n){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return m(e)}return S(e,t,n)}typeof Symbol!="undefined"&&Symbol.species!=null&&t[Symbol.species]===t&&Object.defineProperty(t,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),t.poolSize=8192;function S(e,n,s){if(typeof e=="string")return G(e,n);if(ArrayBuffer.isView(e))return f(e);if(e==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(a(e,ArrayBuffer)||e&&a(e.buffer,ArrayBuffer))return M(e,n,s);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i,o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return t.from(o,n,s);if(i=Y(e),i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return t.from(e[Symbol.toPrimitive]("string"),n,s);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}t.from=function(e,t,n){return S(e,t,n)},t.prototype.__proto__=Uint8Array.prototype,t.__proto__=Uint8Array;function b(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');
6if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function X(e,t,n){return b(e),e<=0?i(e):t!==void 0?typeof n=="string"?i(e).fill(t,n):i(e).fill(t):i(e)}t.alloc=function(e,t,n){return X(e,t,n)};function m(e){return b(e),i(e<0?0:g(e)|0)}t.allocUnsafe=function(e){return m(e)},t.allocUnsafeSlow=function(e){return m(e)};function G(e,n){if((typeof n!="string"||n==="")&&(n="utf8"),!t.isEncoding(n))throw new TypeError("Unknown encoding: "+n);var o=y(e,n)|0,s=i(o),a=s.write(e,n);return a!==o&&(s=s.slice(0,a)),s}function f(e){for(var n=e.length<0?0:g(e.length)|0,s=i(n),t=0;t<n;t+=1)s[t]=e[t]&255;return s}function M(e,n,s){if(n<0||e.byteLength<n)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<n+(s||0))throw new RangeError('"length" is outside of buffer bounds');var o;return n===void 0&&s===void 0?o=new Uint8Array(e):s===void 0?o=new Uint8Array(e,n):o=new Uint8Array(e,n,s),o.__proto__=t.prototype,o}function Y(e){if(t.isBuffer(e)){var s=g(e.length)|0,n=i(s);return n.length===0?n:(e.copy(n,0,0,s),n)}if(e.length!==void 0)return typeof e.length!="number"||u(e.length)?i(0):f(e);if(e.type==="Buffer"&&Array.isArray(e.data))return f(e.data)}function g(e){if(e>=l)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l.toString(16)+" bytes");return e|0}function U(e){return+e!=e&&(e=0),t.alloc(+e)}t.isBuffer=function(n){return n!=null&&n._isBuffer===!0&&n!==t.prototype},t.compare=function(n,s){if(a(n,Uint8Array)&&(n=t.from(n,n.offset,n.byteLength)),a(s,Uint8Array)&&(s=t.from(s,s.offset,s.byteLength)),!t.isBuffer(n)||!t.isBuffer(s))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(n===s)return 0;for(var i=n.length,r=s.length,o=0,c=Math.min(i,r);o<c;++o)if(n[o]!==s[o]){i=n[o],r=s[o];break}return i<r?-1:r<i?1:0},t.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},t.concat=function(n,s){if(!Array.isArray(n))throw new TypeError('"list" argument must be an Array of Buffers');if(n.length===0)return t.alloc(0);if(s===void 0){s=0;for(o=0;o<n.length;++o)s+=n[o].length}var o,i,r=t.allocUnsafe(s),c=0;for(o=0;o<n.length;++o){if(i=n[o],a(i,Uint8Array)&&(i=t.from(i)),!t.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,c),c+=i.length}return r};function y(e,n){if(t.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||a(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var o,s=e.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&s===0)return 0;for(o=!1;;)switch(n){case"ascii":case"latin1":case"binary":return s;case"utf8":case"utf-8":return v(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return s*2;case"hex":return s>>>1;case"base64":return k(e).length;default:if(o)return i?-1:v(e).length;n=(""+n).toLowerCase(),o=!0}}t.byteLength=y;function V(e,t,n){var s=!1;if((t===void 0||t<0)&&(t=0),t>this.length)return"";if((n===void 0||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");!0;)switch(e){case"hex":return N(this,t,n);case"utf8":case"utf-8":return A(this,t,n);case"ascii":return z(this,t,n);case"latin1":case"binary":return D(this,t,n);case"base64":return F(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,t,n);default:if(s)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}t.prototype._isBuffer=!0;function r(e,t,n){var s=e[t];e[t]=e[n],e[n]=s}t.prototype.swap16=function(){var t,n=this.length;if(n%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(t=0;t<n;t+=2)r(this,t,t+1);return this},t.prototype.swap32=function(){var t,n=this.length;if(n%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(t=0;t<n;t+=4)r(this,t,t+3),r(this,t+1,t+2);return this},t.prototype.swap64=function(){var t,n=this.length;if(n%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(t=0;t<n;t+=8)r(this,t,t+7),r(this,t+1,t+6),r(this,t+2,t+5),r(this,t+3,t+4);return this},t.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?A(this,0,t):V.apply(this,arguments)}
6,t.prototype.toLocaleString=t.prototype.toString,t.prototype.equals=function(n){if(!t.isBuffer(n))throw new TypeError("Argument must be a Buffer");return this===n||t.compare(this,n)===0},t.prototype.inspect=function(){var t="",s=n.INSPECT_MAX_BYTES,t=this.toString("hex",0,s).replace(/(.{2})/g,"$1 ").trim();return this.length>s&&(t+=" ... "),"<Buffer "+t+">"},t.prototype.compare=function(n,s,o,i,r){if(a(n,Uint8Array)&&(n=t.from(n,n.offset,n.byteLength)),!t.isBuffer(n))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof n);if(s===void 0&&(s=0),o===void 0&&(o=n?n.length:0),i===void 0&&(i=0),r===void 0&&(r=this.length),s<0||o>n.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&s>=o)return 0;if(i>=r)return-1;if(s>=o)return 1;if(s>>>=0,o>>>=0,i>>>=0,r>>>=0,this===n)return 0;for(var l=r-i,d=o-s,m=Math.min(l,d),u=this.slice(i,r),h=n.slice(s,o),c=0;c<m;++c)if(u[c]!==h[c]){l=u[c],d=h[c];break}return l<d?-1:d<l?1:0};function _(e,n,s,o,i){if(e.length===0)return-1;if(typeof s=="string"?(o=s,s=0):s>2147483647?s=2147483647:s<-2147483648&&(s=-2147483648),s=+s,u(s)&&(s=i?0:e.length-1),s<0&&(s=e.length+s),s>=e.length){if(i)return-1;s=e.length-1}else if(s<0)if(i)s=0;else return-1;if(typeof n=="string"&&(n=t.from(n,o)),t.isBuffer(n))return n.length===0?-1:w(e,n,s,o,i);if(typeof n=="number")return n=n&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,n,s):Uint8Array.prototype.lastIndexOf.call(e,n,s):w(e,[n],s,o,i);throw new TypeError("val must be string, number or Buffer")}function w(e,t,n,s,o){var i,a,c,h,l=1,d=e.length,r=t.length;if(s!==void 0&&(s=String(s).toLowerCase(),s==="ucs2"||s==="ucs-2"||s==="utf16le"||s==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,d/=2,r/=2,n/=2}function u(e,t){return l===1?e[t]:e.readUInt16BE(t*l)}if(o){a=-1;for(i=n;i<d;i++)if(u(e,i)===u(t,a===-1?0:i-a)){if(a===-1&&(a=i),i-a+1===r)return a*l}else a!==-1&&(i-=i-a),a=-1}else{n+r>d&&(n=d-r);for(i=n;i>=0;i--){for(h=!0,c=0;c<r;c++)if(u(e,i+c)!==u(t,c)){h=!1;break}if(h)return i}}return-1}t.prototype.includes=function(t,n,s){return this.indexOf(t,n,s)!==-1},t.prototype.indexOf=function(t,n,s){return _(this,t,n,s,!0)},t.prototype.lastIndexOf=function(t,n,s){return _(this,t,n,s,!1)};function B(e,t,n,s){n=Number(n)||0;var o,a,r,i=e.length-n;s?(s=Number(s),s>i&&(s=i)):s=i,a=t.length,s>a/2&&(s=a/2);for(o=0;o<s;++o){if(r=parseInt(t.substr(o*2,2),16),u(r))return o;e[n+o]=r}return o}function I(e,t,n,s){return d(v(t,e.length-n),e,n,s)}function C(e,t,n,s){return d(K(t),e,n,s)}function H(e,t,n,s){return C(e,t,n,s)}function P(e,t,n,s){return d(k(t),e,n,s)}function R(e,t,n,s){return d(q(t,e.length-n),e,n,s)}t.prototype.write=function(t,n,s,o){if(n===void 0)o="utf8",s=this.length,n=0;else if(s===void 0&&typeof n=="string")o=n,s=this.length,n=0;else if(isFinite(n))n=n>>>0,isFinite(s)?(s=s>>>0,o===void 0&&(o="utf8")):(o=s,s=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,a=this.length-n;if((s===void 0||s>a)&&(s=a),t.length>0&&(s<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");for(o||(o="utf8"),i=!1;;)switch(o){case"hex":return B(this,t,n,s);case"utf8":case"utf-8":return I(this,t,n,s);case"ascii":return C(this,t,n,s);case"latin1":case"binary":return H(this,t,n,s);case"base64":return P(this,t,n,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,t,n,s);default:if(i)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),i=!0}},t.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function F(e,t,n){return t===0&&n===e.length?p.fromByteArray(e):p.fromByteArray(e.slice(t,n))}function A(e,t,n){n=Math.min(e.length,n);for(var s,o,a,r,c,l,u,d=[],i=t;i<n;){if(a=e[i],s=null,l=a>239?4:a>223?3:a>191?2:1,i+l<=n)switch(l){case 1:a<128&&(s=a);break;case 2:r=e[i+1],(r&192)===128&&(o=(a&31)<<6|r&63,o>127&&(s=o));break;case 3:r=e[i+1],c=e[i+2],(r&192)===128&&(c&192)===128&&(o=(a&15)<<12|(r&63)<<6|c&63,o>2047&&(o<55296||o>57343)&&(s=o));break;case 4:r=e[i+1],c=e[i+2],u=e[i+3],(r&192)===128&&(c&192)===128&&(u&192)===128&&(o=(a&15)<<18|(r&63)<<12|(c&63)<<6|u&63,o>
665535&&o<1114112&&(s=o))}s===null?(s=65533,l=1):s>65535&&(s-=65536,d.push(s>>>10&1023|55296),s=56320|s&1023),d.push(s),i+=l}return T(d)}h=4096;function T(e){var t,n,s=e.length;if(s<=h)return String.fromCharCode.apply(String,e);for(n="",t=0;t<s;)n+=String.fromCharCode.apply(String,e.slice(t,t+=h));return n}function z(e,t,n){var s,o="";n=Math.min(e.length,n);for(s=t;s<n;++s)o+=String.fromCharCode(e[s]&127);return o}function D(e,t,n){var s,o="";n=Math.min(e.length,n);for(s=t;s<n;++s)o+=String.fromCharCode(e[s]);return o}function N(e,t,n){var s,o,i=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>i)&&(n=i);for(o="",s=t;s<n;++s)o+=W(e[s]);return o}function L(e,t,n){for(var o=e.slice(t,n),i="",s=0;s<o.length;s+=2)i+=String.fromCharCode(o[s]+o[s+1]*256);return i}t.prototype.slice=function(n,s){var i,o=this.length;return n=~~n,s=s===void 0?o:~~s,n<0?(n+=o,n<0&&(n=0)):n>o&&(n=o),s<0?(s+=o,s<0&&(s=0)):s>o&&(s=o),s<n&&(s=n),i=this.subarray(n,s),i.__proto__=t.prototype,i};function s(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}t.prototype.readUIntLE=function(t,n,o){t=t>>>0,n=n>>>0,o||s(t,n,this.length);for(var i=this[t],a=1,r=0;++r<n&&(a*=256);)i+=this[t+r]*a;return i},t.prototype.readUIntBE=function(t,n,o){t=t>>>0,n=n>>>0,o||s(t,n,this.length);for(var i=this[t+--n],a=1;n>0&&(a*=256);)i+=this[t+--n]*a;return i},t.prototype.readUInt8=function(t,n){return t=t>>>0,n||s(t,1,this.length),this[t]},t.prototype.readUInt16LE=function(t,n){return t=t>>>0,n||s(t,2,this.length),this[t]|this[t+1]<<8},t.prototype.readUInt16BE=function(t,n){return t=t>>>0,n||s(t,2,this.length),this[t]<<8|this[t+1]},t.prototype.readUInt32LE=function(t,n){return t=t>>>0,n||s(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216},t.prototype.readUInt32BE=function(t,n){return t=t>>>0,n||s(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])},t.prototype.readIntLE=function(t,n,o){t=t>>>0,n=n>>>0,o||s(t,n,this.length);for(var i=this[t],a=1,r=0;++r<n&&(a*=256);)i+=this[t+r]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*n)),i},t.prototype.readIntBE=function(t,n,o){t=t>>>0,n=n>>>0,o||s(t,n,this.length);for(var r=n,i=1,a=this[t+--r];r>0&&(i*=256);)a+=this[t+--r]*i;return i*=128,a>=i&&(a-=Math.pow(2,8*n)),a},t.prototype.readInt8=function(t,n){return t=t>>>0,n||s(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]},t.prototype.readInt16LE=function(t,n){t=t>>>0,n||s(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o},t.prototype.readInt16BE=function(t,n){t=t>>>0,n||s(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o},t.prototype.readInt32LE=function(t,n){return t=t>>>0,n||s(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},t.prototype.readInt32BE=function(t,n){return t=t>>>0,n||s(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},t.prototype.readFloatLE=function(t,n){return t=t>>>0,n||s(t,4,this.length),c.read(this,t,!0,23,4)},t.prototype.readFloatBE=function(t,n){return t=t>>>0,n||s(t,4,this.length),c.read(this,t,!1,23,4)},t.prototype.readDoubleLE=function(t,n){return t=t>>>0,n||s(t,8,this.length),c.read(this,t,!0,52,8)},t.prototype.readDoubleBE=function(t,n){return t=t>>>0,n||s(t,8,this.length),c.read(this,t,!1,52,8)};function o(e,n,s,o,i,a){if(!t.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(n>i||n<a)throw new RangeError('"value" argument is out of bounds');if(s+o>e.length)throw new RangeError("Index out of range")}t.prototype.writeUIntLE=function(t,n,s,i){if(t=+t,n=n>>>0,s=s>>>0,!i){var a,r,c=Math.pow(2,8*s)-1;o(this,t,n,s,c,0)}for(a=1,r=0,this[n]=t&255;++r<s&&(a*=256);)this[n+r]=t/a&255;return n+s},t.prototype.writeUIntBE=function(t,n,s,i){if(t=+t,n=n>>>0,s=s>>>0,!i){var a,r,c=Math.pow(2,8*s)-1;o(this,t,n,s,c,0)}for(a=s-1,r=1,this[n+a]=t&255;--a>=0&&(r*=256);)this[n+a]=t/r&255;return n+s},t.prototype.writeUInt8=function(t,n,s){return t=+t,n=n>>>0,s||o(this,t,n,1,255,0),this[n]=t&255,n+1},t.prototype.writeUInt16LE=function(t,n,s){return t=+t,n=n>>>0,s||o(this,t,n,2,65535,0),this[n]=t&255,this[n+1]=t>>
6>8,n+2},t.prototype.writeUInt16BE=function(t,n,s){return t=+t,n=n>>>0,s||o(this,t,n,2,65535,0),this[n]=t>>>8,this[n+1]=t&255,n+2},t.prototype.writeUInt32LE=function(t,n,s){return t=+t,n=n>>>0,s||o(this,t,n,4,4294967295,0),this[n+3]=t>>>24,this[n+2]=t>>>16,this[n+1]=t>>>8,this[n]=t&255,n+4},t.prototype.writeUInt32BE=function(t,n,s){return t=+t,n=n>>>0,s||o(this,t,n,4,4294967295,0),this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=t&255,n+4},t.prototype.writeIntLE=function(t,n,s,i){if(t=+t,n=n>>>0,!i){var a,r,c,l=Math.pow(2,8*s-1);o(this,t,n,s,l-1,-l)}for(a=0,c=1,r=0,this[n]=t&255;++a<s&&(c*=256);)t<0&&r===0&&this[n+a-1]!==0&&(r=1),this[n+a]=(t/c>>0)-r&255;return n+s},t.prototype.writeIntBE=function(t,n,s,i){if(t=+t,n=n>>>0,!i){var a,r,c,l=Math.pow(2,8*s-1);o(this,t,n,s,l-1,-l)}for(a=s-1,c=1,r=0,this[n+a]=t&255;--a>=0&&(c*=256);)t<0&&r===0&&this[n+a+1]!==0&&(r=1),this[n+a]=(t/c>>0)-r&255;return n+s},t.prototype.writeInt8=function(t,n,s){return t=+t,n=n>>>0,s||o(this,t,n,1,127,-128),t<0&&(t=255+t+1),this[n]=t&255,n+1},t.prototype.writeInt16LE=function(t,n,s){return t=+t,n=n>>>0,s||o(this,t,n,2,32767,-32768),this[n]=t&255,this[n+1]=t>>>8,n+2},t.prototype.writeInt16BE=function(t,n,s){return t=+t,n=n>>>0,s||o(this,t,n,2,32767,-32768),this[n]=t>>>8,this[n+1]=t&255,n+2},t.prototype.writeInt32LE=function(t,n,s){return t=+t,n=n>>>0,s||o(this,t,n,4,2147483647,-2147483648),this[n]=t&255,this[n+1]=t>>>8,this[n+2]=t>>>16,this[n+3]=t>>>24,n+4},t.prototype.writeInt32BE=function(t,n,s){return t=+t,n=n>>>0,s||o(this,t,n,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=t&255,n+4};function E(e,t,n,s){if(n+s>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function x(e,t,n,s,o){return t=+t,n=n>>>0,o||E(e,t,n,4,34028234663852886e22,-34028234663852886e22),c.write(e,t,n,s,23,4),n+4}t.prototype.writeFloatLE=function(t,n,s){return x(this,t,n,!0,s)},t.prototype.writeFloatBE=function(t,n,s){return x(this,t,n,!1,s)};function O(e,t,n,s,o){return t=+t,n=n>>>0,o||E(e,t,n,8,17976931348623157e292,-17976931348623157e292),c.write(e,t,n,s,52,8),n+8}t.prototype.writeDoubleLE=function(t,n,s){return O(this,t,n,!0,s)},t.prototype.writeDoubleBE=function(t,n,s){return O(this,t,n,!1,s)},t.prototype.copy=function(n,s,o,i){if(!t.isBuffer(n))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),s>=n.length&&(s=n.length),s||(s=0),i>0&&i<o&&(i=o),i===o)return 0;if(n.length===0||this.length===0)return 0;if(s<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),n.length-s<i-o&&(i=n.length-s+o);var a,r=i-o;if(this===n&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(s,o,i);else if(this===n&&o<s&&s<i)for(a=r-1;a>=0;--a)n[a+s]=this[a+o];else Uint8Array.prototype.set.call(n,this.subarray(o,i),s);return r},t.prototype.fill=function(n,s,o,i){if(typeof n=="string"){{if(typeof s=="string"?(i=s,s=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!t.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(n.length===1){var a,r,c,l=n.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(n=l)}}}else typeof n=="number"&&(n=n&255);if(s<0||this.length<s||this.length<o)throw new RangeError("Out of range index");if(o<=s)return this;if(s=s>>>0,o=o===void 0?this.length:o>>>0,n||(n=0),typeof n=="number")for(a=s;a<o;++a)this[a]=n;else{if(r=t.isBuffer(n)?n:t.from(n,i),c=r.length,c===0)throw new TypeError('The value "'+n+'" is invalid for argument "value"');for(a=0;a<o-s;++a)this[a+s]=r[a%c]}return this},j=/[^+/0-9A-Za-z-_]/g;function $(e){if(e=e.split("=")[0],e=e.trim().replace(j,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function W(e){return e<16?"0"+e.toString(16):e.toString(16)}function v(e,t){t=t||1/0;for(var n,a=e.length,o=null,s=[],i=0;i<a;++i){if(n=e.charCodeAt(i),n>55295&&n<57344){if(!o){if(n>56319){(t-=3)>
6-1&&s.push(239,191,189);continue}if(i+1===a){(t-=3)>-1&&s.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&s.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(t-=3)>-1&&s.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;s.push(n)}else if(n<2048){if((t-=2)<0)break;s.push(n>>6|192,n&63|128)}else if(n<65536){if((t-=3)<0)break;s.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((t-=4)<0)break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return s}function K(e){for(var n=[],t=0;t<e.length;++t)n.push(e.charCodeAt(t)&255);return n}function q(e,t){for(var n,i,a,s=[],o=0;o<e.length;++o){if((t-=2)<0)break;n=e.charCodeAt(o),i=n>>8,a=n%256,s.push(a),s.push(i)}return s}function k(e){return p.toByteArray($(e))}function d(e,t,n,s){for(var o=0;o<s;++o){if(o+n>=t.length||o>=e.length)break;t[o+n]=e[o]}return o}function a(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function u(e){return e!==e}}).call(this)}).call(this,e("buffer").Buffer)},{"base64-js":2,buffer:4,ieee754:5}],5:[function(e,t,n){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */n.read=function(e,t,n,s,o){var i,r,u=o*8-s-1,h=(1<<u)-1,m=h>>1,a=-7,c=n?o-1:0,d=n?-1:1,l=e[t+c];for(c+=d,i=l&(1<<-a)-1,l>>=-a,a+=u;a>0;i=i*256+e[t+c],c+=d,a-=8);for(r=i&(1<<-a)-1,i>>=-a,a+=s;a>0;r=r*256+e[t+c],c+=d,a-=8);if(i===0)i=1-m;else if(i===h)return r?NaN:(l?-1:1)*(1/0);else r=r+Math.pow(2,s),i=i-m;return(l?-1:1)*r*Math.pow(2,i-s)},n.write=function(e,t,n,s,o,i){var a,r,c,u=i*8-o-1,h=(1<<u)-1,l=h>>1,f=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=s?0:i-1,m=s?1:-1,p=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(r=isNaN(t)?1:0,a=h):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+l>=1?t+=f/c:t+=f*Math.pow(2,1-l),t*c>=2&&(a++,c/=2),a+l>=h?(r=0,a=h):a+l>=1?(r=(t*c-1)*Math.pow(2,o),a=a+l):(r=t*Math.pow(2,l-1)*Math.pow(2,o),a=0));o>=8;e[n+d]=r&255,d+=m,r/=256,o-=8);for(a=a<<o|r,u+=o;u>0;e[n+d]=a&255,d+=m,a/=256,u-=8);e[n+d-m]|=p*128}},{}],6:[function(e,t){(function(e){(function(){"use strict";function n(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function o(e,t){for(var r,c,n="",a=0,o=-1,i=0,s=0;s<=e.length;++s){if(s<e.length)r=e.charCodeAt(s);else if(r===47)break;else r=47;if(r===47){if(o===s-1||i===1);else if(o!==s-1&&i===2){if(n.length<2||a!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46)if(n.length>2){if(c=n.lastIndexOf("/"),c!==n.length-1){c===-1?(n="",a=0):(n=n.slice(0,c),a=n.length-1-n.lastIndexOf("/")),o=s,i=0;continue}}else if(n.length===2||n.length===1){n="",a=0,o=s,i=0;continue}t&&(n.length>0?n+="/..":n="..",a=2)}else n.length>0?n+="/"+e.slice(o+1,s):n=e.slice(o+1,s),a=s-o-1;o=s,i=0}else r===46&&i!==-1?++i:i=-1}return n}function i(e,t){var n=t.dir||t.root,s=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+s:n+e+s:s}var s={resolve:function(){for(var i,c,s="",a=!1,r=arguments.length-1;r>=-1&&!a;r--){if(r>=0?i=arguments[r]:(c===void 0&&(c=e.cwd()),i=c),n(i),i.length===0)continue;s=i+"/"+s,a=i.charCodeAt(0)===47}return s=o(s,!a),a?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(t){if(n(t),t.length===0)return".";var s=t.charCodeAt(0)===47,i=t.charCodeAt(t.length-1)===47;return t=o(t,!s),t.length===0&&!s&&(t="."),t.length>0&&i&&(t+="/"),s?"/"+t:t},isAbsolute:function(t){return n(t),t.length>0&&t.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var t,o,i=0;i<arguments.length;++i)o=arguments[i],n(o),o.length>0&&(t===void 0?t=o:t+="/"+o);return t===void 0?".":s.normalize(t)},relative:function(t,o){if(n(t),n(o),t===o)return"";if(t=s.resolve(t),o=s.resolve(o),t===o)return"";for(var i,a,c,l,d,u,h,m,f,p,g,r=1;r<t.length;++r)if(t.charCodeAt(r)!==47)break;for(u=t.length,h=u-r,a=1;a<o.length;++a)if(o.charCodeAt(a)!==47)break;for(p=o.length,m=p-a,d=h<m?h:m,c=-1,i=0;i<=d;++i){if(i===d){if(m>d){{if(o.charCodeAt(a+i)===47)return o.slice(a+i+1);if(i===0)return o.slice(a+i)}}else h>d&&(t.charCodeAt(r+i)===47?c=i:i===0&&(c=0));break}
6if(f=t.charCodeAt(r+i),g=o.charCodeAt(a+i),f!==g)break;f===47&&(c=i)}l="";for(i=r+c+1;i<=u;++i)(i===u||t.charCodeAt(i)===47)&&(l.length===0?l+="..":l+="/..");return l.length>0?l+o.slice(a+c):(a+=c,o.charCodeAt(a)===47&&++a,o.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(n(t),t.length===0)return".";for(var i=t.charCodeAt(0),a=i===47,s=-1,r=!0,o=t.length-1;o>=1;--o)if(i=t.charCodeAt(o),i===47){if(!r){s=o;break}}else r=!1;return s===-1?a?"/":".":a&&s===1?"//":t.slice(0,s)},basename:function(t,s){if(s!==void 0&&typeof s!="string")throw new TypeError('"ext" argument must be a string');n(t);var o,r,c,d,a=0,i=-1,l=!0;if(s!==void 0&&s.length>0&&s.length<=t.length){if(s.length===t.length&&s===t)return"";r=s.length-1,c=-1;for(o=t.length-1;o>=0;--o)if(d=t.charCodeAt(o),d===47){if(!l){a=o+1;break}}else c===-1&&(l=!1,c=o+1),r>=0&&(d===s.charCodeAt(r)?--r===-1&&(i=o):(r=-1,i=c));return a===i?i=c:i===-1&&(i=t.length),t.slice(a,i)}for(o=t.length-1;o>=0;--o)if(t.charCodeAt(o)===47){if(!l){a=o+1;break}}else i===-1&&(l=!1,i=o+1);return i===-1?"":t.slice(a,i)},extname:function(t){n(t);for(var r,s=-1,c=0,i=-1,l=!0,a=0,o=t.length-1;o>=0;--o){if(r=t.charCodeAt(o),r===47){if(!l){c=o+1;break}continue}i===-1&&(l=!1,i=o+1),r===46?s===-1?s=o:a!==1&&(a=1):s!==-1&&(a=-1)}return s===-1||i===-1||a===0||a===1&&s===i-1&&s===c+1?"":t.slice(s,i)},format:function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return i("/",t)},parse:function(t){n(t);var o,i,a,r,c,l,d,u,h,s={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return s;for(l=t.charCodeAt(0),d=l===47,d?(s.root="/",u=1):u=0,i=-1,a=0,o=-1,h=!0,r=t.length-1,c=0;r>=u;--r){if(l=t.charCodeAt(r),l===47){if(!h){a=r+1;break}continue}o===-1&&(h=!1,o=r+1),l===46?i===-1?i=r:c!==1&&(c=1):i!==-1&&(c=-1)}return i===-1||o===-1||c===0||c===1&&i===o-1&&i===a+1?o!==-1&&(a===0&&d?s.base=s.name=t.slice(1,o):s.base=s.name=t.slice(a,o)):(a===0&&d?(s.name=t.slice(1,i),s.base=t.slice(1,o)):(s.name=t.slice(a,i),s.base=t.slice(a,o)),s.ext=t.slice(i,o)),a>0?s.dir=t.slice(0,a-1):d&&(s.dir="/"),s},sep:"/",delimiter:":",win32:null,posix:null};s.posix=s,t.exports=s}).call(this)}).call(this,e("_process"))},{_process:7}],7:[function(e,t){var o,i,a,c,l,d,s=t.exports={};function u(){throw new Error("setTimeout has not been defined")}function h(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?o=setTimeout:o=u}catch{o=u}try{typeof clearTimeout=="function"?i=clearTimeout:i=h}catch{i=h}})();function m(e){if(o===setTimeout)return setTimeout(e,0);if((o===u||!o)&&setTimeout)return o=setTimeout,setTimeout(e,0);try{return o(e,0)}catch{try{return o.call(null,e,0)}catch{return o.call(this,e,0)}}}function g(e){if(i===clearTimeout)return clearTimeout(e);if((i===h||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{return i(e)}catch{try{return i.call(null,e)}catch{return i.call(this,e)}}}a=[],c=!1,d=-1;function v(){if(!c||!l)return;c=!1,l.length?a=l.concat(a):d=-1,a.length&&f()}function f(){if(c)return;var e,t=m(v);for(c=!0,e=a.length;e;){for(l=a,a=[];++d<e;)l&&l[d].run();d=-1,e=a.length}l=null,c=!1,g(t)}s.nextTick=function(e){var t,n=new Array(arguments.length-1);if(arguments.length>1)for(t=1;t<arguments.length;t++)n[t-1]=arguments[t];a.push(new p(e,n)),a.length===1&&!c&&m(f)};function p(e,t){this.fun=e,this.array=t}p.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={};function r(){}s.on=r,s.addListener=r,s.once=r,s.off=r,s.removeListener=r,s.removeAllListeners=r,s.emit=r,s.prependListener=r,s.prependOnceListener=r,s.listeners=function(){return[]},s.binding=function(){throw new Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(){throw new Error("process.chdir is not supported")},s.umask=function(){return 0}},{}],8:[function(e,t){t.exports=function(e){return function(){return e.apply(null,arguments)}}},{}],9:[function(e,t){t.exports=function(e){return function(){return e.apply(null,arguments)}}},{}],10:[function(e,t){t.exports=function(e){return function(){return e.apply(null,arguments)}}},{}],11:[function(e,t){t.exports=function(e){return function(){return e.apply(null,arguments)}}},{}],12:[function(e,t){t.exports=function(e){return function(){return e.apply(null,arguments)}}},{}],13:[function(e,t){t.exports=function(e){return function(){return e.apply(null,arguments)}}},{}],14:[function(e,t){var s=[e("./0"),e("./1"),e("./2"),e("./3"),e("./4"),e("./5")];t.exports=function(e,t){return t&&t<=5?s[t](e):e}},{"./0":8,"./1":9,"./2":10,"./3":11,"./4":12,"./5":13}],15:[function(e,t){/*! 7 * array-last <https://github.com/jonschlinkert/array-last> 8 * 9 * Copyright (c) 2014-2017, Jon Schlinkert. 10 * Released under the MIT License. 11 */var s=e("is-number");t.exports=function(t,n){if(!Array.isArray(t))throw new Error("expected the first argument to be an array");var i,o=t.length;if(o===0)return null;if(n=s(n)?+n:1,n===1)return t[o-1];for(i=new Array(n);n--;)i[n]=t[--o];return i}},{"is-number":82}],16:[function(e,t,n){/*! https://mths.be/fromcodepoint v0.2.1 by @mathias */"use strict";Object.defineProperty(n,"__esModule",{value:!0});function S(e){return e=e.split(" "),function(t){return e.indexOf(t)>=0}}var l,d,u,g,w,A,z,L,P,q,G,ee,s,r,c,v,j,E,F,re,b,N,Y,fe,le,se,o,a,m,f,p,_,O,k,Q,Z,J,ne,ie,M,R,X,ue,i,me,T,W,pe,ge,I,ve,de,ce,h,te,H={6:S("enum await"),strict:S("implements interface let package private protected public static yield"),strictBind:S("eval arguments")},_e=S("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this let const class extends export import yield super"),B="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-ËË-ËË -ˤˬˮͰ-ʹͶͷͺ-ͽͿÎÎ-ÎÎÎ-ΡΣ-ϵϷ-ÒÒ-Ô¯Ô±-ÕÕÕ¡-Ö×-תװ-×²Ø -Ùٮٯٱ-ÛÛÛ¥Û¦Û®Û¯Ûº-Û¼Û¿ÜÜ-ܯÝ-Þ¥Þ±ß-ߪߴߵߺà -à à à ¤à ¨à¡-à¡à¢ -ࢴࢶ-ࢽà¤-हऽà¥à¥-ॡॱ-à¦à¦ -à¦à¦à¦à¦-নপ-রলশ-হঽà§à§à§à§-ৡৰৱਠ-à¨à¨à¨à¨-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹà©-à©à©à©²-ੴઠ-àªàª-àªàª-નપ-રલળવ-હઽà«à« ૡૹଠ-à¬à¬à¬à¬-ନପ-ରଲଳଵ-ହଽààà-à¡à±à®à® -à®à®-à®à®-à®à®à®à®à®à®à®£à®¤à®¨-பம-ஹà¯à° -à°à°-à°à°-నప-హఽà±-à±à± ౡà²à² -à²à²-à²à²-ನಪ-ಳವ-ಹಽà³à³ ೡೱೲഠ-à´à´-à´à´-ഺഽàµàµ-àµàµ-ൡൺ-ൿච-à¶à¶-නඳ-රලà·-à·à¸-ะาำà¹-à¹àºàºàºàºàºàºàºàº-àºàº-àºàº¡-ຣລວສຫàº-ະາຳຽà»-à»à»à»-à»à¼à½-à½à½-ཬà¾-à¾á-áªá¿á-áá-áá¡á¥á¦á®-á°áµ-ááá -á ááá-áºá¼-áá-áá-ááá-áá -áá-áá-á°á²-áµá¸-á¾áá-á á-áá-áá-áá-áá-áá -áµá¸-á½á-á¬á¯-á¿á-áá -áªá®-á¸á-áá-áá -á±á-áá -á¬á®-á°á-á³ááá -á¡·á¢-ᢨᢪᢰ-ᣵá¤-á¤á¥-á¥á¥°-ᥴá¦-ᦫᦰ-á§á¨-á¨á¨ -á©áª§á¬ -ᬳá -áá®-ᮠᮮᮯᮺ-ᯥá°-á°£á±-á±á±-á±½á²-á²á³©-ᳬá
11³®-ᳱᳵᳶá´-á¶¿á¸-á¼á¼-á¼á¼ -á½
á½-á½á½-á½á½á½á½á½-á½½á¾-á¾´á¾¶-ᾼιá¿-á¿á¿-á¿á¿-á¿á¿-á¿á¿ -Ῥῲ-á¿´á¿¶-ῼâ±â¿â-ââââ-âââ-ââ¤â¦â¨âª-â¹â¼-â¿â
-â
â
â
-ââ°-Ⱞⰰ-â±â± -ⳤⳫ-ⳮⳲⳳâ´-ⴥⴧâ´â´°-ⵧⵯâ¶-â¶â¶ -ⶦⶨ-ⶮⶰ-ⶶⶸ-â¶¾â·-â·â·-â·â·-â·â·-â·ã
-ãã¡-ã©ã±-ãµã¸-ã¼ã-ãã-ãã¡-ãºã¼-ã¿ã
-ãã±-ãã -ãºã°-ã¿ã-ä¶µä¸-é¿ê-êê-ê½ê-êê-êêªê«ê-ê®ê¿-êê -ê¯ê-êê¢-êê-ê®ê°-ê·ê·-ê ê -ê
ê -ê ê -ê ¢ê¡-ꡳê¢-ꢳꣲ-ꣷꣻꣽê¤-ꤥꤰ-ê¥ê¥ -ꥼê¦-ꦲê§ê§ -ꧤꧦ-ꧯꧺ-ê§¾ê¨-ꨨê©-ê©ê©-ê©ê© -ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽê«ê«ê«-ê«ê« -ꫪꫲ-ê«´ê¬-ê¬ê¬-ê¬ê¬-ê¬ê¬ -ꬦꬨ-ꬮꬰ-êê-ê¥ê°-ꯢê°-í£í°-íí-í»ï¤-ï©ï©°-ï«ï¬-ï¬ï¬-ï¬ï¬ï¬-ﬨשׁ-זּטּ-לּמּïïïïï-ï®±ï¯-ï´½ïµ-ï¶ï¶-ï·ï·°-ﷻﹰ-ï¹´ï¹¶-ﻼA-Zï½-ï½ï½¦-ï¾¾ï¿-ï¿ï¿-ï¿ï¿-ï¿ï¿-ï¿",he="ââ\xB7Ì-ͯÎÒ-ÒÖ-Ö½Ö¿××××
ר-ØÙ-٩ٰÛ-ÛÛ-Û¤Û§Û¨Ûª-ÛÛ°-Û¹Üܰ-ÝÞ¦-Þ°ß-ßß«-ß³à -à à -à £à ¥-à §à ©-à à¡-à¡à£-ࣣ࣡-à¤à¤º-़ा-à¥à¥-à¥à¥¢à¥£à¥¦-९à¦-à¦à¦¼à¦¾-à§à§à§à§-à§à§à§¢à§£à§¦-৯à¨-à¨à¨¼à¨¾-à©à©à©à©-à©à©à©¦-ੱੵàª-àªàª¼àª¾-à«
à«-à«à«-à«à«¢à«£à«¦-૯à¬-à¬à¬¼à¬¾-àààà-àààà¢à£à¦-à¯à®à®¾-à¯à¯-à¯à¯-à¯à¯à¯¦-௯à°-à°à°¾-à±à±-à±à±-à±à±à±à±¢à±£à±¦-౯à²-à²à²¼à²¾-à³à³-à³à³-à³à³à³à³¢à³£à³¦-೯à´-à´à´¾-àµàµ-àµàµ-àµàµàµ¢àµ£àµ¦-൯à¶à¶à·à·-à·à·à·-à·à·¦-෯ෲෳัิ-ฺà¹-à¹à¹-à¹àº±àº´-ູົຼà»-à»à»-à»à¼à¼à¼ -༩༹༵༷༾༿ཱ-à¾à¾à¾à¾-à¾à¾-ྼà¿á«-á¾á-áá-áá-á á¢-á¤á§-áá±-á´á-áá-áá-áá©-á±á-áá²-á´ááá²á³á´-ááá -á©á -á á -á ᢩᤠ-ᤫᤰ-᤻á¥-á¥á§-á§á¨-á¨á©-á©á© -᩿᩼-áªáª-áªáª°-᪽á¬-á¬á¬´-áá-áá«-á³á®-á®á®¡-á®á®°-᮹᯦-᯳ᰤ-á°·á±-á±á±-á±á³-á³á³-᳨á³á³²-᳴᳸᳹á·-᷵᷻-á·¿â¿âââ-ââ¡â¥-â°â³¯-⵿⳱ⷠ-â·¿ãª-ã¯ããê -ê©ê¯ê´-ê½êêê°ê±ê ê ê ê £-ê §ê¢ê¢ê¢´-ê£
ê£-ê£ê£ -꣱ê¤-ê¤ê¤¦-ê¤ê¥-ê¥ê¦-ê¦ê¦³-ê§ê§-ê§ê§¥ê§°-꧹ꨩ-ꨶê©ê©ê©ê©-ê©ê©»-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿ê«ê««-ꫯꫵ꫶ꯣ-ꯪ꯬ê¯ê¯°-꯹ï¬ï¸-ï¸ï¸ -︯︳︴ï¹-ï¹ï¼-ï¼ï¼¿",ye=new RegExp("["+B+"]"),we=new RegExp("["+B+he+"]"),B=he=null,ae=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,17,26,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,449,56,264,8,2,36,18,0,50,29,881,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,0,32,6124,20,754,9486,1,3071,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,10591,541],Oe=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,838,7,2,7,17,9,57,21,2,13,19882,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239];function U(e,t){for(var n=65536,s=0;s<t.length;s+=2){if(n+=t[s],n>e)return!1;if(n+=t[s+1],n>=e)return!0}}function x(e){return e<65?e===36:e<91||(e<97?e===95:e<123||(e<=65535?e>=170&&ye.test(String.fromCharCode(e)):U(e,ae)))}function K(e){return e<48?e===36:e<58||!(e<65)&&(e<91||(e<97?e===95:e<123||(e<=65535?e>=170&&we.test(String.fromCharCode(e)):U(e,ae)||U(e,Oe))))}P={sourceType:"script",sourceFilename:void 0,startLine:1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,plugins:[],strictMode:null};function je(e){var t,n={};for(t in P)n[t]=e&&t in e?e[t]:P[t];return n}G=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},g=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},z=function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},L=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},d=!0,u=!0,A=!0,q=!0,w=!0,ee=!0,c=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};
11g(this,e),this.label=t,this.keyword=n.keyword,this.beforeExpr=!!n.beforeExpr,this.startsExpr=!!n.startsExpr,this.rightAssociative=!!n.rightAssociative,this.isLoop=!!n.isLoop,this.isAssign=!!n.isAssign,this.prefix=!!n.prefix,this.postfix=!!n.postfix,this.binop=n.binop||null,this.updateContext=null},r=function(e){z(t,e);function t(n){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return g(this,t),s.keyword=n,L(this,e.call(this,n,s))}return t}(c),v=function(e){z(t,e);function t(n,s){return g(this,t),L(this,e.call(this,n,{beforeExpr:d,binop:s}))}return t}(c),s={num:new c("num",{startsExpr:u}),regexp:new c("regexp",{startsExpr:u}),string:new c("string",{startsExpr:u}),name:new c("name",{startsExpr:u}),eof:new c("eof"),bracketL:new c("[",{beforeExpr:d,startsExpr:u}),bracketR:new c("]"),braceL:new c("{",{beforeExpr:d,startsExpr:u}),braceBarL:new c("{|",{beforeExpr:d,startsExpr:u}),braceR:new c("}"),braceBarR:new c("|}"),parenL:new c("(",{beforeExpr:d,startsExpr:u}),parenR:new c(")"),comma:new c(",",{beforeExpr:d}),semi:new c(";",{beforeExpr:d}),colon:new c(":",{beforeExpr:d}),doubleColon:new c("::",{beforeExpr:d}),dot:new c("."),question:new c("?",{beforeExpr:d}),arrow:new c("=>",{beforeExpr:d}),template:new c("template"),ellipsis:new c("...",{beforeExpr:d}),backQuote:new c("`",{startsExpr:u}),dollarBraceL:new c("${",{beforeExpr:d,startsExpr:u}),at:new c("@"),eq:new c("=",{beforeExpr:d,isAssign:q}),assign:new c("_=",{beforeExpr:d,isAssign:q}),incDec:new c("++/--",{prefix:w,postfix:ee,startsExpr:u}),prefix:new c("prefix",{beforeExpr:d,prefix:w,startsExpr:u}),logicalOR:new v("||",1),logicalAND:new v("&&",2),bitwiseOR:new v("|",3),bitwiseXOR:new v("^",4),bitwiseAND:new v("&",5),equality:new v("==/!=",6),relational:new v("</>",7),bitShift:new v("<</>>",8),plusMin:new c("+/-",{beforeExpr:d,binop:9,prefix:w,startsExpr:u}),modulo:new v("%",10),star:new v("*",10),slash:new v("/",10),exponent:new c("**",{beforeExpr:d,binop:11,rightAssociative:!0})},F={break:new r("break"),case:new r("case",{beforeExpr:d}),catch:new r("catch"),continue:new r("continue"),debugger:new r("debugger"),default:new r("default",{beforeExpr:d}),do:new r("do",{isLoop:A,beforeExpr:d}),else:new r("else",{beforeExpr:d}),finally:new r("finally"),for:new r("for",{isLoop:A}),function:new r("function",{startsExpr:u}),if:new r("if"),return:new r("return",{beforeExpr:d}),switch:new r("switch"),throw:new r("throw",{beforeExpr:d}),try:new r("try"),var:new r("var"),let:new r("let"),const:new r("const"),while:new r("while",{isLoop:A}),with:new r("with"),new:new r("new",{beforeExpr:d,startsExpr:u}),this:new r("this",{startsExpr:u}),super:new r("super",{startsExpr:u}),class:new r("class"),extends:new r("extends",{beforeExpr:d}),export:new r("export"),import:new r("import",{startsExpr:u}),yield:new r("yield",{beforeExpr:d,startsExpr:u}),null:new r("null",{startsExpr:u}),true:new r("true",{startsExpr:u}),false:new r("false",{startsExpr:u}),in:new r("in",{beforeExpr:d,binop:7}),instanceof:new r("instanceof",{beforeExpr:d,binop:7}),typeof:new r("typeof",{beforeExpr:d,prefix:w,startsExpr:u}),void:new r("void",{beforeExpr:d,prefix:w,startsExpr:u}),delete:new r("delete",{beforeExpr:d,prefix:w,startsExpr:u})},Object.keys(F).forEach(function(e){s["_"+e]=F[e]}),j=/\r\n?|\n|\u2028|\u2029/,E=new RegExp(j.source,"g");function D(e){return e===10||e===13||e===8232||e===8233}re=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,b=function e(t,n,s,o){g(this,e),this.token=t,this.isExpr=!!n,this.preserveSpace=!!s,this.override=o},l={braceStatement:new b("{",!1),braceExpression:new b("{",!0),templateQuasi:new b("${",!0),parenStatement:new b("(",!1),parenExpression:new b("(",!0),template:new b("`",!0,!0,function(e){return e.readTmplToken()}),functionExpression:new b("function",!0)},s.parenR.updateContext=s.braceR.updateContext=function(){if(this.state.context.length===1){this.state.exprAllowed=!0;return}var e=this.state.context.pop();e===l.braceStatement&&this.curContext()===l.functionExpression?(this.state.context.pop(),this.state.exprAllowed=!1):e===l.templateQuasi?this.state.exprAllowed=!0:this.state.exprAllowed=!e.isExpr},s.name.updateContext=function(e){this.state.exprAllowed=!1,(e===s._let||e===s._const||e===s._var)&&j.test(this.input.slice(this.state.end))&&
11(this.state.exprAllowed=!0)},s.braceL.updateContext=function(e){this.state.context.push(this.braceIsBlock(e)?l.braceStatement:l.braceExpression),this.state.exprAllowed=!0},s.dollarBraceL.updateContext=function(){this.state.context.push(l.templateQuasi),this.state.exprAllowed=!0},s.parenL.updateContext=function(e){var t=e===s._if||e===s._for||e===s._with||e===s._while;this.state.context.push(t?l.parenStatement:l.parenExpression),this.state.exprAllowed=!0},s.incDec.updateContext=function(){},s._function.updateContext=function(){this.curContext()!==l.braceStatement&&this.state.context.push(l.functionExpression),this.state.exprAllowed=!1},s.backQuote.updateContext=function(){this.curContext()===l.template?this.state.context.pop():this.state.context.push(l.template),this.state.exprAllowed=!1},Y=function e(t,n){g(this,e),this.line=t,this.column=n},N=function e(t,n){g(this,e),this.start=t,this.end=n};function be(e,t){for(var n,o=1,s=0;;)if(E.lastIndex=s,n=E.exec(e),n&&n.index<t)++o,s=n.index+n[0].length;else return new Y(o,t-s)}fe=function(){function e(){g(this,e)}return e.prototype.init=function(t,n){return this.strict=t.strictMode!==!1&&t.sourceType==="module",this.input=n,this.potentialArrowAt=-1,this.inMethod=this.inFunction=this.inGenerator=this.inAsync=this.inPropertyName=this.inType=this.inClassProperty=this.noAnonFunctionType=!1,this.labels=[],this.decorators=[],this.tokens=[],this.comments=[],this.trailingComments=[],this.leadingComments=[],this.commentStack=[],this.pos=this.lineStart=0,this.curLine=t.startLine,this.type=s.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=[l.braceStatement],this.exprAllowed=!0,this.containsEsc=this.containsOctal=!1,this.octalPosition=null,this.invalidTemplateEscapePosition=null,this.exportedIdentifiers=[],this},e.prototype.curPosition=function(){return new Y(this.curLine,this.pos-this.lineStart)},e.prototype.clone=function(n){var s,o,i=new e;for(o in this)s=this[o],(!n||o==="context")&&Array.isArray(s)&&(s=s.slice()),i[o]=s;return i},e}(),le=function e(t){g(this,e),this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,this.loc=new N(t.startLoc,t.endLoc)};function $(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}se=function(){function e(t,n){g(this,e),this.state=new fe,this.state.init(t,n)}return e.prototype.next=function(){this.isLookahead||this.state.tokens.push(new le(this.state)),this.state.lastTokEnd=this.state.end,this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()},e.prototype.eat=function(t){return!!this.match(t)&&(this.next(),!0)},e.prototype.match=function(t){return this.state.type===t},e.prototype.isKeyword=function(t){return _e(t)},e.prototype.lookahead=function(){var n,t=this.state;return this.state=t.clone(!0),this.isLookahead=!0,this.next(),this.isLookahead=!1,n=this.state.clone(!0),this.state=t,n},e.prototype.setStrict=function(t){if(this.state.strict=t,!this.match(s.num)&&!this.match(s.string))return;for(this.state.pos=this.state.start;this.state.pos<this.state.lineStart;)this.state.lineStart=this.input.lastIndexOf(` 12`,this.state.lineStart-2)+1,--this.state.curLine;this.nextToken()},e.prototype.curContext=function(){return this.state.context[this.state.context.length-1]},e.prototype.nextToken=function(){var t=this.curContext();return(!t||!t.preserveSpace)&&this.skipSpace(),this.state.containsOctal=!1,this.state.octalPosition=null,this.state.start=this.state.pos,this.state.startLoc=this.state.curPosition(),this.state.pos>=this.input.length?this.finishToken(s.eof):t.override?t.override(this):this.readToken(this.fullCharCodeAtPos())},e.prototype.readToken=function(t){return x(t)||t===92?this.readWord():this.getTokenFromCode(t)},e.prototype.fullCharCodeAtPos=function(){var n,t=this.input.charCodeAt(this.state.pos);return t<=55295||t>=57344?t:(n=this.input.charCodeAt(this.state.pos+1),(t<<10)+n-56613888)},e.prototype.pushComment=function(t,n,s,o,i,a){var r={type:t?"CommentBlock":"CommentLine",value:n,start:s,end:o,loc:new N(i,a)};this.isLookahead||(this.state.tokens.push(r),this.state.comments.push(r),this.addComment(r))},e.prototype.skipBlockComment=function(){var t,o=this.state.curPosition(),n=this.state.pos,s=this.input.indexOf("*/",this.state.pos+=2);for(s===-1&&this.raise(this.state.pos-2,"Unterminated comment"),this.state.pos=s+2,E.lastIndex=n,t=void 0;(t=E.exec(this.input))&&t.index<this.state.pos;)++this.state.curLine,this.state.lineStart=t.index+t[0].length;this.pushComment(!0,this.input.slice(n+2,s),n,this.state.pos,o,this.state.curPosition())},e.prototype.skipLineComment=function(t){for(var s=this.state.pos,o=this.state.curPosition(),n=this.input.charCodeAt(this.state.pos+=t);this.state.pos<this.input.length&&n!==10&&n!==13&&n!==8232&&n!==8233;)++this.state.pos,n=this.input.charCodeAt(this.state.pos);this.pushComment(!1,this.input.slice(s+t,this.state.pos),s,this.state.pos,o,this.state.curPosition())},e.prototype.skipSpace=function(){loop:for(;this.state.pos<this.input.length;){var t=this.input.charCodeAt(this.state.pos);switch(t){case 32:case 160:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break loop}break;default:if(t>8&&t<14||t>=5760&&re.test(String.fromCharCode(t)))++this.state.pos;else break loop}}},e.prototype.finishToken=function(t,n){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();var s=this.state.type;this.state.type=t,this.state.value=n,this.updateContext(s)},e.prototype.readToken_dot=function(){var n,t=this.input.charCodeAt(this.state.pos+1);return t>=48&&t<=57?this.readNumber(!0):(n=this.input.charCodeAt(this.state.pos+2),t===46&&n===46?(this.state.pos+=3,this.finishToken(s.ellipsis)):(++this.state.pos,this.finishToken(s.dot)))},e.prototype.readToken_slash=function(){if(this.state.exprAllowed)return++this.state.pos,this.readRegexp();var t=this.input.charCodeAt(this.state.pos+1);return t===61?this.finishOp(s.assign,2):this.finishOp(s.slash,1)},e.prototype.readToken_mult_modulo=function(t){var n=t===42?s.star:s.modulo,o=1,i=this.input.charCodeAt(this.state.pos+1);return i===42&&(o++,i=this.input.charCodeAt(this.state.pos+2),n=s.exponent),i===61&&(o++,n=s.assign),this.finishOp(n,o)},e.prototype.readToken_pipe_amp=function(t){var n=this.input.charCodeAt(this.state.pos+1);return n===t?this.finishOp(t===124?s.logicalOR:s.logicalAND,2):n===61?this.finishOp(s.assign,2):t===124&&n===125&&this.hasPlugin("flow")?this.finishOp(s.braceBarR,2):this.finishOp(t===124?s.bitwiseOR:s.bitwiseAND,1)},e.prototype.readToken_caret=function(){var t=this.input.charCodeAt(this.state.pos+1);return t===61?this.finishOp(s.assign,2):this.finishOp(s.bitwiseXOR,1)},e.prototype.readToken_plus_min=function(t){var n=this.input.charCodeAt(this.state.pos+1);return n===t?n===45&&this.input.charCodeAt(this.state.pos+2)===62&&j.test(this.input.slice(this.state.lastTokEnd,this.state.pos))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(s.incDec,2):n===61?this.finishOp(s.assign,2):this.finishOp(s.plusMin,1)},e.prototype.readToken_lt_gt=function(t){var o=this.input.charCodeAt(this.state.pos+1),n=1;return o===t?(n=t===62&&this.input.charCodeAt(this.state.pos+2)===62?3:2,this.input.charCodeAt(this.state.pos+n)===61?this.finishOp(s.assign,n+1):this.finishOp(s.bitShift,n)):o===33&&t===60&&this.input.charCodeAt(this.state.pos+2)===45&&this.input.charCodeAt(this.state.pos+3)===45?(this.inModule&&this.unexpected(),this.skipLineComment(4),this.skipSpace(),this.nextToken()):(o===61&&(n=2),this.finishOp(s.relational,n))},e.prototype.readToken_eq_excl=function(t){var n=this.input.charCodeAt(this.state.pos+1);return n===61?this.finishOp(s.equality,this.input.charCodeAt(this.state.pos+2)===61?3:2):t===61&&n===62?(this.state.pos+=2,this.finishToken(s.arrow)):this.finishOp(t===61?s.eq:s.prefix,1)},e.prototype.getTokenFromCode=function(t){switch(t){case 46:return this.readToken_dot();case 40:return++this.state.pos,this.finishToken(s.parenL);case 41:return++this.state.pos,this.finishToken(s.parenR);case 59:return++this.state.pos,this.finishToken(s.semi);case 44:return++this.state.pos,this.finishToken(s.comma);case 91:return++this.state.pos,this.finishToken(s.bracketL);case 93:return++this.state.pos,this.finishToken(s.bracketR);case 123:return this.hasPlugin("flow")&&this.input.charCodeAt(this.state.pos+1)===124?this.finishOp(s.braceBarL,2):(++this.state.pos,this.finishToken(s.braceL));case 125:return++this.state.pos,this.finishToken(s.braceR);case 58:return this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(s.doubleColon,2):(++this.state.pos,this.finishToken(s.colon));case 63:return++this.state.pos,this.finishToken(s.question);case 64:return++this.state.pos,this.finishToken(s.at);case 96:return++this.state.pos,this.finishToken(s.backQuote);case 48:var n=this.input.charCodeAt(this.state.pos+1);if(n===120||n===88)return this.readRadixNumber(16);if(n===111||n===79)return this.readRadixNumber(8);if(n===98||n===66)return this.readRadixNumber(2);case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(t);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo(t);case 124:case 38:return this.readToken_pipe_amp(t);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(t);
12case 60:case 62:return this.readToken_lt_gt(t);case 61:case 33:return this.readToken_eq_excl(t);case 126:return this.finishOp(s.prefix,1)}this.raise(this.state.pos,"Unexpected character '"+$(t)+"'")},e.prototype.finishOp=function(t,n){var s=this.input.slice(this.state.pos,this.state.pos+n);return this.state.pos+=n,this.finishToken(t,s)},e.prototype.readRegexp=function(){for(var t,i,r,c,n=this.state.pos,a=void 0,o=void 0;;){if(this.state.pos>=this.input.length&&this.raise(n,"Unterminated regular expression"),t=this.input.charAt(this.state.pos),j.test(t)&&this.raise(n,"Unterminated regular expression"),a)a=!1;else{if(t==="[")o=!0;else if(t==="]"&&o)o=!1;else if(t==="/"&&!o)break;a=t==="\\"}++this.state.pos}return r=this.input.slice(n,this.state.pos),++this.state.pos,i=this.readWord1(),i&&(c=/^[gmsiyu]*$/,c.test(i)||this.raise(n,"Invalid regular expression flag")),this.finishToken(s.regexp,{pattern:r,flags:i})},e.prototype.readInt=function(t,n){for(var s,o,a=this.state.pos,i=0,r=0,c=n??1/0;r<c;++r){if(s=this.input.charCodeAt(this.state.pos),o=void 0,s>=97?o=s-97+10:s>=65?o=s-65+10:s>=48&&s<=57?o=s-48:o=1/0,o>=t)break;++this.state.pos,i=i*t+o}return this.state.pos===a||n!=null&&this.state.pos-a!==n?null:i},e.prototype.readRadixNumber=function(t){this.state.pos+=2;var n=this.readInt(t);return n==null&&this.raise(this.state.start+2,"Expected number in radix "+t),x(this.fullCharCodeAtPos())&&this.raise(this.state.pos,"Identifier directly after number"),this.finishToken(s.num,n)},e.prototype.readNumber=function(t){var n,o,a,i=this.state.pos,r=this.input.charCodeAt(i)===48,c=!1;return!t&&this.readInt(10)===null&&this.raise(i,"Invalid number"),r&&this.state.pos==i+1&&(r=!1),n=this.input.charCodeAt(this.state.pos),n===46&&!r&&(++this.state.pos,this.readInt(10),c=!0,n=this.input.charCodeAt(this.state.pos)),(n===69||n===101)&&!r&&(n=this.input.charCodeAt(++this.state.pos),(n===43||n===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(i,"Invalid number"),c=!0),x(this.fullCharCodeAtPos())&&this.raise(this.state.pos,"Identifier directly after number"),o=this.input.slice(i,this.state.pos),a=void 0,c?a=parseFloat(o):!r||o.length===1?a=parseInt(o,10):this.state.strict?this.raise(i,"Invalid number"):/[89]/.test(o)?a=parseInt(o,10):a=parseInt(o,8),this.finishToken(s.num,a)},e.prototype.readCodePoint=function(t){var s,o=this.input.charCodeAt(this.state.pos),n=void 0;if(o===123){if(s=++this.state.pos,n=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,t),++this.state.pos,n===null)--this.state.invalidTemplateEscapePosition;else if(n>1114111)if(t)this.raise(s,"Code point out of bounds");else return this.state.invalidTemplateEscapePosition=s-2,null}else n=this.readHexChar(4,t);return n},e.prototype.readString=function(t){for(var o,n="",i=++this.state.pos;;){if(this.state.pos>=this.input.length&&this.raise(this.state.start,"Unterminated string constant"),o=this.input.charCodeAt(this.state.pos),o===t)break;o===92?(n+=this.input.slice(i,this.state.pos),n+=this.readEscapedChar(!1),i=this.state.pos):(D(o)&&this.raise(this.state.start,"Unterminated string constant"),++this.state.pos)}return n+=this.input.slice(i,this.state.pos++),this.finishToken(s.string,n)},e.prototype.readTmplToken=function(){for(var t,i,n="",o=this.state.pos,a=!1;;){if(this.state.pos>=this.input.length&&this.raise(this.state.start,"Unterminated template"),t=this.input.charCodeAt(this.state.pos),t===96||t===36&&this.input.charCodeAt(this.state.pos+1)===123)return this.state.pos===this.state.start&&this.match(s.template)?t===36?(this.state.pos+=2,this.finishToken(s.dollarBraceL)):(++this.state.pos,this.finishToken(s.backQuote)):(n+=this.input.slice(o,this.state.pos),this.finishToken(s.template,a?null:n));if(t===92)n+=this.input.slice(o,this.state.pos),i=this.readEscapedChar(!0),i===null?a=!0:n+=i,o=this.state.pos;else if(D(t)){switch(n+=this.input.slice(o,this.state.pos),++this.state.pos,t){case 13:this.input.charCodeAt(this.state.pos)===10&&++this.state.pos;case 10:n+=` 13`;break;default:n+=String.fromCharCode(t);break}++this.state.curLine,this.state.lineStart=this.state.pos,o=this.state.pos}else++this.state.pos}},e.prototype.readEscapedChar=function(t){var n,s,i,a,r,c=!t,o=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,o){case 110:return` 14`;case 114:return"\r";case 120:return a=this.readHexChar(2,c),a===null?null:String.fromCharCode(a);case 117:return r=this.readCodePoint(c),r===null?null:$(r);case 116:return" ";case 98:return"�";case 118:return"�";
14case 102:return"�";case 13:this.input.charCodeAt(this.state.pos)===10&&++this.state.pos;case 10:return this.state.lineStart=this.state.pos,++this.state.curLine,"";default:if(o>=48&&o<=55){if(i=this.state.pos-1,n=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(n,8),s>255&&(n=n.slice(0,-1),s=parseInt(n,8)),s>0){if(t)return this.state.invalidTemplateEscapePosition=i,null;this.state.strict?this.raise(i,"Octal literal in strict mode"):this.state.containsOctal||(this.state.containsOctal=!0,this.state.octalPosition=i)}return this.state.pos+=n.length-1,String.fromCharCode(s)}return String.fromCharCode(o)}},e.prototype.readHexChar=function(t,n){var s=this.state.pos,o=this.readInt(16,t);return o===null&&(n?this.raise(s,"Bad character escape sequence"):(this.state.pos=s-1,this.state.invalidTemplateEscapePosition=s-1)),o},e.prototype.readWord1=function(){this.state.containsEsc=!1;for(var t,o,a,n="",i=!0,s=this.state.pos;this.state.pos<this.input.length;){if(t=this.fullCharCodeAtPos(),K(t))this.state.pos+=t<=65535?1:2;else if(t===92)this.state.containsEsc=!0,n+=this.input.slice(s,this.state.pos),a=this.state.pos,this.input.charCodeAt(++this.state.pos)!==117&&this.raise(this.state.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.state.pos,o=this.readCodePoint(!0),(i?x:K)(o,!0)||this.raise(a,"Invalid Unicode escape"),n+=$(o),s=this.state.pos;else break;i=!1}return n+this.input.slice(s,this.state.pos)},e.prototype.readWord=function(){var t=this.readWord1(),n=s.name;return!this.state.containsEsc&&this.isKeyword(t)&&(n=F[t]),this.finishToken(n,t)},e.prototype.braceIsBlock=function(t){if(t===s.colon){var n=this.curContext();if(n===l.braceStatement||n===l.braceExpression)return!n.isExpr}return t===s._return?j.test(this.input.slice(this.state.lastTokEnd,this.state.start)):t===s._else||t===s.semi||t===s.eof||t===s.parenR||(t===s.braceL?this.curContext()===l.braceStatement:!this.state.exprAllowed)},e.prototype.updateContext=function(t){var n=this.state.type,o=void 0;n.keyword&&t===s.dot?this.state.exprAllowed=!1:(o=n.updateContext)?o.call(this,t):this.state.exprAllowed=n.beforeExpr},e}(),_={},J=["jsx","doExpressions","objectRestSpread","decorators","classProperties","exportExtensions","asyncGenerators","functionBind","functionSent","dynamicImport","flow"],f=function(e){z(t,e);function t(n,s){g(this,t),n=je(n);var o=L(this,e.call(this,n,s));return o.options=n,o.inModule=o.options.sourceType==="module",o.input=s,o.plugins=o.loadPlugins(o.options.plugins),o.filename=n.sourceFilename,o.state.pos===0&&o.input[0]==="#"&&o.input[1]==="!"&&o.skipLineComment(2),o}return t.prototype.isReservedWord=function(t){return t==="await"?this.inModule:H[6](t)},t.prototype.hasPlugin=function(t){return!!(this.plugins["*"]&&J.indexOf(t)>-1)||!!this.plugins[t]},t.prototype.extend=function(t,n){this[t]=n(this[t])},t.prototype.loadAllPlugins=function(){var n=this,t=Object.keys(_).filter(function(e){return e!=="flow"&&e!=="estree"});t.push("flow"),t.forEach(function(e){var t=_[e];t&&t(n)})},t.prototype.loadPlugins=function(t){if(t.indexOf("*")>=0)return this.loadAllPlugins(),{"*":!0};o={},t.indexOf("flow")>=0&&(t=t.filter(function(e){return e!=="flow"}),t.push("flow")),t.indexOf("estree")>=0&&(t=t.filter(function(e){return e!=="estree"}),t.unshift("estree"));for(var o,i,a,r,n=t,c=Array.isArray(n),s=0,n=c?n:n[Symbol.iterator]();;){if(c){if(s>=n.length)break;a=n[s++]}else{if(s=n.next(),s.done)break;a=s.value}i=a,o[i]||(o[i]=!0,r=_[i],r&&r(this))}return o},t.prototype.parse=function(){var t=this.startNode(),n=this.startNode();return this.nextToken(),this.parseTopLevel(t,n)},t}(se),p=f.prototype,p.addExtra=function(e,t,n){if(!e)return;var s=e.extra=e.extra||{};s[t]=n},p.isRelational=function(e){return this.match(s.relational)&&this.state.value===e},p.expectRelational=function(e){this.isRelational(e)?this.next():this.unexpected(null,s.relational)},p.isContextual=function(e){return this.match(s.name)&&this.state.value===e},p.eatContextual=function(e){return this.state.value===e&&this.eat(s.name)},p.expectContextual=function(e,t){this.eatContextual(e)||this.unexpected(null,t)},p.canInsertSemicolon=function(){return this.match(s.eof)||this.match(s.braceR)||j.test(this.input.slice(this.state.lastTokEnd,this.state.start))},p.isLineTerminator=function(){return this.eat(s.semi)||this.canInsertSemicolon()},p.semicolon=function(){this.isLineTerminator()||this.unexpected(null,
14s.semi)},p.expect=function(e,t){return this.eat(e)||this.unexpected(t,e)},p.unexpected=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Unexpected token";t&&(typeof t=="undefined"?"undefined":G(t))==="object"&&t.label&&(t="Unexpected token, expected "+t.label),this.raise(e??this.state.start,t)},o=f.prototype,o.parseTopLevel=function(e,t){return t.sourceType=this.options.sourceType,this.parseBlockBody(t,!0,!0,s.eof),e.program=this.finishNode(t,"Program"),e.comments=this.state.comments,e.tokens=this.state.tokens,this.finishNode(e,"File")},k={kind:"loop"},Q={kind:"switch"},o.stmtToDirective=function(e){var t=e.expression,n=this.startNodeAt(t.start,t.loc.start),s=this.startNodeAt(e.start,e.loc.start),o=this.input.slice(t.start,t.end),i=n.value=o.slice(1,-1);return this.addExtra(n,"raw",o),this.addExtra(n,"rawValue",i),s.value=this.finishNodeAt(n,"DirectiveLiteral",t.end,t.loc.end),this.finishNodeAt(s,"Directive",e.end,e.loc.end)},o.parseStatement=function(e,t){this.match(s.at)&&this.parseDecorators(!0);var i,a,r,o=this.state.type,n=this.startNode();switch(o){case s._break:case s._continue:return this.parseBreakContinueStatement(n,o.keyword);case s._debugger:return this.parseDebuggerStatement(n);case s._do:return this.parseDoStatement(n);case s._for:return this.parseForStatement(n);case s._function:return e||this.unexpected(),this.parseFunctionStatement(n);case s._class:return e||this.unexpected(),this.parseClass(n,!0);case s._if:return this.parseIfStatement(n);
14case s._return:return this.parseReturnStatement(n);case s._switch:return this.parseSwitchStatement(n);case s._throw:return this.parseThrowStatement(n);case s._try:return this.parseTryStatement(n);case s._let:case s._const:e||this.unexpected();case s._var:return this.parseVarStatement(n,o);case s._while:return this.parseWhileStatement(n);case s._with:return this.parseWithStatement(n);case s.braceL:return this.parseBlock();case s.semi:return this.parseEmptyStatement(n);case s._export:case s._import:if(this.hasPlugin("dynamicImport")&&this.lookahead().type===s.parenL)break;return this.options.allowImportExportEverywhere||(t||this.raise(this.state.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.state.start,`'import' and 'export' may appear only with 'sourceType: "module"'`)),o===s._import?this.parseImport(n):this.parseExport(n);case s.name:if(this.state.value==="async"){if(a=this.state.clone(),this.next(),this.match(s._function)&&!this.canInsertSemicolon())return this.expect(s._function),this.parseFunction(n,!0,!1,!0);this.state=a}}return r=this.state.value,i=this.parseExpression(),o===s.name&&i.type==="Identifier"&&this.eat(s.colon)?this.parseLabeledStatement(n,r,i):this.parseExpressionStatement(n,i)},o.takeDecorators=function(e){this.state.decorators.length&&(e.decorators=this.state.decorators,this.state.decorators=[])},o.parseDecorators=function(e){for(;this.match(s.at);){var t=this.parseDecorator();this.state.decorators.push(t)}if(e&&this.match(s._export))return;this.match(s._class)||this.raise(this.state.start,"Leading decorators must be attached to a class declaration")},o.parseDecorator=function(){this.hasPlugin("decorators")||this.unexpected();var e=this.startNode();return this.next(),e.expression=this.parseMaybeAssign(),this.finishNode(e,"Decorator")},o.parseBreakContinueStatement=function(e,t){var n,o,i=t==="break";this.next(),this.isLineTerminator()?e.label=null:this.match(s.name)?(e.label=this.parseIdentifier(),this.semicolon()):this.unexpected(),n=void 0;for(n=0;n<this.state.labels.length;++n)if(o=this.state.labels[n],e.label==null||o.name===e.label.name){if(o.kind!=null&&(i||o.kind==="loop"))break;if(e.label&&i)break}return n===this.state.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,i?"BreakStatement":"ContinueStatement")},o.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},o.parseDoStatement=function(e){return this.next(),this.state.labels.push(k),e.body=this.parseStatement(!1),this.state.labels.pop(),this.expect(s._while),e.test=this.parseParenExpression(),this.eat(s.semi),this.finishNode(e,"DoWhileStatement")},o.parseForStatement=function(e){this.next(),this.state.labels.push(k);var t,o,i,a,r,n=!1;return this.hasPlugin("asyncGenerators")&&this.state.inAsync&&this.isContextual("await")&&(n=!0,this.next()),this.expect(s.parenL),this.match(s.semi)?(n&&this.unexpected(),this.parseFor(e,null)):this.match(s._var)||this.match(s._let)||this.match(s._const)?(t=this.startNode(),r=this.state.type,this.next(),this.parseVar(t,!0,r),this.finishNode(t,"VariableDeclaration"),(this.match(s._in)||this.isContextual("of"))&&t.declarations.length===1&&!t.declarations[0].init?this.parseForIn(e,t,n):(n&&this.unexpected(),this.parseFor(e,t))):(i={start:0},o=this.parseExpression(!0,i),this.match(s._in)||this.isContextual("of")?(a=this.isContextual("of")?"for-of statement":"for-in statement",this.toAssignable(o,void 0,a),this.checkLVal(o,void 0,void 0,a),this.parseForIn(e,o,n)):(i.start&&this.unexpected(i.start),n&&this.unexpected(),this.parseFor(e,o)))},o.parseFunctionStatement=function(e){return this.next(),this.parseFunction(e,!0)},o.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!1),e.alternate=this.eat(s._else)?this.parseStatement(!1):null,this.finishNode(e,"IfStatement")},o.parseReturnStatement=function(e){return!this.state.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.state.start,"'return' outside of function"),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},o.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(s.braceL),this.state.labels.push(Q
14);for(var n,o,t=void 0;!this.match(s.braceR);)this.match(s._case)||this.match(s._default)?(o=this.match(s._case),t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),o?t.test=this.parseExpression():(n&&this.raise(this.state.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(s.colon)):t?t.consequent.push(this.parseStatement(!0)):this.unexpected();return t&&this.finishNode(t,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")},o.parseThrowStatement=function(e){return this.next(),j.test(this.input.slice(this.state.lastTokEnd,this.state.start))&&this.raise(this.state.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")},Z=[],o.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(s._catch)){var t=this.startNode();this.next(),this.expect(s.parenL),t.param=this.parseBindingAtom(),this.checkLVal(t.param,!0,Object.create(null),"catch clause"),this.expect(s.parenR),t.body=this.parseBlock(),e.handler=this.finishNode(t,"CatchClause")}return e.guardedHandlers=Z,e.finalizer=this.eat(s._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},o.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},o.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.state.labels.push(k),e.body=this.parseStatement(!1),this.state.labels.pop(),this.finishNode(e,"WhileStatement")},o.parseWithStatement=function(e){return this.state.strict&&this.raise(this.state.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},o.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},o.parseLabeledStatement=function(e,t,n){for(var a,r,c,l,u,o=this.state.labels,d=Array.isArray(o),i=0,o=d?o:o[Symbol.iterator]();;){if(d){if(i>=o.length)break;c=o[i++]}else{if(i=o.next(),i.done)break;c=i.value}u=c,u.name===t&&this.raise(n.start,"Label '"+t+"' is already declared")}for(l=this.state.type.isLoop?"loop":this.match(s._switch)?"switch":null,a=this.state.labels.length-1;a>=0;a--)if(r=this.state.labels[a],r.statementStart===e.start)r.statementStart=this.state.start,r.kind=l;else break;return this.state.labels.push({name:t,kind:l,statementStart:this.state.start}),e.body=this.parseStatement(!0),this.state.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},o.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},o.parseBlock=function(e){var t=this.startNode();return this.expect(s.braceL),this.parseBlockBody(t,e,!1,s.braceR),this.finishNode(t,"BlockStatement")},o.isValidDirective=function(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized},o.parseBlockBody=function(e,t,n,s){e.body=[],e.directives=[];for(var i,c,a=!1,r=void 0,o=void 0;!this.eat(s);){if(!a&&this.state.containsOctal&&!o&&(o=this.state.octalPosition),i=this.parseStatement(!0,n),t&&!a&&this.isValidDirective(i)){c=this.stmtToDirective(i),e.directives.push(c),r===void 0&&c.value.value==="use strict"&&(r=this.state.strict,this.setStrict(!0),o&&this.raise(o,"Octal literal in strict mode"));continue}a=!0,e.body.push(i)}r===!1&&this.setStrict(!1)},o.parseFor=function(e,t){return e.init=t,this.expect(s.semi),e.test=this.match(s.semi)?null:this.parseExpression(),this.expect(s.semi),e.update=this.match(s.parenR)?null:this.parseExpression(),this.expect(s.parenR),e.body=this.parseStatement(!1),this.state.labels.pop(),this.finishNode(e,"ForStatement")},o.parseForIn=function(e,t,n){var o=void 0;return n?(this.eatContextual("of"),o="ForAwaitStatement"):(o=this.match(s._in)?"ForInStatement":"ForOfStatement",this.next()),e.left=t,e.right=this.parseExpression(),this.expect(s.parenR),e.body=this.parseStatement
14(!1),this.state.labels.pop(),this.finishNode(e,o)},o.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n.keyword;;){var o=this.startNode();if(this.parseVarHead(o),this.eat(s.eq)?o.init=this.parseMaybeAssign(t):n===s._const&&!this.match(s._in)&&!this.isContextual("of")?this.unexpected():o.id.type!=="Identifier"&&!(t&&(this.match(s._in)||this.isContextual("of")))?this.raise(this.state.lastTokEnd,"Complex binding patterns require an initialization value"):o.init=null,e.declarations.push(this.finishNode(o,"VariableDeclarator")),!this.eat(s.comma))break}return e},o.parseVarHead=function(e){e.id=this.parseBindingAtom(),this.checkLVal(e.id,!0,void 0,"variable declaration")},o.parseFunction=function(e,t,n,o,i){var a=this.state.inMethod;return this.state.inMethod=!1,this.initFunction(e,o),this.match(s.star)&&(e.async&&!this.hasPlugin("asyncGenerators")?this.unexpected():(e.generator=!0,this.next())),t&&!i&&!this.match(s.name)&&!this.match(s._yield)&&this.unexpected(),(this.match(s.name)||this.match(s._yield))&&(e.id=this.parseBindingIdentifier()),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.state.inMethod=a,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},o.parseFunctionParams=function(e){this.expect(s.parenL),e.params=this.parseBindingList(s.parenR)},o.parseClass=function(e,t,n){return this.next(),this.takeDecorators(e),this.parseClassId(e,t,n),this.parseClassSuper(e),this.parseClassBody(e),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},o.isClassProperty=function(){return this.match(s.eq)||this.match(s.semi)||this.match(s.braceR)},o.isClassMethod=function(){return this.match(s.parenL)},o.isNonstaticConstructor=function(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")},o.parseClassBody=function(e){var t,n,o,i,a,r,c,l,d,u=this.state.strict;for(this.state.strict=!0,r=!1,c=!1,o=[],n=this.startNode(),n.body=[],this.expect(s.braceL);!this.eat(s.braceR);){if(this.eat(s.semi)){o.length>0&&this.raise(this.state.lastTokEnd,"Decorators must not be followed by a semicolon");continue}if(this.match(s.at)){o.push(this.parseDecorator());continue}if(t=this.startNode(),o.length&&(t.decorators=o,o=[]),t.static=!1,this.match(s.name)&&this.state.value==="static"){if(l=this.parseIdentifier(!0),this.isClassMethod()){t.kind="method",t.computed=!1,t.key=l,this.parseClassMethod(n,t,!1,!1);continue}if(this.isClassProperty()){t.computed=!1,t.key=l,n.body.push(this.parseClassProperty(t));continue}t.static=!0}this.eat(s.star)?(t.kind="method",this.parsePropertyName(t),this.isNonstaticConstructor(t)&&this.raise(t.key.start,"Constructor can't be a generator"),!t.computed&&t.static&&(t.key.name==="prototype"||t.key.value==="prototype")&&this.raise(t.key.start,"Classes may not have static property named prototype"),this.parseClassMethod(n,t,!0,!1)):(a=this.match(s.name),i=this.parsePropertyName(t),!t.computed&&t.static&&(t.key.name==="prototype"||t.key.value==="prototype")&&this.raise(t.key.start,"Classes may not have static property named prototype"),this.isClassMethod()?(this.isNonstaticConstructor(t)?(c?this.raise(i.start,"Duplicate constructor in the same class"):t.decorators&&this.raise(t.start,"You can't attach decorators to a class constructor"),c=!0,t.kind="constructor"):t.kind="method",this.parseClassMethod(n,t,!1,!1)):this.isClassProperty()?(this.isNonstaticConstructor(t)&&this.raise(t.key.start,"Classes may not have a non-static field named 'constructor'"),n.body.push(this.parseClassProperty(t))):a&&i.name==="async"&&!this.isLineTerminator()?(d=this.hasPlugin("asyncGenerators")&&this.eat(s.star),t.kind="method",this.parsePropertyName(t),this.isNonstaticConstructor(t)&&this.raise(t.key.start,"Constructor can't be an async function"),this.parseClassMethod(n,t,d,!0)):a&&(i.name==="get"||i.name==="set")&&!(this.isLineTerminator()&&this.match(s.star))?(t.kind=i.name,this.parsePropertyName(t),this.isNonstaticConstructor(t)&&this.raise(t.key.start,"Constructor can't have get/set modifier"),this.parseClassMethod(n,t,!1,!1),this.checkGetterSetterParamCount(t)):this.hasPlugin("classConstructorCall")&&a&&i.name==="call"&&this.match(s.name)&&this.state.value==="constructor"?(r?this.raise(t.start,"Duplicate constructor call in the same class"):t.decorators&&this.raise(t.start,"You can't attach decorators to a class constructor"),r=!0,t.kind="constructorCall",this.parsePropertyName(t),this.parseClassMethod(n,t,!1,!1)):this.isLineTerminator()?(this.isNonstaticConstructor(t)&&this.raise(t.key.start,"Classes may not have a non-static field named 'constructor'"),n.body.push(this.parseClassProperty(t))):this.unexpected())}o.length&&this.raise(this.state.start,"You have trailing decorators with no method"),e.body=this.finishNode(n,"ClassBody"),this.state.strict=u},o.parseClassProperty=function(e){return this.state.inClassProperty=!0,this.match(s.eq)?(this.hasPlugin("classProperties")||this.unexpected(),this.next(),e.value=this.parseMaybeAssign()):e.value=null,this.semicolon(),this.state.inClassProperty=!1,this.finishNode(e,"ClassProperty")},o.parseClassMethod=function(e,t,n,s){this.parseMethod(t,n,s),e.body.push(this.finishNode(t,"ClassMethod"))},o.parseClassId=function(e,t,n){this.match(s.name)?e.id=this.parseIdentifier():n||!t?e.id=null:this.unexpected()},o.parseClassSuper=function(e){e.superClass=this.eat(s._extends)?this.parseExprSubscripts():null},o.parseExport=function(e){if(this.next(),this.match(s.star)){var t,n,o,i,a=this.startNode();if(this.next(),this.hasPlugin("exportExtensions")&&this.eatContextual("as"))a.exported=this.parseIdentifier(),e.specifiers=[this.finishNode(a,"ExportNamespaceSpecifier")],this.parseExportSpecifiersMaybe(e),this.parseExportFrom(e,!0);else return this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration")}else if(this.hasPlugin("exportExtensions")&&this.isExportDefaultSpecifier())n=this.startNode(),n.exported=this.parseIdentifier(!0),e.specifiers=[this.finishNode(n,"ExportDefaultSpecifier")],this.match(s.comma)&&this.lookahead().type===s.star?(this.expect(s.comma),o=this.startNode(),this.expect(s.star),this.expectContextual("as"),o.exported=this.parseIdentifier(),e.specifiers.push(this.finishNode(o,"ExportNamespaceSpecifier"))):this.parseExportSpecifiersMaybe(e),this.parseExportFrom(e,!0);else if(this.eat(s._default))return t=this.startNode(),i=!1,this.eat(s._function)?t=this.parseFunction(t,!0,!1,!1,!0):this.match(s._class)?t=this.parseClass(t,!0,!0):(i=!0,t=this.parseMaybeAssign()),e.declaration=t,i&&this.semicolon(),this.checkExport(e,!0,!0),this.finishNode(e,"ExportDefaultDeclaration");else this.shouldParseExportDeclaration()?(e.specifiers=[],e.source=null,e.declaration=this.parseExportDeclaration(e)):(e.declaration=null,e.specifiers=this.parseExportSpecifiers(),this.parseExportFrom(e));return this.checkExport(e,!0),this.finishNode(e,"ExportNamedDeclaration")}
14,o.parseExportDeclaration=function(){return this.parseStatement(!0)},o.isExportDefaultSpecifier=function(){if(this.match(s.name))return this.state.value!=="async";if(!this.match(s._default))return!1;var e=this.lookahead();return e.type===s.comma||e.type===s.name&&e.value==="from"},o.parseExportSpecifiersMaybe=function(e){this.eat(s.comma)&&(e.specifiers=e.specifiers.concat(this.parseExportSpecifiers()))},o.parseExportFrom=function(e,t){this.eatContextual("from")?(e.source=this.match(s.string)?this.parseExprAtom():this.unexpected(),this.checkExport(e)):t?this.unexpected():e.source=null,this.semicolon()},o.shouldParseExportDeclaration=function(){return this.state.type.keyword==="var"||this.state.type.keyword==="const"||this.state.type.keyword==="let"||this.state.type.keyword==="function"||this.state.type.keyword==="class"||this.isContextual("async")},o.checkExport=function(e,t,n){if(t)if(n)this.checkDuplicateExports(e,"default");else if(e.specifiers&&e.specifiers.length)for(var r,c,l,h,m,s=e.specifiers,d=Array.isArray(s),i=0,s=d?s:s[Symbol.iterator]();;){if(d){if(i>=s.length)break;r=s[i++]}else{if(i=s.next(),i.done)break;r=i.value}c=r,this.checkDuplicateExports(c,c.exported.name)}else if(e.declaration)if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration")this.checkDuplicateExports(e,e.declaration.id.name);else if(e.declaration.type==="VariableDeclaration")for(var o=e.declaration.declarations,u=Array.isArray(o),a=0,o=u?o:o[Symbol.iterator]();;){if(u){if(a>=o.length)break;l=o[a++]}else{if(a=o.next(),a.done)break;l=a.value}h=l,this.checkDeclaration(h.id)}this.state.decorators.length&&(m=e.declaration&&(e.declaration.type==="ClassDeclaration"||e.declaration.type==="ClassExpression"),(!e.declaration||!m)&&this.raise(e.start,"You can only use decorators on an export when exporting a class"),this.takeDecorators(e.declaration))},o.checkDeclaration=function(e){if(e.type==="ObjectPattern")for(var i,a,r,l,t=e.properties,c=Array.isArray(t),s=0,t=c?t:t[Symbol.iterator]();;){if(c){if(s>=t.length)break;i=t[s++]}else{if(s=t.next(),s.done)break;i=s.value}l=i,this.checkDeclaration(l)}else if(e.type==="ArrayPattern")for(var n=e.elements,d=Array.isArray(n),o=0,n=d?n:n[Symbol.iterator]();;){if(d){if(o>=n.length)break;a=n[o++]}else{if(o=n.next(),o.done)break;a=o.value}r=a,r&&this.checkDeclaration(r)}else e.type==="ObjectProperty"?this.checkDeclaration(e.value):e.type==="RestElement"||e.type==="RestProperty"?this.checkDeclaration(e.argument):e.type==="Identifier"&&this.checkDuplicateExports(e,e.name)},o.checkDuplicateExports=function(e,t){this.state.exportedIdentifiers.indexOf(t)>-1&&this.raiseDuplicateExportError(e,t),this.state.exportedIdentifiers.push(t)},o.raiseDuplicateExportError=function(e,t){this.raise(e.start,t==="default"?"Only one default export allowed per module.":"`"+t+"` has already been exported. Exported identifiers must be unique.")},o.parseExportSpecifiers=function(){var e,n,o=[],i=!0,t=void 0;for(this.expect(s.braceL);!this.eat(s.braceR);){if(i)i=!1;else if(this.expect(s.comma),this.eat(s.braceR))break;n=this.match(s._default),n&&!t&&(t=!0),e=this.startNode(),e.local=this.parseIdentifier(n),e.exported=this.eatContextual("as")?this.parseIdentifier(!0):e.local.__clone(),o.push(this.finishNode(e,"ExportSpecifier"))}return t&&!this.isContextual("from")&&this.unexpected(),o},o.parseImport=function(e){return this.eat(s._import),this.match(s.string)?(e.specifiers=[],e.source=this.parseExprAtom()):(e.specifiers=[],this.parseImportSpecifiers(e),this.expectContextual("from"),e.source=this.match(s.string)?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},o.parseImportSpecifiers=function(e){var t,o,i,n=!0;if(this.match(s.name)&&(o=this.state.start,i=this.state.startLoc,e.specifiers.push(this.parseImportSpecifierDefault(this.parseIdentifier(),o,i)),!this.eat(s.comma)))return;if(this.match(s.star)){t=this.startNode(),this.next(),this.expectContextual("as"),t.local=this.parseIdentifier(),this.checkLVal(t.local,!0,void 0,"import namespace specifier"),e.specifiers.push(this.finishNode(t,"ImportNamespaceSpecifier"));return}for(this.expect(s.braceL);!this.eat(s.braceR);){if(n)n=!1;else if(this.eat(s.colon)&&this.unexpected(null,"ES2015 named imports do not destructure. Use another statement for destructuring after the import."),this.expect(s.comma),this.eat(s.braceR))break;this.parseImportSpecifier(e)}},o.parseImportSpecifier=function(e){var t=this.startNode();t.imported=this.parseIdentifier(!0),this.eatContextual("as")?t.local=this.parseIdentifier():(this.checkReservedWord(t.imported.name,t.start,!0,!0),t.local=t.imported.__clone()),this.checkLVal(t.local,!0,void 0,"import specifier"),e.specifiers.push(this.finishNode(t,"ImportSpecifier"))},o.parseImportSpecifierDefault=function(e,t,n){var s=this.startNodeAt(t,n);return s.local=e,this.checkLVal(s.local,!0,void 0,"default import specifier"),this.finishNode(s,"ImportDefaultSpecifier")},m=f.prototype,m.toAssignable=function(e,t,n){if(e)switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(var o,a,c,l,s=e.properties,r=Array.isArray(s),i=0,s=r?s:s[Symbol.iterator]();;){if(r){if(i>=s.length)break;a=s[i++]}else{if(i=s.next(),i.done)break;a=i.value}
14o=a,o.type==="ObjectMethod"?o.kind==="get"||o.kind==="set"?this.raise(o.key.start,"Object pattern can't contain getter or setter"):this.raise(o.key.start,"Object pattern can't contain methods"):this.toAssignable(o,t,"object destructuring pattern")}break;case"ObjectProperty":this.toAssignable(e.value,t,n);break;case"SpreadProperty":e.type="RestProperty",c=e.argument,this.toAssignable(c,t,n);break;case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,t,n);break;case"AssignmentExpression":e.operator==="="?(e.type="AssignmentPattern",delete e.operator):this.raise(e.left.end,"Only '=' operator can be used for specifying default value.");break;case"MemberExpression":if(!t)break;default:l="Invalid left-hand side"+(n?" in "+n:"expression"),this.raise(e.start,l)}return e},m.toAssignableList=function(e,t,n){var s,o,a,r,i=e.length;i&&(s=e[i-1],s&&s.type==="RestElement"?--i:s&&s.type==="SpreadElement"&&(s.type="RestElement",o=s.argument,this.toAssignable(o,t,n),o.type!=="Identifier"&&o.type!=="MemberExpression"&&o.type!=="ArrayPattern"&&this.unexpected(o.start),--i));for(a=0;a<i;a++)r=e[a],r&&this.toAssignable(r,t,n);return e},m.toReferencedList=function(e){return e},m.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},m.parseRest=function(){var e=this.startNode();return this.next(),e.argument=this.parseBindingIdentifier(),this.finishNode(e,"RestElement")},m.shouldAllowYieldIdentifier=function(){return this.match(s._yield)&&!this.state.strict&&!this.state.inGenerator},m.parseBindingIdentifier=function(){return this.parseIdentifier(this.shouldAllowYieldIdentifier())},m.parseBindingAtom=function(){switch(this.state.type){case s._yield:(this.state.strict||this.state.inGenerator)&&this.unexpected();case s.name:return this.parseIdentifier(!0);case s.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(s.bracketR,!0),this.finishNode(e,"ArrayPattern");case s.braceL:return this.parseObj(!0);default:this.unexpected()}},m.parseBindingList=function(e,t){for(var n,i,o=[],a=!0;!this.eat(e);)if(a?a=!1:this.expect(s.comma),t&&this.match(s.comma))o.push(null);else if(this.eat(e))break;else if(this.match(s.ellipsis)){o.push(this.parseAssignableListItemTypes(this.parseRest())),this.expect(e);break}else{for(i=[];this.match(s.at);)i.push(this.parseDecorator());n=this.parseMaybeDefault(),i.length&&(n.decorators=i),this.parseAssignableListItemTypes(n),o.push(this.parseMaybeDefault(n.start,n.loc.start,n))}return o},m.parseAssignableListItemTypes=function(e){return e},m.parseMaybeDefault=function(e,t,n){if(t=t||this.state.startLoc,e=e||this.state.start,n=n||this.parseBindingAtom(),!this.eat(s.eq))return n;var o=this.startNodeAt(e,t);return o.left=n,o.right=this.parseMaybeAssign(),this.finishNode(o,"AssignmentPattern")},m.checkLVal=function(e,t,n,s){switch(e.type){case"Identifier":this.checkReservedWord(e.name,e.start,!1,!0),n&&(l="_"+e.name,n[l]?this.raise(e.start,"Argument name clash in strict mode"):n[l]=!0);break;case"MemberExpression":t&&this.raise(e.start,(t?"Binding":"Assigning to")+" member expression");break;case"ObjectPattern":for(var r,l,d,u,h,p,o=e.properties,m=Array.isArray(o),a=0,o=m?o:o[Symbol.iterator]();;){if(m){if(a>=o.length)break;d=o[a++]}else{if(a=o.next(),a.done)break;d=a.value}r=d,r.type==="ObjectProperty"&&(r=r.value),this.checkLVal(r,t,n,"object destructuring pattern")}break;case"ArrayPattern":for(var i=e.elements,f=Array.isArray(i),c=0,i=f?i:i[Symbol.iterator]();;){if(f){if(c>=i.length)break;u=i[c++]}else{if(c=i.next(),c.done)break;u=c.value}h=u,h&&this.checkLVal(h,t,n,"array destructuring pattern")}break;case"AssignmentPattern":this.checkLVal(e.left,t,n,"assignment pattern");break;case"RestProperty":this.checkLVal(e.argument,t,n,"rest property");break;case"RestElement":this.checkLVal(e.argument,t,n,"rest element");break;default:p=(t?"Binding invalid":"Invalid")+" left-hand side"+(s?" in "+s:"expression"),this.raise(e.start,p)}},a=f.prototype,a.checkPropClash=function(e,t){if(e.computed||e.kind)return;var n=e.key,s=n.type==="Identifier"?n.name:String(n.value);s==="__proto__"&&(t.proto&&this.raise(n.start,"Redefinition of __proto__ property"),t.proto=!0)},a.getExpression=function(){this.nextToken();var e=this.parseExpression();return this.match(s.eof)||this.unexpected(),e},a.parseExpression=function(e,t){var n,i=this.state.start,a=this.state.startLoc,o=this.parseMaybeAssign(e,t);if(this.match(s.comma)){for(n=this.startNodeAt(i,a),n.expressions=[o];this.eat(s.comma);)n.expressions.push(this.parseMaybeAssign(e,t));return this.toReferencedList(n.expressions),this.finishNode(n,"SequenceExpression")}return o},a.parseMaybeAssign=function(e,t,n,o){var i,a,r,c,l,d=this.state.start,u=this.state.startLoc;return this.match(s._yield)&&this.state.inGenerator?(c=this.parseYield(),n&&(c=n.call(this,c,d,u)),c):(l=void 0,t?l=!1:(t={start:0},l=!0),(this.match(s.parenL)||this.match(s.name))&&(this.state.potentialArrowAt=this.state.start),i=this.parseMaybeConditional(e,t,o),n&&(i=n.call(this,i,d,u)),this.state.type.isAssign?(a=this.startNodeAt(d,u),a.operator=this.state.value,a.left=this.match(s.eq)?this.toAssignable(i,void 0,"assignment expression"):i,t.start=0,this.checkLVal(i,void 0,void 0,"assignment expression"),i.extra&&i.extra.parenthesized&&(r=void 0,i.type==="Ob
14jectPattern"?r="`({a}) = 0` use `({a} = 0)`":i.type==="ArrayPattern"&&(r="`([a]) = 0` use `([a] = 0)`"),r&&this.raise(i.start,"You're trying to assign to a parenthesized expression, eg. instead of "+r)),this.next(),a.right=this.parseMaybeAssign(e),this.finishNode(a,"AssignmentExpression")):(l&&t.start&&this.unexpected(t.start),i))},a.parseMaybeConditional=function(e,t,n){var o=this.state.start,i=this.state.startLoc,s=this.parseExprOps(e,t);return t&&t.start?s:this.parseConditional(s,e,o,i,n)},a.parseConditional=function(e,t,n,o){if(this.eat(s.question)){var i=this.startNodeAt(n,o);return i.test=e,i.consequent=this.parseMaybeAssign(),this.expect(s.colon),i.alternate=this.parseMaybeAssign(t),this.finishNode(i,"ConditionalExpression")}return e},a.parseExprOps=function(e,t){var s=this.state.start,o=this.state.startLoc,n=this.parseMaybeUnary(t);return t&&t.start?n:this.parseExprOp(n,s,o,-1,e)},a.parseExprOp=function(e,t,n,o,i){var a,c,l,d,r=this.state.type.binop;return r!=null&&(!i||!this.match(s._in))&&r>o?(a=this.startNodeAt(t,n),a.left=e,a.operator=this.state.value,a.operator==="**"&&e.type==="UnaryExpression"&&e.extra&&!e.extra.parenthesizedArgument&&!e.extra.parenthesized&&this.raise(e.argument.start,"Illegal expression. Wrap left hand side or entire exponentiation in parentheses."),c=this.state.type,this.next(),l=this.state.start,d=this.state.startLoc,a.right=this.parseExprOp(this.parseMaybeUnary(),l,d,c.rightAssociative?r-1:r,i),this.finishNode(a,c===s.logicalOR||c===s.logicalAND?"LogicalExpression":"BinaryExpression"),this.parseExprOp(a,t,n,o,i)):e},a.parseMaybeUnary=function(e){if(this.state.type.prefix){var n,o,a,r,c,t=this.startNode(),i=this.match(s.incDec);return t.operator=this.state.value,t.prefix=!0,this.next(),a=this.state.type,t.argument=this.parseMaybeUnary(),this.addExtra(t,"parenthesizedArgument",a===s.parenL&&(!t.argument.extra||!t.argument.extra.parenthesized)),e&&e.start&&this.unexpected(e.start),i?this.checkLVal(t.argument,void 0,void 0,"prefix operation"):this.state.strict&&t.operator==="delete"&&t.argument.type==="Identifier"&&this.raise(t.start,"Deleting local variable in strict mode"),this.finishNode(t,i?"UpdateExpression":"UnaryExpression")}if(r=this.state.start,c=this.state.startLoc,n=this.parseExprSubscripts(e),e&&e.start)return n;for(;this.state.type.postfix&&!this.canInsertSemicolon();)o=this.startNodeAt(r,c),o.operator=this.state.value,o.prefix=!1,o.argument=n,this.checkLVal(n,void 0,void 0,"postfix operation"),this.next(),n=this.finishNode(o,"UpdateExpression");return n},a.parseExprSubscripts=function(e){var n=this.state.start,s=this.state.startLoc,o=this.state.potentialArrowAt,t=this.parseExprAtom(e);return t.type==="ArrowFunctionExpression"&&t.start===o?t:e&&e.start?t:this.parseSubscripts(t,n,s)},a.parseSubscripts=function(e,t,n,o){for(;;){if(!o&&this.eat(s.doubleColon)){var i,a,r,c,d,l=this.startNodeAt(t,n);return l.object=e,l.callee=this.parseNoCallExpr(),this.parseSubscripts(this.finishNode(l,"BindExpression"),t,n,o)}if(this.eat(s.dot))a=this.startNodeAt(t,n),a.object=e,a.property=this.parseIdentifier(!0),a.computed=!1,e=this.finishNode(a,"MemberExpression");else if(this.eat(s.bracketL))r=this.startNodeAt(t,n),r.object=e,r.property=this.parseExpression(),r.computed=!0,this.expect(s.bracketR),e=this.finishNode(r,"MemberExpression");else if(!o&&this.match(s.parenL)){if(d=this.state.potentialArrowAt===e.start&&e.type==="Identifier"&&e.name==="async"&&!this.canInsertSemicolon(),this.next(),i=this.startNodeAt(t,n),i.callee=e,i.arguments=this.parseCallExpressionArguments(s.parenR,d),i.callee.type==="Import"&&i.arguments.length!==1&&this.raise(i.start,"import() requires exactly one argument"),e=this.finishNode(i,"CallExpression"),d&&this.shouldParseAsyncArrow())return this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,n),i);this.toReferencedList(i.arguments)}else if(this.match(s.backQuote))c=this.startNodeAt(t,n),c.tag=e,c.quasi=this.parseTemplate(!0),e=this.finishNode(c,"TaggedTemplateExpression");else return e}},a.parseCallExpressionArguments=function(e,t){for(var o=[],n=void 0,i=!0;!this.eat(e);){if(i)i=!1;else if(this.expect(s.comma),this.eat(e))break;this.match(s.parenL)&&!n&&(n=this.state.start),o.push(this.parseExprListItem(!1,t?{start:0}:void 0,t?{start:0}:void 0))}return t&&n&&this.shouldParseAsyncArrow()&&this.unexpected(),o},a.shouldParseAsyncArrow=function(){return this.match(s.arrow)},a.parseAsyncArrowFromCallExpression=function(e,t){return this.expect(s.arrow),this.parseArrowExpression(e,t.arguments,!0)},a.parseNoCallExpr=function(){var e=this.state.start,t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,!0)},a.parseExprAtom=function(e){var n,o,a,r,c,l,d,u,h,i=this.state.potentialArrowAt===this.state.start,t=void 0;switch(this.state.type){case s._super:return!this.state.inMethod&&!this.state.inClassProperty&&!this.options.allowSuperOutsideMethod&&this.raise(this.state.start,"'super' outside of function or class"),t=this.startNode(),this.next(),!this.match(s.parenL)&&!this.match(s.bracketL)&&!this.match(s.dot)&&this.unexpected(),this.match(s.parenL)&&this.state.inMethod!=="constructor"&&!this.options.allowSuperOutsideMethod&&this.raise(t.start,"super() outside of class constructor"),this.finishNode(t,"Super");case s._import:return this.hasPlugin("dynamicImport")||this.unexpected(),t=this.startNode(),this.next(),this.match(s.parenL)||this.unexpected(null,
14s.parenL),this.finishNode(t,"Import");case s._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case s._yield:this.state.inGenerator&&this.unexpected();case s.name:if(t=this.startNode(),c=this.state.value==="await"&&this.state.inAsync,l=this.shouldAllowYieldIdentifier(),n=this.parseIdentifier(c||l),n.name==="await"){if(this.state.inAsync||this.inModule)return this.parseAwait(t)}else if(n.name==="async"&&this.match(s._function)&&!this.canInsertSemicolon())return this.next(),this.parseFunction(t,!1,!1,!0);else if(i&&n.name==="async"&&this.match(s.name))return d=[this.parseIdentifier()],this.expect(s.arrow),this.parseArrowExpression(t,d,!0);return i&&!this.canInsertSemicolon()&&this.eat(s.arrow)?this.parseArrowExpression(t,[n]):n;case s._do:if(this.hasPlugin("doExpressions"))return a=this.startNode(),this.next(),u=this.state.inFunction,h=this.state.labels,this.state.labels=[],this.state.inFunction=!1,a.body=this.parseBlock(!1,!0),this.state.inFunction=u,this.state.labels=h,this.finishNode(a,"DoExpression");case s.regexp:return o=this.state.value,t=this.parseLiteral(o.value,"RegExpLiteral"),t.pattern=o.pattern,t.flags=o.flags,t;case s.num:return this.parseLiteral(this.state.value,"NumericLiteral");case s.string:return this.parseLiteral(this.state.value,"StringLiteral");case s._null:return t=this.startNode(),this.next(),this.finishNode(t,"NullLiteral");case s._true:case s._false:return t=this.startNode(),t.value=this.match(s._true),this.next(),this.finishNode(t,"BooleanLiteral");case s.parenL:return this.parseParenAndDistinguishExpression(null,null,i);case s.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(s.bracketR,!0,e),this.toReferencedList(t.elements),this.finishNode(t,"ArrayExpression");case s.braceL:return this.parseObj(!1,e);case s._function:return this.parseFunctionExpression();case s.at:this.parseDecorators();case s._class:return t=this.startNode(),this.takeDecorators(t),this.parseClass(t,!1);case s._new:return this.parseNew();case s.backQuote:return this.parseTemplate(!1);case s.doubleColon:if(t=this.startNode(),this.next(),t.object=null,r=t.callee=this.parseNoCallExpr(),r.type==="MemberExpression")return this.finishNode(t,"BindExpression");this.raise(r.start,"Binding should be performed on object property.");default:this.unexpected()}},a.parseFunctionExpression=function(){var e=this.startNode(),t=this.parseIdentifier(!0);return this.state.inGenerator&&this.eat(s.dot)&&this.hasPlugin("functionSent")?this.parseMetaProperty(e,t,"sent"):this.parseFunction(e,!1)},a.parseMetaProperty=function(e,t,n){return e.meta=t,e.property=this.parseIdentifier(!0),e.property.name!==n&&this.raise(e.property.start,"The only valid meta property for new is "+t.name+"."+n),this.finishNode(e,"MetaProperty")},a.parseLiteral=function(e,t,n,s){n=n||this.state.start,s=s||this.state.startLoc;var o=this.startNodeAt(n,s);return this.addExtra(o,"rawValue",e),this.addExtra(o,"raw",this.input.slice(n,this.state.end)),o.value=e,this.next(),this.finishNode(o,t)},a.parseParenExpression=function(){this.expect(s.parenL);var e=this.parseExpression();return this.expect(s.parenR),e},a.parseParenAndDistinguishExpression=function(e,t,n){for(e=e||this.state.start,t=t||this.state.startLoc,i=void 0,this.expect(s.parenL),y=this.state.start,b=this.state.startLoc,o=[],u={start:0},r={start:0},f=!0,d=void 0,l=void 0;!this.match(s.parenR);){if(f)f=!1;else if(this.expect(s.comma,r.start||null),this.match(s.parenR)){l=this.state.start;break}if(this.match(s.ellipsis)){w=this.state.start,_=this.state.startLoc,d=this.state.start,o.push(this.parseParenItem(this.parseRest(),w,_));break}o.push(this.parseMaybeAssign(!1,u,this.parseParenItem,r))}if(v=this.state.start,g=this.state.startLoc,this.expect(s.parenR),m=this.startNodeAt(e,t),n&&this.shouldParseArrow()&&(m=this.parseArrow(m))){for(var o,i,r,l,d,u,h,m,f,p,g,v,b,y,_,w,a=o,j=Array.isArray(a),c=0,a=j?a:a[Symbol.iterator]();;){if(j){if(c>=a.length)break;p=a[c++]}else{if(c=a.next(),c.done)break;p=c.value}h=p,h.extra&&h.extra.parenthesized&&this.unexpected(h.extra.parenStart)}return this.parseArrowExpression(m,o)}return o.length||this.unexpected(this.state.lastTokStart),l&&this.unexpected(l),d&&this.unexpected(d),u.start&&this.unexpected(u.start),r.start&&this.unexpected(r.start),o.length>1?(i=this.startNodeAt(y,b),i.expressions=o,this.toReferencedList(i.expressions),this.finishNodeAt(i,"SequenceExpression",v,g)):i=o[0],this.addExtra(i,"parenthesized",!0),this.addExtra(i,"parenStart",e),i},a.shouldParseArrow=function(){return!this.canInsertSemicolon()},a.parseArrow=function(e){if(this.eat(s.arrow))return e},a.parseParenItem=function(e){return e},a.parseNew=function(){var t,e=this.startNode(),n=this.parseIdentifier(!0);return this.eat(s.dot)?(t=this.parseMetaProperty(e,n,"target"),this.state.inFunction||this.raise(t.property.start,"new.target can only be used in functions"),t):(e.callee=this.parseNoCallExpr(),this.eat(s.parenL)?(e.arguments=this.parseExprList(s.parenR),this.toReferencedList(e.arguments)):e.arguments=[],this.finishNode(e,"NewExpression"))},a.parseTemplateElement=function(e){var t=this.startNode();return this.state.value===null&&(!e||!this.hasPlugin("templateInvalidEscapes")?this.raise(this.state.invali
14dTemplateEscapePosition,"Invalid escape sequence in template"):this.state.invalidTemplateEscapePosition=null),t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,` 15`),cooked:this.state.value},this.next(),t.tail=this.match(s.backQuote),this.finishNode(t,"TemplateElement")},a.parseTemplate=function(e){var n,t=this.startNode();for(this.next(),t.expressions=[],n=this.parseTemplateElement(e),t.quasis=[n];!n.tail;)this.expect(s.dollarBraceL),t.expressions.push(this.parseExpression()),this.expect(s.braceR),t.quasis.push(n=this.parseTemplateElement(e));return this.next(),this.finishNode(t,"TemplateLiteral")},a.parseObj=function(e,t){for(o=[],l=Object.create(null),c=!0,a=this.startNode(),a.properties=[],this.next(),i=null;!this.eat(s.braceR);){if(c)c=!1;else if(this.expect(s.comma),this.eat(s.braceR))break;for(;this.match(s.at);)o.push(this.parseDecorator());var o,i,a,c,l,m,f,n=this.startNode(),r=!1,d=!1,u=void 0,h=void 0;if(o.length&&(n.decorators=o,o=[]),this.hasPlugin("objectRestSpread")&&this.match(s.ellipsis))if(n=this.parseSpread(e?{start:0}:void 0),n.type=e?"RestProperty":"SpreadProperty",e&&this.toAssignable(n.argument,!0,"object pattern"),a.properties.push(n),e)if(m=this.state.start,i!==null)this.unexpected(i,"Cannot have multiple rest elements when destructuring");else if(this.eat(s.braceR))break;else if(this.match(s.comma)&&this.lookahead().type===s.braceR)continue;else{i=m;continue}else continue;n.method=!1,n.shorthand=!1,(e||t)&&(u=this.state.start,h=this.state.startLoc),e||(r=this.eat(s.star)),!e&&this.isContextual("async")?(r&&this.unexpected(),f=this.parseIdentifier(),this.match(s.colon)||this.match(s.parenL)||this.match(s.braceR)||this.match(s.eq)||this.match(s.comma)?(n.key=f,n.computed=!1):(d=!0,this.hasPlugin("asyncGenerators")&&(r=this.eat(s.star)),this.parsePropertyName(n))):this.parsePropertyName(n),this.parseObjPropValue(n,u,h,r,d,e,t),this.checkPropClash(n,l),n.shorthand&&this.addExtra(n,"shorthand",!0),a.properties.push(n)}return i!==null&&this.unexpected(i,"The rest element has to be the last element when destructuring"),o.length&&this.raise(this.state.start,"You have trailing decorators with no property"),this.finishNode(a,e?"ObjectPattern":"ObjectExpression")},a.isGetterOrSetterMethod=function(e,t){return!t&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.match(s.string)||this.match(s.num)||this.match(s.bracketL)||this.match(s.name)||this.state.type.keyword)},a.checkGetterSetterParamCount=function(e){var t,n=e.kind==="get"?0:1;e.params.length!==n&&(t=e.start,e.kind==="get"?this.raise(t,"getter should have no params"):this.raise(t,"setter should have exactly one param"))},a.parseObjectMethod=function(e,t,n,o){if(n||t||this.match(s.parenL))return o&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,n),this.finishNode(e,"ObjectMethod");if(this.isGetterOrSetterMethod(e,o))return(t||n)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),this.parseMethod(e),this.checkGetterSetterParamCount(e),this.finishNode(e,"ObjectMethod")},a.parseObjectProperty=function(e,t,n,o,i){if(this.eat(s.colon))return e.value=o?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssign(!1,i),this.finishNode(e,"ObjectProperty");if(!e.computed&&e.key.type==="Identifier")return this.checkReservedWord(e.key.name,e.key.start,!0,!0),o?e.value=this.parseMaybeDefault(t,n,e.key.__clone()):this.match(s.eq)&&i?(i.start||(i.start=this.state.start),e.value=this.parseMaybeDefault(t,n,e.key.__clone())):e.value=e.key.__clone(),e.shorthand=!0,this.finishNode(e,"ObjectProperty")},a.parseObjPropValue=function(e,t,n,s,o,i,a){var r=this.parseObjectMethod(e,s,o,i)||this.parseObjectProperty(e,t,n,i,a);return r||this.unexpected(),r},a.parsePropertyName=function(e){if(this.eat(s.bracketL))e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(s.bracketR);else{e.computed=!1;var t=this.state.inPropertyName;this.state.inPropertyName=!0,e.key=this.match(s.num)||this.match(s.string)?this.parseExprAtom():this.parseIdentifier(!0),this.state.inPropertyName=t}return e.key},a.initFunction=function(e,t){e.id=null,e.generator=!1,e.expression=!1,e.async=!!t},a.parseMethod=function(e,t,n){var o=this.state.inMethod;return this.state.inMethod=e.kind||!0,this.initFunction(e,n),this.expect(s.parenL),e.params=this.parseBindingList(s.parenR),e.generator=!!t,this.parseFunctionBody(e),this.state.inMethod=o,e},a.parseArrowExpression=function(e,t,n){return this.initFunction(e,n),e.params=this.toAssignableList(t,!0,"arrow function parameters"),this.parseFunctionBody(e,!0),this.finishNode(e,"ArrowFunctionExpression")},a.isStrictBody=function(e,t){if(!t&&e.body.directives.length)for(var o,a,n=e.body.directives,i=Array.isArray(n),s=0,n=i?n:n[Symbol.iterator]();;){if(i){if(s>=n.length)break;o=n[s++]}else{if(s=n.next(),s.done)break;o=s.value}if(a=o,a.value.value==="use strict")return!0}return!1},a.parseFunctionBody=function(e,t){if(c=t&&!this.match(s.braceL),g=this.state.inAsync,this.state.inAsync=e.async,c?(e.body=this.parseMaybeAssign(),e.expression=!0):(p=this.state.inFunction,l=this.state.inGenerator,f=this.state.labels,this.state.inFunction=!0,this.state.inGenerator=e.generator,this.state.labels=[],e.body=this.parseBlock(!0),e.expression=!1,this.state.inFunction=p,this.state.inGenerator=l,this.state.labels=f),this.state.inAsync=g,i=this.isStrictBody(e,c),h=this.state.strict||t||i,i&&e.id&&e.id.type==="Identifier"&&e.id.name==="yield"&&this.raise(e.id.start,"Binding yield in strict mode"),h){d=Object.create(null),u=this.state.strict,i&&(this.state.strict=!0),e.id&&this.checkLVal(e.id,!0,void 0,"function name");for(var i,a,r,c,l,d,u,h,f,p,g,n=e.params,m=Array.isArray(n),o=0,n=m?n:n[Symbol.iterator]();;){if(m){if(o>=n.length)break;r=n[o++]}else{if(o=n.next(),o.done)break;r=o.value}a=r,i&&a.type!=="Identifier"&&this.raise(a.start,"Non-simple parameter in strict mode"),this.checkLVal(a,!0,d,"function parameter list")}this.state.strict=u}},a.parseExprList=function(e,t,n){for(var o=[],i=!0;!this.eat(e);){if(i)i=!1;else if(this.expect(s.comma),this.eat(e))break;o.push(this.parseExprListItem(t,n))}return o},a.parseExprListItem=function(e,t,n){var o=void 0;return e&&this.match(s.comma)?o=null:this.match(s.ellipsis)?o=this.parseSpread(t):o=this.parseMaybeAssign(!1,t,this.parseParenItem,n),o},a.parseIdentifier=function(e){var t=this.startNode();return e||this.checkReservedWord(this.state.value,this.state.start,!!this.state.type.keyword,!1),this.match(s.name)?t.name=this.state.value:this.state.type.keyword?t.name=this.state.type.keyword:this.unexpected(),!e&&t.name==="await"&&this.state.inAsync&&this.raise(t.start,"invali
15d use of await inside of an async function"),t.loc.identifierName=t.name,this.next(),this.finishNode(t,"Identifier")},a.checkReservedWord=function(e,t,n,s){(this.isReservedWord(e)||n&&this.isKeyword(e))&&this.raise(t,e+" is a reserved word"),this.state.strict&&(H.strict(e)||s&&H.strictBind(e))&&this.raise(t,e+" is a reserved word in strict mode")},a.parseAwait=function(e){return this.state.inAsync||this.unexpected(),this.match(s.star)&&this.raise(e.start,"await* has been removed from the async functions proposal. Use Promise.all() instead."),e.argument=this.parseMaybeUnary(),this.finishNode(e,"AwaitExpression")},a.parseYield=function(){var e=this.startNode();return this.next(),this.match(s.semi)||this.canInsertSemicolon()||!this.match(s.star)&&!this.state.type.startsExpr?(e.delegate=!1,e.argument=null):(e.delegate=this.eat(s.star),e.argument=this.parseMaybeAssign()),this.finishNode(e,"YieldExpression")},O=f.prototype,ne=["leadingComments","trailingComments","innerComments"],W=function(){function e(t,n,s){g(this,e),this.type="",this.start=t,this.end=0,this.loc=new N(n),s&&(this.loc.filename=s)}return e.prototype.__clone=function(){var n,s=new e;for(n in this)ne.indexOf(n)<0&&(s[n]=this[n]);return s},e}(),O.startNode=function(){return new W(this.state.start,this.state.startLoc,this.filename)},O.startNodeAt=function(e,t){return new W(e,t,this.filename)};function oe(e,t,n,s){return e.type=t,e.end=n,e.loc.end=s,this.processComment(e),e}O.finishNode=function(e,t){return oe.call(this,e,t,this.state.lastTokEnd,this.state.lastTokEndLoc)},O.finishNodeAt=function(e,t,n,s){return oe.call(this,e,t,n,s)},ie=f.prototype,ie.raise=function(e,t){var n,s=be(this.input,e);throw t+=" ("+s.line+":"+s.column+")",n=new SyntaxError(t),n.pos=e,n.loc=s,n};function y(e){return e[e.length-1]}R=f.prototype,R.addComment=function(e){this.filename&&(e.loc.filename=this.filename),this.state.trailingComments.push(e),this.state.leadingComments.push(e)},R.processComment=function(e){if(e.type==="Program"&&e.body.length>0)return;var r,c,l,i=this.state.commentStack,a=void 0,t=void 0,s=void 0,o=void 0,n=void 0;for(this.state.trailingComments.length>0?this.state.trailingComments[0].start>=e.end?(s=this.state.trailingComments,this.state.trailingComments=[]):this.state.trailingComments.length=0:(r=y(i),i.length>0&&r.trailingComments&&r.trailingComments[0].start>=e.end&&(s=r.trailingComments,r.trailingComments=null)),i.length>0&&y(i).start>=e.start&&(a=i.pop());i.length>0&&y(i).start>=e.start;)t=i.pop();if(!t&&a&&(t=a),a&&this.state.leadingComments.length>0)if(c=y(this.state.leadingComments),a.type==="ObjectProperty"){if(c.start>=e.start&&this.state.commentPreviousNode){for(n=0;n<this.state.leadingComments.length;n++)this.state.leadingComments[n].end<this.state.commentPreviousNode.end&&(this.state.leadingComments.splice(n,1),n--);this.state.leadingComments.length>0&&(a.trailingComments=this.state.leadingComments,this.state.leadingComments=[])}}else e.type==="CallExpression"&&e.arguments&&e.arguments.length&&(l=y(e.arguments),l&&c.start>=l.start&&c.end<=e.end&&this.state.commentPreviousNode&&this.state.leadingComments.length>0&&(l.trailingComments=this.state.leadingComments,this.state.leadingComments=[]));if(t){if(t.leadingComments)if(t!==e&&y(t.leadingComments).end<=e.start)e.leadingComments=t.leadingComments,t.leadingComments=null;else for(o=t.leadingComments.length-2;o>=0;--o)if(t.leadingComments[o].end<=e.start){e.leadingComments=t.leadingComments.splice(0,o+1);break}}else if(this.state.leadingComments.length>0)if(y(this.state.leadingComments).end<=e.start){if(this.state.commentPreviousNode)for(n=0;n<this.state.leadingComments.length;n++)this.state.leadingComments[n].end<this.state.commentPreviousNode.end&&(this.state.leadingComments.splice(n,1),n--);this.state.leadingComments.length>0&&(e.leadingComments=this.state.leadingComments,this.state.leadingComments=[])}else{for(o=0;o<this.state.leadingComments.length;o++)if(this.state.leadingComments[o].end>e.start)break;e.leadingComments=this.state.leadingComments.slice(0,o),e.leadingComments.length===0&&(e.leadingComments=null),s=this.state.leadingComments.slice(o),s.length===0&&(s=null)}this.state.commentPreviousNode=e,s&&(s.length&&s[0].start>=e.start&&y(s).end<=e.end?e.innerComments=s:e.trailingComments=s),i.push(e)},M=f.prototype,M.estreeParseRegExpLiteral=function(e){var t,n=e.pattern,s=e.flags,o=null;try{o=new RegExp(n,s)}catch{}return t=this.estreeParseLiteral(o),t.regex={pattern:n,flags:s},t},M.estreeParseLiteral=function(e){return this.parseLiteral(e,"Literal")},M.directiveToStmt=function(e){var t=e.value,n=this.startNodeAt(e.start,e.loc.start),s=this.startNodeAt(t.
15start,t.loc.start);return s.value=t.value,s.raw=t.extra.raw,n.expression=this.finishNodeAt(s,"Literal",t.end,t.loc.end),n.directive=t.extra.raw.slice(1,-1),this.finishNodeAt(n,"ExpressionStatement",e.end,e.loc.end)};function V(e){return e&&e.type==="Property"&&e.kind==="init"&&e.method===!1}X=function(e){e.extend("checkDeclaration",function(e){return function(t){V(t)?this.checkDeclaration(t.value):e.call(this,t)}}),e.extend("checkGetterSetterParamCount",function(){return function(e){var t,n=e.kind==="get"?0:1;e.value.params.length!==n&&(t=e.start,e.kind==="get"?this.raise(t,"getter should have no params"):this.raise(t,"setter should have exactly one param"))}}),e.extend("checkLVal",function(e){return function(t,n,s){switch(a=this,t.type){case"ObjectPattern":t.properties.forEach(function(e){a.checkLVal(e.type==="Property"?e.value:e,n,s,"object destructuring pattern")});break;default:for(var a,i=arguments.length,r=Array(i>3?i-3:0),o=3;o<i;o++)r[o-3]=arguments[o];e.call.apply(e,[this,t,n,s].concat(r))}}}),e.extend("checkPropClash",function(){return function(e,t){if(e.computed||!V(e))return;var n=e.key,s=n.type==="Identifier"?n.name:String(n.value);s==="__proto__"&&(t.proto&&this.raise(n.start,"Redefinition of __proto__ property"),t.proto=!0)}}),e.extend("isStrictBody",function(){return function(e,t){if(!t&&e.body.body.length>0)for(var o,i,n=e.body.body,a=Array.isArray(n),s=0,n=a?n:n[Symbol.iterator]();;){if(a){if(s>=n.length)break;i=n[s++]}else{if(s=n.next(),s.done)break;i=s.value}if(o=i,o.type==="ExpressionStatement"&&o.expression.type==="Literal"){if(o.expression.value==="use strict")return!0}else break}return!1}}),e.extend("isValidDirective",function(){return function(e){return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(!e.expression.extra||!e.expression.extra.parenthesized)}}),e.extend("stmtToDirective",function(e){return function(t){var n=e.call(this,t),s=t.expression.value;return n.value.value=s,n}}),e.extend("parseBlockBody",function(e){return function(t){for(var i=this,s=arguments.length,o=Array(s>1?s-1:0),n=1;n<s;n++)o[n-1]=arguments[n];e.call.apply(e,[this,t].concat(o)),t.directives.reverse().forEach(function(e){t.body.unshift(i.directiveToStmt(e))}),delete t.directives}}),e.extend("parseClassMethod",function(){return function(e,t,n,s){this.parseMethod(t,n,s),t.typeParameters&&(t.value.typeParameters=t.typeParameters,delete t.typeParameters),e.body.push(this.finishNode(t,"MethodDefinition"))}}),e.extend("parseExprAtom",function(e){return function(){switch(this.state.type){case s.regexp:return this.estreeParseRegExpLiteral(this.state.value);case s.num:case s.string:return this.estreeParseLiteral(this.state.value);case s._null:return this.estreeParseLiteral(null);case s._true:return this.estreeParseLiteral(!0);case s._false:return this.estreeParseLiteral(!1);default:for(var n=arguments.length,o=Array(n),t=0;t<n;t++)o[t]=arguments[t];return e.call.apply(e,[this].concat(o))}}}),e.extend("parseLiteral",function(e){return function(){for(var t,s=arguments.length,o=Array(s),n=0;n<s;n++)o[n]=arguments[n];return t=e.call.apply(e,[this].concat(o)),t.raw=t.extra.raw,delete t.extra,t}}),e.extend("parseMethod",function(e){return function(t){n=this.startNode(),n.kind=t.kind;for(var n,o=arguments.length,i=Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];return n=e.call.apply(e,[this,n].concat(i)),delete n.kind,t.value=this.finishNode(n,"FunctionExpression"),t}}),e.extend("parseObjectMethod",function(e){return function(){for(var t,s=arguments.length,o=Array(s),n=0;n<s;n++)o[n]=arguments[n];return t=e.call.apply(e,[this].concat(o)),t&&(t.kind==="method"&&(t.kind="init"),t.type="Property"),t}}),e.extend("parseObjectProperty",function(e){return function(){for(var t,s=arguments.length,o=Array(s),n=0;n<s;n++)o[n]=arguments[n];return t=e.call.apply(e,[this].concat(o)),t&&(t.kind="init",t.type="Property"),t}}),e.extend("toAssignable",function(e){return function(t,n){for(var r=arguments.length,c=Array(r>2?r-2:0),a=2;a<r;a++)c[a-2]=arguments[a];if(V(t))return this.toAssignable.apply(this,[t.value,n].concat(c)),t;
15if(t.type==="ObjectExpression"){t.type="ObjectPattern";for(var o,l,s=t.properties,d=Array.isArray(s),i=0,s=d?s:s[Symbol.iterator]();;){if(d){if(i>=s.length)break;l=s[i++]}else{if(i=s.next(),i.done)break;l=i.value}o=l,o.kind==="get"||o.kind==="set"?this.raise(o.key.start,"Object pattern can't contain getter or setter"):o.method?this.raise(o.key.start,"Object pattern can't contain methods"):this.toAssignable(o,n,"object destructuring pattern")}return t}return e.call.apply(e,[this,t,n].concat(c))}})},ue=["any","mixed","empty","bool","boolean","number","string","void","null"],i=f.prototype,i.flowParseTypeInitialiser=function(e){var t,n=this.state.inType;return this.state.inType=!0,this.expect(e||s.colon),t=this.flowParseType(),this.state.inType=n,t},i.flowParsePredicate=function(){var t,e=this.startNode(),n=this.state.startLoc,o=this.state.start;return this.expect(s.modulo),t=this.state.startLoc,this.expectContextual("checks"),(n.line!==t.line||n.column!==t.column-1)&&this.raise(o,"Spaces between ´%´ and ´checks´ are not allowed here."),this.eat(s.parenL)?(e.expression=this.parseExpression(),this.expect(s.parenR),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")},i.flowParseTypeAndPredicateInitialiser=function(){var e,t,n=this.state.inType;return this.state.inType=!0,this.expect(s.colon),t=null,e=null,this.match(s.modulo)?(this.state.inType=n,e=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=n,this.match(s.modulo)&&(e=this.flowParsePredicate())),[t,e]},i.flowParseDeclareClass=function(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")},i.flowParseDeclareFunction=function(e){this.next();var i,a,r,n=e.id=this.parseIdentifier(),t=this.startNode(),o=this.startNode();return this.isRelational("<")?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,this.expect(s.parenL),i=this.flowParseFunctionTypeParams(),t.params=i.params,t.rest=i.rest,this.expect(s.parenR),a=null,r=this.flowParseTypeAndPredicateInitialiser(),t.returnType=r[0],a=r[1],o.typeAnnotation=this.finishNode(t,"FunctionTypeAnnotation"),o.predicate=a,n.typeAnnotation=this.finishNode(o,"TypeAnnotation"),this.finishNode(n,n.type),this.semicolon(),this.finishNode(e,"DeclareFunction")},i.flowParseDeclare=function(e){if(this.match(s._class))return this.flowParseDeclareClass(e);if(this.match(s._function))return this.flowParseDeclareFunction(e);if(this.match(s._var))return this.flowParseDeclareVariable(e);if(this.isContextual("module"))return this.lookahead().type===s.dot?this.flowParseDeclareModuleExports(e):this.flowParseDeclareModule(e);else if(this.isContextual("type"))return this.flowParseDeclareTypeAlias(e);else if(this.isContextual("opaque"))return this.flowParseDeclareOpaqueType(e);else if(this.isContextual("interface"))return this.flowParseDeclareInterface(e);else if(this.match(s._export))return this.flowParseDeclareExportDeclaration(e);else this.unexpected()},i.flowParseDeclareExportDeclaration=function(e){if(this.expect(s._export),this.isContextual("opaque"))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");throw this.unexpected()},i.flowParseDeclareVariable=function(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(),this.semicolon(),this.finishNode(e,"DeclareVariable")},i.flowParseDeclareModule=function(e){this.next(),this.match(s.string)?e.id=this.parseExprAtom():e.id=this.parseIdentifier();var t,n,o=e.body=this.startNode(),i=o.body=[];for(this.expect(s.braceL);!this.match(s.braceR);)t=this.startNode(),this.match(s._import)?(n=this.lookahead(),n.value!=="type"&&n.value!=="typeof"&&this.unexpected(null,"Imports within a `declare module` body must always be `import type` or `import typeof`"),this.parseImport(t)):(this.expectContextual("declare","Only declares and type imports are allowed inside declare module"),t=this.flowParseDeclare(t,!0)),i.push(t);return this.expect(s.braceR),this.finishNode(o,"BlockStatement"),this.finishNode(e,"DeclareModule")},i.flowParseDeclareModuleExports=function(e){return this.expectContextual("module"),this.expect(s.dot),this.expectContextual("exports"),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")},i.flowParseDeclareTypeAlias=function(e){return this.next(),this.flowParseTypeAlias(e),this.finishNode(e,"DeclareTypeAlias")},i.flowParseDeclareOpaqueType=function(e){return this.next(),this.flowParseOpaqueType(e,!0),this.finishNode(e,"DeclareOpaqueType")},i.flowParseDeclareInterface=function(e){return this.next(),this.flowParseInterfaceish(e),this.finishNode(e,"DeclareInterface")},i.flowParseInterfaceish=function(e){if(e.id=this.parseIdentifier(),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.mixins=[],this.eat(s._extends))do e.extends.push(this.flowParseInterfaceExtends());while(this.eat(s.comma))if(this.isContextual("mixins")){this.next();do e.mixins.push(this.flowParseInterfaceExtends());while(this.eat(s.comma))}e.body=this.flowParseObjectType(!0,!1,!1)},i.flowParseInterfaceExtends=function(){var e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")},i.flowParseInterface=function(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")},i.flowParseRestrictedIdentifier=function(e){return ue.indexOf(this.state.value)>
15-1&&this.raise(this.state.start,"Cannot overwrite primitive type "+this.state.value),this.parseIdentifier(e)},i.flowParseTypeAlias=function(e){return e.id=this.flowParseRestrictedIdentifier(),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(s.eq),this.semicolon(),this.finishNode(e,"TypeAlias")},i.flowParseOpaqueType=function(e,t){return this.expectContextual("type"),e.id=this.flowParseRestrictedIdentifier(),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(s.colon)&&(e.supertype=this.flowParseTypeInitialiser(s.colon)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(s.eq)),this.semicolon(),this.finishNode(e,"OpaqueType")},i.flowParseTypeParameter=function(){var e=this.startNode(),n=this.flowParseVariance(),t=this.flowParseTypeAnnotatableIdentifier();return e.name=t.name,e.variance=n,e.bound=t.typeAnnotation,this.match(s.eq)&&(this.eat(s.eq),e.default=this.flowParseType()),this.finishNode(e,"TypeParameter")},i.flowParseTypeParameterDeclaration=function(){var t=this.state.inType,e=this.startNode();e.params=[],this.state.inType=!0,this.isRelational("<")||this.match(s.jsxTagStart)?this.next():this.unexpected();do e.params.push(this.flowParseTypeParameter()),this.isRelational(">")||this.expect(s.comma);while(!this.isRelational(">"))return this.expectRelational(">"),this.state.inType=t,this.finishNode(e,"TypeParameterDeclaration")},i.flowParseTypeParameterInstantiation=function(){var e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expectRelational("<");!this.isRelational(">");)e.params.push(this.flowParseType()),this.isRelational(">")||this.expect(s.comma);return this.expectRelational(">"),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")},i.flowParseObjectPropertyKey=function(){return this.match(s.num)||this.match(s.string)?this.parseExprAtom():this.parseIdentifier(!0)},i.flowParseObjectTypeIndexer=function(e,t,n){return e.static=t,this.expect(s.bracketL),this.lookahead().type===s.colon?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(s.bracketR),e.value=this.flowParseTypeInitialiser(),e.variance=n,this.flowObjectTypeSemicolon(),this.finishNode(e,"ObjectTypeIndexer")},i.flowParseObjectTypeMethodish=function(e){for(e.params=[],e.rest=null,e.typeParameters=null,this.isRelational("<")&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(s.parenL);!this.match(s.parenR)&&!this.match(s.ellipsis);)e.params.push(this.flowParseFunctionTypeParam()),this.match(s.parenR)||this.expect(s.comma);return this.eat(s.ellipsis)&&(e.rest=this.flowParseFunctionTypeParam()),this.expect(s.parenR),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")},i.flowParseObjectTypeMethod=function(e,t,n,s){var o=this.startNodeAt(e,t);return o.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e,t)),o.static=n,o.key=s,o.optional=!1,this.flowObjectTypeSemicolon(),this.finishNode(o,"ObjectTypeProperty")},i.flowParseObjectTypeCallProperty=function(e,t){var n=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(n),this.flowObjectTypeSemicolon(),this.finishNode(e,"ObjectTypeCallProperty")},i.flowParseObjectType=function(e,t,n){var o,i,a,r,c,l,d,u,h,m,f,p,g=this.state.inType;for(this.state.inType=!0,i=this.startNode(),o=void 0,d=void 0,r=!1,i.callProperties=[],i.properties=[],i.indexers=[],c=void 0,l=void 0,t&&this.match(s.braceBarL)?(this.expect(s.braceBarL),c=s.braceBarR,l=!0):(this.expect(s.braceL),c=s.braceR,l=!1),i.exact=l;!this.match(c);)u=!1,h=this.state.start,m=this.state.startLoc,o=this.startNode(),e&&this.isContextual("static")&&this.lookahead().type!==s.colon&&(this.next(),r=!0),f=this.state.start,a=this.flowParseVariance(),this.match(s.bracketL)?i.indexers.push(this.flowParseObjectTypeIndexer(o,r,a)):this.match(s.parenL)||this.isRelational("<")?(a&&this.unexpected(f),i.callProperties.push(this.flowParseObjectTypeCallProperty(o,r))):this.match(s.ellipsis)?(n||this.unexpected(null,"Spread operator cannot appear in class or interface definitions"),a&&this.unexpected(a.start,"Spread properties cannot have variance"),this.expect(s.ellipsis),o.argument=this.flowParseType(),this.flowObjectTypeSemicolon(),i.properties.push(this.finishNode(o,"ObjectTypeSpreadProperty"))):(d=this.flowParseObjectPropertyKey(),this.isRelational("<")||this.match(s.parenL)?(a&&this.unexpected(a.start),i.properties.push(this.flowParseObjectTypeMethod(h,m,r,d))):(this.eat(s.question)&&(u=!0),o.key=d,o.value=this.flowParseTypeInitialiser(),o.optional=u,o.static=r,o.variance=a,this.flowObjectTypeSemicolon(),i.properties.push(this.finishNode(o,"ObjectTypeProperty")))),r=!1;return this.expect(c),p=this.finishNode(i,"ObjectTypeAnnotation"),this.state.inType=g,p},i.flowObjectTypeSemicolon=function(){!this.eat(s.semi)&&!this.eat(s.comma)&&!this.match(s.braceR)&&!this.match(s.braceBarR)&&this.unexpected()},i.flowParseQualifiedTypeIdentifier=function(e,t,n){e=e||this.state.start,t=t||this.state.startLoc;for(var o,i=n||this.parseIdentifier();this.eat(s.dot);)o=this.startNodeAt(e,t),o.qualification=i,o.id=this.parseIdentifier(),i=this.finishNode(o,"QualifiedTypeIdentifier");return i},i.flowParseGenericType=function(e,t,n){var s=this.startNodeAt(e,t);
15return s.typeParameters=null,s.id=this.flowParseQualifiedTypeIdentifier(e,t,n),this.isRelational("<")&&(s.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(s,"GenericTypeAnnotation")},i.flowParseTypeofType=function(){var e=this.startNode();return this.expect(s._typeof),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")},i.flowParseTupleType=function(){var e=this.startNode();for(e.types=[],this.expect(s.bracketL);this.state.pos<this.input.length&&!this.match(s.bracketR);){if(e.types.push(this.flowParseType()),this.match(s.bracketR))break;this.expect(s.comma)}return this.expect(s.bracketR),this.finishNode(e,"TupleTypeAnnotation")},i.flowParseFunctionTypeParam=function(){var n=null,o=!1,t=null,e=this.startNode(),i=this.lookahead();return i.type===s.colon||i.type===s.question?(n=this.parseIdentifier(),this.eat(s.question)&&(o=!0),t=this.flowParseTypeInitialiser()):t=this.flowParseType(),e.name=n,e.optional=o,e.typeAnnotation=t,this.finishNode(e,"FunctionTypeParam")},i.reinterpretTypeAsFunctionTypeParam=function(e){var t=this.startNodeAt(e.start,e.loc.start);return t.name=null,t.optional=!1,t.typeAnnotation=e,this.finishNode(t,"FunctionTypeParam")},i.flowParseFunctionTypeParams=function(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e={params:t,rest:null};!this.match(s.parenR)&&!this.match(s.ellipsis);)e.params.push(this.flowParseFunctionTypeParam()),this.match(s.parenR)||this.expect(s.comma);return this.eat(s.ellipsis)&&(e.rest=this.flowParseFunctionTypeParam()),e},i.flowIdentToTypeAnnotation=function(e,t,n,s){switch(s.name){case"any":return this.finishNode(n,"AnyTypeAnnotation");case"void":return this.finishNode(n,"VoidTypeAnnotation");case"bool":case"boolean":return this.finishNode(n,"BooleanTypeAnnotation");case"mixed":return this.finishNode(n,"MixedTypeAnnotation");case"empty":return this.finishNode(n,"EmptyTypeAnnotation");case"number":return this.finishNode(n,"NumberTypeAnnotation");case"string":return this.finishNode(n,"StringTypeAnnotation");default:return this.flowParseGenericType(e,t,s)}},i.flowParsePrimaryType=function(){var i,a=this.state.start,r=this.state.startLoc,e=this.startNode(),t=void 0,n=void 0,o=!1,c=this.state.noAnonFunctionType;switch(this.state.type){case s.name:return this.flowIdentToTypeAnnotation(a,r,e,this.parseIdentifier());case s.braceL:return this.flowParseObjectType(!1,!1,!0);case s.braceBarL:return this.flowParseObjectType(!1,!0,!0);case s.bracketL:return this.flowParseTupleType();case s.relational:if(this.state.value==="<")return e.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(s.parenL),t=this.flowParseFunctionTypeParams(),e.params=t.params,e.rest=t.rest,this.expect(s.parenR),this.expect(s.arrow),e.returnType=this.flowParseType(),this.finishNode(e,"FunctionTypeAnnotation");break;case s.parenL:if(this.next(),!this.match(s.parenR)&&!this.match(s.ellipsis)&&(this.match(s.name)?(i=this.lookahead().type,o=i!==s.question&&i!==s.colon):o=!0),o){if(this.state.noAnonFunctionType=!1,n=this.flowParseType(),this.state.noAnonFunctionType=c,this.state.noAnonFunctionType||!(this.match(s.comma)||this.match(s.parenR)&&this.lookahead().type===s.arrow))return this.expect(s.parenR),n;this.eat(s.comma)}return n?t=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(n)]):t=this.flowParseFunctionTypeParams(),e.params=t.params,e.rest=t.rest,this.expect(s.parenR),this.expect(s.arrow),e.returnType=this.flowParseType(),e.typeParameters=null,this.finishNode(e,"FunctionTypeAnnotation");case s.string:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case s._true:case s._false:return e.value=this.match(s._true),this.next(),this.finishNode(e,"BooleanLiteralTypeAnnotation");case s.plusMin:if(this.state.value==="-")return this.next(),this.match(s.num)||this.unexpected(null,"Unexpected token, expected number"),this.parseLiteral(-this.state.value,"NumericLiteralTypeAnnotation",e.start,e.loc.start);this.unexpected();case s.num:return this.parseLiteral(this.state.value,"NumericLiteralTypeAnnotation");case s._null:return e.value=this.match(s._null),this.next(),this.finishNode(e,"NullLiteralTypeAnnotation");case s._this:return e.value=this.match(s._this),this.next(),this.finishNode(e,"ThisTypeAnnotation");case s.star:return this.next(),this.finishNode(e,"ExistentialTypeParam");default:if(this.state.type.keyword==="typeof")return this.flowParseTypeofType()}this.unexpected()},i.flowParsePostfixType=function(){for(var t,n=this.state.start,o=this.state.startLoc,e=this.flowParsePrimaryType();!this.canInsertSemicolon()&&this.match(s.bracketL);)t=this.startNodeAt(n,o),t.elementType=e,this.expect(s.bracketL),this.expect(s.bracketR),e=this.finishNode(t,"ArrayTypeAnnotation");return e},i.flowParsePrefixType=function(){var e=this.startNode();return this.eat(s.question)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()},i.flowParseAnonFunctionWithoutParens=function(){var e,t=this.flowParsePrefixType();return!this.state.noAnonFunctionType&&this.eat(s.arrow)?(e=this.startNodeAt(t.
15start,t.loc.start),e.params=[this.reinterpretTypeAsFunctionTypeParam(t)],e.rest=null,e.returnType=this.flowParseType(),e.typeParameters=null,this.finishNode(e,"FunctionTypeAnnotation")):t},i.flowParseIntersectionType=function(){var t,e=this.startNode();for(this.eat(s.bitwiseAND),t=this.flowParseAnonFunctionWithoutParens(),e.types=[t];this.eat(s.bitwiseAND);)e.types.push(this.flowParseAnonFunctionWithoutParens());return e.types.length===1?t:this.finishNode(e,"IntersectionTypeAnnotation")},i.flowParseUnionType=function(){var t,e=this.startNode();for(this.eat(s.bitwiseOR),t=this.flowParseIntersectionType(),e.types=[t];this.eat(s.bitwiseOR);)e.types.push(this.flowParseIntersectionType());return e.types.length===1?t:this.finishNode(e,"UnionTypeAnnotation")},i.flowParseType=function(){var e,t=this.state.inType;return this.state.inType=!0,e=this.flowParseUnionType(),this.state.inType=t,e},i.flowParseTypeAnnotation=function(){var e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")},i.flowParseTypeAndPredicateAnnotation=function(){var e=this.startNode(),t=this.flowParseTypeAndPredicateInitialiser();return e.typeAnnotation=t[0],e.predicate=t[1],this.finishNode(e,"TypeAnnotation")},i.flowParseTypeAnnotatableIdentifier=function(){var e=this.flowParseRestrictedIdentifier();return this.match(s.colon)&&(e.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(e,e.type)),e},i.typeCastToParameter=function(e){return e.expression.typeAnnotation=e.typeAnnotation,this.finishNodeAt(e.expression,e.expression.type,e.typeAnnotation.end,e.typeAnnotation.loc.end)},i.flowParseVariance=function(){var e=null;return this.match(s.plusMin)&&(this.state.value==="+"?e="plus":this.state.value==="-"&&(e="minus"),this.next()),e},me=function(e){e.extend("parseFunctionBody",function(e){return function(t,n){return this.match(s.colon)&&!n&&(t.returnType=this.flowParseTypeAndPredicateAnnotation()),e.call(this,t,n)}}),e.extend("parseStatement",function(e){return function(t,n){if(this.state.strict&&this.match(s.name)&&this.state.value==="interface"){var o=this.startNode();return this.next(),this.flowParseInterface(o)}return e.call(this,t,n)}}),e.extend("parseExpressionStatement",function(e){return function(t,n){if(n.type==="Identifier")if(n.name==="declare"){if(this.match(s._class)||this.match(s.name)||this.match(s._function)||this.match(s._var)||this.match(s._export))return this.flowParseDeclare(t)}else if(this.match(s.name)){if(n.name==="interface")return this.flowParseInterface(t);if(n.name==="type")return this.flowParseTypeAlias(t);if(n.name==="opaque")return this.flowParseOpaqueType(t,!1)}return e.call(this,t,n)}}),e.extend("shouldParseExportDeclaration",function(e){return function(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||e.call(this)}}),e.extend("isExportDefaultSpecifier",function(e){return function(){return!(this.match(s.name)&&(this.state.value==="type"||this.state.value==="interface"||this.state.value==="opaque"))&&e.call(this)}}),e.extend("parseConditional",function(e){return function(t,n,o,i,a){if(a&&this.match(s.question)){var r=this.state.clone();try{return e.call(this,t,n,o,i)}catch(e){if(e instanceof SyntaxError)return this.state=r,a.start=e.pos||this.state.start,t;throw e}}return e.call(this,t,n,o,i)}}),e.extend("parseParenItem",function(e){return function(t,n,o){if(t=e.call(this,t,n,o),this.eat(s.question)&&(t.optional=!0),this.match(s.colon)){var i=this.startNodeAt(n,o);return i.expression=t,i.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(i,"TypeCastExpression")}return t}}),e.extend("parseExport",function(e){return function(t){return t=e.call(this,t),t.type==="ExportNamedDeclaration"&&(t.exportKind=t.exportKind||"value"),t}}),e.extend("parseExportDeclaration",function(e){return function(t){if(this.isContextual("type")){t.exportKind="type";var n,o,i=this.startNode();return this.next(),this.match(s.braceL)?(t.specifiers=this.parseExportSpecifiers(),this.parseExportFrom(t),null):this.flowParseTypeAlias(i)}else return this.isContextual("opaque")?(t.exportKind="type",n=this.startNode(),this.next(),this.flowParseOpaqueType(n,!1)):this.isContextual("interface")?(t.exportKind="type",o=this.startNode(),this.next(),this.flowParseInterface(o)):e.call(this,t)}}),e.extend("parseClassId",function(e){return function(t){e.apply(this,arguments),this.isRelational("<")&&(t.typeParameters=this.flowParseTypeParameterDeclaration())}}),e.extend("isKeyword",function(e){return function(t){return!(this.state.inType&&t==="void")&&e.call(this,t)}}),e.extend("readToken",function(e){return function(t){return this.state.inType&&(t===62||t===60)?this.finishOp(s.relational,1):e.call(this,t)}}),e.extend("jsx_readToken",function(e){return function(){if(!this.state.inType)return e.call(this)}}),e.extend("toAssignable",function(e){return function(t,n,s){return t.type==="TypeCastExpression"?e.call(this,this.typeCastToParameter(t),n,s):e.call(this,t,n,s)}}),e.extend("toAssignableList",function(e){return function(t,n,s){for(var i,o=0;o<t.length;o++)i=t[o],i&&i.type==="TypeCastExpression"&&(t[o]=this.typeCastToParameter(i));return e.call(this,t,n,s)}}),e.extend("toReferencedList",function(){return function(e){for(var t,n=0;n<e.length;n++)t=e[n],t&&t._exprListItem&&t.type==="TypeCastExpression"&&this.raise(t.start,"Unexpected type cast");return e}}),e.extend("parseExprListItem",function(e){return function(){for(var o,t=this.startNode(),i=arguments.length,a=Array(i),n=0;n<i;n++)a[n]=arguments[n];return o=e.call.apply(e,[this].concat(a)),this.match(s.colon)?(t._exprListItem=!0,t.expression=o,t.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(t,"TypeCastExpression")):o}}),e.extend("checkLVal",function(e){return function(t){if(t.type!=="TypeCastExpression")return e.apply(this,arguments)}}),e.extend("parseClassProperty",function(e){return function(t){return delete t.variancePos,this.match(s.colon)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),e.call(this,t)}}),e.extend("isClassMethod",function(e){return function(){return this.isRelational("<")||e.call(this)}}),e.extend("isClassProperty",function(e){return function(){return this.match(s.colon)||e.call(this)}}),e.extend("isNonstaticConstructor",function(e){return function(t){return!this.match(s.colon)&&e.call(this,t)}}),e.extend("parseClassMethod",function(e){return function(t,n){n.variance&&this.unexpected(n.variancePos),delete n.variance,delete n.variancePos,this.isRelational("<")&&(n.typeParameters=this.flowParseTypeParameterDeclaration());for(var o=arguments.length,i=Array(o>2?o-2:0),s=2;s<o;s++)i[s-2]=arguments[s];e.call.apply(e,[this,t,n].concat(i))}}),e.extend("parseClassSuper",function(e){return function(t,n){if(e.call(this,t,n),t.superClass&&this.isRelational("<")&&(t.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual("implements")){this.next();var o,i=t.implements=[];do o=this.startNode(),o.id=this.parseIdentifier(),this.isRelational("<")?o.typeParameters=this.flowParseTypeParameterInstantiation():o.typeParameters=null,i.push(this.finishNode(o,"ClassImplements"));while(this.eat(s.comma))}}}),e.extend("parsePropertyName",function(e){return function(t){var n=this.state.start,s=this.flowParseVariance(),o=e.call(this,t);return t.variance=s,t.variancePos=n,o}}),e.extend("parseObjPropValue",function(e){return function(t){t.variance&&this.unexpected(t.variancePos),delete t.variance,delete t.variancePos;var n=void 0;this.isRelational("<")&&(n=this.flowParseTypeParameterDeclaration(),this.match(s.parenL)||this.unexpected()),e.apply(this,arguments),n&&((t.value||t).typeParameters=n)}}),e.extend("parseAssignableListItemTypes",function(){return function(e){return this.eat(s.question)&&(e.optional=!0),this.match(s.colon)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),this.finishNode(e,e.type),e}}),e.extend("parseMaybeDefault",function(e){return function(){for(var t,s=arguments.length,o=Array(s),n=0;n<s;n++)o[n]=arguments[n];return t=e.apply(this,o),t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.start<t.typeAnnotation.start&&this.raise(t.typeAnnotation.start,"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`"),t}}),e.extend("parseImportSpecifiers",function(e){return function(t){t.importKind="value";var n,o=null;this.match(s._typeof)?o="typeof":this.isContextual("type")&&(o="type"),o&&(n=this.lookahead(),(n.type===s.name&&n.value!=="from"||n.type===s.braceL||n.type===s.star)&&(this.next(),t.importKind=o)),e.call(this,t)}}),e.extend("parseImportSpecifier",function(){return function(e){var i,a,t=this.startNode(),r=this.state.start,o=this.parseIdentifier(!0),n=null;o.name==="type"?n="type":o.name==="typeof"&&(n="typeof"),i=!1,this.isContextual("as")?(a=this.parseIdentifier(!0),n!==null&&!this.match(s.name)&&!this.state.type.keyword?(t.imported=a,t.importKind=n,t.local=a.__clone()):(t.imported=o,t.importKind=null,t.local=this.parseIdentifier())):n!==null&&(this.match(s.name)||this.state.type.keyword)?(t.imported=this.parseIdentifier(!0),t.importKind=n,this.eatContextual("as")?t.local=this.parseIdentifier():(i=!0,t.local=t.imported.__clone())):(i=!0,t.imported=o,t.importKind=null,t.local=t.imported.__clone()),(e.importKind==="type"||e.importKind==="typeof")&&(t.importKind==="type"||t.importKind==="typeof")&&this.raise(r,"`The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It c
15annot be used with `import type` or `import typeof` statements`"),i&&this.checkReservedWord(t.local.name,t.start,!0,!0),this.checkLVal(t.local,!0,void 0,"import specifier"),e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}}),e.extend("parseFunctionParams",function(e){return function(t){this.isRelational("<")&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),e.call(this,t)}}),e.extend("parseVarHead",function(e){return function(t){e.call(this,t),this.match(s.colon)&&(t.id.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(t.id,t.id.type))}}),e.extend("parseAsyncArrowFromCallExpression",function(e){return function(t,n){if(this.match(s.colon)){var o=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,t.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=o}return e.call(this,t,n)}}),e.extend("shouldParseAsyncArrow",function(e){return function(){return this.match(s.colon)||e.call(this)}}),e.extend("parseMaybeAssign",function(e){return function(){for(var t,n,c,o=null,r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];if(s.jsxTagStart&&this.match(s.jsxTagStart)){c=this.state.clone();try{return e.apply(this,i)}catch(e){if(e instanceof SyntaxError)this.state=c,this.state.context.length-=2,o=e;else throw e}}if(o!=null||this.isRelational("<")){t=void 0,n=void 0;try{n=this.flowParseTypeParameterDeclaration(),t=e.apply(this,i),t.typeParameters=n,t.start=n.start,t.loc.start=n.loc.start}catch(e){throw o||e}if(t.type==="ArrowFunctionExpression")return t;if(o!=null)throw o;this.raise(n.start,"Expected an arrow function after this type parameter declaration")}return e.apply(this,i)}}),e.extend("parseArrow",function(e){return function(t){if(this.match(s.colon)){var n,o,i=this.state.clone();try{n=this.state.noAnonFunctionType,this.state.noAnonFunctionType=!0,o=this.flowParseTypeAndPredicateAnnotation(),this.state.noAnonFunctionType=n,this.canInsertSemicolon()&&this.unexpected(),this.match(s.arrow)||this.unexpected(),t.returnType=o}catch(e){if(e instanceof SyntaxError)this.state=i;else throw e}}return e.call(this,t)}}),e.extend("shouldParseArrow",function(e){return function(){return this.match(s.colon)||e.call(this)}})},T=String.fromCodePoint,T||(pe=String.fromCharCode,ge=Math.floor,T=function(){var t,i,c=16384,n=[],a=void 0,r=void 0,s=-1,o=arguments.length;if(!o)return"";for(i="";++s<o;){if(t=Number(arguments[s]),!isFinite(t)||t<0||t>1114111||ge(t)!=t)throw RangeError("Invalid code point: "+t);t<=65535?n.push(t):(t-=65536,a=(t>>10)+55296,r=t%1024+56320,n.push(a,r)),(s+1==o||n.length>c)&&(i+=pe.apply(null,n),n.length=0)}return i}),I=T,ve={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",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
15:"â",sube:"â",supe:"â",oplus:"â",otimes:"â",perp:"â¥",sdot:"â ",lceil:"â",rceil:"â",lfloor:"â",rfloor:"â",lang:"â©",rang:"âª",loz:"â",spades:"â ",clubs:"â£",hearts:"â¥",diams:"â¦"},de=/^[\da-fA-F]+$/,ce=/^\d+$/,l.j_oTag=new b("<tag",!1),l.j_cTag=new b("</tag",!1),l.j_expr=new b("<tag>...</tag>",!0,!0),s.jsxName=new c("jsxName"),s.jsxText=new c("jsxText",{beforeExpr:!0}),s.jsxTagStart=new c("jsxTagStart",{startsExpr:!0}),s.jsxTagEnd=new c("jsxTagEnd"),s.jsxTagStart.updateContext=function(){this.state.context.push(l.j_expr),this.state.context.push(l.j_oTag),this.state.exprAllowed=!1},s.jsxTagEnd.updateContext=function(e){var t=this.state.context.pop();t===l.j_oTag&&e===s.slash||t===l.j_cTag?(this.state.context.pop(),this.state.exprAllowed=this.curContext()===l.j_expr):this.state.exprAllowed=!0},h=f.prototype,h.jsxReadToken=function(){for(var n,e="",t=this.state.pos;;)switch(this.state.pos>=this.input.length&&this.raise(this.state.start,"Unterminated JSX contents"),n=this.input.charCodeAt(this.state.pos),n){case 60:case 123:return this.state.pos===this.state.start?n===60&&this.state.exprAllowed?(++this.state.pos,this.finishToken(s.jsxTagStart)):this.getTokenFromCode(n):(e+=this.input.slice(t,this.state.pos),this.finishToken(s.jsxText,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:D(n)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}},h.jsxReadNewLine=function(e){var n=this.input.charCodeAt(this.state.pos),t=void 0;return++this.state.pos,n===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,t=e?` 16`:`\r 17`):t=String.fromCharCode(n),++this.state.curLine,this.state.lineStart=this.state.pos,t},h.jsxReadString=function(e){for(var o,t="",n=++this.state.pos;;){if(this.state.pos>=this.input.length&&this.raise(this.state.start,"Unterminated string constant"),o=this.input.charCodeAt(this.state.pos),o===e)break;o===38?(t+=this.input.slice(n,this.state.pos),t+=this.jsxReadEntity(),n=this.state.pos):D(o)?(t+=this.input.slice(n,this.state.pos),t+=this.jsxReadNewLine(!1),n=this.state.pos):++this.state.pos}return t+=this.input.slice(n,this.state.pos++),this.finishToken(s.string,t)},h.jsxReadEntity=function(){for(var e="",s=0,t=void 0,n=this.input[this.state.pos],o=++this.state.pos;this.state.pos<this.input.length&&s++<10;){if(n=this.input[this.state.pos++],n===";"){e[0]==="#"?e[1]==="x"?(e=e.substr(2),de.test(e)&&(t=I(parseInt(e,16)))):(e=e.substr(1),ce.test(e)&&(t=I(parseInt(e,10)))):t=ve[e];break}e+=n}return t||(this.state.pos=o,"&")},h.jsxReadWord=function(){var e=void 0,t=this.state.pos;do e=this.input.charCodeAt(++this.state.pos);while(K(e)||e===45)return this.finishToken(s.jsxName,this.input.slice(t,this.state.pos))};function C(e){if(e.type==="JSXIdentifier")return e.name;if(e.type==="JSXNamespacedName")return e.namespace.name+":"+e.name.name;if(e.type==="JSXMemberExpression")return C(e.object)+"."+C(e.property)}h.jsxParseIdentifier=function(){var e=this.startNode();return this.match(s.jsxName)?e.name=this.state.value:this.state.type.keyword?e.name=this.state.type.keyword:this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")},h.jsxParseNamespacedName=function(){var e,n=this.state.start,o=this.state.startLoc,t=this.jsxParseIdentifier();return this.eat(s.colon)?(e=this.startNodeAt(n,o),e.namespace=t,e.name=this.jsxParseIdentifier(),this.finishNode(e,"JSXNamespacedName")):t},h.jsxParseElementName=function(){for(var e,n=this.state.start,o=this.state.startLoc,t=this.jsxParseNamespacedName();this.eat(s.dot);)e=this.startNodeAt(n,o),e.object=t,e.property=this.jsxParseIdentifier(),t=this.finishNode(e,"JSXMemberExpression");return t},h.jsxParseAttributeValue=function(){var e=void 0;switch(this.state.type){case s.braceL:if(e=this.jsxParseExpressionContainer(),e.expression.type==="JSXEmptyExpression")this.raise(e.start,"JSX attributes must only be assigned a non-empty expression");else return e;case s.jsxTagStart:case s.string:return e=this.parseExprAtom(),e.extra=null,e;default:this.raise(this.state.start,"JSX value should be either an expression or a quoted JSX text")}},h.jsxParseEmptyExpression=function(){var e=this.startNodeAt(this.state.lastTokEnd,this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.start,this.state.startLoc)},h.jsxParseSpreadChild=function(){var e=this.startNode();return this.expect(s.braceL),this.expect(s.ellipsis),e.expression=this.parseExpression(),this.expect(s.braceR),this.finishNode(e,"JSXSpreadChild")},h.jsxParseExpressionContainer=function(){var e=this.startNode();return this.next(),this.match(s.braceR)?e.expression=this.jsxParseEmptyExpression():e.expression=this.parseExpression(),this.expect(s.braceR),this.finishNode(e,"JSXExpressionContainer")},h.jsxParseAttribute=function(){var e=this.startNode();return this.eat(s.braceL)?(this.expect(s.ellipsis),e.argument=this.parseMaybeAssign(),this.expect(s.braceR),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(s.eq)?this.jsxParseAttributeValue():null,this.finishNode(e,"JSXAttribute"))},h.jsxParseOpeningElementAt=function(e,t){var n=this.startNodeAt(e,t);for(n.attributes=[],n.name=this.jsxParseElementName();!this.match(s.slash)&&!this.match(s.jsxTagEnd);)n.attributes.push(this.jsxParseAttribute());return n.selfClosing=this.eat(s.slash),this.expect(s.jsxTagEnd),this.finishNode(n,"JSXOpeningElement")},h.jsxParseClosingElementAt=function(e,t){var n=this.startNodeAt(e,t);return n.name=this.jsxParseElementName(),this.expect(s.jsxTagEnd),this.finishNode(n,"JSXClosingElement")},h.jsxParseElementAt=function(e,t){var o=this.startNodeAt(e,t),n=[],i=this.jsxParseOpeningElementAt(e,t),a=null;if(!i.selfClosing){contents:for(;;)switch(this.state.type){case s.jsxTagStart:if(e=this.state.start,t=this.state.startLoc,this.next(),this.eat(s.slash)){a=this.jsxParseClosingElementAt(e,t);break contents}n.push(this.jsxParseElementAt(e,t));break;case s.jsxText:n.push(this.parseExprAtom());break;case s.braceL:this.lookahead().type===s.ellipsis?n.push(this.jsxParseSpreadChild()):n.push(this.jsxParseExpressionContainer());break;default:this.unexpected()}C(a.name)!==C(i.name)&&this.raise(a.start,"Expected corresponding JSX closing tag for <"+C(i.name)+">")}return o.openingElement=i,o.closingElement=a,o.children=n,this.match(s.relational)&&this.state.value==="<"&&this.raise(this.state.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(o,"JSXElement")},h.jsxParseElement=function(){var e=this.state.start,t=this.state.startLoc;return this.next(),this.jsxParseElementAt(e,t)},te=function(e){e.extend("parseExprAtom",function(e){return function(t){if(this.match(s.jsxText)){var n=this.parseLiteral(this.state.value,"JSXText");return n.extra=null,n}return this.match(s.jsxTagStart)?this.jsxParseElement():e.call(this,t)}}),e.extend("readToken",function(e){return function(t){if(this.state.inPropertyName)return e.call(this,t);var n=this.curContext();if(n===l.j_expr)return this.jsxReadToken();if(n===l.j_oTag||n===l.j_cTag){if(x(t))return this.jsxReadWord();if(t===62)return++this.state.pos,this.finishToken(s.jsxTagEnd);if((t===34||t===39)&&n===l.j_oTag)return this.jsxReadString(t)}return t===60&&this.state.exprAllowed?(++this.state.pos,this.finishToken(s.jsxTagStart)):e.call(this,t)}}),e.extend("updateContext",function(e){return function(t){if(this.match(s.braceL)){var n=this.curContext();n===l.j_oTag?this.state.context.push(l.braceExpression):n===l.j_expr?this.state.context.push(l.templateQuasi):e.call(this,t),this.state.exprAllowed=!0}else if(this.match(s.slash)&&t===s.jsxTagStart)this.state.context.length-=2,this.state.context.push(l.j_cTag),this.state.exprAllowed=!1;else return e.call(this,t)}})},_.estree=X,_.flow=me,_.jsx=te;function xe(e,t){return new f(t,e).parse()}function Ce(e,t){var n=new f(t,e);return n.options.strictMode&&(n.state.strict=!0),n.getExpression()}n.parse=xe,n.parseExpression=Ce,n.tokTypes=s},{}],17:[function(e,t){"use strict";const i=e("./shell-lexer"),s=e("./utils"),a={bash:e("./modes/bash"),posix:e("./modes/posix"),"word-expansion":e("./modes/word-expansion")};function o(e){const t=a[e];return t.inherits?t.init(o(t.inherits),s):t.init(null,s)}t.exports=function(t,n){try{n=n||{},n.mode=n.mode||"posix";const e=o(n.mode),a=e.grammar.Parser,r=e.astBuilder,s=new a;s.lexer=i(e,n),s.yy=r(n);const c=s.parse(t);return c}catch(e){throw e instanceof SyntaxError?e:new Error(e.stack||e.message)}}},{"./modes/bash":18,"./modes/posix":28,"./modes/word-expansion":66,"./shell-lexer":67,"./utils":69}],18:[function(e,t){"use strict";const o=e("./rules/alias-substitution"),s="[a-zA-Z_][a-zA-Z0-9_]*",i={[`^(${s}):([^:]*):?([^:]*)$`]:{op:"substring",parameter:e=>e[1],offset:e=>parseInt(e[2],10),length:e=>parseInt(e[3],10)||void 0},[`^!(${s})(\\*|@)$`]:{op:"prefix",prefix:e=>e[1],expandWords:e=>e[2]==="@",parameter:()=>{}}
17,[`^!(${s})(\\[\\*\\]|\\[@\\])$`]:{op:"arrayIndices",parameter:e=>e[1],expandWords:e=>e[2]==="[@]"},[`^(${s})\\/(\\/)?([^\\/])+\\/(.*)$`]:{op:"stringReplace",parameter:e=>e[1],substitute:e=>e[3],replace:e=>e[4],globally:e=>e[2]==="/"},[`^(${s})(\\^\\^|\\^|,,|,)(.*)$`]:{op:"caseChange",parameter:e=>e[1],pattern:e=>e[3]||"?",case:e=>e[2][0]===","?"lower":"upper",globally:e=>e[2].length===2},[`^(${s})@([Q|E|P|A|a])$`]:{op:"transformation",parameter:e=>e[1],kind:e=>{switch(e[2]){case"Q":return"quoted";case"E":return"escape";case"P":return"prompt";case"A":return"assignment";case"a":return"flags";default:return"unknown"}}},[`^!(.+)$`]:{op:"indirection",word:e=>e[1],parameter:()=>{}}};t.exports={inherits:"posix",init:(e,t)=>{const n=Object.assign({},e.phaseCatalog,{bashAliasSubstitution:o}),s=t.replaceRule(n.aliasSubstitution,o,e.lexerPhases),a=Object.assign(i,e.enums.parameterOperators),r=Object.assign({},e.enums,{parameterOperators:a});return Object.assign({},e,{phaseCatalog:n,lexerPhases:s,enums:r})}}},{"./rules/alias-substitution":19}],19:[function(e,t){"use strict";const s=e("compose-function"),o=e("identity-function"),i=e("map-iterable"),a=e("object-values"),r=e("transform-spread-iterable"),c=e("../../../utils/tokens"),l=(e,t,n)=>{function*s(o,i){if(i.indexOf(o.value)!==-1){yield o;return}const a=t(o.value);if(a===void 0)yield o;else for(const t of e(a))t.is("WORD")||n.some(e=>t.is(e))?yield*s(t,i.concat(o.value)):t.is("EOF")||(yield t)}function o(e){return Array.from(s(e,[]))}const i={WORD:o};return n.forEach(e=>{i[e]=o}),i};t.exports=(e,t,n)=>{if(typeof e.resolveAlias!="function")return o;const d=s.apply(null,n.reverse()),u=l(d,e.resolveAlias,a(t.enums.reservedWords));return s(r,i(c.applyTokenizerVisitor(u)))}},{"../../../utils/tokens":73,"compose-function":74,"identity-function":80,"map-iterable":86,"object-values":89,"transform-spread-iterable":96}],20:[function(e,t){"use strict";t.exports=t=>{const n={};i(n,"caseList"),i(n,"pattern"),i(n,"prefix"),i(n,"suffix"),n.caseItem=(e,n,i,a)=>{const c="CaseItem",r={type:c,pattern:e,body:n};return t.insertLOC&&(r.loc=s(o({},i),a)),r},n.caseClause=(e,n,i,a)=>{const c="Case",r={type:c,clause:e};return n&&Object.assign(r,{cases:n}),t.insertLOC&&(r.loc=s(o({},i),a)),r},n.doGroup=(e,n,i)=>(t.insertLOC&&s(o(e.loc,n),i),e),n.braceGroup=(e,n,i)=>(t.insertLOC&&s(o(e.loc,n),i),e),n.list=e=>{const n={type:"Script",commands:[e]};return t.insertLOC&&(n.loc=s(o({},e.loc),e.loc)),n};function a(e){return e.text.indexOf("&")!==-1}const r=e("array-last");return n.checkAsync=(e,t)=>(a(t)&&(r(e.commands).async=!0),e),n.listAppend=(e,n,o)=>(a(o)&&(r(e.commands).async=!0),e.commands.push(n),t.insertLOC&&s(e.loc,n.loc),e),n.addRedirections=(e,n)=>{if(e.redirections=n,t.insertLOC){const t=n[n.length-1];s(e.loc,t.loc)}return e},n.term=e=>{const n={type:"CompoundList",commands:[e]};return t.insertLOC&&(n.loc=s(o({},e.loc),e.loc)),n},n.termAppend=(e,t,n)=>(a(n)&&(r(e.commands).async=!0),e.commands.push(t),s(e.loc,t.loc),e),n.subshell=(e,n,i)=>{const a={type:"Subshell",list:e};return t.insertLOC&&(a.loc=s(o({},n),i)),a},n.pipeSequence=e=>{const n={type:"Pipeline",commands:[e]};return t.insertLOC&&(n.loc=s(o({},e.loc),e.loc)),n},n.pipeSequenceAppend=(e,n)=>(e.commands.push(n),t.insertLOC&&s(e.loc,n.loc),e),n.bangPipeLine=e=>{const t=!0;return e.commands.length===1?Object.assign(e.commands[0],{bang:t}):Object.assign(e,{bang:t})},n.pipeLine=e=>e.commands.length===1?e.commands[0]:e,n.andAndOr=(e,n)=>{const i={type:"LogicalExpression",op:"and",left:e,right:n};return t.insertLOC&&(i.loc=s(o({},e.loc),n.loc)),i},n.orAndOr=(e,n)=>{const i={type:"LogicalExpression",op:"or",left:e,right:n};return t.insertLOC&&(i.loc=s(o({},e.loc),n.loc)),i},n.forClause=(e,n,i,a)=>{const r={type:"For",name:e,wordlist:n,do:i};return t.insertLOC&&(r.loc=s(o({},a),i.loc)),r},n.forClauseDefault=(e,n,i)=>{const a={type:"For",name:e,do:n};return t.insertLOC&&(a.loc=s(o({},i),n.loc)),a},n.functionDefinition=(e,n)=>{const i={type:"Function",name:e};i.body=n[0],n[1]&&(i.redirections=n[1]);const a=n[1]||n[0];return t.insertLOC&&(i.loc=s(o({},e.loc),a.loc)),i},n.elseClause=(e,n)=>(t.insertLOC&&o(e.loc,n.loc),e),n.ifClause=(e,n,i,a,r)=>{const c={type:"If",clause:e,then:n};return i&&(c.else=i),t.insertLOC&&(c.loc=s(o({},a),r)),c},n.while=(e,n,i)=>{const a={type:"While",clause:e,do:n};return t.insertLOC&&(a.loc=s(o({},i.loc),n.loc)),a},n.until=(e,n,i)=>{const a={type:"Until",clause:e,do:n};return t.insertLOC&&(a.loc=s(o({},i.loc),n.loc)),a},n.commandName=e=>e,n.commandAssignment=function(t){return n.command(t)},n.command=function e(n,e,s){const o={type:"Command"};if(e&&(o.name=e),t.insertLOC){if(o.loc={},n){const e=n[0];o.loc.start=e.loc.start}else o.loc.start=e.loc.start;if(s){const e=s[s.length-1];o.loc.end=e.loc.end}else if(e)o.loc.end=e.loc.end;else{const e=n[n.length-1];o.loc.end=e.loc.end}}return n&&(o.prefix=n),s&&(o.suffix=s),o},n.ioRedirect=(e,n)=>{const i={type:"Redirect",op:e,file:n};return t.insertLOC&&(i.loc=s(o({},e.loc),n.loc)),i},n.numberIoRedirect=(e,n)=>{const s=Object.assign({},e,{numberIo:n});return t.insertLOC&&o(s.loc,n.loc),s},n};function o(e,t){return t&&(e.start=t.start),e}function s(e,t){return t&&(e.end=t.end),e}function i(e,t){e[t]=e=>[e],e[`${t}Append`]=(e,t)=>(e.push(t),e)}},{"array-last":15}],21:[function(e,t,n){(function(s){(function(){var o=function(){var e=function(e,t,n,s){for(n=n||{},s=e.length;s--;n[e[s]]=t);return n},w=[1,9],v=[1,28],S=[1,6],g=[1,29],y=[1,34],p=[1,30],j=[1,26],f=[1,31],m=[1,32],u=[1,33],h=[1,27],b=[1,25],d=[1,36],l=[1,38],c=[1,39],r=[1,40],a=[1,41],i=[1,42],o=[1,43],s=[1,44],n=[1,45],t=[1,46],M=[1,5],ie=[6,31,84],L=[1,50],N=[1,51],ne=[6,13,27,29,31,32,39,41,42,44,49,50,51,53,54,55,56,57,60,61,62,63,69,71,73,75,76,77,78,79,80,81,83],D=[6,9,11,29,31,44,49,51,53,54,55,61,62,63,84],I=[1,52],C=[6,9,11,15,29,31,44,49,51,53,54,55,61,62,63,84],J=[1,62],_=[
176,9,11,15,29,31,44,49,51,53,54,55,61,62,63,71,73,75,76,77,78,79,80,81,83,84],O=[6,9,11,15,29,31,42,44,49,51,53,54,55,61,62,63,69,71,73,75,76,77,78,79,80,81,83,84],T=[6,9,11,15,29,31,42,44,49,51,53,54,55,61,62,63,71,73,75,76,77,78,79,80,81,83,84],A=[1,66],F=[1,78],G=[1,86],W=[13,27,32,39,41,42,50,56,57,60,69,71,73,75,76,77,78,79,80,81,83],x=[2,102],E=[1,93],B=[1,99],V=[29,44,49,51,53,54,55,61,62,63],$=[29,31,44,49,51,53,54,55,61,62,63,84],z=[1,112],U=[2,101],K=[29,31,44,49,51,53,54,55,61,62,63],q=[2,37],Y=[31,42,84],k=[27,42,44],X=[1,140],Q=[1,141],Z=[1,151],R=[1,152],ee=[1,161],te=[15,29],P=[44,49],se=[1,166],oe={trace:function(){},yy:{},symbols_:{error:2,complete_command:3,list:4,separator:5,EOF:6,and_or:7,pipeline:8,AND_IF:9,linebreak:10,OR_IF:11,pipe_sequence:12,Bang:13,command:14,PIPE:15,simple_command:16,compound_command:17,redirect_list:18,function_definition:19,brace_group:20,subshell:21,for_clause:22,case_clause:23,if_clause:24,while_clause:25,until_clause:26,OPEN_PAREN:27,compound_list:28,CLOSE_PAREN:29,term:30,NEWLINE_LIST:31,For:32,name:33,do_group:34,LINEBREAK_IN:35,In:36,in:37,wordlist:38,NAME:39,wordlist_repetition_plus0:40,Case:41,WORD:42,case_list:43,Esac:44,case_list_ns:45,case_item_ns:46,case_item:47,pattern:48,DSEMI:49,If:50,Then:51,else_part:52,Fi:53,Elif:54,Else:55,While:56,Until:57,fname:58,function_body:59,Lbrace:60,Rbrace:61,Do:62,Done:63,cmd_prefix:64,cmd_word:65,cmd_suffix:66,cmd_name:67,io_redirect:68,ASSIGNMENT_WORD:69,io_file:70,IO_NUMBER:71,io_here:72,LESS:73,filename:74,LESSAND:75,GREAT:76,GREATAND:77,DGREAT:78,LESSGREAT:79,CLOBBER:80,DLESS:81,here_end:82,DLESSDASH:83,SEPARATOR_OP:84,$accept:0,$end:1},terminals_:{2:"error",6:"EOF",9:"AND_IF",11:"OR_IF",13:"Bang",15:"PIPE",27:"OPEN_PAREN",29:"CLOSE_PAREN",31:"NEWLINE_LIST",32:"For",35:"LINEBREAK_IN",36:"In",39:"NAME",41:"Case",42:"WORD",44:"Esac",49:"DSEMI",50:"If",51:"Then",53:"Fi",54:"Elif",55:"Else",56:"While",57:"Until",60:"Lbrace",61:"Rbrace",62:"Do",63:"Done",69:"ASSIGNMENT_WORD",71:"IO_NUMBER",73:"LESS",75:"LESSAND",76:"GREAT",77:"GREATAND",78:"DGREAT",79:"LESSGREAT",80:"CLOBBER",81:"DLESS",83:"DLESSDASH",84:"SEPARATOR_OP"},productions_:[0,[3,3],[3,2],[3,3],[3,4],[4,3],[4,1],[7,1],[7,4],[7,4],[8,1],[8,2],[12,1],[12,4],[14,1],[14,1],[14,2],[14,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[21,3],[28,1],[28,2],[28,2],[28,3],[30,3],[30,1],[22,4],[22,5],[22,5],[22,6],[33,1],[37,1],[38,1],[23,7],[23,7],[23,6],[45,2],[45,1],[43,2],[43,1],[46,3],[46,4],[46,4],[46,5],[47,5],[47,5],[47,6],[47,6],[48,1],[48,3],[24,6],[24,5],[52,4],[52,5],[52,2],[25,3],[26,3],[19,5],[59,1],[59,2],[58,1],[20,3],[34,3],[16,3],[16,2],[16,1],[16,2],[16,1],[67,1],[65,1],[64,1],[64,2],[64,1],[64,2],[66,1],[66,2],[66,1],[66,2],[18,1],[18,2],[68,1],[68,2],[68,1],[68,2],[70,2],[70,2],[70,2],[70,2],[70,2],[70,2],[70,2],[74,1],[72,2],[72,2],[82,1],[10,1],[10,0],[5,1],[5,1],[40,1],[40,2]],performAction:function(t,n,s,o,i,a){var c=a.length-1;switch(i){case 1:return o.checkAsync(a[c-2],a[c-1]);break;case 2:case 3:return a[c-1];break;case 4:return o.checkAsync(a[c-2],a[c-3]);break;case 5:this.$=o.listAppend(a[c-2],a[c],a[c-1]);break;case 6:this.$=o.list(a[c]);break;case 7:case 26:case 27:case 86:this.$=a[c];break;case 8:this.$=o.andAndOr(a[c-3],a[c]);break;case 9:this.$=o.orAndOr(a[c-3],a[c]);break;case 10:this.$=o.pipeLine(a[c]);break;case 11:this.$=o.bangPipeLine(a[c]);break;case 12:this.$=o.pipeSequence(a[c]);break;case 13:this.$=o.pipeSequenceAppend(a[c-3],a[c]);break;case 16:this.$=o.addRedirections(a[c-1],a[c]);break;case 25:this.$=o.subshell(a[c-1],a[c-2].loc,a[c].loc);break;case 28:case 29:this.$=o.checkAsync(a[c-1],a[c]);break;case 30:this.$=o.termAppend(a[c-2],a[c],a[c-1]);break;case 31:this.$=o.term(a[c]);break;case 32:this.$=o.forClauseDefault(a[c-2],a[c],a[c-3].loc);break;case 33:case 34:this.$=o.forClauseDefault(a[c-3],a[c],a[c-4].loc);break;case 35:this.$=o.forClause(a[c-4],a[c-2],a[c],a[c-5].loc);break;case 39:case 40:this.$=o.caseClause(a[c-5],a[c-1],a[c-6].loc,a[c].loc);break;case 41:this.$=o.caseClause(a[c-4],null,a[c-5].loc,a[c].loc);break;case 42:case 44:this.$=o.caseListAppend(a[c-1],a[c]);break;case 43:case 45:this.$=o.caseList(a[c]);break;case 46:this.$=o.caseItem(a[c-2],null,a[c-2][0].loc,a[c-1].loc);break;case 47:this.$=o.caseItem(a[c-3],a[c-1],a[c-3][0].loc,a[c-1].loc);break;case 48:this.$=o.caseItem(a[c-2],null,a[c-3].loc,a[c-1].loc);break;case 49:this.$=o.caseItem(a[c-3],a[c-1],a[c-4].loc,a[c-1].loc);break;case 50:this.$=o.caseItem(a[c-4],null,a[c-4][0].loc,a[c-1].loc);break;case 51:this.$=o.caseItem(a[c-4],a[c-2],a[c-4][0].loc,a[c-1].loc);break;case 52:this.$=o.caseItem(a[c-4],null,a[c-5].loc,a[c-1].loc);break;case 53:this.$=o.caseItem(a[c-4],a[c-2],a[c-5].loc,a[c-1].loc);break;case 54:this.$=o.pattern(a[c]);break;case 55:this.$=o.patternAppend(a[c-2],a[c]);break;case 56:this.$=o.ifClause(a[c-4],a[c-2],a[c-1],a[c-5].loc,a[c].loc);break;case 57:this.$=o.ifClause(a[c-3],a[c-1],null,a[c-4].loc,a[c].loc);break;case 58:this.$=o.ifClause(a[c-2],a[c],null,a[c-3].loc,a[c].loc);break;case 59:this.$=o.ifClause(a[c-3],a[c-1],a[c],a[c-4].loc,a[c].loc);break;case 60:this.$=o.elseClause(a[c],a[c-1]);break;case 61:this.$=o.while(a[c-1],a[c],a[c-2]);break;case 62:this.$=o.until(a[c-1],a[c],a[c-2]);break;case 63:this.$=o.functionDefinition(a[c-4],a[c]);break;case 64:this.$=[a[c],null];break;case 65:this.$=[a[c-1],a[c]];break;case 67:this.$=o.braceGroup(a[c-1],a[c-2].loc,a[c].loc);break;case 68:this.$=o.doGroup(a[c-1],a[c-2].loc,a[c].loc);break;case 69:this.$=o.command(a[c-2],a[c-1],a[c]);break;case 70:this.$=o.command(a[c-1],a[c],null);break;case 71:this.$=o.commandAssignment(a[c]);break;case 72:this.$=o.command(null,a[c-1],a[c]);break;case 73:this.$=o.command(null,a[c]);break;case 74:this.$=o.commandName(t);break;case 75:this.$=t;break;case 76:case 78:this.$=o.prefix(a[c]);break;case 77:case 79:this.$=o.prefixAppend(a[c-1],a[c]);break;case 80:case 82:this.$=o.suffix(a[c]);break;case 81:case 83:this.$=o.suffixAppend(a[c-1],a[c]);break;case 84:case 105:this.$=[a[c]];break;case 85:this.$=a[c-1].concat(a[c]);break;case 87:this.$=o.numberIoRedirect(a[c],a[c-1]);break;case 90:case 91:case 92:case 93:case 94:case 95:case 96:this.$=o.ioRedirect(a[c-1],a[c]);break;case 106:a[c-1].push(a[c]);break}},table:[{3:1,4:2,5:3,7:4,8:7,12:8,13:w,14:10,16:11,17:12,19:13,20:16,21:17,22:18,23:19,24:20,25:21,26:22,27:v,31:S,32:g,39:y,41:p,42:j,50:f,56:m,57:u,58:23,60:h,64:14,67:15,68:24,69:b,70:35,71:d,72:37,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t,84:M},{1:[3]},{5:47,6:[1,48],31:S,84:M},{4:49,7:4,8:7,12:8,13:w,14:10,16:11,17:12,19:13,20:16,21:17,22:18,23:19,24:20,25:21,26:22,27:v,32:g,39:y,41:p,42:j,50:f,56:m,57:u,58:23,60:h,64:14,67:15,68:24,69:b,70:35,71:d,72:37,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t},e(ie,[2,6],{9:L,11:N}
vendor: 2,722 bytes, line 17
17),e(ne,[2,103]),e(ne,[2,104]),e(D,[2,7]),e(D,[2,10],{15:I}),{12:53,14:10,16:11,17:12,19:13,20:16,21:17,22:18,23:19,24:20,25:21,26:22,27:v,32:g,39:y,41:p,42:j,50:f,56:m,57:u,58:23,60:h,64:14,67:15,68:24,69:b,70:35,71:d,72:37,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t},e(C,[2,12]),e(C,[2,14]),e(C,[2,15],{70:35,72:37,18:54,68:55,71:d,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t}),e(C,[2,17]),e(C,[2,71],{70:35,72:37,65:56,68:57,42:[1,59],69:[1,58],71:d,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t}),e(C,[2,73],{70:35,72:37,66:60,68:61,42:J,71:d,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t}),e(_,[2,18]),e(_,[2,19]),e(_,[2,20]),e(_,[2,21]),e(_,[2,22]),e(_,[2,23]),e(_,[2,24]),{27:[1,63]},e(O,[2,76]),e(O,[2,78]),e(T,[2,74]),{7:67,8:7,12:8,13:w,14:10,16:11,17:12,19:13,20:16,21:17,22:18,23:19,24:20,25:21,26:22,27:v,28:64,30:65,31:A,32:g,39:y,41:p,42:j,50:f,56:m,57:u,58:23,60:h,64:14,67:15,68:24,69:b,70:35,71:d,72:37,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t},{7:67,8:7,12:8,13:w,14:10,16:11,17:12,19:13,20:16,21:17,22:18,23:19,24:20,25:21,26:22,27:v,28:68,30:65,31:A,32:g,39:y,41:p,42:j,50:f,56:m,57:u,58:23,60:h,64:14,67:15,68:24,69:b,70:35,71:d,72:37,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t},{33:69,39:[1,70]},{42:[1,71]},{7:67,8:7,12:8,13:w,14:10,16:11,17:12,19:13,20:16,21:17,22:18,23:19,24:20,25:21,26:22,27:v,28:72,30:65,31:A,32:g,39:y,41:p,42:j,50:f,56:m,57:u,58:23,60:h,64:14,67:15,68:24,69:b,70:35,71:d,72:37,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t},{7:67,8:7,12:8,13:w,14:10,16:11,17:12,19:13,20:16,21:17,22:18,23:19,24:20,25:21,26:22,27:v,28:73,30:65,31:A,32:g,39:y,41:p,42:j,50:f,56:m,57:u,58:23,60:h,64:14,67:15,68:24,69:b,70:35,71:d,72:37,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t},{7:67,8:7,12:8,13:w,14:10,16:11,17:12,19:13,20:16,21:17,22:18,23:19,24:20,25:21,26:22,27:v,28:74,30:65,31:A,32:g,39:y,41:p,42:j,50:f,56:m,57:u,58:23,60:h,64:14,67:15,68:24,69:b,70:35,71:d,72:37,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t},{27:[2,66]},e(O,[2,86]),{70:75,72:76,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t},e(O,[2,88]),{42:F,74:77},{42:F,74:79},{42:F,74:80},{42:F,74:81},{42:F,74:82},{42:F,74:83},{42:F,74:84},{42:G,82:85},{42:G,82:87},{6:[1,88],7:89,8:7,12:8,13:w,14:10,16:11,17:12,19:13,20:16,21:17,22:18,23:19,24:20,25:21,26:22,27:v,32:g,39:y,41:p,42:j,50:f,56:m,57:u,58:23,60:h,64:14,67:15,68:24,69:b,70:35,71:d,72:37,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t},{1:[2,2]},{5:91,6:[1,90],31:S,84:M},e(W,x,{10:92,31:E}),e(W,x,{10:94,31:E}),e([27,32,39,41,42,50,56,57,60,69,71,73,75,76,77,78,79,80,81,83],x,{10:95,31:E}),e(D,[2,11],{15:I}),e(C,[2,16],{70:35,72:37,68:96,71:d,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t}),e(_,[2,84]),e(C,[2,70],{70:35,72:37,68:61,66:97,42:J,71:d,73:l,7
175:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t}),e(O,[2,77]),e(O,[2,79]),e(T,[2,75]),e(C,[2,72],{70:35,72:37,68:98,42:B,71:d,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t}),e(T,[2,80]),e(T,[2,82]),{29:[1,100]},{61:[1,101]},e(V,[2,26],{5:102,31:S,84:M}),{7:67,8:7,12:8,13:w,14:10,16:11,17:12,19:13,20:16,21:17,22:18,23:19,24:20,25:21,26:22,27:v,30:103,32:g,39:y,41:p,42:j,50:f,56:m,57:u,58:23,60:h,64:14,67:15,68:24,69:b,70:35,71:d,72:37,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t},e($,[2,31],{9:L,11:N}),{29:[1,104]},{10:105,31:E,35:[1,106],36:[1,107],37:108,62:x},e([31,35,36,62],[2,36]),{10:109,31:E,36:x},{51:[1,110]},{34:111,62:z},{34:113,62:z},e(O,[2,87]),e(O,[2,89]),e(O,[2,90]),e(O,[2,97]),e(O,[2,91]),e(O,[2,92]),e(O,[2,93]),e(O,[2,94]),e(O,[2,95]),e(O,[2,96]),e(O,[2,98]),e(O,[2,100]),e(O,[2,99]),{1:[2,1]},e(ie,[2,5],{9:L,11:N}),{1:[2,3]},{6:[1,114],7:89,8:7,12:8,13:w,14:10,16:11,17:12,19:13,20:16,21:17,22:18,23:19,24:20,25:21,26:22,27:v,32:g,39:y,41:p,42:j,50:f,56:m,57:u,58:23,60:h,64:14,67:15,68:24,69:b,70:35,71:d,72:37,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t},{8:115,12:8,13:w,14:10,16:11,17:12,19:13,20:16,21:17,22:18,23:19,24:20,25:21,26:22,27:v,32:g,39:y,41:p,42:j,50:f,56:m,57:u,58:23,60:h,64:14,67:15,68:24,69:b,70:35,71:d,72:37,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t},e([13,27,32,36,39,41,42,44,50,56,57,60,62,69,71,73,75,76,77,78,79,80,81,83],U),{8:116,12:8,13:w,14:10,16:11,17:12,19:13,20:16,21:17,22:18,23:19,24:20,25:21,26:22,27:v,32:g,39:y,41:p,42:j,50:f,56:m,57:u,58:23,60:h,64:14,67:15,68:24,69:b,70:35,71:d,72:37,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t},{14:117,16:11,17:12,19:13,20:16,21:17,22:18,23:19,24:20,25:21,26:22,27:v,32:g,39:y,41:p,42:j,50:f,56:m,57:u,58:23,60:h,64:14,67:15,68:24,69:b,70:35,71:d,72:37,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t},e(_,[2,85]),e(C,[2,69],{70:35,72:37,68:98,42:B,71:d,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t}),e(T,[2,81]),e(T,[2,83]),e([27,32,41,50,56,57,60],x,{10:118,31:E}),e(_,[2,67]),e(K,[2,28],{8:7,12:8,14:10,16:11,17:12,19:13,64:14,67:15,20:16,21:17,22:18,23:19,24:20,25:21,26:22,58:23,68:24,70:35,72:37,7:119,13:w,27:v,32:g,39:y,41:p,42:j,50:f,56:m,57:u,60:h,69:b,71:d,73:l,7
vendor: 1,046 bytes, line 17
175:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t}),e(V,[2,27],{5:120,31:S,84:M}),e(_,[2,25]),{34:121,62:z},{5:122,31:S,84:M},{5:123,31:S,42:q,84:M},{38:124,40:125,42:[1,126]},{36:[1,128],37:127},{7:67,8:7,12:8,13:w,14:10,16:11,17:12,19:13,20:16,21:17,22:18,23:19,24:20,25:21,26:22,27:v,28:129,30:65,31:A,32:g,39:y,41:p,42:j,50:f,56:m,57:u,58:23,60:h,64:14,67:15,68:24,69:b,70:35,71:d,72:37,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t},e(_,[2,61]),{7:67,8:7,12:8,13:w,14:10,16:11,17:12,19:13,20:16,21:17,22:18,23:19,24:20,25:21,26:22,27:v,28:130,30:65,31:A,32:g,39:y,41:p,42:j,50:f,56:m,57:u,58:23,60:h,64:14,67:15,68:24,69:b,70:35,71:d,72:37,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t},e(_,[2,62]),{1:[2,4]},e(D,[2,8]),e(D,[2,9]),e(C,[2,13]),{17:132,20:16,21:17,22:18,23:19,24:20,25:21,26:22,27:v,32:g,41:p,50:f,56:m,57:u,59:131,60:h},e($,[2,30],{9:L,11:N}),e(K,[2,29],{8:7,12:8,14:10,16:11,17:12,19:13,64:14,67:15,20:16,21:17,22:18,23:19,24:20,25:21,26:22,58:23,68:24,70:35,72:37,7:119,13:w,27:v,32:g,39:y,41:p,42:j,50:f,56:m,57:u,60:h,69:b,71:d,73:l,7
175:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t}),e(_,[2,32]),{34:133,62:z},{34:134,62:z},{5:135,31:S,84:M},e([31,84],[2,38],{42:[1,136]}),e(Y,[2,105]),e(k,x,{10:137,31:E}),e([27,31,42,44],q),{52:138,53:[1,139],54:X,55:Q},{63:[1,142]},e(C,[2,63]),e(C,[2,64],{70:35,72:37,68:55,18:143,71:d,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t}),e(_,[2,33]),e(_,[2,34]),{34:144,62:z},e(Y,[2,106]),{27:Z,42:R,43:145,44:[1,147],45:146,46:149,47:148,48:150},{53:[1,153]},e(_,[2,57]),{7:67,8:7,12:8,13:w,14:10,16:11,17:12,19:13,20:16,21:17,22:18,23:19,24:20,25:21,26:22,27:v,28:154,30:65,31:A,32:g,39:y,41:p,42:j,50:f,56:m,57:u,58:23,60:h,64:14,67:15,68:24,69:b,70:35,71:d,72:37,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t},{7:67,8:7,12:8,13:w,14:10,16:11,17:12,19:13,20:16,21:17,22:18,23:19,24:20,25:21,26:22,27:v,28:155,30:65,31:A,32:g,39:y,41:p,42:j,50:f,56:m,57:u,58:23,60:h,64:14,67:15,68:24,69:b,70:35,71:d,72:37,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t},e(_,[2,68]),e(C,[2,65],{70:35,72:37,68:96,71:d,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t}),e(_,[2,35]),{27:Z,42:R,44:[1,156],46:158,47:157,48:150},{44:[1,159]},e(_,[2,41]),e(k,[2,45]),{44:[2,43]},{15:ee,29:[1,160]},{42:R,48:162},e(te,[2,54]),e(_,[2,56]),{51:[1,163]},{53:[2,60]},e(_,[2,39]),e(k,[2,44]),{44:[2,42]},e(_,[2,40]),e(P,x,{8:7,12:8,14:10,16:11,17:12,19:13,64:14,67:15,20:16,21:17,22:18,23:19,24:20,25:21,26:22,58:23,68:24,70:35,72:37,30:65,7:67,10:164,28:165,13:w,27:v,31:se,32:g,39:y,41:p,42:j,50:f,56:m,57:u,60:h,69:b,71:d,73:l,7
vendor: 1,064 bytes, line 17
175:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t}),{42:[1,167]},{15:ee,29:[1,168]},{7:67,8:7,12:8,13:w,14:10,16:11,17:12,19:13,20:16,21:17,22:18,23:19,24:20,25:21,26:22,27:v,28:169,30:65,31:A,32:g,39:y,41:p,42:j,50:f,56:m,57:u,58:23,60:h,64:14,67:15,68:24,69:b,70:35,71:d,72:37,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t},{44:[2,46],49:[1,170]},{10:172,31:E,44:x,49:[1,171]},e(P,U,{8:7,12:8,14:10,16:11,17:12,19:13,64:14,67:15,20:16,21:17,22:18,23:19,24:20,25:21,26:22,58:23,68:24,70:35,72:37,7:67,30:103,13:w,27:v,32:g,39:y,41:p,42:j,50:f,56:m,57:u,60:h,69:b,71:d,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t}),e(te,[2,55]),e(P,x,{8:7,12:8,14:10,16:11,17:12,19:13,64:14,67:15,20:16,21:17,22:18,23:19,24:20,25:21,26:22,58:23,68:24,70:35,72:37,30:65,7:67,10:173,28:174,13:w,27:v,31:se,32:g,39:y,41:p,42:j,50:f,56:m,57:u,60:h,69:b,71:d,73:l,75:c,76:r,77:a,78:i,79:o,80:s,81:n,83:t}),{52:175,53:[2,58],54:X,55:Q},e(k,x,{10:176,31:E}),e(k,x,{10:177,31:E}),{44:[2,47]},{44:[2,48],49:[1,178]},{10:180,31:E,44:x,49:[1,179]},{53:[2,59]},e(k,[2,50]),e(k,[2,51]),e(k,x,{10:181,31:E}
17),e(k,x,{10:182,31:E}),{44:[2,49]},e(k,[2,52]),e(k,[2,53])],defaultActions:{34:[2,66],48:[2,2],88:[2,1],90:[2,3],114:[2,4],149:[2,43],155:[2,60],158:[2,42],172:[2,47],175:[2,59],180:[2,49]},parseError:function(t,n){if(n.recoverable)this.trace(t);else{function s(e,t){this.message=e,this.hash=t}throw s.prototype=Error,new s(t,n)}},parse:function(t){var o,a,r,d,u,m,f,p,v,b,j,y,w,O,E,T,M=this,i=[0],z=[],c=[null],n=[],g=this.table,k="",h=0,_=0,C=0,S=2,x=1,A=n.slice.call(arguments,1),s=Object.create(this.lexer),l={yy:{}};for(j in this.yy)Object.prototype.hasOwnProperty.call(this.yy,j)&&(l.yy[j]=this.yy[j]);s.setInput(t,l.yy),l.yy.lexer=s,l.yy.parser=this,typeof s.yylloc=="undefined"&&(s.yylloc={}),v=s.yylloc,n.push(v),O=s.options&&s.options.ranges,typeof l.yy.parseError=="function"?this.parseError=l.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function F(e){i.length=i.length-2*e,c.length=c.length-e,n.length=n.length-e}_token_stack:w=function(){var e=s.lex()||x;return typeof e!="number"&&(e=M.symbols_[e]||e),e};for(d={};!0;){if(u=i[i.length-1],this.defaultActions[u]?a=this.defaultActions[u]:((o===null||typeof o=="undefined")&&(o=w()),a=g[u]&&g[u][o]),typeof a=="undefined"||!a.length||!a[0]){p="",f=[];for(m in g[u])this.terminals_[m]&&m>S&&f.push("'"+this.terminals_[m]+"'");s.showPosition?p="Parse error on line "+(h+1)+`: 18`+s.showPosition()+` 19Expecting `+f.join(", ")+", got '"+(this.terminals_[o]||o)+"'":p="Parse error on line "+(h+1)+": Unexpected "+(o==x?"end of input":"'"+(this.terminals_[o]||o)+"'"),this.parseError(p,{text:s.match,token:this.terminals_[o]||o,line:s.yylineno,loc:v,expected:f})}if(a[0]instanceof Array&&a.length>1)throw new Error("Parse Error: multiple actions possible at state: "+u+", token: "+o);switch(a[0]){case 1:i.push(o),c.push(s.yytext),n.push(s.yylloc),i.push(a[1]),o=null,y?(o=y,y=null):(_=s.yyleng,k=s.yytext,h=s.yylineno,v=s.yylloc,C>0&&C--);break;case 2:if(r=this.productions_[a[1]][1],d.$=c[c.length-r],d._$={first_line:n[n.length-(r||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(r||1)].first_column,last_column:n[n.length-1].last_column},O&&(d._$.range=[n[n.length-(r||1)].range[0],n[n.length-1].range[1]]),b=this.performAction.apply(d,[k,_,h,l.yy,a[1],c,n].concat(A)),typeof b!="undefined")return b;r&&(i=i.slice(0,-1*r*2),c=c.slice(0,-1*r),n=n.slice(0,-1*r)),i.push(this.productions_[a[1]][0]),c.push(d.$),n.push(d._$),E=g[i[i.length-2]][i[i.length-1]],i.push(E);break;case 3:return!0}}return!0}};function H(){this.yy={}}return H.prototype=oe,oe.Parser=H,new H}();typeof e!="undefined"&&typeof n!="undefined"&&(n.parser=o,n.Parser=o.Parser,n.parse=function(){return o.parse.apply(o,arguments)},n.main=function(o){o[1]||(console.log("Usage: "+o[0]+" FILE"),s.exit(1));var i=e("fs").readFileSync(e("path").normalize(o[1]),"utf8");return n.parser.parse(i)},typeof t!="undefined"&&e.main===t&&n.main(s.argv.slice(1)))}).call(this)}).call(this,e("_process"))},{_process:7,fs:3,path:6}],22:[function(e,t,n){"use strict";n.IOFileOperators=e("./io-file-operators"),n.operators=e("./operators"),n.parameterOperators=e("./parameter-operators"),n.reservedWords=e("./reserved-words")},{"./io-file-operators":23,"./operators":24,"./parameter-operators":25,"./reserved-words":26}],23:[function(e,t){"use strict";const s=t.exports=["LESS","DLESS","DGREAT","LESSAND","GREATAND","GREAT","LESSGREAT","CLOBBER"];s.isOperator=function(t){for(const e of s)if(t.type===e)return!0;return!1}},{}],24:[function(e,t){"use strict";const s={"&":"AND","|":"PIPE","(":"OPEN_PAREN",")":"CLOSE_PAREN",">":"GREAT","<":"LESS","&&":"AND_IF","||":"OR_IF",";;":"DSEMI","<<":"DLESS",">>":"DGREAT","<&":"LESSAND",">&":"GREATAND","<>":"LESSGREAT","<<-":"DLESSDASH",">|":"CLOBBER",";":"SEMICOLON"};t.exports=s},{}],25:[function(e,t){"use strict";const s="[a-zA-Z_][a-zA-Z0-9_]*",o={[`^(${s}):\\-(.*)$`]:{op:"useDefaultValue",parameter:e=>e[1],word:e=>e[2],expand:["word"]},[`^(${s}):\\=(.*)$`]:{op:"assignDefaultValue",parameter:e=>e[1],word:e=>e[2],expand:["word"]},[`^(${s}):\\?(.*)$`]:{op:"indicateErrorIfNull",parameter:e=>e[1],word:e=>e[2],expand:["word"]},[`^(${s}):\\+(.*)$`]:{op:"useAlternativeValue",parameter:e=>e[1],word:e=>e[2],expand:["word"]},[`^(${s})\\-(.*)$`]:{op:"useDefaultValueIfUnset",parameter:e=>e[1],word:e=>e[2],expand:["word"]},[`^(${s})\\=(.*)$`]:{op:"assignDefaultValueIfUnset",parameter:e=>e[1],word:e=>e[2],expand:["word"]},[`^(${s})\\?(.*)$`]:{op:"indicateErrorIfUnset",parameter:e=>e[1],word:e=>e[2],expand:["word"]},[`^(${s})\\+(.*)$`]:{op:"useAlternativeValueIfUnset",parameter:e=>e[1],word:e=>e[2],expand:["word"]},[`^(${s})\\%\\%(.*)$`]:{op:"removeLargestSuffixPattern",parameter:e=>e[1],word:e=>e[2],expand:["word"]},[`^(${s})\\#\\#(.*)$`]:{op:"removeLargestPrefixPattern",parameter:e=>e[1],word:e=>e[2],expand:["word"]},[`^(${s})\\%(.*)$`]:{op:"removeSmallestSuffixPattern",parameter:e=>e[1],word:e=>e[2],expand:["word"]},[`^(${s})\\#(.*)$`]:{op:"removeSmallestPrefixPattern",parameter:e=>e[1],word:e=>e[2],expand:["word"]},[`^\\#(${s})$`]:{op:"stringLength",parameter:e=>e[1]},[`^([1-9][0-9]*)$`]:{kind:"positional",parameter:e=>Number(e[1])},"^!$":{kind:"last-background-pid"},"^\\@$":{kind:"positional-list"},"^\\-$":{kind:"current-option-flags"},"^\\#$":{kind:"positional-count"},"^\\?$":{kind:"last-exit-status"},"^\\*$":{kind:"positional-string"},"^\\$$":{kind:"shell-process-id"},"^0$":{kind:"shell-script-name"}};t.exports=o},{}],26:[function(e,t){"use strict";
19t.exports={if:"If",then:"Then",else:"Else",elif:"Elif",fi:"Fi",do:"Do",done:"Done",case:"Case",esac:"Esac",while:"While",until:"Until",for:"For",in:"In","{":"Lbrace","}":"Rbrace","!":"Bang"}},{}],27:[function(e,t){t.exports={start:"complete_command",bnf:{complete_command:[["list separator EOF"," return yy.checkAsync($list, $separator)"],["list EOF"," return $list "],["separator list EOF"," return $list "],["separator list separator EOF"," return yy.checkAsync($list, $separator)"]],list:[["list separator and_or","$$ = yy.listAppend($list, $and_or, $separator);"],["and_or","$$ = yy.list($and_or);"]],and_or:[["pipeline","$$ = $pipeline;"],["and_or AND_IF linebreak pipeline","$$ = yy.andAndOr($and_or, $pipeline);"],["and_or OR_IF linebreak pipeline","$$ = yy.orAndOr($and_or, $pipeline);"]],pipeline:[["pipe_sequence","$$ = yy.pipeLine($pipe_sequence);"],["Bang pipe_sequence","$$ = yy.bangPipeLine($pipe_sequence);"]],pipe_sequence:[["command","$$ = yy.pipeSequence($command);"],["pipe_sequence PIPE linebreak command","$$ = yy.pipeSequenceAppend($pipe_sequence, $command);"]],command:["simple_command","compound_command",["compound_command redirect_list","$$ = yy.addRedirections($compound_command, $redirect_list)"],"function_definition"],compound_command:["brace_group","subshell","for_clause","case_clause","if_clause","while_clause","until_clause"],subshell:[["OPEN_PAREN compound_list CLOSE_PAREN","$$ = yy.subshell($compound_list, $OPEN_PAREN.loc, $CLOSE_PAREN.loc);"]],compound_list:[["term","$$ = $term;"],["NEWLINE_LIST term","$$ = $term;"],["term separator","$$ = yy.checkAsync($term, $separator);"],["NEWLINE_LIST term separator","$$ = yy.checkAsync($term, $separator);"]],term:[["term separator and_or","$$ = yy.termAppend($term, $and_or, $separator);"],["and_or","$$ = yy.term($and_or);"]],for_clause:[["For name linebreak do_group","$$ = yy.forClauseDefault($name, $do_group, $For.loc);"],["For name LINEBREAK_IN separator do_group","$$ = yy.forClauseDefault($name, $do_group, $For.loc);"],["For name In separator do_group","$$ = yy.forClauseDefault($name, $do_group, $For.loc);"],["For name in wordlist separator do_group","$$ = yy.forClause($name, $wordlist, $do_group, $For.loc);"]],name:["NAME"],in:["In"],wordlist:["wordlist_repetition_plus0"],case_clause:[["Case WORD linebreak in linebreak case_list Esac","$$ = yy.caseClause($WORD, $case_list, $Case.loc, $Esac.loc);"],["Case WORD linebreak in linebreak case_list_ns Esac","$$ = yy.caseClause($WORD, $case_list_ns, $Case.loc, $Esac.loc);"],["Case WORD linebreak in linebreak Esac","$$ = yy.caseClause($WORD, null, $Case.loc, $Esac.loc);"]],case_list_ns:[["case_list case_item_ns","$$ = yy.caseListAppend($case_list, $case_item_ns);"],["case_item_ns","$$ = yy.caseList($case_item_ns);"]],case_list:[["case_list case_item","$$ = yy.caseListAppend($case_list, $case_item);"],["case_item","$$ = yy.caseList($case_item);"]],case_item_ns:[["pattern CLOSE_PAREN linebreak","$$ = yy.caseItem($pattern, null, $pattern[0].loc, $CLOSE_PAREN.loc);"],["pattern CLOSE_PAREN compound_list linebreak","$$ = yy.caseItem($pattern, $compound_list, $pattern[0].loc, $compound_list.loc);"],["OPEN_PAREN pattern CLOSE_PAREN linebreak","$$ = yy.caseItem($pattern, null, $OPEN_PAREN.loc, $CLOSE_PAREN.loc );"],["OPEN_PAREN pattern CLOSE_PAREN compound_list linebreak","$$ = yy.caseItem($pattern, $compound_list, $OPEN_PAREN.loc, $compound_list.loc);"]],case_item:[["pattern CLOSE_PAREN linebreak DSEMI linebreak","$$ = yy.caseItem($pattern, null, $pattern[0].loc, $DSEMI.loc);"],["pattern CLOSE_PAREN compound_list DSEMI linebreak","$$ = yy.caseItem($pattern, $compound_list, $pattern[0].loc, $DSEMI.loc);"],["OPEN_PAREN pattern CLOSE_PAREN linebreak DSEMI linebreak","$$ = yy.caseItem($pattern, null, $OPEN_PAREN.loc, $DSEMI.loc );"],["OPEN_PAREN pattern CLOSE_PAREN compound_list DSEMI linebreak","$$ = yy.caseItem($pattern, $compound_list, $OPEN_PAREN.loc, $DSEMI.loc);"]],pattern:[["WORD","$$ = yy.pattern($WORD);"],["pattern PIPE WORD","$$ = yy.patternAppend($pattern, $WORD);"]],if_clause:[["If compound_list Then compound_list else_part Fi","$$ = yy.ifClause($2, $4, $else_part, $If.loc, $Fi.loc);"],["If compound_list Then compound_list Fi","$$ = yy.ifClause($2, $4, null, $If.loc, $Fi.loc);"]],else_part:[["Elif compound_list Then compound_list","$$ = yy.ifClause($2, $4, null, $Elif.loc, $4.loc);"],["Elif compound_list Then compound_list else_part","$$ = yy.ifClause($2, $4, $else_part, $Elif.loc, $else_part.loc);"],["Else compound_list","$$ = yy.elseClause($compound_list, $Else);"]],while_clause:[["While compound_list do_group","$$ = yy.while($2, $3, $While);"]],until_clause:[["Until compound_list do_group","$$ = yy.until($2, $3, $Until);"]],function_definition:[["fname OPEN_PAREN CLOSE_PAREN linebreak function_body","$$ = yy.functionDefinition($fname, $function_body);"]],function_body:[["compound_command","$$ = [$compound_command, null];"],["compound_command redirect_list","$$ = [$compound_command, $redirect_list];"]],fname:["NAME"],brace_group:[["Lbrace compound_list Rbrace","$$ = yy.braceGroup($compound_list, $Lbrace.loc, $Rbrace.loc);"]],do_group:[["Do compound_list Done","$$ = yy.doGroup($compound_list, $Do.loc, $Done.loc);"]],simple_command:[["cmd_prefix cmd_word cmd_suffix","$$ =yy.command($cmd_prefix, $cmd_word, $cmd_suffix);"],["cmd_prefix cmd_word","$$ =yy.command($cmd_prefix, $cmd_word, null);"],["cmd_prefix","$$ =yy.commandAssignment($cmd_prefix);"],["cmd_name cmd_suffix","$$ =yy.command(null, $cmd_name, $cmd_suffix);"],["cmd_name","$$ =yy.command(null, $cmd_name);"]],cmd_name:[["WORD","$$ =yy.commandName(yytext) /* Apply rule 7a */;"]],cmd_word:[["WORD","$$ = yytext /* Apply rule 7B */;"]],cmd_prefix:[["io_redirect","$$ = yy.prefix($io_redirect);
19"],["cmd_prefix io_redirect","$$ = yy.prefixAppend($1, $2);"],["ASSIGNMENT_WORD","$$ = yy.prefix($1);"],["cmd_prefix ASSIGNMENT_WORD","$$ = yy.prefixAppend($1, $2);"]],cmd_suffix:[["io_redirect","$$ = yy.suffix($io_redirect);"],["cmd_suffix io_redirect","$$ = yy.suffixAppend($cmd_suffix, $io_redirect);"],["WORD","$$ = yy.suffix($1);"],["cmd_suffix WORD","$$ = yy.suffixAppend($cmd_suffix, $2);"]],redirect_list:[["io_redirect","$$ = [$io_redirect];"],["redirect_list io_redirect","$$ = $redirect_list.concat($io_redirect);"]],io_redirect:[["io_file","$$ = $io_file;"],["IO_NUMBER io_file","$$ = yy.numberIoRedirect($io_file, $1);"],"io_here","IO_NUMBER io_here"],io_file:[["LESS filename","$$ =yy.ioRedirect($1, $filename);"],["LESSAND filename","$$ =yy.ioRedirect($1, $filename);"],["GREAT filename","$$ =yy.ioRedirect($1, $filename);"],["GREATAND filename","$$ =yy.ioRedirect($1, $filename);"],["DGREAT filename","$$ =yy.ioRedirect($1, $filename);"],["LESSGREAT filename","$$ =yy.ioRedirect($1, $filename);"],["CLOBBER filename","$$ =yy.ioRedirect($1, $filename);"]],filename:["WORD"],io_here:["DLESS here_end","DLESSDASH here_end"],here_end:["WORD"],linebreak:["NEWLINE_LIST",""],separator:["SEPARATOR_OP","NEWLINE_LIST"],wordlist_repetition_plus0:[["WORD","$$ = [$1];"],["wordlist_repetition_plus0 WORD","$1.push($2);"]]}}},{}],28:[function(e,t){"use strict";const o=e("./ast-builder"),i=e("./tokenizer"),s=e("./rules"),a=e("./grammar"),r=e("./enums"),c=()=>[s.newLineList,s.operatorTokens,s.separator,s.reservedWords,s.linebreakIn,s.ioNumber,s.identifyMaybeSimpleCommands,s.assignmentWord,s.parameterExpansion,s.arithmeticExpansion,s.commandExpansion,s.forNameVariable,s.functionName,s.identifySimpleCommandNames,s.aliasSubstitution,s.tildeExpanding,s.parameterExpansion.resolve,s.commandExpansion.resolve,s.arithmeticExpansion.resolve,s.fieldSplitting.split,s.pathExpansion,s.quoteRemoval,s.syntaxerrorOnContinue,s.defaultNodeType];t.exports={inherits:null,init:(t,n)=>{let l=null;try{l=e("./built-grammar")}catch{}return{enums:r,phaseCatalog:s,lexerPhases:c(n),tokenizer:i,grammarSource:a,grammar:l,astBuilder:o}}}},{"./ast-builder":20,"./built-grammar":21,"./enums":22,"./grammar":27,"./rules":39,"./tokenizer":51}],29:[function(e,t){"use strict";const s=e("compose-function"),o=e("identity-function"),i=e("map-iterable"),a=e("transform-spread-iterable"),r=e("../../../utils/tokens"),c=(e,t)=>{function*n(s,o){if(o.indexOf(s.value)!==-1||!s._.maybeSimpleCommandName){yield s;return}const i=t(s.value);if(i===void 0)yield s;else for(const t of e(i))t.is("WORD")?yield*n(t,o.concat(s.value)):t.is("EOF")||(yield t)}return{WORD:e=>Array.from(n(e,[]))}};t.exports=(e,t,n)=>{if(typeof e.resolveAlias!="function")return o;const l=s.apply(null,n.reverse()),d=c(l,e.resolveAlias);return s(a,i(r.applyTokenizerVisitor(d)))}},{"../../../utils/tokens":73,"compose-function":74,"identity-function":80,"map-iterable":86,"transform-spread-iterable":96}],30:[function(e,t){"use strict";const s=e("map-iterable"),i=e("babylon"),a=e("magic-string"),r=e("../../../utils/tokens"),c=e("./field-splitting");function l(e){let t;try{t=i.parse(e.expression)}catch(t){throw new SyntaxError(`Cannot parse arithmetic expression "${e.expression}": ${t.message}`)}const n=t.program.body[0].expression;if(n===void 0)throw new SyntaxError(`Cannot parse arithmetic expression "${e.expression}": Not an expression`);return JSON.parse(JSON.stringify(n))}const o=()=>s(e=>e.is("WORD")||e.is("ASSIGNMENT_WORD")?!e.expansion||e.expansion.length===0?e:r.setExpansions(e,e.expansion.map(e=>e.type==="arithmetic_expansion"?Object.assign({},e,{arithmeticAST:l(e)}):e)):e);o.resolve=e=>s(t=>{if(e.runArithmeticExpression&&t.expansion){const n=t.value,s=new a(n);for(const o of t.expansion)if(o.type==="arithmetic_expansion"){const t=e.runArithmeticExpression(o);s.overwrite(o.loc.start,o.loc.end+1,c.mark(t,n,e)),o.resolved=!0}return t.alterValue(s.toString())}return t}),t.exports=o},{"../../../utils/tokens":73,"./field-splitting":34,babylon:16,"magic-string":85,"map-iterable":86}],31:[function(e,t){"use strict";const s=e("map-iterable"),o=e("../../../utils/is-valid-name");t.exports=function(){return s((e,t,n)=>(e._.maybeStartOfSimpleCommand&&(n.commandPrefixNotAllowed=!1),!n.commandPrefixNotAllowed&&e.is("WORD")&&e.value.indexOf("=")>0&&o(e.value.slice(0,e.value.indexOf("=")))?e.changeTokenType("ASSIGNMENT_WORD",e.value):(n.commandPrefixNotAllowed=!0,e)))}},{"../../../utils/is-valid-name":70,"map-iterable":86}],32:[function(e,t){"use strict";const s=e("map-iterable"),i=e("magic-string"),a=e("../../../utils/tokens"),r=e("./field-splitting");function c(t,n){let s=t.command;n.value[t.loc.start-1]==="`"&&(s=s.replace(/\\`/g,"`"));const o=e("../../../index"),i=o(s);return Object.assign({},t,{command:s,commandAST:i})}const o=()=>s(e=>e.is("WORD")||e.is("ASSIGNMENT_WORD")?!e.expansion||e.expansion.length===0?e:a.setExpansions(e,e.expansion.map(t=>t.type==="command_expansion"?c(t,e):t)):e);o.resolve=e=>s(t=>{if(e.execCommand&&t.expansion){const n=t.value,s=new i(n);for(const o of t.expansion)if(o.type==="command_expansion"){const t=e.execCommand(o);s.overwrite(o.loc.start,o.loc.end+1,r.mark(t.replace(/\n+$/,""),n,e)),o.resolved=!0}return t.alterValue(s.toString())}return t}),t.exports=o},{"../../../index":17,"../../../utils/tokens":73,"./field-splitting":34,"magic-string":85,"map-iterable":86}],33:[function(e,t){"use strict";const s=e("to-pascal-case"),o=e("map-iterable");t.exports=()=>o(e=>{const t=Object.assign({},e);if(t.type){t.originalType=e.type,e.is("WORD")||e.is("NAME")||e.is("ASSIGNMENT_WORD")?t.type=s(t.type):t.type=e.type.toLowerCase();for(const e of t.expansion||[])e.type=s(e.type);delete t._}return t})},{"map-iterable":86,"to-pascal-case":94}],34:[function(e,t,n){"use strict";const s=e("map-iterable"),o=e("transform-spread-iterable"),i=e("compose-function"),a=e("../../../utils/tokens").mkFieldSplitToken;n.mark=function(t,n,s){if(typeof s.resolveEnv=="function"&&n[0]!=="'"&&n[0]!=='"'){const e=s.resolveEnv("IFS");if(e!==null)return t.replace(new RegExp(`[${e}]+`,"g"),"\0")}return t},n.split=()=>i(o,s(e=>{if(e.is("WORD")){const t=e.value.split("\0");if(t.length>1){let n=0;return t.map(t=>a(e,t,n++))}}return e}))},{"../../../utils/tokens":73,"compose-function":74,"map-iterable":86,"transform-spread-iterable":96}],35:[function(e,t){"use strict";const s=e("compose-function"),o=e("map-iterable"),i=e("iterable-lookahead"),a=e("../../../utils/is-valid-name");t.exports=function(){return s(o((e,t,n)=>{let s=n.behind(1)||{is:()=>!1};return s.is("For")&&e.is("WORD")&&a(e.value)?e.changeTokenType("NAME",e.value):e}),i)}},{"../../../utils/is-valid-name":70,"compose-function":74,"iterable-lookahead":83,"map-iterable":86}],36:[function(e,t){"use strict";const s=e("compose-function"),o=e("map-iterable"),i=e("iterable-lookahead");t.exports=function(){return s(o((e,t,n)=>(e._.maybeStartOfSimpleCommand&&e.is("WORD")&&n.ahead(2)&&n.ahead(1).is("OPEN_PAREN")&&n.ahead(2).is("CLOSE_PAREN")&&(e=e.changeTokenType("NAME",e.value)),e)),i.depth(2))}},{"compose-function":74,"iterable-lookahead":83,"map-iterable":86}],37:[function(e,t){"use strict";const s=e("object-values"),o=e("compose-function"),i=e("map-iterable"),a=e("iterable-lookahead");t.exports=function(t,n){return o(i((e,t,o)=>{const i=o.behind(1)||{EMPTY:!0,is:e=>e==="EMPTY"};return e._.maybeStartOfSimpleCommand=Boolean(i.is("EMPTY")||i.is("SEPARATOR_OP")||i.is("OPEN_PAREN")||i.is("CLOSE_PAREN")||i.is("NEWLINE")||i.is("NEWLINE_LIST")||i.is("TOKEN")===";"||i.is("PIPE")||i.is("DSEMI")||i.is("OR_IF")||i.is("PIPE")||i.is("AND_IF")||!i.is("For")&&!i.is("In")&&!i.is("Case")&&s(n.enums.reservedWords).some(e=>i.is(e))),e}),a)}},{"compose-function":74,"iterable-lookahead":83,"map-iterable":86,"object-values":89}],38:[function(e,t){"use strict";const i=e("iterable-lookahead"),a=e("compose-function"),r=e("map-iterable"),c=e("../../../utils/is-valid-name");function s(e){return e&&(e.is("SEPARATOR_OP")||e.is("NEWLINE")||e.is("NEWLINE_LIST")||e.value===";"||e.is("PIPE")||e.is("OR_IF")||e.is("PIPE")||e.is("AND_IF"))}function o(e){return e&&e.is("WORD")&&c(e.value)}t.exports=(e,t)=>a(r((e,n,i)=>{if(e._.maybeStartOfSimpleCommand)if(o(e))e._.maybeSimpleCommandName=!0;else{const e=i.ahead(1);e&&!s(e)&&(e._.commandNameNotFoundYet=!0)}if(e._.commandNameNotFoundYet){const n=i.behind(1);if(!t.enums.IOFileOperators.isOperator(n)&&o(e))e._.maybeSimpleCommandName=!0;else{const e=i.ahead(1);e&&!s(e)&&(e._.commandNameNotFoundYet=!0)}delete e._.commandNameNotFoundYet}return e}),i)},{"../../../utils/is-valid-name":70,"compose-function":74,"iterable-lookahead":83,"map-iterable":86}],39:[function(e,t,n){"use strict";n.parameterExpansion=e("./parameter-expansion"),n.commandExpansion=e("./command-expansion"),n.arithmeticExpansion=e("./arithmetic-expansion"),n.aliasSubstitution=e("./alias-substitution"),n.defaultNodeType=e("./default-node
19-type"),n.fieldSplitting=e("./field-splitting"),n.tildeExpanding=e("./tilde-expanding"),n.pathExpansion=e("./path-expansion"),n.quoteRemoval=e("./quote-removal"),n.identifySimpleCommandNames=e("./identify-simplecommand-names"),n.identifyMaybeSimpleCommands=e("./identify-maybe-simple-commands"),n.operatorTokens=e("./operator-tokens"),n.reservedWords=e("./reserved-words"),n.separator=e("./separator"),n.linebreakIn=e("./linebreak-in"),n.forNameVariable=e("./for-name-variable"),n.functionName=e("./function-name"),n.ioNumber=e("./io-number"),n.newLineList=e("./new-line-list"),n.assignmentWord=e("./assignment-word"),n.syntaxerrorOnContinue=e("./syntaxerror-oncontinue")},{"./alias-substitution":29,"./arithmetic-expansion":30,"./assignment-word":31,"./command-expansion":32,"./default-node-type":33,"./field-splitting":34,"./for-name-variable":35,"./function-name":36,"./identify-maybe-simple-commands":37,"./identify-simplecommand-names":38,"./io-number":40,"./linebreak-in":41,"./new-line-list":42,"./operator-tokens":43,"./parameter-expansion":44,"./path-expansion":45,"./quote-removal":46,"./reserved-words":47,"./separator":48,"./syntaxerror-oncontinue":49,"./tilde-expanding":50}],40:[function(e,t){"use strict";const s=e("compose-function"),o=e("map-iterable"),i=e("iterable-lookahead");t.exports=function(t,n){return s(o((e,t,s)=>{const o=s.ahead(1);return e&&e.is("WORD")&&e.value.match(/^[0-9]+$/)&&n.enums.IOFileOperators.isOperator(o)?e.changeTokenType("IO_NUMBER",e.value):e}),i)}},{"compose-function":74,"iterable-lookahead":83,"map-iterable":86}],41:[function(e,t){"use strict";const o=e("compose-function"),i=e("map-iterable"),a=e("iterable-lookahead"),s=e("../../../utils/tokens"),r=e("../../../utils/non-null"),c={NEWLINE_LIST(e,t){const n=t.ahead(1)||s.mkToken("EMPTY");return n.is("In")?s.changeTokenType(e,"LINEBREAK_IN",` 20in`):e},In(e,t){const n=t.behind(1)||s.mkToken("EMPTY");return n.is("NEWLINE_LIST")?null:e}};t.exports=()=>o(r,i(s.applyTokenizerVisitor(c)),a)},{"../../../utils/non-null":72,"../../../utils/tokens":73,"compose-function":74,"iterable-lookahead":83,"map-iterable":86}],42:[function(e,t){"use strict";const o=e("compose-function"),i=e("map-iterable"),a=e("iterable-lookahead"),s=e("../../../utils/tokens"),r=e("../../../utils/non-null"),c={NEWLINE(e,t){const n=t.behind(1)||s.mkToken("EMPTY");return n.is("NEWLINE")?null:s.changeTokenType(e,"NEWLINE_LIST",` 21`)}};t.exports=()=>o(r,i(s.applyTokenizerVisitor(c)),a)},{"../../../utils/non-null":72,"../../../utils/tokens":73,"compose-function":74,"iterable-lookahead":83,"map-iterable":86}],43:[function(e,t){"use strict";const o=e("has-own-property"),i=e("map-iterable"),s=e("../../../utils/tokens"),a=e=>({OPERATOR(t){return o(e,t.value)?s.changeTokenType(t,e[t.value],t.value):t}});t.exports=(e,t)=>i(s.applyTokenizerVisitor(a(t.enums.operators)))},{"../../../utils/tokens":73,"has-own-property":79,"map-iterable":86}],44:[function(e,t){"use strict";const r=e("map-obj"),c=e("filter-obj"),s=e("map-iterable"),l=e("object-pairs"),d=e("magic-string"),o=e("../../../utils/tokens"),u=e("./field-splitting"),i=(t,n)=>{const s=r(t,(e,t)=>{if(typeof t=="function"){const s=t(n);return[e,s]}return typeof t=="object"&&e!=="expand"?[e,i(t,n)]:[e,t]});if(s.expand){const t=e("../../../index");for(const e of s.expand){const n=t(s[e],{mode:"word-expansion"});s[e]=n.commands[0].name}delete s.expand}return s};function h(e,t){let n=e.parameter;for(const s of l(t.parameterOperators)){const a=new RegExp(s[0]),o=n.match(a);if(o){const t=i(s[1],o);return c(Object.assign(e,t),(e,t)=>t!==void 0)}}return e}const a=(e,t)=>s(e=>e.is("WORD")||e.is("ASSIGNMENT_WORD")?!e.expansion||e.expansion.length===0?e:o.setExpansions(e,e.expansion.map(e=>e.type==="parameter_expansion"?h(e,t.enums):e)):e);a.resolve=e=>s(t=>{if(t.is("WORD")||t.is("ASSIGNMENT_WORD")){if(!e.resolveParameter||!t.expansion||t.expansion.length===0)return t;const n=t.value,s=new d(n);for(const o of t.expansion)if(o.type==="parameter_expansion"){const t=e.resolveParameter(o);o.resolved=!0,s.overwrite(o.loc.start,o.loc.end+1,u.mark(t,n,e))}return o.alterValue(t,s.toString())}return t}),t.exports=a},{"../../../index":17,"../../../utils/tokens":73,"./field-splitting":34,"filter-obj":78,"magic-string":85,"map-iterable":86,"map-obj":87,"object-pairs":88}],45:[function(e,t){"use strict";const o=e("map-iterable"),s=e("../../../utils/tokens");t.exports=e=>o(t=>{if(t.is("WORD")&&typeof e.resolvePath=="function")return s.setValue(t,e.resolvePath(t.value));if(t.is("ASSIGNMENT_WORD")&&typeof e.resolvePath=="function"){const n=t.value.split("=");
21return s.setValue(t,n[0]+"="+e.resolvePath(n[1]))}return t})},{"../../../utils/tokens":73,"map-iterable":86}],46:[function(e,t){"use strict";const s=e("shell-quote-word"),o=e("unescape-js"),i=e("map-iterable"),a=e("../../../utils/tokens");function r(e){const t=s(e);return t.length===0?e:t[0].comment?"":o(t[0])}function c(e){if(!e.expansion)return!1;const t=e.expansion.filter(e=>!e.resolved);return t.length>0}t.exports=()=>i(e=>(e.is("WORD")||e.is("ASSIGNMENT_WORD"))&&!c(e)?a.setValue(e,r(e.value)):e)},{"../../../utils/tokens":73,"map-iterable":86,"shell-quote-word":91,"unescape-js":97}],47:[function(e,t){"use strict";const s=e("has-own-property"),o=e("object-values"),i=e("compose-function"),a=e("map-iterable"),r=e("iterable-lookahead");function c(e,t,n){const s=t.behind(1)||{EMPTY:!0,is:e=>e==="EMPTY"},i=t.behind(2)||{EMPTY:!0,is:e=>e==="EMPTY"},a=s.is("EMPTY")||s.is("SEPARATOR_OP")||s.is("OPEN_PAREN")||s.is("CLOSE_PAREN")||s.is("NEWLINE")||s.is("NEWLINE_LIST")||s.is("DSEMI")||s.value===";"||s.is("PIPE")||s.is("OR_IF")||s.is("PIPE")||s.is("AND_IF"),r=!s.value==="for"&&!s.value==="in"&&!s.value==="case"&&o(n).some(e=>s.is(e)),c=i.value==="case"&&e.is("TOKEN")&&e.value.toLowerCase()==="in",l=i.value==="for"&&e.is("TOKEN")&&(e.value.toLowerCase()==="in"||e.value.toLowerCase()==="do");return e.value==="}"||a||r||l||c}t.exports=function(t,n){return i(a((e,t,o)=>c(e,o,n.enums.reservedWords)&&s(n.enums.reservedWords,e.value)?e.changeTokenType(n.enums.reservedWords[e.value],e.value):e.is("TOKEN")?e.changeTokenType("WORD",e.value):e),r.depth(2))}},{"compose-function":74,"has-own-property":79,"iterable-lookahead":83,"map-iterable":86,"object-values":89}],48:[function(e,t){"use strict";const a=e("compose-function"),r=e("map-iterable"),c=e("iterable-lookahead"),i=e("../../../utils/tokens"),l=e("../../../utils/non-null"),d=e=>e&&(e.is("NEWLINE")||e.is("NEWLINE_LIST")||e.is("AND")||e.is("SEMICOLON")||e.is("OPERATOR")&&e.value===";"||e.is("OPERATOR")&&e.value==="&");function s(e,t){if(o(e)===null)return null;let s=i.changeTokenType(e,"SEPARATOR_OP",e.value),a=1,n=t.ahead(a);for(;d(n);)n._.joinedToSeparator=!0,a++,s=s.appendTo(n.value),n=t.ahead(a);return s}function o(e){return e._.joinedToSeparator?null:e}const u={NEWLINE:o,NEWLINE_LIST:o,SEMICOLON:s,AND:s,OPERATOR:(e,t)=>e.value==="&"||e.value===";"?s(e,t):e};t.exports=()=>a(l,r(i.applyTokenizerVisitor(u)),c.depth(10))},{"../../../utils/non-null":72,"../../../utils/tokens":73,"compose-function":74,"iterable-lookahead":83,"map-iterable":86}],49:[function(e,t){"use strict";const s=e("map-iterable");t.exports=function(){return s(e=>{if(e&&e.is("CONTINUE"))throw new SyntaxError("Unclosed "+e.value);return e})}},{"map-iterable":86}],50:[function(e,t){"use strict";const i=e("map-iterable"),s=e("../../../utils/tokens"),o=(e,t)=>{let n=!1,s=e.replace(/^~([^/]*)\//,(e,s)=>(n=!0,t(s||null)+"/"));return n||(s=e.replace(/^~(.*)$/,(e,n)=>t(n||null))),s};t.exports=e=>i(t=>{if(t.is("WORD")&&typeof e.resolveHomeUser=="function")return s.setValue(t,o(t.value,e.resolveHomeUser));if(t.is("ASSIGNMENT_WORD")&&typeof e.resolveHomeUser=="function"){const n=t.value.split("=",2),i=n[0],a=n[1],r=a.split(":").map(t=>o(t,e.resolveHomeUser)).join(":");return s.setValue(t,i+"="+r)}return t})},{"../../../utils/tokens":73,"map-iterable":86}],51:[function(e,t){(function(n){(function(){"use strict";const i=e("deep-freeze"),s=e("array-last"),o=e=>({current:"",escaping:!1,previousReducer:e.start,loc:{start:{col:1,row:1,char:0},previous:null,current:{col:1,row:1,char:0}}}),a=e=>class ImmutableState{constructor(t){Object.assign(this,t||o(e)),i(this)}setLoc(e){return new ImmutableState(Object.assign({},this,{loc:e}))}setEscaping(e){return new ImmutableState(Object.assign({},this,{escaping:e}))}setExpansion(e){return new ImmutableState(Object.assign({},this,{expansion:e}))}setPreviousReducer(e){return new ImmutableState(Object.assign({},this,{previousReducer:e}))}setCurrent(e){return new ImmutableState(Object.assign({},this,{current:e}))}appendEmptyExpansion(){const e=(this.expansion||[]).concat({loc:{start:Object.assign({},this.loc.current)}});return this.setExpansion(e)}appendChar(e){return new ImmutableState(Object.assign({},this,{current:this.current+e}))}removeLastChar(){return new ImmutableState(Object.assign({},this,{current:this.current.slice(0,-1)}))}saveCurrentLocAsStart(){return new ImmutableState(Object.assign({},this,{loc:Object.assign({},this.loc,{start:this.loc.current})}))}resetCurrent(){return new ImmutableState(Object.assign({},this,{current:""}))}advanceLoc(e){const t=Object.assign({},this.loc,{current:Object.assign({},this.loc.current),previous:Object.assign({},this.loc.current)});return e===` 22`?(t.current.row++,t.current.col=1):t.current.col++,t.current.char++,e&&e.match(/\s/)&&this.current===""&&(t.start=Object.assign({},t.current)),this.setLoc(t)}},r=e=>class{constructor(t){Object.assign(this,t||o(e))}setLoc(e){return this.loc=e,this}setEscaping(e){return this.escaping=e,this}setExpansion(e){return this.expansion=e,this}setPreviousReducer(e){return this.previousReducer=e,this}setCurrent(e){return this.current=e,this}appendEmptyExpansion(){return this.expansion=this.expansion||[],this.expansion.push({loc:{start:Object.assign({},this.loc.current)}}),this}appendChar(e){return this.current=this.current+e,this}removeLastChar(){return this.current=this.current.slice(0,-1),this}saveCurrentLocAsStart(){return this.loc.start=Object.assign({},this.loc.current),this}resetCurrent(){return this.current="",this}replaceLastExpansion(e){const t=s(this.expansion);return Object.assign(t,e),this}deleteLastExpansionValue(){const e=s(this.expansion);return delete e.value,this}advanceLoc(e){const t=JSON.parse(JSON.stringify(this.loc));return t.previous=Object.assign({},this.loc.current),e===` 23`?(t.current.row++,t.current.col=1):t.current.col++,t.current.char++,e&&e.match(/\s/)&&this.current===""&&(t.start=Object.assign({},t.current)),this.setLoc(t)}};t.exports=(t,s)=>function*(o){s=s||e("./reducers");const d=n.env.NODE_NEV==="development"?a(s):r(s);let i=new d,c=s.start;const l=Array.from(o);for(;typeof c=="function";){const t=l[0],e=c(i,l,s),a=e.nextReduction,n=e.tokensToEmit,o=e.nextState;n&&(yield*n),o?i=o.advanceLoc(t):i=i.advanceLoc(t),c=a}},t.exports.reducers=e("./reducers")}).call(this)}).call(this,e("_process"))},{"./reducers":62,_process:7,"array-last":15,"deep-freeze":76}],52:[function(e,t){"use strict";const s=e("../../../../utils/tokens").newLine;t.exports=function e(t,n,o){const i=n&&n.shift();return i===void 0?{nextReduction:o.end,nextState:t}:i===` 24`?{tokensToEmit:[s()],nextReduction:o.start,nextState:t}:{nextReduction:e,nextState:t}}},{"../../../../utils/tokens":73}],53:[function(e,t){"use strict";const s=e("../../../../utils/tokens"),o=s.tokenOrEmpty,i=s.continueToken;t.exports=function e(t,n,s){const a=n&&n.shift();return t=t.setPreviousReducer(e),a===void 0?{nextReduction:null,tokensToEmit:o(t).concat(i('"')),nextState:t}:!t.escaping&&a==="\\"?{nextReduction:e,nextState:t.setEscaping(!0).appendChar(a)}:!t.escaping&&a==='"'?{nextReduction:s.start,nextState:t.setPreviousReducer(s.start).appendChar(a)}:!t.escaping&&a==="$"?{nextReduction:s.expansionStart,nextState:t.appendEmptyExpansion().appendChar(a)}:!t.escaping&&a==="`"?{nextReduction:s.expansionCommandTick,nextState:t.appendEmptyExpansion().appendChar(a)}
24:{nextReduction:s.doubleQuoting,nextState:t.setEscaping(!1).appendChar(a)}}},{"../../../../utils/tokens":73}],54:[function(e,t){"use strict";const s=e("../../../../utils/tokens").eof;t.exports=function(){return{nextReduction:null,tokensToEmit:[s()]}}},{"../../../../utils/tokens":73}],55:[function(e,t){"use strict";const s=e("array-last"),o=e("../../../../utils/tokens"),i=o.continueToken;t.exports=function e(t,n){const o=n&&n.shift(),a=s(t.expansion);return o===")"&&t.current.slice(-1)[0]===")"?{nextReduction:t.previousReducer,nextState:t.appendChar(o).replaceLastExpansion({type:"arithmetic_expansion",expression:a.value.slice(0,-1),loc:Object.assign({},a.loc,{end:t.loc.current})}).deleteLastExpansionValue()}:o===void 0?{nextReduction:t.previousReducer,tokensToEmit:[i("$((")],nextState:t.replaceLastExpansion({loc:Object.assign({},a.loc,{end:t.loc.previous})})}:{nextReduction:e,nextState:t.appendChar(o).replaceLastExpansion({value:(a.value||"")+o})}}},{"../../../../utils/tokens":73,"array-last":15}],56:[function(e,t){"use strict";const s=e("array-last"),o=e("../../../../utils/tokens"),i=o.continueToken;t.exports=function(t,n,o){const a=n&&n.shift(),r=s(t.expansion);return a==="("&&t.current.slice(-2)==="$("?{nextReduction:o.expansionArithmetic,nextState:t.appendChar(a)}:a===void 0?{nextReduction:t.previousReducer,tokensToEmit:[i("$(")],nextState:t.replaceLastExpansion({loc:Object.assign({},r.loc,{end:t.loc.previous})})}:a===")"?{nextReduction:t.previousReducer,nextState:t.appendChar(a).replaceLastExpansion({type:"command_expansion",loc:Object.assign({},r.loc,{end:t.loc.current})})}:{nextReduction:o.expansionCommandOrArithmetic,nextState:t.appendChar(a).replaceLastExpansion({command:(r.command||"")+a})}}},{"../../../../utils/tokens":73,"array-last":15}],57:[function(e,t){"use strict";const s=e("array-last"),o=e("../../../../utils/tokens"),i=o.continueToken;t.exports=function(t,n,o){const a=n&&n.shift(),r=s(t.expansion);return!t.escaping&&a==="`"?{nextReduction:t.previousReducer,nextState:t.appendChar(a).replaceLastExpansion({type:"command_expansion",loc:Object.assign({},r.loc,{end:t.loc.current})})}:a===void 0?{nextReduction:t.previousReducer,tokensToEmit:[i("`")],nextState:t.replaceLastExpansion({loc:Object.assign({},r.loc,{end:t.loc.previous})})}:!t.escaping&&a==="\\"?{nextReduction:o.expansionCommandTick,nextState:t.appendChar(a).setEscaping(!0)}:{nextReduction:o.expansionCommandTick,nextState:t.setEscaping(!1).appendChar(a).replaceLastExpansion({command:(r.command||"")+a})}}},{"../../../../utils/tokens":73,"array-last":15}],58:[function(e,t){"use strict";const s=e("array-last"),o=e("../../../../utils/tokens"),i=o.continueToken;t.exports=function(t,n,o){const a=n&&n.shift(),r=s(t.expansion);return a==="}"?{nextReduction:t.previousReducer,nextState:t.appendChar(a).replaceLastExpansion({type:"parameter_expansion",loc:Object.assign({},r.loc,{end:t.loc.current})})}:a===void 0?{nextReduction:t.previousReducer,tokensToEmit:[i("${")],nextState:t.replaceLastExpansion({loc:Object.assign({},r.loc,{end:t.loc.previous})})}:{nextReduction:o.expansionParameterExtended,nextState:t.appendChar(a).replaceLastExpansion({parameter:(r.parameter||"")+a})}}},{"../../../../utils/tokens":73,"array-last":15}],59:[function(e,t){"use strict";const s=e("array-last");t.exports=function(t,n,o){const i=n&&n.shift(),a=s(t.expansion);return i===void 0?{nextReduction:o.start,nextState:t.replaceLastExpansion({loc:Object.assign({},a.loc,{end:t.loc.previous})})}:i.match(/[0-9a-zA-Z_]/)?{nextReduction:o.expansionParameter,nextState:t.appendChar(i).replaceLastExpansion({parameter:a.parameter+(i||"")})}:t.previousReducer(t.replaceLastExpansion({loc:Object.assign({},a.loc,{end:t.loc.previous})}),[i].concat(n),o)}},{"array-last":15}],60:[function(e,t){"use strict";const s=e("array-last");t.exports=function(t,n){const o=n&&n.shift(),i=s(t.expansion);return{nextReduction:t.previousReducer,nextState:t.appendChar(o).replaceLastExpansion({parameter:o,type:"parameter_expansion",loc:Object.assign({},i.loc,{end:t.loc.current})})}}},{"array-last":15}],61:[function(e,t){"use strict";function s(e){return e.match(/^[0-9-!@#?*$]$/)}t.exports=function(t,n,o){const i=n&&n.shift();return i==="{"?{nextReduction:o.expansionParameterExtended,nextState:t.appendChar(i)}:i==="("?{nextReduction:o.expansionCommandOrArithmetic,nextState:t.appendChar(i)}:i.match(/[a-zA-Z_]/)?{nextReduction:o.expansionParameter,nextState:t.appendChar(i).replaceLastExpansion({parameter:i,type:"parameter_expansion"})}
24:s(i)?o.expansionSpecialParameter(t,[i].concat(n)):t.previousReducer(t,[i].concat(n))}},{}],62:[function(e,t){"use strict";const s=e("./end"),o=e("./operator"),i=e("./comment"),a=e("./single-quoting"),r=e("./double-quoting"),c=e("./expansion-start"),l=e("./expansion-command-tick"),d=e("./start"),u=e("./expansion-arithmetic"),h=e("./expansion-special-parameter"),m=e("./expansion-parameter"),f=e("./expansion-command-or-arithmetic"),p=e("./expansion-parameter-extended");t.exports={end:s,operator:o,comment:i,singleQuoting:a,doubleQuoting:r,expansionStart:c,expansionCommandTick:l,start:d,expansionArithmetic:u,expansionSpecialParameter:h,expansionParameter:m,expansionCommandOrArithmetic:f,expansionParameterExtended:p}},{"./comment":52,"./double-quoting":53,"./end":54,"./expansion-arithmetic":55,"./expansion-command-or-arithmetic":56,"./expansion-command-tick":57,"./expansion-parameter":59,"./expansion-parameter-extended":58,"./expansion-special-parameter":60,"./expansion-start":61,"./operator":63,"./single-quoting":64,"./start":65}],63:[function(e,t){"use strict";const s=e("../../../../utils/tokens"),a=s.isPartOfOperator,o=s.operatorTokens,i=s.isOperator;t.exports=function(t,n,s){const r=n&&n.shift();if(r===void 0)return i(t.current)?{nextReduction:s.end,tokensToEmit:o(t),nextState:t.resetCurrent().saveCurrentLocAsStart()}:s.start(t,r);if(a(t.current+r))return{nextReduction:s.operator,nextState:t.appendChar(r)};let c=[];i(t.current)&&(c=o(t),t=t.resetCurrent().saveCurrentLocAsStart());const l=s.start(t,[r].concat(n),s),u=l.nextReduction,d=l.tokensToEmit,h=l.nextState;return d&&(c=c.concat(d)),{nextReduction:u,tokensToEmit:c,nextState:h}}},{"../../../../utils/tokens":73}],64:[function(e,t){"use strict";const s=e("../../../../utils/tokens"),o=s.tokenOrEmpty,i=s.continueToken;t.exports=function(t,n,s){const a=n&&n.shift();return a===void 0?{nextState:t,nextReduction:null,tokensToEmit:o(t).concat(i("'"))}:a==="'"?{nextReduction:s.start,nextState:t.appendChar(a)}:{nextReduction:s.singleQuoting,nextState:t.appendChar(a)}}},{"../../../../utils/tokens":73}],65:[function(e,t){"use strict";const o=e("../../../../utils/tokens"),s=o.tokenOrEmpty,i=o.newLine,a=o.isPartOfOperator;t.exports=function(t,n,o){const r=n&&n.shift();return r===void 0?{nextReduction:o.end,tokensToEmit:s(t),nextState:t.resetCurrent().saveCurrentLocAsStart()}:t.escaping&&r===` 25`?{nextReduction:o.start,nextState:t.setEscaping(!1).removeLastChar()}:!t.escaping&&r==="#"&&t.current===""?{nextReduction:o.comment}:!t.escaping&&r===` 26`?{nextReduction:o.start,tokensToEmit:s(t).concat(i()),nextState:t.resetCurrent().saveCurrentLocAsStart()}:!t.escaping&&r==="\\"?{nextReduction:o.start,nextState:t.setEscaping(!0).appendChar(r)}:!t.escaping&&a(r)?{nextReduction:o.operator,tokensToEmit:s(t),nextState:t.setCurrent(r).saveCurrentLocAsStart()}:!t.escaping&&r==="'"?{nextReduction:o.singleQuoting,nextState:t.appendChar(r)}:!t.escaping&&r==='"'?{nextReduction:o.doubleQuoting,nextState:t.appendChar(r)}:!t.escaping&&r.match(/\s/)?{nextReduction:o.start,tokensToEmit:s(t),nextState:t.resetCurrent().saveCurrentLocAsStart().setExpansion([])}:!t.escaping&&r==="$"?{nextReduction:o.expansionStart,nextState:t.appendChar(r).appendEmptyExpansion()}:!t.escaping&&r==="`"?{nextReduction:o.expansionCommandTick,nextState:t.appendChar(r).appendEmptyExpansion()}:{nextReduction:o.start,nextState:t.appendChar(r).setEscaping(!1)}}},{"../../../../utils/tokens":73}],66:[function(e,t){"use strict";const s=e("map-iterable"),o=e("../../utils/tokens").tokenOrEmpty,i=()=>s(e=>e.is("TOKEN")?e.changeTokenType("WORD",e.value):e);function a(e,t,n){const s=t&&t.shift();return s===void 0?{nextReduction:n.end,tokensToEmit:o(e),nextState:e.resetCurrent().saveCurrentLocAsStart()}:e.escaping&&s===` 27`?{nextReduction:n.start,nextState:e.setEscaping(!1).removeLastChar()}:!e.escaping&&s==="\\"?{nextReduction:n.start,nextState:e.setEscaping(!0).appendChar(s)}:!e.escaping&&s==="'"?{nextReduction:n.singleQuoting,nextState:e.appendChar(s)}:!e.escaping&&s==='"'?{nextReduction:n.doubleQuoting,nextState:e.appendChar(s)}:!e.escaping&&s==="$"?{nextReduction:n.expansionStart,nextState:e.appendChar(s).appendEmptyExpansion()}:!e.escaping&&s==="`"?{nextReduction:n.expansionCommandTick,nextState:e.appendChar(s).appendEmptyExpansion()}:{nextReduction:n.start,nextState:e.appendChar(s).setEscaping(!1)}}t.exports={inherits:"posix",init:e=>{const t=e.phaseCatalog,n=[i,t.parameterExpansion,t.arithmeticExpansion,t.commandExpansion,t.tildeExpanding,t.parameterExpansion.resolve,t.commandExpansion.resolve,t.arithmeticExpansion.resolve,t.fieldSplitting.split,t.pathExpansion,t.quoteRemoval,t.defaultNodeType],s=Object.assign({},e.tokenizer.reducers,{start:a}),o=()=>e.tokenizer({},s);return Object.assign({},e,{lexerPhases:n,tokenizer:o})}}},{"../../utils/tokens":73,"map-iterable":86}],67:[function(e,t){"use strict";const s=e("compose-function"),o=(e,t)=>({lex(){const n=this.tokenizer.next(),e=n.value,s=e.originalType,o=e.value;return this.yytext={text:o},e.expansion&&(this.yytext.expansion=e.expansion),e.originalText&&(this.yytext.originalText=e.originalText),e.type&&(this.yytext.type=e.type),e.maybeSimpleCommandName&&(this.yytext.maybeSimpleCommandName=e.maybeSimpleCommandName),e.joined&&(this.yytext.joined=e.joined),e.fieldIdx!==void 0&&(this.yytext.fieldIdx=e.fieldIdx),t.insertLOC&&e.loc&&(this.yytext.loc=e.loc),e.loc&&(this.yylineno=e.loc.start.row-1),s},setInput(n){const i=e.tokenizer(t);let o=[i];const a=[i].concat(e.lexerPhases.map(n=>{const s=n(t,e,o);return o=o.concat(s),s})),r=s.apply(null,a.reverse());this.tokenizer=r(n)}});t.exports=o},{"compose-function":74}],68:[function(e,t){"use strict";const s=e("filter-iterator"),o=e("reverse-arguments"),i=e("curry"),a=i.to(2,o(s));t.exports=a},{curry:75,"filter-iterator":77,"reverse-arguments":90}],69:[function(e,t,n){n.loggerPhase=e("./logger-phase"),n.tokens=e("./tokens"),n.isValidName=e("./is-valid-name"),n.replaceRule=e("iterable-transform-replace")},{"./is-valid-name":70,"./logger-phase":71,"./tokens":73,"iterable-transform-replace":84}],70:[function(e,t){"use strict";
27t.exports=function(t){return/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(t)}},{}],71:[function(e,t){"use strict";const s=e=>()=>function*(t){for(const n of t)n||console.log(`In ${e} token null.`),console.log(e,"<<<",n,">>>"),yield n};t.exports=s},{}],72:[function(e,t){"use strict";const s=e("./filter"),o=e=>e!==null;t.exports=s(o),s.predicate=o},{"./filter":68}],73:[function(e,t,n){"use strict";const i=e("has-own-property"),r=e("filter-obj"),a=e("../modes/posix/enums/operators");class s{constructor(e){const t=r(e,(e,t)=>t!==void 0);Object.assign(this,t),this._===void 0&&(this._={})}is(e){return this.type===e}appendTo(e){return new s(Object.assign({},this,{value:this.value+e}))}changeTokenType(e,t){return new s({type:e,value:t,loc:this.loc,_:this._,expansion:this.expansion})}setValue(e){return new s(Object.assign({},this,{value:e}))}alterValue(e){return new s(Object.assign({},this,{value:e,originalText:this.originalText||this.value}))}addExpansions(){return new s(Object.assign({},this,{expansion:[]}))}setExpansions(e){return new s(Object.assign({},this,{expansion:e}))}}n.token=e=>
27new s(e);function o(e,t,n,o){const i=new s({type:e,value:t,loc:n});return o&&o.length&&(i.expansion=o),i}n.mkToken=o,n.mkFieldSplitToken=function(t,n,o){const i=new s({type:t.type,value:n,joined:t.value,fieldIdx:o,loc:t.loc,expansion:t.expansion,originalText:t.originalText});return i},n.appendTo=(e,t)=>e.appendTo(t),n.changeTokenType=(e,t,n)=>e.changeTokenType(t,n),n.setValue=(e,t)=>e.setValue(t),n.alterValue=(e,t)=>e.alterValue(t),n.addExpansions=e=>e.addExpansions(),n.setExpansions=(e,t)=>e.setExpansions(t),n.tokenOrEmpty=function(t){if(t.current!==""&&t.current!==` 28`){const e=(t.expansion||[]).map(e=>Object.assign({},e,{loc:{start:e.loc.start.char-t.loc.start.char,end:e.loc.end.char-t.loc.start.char}})),n=o("TOKEN",t.current,{start:Object.assign({},t.loc.start),end:Object.assign({},t.loc.previous)},e);return[n]}return[]},n.operatorTokens=function(t){const n=o(a[t.current],t.current,{start:Object.assign({},t.loc.start),end:Object.assign({},t.loc.previous)});return[n]},n.newLine=function(){return o("NEWLINE",` 29`)},n.continueToken=function(t){return o("CONTINUE",t)},n.eof=function(){return o("EOF","")},n.isPartOfOperator=function(t){return Object.keys(a).some(e=>e.slice(0,t.length)===t)},n.isOperator=function(t){return i(a,t)},n.applyTokenizerVisitor=e=>(t,n,s)=>{if(i(e,t.type)){const n=e[t.type];return n(t,s)}if(i(e,"defaultMethod")){const n=e.defaultMethod;return n(t,s)}return t}},{"../modes/posix/enums/operators":24,"filter-obj":78,"has-own-property":79}],74:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=r;function s(e){return e&&e.__esModule?e:{default:e}}var o=e("arity-n"),i=s(o),a=function(t,n){return function(){return t(n.apply(void 0,arguments))}};function r(){for(var e,n,s,o=arguments.length,r=Array(o),t=0;t<o;t++)r[t]=arguments[t];if(e=r.filter(function(e){return typeof e=="function"}),n=e.length-1,s=0,e.length<=0)throw new Error("No funcs passed");return n>=0&&e[n]&&(s=e[n].length),(0,i.default)(e.reduce(a),s)}t.exports=n.default},{"arity-n":14}],75:[function(e,t){var r=Array.prototype.slice,c=function(e){return r.call(e)},l=function(e){return r.call(e,1)},a=function(e,t,n){var i=n-t.length;switch(i){case 0:return function(){return o(e,s(t,arguments),n)};case 1:return function(){return o(e,s(t,arguments),n)};case 2:return function(){return o(e,s(t,arguments),n)};case 3:return function(){return o(e,s(t,arguments),n)};case 4:return function(){return o(e,s(t,arguments),n)};case 5:return function(){return o(e,s(t,arguments),n)};case 6:return function(){return o(e,s(t,arguments),n)};case 7:return function(){return o(e,s(t,arguments),n)};case 8:return function(){return o(e,s(t,arguments),n)};case 9:return function(){return o(e,s(t,arguments),n)};case 10:return function(){return o(e,s(t,arguments),n)};default:return d(e,t,i)}},s=function(e,t){return e.concat(c(t))},d=function(e,t,n){var s=u(n),o="false||function("+s+"){ return processInvocation(fn, concatArgs(args, arguments)); }";return eval(o)},u=function(e){for(var n=[],t=0;t<e;t+=1)n.push("a"+t.toString());return n.join(",")},h=function(e,t){return e.length>t?e.slice(0,t):e},o=function(e,t,n){return t=h(t,n),t.length===n?e.apply(null,t):a(e,t,n)},i=function(e){return a(e,[],e.length)};i.to=i(function(e,t){return a(t,[],e)}),i.adaptTo=i(function(e,t){return i.to(e,function(e){var n=l(arguments).concat(e);return t.apply(this,n)})}),i.adapt=function(e){return i.adaptTo(e.length,e)},t.exports=i},{}],76:[function(e,t){t.exports=function e(t){return Object.freeze(t),Object.getOwnPropertyNames(t).forEach(function(n){t.hasOwnProperty(n)&&t[n]!==null&&(typeof t[n]=="object"||typeof t[n]=="function")&&!Object.isFrozen(t[n])&&e(t[n])}),t}},{}],77:[function(e,t){"use strict";t.exports=s;function*s(e,t){for(let n of e)t(n)&&(yield n)}},{}],78:[function(e,t){"use strict";t.exports=function(e,t){for(var n,o,i={},a=Object.keys(e),r=Array.isArray(t),s=0;s<a.length;s++)n=a[s],o=e[n],(r?t.indexOf(n)!==-1:t(n,o,e))&&(i[n]=o);return i}},{}],79:[function(e,t){var s=Object.prototype.hasOwnProperty;t.exports=function(t,n){return s.call(t,n)}},{}],80:[function(e,t){t.exports=function(e){return e}},{}],81:[function(e,t){"use strict";
29t.exports=function(e){return typeof Symbol!="undefined"&&Symbol&&"iterator"in Symbol&&e!=null&&typeof e[Symbol.iterator]=="function"}},{}],82:[function(e,t){/*! 30 * is-number <https://github.com/jonschlinkert/is-number> 31 * 32 * Copyright (c) 2014-2017, Jon Schlinkert. 33 * Released under the MIT License. 34 */"use strict";t.exports=function(t){var n=typeof t;if(n==="string"||t instanceof String){if(!t.trim())return!1}else if(n!=="number"&&!(t instanceof Number))return!1;return t-t+1>=0}},{}],83:[function(e,t){"use strict";function s(e,t){if(t===void 0&&(t=1),typeof t!="number"&&!(t instanceof Number))throw new TypeError("Size argument must be a number");if(t<1)throw new RangeError("Size argument must be greater than 0");const s=new Array(t+1),n=[],o=e[Symbol.iterator]();return{ahead(e){if(e>t)throw new RangeError(`Cannot look ahead of ${e} position, currently depth is ${t}`);if(e<1)throw new RangeError("Look ahead index must be greater than 0");return n[e-1]},behind(e){if(e>t)throw new RangeError(`Cannot look behind of ${e} position, currently depth is ${t}`);if(e<1)throw new RangeError("Look behind index must be greater than 0");return s[e]},[Symbol.iterator](){return this},next(){let e=o.next();for(;!e.done&&n.length<=t;)n.push(e.value),e=o.next();if(e.done||n.push(e.value),e.done&&n.length===0)return{done:!0};const i=n.shift();return s.unshift(i),s.pop(),{done:!1,value:i}}}}s.depth=e=>t=>s(t,e),s.spread=function(t,n){const o=s(t,n);return o._next=o.next,o.next=function(){let e=this._next();return e.done||(e.value=[e.value,o]),e},o},t.exports=s},{}],84:[function(e,t){"use strict";function o(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var s,i=o(e("curry"));function a(e,t,n){return n.map(n=>n===e?t:n)}s=i(a),t.exports=s},{curry:75}],85:[function(e,t){(function(n){(function(){"use strict";var i,l,d,h,p,g=e("vlq");function o(e,t,n){this.start=e,this.end=t,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})}o.prototype={append:function(t){this.outro+=t},clone:function(){var t=new o(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t},contains:function(t){return this.start<t&&t<this.end},eachNext:function(t){for(var n=this;n;)t(n),n=n.next},eachPrevious:function(t){for(var n=this;n;)t(n),n=n.previous},edit:function(t,n){return this.content=t,this.intro="",this.outro="",this.storeName=n,this.edited=!0,this},prepend:function(t){this.intro=t+this.intro},split:function(t){var n,s=t-this.start,i=this.original.slice(0,s),a=this.original.slice(s);return this.original=i,n=new o(t,this.end,a),n.outro=this.outro,this.outro="",this.end=t,this.edited?(n.edit("",!1),this.content=""):this.content=i,n.next=this.next,n.next&&(n.next.previous=n),n.previous=this,this.next=n,n},toString:function(){return this.intro+this.content+this.outro},trimEnd:function(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;var n=this.content.replace(t,"");if(n.length)return n!==this.content&&this.split(this.start+n.length).edit("",!1),!0;if(this.edit("",!1),this.intro=this.intro.replace(t,""),this.intro.length)return!0},trimStart:function(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;var n=this.content.replace(t,"");if(n.length)return n!==this.content&&(this.split(this.end-n.length),this.edit("",!1)),!0;if(this.edit("",!1),this.outro=this.outro.replace(t,""),this.outro.length)return!0}},typeof window!="undefined"&&typeof window.btoa=="function"?i=window.btoa:typeof n=="function"?i=function(e){return new n(e).toString("base64")}:i=function(){throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")},p=i;function c(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=e.mappings}c.prototype={toString:function(){return JSON.stringify(this)},toUrl:function(){return"data:application/json;charset=utf-8;base64,"+p(this.toString())}};function b(e){var o,n=e.split(` 35`),s=n.filter(function(e){return/^\t+/.test(e)}),t=n.filter(function(e){return/^ {2,}/.test(e)});return s.length===0&&t.length===0?null:s.length>=t.length?" ":(o=t.reduce(function(e,t){var n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0),new Array(o+1).join(" "))}function a(e){return new Array(e.split(` 36`).length).join(";")}function f(e){var o=e.split(` 37`),t=0,s=o.map(function(e,n){var s=t+e.length+1,o={start:t,end:s,line:n};return t=s,o}),n=0;function i(e,t){return e.start<=t&&t<e.end}function a(e,t){return{line:e.line,column:t-e.start}}return function(t){for(var o=s[n],r=t>=o.end?1:-1;o;){if(i(o,t))return a(o,t);n+=r,o=s[n]}}}d=/\S/;function v(e,t,n,s,o,i,r,c,l){var m,p,y,v=[],u=t.split(` 38`).length-1,b=v[u]=[],h=0,_=f(e);function j(e,t,n,s,o){(o||e.length&&d.test(e))&&b.push({generatedCodeLine:u,generatedCodeColumn:h,sourceCodeLine:n.line,sourceCodeColumn:n.column,sourceCodeName:s,sourceIndex:r});var i=e.split(` 39`),a=i.pop();i.length?(u+=i.length,v[u]=b=[],h=a.length):h+=a.length,i=t.split(` 40`),a=i.pop(),i.length?(n.line+=i.length,n.column=a.length):n.column+=a.length}function w(t,n){for(var s=t.start,a=!0;s<t.end;)(o||a||i[s])&&b.push({generatedCodeLine:u,generatedCodeColumn:h,sourceCodeLine:n.line,sourceCodeColumn:n.column,sourceCodeName:-1,sourceIndex:r}),e[s]===` 41`?(n.line+=1,n.column=0,u+=1,v[u]=b=[],h=0):(n.column+=1,h+=1),s+=1,a=!1}for(m=!1;s;)p=_(s.start),s.intro.length&&j(s.intro,"",p,-1,m),s.edited?j(s.content,s.original,p,s.storeName?l.indexOf(s.original):-1,m):w(s,p),s.outro.length&&j(s.outro,"",p,-1,m),(s.content||s.intro||s.outro)&&(m=!0),y=s.next,s=y;
41return c.sourceIndex=c.sourceIndex||0,c.sourceCodeLine=c.sourceCodeLine||0,c.sourceCodeColumn=c.sourceCodeColumn||0,c.sourceCodeName=c.sourceCodeName||0,v.map(function(e){var t=0;return e.map(function(e){var n=[e.generatedCodeColumn-t,e.sourceIndex-c.sourceIndex,e.sourceCodeLine-c.sourceCodeLine,e.sourceCodeColumn-c.sourceCodeColumn];return t=e.generatedCodeColumn,c.sourceIndex=e.sourceIndex,c.sourceCodeLine=e.sourceCodeLine,c.sourceCodeColumn=e.sourceCodeColumn,~e.sourceCodeName&&(n.push(e.sourceCodeName-c.sourceCodeName),c.sourceCodeName=e.sourceCodeName),g.encode(n)}).join(",")}).join(";")+a(n)}function u(e,t){var o,n=e.split(/[/\\]/),s=t.split(/[/\\]/);for(n.pop();n[0]===s[0];)n.shift(),s.shift();if(n.length)for(o=n.length;o--;)n[o]="..";return n.concat(s).join("/")}h=Object.prototype.toString;function m(e){return h.call(e)==="[object Object]"}function s(e,t){t===void 0&&(t={});var n=new o(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:t.filename},indentExclusionRanges:{writable:!0,value:t.indentExclusionRanges},sourcemapLocations:{writable:!0,value:{}},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:b(e)}}),!1,this.byStart[0]=n,this.byEnd[e.length]=n}s.prototype={addSourcemapLocation:function(t){this.sourcemapLocations[t]=!0},append:function(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this},clone:function(){for(var o,a,t=new s(this.original,{filename:this.filename}),i=this.firstChunk,n=t.firstChunk=t.lastSearchedChunk=i.clone();i;)t.byStart[n.start]=n,t.byEnd[n.end]=n,a=i.next,o=a&&a.clone(),o&&(n.next=o,o.previous=n,n=o),i=a;return t.lastChunk=n,this.indentExclusionRanges&&(t.indentExclusionRanges=typeof this.indentExclusionRanges[0]=="number"?[this.indentExclusionRanges[0],this.indentExclusionRanges[1]]:this.indentExclusionRanges.map(function(e){return[e.start,e.end]})),Object.keys(this.sourcemapLocations).forEach(function(e){t.sourcemapLocations[e]=!0}),t},generateMap:function(t){t=t||{};var s,n=Object.keys(this.storedNames);return!1,s=new c({file:t.file?t.file.split(/[/\\]/).pop():null,sources:[t.source?u(t.file||"",t.source):null],sourcesContent:t.includeContent?[this.original]:[null],names:n,mappings:this.getMappings(t.hires,0,{},n)}),!1,s}
41,getIndentString:function(){return this.indentStr===null?" ":this.indentStr},getMappings:function(t,n,s,o){return v(this.original,this.intro,this.outro,this.firstChunk,t,this.sourcemapLocations,n,s,o)},indent:function(t,n){var s,o,i,a,r,c,u,h,f,l=this,d=/^[^\r\n]/gm;if(m(t)&&(n=t,t=void 0),t=t!==void 0?t:this.indentStr||" ",t==="")return this;for(n=n||{},a={},n.exclude&&(h=typeof n.exclude[0]=="number"?[n.exclude]:n.exclude,h.forEach(function(e){for(var t=e[0];t<e[1];t+=1)a[t]=!0})),i=n.indentStart!==!1,r=function(e){return i?""+t+e:(i=!0,e)},this.intro=this.intro.replace(d,r),o=0,s=this.firstChunk;s;){if(f=s.end,s.edited)a[o]||(s.content=s.content.replace(d,r),s.content.length&&(i=s.content[s.content.length-1]===` 42`));else for(o=s.start;o<f;)a[o]||(u=l.original[o],u===` 43`?i=!0:u!=="\r"&&i&&(i=!1,o===s.start?s.prepend(t):(c=s.split(o),c.prepend(t),l.byStart[o]=c,l.byEnd[o]=s,s=c))),o+=1;o=s.end,s=s.next}return this.outro=this.outro.replace(d,r),this},insert:function(){throw new Error("magicString.insert(...) is deprecated. Use insertRight(...) or insertLeft(...)")},insertLeft:function(t,n){if(typeof n!="string")throw new TypeError("inserted content must be a string");!1,this._split(t);var s=this.byEnd[t];return s?s.append(n):this.intro+=n,!1,this},insertRight:function(t,n){if(typeof n!="string")throw new TypeError("inserted content must be a string");!1,this._split(t);var s=this.byStart[t];return s?s.prepend(n):this.outro+=n,!1,this},move:function(t,n,s){if(s>=t&&s<=n)throw new Error("Cannot move a selection inside itself");!1,this._split(t),this._split(n),this._split(s);var r,a=this.byStart[t],o=this.byEnd[n],c=a.previous,l=o.next,i=this.byStart[s];return!i&&o===this.lastChunk?this:(r=i?i.previous:this.lastChunk,c&&(c.next=l),l&&(l.previous=c),r&&(r.next=a),i&&(i.previous=o),a.previous||(this.firstChunk=o.next),o.next||(this.lastChunk=a.previous,this.lastChunk.next=null),a.previous=r,o.next=i,r||(this.firstChunk=a),i||(this.lastChunk=o),!1,this)},overwrite:function(t,n,s,i){var a,r,c,l,u,d=this;if(typeof s!="string")throw new TypeError("replacement content must be a string");for(;t<0;)t+=d.original.length;for(;n<0;)n+=d.original.length;if(n>this.original.length)throw new Error("end is out of bounds");if(t===n)throw new Error("Cannot overwrite a zero-length range â use insertLeft or insertRight instead");if(!1,this._split(t),this._split(n),i&&(u=this.original.slice(t,n),this.storedNames[u]=!0),r=this.byStart[t],c=this.byEnd[n],r){if(r.edit(s,i),r!==c){for(a=r.next;a!==c;)a.edit("",!1),a=a.next;a.edit("",!1)}}else l=new o(t,n,"").edit(s,i),c.next=l,l.previous=c;return!1,this},prepend:function(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this},remove:function(t,n){for(var s=this;t<0;)t+=s.original.length;for(;n<0;)n+=s.original.length;if(t===n)return this;if(t<0||n>this.original.length)throw new Error("Character is out of bounds");if(t>n)throw new Error("end must be greater than start");return this.overwrite(t,n,"",!1)},slice:function(t,n){var s,o,i,a,c,l,r=this;for(t===void 0&&(t=0),n===void 0&&(n=this.original.length);t<0;)t+=r.original.length;for(;n<0;)n+=r.original.length;for(o="",s=this.firstChunk;s&&(s.start>t||s.end<=t);){if(s.start<n&&s.end>=n)return o;s=s.next}if(s&&s.edited&&s.start!==t)throw new Error("Cannot use replaced character "+t+" as slice start anchor.");for(a=s;s;){if(s.intro&&(a!==s||s.start===t)&&(o+=s.intro),i=s.start<n&&s.end>=n,i&&s.edited&&s.end!==n)throw new Error("Cannot use replaced character "+n+" as slice end anchor.");if(c=a===s?t-s.start:0,l=i?s.content.length+n-s.end:s.content.length,o+=s.content.slice(c,l),s.outro&&(!i||s.end===n)&&(o+=s.outro),i)break;s=s.next}return o},snip:function(t,n){var s=this.clone();return s.remove(0,t),s.remove(n,s.original.length),s},_split:function(t){var n,o,s=this;if(this.byStart[t]||this.byEnd[t])return;for(!1,n=this.lastSearchedChunk,o=t>n.end;!0;){if(n.contains(t))return s._splitChunk(n,t);n=o?s.byStart[n.end]:s.byEnd[n.start]}},_splitChunk:function(t,n){if(t.edited&&t.content.length){var s,o=f(this.original)(n);throw new Error("Cannot split a chunk that has already been edited ("+o.line+":"+o.column+' â "'+t.original+'")')}return s=t.split(n),this.byEnd[n]=t,this.byStart[n]=s,this.byEnd[s.end]=s,t===this.lastChunk&&(this.lastChunk=s),this.lastSearchedChunk=t,!1,!0},toString:function(){for(var n=this.intro,t=this.firstChunk;t;)n+=t.toString(),t=t.next;return n+this.outro},trimLines:function(){return this.trim(`[\\r\\n]`)},trim:function(t){return this.trimStart(t).trimEnd(t)},trimEnd:function(t){var n,i,a,s=this,o=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(o,""),this.outro.length)return this;n=this.lastChunk;do{if(i=n.end,a=n.trimEnd(o),n.end!==i&&(s.lastChunk=n.next,s.byEnd[n.end]=n,s.byStart[n.next.start]=n.next),a)return s;n=n.previous}while(n)return this},trimStart:function(t){var n,i,a,s=this,o=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(o,""),this.intro.length)return this;n=this.firstChunk;do{if(i=n.end,a=n.trimStart(o),n.end!==i&&(n===s.lastChunk&&(s.lastChunk=n.next),s.byEnd[n.end]=n,s.byStart[n.next.start]=n.next),a)return s;n=n.next}while(n)return this}},l=Object.prototype.hasOwnProperty;function r(e){e===void 0&&(e={}),this.intro=e.intro||"",this.separator=e.separator!==void 0?e.separator:` 44`,this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}}r.prototype={addSource:function(t){if(t instanceof s)return this.addSource({content:t,filename:t.filename,separator:this.separator});if(!m(t)||!t.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");
44if(["filename","indentExclusionRanges","separator"].forEach(function(e){l.call(t,e)||(t[e]=t.content[e])}),t.separator===void 0&&(t.separator=this.separator),t.filename)if(l.call(this.uniqueSourceIndexByFilename,t.filename)){{var n=this.uniqueSources[this.uniqueSourceIndexByFilename[t.filename]];if(t.content.original!==n.content)throw new Error("Illegal source: same filename ("+t.filename+"), different contents")}}else this.uniqueSourceIndexByFilename[t.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:t.filename,content:t.content.original});return this.sources.push(t),this},append:function(t,n){return this.addSource({content:new s(t),separator:n&&n.separator||""}),this},clone:function(){var t=new r({intro:this.intro,separator:this.separator});return this.sources.forEach(function(e){t.addSource({filename:e.filename,content:e.content.clone(),separator:e.separator})}),t},generateMap:function(t){var n,s,o,i=this;return t=t||{},s={},n=[],this.sources.forEach(function(e){Object.keys(e.content.storedNames).forEach(function(e){~n.indexOf(e)||n.push(e)})}),o=a(this.intro)+this.sources.map(function(e,o){var r,c,l=o>0?a(e.separator)||",":"";return e.filename?(c=i.uniqueSourceIndexByFilename[e.filename],r=e.content.getMappings(t.hires,c,s,n)):r=a(e.content.toString()),l+r}).join(""),new c({file:t.file?t.file.split(/[/\\]/).pop():null,sources:this.uniqueSources.map(function(e){return t.file?u(t.file,e.filename):e.filename}),sourcesContent:this.uniqueSources.map(function(e){return t.includeContent?e.content:null}),names:n,mappings:o})}
44,getIndentString:function(){var t={};return this.sources.forEach(function(e){var n=e.content.indentStr;if(n===null)return;t[n]||(t[n]=0),t[n]+=1}),Object.keys(t).sort(function(e,n){return t[e]-t[n]})[0]||" "},indent:function(t){var n,s=this;return arguments.length||(t=this.getIndentString()),t===""?this:(n=!this.intro||this.intro.slice(-1)===` 45`,this.sources.forEach(function(e,o){var i=e.separator!==void 0?e.separator:s.separator,a=n||o>0&&/\r?\n$/.test(i);e.content.indent(t,{exclude:e.indentExclusionRanges,indentStart:a}),n=e.content.toString().slice(0,-1)===` 46`}),this.intro&&(this.intro=t+this.intro.replace(/^[^\n]/gm,function(e,n){return n>0?t+e:e})),this)},prepend:function(t){return this.intro=t+this.intro,this},toString:function(){var t=this,n=this.sources.map(function(e,n){var s=e.separator!==void 0?e.separator:t.separator,o=(n>0?s:"")+e.content.toString();return o}).join("");return this.intro+n},trimLines:function(){return this.trim(`[\\r\\n]`)},trim:function(t){return this.trimStart(t).trimEnd(t)},trimStart:function(t){var n,s,o=this,i=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(i,""),!this.intro){s=0;do{if(n=o.sources[s],!n)break;n.content.trimStart(t),s+=1}while(n.content.toString()==="")}return this},trimEnd:function(t){var n,s=this,i=new RegExp((t||"\\s")+"+$"),o=this.sources.length-1;do{if(n=s.sources[o],!n){s.intro=s.intro.replace(i,"");break}n.content.trimEnd(t),o-=1}while(n.content.toString()==="")return this}},s.Bundle=r,t.exports=s}).call(this)}).call(this,e("buffer").Buffer)},{buffer:4,vlq:98}],86:[function(e,t){"use strict";const s=e("curry"),o=e("is-iterable");function i(e){return e}function a(e,t){if(typeof e!="function"&&(typeof e!="object"||e===null))throw new TypeError("Callback argument must be a function or option object");if(!o(t))throw new TypeError("Data argument must be an iterable");let n=0;const s=e.init||i,a=e.callback||e,r=s(t),c=t[Symbol.iterator]();return{[Symbol.iterator](){return this},next(){const e=c.next();return e.done||(e.value=a(e.value,n++,r)),e}}}t.exports=s(a)},{curry:75,"is-iterable":81}],87:[function(e,t){"use strict";const s=e=>typeof e=="object"&&e!==null&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date);t.exports=function e(t,n,o,i){if(o=Object.assign({deep:!1,target:{}},o),i=i||new WeakMap,i.has(t))return i.get(t);i.set(t,o.target);const a=o.target;delete o.target;for(const c of Object.keys(t)){const d=t[c],l=n(c,d,t);let r=l[1];o.deep&&s(r)&&(Array.isArray(r)?r=r.map(t=>s(t)?e(t,n,o,i):t):r=e(r,n,o,i)),a[l[0]]=r}return a}},{}],88:[function(e,t){"use strict";t.exports=function(e){return Object.keys(e).map(function(t){return[t,e[t]]})}},{}],89:[function(e,t){"use strict";t.exports=function(e){for(var n=Object.keys(e),s=[],t=0;t<n.length;t++)s.push(e[n[t]]);return s}},{}],90:[function(e,t){t.exports=function(t,n){return function(){var e=Array.prototype.slice.call(arguments);return t.apply(n||this,e.reverse())}}},{}],91:[function(e,t){"use strict";for(var s="|&;()<> \\t",i=`(\\\\['"`+s+`]|[^\\s'"`+s+"])+",a='"((\\\\"|[^"])*?)"',r="'((\\\\'|[^'])*?)'",c="",o=0;o<4;o++)c+=(Math.pow(16,8)*Math.random()).toString(16);t.exports=function(t){var o=new RegExp(["("+i+"|"+a+"|"+r+")*"].join("|"),"g"),n=t.match(o).filter(Boolean),s=!1;return n?n.map((e,t)=>{if(s)return void 0;for(var o,d="'",u='"',c="\\",r=!1,l=!1,i="",a=0,h=e.length;a<h;a++)if(o=e.charAt(a),l)i+=o,l=!1;else if(r)o===r?r=!1:r===d?i+=o:o===c?(a+=1,o=e.charAt(a),o===u||o===c?i+=o:i+=c+o):i+=o;else if(o===u||o===d)r=o;else if(RegExp("^#$").test(o))return s=!0,i.length?[i,{comment:e.slice(a+1)+n.slice(t+1).join(" ")}]:[{comment:e.slice(a+1)+n.slice(t+1).join(" ")}];else o===c?l=!0:i+=o;return i}).reduce((e,t)=>t===void 0?e:e.concat(t),[]):[]}},{}],92:[function(){/*! http://mths.be/fromcodepoint v0.2.1 by @mathias */String.fromCodePoint||function(){var e=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch{}return n}(),n=String.fromCharCode,s=Math.floor,t=function(){var t,r,c,l,d=16384,o=[],i=-1,a=arguments.length;if(!a)return"";for(r="";++i<a;){if(t=Number(arguments[i]),!isFinite(t)||t<0||t>1114111||s(t)!=t)throw RangeError("Invalid code point: "+t);t<=65535?o.push(t):(t-=65536,c=(t>>10)+55296,l=t%1024+56320,o.push(c,l)),(i+1==a||o.length>d)&&(r+=n.apply(null,o),o.length=0)}return r};e?e(String,"fromCodePoint",{value:t,configurable:!0,writable:!0}):String.fromCodePoint=t}()},{}],93:[function(e,t){t.exports=c;
46var s,o,i=/\s/,a=/(_|-|\.|:)/,r=/([a-z][A-Z]|[A-Z][a-z])/;function c(e){return i.test(e)?e.toLowerCase():a.test(e)?(l(e)||e).toLowerCase():r.test(e)?d(e).toLowerCase():e.toLowerCase()}s=/[\W_]+(.|$)/g;function l(e){return e.replace(s,function(e,t){return t?" "+t:""})}o=/(.)([A-Z]+)/g;function d(e){return e.replace(o,function(e,t,n){return t+" "+n.toLowerCase().split("").join(" ")})}},{}],94:[function(e,t){var s=e("to-space-case");t.exports=o;function o(e){return s(e).replace(/(?:^|\s)(\w)/g,function(e,t){return t.toUpperCase()})}},{"to-space-case":95}],95:[function(e,t){var s=e("to-no-case");t.exports=o;function o(e){return s(e).replace(/[\W_]+(.|$)/g,function(e,t){return t?" "+t:""}).trim()}},{"to-no-case":93}],96:[function(e,t){"use strict";function*s(e){for(const t of e)typeof t[Symbol.iterator]=="function"?yield*t:yield t}t.exports=s},{}],97:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("string.fromcodepoint");var o=/\\(u\{([0-9A-Fa-f]+)\}|u([0-9A-Fa-f]{4})|x([0-9A-Fa-f]{2})|([1-7][0-7]{0,2}|[0-7]{2,3})|(['"tbrnfv0\\]))|\\U([0-9A-Fa-f]{8})/g,i={0:"\0",b:"�",f:"�",n:` 47`,r:"\r",t:" ",v:"�","'":"'",'"':'"',"\\":"\\"},s=function(t){return String.fromCodePoint(parseInt(t,16))},a=function(t){return String.fromCodePoint(parseInt(t,8))},r=function(t){return t.replace(o,function(e,t,n,o,r,c,l,d){return n!==void 0?s(n):o!==void 0?s(o):r!==void 0?s(r):c!==void 0?a(c):d!==void 0?s(d):i[l]})};n.default=r,t.exports=n.default},{"string.fromcodepoint":92}],98:[function(e,t,n){(function(e,s){typeof n=="object"&&typeof t!="undefined"?s(n):typeof define=="function"&&define.amd?define(["exports"],s):s(e.vlq=e.vlq||{})})(this,function(e){"use strict";var t={},n={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,s){t[e]=s,n[s]=e});function o(e){for(var s,r,c,a=[],i=0,n=0,o=0;o<e.length;o+=1){if(s=t[e[o]],s===void 0)throw new Error("Invalid character ("+e[o]+")");r=s&32,s&=31,n+=s<<i,r?i+=5:(c=n&1,n>>=1,a.push(c?-n:n),n=i=0)}return a}function i(e){if(typeof e=="number")t=s(e);else{t="";for(var t,n=0;n<e.length;n+=1)t+=s(e[n])}return t}function s(e){var t,s="";e<0?e=-e<<1|1:e<<=1;do t=e&31,e>>=5,e>0&&(t|=32),s+=n[t];while(e>0)return s}e.decode=o,e.encode=i,Object.defineProperty(e,"__esModule",{value:!0})})},{}]},{},[1])
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.