>1,p=-7,l=a?i-1:0,f=a?-1:1,m=e[t+l];for(l+=f,r=m&(1<<-p)-1,m>>=-p,p+=s;0>=-p,p+=n;0
>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,m=n?0:r-1,d=n?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=p):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),2<=(t+=1<=o+l?f/c:f*Math.pow(2,1-l))*c&&(o++,c/=2),p<=o+l?(s=0,o=p):1<=o+l?(s=(t*c-1)*Math.pow(2,i),o+=l):(s=t*Math.pow(2,l-1)*Math.pow(2,i),o=0));8<=i;e[a+m]=255&s,m+=d,s/=256,i-=8);for(o=o<=n.flowLevel;switch(J(i,a,n.indent,t,function(e){return function(e,t){var a,n;for(a=0,n=e.implicitTypes.length;a"+V(i,n.indent)+Y(O(function(e,t){var a,n,i=/(\n+)([^\n]*)/g,r=(s=e.indexOf("\n"),s=-1!==s?s:e.length,i.lastIndex=s,Z(e.slice(0,s),t)),o="\n"===e[0]||" "===e[0];var s;for(;n=i.exec(e);){var c=n[1],u=n[2];a=" "===u[0],r+=c+(o||a||""===u?"":"\n")+Z(u,t),o=a}return r}(i,t),e));case H:return'"'+function(e){for(var t,a,n,i="",r=0;rt&&r tag resolver accepts not "'+c+'" style');n=s.represent[c](t,c)}e.dump=n}return!0}return!1}function Q(e,t,a,n,i,r){e.tag=null,e.dump=a,X(e,a,!1)||X(e,a,!0);var o=p.call(e.dump);n&&(n=e.flowLevel<0||e.flowLevel>t);var s,c,u="[object Object]"===o||"[object Array]"===o;if(u&&(c=-1!==(s=e.duplicates.indexOf(a))),(null!==e.tag&&"?"!==e.tag||c||2!==e.indent&&0 "+e.dump)}return!0}function ee(e,t){var a,n,i=[],r=[];for(function e(t,a,n){var i,r,o;if(null!==t&&"object"===(void 0===t?"undefined":u(t)))if(-1!==(r=a.indexOf(t)))-1===n.indexOf(r)&&n.push(r);else if(a.push(t),Array.isArray(t))for(r=0,o=t.length;rt)&&0!==n)z(e,"bad indentation of a sequence entry");else if(e.lineIndentt?m=1:e.lineIndent===t?m=0:e.lineIndentt?m=1:e.lineIndent===t?m=0:e.lineIndentt)&&(G(e,t,x,!0,i)&&(h?m=e.result:d=e.result),h||(O(e,p,l,f,m,d,r,o),f=m=d=null),L(e,!0,-1),s=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==s)z(e,"bad indentation of a mapping entry");else if(e.lineIndentp&&(p=e.lineIndent),C(r))l++;else{if(e.lineIndent>10),56320+(c-65536&1023)),e.position++}else z(e,"unknown escape sequence");a=n=e.position}else C(s)?(M(e,a,n,!0),N(e,L(e,!1,t)),a=n=e.position):e.position===e.lineStart&&P(e)?z(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}z(e,"unexpected end of the stream within a double quoted scalar")}(e,l)?h=!0:!function(e){var t,a,n;if(42!==(n=e.input.charCodeAt(e.position)))return!1;for(n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!S(n)&&!k(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&z(e,"name of an alias node must contain at least one character"),a=e.input.slice(t,e.position),e.anchorMap.hasOwnProperty(a)||z(e,'unidentified alias "'+a+'"'),e.result=e.anchorMap[a],L(e,!0,-1),!0}(e)?function(e,t,a){var n,i,r,o,s,c,u,p,l=e.kind,f=e.result;if(S(p=e.input.charCodeAt(e.position))||k(p)||35===p||38===p||42===p||33===p||124===p||62===p||39===p||34===p||37===p||64===p||96===p)return!1;if((63===p||45===p)&&(S(n=e.input.charCodeAt(e.position+1))||a&&k(n)))return!1;for(e.kind="scalar",e.result="",i=r=e.position,o=!1;0!==p;){if(58===p){if(S(n=e.input.charCodeAt(e.position+1))||a&&k(n))break}else if(35===p){if(S(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&P(e)||a&&k(p))break;if(C(p)){if(s=e.line,c=e.lineStart,u=e.lineIndent,L(e,!1,-1),e.lineIndent>=t){o=!0,p=e.input.charCodeAt(e.position);continue}e.position=r,e.line=s,e.lineStart=c,e.lineIndent=u;break}}o&&(M(e,i,r,!1),N(e,e.line-s),i=r=e.position,o=!1),D(p)||(r=e.position+1),p=e.input.charCodeAt(++e.position)}return M(e,i,r,!1),!!e.result||(e.kind=l,e.result=f,!1)}(e,l,v===a)&&(h=!0,null===e.tag&&(e.tag="?")):(h=!0,null===e.tag&&null===e.anchor||z(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===m&&(h=s&&U(e,f))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(c=0,u=e.implicitTypes.length;c tag; it should be "'+p.kind+'", not "'+e.kind+'"'),p.resolve(e.result)?(e.result=p.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):z(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):z(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||h}function K(e){var t,a,n,i,r=e.position,o=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(i=e.input.charCodeAt(e.position))&&(L(e,!0,-1),i=e.input.charCodeAt(e.position),!(0t/2-1){a=" ... ",n+=5;break}for(i="",r=this.position;rt/2-1){i=" ... ",r-=5;break}return o=this.buffer.slice(n,r),s.repeat(" ",e)+a+o+i+"\n"+s.repeat(" ",e+this.position-n+a.length)+"^"},n.prototype.toString=function(e){var t,a="";return this.name&&(a+='in "'+this.name+'" '),a+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(a+=":\n"+t),a},t.exports=n},{"./common":170}],175:[function(e,t,a){"use strict";var n=e("./common"),i=e("./exception"),r=e("./type");function o(e,t,n){var i=[];return e.include.forEach(function(e){n=o(e,t,n)}),e[t].forEach(function(a){n.forEach(function(e,t){e.tag===a.tag&&e.kind===a.kind&&i.push(t)}),n.push(a)}),n.filter(function(e,t){return-1===i.indexOf(t)})}function s(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach(function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new i("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}),this.compiledImplicit=o(this,"implicit",[]),this.compiledExplicit=o(this,"explicit",[]),this.compiledTypeMap=function(){var e,t,a={scalar:{},sequence:{},mapping:{},fallback:{}};function n(e){a[e.kind][e.tag]=a.fallback[e.tag]=e}for(e=0,t=arguments.length;e>16&255),s.push(o>>8&255),s.push(255&o)),o=o<<6|r.indexOf(n.charAt(t));return 0==(a=i%4*6)?(s.push(o>>16&255),s.push(o>>8&255),s.push(255&o)):18===a?(s.push(o>>10&255),s.push(o>>2&255)):12===a&&s.push(o>>4&255),c?c.from?c.from(s):new c(s):s},predicate:function(e){return c&&c.isBuffer(e)},represent:function(e){var t,a,n="",i=0,r=e.length,o=u;for(t=0;t>18&63],n+=o[i>>12&63],n+=o[i>>6&63],n+=o[63&i]),i=(i<<8)+e[t];return 0==(a=r%3)?(n+=o[i>>18&63],n+=o[i>>12&63],n+=o[i>>6&63],n+=o[63&i]):2===a?(n+=o[i>>10&63],n+=o[i>>4&63],n+=o[i<<2&63],n+=o[64]):1===a&&(n+=o[i>>2&63],n+=o[i<<4&63],n+=o[64],n+=o[64]),n}})},{"../type":181}],183:[function(e,t,a){"use strict";var n=e("../type");t.exports=new n("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},{"../type":181}],184:[function(e,t,a){"use strict";var n=e("../common"),i=e("../type"),r=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var o=/^[-+]?[0-9]+e/;t.exports=new i("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!r.test(e)||"_"===e[e.length-1])},construct:function(e){var t,a,n,i;return a="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,i=[],0<="+-".indexOf(t[0])&&(t=t.slice(1)),".inf"===t?1===a?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:0<=t.indexOf(":")?(t.split(":").forEach(function(e){i.unshift(parseFloat(e,10))}),t=0,n=1,i.forEach(function(e){t+=e*n,n*=60}),a*t):a*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||n.isNegativeZero(e))},represent:function(e,t){var a;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(n.isNegativeZero(e))return"-0.0";return a=e.toString(10),o.test(a)?a.replace("e",".e"):a},defaultStyle:"lowercase"})},{"../common":170,"../type":181}],185:[function(e,t,a){"use strict";var n=e("../common"),i=e("../type");t.exports=new i("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,a,n,i,r=e.length,o=0,s=!1;if(!r)return!1;if("-"!==(t=e[o])&&"+"!==t||(t=e[++o]),"0"===t){if(o+1===r)return!0;if("b"===(t=e[++o])){for(o++;or&&(a.maxLength=r),o&&a.minLengthi&&(s=s.substr(0,i))}return s},merge:g,clean:function t(a,e,n){return a&&"object"===(void 0===a?"undefined":d(a))?Array.isArray(a)?a=a.map(function(e){return t(e,!0,n)}).filter(function(e){return void 0!==e}):(Object.keys(a).forEach(function(e){n&&-1!==n.indexOf(e)?a[e]=t(a[e]):Array.isArray(a[e])&&!a[e].length&&delete a[e]}),Object.keys(a).length||!e?a:void 0):a},short:function(e){var t=JSON.stringify(e),a=JSON.stringify(e,null,2);return 400a.maximum?0:t.maximum,a.exclusiveMinimum=!0),void 0!==t.minLength&&(a.maxLength=t.minLength),void 0!==t.maxLength&&(a.minLength=t.maxLength>a.maxLength?0:t.maxLength),t.type)a.type=z.pick(m.ALL_TYPES.filter(function(e){return"number"===e||"integer"===e?"number"!==t.type&&"integer"!==t.type:e!==t.type}));else if(t.enum){do{var n=y()}while(-1!==t.enum.indexOf(n));a.enum=[n]}return t.required&&a.properties&&t.required.forEach(function(e){delete a.properties[e]}),a},anyValue:y,validate:function(t,e){return!e.every(function(e){return void 0!==e.minimum&&t>=e.minimum||void 0!==e.maximum&&t<=e.maximum||void 0})},isKey:function(e){return"enum"===e||"default"===e||"required"===e||"definitions"===e}},R=function(n){function e(e,t){var a=n.call(this)||this;return a.path=t,Error.captureStackTrace&&Error.captureStackTrace(a,a.constructor),a.name="ParseError",a.message=e,a.path=t,a}return i.__extends(e,n),e}(Error),v={array:["additionalItems","items","maxItems","minItems","uniqueItems"],integer:["exclusiveMaximum","exclusiveMinimum","maximum","minimum","multipleOf"],object:["additionalProperties","dependencies","maxProperties","minProperties","patternProperties","properties","required"],string:["maxLength","minLength","pattern"]};v.number=v.integer;var w=["additionalItems","items","additionalProperties","dependencies","patternProperties","properties"];function b(e,a,n){return 0t&&(a=a.substr(0,t)),a}function S(){return z.date().toISOString()}var k={email:"[a-zA-Z\\d][a-zA-Z\\d-]{1,13}[a-zA-Z\\d]@{hostname}",hostname:"[a-zA-Z]{1,33}\\.[a-z]{2,4}",ipv6:"[a-f\\d]{4}(:[a-f\\d]{4}){7}",uri:"https?://[a-zA-Z][a-zA-Z0-9+-.]*","uri-reference":"(https?://|#|/|)[a-zA-Z][a-zA-Z0-9+-.]*"};function F(e,t){var a,n=l(e.format);if("function"==typeof n)return n(e);switch(e.format){case"date-time":case"datetime":return S();case"date":return S().slice(0,10);case"time":return S().slice(11);case"ipv4":return[0,0,0,0].map(function(){return z.number(0,255)}).join(".");case"regex":return".+?";case"email":case"hostname":case"ipv6":case"uri":case"uri-reference":return a=e.format,z.randexp(k[a]).replace(/\{(\w+)\}/,function(e,t){return z.randexp(k[t])});default:if(void 0!==n)throw new Error('unsupported format "'+e.format+'"');if(_("failOnInvalidFormat"))throw new Error("unknown registry key "+B.short(e.format));return t()}}var O={boolean:x,null:A,array:function(e,n,i,r){var t=[];if(!e.items&&!e.additionalItems){if(B.hasProperties(e,"minItems","maxItems","uniqueItems"))throw new R("missing items for "+B.short(e),n);return t}var a=e.items;if(a instanceof Array)return Array.prototype.concat.call(t,a.map(function(e,t){var a=n.concat(["items",t+""]);return r(e,a,i)}));var o=e.minItems,s=e.maxItems;_("minItems")&&void 0===o&&(o=s?Math.min(_("minItems"),s):_("minItems")),_("maxItems")&&(s&&s>_("maxItems")&&(s=_("maxItems")),o&&o>_("maxItems")&&(o=s));for(var c=!0===_("alwaysFakeOptionals")?1:_("optionalsProbability"),u=null!=s&&c?Math.round(s*c):z.number(o,s,1,5),p="object"===d(e.additionalItems)?e.additionalItems:{},l=t.length;lg){var S=0;do{if(1e3<(S+=1))break;var k=z.pick(u)}while(void 0!==i[k]);void 0===i[k]&&(i[k]=r[k],D+=1)}else{var F=M(1)+z.randexp("[a-f\\d]{1,3}");i[F]||(i[F]=m||T,D+=1)}p.forEach(function(e){var t=z.randexp(e);i[t]||(i[t]=o[e],D+=1)})}if(!c&&Dc.redirects)n(m({status:e.statusCode},"Error downloading %s. \nToo many redirects: \n %s",u[0],u.join(" \n ")));else{if(!e.headers.location)throw m({status:e.statusCode},"HTTP %d redirect with no location header",e.statusCode);h("HTTP %d redirect %s -> %s",e.statusCode,s.href,e.headers.location);var t=d.resolve(s,e.headers.location);o(t,c,u).then(a,n)}else a(e.body||new p(0))}).catch(function(e){n(m(e,"Error downloading",s.href))})})}(t,this)}}}).call(this,e("_process"),e("buffer").Buffer)},{"../util/debug":215,"../util/url":217,_process:235,buffer:20,http:271,https:163,ono:230}],215:[function(e,t,a){"use strict";var n=e("debug");t.exports=n("json-schema-ref-parser")},{debug:24}],216:[function(e,t,a){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m=e("./debug");function d(e,t,a,n){var i=e[t];if("function"==typeof i)return i.apply(e,[a,n]);if(!n){if(i instanceof RegExp)return i.test(a.url);if("string"==typeof i)return i===a.extension;if(Array.isArray(i))return-1!==i.indexOf(a.extension)}return i}a.all=function(t){return Object.keys(t).filter(function(e){return"object"===n(t[e])}).map(function(e){return t[e].name=e,t[e]})},a.filter=function(e,t,a){return e.filter(function(e){return!!d(e,t,a)})},a.sort=function(e){return e.forEach(function(e){e.order=e.order||Number.MAX_SAFE_INTEGER}),e.sort(function(e,t){return e.order-t.order})},a.run=function(s,c,u){var p,l,f=0;return new Promise(function(t,a){function n(){if(!(p=s[f++]))return a(l);try{m(" %s",p.name);var e=d(p,c,u,i);e&&"function"==typeof e.then?e.then(r,o):void 0!==e&&r(e)}catch(e){o(e)}}function i(e,t){e?o(e):r(t)}function r(e){m(" success"),t({plugin:p,result:e})}function o(e){m(" %s",e.message||e),l=e,n()}n()})}},{"./debug":215}],217:[function(e,t,u){(function(a){"use strict";var i=/^win/.test(a.platform),r=/\//g,n=/^(\w{2,}):\/\//i,o=t.exports,s=[/\?/g,"%3F",/\#/g,"%23"],c=[/\%23/g,"#",/\%24/g,"$",/\%26/g,"&",/\%2C/g,",",/\%40/g,"@"];u.parse=e("url").parse,u.resolve=e("url").resolve,u.cwd=function(){return a.browser?location.href:a.cwd()+"/"},u.getProtocol=function(e){var t=n.exec(e);if(t)return t[1].toLowerCase()},u.getExtension=function(e){var t=e.lastIndexOf(".");return 0<=t?e.substr(t).toLowerCase():""},u.getHash=function(e){var t=e.indexOf("#");return 0<=t?e.substr(t):"#"},u.stripHash=function(e){var t=e.indexOf("#");return 0<=t&&(e=e.substr(0,t)),e},u.isHttp=function(e){var t=o.getProtocol(e);return"http"===t||"https"===t||void 0===t&&a.browser},u.isFileSystemPath=function(e){if(a.browser)return!1;var t=o.getProtocol(e);return void 0===t||"file"===t},u.fromFileSystemPath=function(e){i&&(e=e.replace(/\\/g,"/")),e=encodeURI(e);for(var t=0;t=a||(R.lastCommentStart=a,r={type:e,value:t},s.range&&(r.range=[a,n]),s.loc&&(r.loc=i),s.comments.push(r),s.attachComment&&(s.leadingComments.push(r),s.trailingComments.push(r)))}function v(e){var t,a,n,i;for(t=F-e,a={start:{line:p,column:F-l-e}};F<_;)if(n=S.charCodeAt(F),++F,h(n))return s.comments&&(i=S.slice(t+e,F-1),a.end={line:p,column:F-l-1},u("Line",i,t,F-1,a)),13===n&&10===S.charCodeAt(F)&&++F,++p,void(l=F);s.comments&&(i=S.slice(t+e,F),a.end={line:p,column:F-l},u("Line",i,t,F,a))}function w(){var e,t,a,n;for(s.comments&&(e=F-2,t={start:{line:p,column:F-l-2}});F<_;)if(h(a=S.charCodeAt(F)))13===a&&10===S.charCodeAt(F+1)&&++F,++p,_<=(l=++F)&&H({},D.UnexpectedToken,"ILLEGAL");else if(42===a){if(47===S.charCodeAt(F+1))return++F,++F,void(s.comments&&(n=S.slice(e+2,F-2),t.end={line:p,column:F-l},u("Block",n,e,F,t)));++F}else++F;H({},D.UnexpectedToken,"ILLEGAL")}function T(){var e,t,a;for(t=0===F;F<_;)if(e=S.charCodeAt(F),32===(a=e)||9===a||11===a||12===a||160===a||5760<=a&&0<=[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(a))++F;else if(h(e))++F,13===e&&10===S.charCodeAt(F)&&++F,++p,l=F,t=!0;else if(47===e)if(47===(e=S.charCodeAt(F+1)))++F,++F,v(2),t=!0;else{if(42!==e)break;++F,++F,w()}else if(t&&45===e){if(45!==S.charCodeAt(F+1)||62!==S.charCodeAt(F+2))break;F+=3,v(3)}else{if(60!==e)break;if("!--"!==S.slice(F+1,F+4))break;++F,++F,++F,++F,v(4)}}function b(e){var t,a,n,i=0;for(a="u"===e?4:2,t=0;t>>="===(n=S.substr(F,4))?(F+=4,{type:j.Punctuator,value:n,lineNumber:p,lineStart:l,start:i,end:F}):">>>"===(a=n.substr(0,3))||"<<="===a||">>="===a?(F+=3,{type:j.Punctuator,value:a,lineNumber:p,lineStart:l,start:i,end:F}):o===(t=a.substr(0,2))[1]&&0<="+-<>&|".indexOf(o)||"=>"===t?(F+=2,{type:j.Punctuator,value:t,lineNumber:p,lineStart:l,start:i,end:F}):0<="<>=!+-*%&|^/".indexOf(o)?(++F,{type:j.Punctuator,value:o,lineNumber:p,lineStart:l,start:i,end:F}):void H({},D.UnexpectedToken,"ILLEGAL")}function O(){var e,t,a;if(f(r((a=S[F]).charCodeAt(0))||"."===a,"Numeric literal must start with a decimal digit or a decimal point"),t=F,e="","."!==a){if(e=S[F++],a=S[F],"0"===e){if("x"===a||"X"===a)return++F,function(e){for(var t="";F<_&&o(S[F]);)t+=S[F++];return 0===t.length&&H({},D.UnexpectedToken,"ILLEGAL"),M(S.charCodeAt(F))&&H({},D.UnexpectedToken,"ILLEGAL"),{type:j.NumericLiteral,value:parseInt("0x"+t,16),lineNumber:p,lineStart:l,start:e,end:F}}(t);if(m(a))return function(e){for(var t="0"+S[F++];F<_&&m(S[F]);)t+=S[F++];return(M(S.charCodeAt(F))||r(S.charCodeAt(F)))&&H({},D.UnexpectedToken,"ILLEGAL"),{type:j.NumericLiteral,value:parseInt(t,8),octal:!0,lineNumber:p,lineStart:l,start:e,end:F}}(t);a&&r(a.charCodeAt(0))&&H({},D.UnexpectedToken,"ILLEGAL")}for(;r(S.charCodeAt(F));)e+=S[F++];a=S[F]}if("."===a){for(e+=S[F++];r(S.charCodeAt(F));)e+=S[F++];a=S[F]}if("e"===a||"E"===a)if(e+=S[F++],"+"!==(a=S[F])&&"-"!==a||(e+=S[F++]),r(S.charCodeAt(F)))for(;r(S.charCodeAt(F));)e+=S[F++];else H({},D.UnexpectedToken,"ILLEGAL");return M(S.charCodeAt(F))&&H({},D.UnexpectedToken,"ILLEGAL"),{type:j.NumericLiteral,value:parseFloat(e),lineNumber:p,lineStart:l,start:t,end:F}}function I(){var e,t,a,n;return B=null,T(),e=F,t=function(){var e,t,a,n;for(f("/"===(e=S[F]),"Regular expression literal must start with a slash"),t=S[F++],n=a=!1;F<_;)if(t+=e=S[F++],"\\"===e)h((e=S[F++]).charCodeAt(0))&&H({},D.UnterminatedRegExp),t+=e;else if(h(e.charCodeAt(0)))H({},D.UnterminatedRegExp);else if(a)"]"===e&&(a=!1);else{if("/"===e){n=!0;break}"["===e&&(a=!0)}return n||H({},D.UnterminatedRegExp),{value:t.substr(1,t.length-2),literal:t}}(),a=function(){var e,t,a,n;for(a=t="";F<_&&c((e=S[F]).charCodeAt(0));)if(++F,"\\"===e&&F<_)if("u"===(e=S[F])){if(n=++F,e=b("u"))for(a+=e,t+="\\u";n":case"<=":case">=":case"instanceof":a=7;break;case"in":a=t?7:0;break;case"<<":case">>":case">>>":a=8;break;case"+":case"-":a=9;break;case"*":case"/":case"%":a=11}return a}function fe(){var e,t,a,n,i;return i=B,e=function(){var e,t,a,n,i,r,o,s,c,u;if(e=B,c=pe(),0===(i=le(n=B,R.allowIn)))return c;for(n.prec=i,U(),t=[e,B],r=[c,n,o=pe()];0<(i=le(B,R.allowIn));){for(;2>="!==r&&">>>="!==r&&"&="!==r&&"^="!==r&&"|="!==r||(ee(t)||J({},D.InvalidLHSInAssignment),k&&t.type===C.Identifier&&y(t.name)&&J(e,D.StrictLHSAssignment),e=U(),a=me(),n=z.markEnd(z.createAssignmentExpression(e.value,t,a),i)),n}function de(){var e,t=B;if(e=me(),Z(",")){for(e=z.createSequenceExpression([e]);F<_&&Z(",");)U(),e.expressions.push(me());z.markEnd(e,t)}return e}function he(){var e,t;return t=B,V("{"),e=function(){for(var e,t=[];F<_&&!Z("}")&&void 0!==(e=Ce());)t.push(e);return t}(),V("}"),z.markEnd(z.createBlockStatement(e),t)}function ge(){var e,t;return t=B,(e=U()).type!==j.Identifier&&W(e),z.markEnd(z.createIdentifier(e.value),t)}function ye(e){var t,a,n,i,r=[];do{if(r.push((t=e,i=n=a=void 0,i=null,n=B,a=ge(),k&&y(a.name)&&J({},D.StrictVarName),"const"===t?(V("="),i=me()):Z("=")&&(U(),i=me()),z.markEnd(z.createVariableDeclarator(a,i),n))),!Z(","))break;U()}while(F<_);return r}function ve(){var e,t,a,n,i,r,o,s,c,u;return e=t=a=null,Y("for"),V("("),Z(";")?U():(X("var")||X("let")?(R.allowIn=!1,u=B,s=U(),c=ye(),e=z.markEnd(z.createVariableDeclaration(c,s.value),u),R.allowIn=!0,1===e.declarations.length&&X("in")&&(U(),n=e,i=de(),e=null)):(R.allowIn=!1,e=de(),R.allowIn=!0,X("in")&&(ee(e)||J({},D.InvalidLHSInForIn),U(),n=e,i=de(),e=null)),void 0===n&&V(";")),void 0===n&&(Z(";")||(t=de()),V(";"),Z(")")||(a=de())),V(")"),o=R.inIteration,R.inIteration=!0,r=xe(),R.inIteration=o,void 0===n?z.createForStatement(e,t,a,r):z.createForInStatement(n,i,r)}function we(){var e,t,a,n=[];for(a=B,e=X("default")?(U(),null):(Y("case"),de()),V(":");F<_&&!(Z("}")||X("default")||X("case"));)t=xe(),n.push(t);return z.markEnd(z.createSwitchCase(e,n),a)}function be(){var e,t,a,n,i=[],r=null;return Y("try"),e=he(),X("catch")&&i.push((n=B,Y("catch"),V("("),Z(")")&&W(B),t=ge(),k&&y(t.name)&&J({},D.StrictCatchVariable),V(")"),a=he(),z.markEnd(z.createCatchClause(t,a),n))),X("finally")&&(U(),r=he()),0!==i.length||r||H({},D.NoCatchOrFinally),z.createTryStatement(e,[],i,r)}function xe(){var e,t,a,n,i,r,o,s,c,u,p,l,f,m,d,h,g,y,v,w,b,x,A,E=B.type;if(E===j.EOF&&W(B),E===j.Punctuator&&"{"===B.value)return he();if(n=B,E===j.Punctuator)switch(B.value){case";":return z.markEnd((V(";"),z.createEmptyStatement()),n);case"(":return z.markEnd((i=de(),Q(),z.createExpressionStatement(i)),n)}if(E===j.Keyword)switch(B.value){case"break":return z.markEnd((A=null,Y("break"),59===S.charCodeAt(F)?(U(),R.inIteration||R.inSwitch||H({},D.IllegalBreak),z.createBreakStatement(null)):K()?(R.inIteration||R.inSwitch||H({},D.IllegalBreak),z.createBreakStatement(null)):(B.type===j.Identifier&&(x="$"+(A=ge()).name,Object.prototype.hasOwnProperty.call(R.labelSet,x)||H({},D.UnknownLabel,A.name)),Q(),null!==A||R.inIteration||R.inSwitch||H({},D.IllegalBreak),z.createBreakStatement(A))),n);case"continue":return z.markEnd((b=null,Y("continue"),59===S.charCodeAt(F)?(U(),R.inIteration||H({},D.IllegalContinue),z.createContinueStatement(null)):K()?(R.inIteration||H({},D.IllegalContinue),z.createContinueStatement(null)):(B.type===j.Identifier&&(w="$"+(b=ge()).name,Object.prototype.hasOwnProperty.call(R.labelSet,w)||H({},D.UnknownLabel,b.name)),Q(),null!==b||R.inIteration||H({},D.IllegalContinue),z.createContinueStatement(b))),n);case"debugger":return z.markEnd((Y("debugger"),Q(),z.createDebuggerStatement()),n);case"do":return z.markEnd((Y("do"),v=R.inIteration,R.inIteration=!0,g=xe(),R.inIteration=v,Y("while"),V("("),y=de(),V(")"),Z(";")&&U(),z.createDoWhileStatement(g,y)),n);case"for":return z.markEnd(ve(),n);case"function":return z.markEnd(je(),n);case"if":return z.markEnd((Y("if"),V("("),m=de(),V(")"),d=xe(),h=X("else")?(U(),xe()):null,z.createIfStatement(m,d,h)),n);case"return":return z.markEnd((f=null,Y("return"),R.inFunctionBody||J({},D.IllegalReturn),32===S.charCodeAt(F)&&M(S.charCodeAt(F+1))?(f=de(),Q(),z.createReturnStatement(f)):K()?z.createReturnStatement(null):(Z(";")||Z("}")||B.type===j.EOF||(f=de()),Q(),z.createReturnStatement(f))),n);case"switch":return z.markEnd(function(){var e,t,a,n,i;if(Y("switch"),V("("),e=de(),V(")"),V("{"),t=[],Z("}"))return U(),z.createSwitchStatement(e,t);for(n=R.inSwitch,i=!(R.inSwitch=!0);F<_&&!Z("}");)null===(a=we()).test&&(i&&H({},D.MultipleDefaultsInSwitch),i=!0),t.push(a);return R.inSwitch=n,V("}"),z.createSwitchStatement(e,t)}(),n);case"throw":return z.markEnd((Y("throw"),K()&&H({},D.NewlineAfterThrow),l=de(),Q(),z.createThrowStatement(l)),n);case"try":return z.markEnd(be(),n);case"var":return z.markEnd((Y("var"),p=ye(),Q(),z.createVariableDeclaration(p,"var")),n);case"while":return z.markEnd((Y("while"),V("("),s=de(),V(")"),u=R.inIteration,R.inIteration=!0,c=xe(),R.inIteration=u,z.createWhileStatement(s,c)),n);case"with":return z.markEnd((k&&(T(),J({},D.StrictModeWith)),Y("with"),V("("),r=de(),V(")"),o=xe(),z.createWithStatement(r,o)),n)}return(e=de()).type===C.Identifier&&Z(":")?(U(),a="$"+e.name,Object.prototype.hasOwnProperty.call(R.labelSet,a)&&H({},D.Redeclaration,"Label",e.name),R.labelSet[a]=!0,t=xe(),delete R.labelSet[a],z.markEnd(z.createLabeledStatement(e,t),n)):(Q(),z.markEnd(z.createExpressionStatement(e),n))}function Ae(){var e,t,a,n,i,r,o,s,c=[];for(s=B,V("{");F<_&&B.type===j.StringLiteral&&(t=B,e=Ce(),c.push(e),e.expression.type===C.Literal);)"use strict"===S.slice(t.start+1,t.end-1)?(k=!0,a&&J(a,D.StrictOctalLiteral)):!a&&t.octal&&(a=t);for(n=R.labelSet,i=R.inIteration,r=R.inSwitch,o=R.inFunctionBody,R.labelSet={},R.inIteration=!1,R.inSwitch=!1,R.inFunctionBody=!0;F<_&&!Z("}")&&void 0!==(e=Ce());)c.push(e);return V("}"),R.labelSet=n,R.inIteration=i,R.inSwitch=r,R.inFunctionBody=o,z.markEnd(z.createBlockStatement(c),s)}function Ee(e){var t,a,n,i,r,o,s=[];if(V("("),!Z(")"))for(i={};F<_&&(a=B,t=ge(),r="$"+a.value,k?(y(a.value)&&(n=a,o=D.StrictParamName),Object.prototype.hasOwnProperty.call(i,r)&&(n=a,o=D.StrictParamDupe)):e||(y(a.value)?(e=a,o=D.StrictParamName):g(a.value)?(e=a,o=D.StrictReservedWord):Object.prototype.hasOwnProperty.call(i,r)&&(e=a,o=D.StrictParamDupe)),s.push(t),i[r]=!0,!Z(")"));)V(",");return V(")"),{params:s,stricted:n,firstRestricted:e,message:o}}function je(){var e,t,a,n,i,r,o,s,c,u;return u=B,Y("function"),n=B,e=ge(),k?y(n.value)&&J(n,D.StrictFunctionName):y(n.value)?(o=n,s=D.StrictFunctionName):g(n.value)&&(o=n,s=D.StrictReservedWord),t=(r=Ee(o)).params,i=r.stricted,o=r.firstRestricted,r.message&&(s=r.message),c=k,a=Ae(),k&&o&&H(o,s),k&&i&&J(i,s),k=c,z.markEnd(z.createFunctionDeclaration(e,t,[],a),u)}function Ce(){if(B.type===j.Keyword)switch(B.value){case"const":case"let":return e=B.value,a=B,Y(e),t=ye(e),Q(),z.markEnd(z.createVariableDeclaration(t,e),a);case"function":return je();default:return xe()}var e,t,a;if(B.type!==j.EOF)return xe()}function De(){var e,t;return T(),q(),t=B,k=!1,e=function(){for(var e,t,a,n=[];F<_&&(t=B).type===j.StringLiteral&&(e=Ce(),n.push(e),e.expression.type===C.Literal);)"use strict"===S.slice(t.start+1,t.end-1)?(k=!0,a&&J(a,D.StrictOctalLiteral)):!a&&t.octal&&(a=t);for(;F<_&&void 0!==(e=Ce());)n.push(e);return n}(),z.markEnd(z.createProgram(e),t)}function Se(){var e,t,a,n=[];for(e=0;e",n[j.Identifier]="Identifier",n[j.Keyword]="Keyword",n[j.NullLiteral]="Null",n[j.NumericLiteral]="Numeric",n[j.Punctuator]="Punctuator",n[j.StringLiteral]="String",n[j.RegularExpression]="RegularExpression",a=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],C={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},d={Data:1,Get:2,Set:4},D={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},t={NonAsciiIdentifierStart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),NonAsciiIdentifierPart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]")},i={name:"SyntaxTree",processComment:function(e){var t,a;if(!(e.type===C.Program&&0=e.range[1]?(a=s.trailingComments,s.trailingComments=[]):s.trailingComments.length=0:0=e.range[1]&&(a=s.bottomRightStack[s.bottomRightStack.length-1].trailingComments,delete s.bottomRightStack[s.bottomRightStack.length-1].trailingComments);0=e.range[0];)t=s.bottomRightStack.pop();t?t.leadingComments&&t.leadingComments[t.leadingComments.length-1].range[1]<=e.range[0]&&(e.leadingComments=t.leadingComments,delete t.leadingComments):0t[0].length)){if(t=a,n=r,this.options.backtrack_lexer){if(!1!==(e=this.test_match(a,i[r])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[n]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return e||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return 0 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};i.readFileSync&&(r.moduleInclude=i.readFileSync(e.resolve("../include/module.js")),r.actionInclude=i.readFileSync(e.resolve("../include/action.js"))),t.exports=r},{"./dict":222,fs:18}],224:[function(s,e,t){"use strict";var c=s("./aesprim"),i=s("./slice"),a=s("static-eval"),n=s("underscore").uniq,r=function(){return this.initialize.apply(this,arguments)};function o(t,e,a){var n=s("./index"),i=m(c.parse(e).body[0].expression,{"@":t.value}),r=a.replace(/\{\{\s*value\s*\}\}/g,i),o=n.nodes(t.value,r);return o.forEach(function(e){e.path=t.path.concat(e.path.slice(1))}),o}function u(e){return Array.isArray(e)}function p(c){return function(e,n,i,r){var t=e.value,a=e.path,o=[],s=function(t,a){var e;u(t)?(t.forEach(function(e,t){o.length>=r||i(t,e,n)&&o.push({path:a.concat(t),value:e})}),t.forEach(function(e,t){o.length>=r||c&&s(e,a.concat(t))})):(e=t)&&!(e instanceof Array)&&e instanceof Object&&(this.keys(t).forEach(function(e){o.length>=r||i(e,t[e],n)&&o.push({path:a.concat(e),value:t[e]})}),this.keys(t).forEach(function(e){o.length>=r||c&&s(t[e],a.concat(e))}))}.bind(this);return s(t,a),o}}function l(n){return function(e,t,a){return this.descend(t,e.expression.value,n,a)}}function f(n){return function(e,t,a){return this.traverse(t,e.expression.value,n,a)}}function m(){try{return a.apply(this,arguments)}catch(e){}}function d(e){return e=e.filter(function(e){return e}),n(e,function(e){return e.path.map(function(e){return String(e).replace("-","--")}).join("-")})}function h(e){var t=String(e);return t.match(/^-?[0-9]+$/)?parseInt(t):null}r.prototype.initialize=function(){this.traverse=p(!0),this.descend=p()},r.prototype.keys=Object.keys,r.prototype.resolve=function(e){var t=[e.operation,e.scope,e.expression.type].join("-"),a=this._fns[t];if(!a)throw new Error("couldn't resolve key: "+t);return a.bind(this)},r.prototype.register=function(e,t){if(!t instanceof Function)throw new Error("handler must be a function");this._fns[e]=t},(r.prototype._fns={"member-child-identifier":function(e,t){var a=e.expression.value,n=t.value;if(n instanceof Object&&a in n)return[{value:n[a],path:t.path.concat(a)}]},"member-descendant-identifier":f(function(e,t,a){return e==a}),"subscript-child-numeric_literal":l(function(e,t,a){return e===a}),"member-child-numeric_literal":l(function(e,t,a){return String(e)===String(a)}),"subscript-descendant-numeric_literal":f(function(e,t,a){return e===a}),"member-child-wildcard":l(function(){return!0}),"member-descendant-wildcard":f(function(){return!0}),"subscript-descendant-wildcard":f(function(){return!0}),"subscript-child-wildcard":l(function(){return!0}),"subscript-child-slice":function(e,a){if(u(a.value)){var t=e.expression.value.split(":").map(h),n=a.value.map(function(e,t){return{value:e,path:a.path.concat(t)}});return i.apply(null,[n].concat(t))}},"subscript-child-union":function(e,n){var i=[];return e.expression.value.forEach(function(e){var t={operation:"subscript",scope:"child",expression:e.expression},a=this.resolve(t)(t,n);a&&(i=i.concat(a))},this),d(i)},"subscript-descendant-union":function(e,t,a){var n=s(".."),i=this,r=[];return n.nodes(t,"$..*").slice(1).forEach(function(n){r.length>=a||e.expression.value.forEach(function(e){var t={operation:"subscript",scope:"child",expression:e.expression},a=i.resolve(t)(t,n);r=r.concat(a)})}),d(r)},"subscript-child-filter_expression":function(e,t,a){var n=e.expression.value.slice(2,-1),i=c.parse(n).body[0].expression;return this.descend(t,null,function(e,t){return m(i,{"@":t})},a)},"subscript-descendant-filter_expression":function(e,t,a){var n=e.expression.value.slice(2,-1),i=c.parse(n).body[0].expression;return this.traverse(t,null,function(e,t){return m(i,{"@":t})},a)},"subscript-child-script_expression":function(e,t){return o(t,e.expression.value.slice(1,-1),"$[{{value}}]")},"member-child-script_expression":function(e,t){return o(t,e.expression.value.slice(1,-1),"$.{{value}}")},"member-descendant-script_expression":function(e,t){return o(t,e.expression.value.slice(1,-1),"$..value")}})["subscript-child-string_literal"]=r.prototype._fns["member-child-identifier"],r.prototype._fns["member-descendant-numeric_literal"]=r.prototype._fns["subscript-descendant-string_literal"]=r.prototype._fns["member-descendant-identifier"],e.exports=r},{"..":221,"./aesprim":219,"./index":225,"./slice":227,"static-eval":255,underscore:281}],225:[function(e,t,a){"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l=e("assert"),i=e("./dict"),n=e("./parser"),r=e("./handlers"),s=function(){this.initialize.apply(this,arguments)};function c(e){return"[object String]"==Object.prototype.toString.call(e)}s.prototype.initialize=function(){this.parser=new n,this.handlers=new r},s.prototype.parse=function(e){return l.ok(c(e),"we need a path"),this.parser.parse(e)},s.prototype.parent=function(e,t){l.ok(e instanceof Object,"obj needs to be an object"),l.ok(t,"we need a path");var a=this.nodes(e,t)[0];a.path.pop();return this.value(e,a.path)},s.prototype.apply=function(i,e,r){l.ok(i instanceof Object,"obj needs to be an object"),l.ok(e,"we need a path"),l.equal(void 0===r?"undefined":o(r),"function","fn needs to be function");var t=this.nodes(i,e).sort(function(e,t){return t.path.length-e.path.length});return t.forEach(function(e){var t=e.path.pop(),a=this.value(i,this.stringify(e.path)),n=e.value=r.call(i,a[t]);a[t]=n},this),t},s.prototype.value=function(e,t,a){if(l.ok(e instanceof Object,"obj needs to be an object"),l.ok(t,"we need a path"),3<=arguments.length){var n=this.nodes(e,t).shift();if(!n)return this._vivify(e,t,a);var i=n.path.slice(-1).shift();this.parent(e,this.stringify(n.path))[i]=a}return this.query(e,this.stringify(t),1).shift()},s.prototype._vivify=function(r,e,t){var o=this;l.ok(r instanceof Object,"obj needs to be an object"),l.ok(e,"we need a path");return function e(t,a){var n=t.pop(),i=o.value(r,t);i||(e(t.concat(),"string"==typeof n?{}:[]),i=o.value(r,t)),i[n]=a}(this.parser.parse(e).map(function(e){return e.expression.value}),t),this.query(r,e)[0]},s.prototype.query=function(e,t,a){return l.ok(e instanceof Object,"obj needs to be an object"),l.ok(c(t),"we need a path"),this.nodes(e,t,a).map(function(e){return e.value})},s.prototype.paths=function(e,t,a){return l.ok(e instanceof Object,"obj needs to be an object"),l.ok(t,"we need a path"),this.nodes(e,t,a).map(function(e){return e.path})},s.prototype.nodes=function(e,t,o){if(l.ok(e instanceof Object,"obj needs to be an object"),l.ok(t,"we need a path"),0===o)return[];var s=this.parser.parse(t),c=this.handlers,u=[{path:["$"],value:e}],p=[];return s.length&&"root"==s[0].expression.type&&s.shift(),s.length?(s.forEach(function(a,n){if(!(p.length>=o)){var i=c.resolve(a),r=[];u.forEach(function(e){if(!(p.length>=o)){var t=i(a,e,o);n==s.length-1?p=p.concat(t||[]):r=r.concat(t||[])}}),u=r}}),o?p.slice(0,o):p):u},s.prototype.stringify=function(e){l.ok(e,"we need a path");var i="$",r={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return(e=this._normalize(e)).forEach(function(e){if("root"!=e.expression.type){var t,a=[e.scope,e.operation].join("-"),n=r[a];if(t="string_literal"==e.expression.type?JSON.stringify(e.expression.value):e.expression.value,!n)throw new Error("couldn't find template "+a);i+=n.replace(/{{value}}/,t)}}),i},s.prototype._normalize=function(e){if(l.ok(e,"we need a path"),"string"==typeof e)return this.parser.parse(e);if(Array.isArray(e)&&"string"==typeof e[0]){var n=[{expression:{type:"root",value:"$"}}];return e.forEach(function(e,t){if("$"!=e||0!==t)if("string"==typeof e&&e.match("^"+i.identifier+"$"))n.push({operation:"member",scope:"child",expression:{value:e,type:"identifier"}});else{var a="number"==typeof e?"numeric_literal":"string_literal";n.push({operation:"subscript",scope:"child",expression:{value:e,type:a}})}}),n}if(Array.isArray(e)&&"object"==o(e[0]))return e;throw new Error("couldn't understand path "+e)},s.Handlers=r,s.Parser=n;var u=new s;u.JSONPath=s,t.exports=u},{"./dict":222,"./handlers":224,"./parser":226,assert:12}],226:[function(e,t,a){"use strict";var n=e("./grammar"),i=e("../generated/parser"),r=function(){var e=new i.Parser,t=e.parseError;return e.yy.parseError=function(){e.yy.ast&&e.yy.ast.initialize(),t.apply(e,arguments)},e};r.grammar=n,t.exports=r},{"../generated/parser":220,"./grammar":223}],227:[function(e,t,a){"use strict";function s(e){return String(e).match(/^[0-9]+$/)?parseInt(e):Number.isFinite(e)?parseInt(e,10):0}t.exports=function(e,t,a,n){if("string"==typeof t)throw new Error("start cannot be a string");if("string"==typeof a)throw new Error("end cannot be a string");if("string"==typeof n)throw new Error("step cannot be a string");var i=e.length;if(0===n)throw new Error("step cannot be zero");if(n=n?s(n):1,a=a<0?i+a:a,t=s(0===(t=t<0?i+t:t)?0:t||(0t.highWaterMark&&(t.highWaterMark=(h<=(a=e)?a=h:(a--,a|=a>>>1,a|=a>>>2,a|=a>>>4,a|=a>>>8,a|=a>>>16,a++),a)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0));var a}function A(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(b("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?y.nextTick(E,e):E(e))}function E(e){b("emit readable"),e.emit("readable"),k(e)}function j(e,t){t.readingMore||(t.readingMore=!0,y.nextTick(C,e,t))}function C(e,t){for(var a=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(a=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):a=function(e,t,a){var n;er.length?r.length:e;if(o===r.length?i+=r:i+=r.slice(0,e),0===(e-=o)){o===r.length?(++n,a.next?t.head=a.next:t.head=t.tail=null):(t.head=a).data=r.slice(o);break}++n}return t.length-=n,i}(e,t):function(e,t){var a=u.allocUnsafe(e),n=t.head,i=1;n.data.copy(a),e-=n.data.length;for(;n=n.next;){var r=n.data,o=e>r.length?r.length:e;if(r.copy(a,a.length-e,0,o),0===(e-=o)){o===r.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n).data=r.slice(o);break}++i}return t.length-=i,a}(e,t);return n}(e,t.buffer,t.decoder),a);var a}function _(e){var t=e._readableState;if(0=t.highWaterMark||t.ended))return b("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?_(this):A(this),null;if(0===(e=x(e,t))&&t.ended)return 0===t.length&&_(this),null;var n,i=t.needReadable;return b("need readable",i),(0===t.length||t.length-e>>0),r=this.head,o=0;r;)t=r.data,a=i,n=o,t.copy(a,n),o+=r.data.length,r=r.next;return i},e}(),n&&n.inspect&&n.inspect.custom&&(t.exports.prototype[n.inspect.custom]=function(){var e=n.inspect({length:this.length});return this.constructor.name+" "+e})},{"safe-buffer":254,util:17}],246:[function(e,t,a){"use strict";var r=e("process-nextick-args");function o(e,t){e.emit("error",t)}t.exports={destroy:function(e,t){var a=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?t?t(e):!e||this._writableState&&this._writableState.errorEmitted||r.nextTick(o,this,e):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?(r.nextTick(o,a,e),a._writableState&&(a._writableState.errorEmitted=!0)):t&&t(e)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":234}],247:[function(e,t,a){"use strict";t.exports=e("events").EventEmitter},{events:38}],248:[function(e,t,a){"use strict";(((a=t.exports=e("./lib/_stream_readable.js")).Stream=a).Readable=a).Writable=e("./lib/_stream_writable.js"),a.Duplex=e("./lib/_stream_duplex.js"),a.Transform=e("./lib/_stream_transform.js"),a.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":240,"./lib/_stream_passthrough.js":241,"./lib/_stream_readable.js":242,"./lib/_stream_transform.js":243,"./lib/_stream_writable.js":244}],249:[function(e,t,a){"use strict";var y=e("./util"),v=e("./types"),w=e("./sets"),b=e("./positions");t.exports=function(t){var e,a,n=0,i={type:v.ROOT,stack:[]},r=i,o=i.stack,s=[],c=function(e){y.error(t,"Nothing to repeat at column "+(e-1))},u=y.strToChars(t);for(e=u.length;n"===p?u="===p?u<=o:"|"===p?o|u:"&"===p?o&u:"^"===p?o^u:"&&"===p?o&&u:"||"===p?o||u:D}if("Identifier"===t.type)return{}.hasOwnProperty.call(C,t.name)?C[t.name]:D;if("ThisExpression"===t.type)return{}.hasOwnProperty.call(C,"this")?C.this:D;if("CallExpression"===t.type){var l=e(t.callee);if(l===D)return D;if("function"!=typeof l)return D;var f=t.callee.object?e(t.callee.object):D;f===D&&(f=null);var m=[];for(r=0,o=t.arguments.length;r":c.Relational,"<=":c.Relational,">=":c.Relational,in:c.Relational,instanceof:c.Relational,"<<":c.BitwiseSHIFT,">>":c.BitwiseSHIFT,">>>":c.BitwiseSHIFT,"+":c.Additive,"-":c.Additive,"*":c.Multiplicative,"%":c.Multiplicative,"/":c.Multiplicative};var k=7,F=1;function _(e,t){var a="";for(t|=0;0>>=1,e+=e)1&t&&(a+=e);return a}function z(e){var t=e.length;return t&&h.code.isLineTerminator(e.charCodeAt(t-1))}function n(e,t){var a;for(a in t)t.hasOwnProperty(a)&&(e[a]=t[a]);return e}function B(e,t){var a,n;function i(e){return"object"===(void 0===e?"undefined":X(e))&&e instanceof Object&&!(e instanceof RegExp)}for(a in t)t.hasOwnProperty(a)&&(i(n=t[a])?i(e[a])?B(e[a],n):e[a]=B({},n):e[a]=n);return e}function R(e,t){return 8232==(-2&e)?(t?"u":"\\u")+(8232===e?"2028":"2029"):10===e||13===e?(t?"":"\\")+(10===e?"n":"r"):String.fromCharCode(e)}function M(e){if(92===e)return"\\\\";if(10===e)return"\\n";if(13===e)return"\\r";if(8232===e)return"\\u2028";if(8233===e)return"\\u2029";throw new Error("Incorrectly classified character")}function T(e,t){if(!C)return Array.isArray(e)?function e(t){var a,n,i,r="";for(a=0,n=t.length;a")),e.expression?(t.push(l),"{"===(a=this.generateExpression(e.body,c.Assignment,k)).toString().charAt(0)&&(a=["(",a,")"]),t.push(a)):t.push(this.maybeBlock(e.body,9)),t},K.prototype.generateIterationForStatement=function(e,t,a){var n=["for"+l+(t.await?"await"+l:"")+"("],i=this;return P(function(){t.left.type===d.VariableDeclaration?P(function(){n.push(t.left.kind+O()),n.push(i.generateStatement(t.left.declarations[0],0))}):n.push(i.generateExpression(t.left,c.Call,k)),n=[I(n=I(n,e),i.generateExpression(t.right,c.Sequence,k)),")"]}),n.push(this.maybeBlock(t.body,a)),n},K.prototype.generatePropertyKey=function(e,t){var a=[];return t&&a.push("["),a.push(this.generateExpression(e,c.Sequence,k)),t&&a.push("]"),a},K.prototype.generateAssignment=function(e,t,a,n,i){return c.Assignment=4.0"},files:["LICENSE.BSD","README.md","bin","escodegen.js","package.json"],homepage:"http://github.com/estools/escodegen",license:"BSD-2-Clause",main:"escodegen.js",maintainers:[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",url:"http://github.com/Constellation"}],name:"escodegen",optionalDependencies:{"source-map":"~0.6.1"},repository:{type:"git",url:"git+ssh://git@github.com/estools/escodegen.git"},scripts:{build:"cjsify -a path: tools/entry-point.js > escodegen.browser.js","build-min":"cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",lint:"gulp lint",release:"node tools/release.js",test:"gulp travis","unit-test":"gulp test"},version:"1.11.0"}},{}],258:[function(s,e,t){"use strict";var f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function e(t){var a,g,c,n,i,o,y,v,w;function u(e){var t,a,n={};for(t in e)e.hasOwnProperty(t)&&("object"===(void 0===(a=e[t])?"undefined":f(a))&&null!==a?n[t]=u(a):n[t]=a);return n}function b(e,t){this.parent=e,this.key=t}function x(e,t,a,n){this.node=e,this.path=t,this.wrap=a,this.ref=n}function r(){}function A(e){return null!=e&&("object"===(void 0===e?"undefined":f(e))&&"string"==typeof e.type)}function E(e,t){return(e===a.ObjectExpression||e===a.ObjectPattern)&&"properties"===t}function p(e,t){return(new r).traverse(e,t)}function l(t,e){var a;return a=function(e,t){var a,n,i,r;for(n=e.length,i=0;n;)t(e[r=i+(a=n>>>1)])?n=a:(i=r+1,n-=a+1);return i}(e,function(e){return e.range[0]>t.range[0]}),t.extendedRange=[t.range[0],t.range[1]],a!==e.length&&(t.extendedRange[1]=e[a].range[0]),0<=(a-=1)&&(t.extendedRange[0]=e[a].range[1]),t}return(g=Array.isArray)||(g=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),i=Object.create||function(){function t(){}return function(e){return t.prototype=e,new t}}(),o=Object.keys||function(e){var t,a=[];for(t in e)a.push(t);return a},a={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},n={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},c={Break:y={},Skip:v={},Remove:w={}},b.prototype.replace=function(e){this.parent[this.key]=e},b.prototype.remove=function(){return g(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)},r.prototype.path=function(){var e,t,a,n,i;function r(e,t){if(g(t))for(a=0,n=t.length;ae.range[0]);)t.extendedRange[1]===e.range[0]?(e.leadingComments||(e.leadingComments=[]),e.leadingComments.push(t),s.splice(o,1)):o+=1;return o===s.length?c.Break:s[o].extendedRange[0]>e.range[1]?c.Skip:void 0}}),o=0,p(e,{leave:function(e){for(var t;oe.range[1]?c.Skip:void 0}}),e},t.VisitorKeys=n,t.VisitorOption=c,t.Controller=r,t.cloneEnvironment=function(){return e({})},t}(t)},{"./package.json":259}],259:[function(e,t,a){t.exports={_args:[["estraverse@4.2.0","/Users/jlusthaus/Documents/sway"]],_from:"estraverse@4.2.0",_id:"estraverse@4.2.0",_inBundle:!1,_integrity:"sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=",_location:"/static-eval/estraverse",_phantomChildren:{},_requested:{type:"version",registry:!0,raw:"estraverse@4.2.0",name:"estraverse",escapedName:"estraverse",rawSpec:"4.2.0",saveSpec:null,fetchSpec:"4.2.0"},_requiredBy:["/static-eval/escodegen"],_resolved:"https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz",_spec:"4.2.0",_where:"/Users/jlusthaus/Documents/sway",bugs:{url:"https://github.com/estools/estraverse/issues"},description:"ECMAScript JS AST traversal functions",devDependencies:{"babel-preset-es2015":"^6.3.13","babel-register":"^6.3.13",chai:"^2.1.1",espree:"^1.11.0",gulp:"^3.8.10","gulp-bump":"^0.2.2","gulp-filter":"^2.0.0","gulp-git":"^1.0.1","gulp-tag-version":"^1.2.1",jshint:"^2.5.6",mocha:"^2.1.0"},engines:{node:">=0.10.0"},homepage:"https://github.com/estools/estraverse",license:"BSD-2-Clause",main:"estraverse.js",maintainers:[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",url:"http://github.com/Constellation"}],name:"estraverse",repository:{type:"git",url:"git+ssh://git@github.com/estools/estraverse.git"},scripts:{lint:"jshint estraverse.js",test:"npm run-script lint && npm run-script unit-test","unit-test":"mocha --compilers js:babel-register"},version:"4.2.0"}},{}],260:[function(e,t,a){"use strict";var r=e("./util"),o=Object.prototype.hasOwnProperty,s="undefined"!=typeof Map;function c(){this._array=[],this._set=s?new Map:Object.create(null)}c.fromArray=function(e,t){for(var a=new c,n=0,i=e.length;n>>=5)&&(t|=32),n+=p.encode(t),0>1,1==(1&r)?-o:o),a.rest=t}},{"./base64":262}],262:[function(e,t,a){"use strict";var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");a.encode=function(e){if(0<=e&&e=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},m.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var a=this._findSourceIndex(e);if(0<=a)return this.sourcesContent[a];var n,i=e;if(null!=this.sourceRoot&&(i=w.relative(this.sourceRoot,i)),null!=this.sourceRoot&&(n=w.urlParse(this.sourceRoot))){var r=i.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(r))return this.sourcesContent[this._sources.indexOf(r)];if((!n.path||"/"==n.path)&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(t)return null;throw new Error('"'+i+'" is not in the SourceMap.')},m.prototype.generatedPositionFor=function(e){var t=w.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var a={source:t,originalLine:w.getArg(e,"line"),originalColumn:w.getArg(e,"column")},n=this._findMapping(a,this._originalMappings,"originalLine","originalColumn",w.compareByOriginalPositions,w.getArg(e,"bias",o.GREATEST_LOWER_BOUND));if(0<=n){var i=this._originalMappings[n];if(i.source===a.source)return{line:w.getArg(i,"generatedLine",null),column:w.getArg(i,"generatedColumn",null),lastColumn:w.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},a.BasicSourceMapConsumer=m,(n.prototype=Object.create(o.prototype)).constructor=o,n.prototype._version=3,Object.defineProperty(n.prototype,"sources",{get:function(){for(var e=[],t=0;tt._pos){var n=a.substr(t._pos);if("x-user-defined"===t._charset){for(var i=new l(n.length),r=0;rt._pos&&(t.push(new l(new Uint8Array(o.result.slice(t._pos)))),t._pos=o.result.byteLength)},o.onload=function(){t.push(null)},o.readAsArrayBuffer(a)}t._xhr.readyState===s.DONE&&"ms-stream"!==t._mode&&t.push(null)}}).call(this,a("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},a("buffer").Buffer)},{"./capability":272,_process:235,buffer:20,inherits:165,"readable-stream":248}],275:[function(e,t,a){"use strict";var n=e("safe-buffer").Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=u,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=p,this.end=l,t=3;break;default:return this.write=f,void(this.end=m)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,a=function(e,t,a){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(1o[0]&&t[1]=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}}},f=function(e,t){var a="function"==typeof Symbol&&e[Symbol.iterator];if(!a)return e;var n,i,r=a.call(e),o=[];try{for(;(void 0===t||0>>1;a(e[s])":">",'"':""","'":"'","`":"`"},x=m.invert(b),A=function(t){var a=function(e){return t[e]},e="(?:"+m.keys(t).join("|")+")",n=RegExp(e),i=RegExp(e,"g");return function(e){return e=null==e?"":""+e,n.test(e)?e.replace(i,a):e}};m.escape=A(b),m.unescape=A(x),m.result=function(e,t){if(null!=e){var a=e[t];return m.isFunction(a)?e[t]():a}};var E=0;m.uniqueId=function(e){var t=++E+"";return e?e+t:t},m.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var j=/(.)^/,C={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},D=/\\|'|\r|\n|\u2028|\u2029/g,S=function(e){return"\\"+C[e]};m.template=function(r,e,t){!e&&t&&(e=t),e=m.defaults({},e,m.templateSettings);var a=RegExp([(e.escape||j).source,(e.interpolate||j).source,(e.evaluate||j).source].join("|")+"|$","g"),o=0,s="__p+='";r.replace(a,function(e,t,a,n,i){return s+=r.slice(o,i).replace(D,S),o=i+e.length,t?s+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":a?s+="'+\n((__t=("+a+"))==null?'':__t)+\n'":n&&(s+="';\n"+n+"\n__p+='"),e}),s+="';\n",e.variable||(s="with(obj||{}){\n"+s+"}\n"),s="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+s+"return __p;\n";try{var n=new Function(e.variable||"obj","_",s)}catch(e){throw e.source=s,e}var i=function(e){return n.call(this,e,m)},c=e.variable||"obj";return i.source="function("+c+"){\n"+s+"}",i},m.chain=function(e){var t=m(e);return t._chain=!0,t};var k=function(e){return this._chain?m(e).chain():e};m.mixin=function(a){m.each(m.functions(a),function(e){var t=m[e]=a[e];m.prototype[e]=function(){var e=[this._wrapped];return s.apply(e,arguments),k.call(this,t.apply(m,e))}})},m.mixin(m),m.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var a=n[t];m.prototype[t]=function(){var e=this._wrapped;return a.apply(e,arguments),"shift"!==t&&"splice"!==t||0!==e.length||delete e[0],k.call(this,e)}}),m.each(["concat","join","slice"],function(e){var t=n[e];m.prototype[e]=function(){return k.call(this,t.apply(this._wrapped,arguments))}}),m.prototype.value=function(){return this._wrapped}}).call(this)},{}],282:[function(e,t,a){"use strict";var R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},M=e("punycode"),T=e("./util");function S(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}a.parse=r,a.resolve=function(e,t){return r(e,!1,!0).resolve(t)},a.resolveObject=function(e,t){return e?r(e,!1,!0).resolveObject(t):t},a.format=function(e){T.isString(e)&&(e=r(e));return e instanceof S?e.format():S.prototype.format.call(e)},a.Url=S;var O=/^([a-z0-9.+-]+:)/i,n=/:[0-9]*$/,I=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),L=["'"].concat(i),P=["%","/","?",";","#"].concat(L),N=["/","?","#"],U=/^[+a-z0-9A-Z_-]{0,63}$/,q=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,$={javascript:!0,"javascript:":!0},G={javascript:!0,"javascript:":!0},K={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},H=e("querystring");function r(e,t,a){if(e&&T.isObject(e)&&e instanceof S)return e;var n=new S;return n.parse(e,t,a),n}S.prototype.parse=function(e,t,a){if(!T.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+(void 0===e?"undefined":R(e)));var n=e.indexOf("?"),i=-1!==n&&n>16&255,i[o++]=t>>8&255,i[o++]=255&t;var u,l;2===a&&(t=p[e.charCodeAt(c)]<<2|p[e.charCodeAt(c+1)]>>4,i[o++]=255&t);1===a&&(t=p[e.charCodeAt(c)]<<10|p[e.charCodeAt(c+1)]<<4|p[e.charCodeAt(c+2)]>>2,i[o++]=t>>8&255,i[o++]=255&t);return i},n.fromByteArray=function(e){for(var t,n=e.length,r=n%3,a=[],i=0,o=n-r;i>2]+s[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],a.push(s[t>>10]+s[t>>4&63]+s[t<<2&63]+"="));return a.join("")};for(var s=[],p=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,i=r.length;a>18&63]+s[a>>12&63]+s[a>>6&63]+s[63&a]);return i.join("")}p["-".charCodeAt(0)]=62,p["_".charCodeAt(0)]=63},{}],17:[function(e,t,n){},{}],18:[function(e,t,n){},{}],19:[function(e,R,B){(function(O){"use strict";var z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e){var t="object"==(void 0===B?"undefined":z(B))&&B&&!B.nodeType&&B,n="object"==(void 0===R?"undefined":z(R))&&R&&!R.nodeType&&R,r="object"==(void 0===O?"undefined":z(O))&&O;r.global!==r&&r.window!==r&&r.self!==r||(e=r);var a,i,y=2147483647,v=36,b=1,w=26,o=38,s=700,x=72,_=128,E="-",c=/^xn--/,u=/[^\x20-\x7E]/,l=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},f=v-b,A=Math.floor,S=String.fromCharCode;function j(e){throw new RangeError(p[e])}function d(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function m(e,t){var n=e.split("@"),r="";return 1>>10&1023|55296),e=56320|1023&e),t+=S(e)}).join("")}function k(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function F(e,t,n){var r=0;for(e=n?A(e/s):e>>1,e+=A(e/t);f*w>>1A((y-m)/o))&&j("overflow"),m+=c*o,!(c<(u=s<=g?b:g+w<=s?w:s-g));s+=v)o>A(y/(l=v-u))&&j("overflow"),o*=l;g=F(m-i,t=f.length+1,0==i),A(m/t)>y-h&&j("overflow"),h+=A(m/t),m%=t,f.splice(m++,0,h)}return D(f)}function g(e){var t,n,r,a,i,o,s,c,u,l,p,f,d,m,h,g=[];for(f=(e=C(e)).length,t=_,i=x,o=n=0;oA((y-n)/(d=r+1))&&j("overflow"),n+=(s-t)*d,t=s,o=0;oy&&j("overflow"),p==t){for(c=n,u=v;!(c<(l=u<=i?b:i+w<=u?w:u-i));u+=v)h=c-l,m=v-l,g.push(S(k(l+h%m,0))),c=A(h/m);g.push(S(k(c,0))),i=F(n,d,r==a),n=0,++r}++n,++t}return g.join("")}if(a={version:"1.4.1",ucs2:{decode:C,encode:D},decode:h,encode:g,toASCII:function(e){return m(e,function(e){return u.test(e)?"xn--"+g(e):e})},toUnicode:function(e){return m(e,function(e){return c.test(e)?h(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==z(define.amd)&&define.amd)define("punycode",function(){return a});else if(t&&n)if(R.exports==t)n.exports=a;else for(i in a)a.hasOwnProperty(i)&&(t[i]=a[i]);else e.punycode=a}(void 0)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],20:[function(e,t,n){"use strict";var p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=e("base64-js"),i=e("ieee754");n.Buffer=f,n.SlowBuffer=function(e){+e!=e&&(e=0);return f.alloc(+e)},n.INSPECT_MAX_BYTES=50;var a=2147483647;function o(e){if(a>>1;case"base64":return T(e).length;default:if(a)return r?-1:B(e).length;t=(""+t).toLowerCase(),a=!0}}function h(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(e,t,n,r,a){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):2147483647=e.length){if(a)return-1;n=e.length-1}else if(n<0){if(!a)return-1;n=0}if("string"==typeof t&&(t=f.from(t,r)),f.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,a);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,a);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,a){var i,o=1,s=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;s/=o=2,c/=2,n/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(a){var l=-1;for(i=n;i>>10&1023|55296),l=56320|1023&l),r.push(l),a+=p}return function(e){var t=e.length;if(t<=_)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rthis.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return S(this,t,n);case"utf8":case"utf-8":return x(this,t,n);case"ascii":return E(this,t,n);case"latin1":case"binary":return A(this,t,n);case"base64":return w(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}.apply(this,arguments)},f.prototype.equals=function(e){if(!f.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===f.compare(this,e)},f.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),""},f.prototype.compare=function(e,t,n,r,a){if(M(e,Uint8Array)&&(e=f.from(e,e.offset,e.byteLength)),!f.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+(void 0===e?"undefined":p(e)));if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===a&&(a=this.length),t<0||n>e.length||r<0||a>this.length)throw new RangeError("out of range index");if(a<=r&&n<=t)return 0;if(a<=r)return-1;if(n<=t)return 1;if(this===e)return 0;for(var i=(a>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0),s=Math.min(i,o),c=this.slice(r,a),u=e.slice(t,n),l=0;l>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var a=this.length-t;if((void 0===n||athis.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i,o,s,c,u,l,p,f,d,m=!1;;)switch(r){case"hex":return v(this,e,t,n);case"utf8":case"utf-8":return f=t,d=n,I(B(e,(p=this).length-f),p,f,d);case"ascii":return b(this,e,t,n);case"latin1":case"binary":return b(this,e,t,n);case"base64":return c=this,u=t,l=n,I(T(e),c,u,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return o=t,s=n,I(function(e,t){for(var n,r,a,i=[],o=0;o>8,a=n%256,i.push(a),i.push(r);return i}(e,(i=this).length-o),i,o,s);default:if(m)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),m=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var _=4096;function E(e,t,n){var r="";n=Math.min(e.length,n);for(var a=t;ae.length)throw new RangeError("Index out of range")}function k(e,t,n,r,a,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(e,t,n,r,a){return t=+t,n>>>=0,a||k(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function O(e,t,n,r,a){return t=+t,n>>>=0,a||k(e,0,n,8),i.write(e,t,n,r,52,8),n+8}f.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):n>>=0,t>>>=0,n||C(e,t,this.length);for(var r=this[e],a=1,i=0;++i>>=0,t>>>=0,n||C(e,t,this.length);for(var r=this[e+--t],a=1;0>>=0,t||C(e,1,this.length),this[e]},f.prototype.readUInt16LE=function(e,t){return e>>>=0,t||C(e,2,this.length),this[e]|this[e+1]<<8},f.prototype.readUInt16BE=function(e,t){return e>>>=0,t||C(e,2,this.length),this[e]<<8|this[e+1]},f.prototype.readUInt32LE=function(e,t){return e>>>=0,t||C(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},f.prototype.readUInt32BE=function(e,t){return e>>>=0,t||C(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},f.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||C(e,t,this.length);for(var r=this[e],a=1,i=0;++i>>=0,t>>>=0,n||C(e,t,this.length);for(var r=t,a=1,i=this[e+--r];0>>=0,t||C(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},f.prototype.readInt16LE=function(e,t){e>>>=0,t||C(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},f.prototype.readInt16BE=function(e,t){e>>>=0,t||C(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},f.prototype.readInt32LE=function(e,t){return e>>>=0,t||C(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},f.prototype.readInt32BE=function(e,t){return e>>>=0,t||C(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},f.prototype.readFloatLE=function(e,t){return e>>>=0,t||C(e,4,this.length),i.read(this,e,!0,23,4)},f.prototype.readFloatBE=function(e,t){return e>>>=0,t||C(e,4,this.length),i.read(this,e,!1,23,4)},f.prototype.readDoubleLE=function(e,t){return e>>>=0,t||C(e,8,this.length),i.read(this,e,!0,52,8)},f.prototype.readDoubleBE=function(e,t){return e>>>=0,t||C(e,8,this.length),i.read(this,e,!1,52,8)},f.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||D(this,e,t,n,Math.pow(2,8*n)-1,0);var a=1,i=0;for(this[t]=255&e;++i>>=0,n>>>=0,r)||D(this,e,t,n,Math.pow(2,8*n)-1,0);var a=n-1,i=1;for(this[t+a]=255&e;0<=--a&&(i*=256);)this[t+a]=e/i&255;return t+n},f.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,1,255,0),this[t]=255&e,t+1},f.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},f.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},f.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},f.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},f.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var a=Math.pow(2,8*n-1);D(this,e,t,n,a-1,-a)}var i=0,o=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+n},f.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var a=Math.pow(2,8*n-1);D(this,e,t,n,a-1,-a)}var i=n-1,o=1,s=0;for(this[t+i]=255&e;0<=--i&&(o*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/o>>0)-s&255;return t+n},f.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},f.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},f.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},f.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},f.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},f.prototype.writeFloatLE=function(e,t,n){return F(this,e,t,!0,n)},f.prototype.writeFloatBE=function(e,t,n){return F(this,e,t,!1,n)},f.prototype.writeDoubleLE=function(e,t,n){return O(this,e,t,!0,n)},f.prototype.writeDoubleBE=function(e,t,n){return O(this,e,t,!1,n)},f.prototype.copy=function(e,t,n,r){if(!f.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),0=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function T(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(z,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function I(e,t,n,r){for(var a=0;a=t.length||a>=e.length);++a)t[a+n]=e[a];return a}function M(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function P(e){return e!=e}},{"base64-js":16,ieee754:236}],21:[function(e,t,n){"use strict";t.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],22:[function(e,r,t){(function(e,t){"use strict";var n=t.process&&e.nextTick||t.setImmediate||function(e){setTimeout(e,0)};r.exports=function(t,e){return t?void e.then(function(e){n(function(){t(null,e)})},function(e){n(function(){t(e)})}):e}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:315}],23:[function(e,t,n){"use strict";function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}void 0!==t&&(t.exports=r),r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var a=0;ao;)i.call(e,r=a[o++])&&t.push(r);return t}},{"./_object-gops":55,"./_object-keys":57,"./_object-pie":58}],37:[function(e,t,n){"use strict";var h=e("./_global"),g=e("./_core"),y=e("./_hide"),v=e("./_redefine"),b=e("./_ctx"),w="prototype",r=function e(t,n,r){var a,i,o,s,c=t&e.F,u=t&e.G,l=t&e.P,p=t&e.B,f=u?h:t&e.S?h[n]||(h[n]={}):(h[n]||{})[w],d=u?g:g[n]||(g[n]={}),m=d[w]||(d[w]={});for(a in u&&(r=n),r)o=((i=!c&&f&&void 0!==f[a])?f:r)[a],s=p&&i?b(o,h):l&&"function"==typeof o?b(Function.call,o):o,f&&v(f,a,o,t&e.U),d[a]!=o&&y(d,a,s),l&&m[a]!=o&&(m[a]=o)};h.core=g,r.F=1,r.G=2,r.S=4,r.P=8,r.B=16,r.W=32,r.U=64,r.R=128,t.exports=r},{"./_core":30,"./_ctx":31,"./_global":39,"./_hide":41,"./_redefine":60}],38:[function(e,t,n){"use strict";t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],39:[function(e,t,n){"use strict";var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},{}],40:[function(e,t,n){"use strict";var r={}.hasOwnProperty;t.exports=function(e,t){return r.call(e,t)}},{}],41:[function(e,t,n){"use strict";var r=e("./_object-dp"),a=e("./_property-desc");t.exports=e("./_descriptors")?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},{"./_descriptors":33,"./_object-dp":50,"./_property-desc":59}],42:[function(e,t,n){"use strict";var r=e("./_global").document;t.exports=r&&r.documentElement},{"./_global":39}],43:[function(e,t,n){"use strict";t.exports=!e("./_descriptors")&&!e("./_fails")(function(){return 7!=Object.defineProperty(e("./_dom-create")("div"),"a",{get:function(){return 7}}).a})},{"./_descriptors":33,"./_dom-create":34,"./_fails":38}],44:[function(e,t,n){"use strict";var r=e("./_cof");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},{"./_cof":29}],45:[function(e,t,n){"use strict";var r=e("./_cof");t.exports=Array.isArray||function(e){return"Array"==r(e)}},{"./_cof":29}],46:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.exports=function(e){return"object"===(void 0===e?"undefined":r(e))?null!==e:"function"==typeof e}},{}],47:[function(e,t,n){"use strict";t.exports=!1},{}],48:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=e("./_uid")("meta"),i=e("./_is-object"),o=e("./_has"),s=e("./_object-dp").f,c=0,u=Object.isExtensible||function(){return!0},l=!e("./_fails")(function(){return u(Object.preventExtensions({}))}),p=function(e){s(e,a,{value:{i:"O"+ ++c,w:{}}})},f=t.exports={KEY:a,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==(void 0===e?"undefined":r(e))?e:("string"==typeof e?"S":"P")+e;if(!o(e,a)){if(!u(e))return"F";if(!t)return"E";p(e)}return e[a].i},getWeak:function(e,t){if(!o(e,a)){if(!u(e))return!0;if(!t)return!1;p(e)}return e[a].w},onFreeze:function(e){return l&&f.NEED&&u(e)&&!o(e,a)&&p(e),e}}},{"./_fails":38,"./_has":40,"./_is-object":46,"./_object-dp":50,"./_uid":69}],49:[function(r,e,t){"use strict";var a=r("./_an-object"),i=r("./_object-dps"),o=r("./_enum-bug-keys"),s=r("./_shared-key")("IE_PROTO"),c=function(){},u="prototype",l=function(){var e,t=r("./_dom-create")("iframe"),n=o.length;for(t.style.display="none",r("./_html").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("