!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.jade=t()}}(function(){var define,module,exports;return function t(e,i,s){function n(o,a){if(!i[o]){if(!e[o]){var h="function"==typeof require&&require;if(!a&&h)return h(o,!0);if(r)return r(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var p=i[o]={exports:{}};e[o][0].call(p.exports,function(t){var i=e[o][1][t];return n(i?i:t)},p,p.exports,t,e,i,s)}return i[o].exports}for(var r="function"==typeof require&&require,o=0;o",this.terse=""==this.doctype.toLowerCase(),this.xml=0==this.doctype.indexOf("1&&!i&&t.nodes[0].isText&&t.nodes[1].isText&&this.prettyIndent(1,!0);for(var n=0;e>n;++n)s&&n>0&&!i&&t.nodes[n].isText&&t.nodes[n-1].isText&&this.prettyIndent(1,!1),this.visit(t.nodes[n]),t.nodes[n+1]&&t.nodes[n].isText&&t.nodes[n+1].isText&&this.buffer("\n")},visitMixinBlock:function(t){this.pp&&this.buf.push("jade_indent.push('"+Array(this.indents+1).join(this.pp)+"');"),this.buf.push("block && block();"),this.pp&&this.buf.push("jade_indent.pop();")},visitDoctype:function(t){!t||!t.val&&this.doctype||this.setDoctype(t.val||"default"),this.doctype&&this.buffer(this.doctype),this.hasCompiledDoctype=!0},visitMixin:function(t){var e="jade_mixins[",i=t.args||"",s=t.block,n=t.attrs,r=t.attributeBlocks.slice(),o=this.pp,a="#"===t.name[0],h=t.name;if(a&&(this.dynamicMixins=!0),e+=(a?t.name.substr(2,t.name.length-3):'"'+t.name+'"')+"]",this.mixins[h]=this.mixins[h]||{used:!1,instances:[]},t.call){if(this.mixins[h].used=!0,o&&this.buf.push("jade_indent.push('"+Array(this.indents+1).join(o)+"');"),s||n.length||r.length){if(this.buf.push(e+".call({"),s){this.buf.push("block: function(){"),this.parentIndents++;var c=this.indents;this.indents=0,this.visit(t.block),this.indents=c,this.parentIndents--,n.length||r.length?this.buf.push("},"):this.buf.push("}")}if(r.length){if(n.length){var p=this.attrs(n);r.unshift(p)}this.buf.push("attributes: jade.merge(["+r.join(",")+"])")}else if(n.length){var p=this.attrs(n);this.buf.push("attributes: "+p)}i?this.buf.push("}, "+i+");"):this.buf.push("});")}else this.buf.push(e+"("+i+");");o&&this.buf.push("jade_indent.pop();")}else{var u=this.buf.length;i=i?i.split(","):[];var l;i.length&&/^\.\.\./.test(i[i.length-1].trim())&&(l=i.pop().trim().replace(/^\.\.\./,"")),this.buf.push(e+" = jade_interp = function("+i.join(",")+"){"),this.buf.push("var block = (this && this.block), attributes = (this && this.attributes) || {};"),l&&(this.buf.push("var "+l+" = [];"),this.buf.push("for (jade_interp = "+i.length+"; jade_interp < arguments.length; jade_interp++) {"),this.buf.push(" "+l+".push(arguments[jade_interp]);"),this.buf.push("}")),this.parentIndents++,this.visit(s),this.parentIndents--,this.buf.push("};");var f=this.buf.length;this.mixins[h].instances.push({start:u,end:f})}},visitTag:function(t){function e(){t.buffer?n.bufferExpression(i):n.buffer(i)}this.indents++;var i=t.name,s=this.pp,n=this;if("pre"==t.name&&(this.escape=!0),this.hasCompiledTag||(this.hasCompiledDoctype||"html"!=i||this.visitDoctype(),this.hasCompiledTag=!0),s&&!t.isInline()&&this.prettyIndent(0,!0),t.selfClosing||!this.xml&&p[t.name]){if(this.buffer("<"),e(),this.visitAttributes(t.attrs,t.attributeBlocks.slice()),this.terse?this.buffer(">"):this.buffer("/>"),t.block&&("Block"!==t.block.type||0!==t.block.nodes.length)&&t.block.nodes.some(function(t){return"Text"!==t.type||!/^\s*$/.test(t.val)}))throw r(t,new Error(i+" is self closing and should not have content."))}else this.buffer("<"),e(),this.visitAttributes(t.attrs,t.attributeBlocks.slice()),this.buffer(">"),t.code&&this.visitCode(t.code),this.visit(t.block),!s||t.isInline()||"pre"==t.name||t.canInline()||this.prettyIndent(0,!0),this.buffer("");"pre"==t.name&&(this.escape=!1),this.indents--},visitFilter:function(t){var e=t.block.nodes.map(function(t){return t.val}).join("\n");t.attrs.filename=this.options.filename;try{this.buffer(o(t.name,e,t.attrs),!0)}catch(i){throw r(t,i)}},visitText:function(t){this.buffer(t.val,!0)},visitComment:function(t){t.buffer&&(this.pp&&this.prettyIndent(1,!0),this.buffer(""))},visitBlockComment:function(t){t.buffer&&(this.pp&&this.prettyIndent(1,!0),this.buffer(""))},visitCode:function(t){if(t.buffer){var e=t.val.trim();e="null == (jade_interp = "+e+') ? "" : jade_interp',t.escape&&(e="jade.escape("+e+")"),this.bufferExpression(e)}else this.buf.push(t.val);t.block&&(t.buffer||this.buf.push("{"),this.visit(t.block),t.buffer||this.buf.push("}"))},visitEach:function(t){this.buf.push("// iterate "+t.obj+"\n;(function(){\n var $$obj = "+t.obj+";\n if ('number' == typeof $$obj.length) {\n"),t.alternative&&this.buf.push(" if ($$obj.length) {"),this.buf.push(" for (var "+t.key+" = 0, $$l = $$obj.length; "+t.key+" < $$l; "+t.key+"++) {\n var "+t.val+" = $$obj["+t.key+"];\n"),this.visit(t.block),this.buf.push(" }\n"),t.alternative&&(this.buf.push(" } else {"),this.visit(t.alternative),this.buf.push(" }")),this.buf.push(" } else {\n var $$l = 0;\n for (var "+t.key+" in $$obj) {\n $$l++; var "+t.val+" = $$obj["+t.key+"];\n"),this.visit(t.block),this.buf.push(" }\n"),t.alternative&&(this.buf.push(" if ($$l === 0) {"),this.visit(t.alternative),this.buf.push(" }")),this.buf.push(" }\n}).call(this);\n")},visitAttributes:function(t,e){if(e.length){if(t.length){var i=this.attrs(t);e.unshift(i)}this.bufferExpression("jade.attrs(jade.merge(["+e.join(",")+"]), "+c.stringify(this.terse)+")")}else t.length&&this.attrs(t,!0)},attrs:function(t,e){var i=[],r=[],o=[];return t.forEach(function(t){var a=t.name,p=t.escaped;if("class"===a)r.push(t.val),o.push(t.escaped);else if(s(t.val))if(e)this.buffer(h.attr(a,n(t.val),p,this.terse));else{var u=n(t.val);"style"===a&&(u=h.style(u)),!p||0===a.indexOf("data")&&"string"!=typeof u||(u=h.escape(u)),i.push(c.stringify(a)+": "+c.stringify(u))}else if(e)this.bufferExpression('jade.attr("'+a+'", '+t.val+", "+c.stringify(p)+", "+c.stringify(this.terse)+")");else{var u=t.val;"style"===a&&(u="jade.style("+u+")"),p&&0!==a.indexOf("data")?u="jade.escape("+u+")":p&&(u="(typeof (jade_interp = "+u+') == "string" ? jade.escape(jade_interp) : jade_interp)'),i.push(c.stringify(a)+": "+u)}}.bind(this)),e?r.every(s)?this.buffer(h.cls(r.map(n),o)):this.bufferExpression("jade.cls(["+r.join(",")+"], "+c.stringify(o)+")"):r.length&&(r=r.every(s)?c.stringify(h.joinClasses(r.map(n).map(h.joinClasses).map(function(t,e){return o[e]?h.escape(t):t}))):"(jade_interp = "+c.stringify(o)+", jade.joinClasses(["+r.join(",")+"].map(jade.joinClasses).map(function (cls, i) { return jade_interp[i] ? jade.escape(cls) : cls })))",r.length&&i.push('"class": '+r)),"{"+i.join(",")+"}"}}},{"./doctypes":3,"./filters":4,"./nodes":16,"./runtime":24,"./utils":25,"character-parser":29,constantinople:30,"void-elements":34}],3:[function(t,e,i){"use strict";e.exports={"default":"",xml:'',transitional:'',strict:'',frameset:'',1.1:'',basic:'',mobile:''}},{}],4:[function(t,e,i){"use strict";function s(t,e,i){if("function"==typeof s[t])return s[t](e,i);throw new Error('unknown filter ":'+t+'"')}e.exports=s},{}],5:[function(t,e,i){"use strict";e.exports=["a","abbr","acronym","b","br","code","em","font","i","img","ins","kbd","map","samp","small","span","strong","sub","sup"]},{}],6:[function(t,e,i){"use strict";function s(t){Function("","return ("+t+")")}function n(t){var e=o(t);if(e.isNesting())throw new Error("Nesting must match on expression `"+t+"`")}var r=t("./utils"),o=t("character-parser"),a=e.exports=function(t,e){this.input=t.replace(/\r\n|\r/g,"\n"),this.filename=e,this.deferredTokens=[],this.lastIndents=0,this.lineno=1,this.stash=[],this.indentStack=[],this.indentRe=null,this.pipeless=!1};a.prototype={tok:function(t,e){return{type:t,line:this.lineno,val:e}},consume:function(t){this.input=this.input.substr(t)},scan:function(t,e){var i;return(i=t.exec(this.input))?(this.consume(i[0].length),this.tok(e,i[1])):void 0},defer:function(t){this.deferredTokens.push(t)},lookahead:function(t){for(var e=t-this.stash.length;e-- >0;)this.stash.push(this.next());return this.stash[--t]},bracketExpression:function(t){t=t||0;var e=this.input[t];if("("!=e&&"{"!=e&&"["!=e)throw new Error("unrecognized start character");var i={"(":")","{":"}","[":"]"}[e],s=o.parseMax(this.input,{start:t+1});if(this.input[s.end]!==i)throw new Error("start character "+e+" does not match end character "+this.input[s.end]);return s},stashed:function(){return this.stash.length&&this.stash.shift()},deferred:function(){return this.deferredTokens.length&&this.deferredTokens.shift()},eos:function(){return this.input.length?void 0:this.indentStack.length?(this.indentStack.shift(),this.tok("outdent")):this.tok("eos")},blank:function(){var t;return(t=/^\n *\n/.exec(this.input))?(this.consume(t[0].length-1),++this.lineno,this.pipeless?this.tok("text",""):this.next()):void 0},comment:function(){var t;if(t=/^\/\/(-)?([^\n]*)/.exec(this.input)){this.consume(t[0].length);var e=this.tok("comment",t[2]);return e.buffer="-"!=t[1],this.pipeless=!0,e}},interpolation:function(){if(/^#\{/.test(this.input)){var t=this.bracketExpression(1);return this.consume(t.end+1),this.tok("interpolation",t.src)}},tag:function(){var t;if(t=/^(\w[-:\w]*)(\/?)/.exec(this.input)){this.consume(t[0].length);var e,i=t[1];if(":"==i[i.length-1])for(i=i.slice(0,-1),e=this.tok("tag",i),this.defer(this.tok(":"))," "!==this.input[0]&&console.warn("Warning: space required after `:` on line "+this.lineno+' of jade file "'+this.filename+'"');" "==this.input[0];)this.input=this.input.substr(1);else e=this.tok("tag",i);return e.selfClosing=!!t[2],e}},filter:function(){var t=this.scan(/^:([\w\-]+)/,"filter");return t?(this.pipeless=!0,t):void 0},doctype:function(){if(this.scan(/^!!! *([^\n]+)?/,"doctype"))throw new Error("`!!!` is deprecated, you must now use `doctype`");var t=this.scan(/^(?:doctype) *([^\n]+)?/,"doctype");if(t&&t.val&&"5"===t.val.trim())throw new Error("`doctype 5` is deprecated, you must now use `doctype html`");return t},id:function(){return this.scan(/^#([\w-]+)/,"id")},className:function(){return this.scan(/^\.([\w-]+)/,"class")},text:function(){return this.scan(/^(?:\| ?| )([^\n]+)/,"text")||this.scan(/^\|?( )/,"text")||this.scan(/^(<[^\n]*)/,"text")},textFail:function(){var t;return(t=this.scan(/^([^\.\n][^\n]+)/,"text"))?(console.warn("Warning: missing space before text for line "+this.lineno+' of jade file "'+this.filename+'"'),t):void 0},dot:function(){var t;return(t=this.scan(/^\./,"dot"))?(this.pipeless=!0,t):void 0},"extends":function(){return this.scan(/^extends? +([^\n]+)/,"extends")},prepend:function(){var t;if(t=/^prepend +([^\n]+)/.exec(this.input)){this.consume(t[0].length);var e="prepend",i=t[1],s=this.tok("block",i);return s.mode=e,s}},append:function(){var t;if(t=/^append +([^\n]+)/.exec(this.input)){this.consume(t[0].length);var e="append",i=t[1],s=this.tok("block",i);return s.mode=e,s}},block:function(){var t;if(t=/^block\b *(?:(prepend|append) +)?([^\n]+)/.exec(this.input)){this.consume(t[0].length);var e=t[1]||"replace",i=t[2],s=this.tok("block",i);return s.mode=e,s}},mixinBlock:function(){var t;return(t=/^block[ \t]*(\n|$)/.exec(this.input))?(this.consume(t[0].length-t[1].length),this.tok("mixin-block")):void 0},"yield":function(){return this.scan(/^yield */,"yield")},include:function(){return this.scan(/^include +([^\n]+)/,"include")},includeFiltered:function(){var t;if(t=/^include:([\w\-]+)([\( ])/.exec(this.input)){this.consume(t[0].length-1);var e=t[1],i="("===t[2]?this.attrs():null;if(" "!==t[2]&&" "!==this.input[0])throw new Error("expected space after include:filter but got "+r.stringify(this.input[0]));if(t=/^ *([^\n]+)/.exec(this.input),!t||""===t[1].trim())throw new Error("missing path for include:filter");this.consume(t[0].length);var s=t[1],n=this.tok("include",s);return n.filter=e,n.attrs=i,n}},"case":function(){return this.scan(/^case +([^\n]+)/,"case")},when:function(){return this.scan(/^when +([^:\n]+)/,"when")},"default":function(){return this.scan(/^default */,"default")},call:function(){var t,e;if(e=/^\+(\s*)(([-\w]+)|(#\{))/.exec(this.input)){if(e[3])this.consume(e[0].length),t=this.tok("call",e[3]);else{var i=this.bracketExpression(2+e[1].length);this.consume(i.end+1),s(i.src),t=this.tok("call","#{"+i.src+"}")}if(e=/^ *\(/.exec(this.input)){var n=this.bracketExpression(e[0].length-1);/^\s*[-\w]+ *=/.test(n.src)||(this.consume(n.end+1),t.args=n.src),t.args&&s("["+t.args+"]")}return t}},mixin:function(){var t;if(t=/^mixin +([-\w]+)(?: *\((.*)\))? */.exec(this.input)){this.consume(t[0].length);var e=this.tok("mixin",t[1]);return e.args=t[2],e}},conditional:function(){var t;if(t=/^(if|unless|else if|else)\b([^\n]*)/.exec(this.input)){this.consume(t[0].length);var e=t[1],i=t[2],n=!1,r=!1;switch(e){case"if":s(i),i="if ("+i+")",n=!0;break;case"unless":s(i),i="if (!("+i+"))",n=!0;break;case"else if":s(i),i="else if ("+i+")",n=!0,r=!0;break;case"else":if(i&&i.trim())throw new Error("`else` cannot have a condition, perhaps you meant `else if`");i="else",r=!0}var o=this.tok("code",i);return o.isElse=r,o.isIf=n,o.requiresBlock=!0,o}},"while":function(){var t;if(t=/^while +([^\n]+)/.exec(this.input)){this.consume(t[0].length),s(t[1]);var e=this.tok("code","while ("+t[1]+")");return e.requiresBlock=!0,e}},each:function(){var t;if(t=/^(?:- *)?(?:each|for) +([a-zA-Z_$][\w$]*)(?: *, *([a-zA-Z_$][\w$]*))? * in *([^\n]+)/.exec(this.input)){this.consume(t[0].length);var e=this.tok("each",t[1]);return e.key=t[2]||"$index",s(t[3]),e.code=t[3],e}},code:function(){var t;if(t=/^(!?=|-)[ \t]*([^\n]+)/.exec(this.input)){this.consume(t[0].length);var e=t[1];t[1]=t[2];var i=this.tok("code",t[1]);return i.escape="="===e.charAt(0),i.buffer="="===e.charAt(0)||"="===e.charAt(1),i.buffer&&s(t[1]),i}},blockCode:function(){var t;if(t=/^-\n/.exec(this.input)){this.consume(t[0].length-1);var e=this.tok("blockCode");return this.pipeless=!0,e}},attrs:function(){if("("==this.input.charAt(0)){var t=this.bracketExpression().end,e=this.input.substr(1,t-1),i=this.tok("attrs");n(e);var r="",a=function(t){return t.replace(/(\\)?#\{(.+)/g,function(t,e,i){if(e)return t;try{var n=o.parseMax(i);return"}"!==i[n.end]?t.substr(0,2)+a(t.substr(2)):(s(n.src),r+" + ("+n.src+") + "+r+a(i.substr(n.end+1)))}catch(h){return t.substr(0,2)+a(t.substr(2))}})};this.consume(t+1),i.attrs=[];var h=!0,c="",p="",u="",l=o.defaultState(),f="key",d=function(t){if(""===c.trim())return!1;if(t===e.length)return!0;if("key"===f){if(" "===e[t]||"\n"===e[t])for(var i=t;is;)this.stash.push(this.tok("outdent")),this.indentStack.shift();i=this.stash.pop()}else s&&s!=this.indentStack[0]?(this.indentStack.unshift(s),i=this.tok("indent",s)):i=this.tok("newline");return this.pipeless=!1,i}},pipelessText:function(){if(this.pipeless){var t,e;this.indentRe?t=this.indentRe.exec(this.input):(e=/^\n(\t*) */,t=e.exec(this.input),t&&!t[1].length&&(e=/^\n( *)/,t=e.exec(this.input)),t&&t[1].length&&(this.indentRe=e));var i=t&&t[1].length;if(i&&(0===this.indentStack.length||i>this.indentStack[0])){var s,n=t[1],r=[];do{var o=this.input.substr(1).indexOf("\n");-1==o&&(o=this.input.length-1);var a=this.input.substr(1,o);s=a.substr(0,n.length)===n||!a.trim(),s&&(this.consume(a.length+1),++this.lineno,r.push(a.substr(n.length)))}while(this.input.length&&s);for(;0===this.input.length&&""===r[r.length-1];)r.pop();return this.tok("pipeless-text",r)}}},colon:function(){var t=/^: +/.test(this.input),e=this.scan(/^: */,":");return e&&!t&&console.warn("Warning: space required after `:` on line "+this.lineno+' of jade file "'+this.filename+'"'),e},fail:function(){throw new Error("unexpected text "+this.input.substr(0,5))},advance:function(){return this.stashed()||this.next()},next:function(){return this.deferred()||this.blank()||this.eos()||this.pipelessText()||this["yield"]()||this.doctype()||this.interpolation()||this["case"]()||this.when()||this["default"]()||this["extends"]()||this.append()||this.prepend()||this.block()||this.mixinBlock()||this.include()||this.includeFiltered()||this.mixin()||this.call()||this.conditional()||this.each()||this["while"]()||this.tag()||this.filter()||this.blockCode()||this.code()||this.id()||this.className()||this.attrs()||this.attributesBlock()||this.indent()||this.text()||this.comment()||this.colon()||this.dot()||this.textFail()||this.fail()}}},{"./utils":25,"character-parser":29}],7:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(){this.attributeNames=[],this.attrs=[],this.attributeBlocks=[]};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Attrs",n.prototype.setAttribute=function(t,e,i){if("class"!==t&&-1!==this.attributeNames.indexOf(t))throw new Error('Duplicate attribute "'+t+'" is not allowed.');return this.attributeNames.push(t),this.attrs.push({name:t,val:e,escaped:i}),this},n.prototype.removeAttribute=function(t){var e=new Error("attrs.removeAttribute is deprecated and will be removed in v2.0.0");console.warn(e.stack);for(var i=0,s=this.attrs.length;s>i;++i)this.attrs[i]&&this.attrs[i].name==t&&delete this.attrs[i]},n.prototype.getAttribute=function(t){var e=new Error("attrs.getAttribute is deprecated and will be removed in v2.0.0");console.warn(e.stack);for(var i=0,s=this.attrs.length;s>i;++i)if(this.attrs[i]&&this.attrs[i].name==t)return this.attrs[i].val},n.prototype.addAttributes=function(t){this.attributeBlocks.push(t)}},{"./node":20}],8:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(t,e,i){this.block=e,this.val=t,this.buffer=i};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="BlockComment"},{"./node":20}],9:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(t){this.nodes=[],t&&this.push(t)};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Block",n.prototype.isBlock=!0,n.prototype.replace=function(t){var e=new Error("block.replace is deprecated and will be removed in v2.0.0");console.warn(e.stack),t.nodes=this.nodes},n.prototype.push=function(t){return this.nodes.push(t)},n.prototype.isEmpty=function(){return 0==this.nodes.length},n.prototype.unshift=function(t){return this.nodes.unshift(t)},n.prototype.includeBlock=function(){for(var t,e=this,i=0,s=this.nodes.length;s>i;++i){if(t=this.nodes[i],t["yield"])return t;if(!t.textOnly&&(t.includeBlock?e=t.includeBlock():t.block&&!t.block.isEmpty()&&(e=t.block.includeBlock()),e["yield"]))return e}return e},n.prototype.clone=function(){var t=new Error("block.clone is deprecated and will be removed in v2.0.0");console.warn(t.stack);for(var e=new n,i=0,s=this.nodes.length;s>i;++i)e.push(this.nodes[i].clone());return e}},{"./node":20}],10:[function(t,e,i){"use strict";var s=t("./node"),n=i=e.exports=function(t,e){this.expr=t,this.block=e};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Case";var r=i.When=function(t,e){this.expr=t,this.block=e,this.debug=!1};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.type="When"},{"./node":20}],11:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(t,e,i){this.val=t,this.buffer=e,this.escape=i,t.match(/^ *else/)&&(this.debug=!1)};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Code"},{"./node":20}],12:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(t,e){this.val=t,this.buffer=e};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Comment"},{"./node":20}],13:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(t){this.val=t};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Doctype"},{"./node":20}],14:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(t,e,i,s){this.obj=t,this.val=e,this.key=i,this.block=s};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Each"},{"./node":20}],15:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(t,e,i){this.name=t,this.block=e,this.attrs=i};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Filter"},{"./node":20}],16:[function(t,e,i){"use strict";i.Node=t("./node"),i.Tag=t("./tag"),i.Code=t("./code"),i.Each=t("./each"),i.Case=t("./case"),i.Text=t("./text"),i.Block=t("./block"),i.MixinBlock=t("./mixin-block"),i.Mixin=t("./mixin"),i.Filter=t("./filter"),i.Comment=t("./comment"),i.Literal=t("./literal"),i.BlockComment=t("./block-comment"),i.Doctype=t("./doctype")},{"./block":9,"./block-comment":8,"./case":10,"./code":11,"./comment":12,"./doctype":13,"./each":14,"./filter":15,"./literal":17,"./mixin":19,"./mixin-block":18,"./node":20,"./tag":21,"./text":22}],17:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(t){this.str=t};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Literal"},{"./node":20}],18:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(){};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="MixinBlock"},{"./node":20}],19:[function(t,e,i){"use strict";var s=t("./attrs"),n=e.exports=function(t,e,i,n){s.call(this),this.name=t,this.args=e,this.block=i,this.call=n};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Mixin"},{"./attrs":7}],20:[function(t,e,i){"use strict";var s=e.exports=function(){};s.prototype.clone=function(){var t=new Error("node.clone is deprecated and will be removed in v2.0.0");return console.warn(t.stack),this},s.prototype.type=""},{}],21:[function(t,e,i){"use strict";var s=t("./attrs"),n=t("./block"),r=t("../inline-tags"),o=e.exports=function(t,e){s.call(this),this.name=t,this.block=e||new n};o.prototype=Object.create(s.prototype), o.prototype.constructor=o,o.prototype.type="Tag",o.prototype.clone=function(){var t=new Error("tag.clone is deprecated and will be removed in v2.0.0");console.warn(t.stack);var e=new o(this.name,this.block.clone());return e.line=this.line,e.attrs=this.attrs,e.textOnly=this.textOnly,e},o.prototype.isInline=function(){return~r.indexOf(this.name)},o.prototype.canInline=function(){function t(e){return e.isBlock?e.nodes.every(t):e.isText||e.isInline&&e.isInline()}var e=this.block.nodes;if(!e.length)return!0;if(1==e.length)return t(e[0]);if(this.block.nodes.every(t)){for(var i=1,s=e.length;s>i;++i)if(e[i-1].isText&&e[i].isText)return!1;return!0}return!1}},{"../inline-tags":5,"./attrs":7,"./block":9}],22:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(t){this.val=t};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Text",n.prototype.isText=!0},{"./node":20}],23:[function(t,e,i){"use strict";var s=t("./lexer"),n=t("./nodes"),r=t("./utils"),o=t("./filters"),a=t("path"),h=t("constantinople"),c=t("character-parser").parseMax,p=(a.extname,i=e.exports=function(t,e,i){this.input=t.replace(/^\uFEFF/,""),this.lexer=new s(this.input,e),this.filename=e,this.blocks={},this.mixins={},this.options=i,this.contexts=[this],this.inMixin=0,this.dependencies=[],this.inBlock=0});p.prototype={constructor:p,context:function(t){return t?void this.contexts.push(t):this.contexts.pop()},advance:function(){return this.lexer.advance()},peek:function(){return this.lookahead(1)},line:function(){return this.lexer.lineno},lookahead:function(t){return this.lexer.lookahead(t)},parse:function(){var t,e=new n.Block;for(e.line=0,e.filename=this.filename;"eos"!=this.peek().type;)if("newline"==this.peek().type)this.advance();else{var i=this.peek(),s=this.parseExpr();s.filename=s.filename||this.filename,s.line=i.line,e.push(s)}if(t=this.extending){this.context(t);var o=t.parse();this.context();for(var a in this.mixins)o.unshift(this.mixins[a]);return o}if(!this.extending&&!this.included&&Object.keys(this.blocks).length){var h=[];r.walkAST(e,function(t){"Block"===t.type&&t.name&&h.push(t.name)}),Object.keys(this.blocks).forEach(function(t){-1!==h.indexOf(t)||this.blocks[t].isSubBlock||console.warn('Warning: Unexpected block "'+t+'" on line '+this.blocks[t].line+" of "+this.blocks[t].filename+". This block is never used. This warning will be an error in v2.0.0")}.bind(this))}return e},expect:function(t){if(this.peek().type===t)return this.advance();throw new Error('expected "'+t+'", but got "'+this.peek().type+'"')},accept:function(t){return this.peek().type===t?this.advance():void 0},parseExpr:function(){switch(this.peek().type){case"tag":return this.parseTag();case"mixin":return this.parseMixin();case"block":return this.parseBlock();case"mixin-block":return this.parseMixinBlock();case"case":return this.parseCase();case"extends":return this.parseExtends();case"include":return this.parseInclude();case"doctype":return this.parseDoctype();case"filter":return this.parseFilter();case"comment":return this.parseComment();case"text":return this.parseText();case"each":return this.parseEach();case"code":return this.parseCode();case"blockCode":return this.parseBlockCode();case"call":return this.parseCall();case"interpolation":return this.parseInterpolation();case"yield":this.advance();var t=new n.Block;return t["yield"]=!0,t;case"id":case"class":var e=this.advance();return this.lexer.defer(this.lexer.tok("tag","div")),this.lexer.defer(e),this.parseExpr();default:throw new Error('unexpected token "'+this.peek().type+'"')}},parseText:function(){var t=this.expect("text"),e=this.parseInlineTagsInText(t.val);if(1===e.length)return e[0];for(var i=new n.Block,s=0;s0,this.blocks[i]=t},parseMixinBlock:function(){this.expect("mixin-block");if(!this.inMixin)throw new Error("Anonymous blocks are not allowed unless they are part of a mixin.");return new n.MixinBlock},parseInclude:function(){var e=t("fs"),i=this.expect("include"),s=this.resolvePath(i.val.trim(),"include");if(this.dependencies.push(s),i.filter){var a=e.readFileSync(s,"utf8").replace(/\r/g,""),c={filename:s};return i.attrs&&i.attrs.attrs.forEach(function(t){c[t.name]=h.toConstant(t.val)}),a=o(i.filter,a,c),new n.Literal(a)}if(".jade"!=s.substr(-5)){var a=e.readFileSync(s,"utf8").replace(/\r/g,"");return new n.Literal(a)}var a=e.readFileSync(s,"utf8"),p=new this.constructor(a,s,this.options);p.dependencies=this.dependencies,p.blocks=r.merge({},this.blocks),p.included=!0,p.mixins=this.mixins,this.context(p);var u=p.parse();return this.context(),u.filename=s,"indent"==this.peek().type&&u.includeBlock().push(this.block()),u},parseCall:function(){var t=this.expect("call"),e=t.val,i=t.args,s=new n.Mixin(e,i,new n.Block,!0);return this.tag(s),s.code&&(s.block.push(s.code),s.code=null),s.block.isEmpty()&&(s.block=null),s},parseMixin:function(){var t,e=this.expect("mixin"),i=e.val,s=e.args;return"indent"==this.peek().type?(this.inMixin++,t=new n.Mixin(i,s,this.block(),!1),this.mixins[i]=t,this.inMixin--,t):new n.Mixin(i,s,null,!0)},parseInlineTagsInText:function(t){var e=this.line(),i=/(\\)?#\[((?:.|\n)*)$/.exec(t);if(i){if(i[1]){var s=new n.Text(t.substr(0,i.index)+"#[");s.line=e;var r=this.parseInlineTagsInText(i[2]);return"Text"===r[0].type&&(s.val+=r[0].val,r.shift()),[s].concat(r)}var s=new n.Text(t.substr(0,i.index));s.line=e;var o=[s],r=i[2],a=c(r),h=new p(a.src,this.filename,this.options);return o.push(h.parse()),o.concat(this.parseInlineTagsInText(r.substr(a.end+1)))}var s=new n.Text(t);return s.line=e,[s]},parseTextBlock:function(){var t=new n.Block;t.line=this.line();var e=this.peek();if("pipeless-text"===e.type)return this.advance(),t.nodes=e.val.reduce(function(t,e){return t.concat(this.parseInlineTagsInText(e))}.bind(this),[]),t},block:function(){var t=new n.Block;for(t.line=this.line(),t.filename=this.filename,this.expect("indent");"outdent"!=this.peek().type;)if("newline"==this.peek().type)this.advance();else{var e=this.parseExpr();e.filename=this.filename,t.push(e)}return this.expect("outdent"),t},parseInterpolation:function(){var t=this.advance(),e=new n.Tag(t.val);return e.buffer=!0,this.tag(e)},parseTag:function(){var t=this.advance(),e=new n.Tag(t.val);return e.selfClosing=t.selfClosing,this.tag(e)},tag:function(t){t.line=this.line();var e=!1;t:for(;;)switch(this.peek().type){case"id":case"class":var i=this.advance();t.setAttribute(i.type,"'"+i.val+"'");continue;case"attrs":e&&console.warn(this.filename+", line "+this.peek().line+":\nYou should not have jade tags with multiple attributes."),e=!0;var i=this.advance(),s=i.attrs;i.selfClosing&&(t.selfClosing=!0);for(var r=0;rr;++r)t.block.push(o.nodes[r]);return t}}},{"./filters":4,"./lexer":6,"./nodes":16,"./utils":25,"character-parser":29,constantinople:30,fs:26,path:27}],24:[function(t,e,i){"use strict";function s(t){return null!=t&&""!==t}function n(t){return(Array.isArray(t)?t.map(n):t&&"object"==typeof t?Object.keys(t).filter(function(e){return t[e]}):[t]).filter(s).join(" ")}function r(t){return a[t]||t}function o(t){var e=String(t).replace(h,r);return e===""+t?t:e}i.merge=function c(t,e){if(1===arguments.length){for(var i=t[0],n=1;n":">",'"':"""},h=/[&<>"]/g;i.escape=o,i.rethrow=function p(e,i,s,n){if(!(e instanceof Error))throw e;if(!("undefined"==typeof window&&i||n))throw e.message+=" on line "+s,e;try{n=n||t("fs").readFileSync(i,"utf8")}catch(r){p(e,null,s)}var o=3,a=n.split("\n"),h=Math.max(s-o,0),c=Math.min(a.length,s+o),o=a.slice(h,c).map(function(t,e){var i=e+h+1;return(i==s?" > ":" ")+i+"| "+t}).join("\n");throw e.path=i,e.message=(i||"Jade")+":"+s+"\n"+o+"\n\n"+e.message,e},i.DebugItem=function(t,e){this.lineno=t,this.filename=e}},{fs:26}],25:[function(t,e,i){"use strict";i.merge=function(t,e){for(var i in e)t[i]=e[i];return t},i.stringify=function(t){return JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")},i.walkAST=function s(t,e,i){switch(e&&e(t),t.type){case"Block":t.nodes.forEach(function(t){s(t,e,i)});break;case"Case":case"Each":case"Mixin":case"Tag":case"When":case"Code":t.block&&s(t.block,e,i);break;case"Attrs":case"BlockComment":case"Comment":case"Doctype":case"Filter":case"Literal":case"MixinBlock":case"Text":break;default:throw new Error("Unexpected node type "+t.type)}i&&i(t)}},{}],26:[function(t,e,i){},{}],27:[function(t,e,i){(function(t){function e(t,e){for(var i=0,s=t.length-1;s>=0;s--){var n=t[s];"."===n?t.splice(s,1):".."===n?(t.splice(s,1),i++):i&&(t.splice(s,1),i--)}if(e)for(;i--;i)t.unshift("..");return t}function s(t,e){if(t.filter)return t.filter(e);for(var i=[],s=0;s=-1&&!n;r--){var o=r>=0?arguments[r]:t.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(i=o+"/"+i,n="/"===o.charAt(0))}return i=e(s(i.split("/"),function(t){return!!t}),!n).join("/"),(n?"/":"")+i||"."},i.normalize=function(t){var n=i.isAbsolute(t),r="/"===o(t,-1);return t=e(s(t.split("/"),function(t){return!!t}),!n).join("/"),t||n||(t="."),t&&r&&(t+="/"),(n?"/":"")+t},i.isAbsolute=function(t){return"/"===t.charAt(0)},i.join=function(){var t=Array.prototype.slice.call(arguments,0);return i.normalize(s(t,function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},i.relative=function(t,e){function s(t){for(var e=0;e=0&&""===t[i];i--);return e>i?[]:t.slice(e,i-e+1)}t=i.resolve(t).substr(1),e=i.resolve(e).substr(1);for(var n=s(t.split("/")),r=s(e.split("/")),o=Math.min(n.length,r.length),a=o,h=0;o>h;h++)if(n[h]!==r[h]){a=h;break}for(var c=[],h=a;he&&(e=t.length+e),t.substr(e,i)}}).call(this,t("_process"))},{_process:28}],28:[function(t,e,i){function s(){p=!1,a.length?c=a.concat(c):u=-1,c.length&&n()}function n(){if(!p){var t=setTimeout(s);p=!0;for(var e=c.length;e;){for(a=c,c=[];++u1)for(var i=1;io;){if(e.roundDepth<0||e.curlyDepth<0||e.squareDepth<0)throw new SyntaxError("Mismatched Bracket: "+t[o-1]);i.parseChar(t[o++],e)}return e}function n(t,e){e=e||{};for(var s=e.start||0,n=s,r=i.defaultState();r.roundDepth>=0&&r.curlyDepth>=0&&r.squareDepth>=0;){if(n>=t.length)throw new Error("The end of the string was reached with no closing bracket found.");i.parseChar(t[n++],r)}var o=n-1;return{start:s,end:o,src:t.substring(s,o)}}function r(t,e,s){s=s||{};for(var n=s.includeLineComment||!1,r=s.start||0,o=r,a=i.defaultState();a.isString()||a.regexp||a.blockComment||!n&&a.lineComment||!h(t,e,o);)i.parseChar(t[o++],a);var c=o;return{start:r,end:c,src:t.substring(r,c)}}function o(t,e){if(1!==t.length)throw new Error("Character must be a string of length 1");e=e||i.defaultState(),e.src=e.src||"",e.src+=t;var s=e.blockComment||e.lineComment,n=e.history?e.history[0]:"";return e.regexpStart&&(("/"===t||"*"==t)&&(e.regexp=!1),e.regexpStart=!1),e.lineComment?"\n"===t&&(e.lineComment=!1):e.blockComment?"*"===e.lastChar&&"/"===t&&(e.blockComment=!1):e.singleQuote?"'"!==t||e.escaped?"\\"!==t||e.escaped?e.escaped=!1:e.escaped=!0:e.singleQuote=!1:e.doubleQuote?'"'!==t||e.escaped?"\\"!==t||e.escaped?e.escaped=!1:e.escaped=!0:e.doubleQuote=!1:e.regexp?"/"!==t||e.escaped?"\\"!==t||e.escaped?e.escaped=!1:e.escaped=!0:e.regexp=!1:"/"===n&&"/"===t?(e.history=e.history.substr(1),e.lineComment=!0):"/"===n&&"*"===t?(e.history=e.history.substr(1),e.blockComment=!0):"/"===t&&u(e.history)?(e.regexp=!0,e.regexpStart=!0):"'"===t?e.singleQuote=!0:'"'===t?e.doubleQuote=!0:"("===t?e.roundDepth++:")"===t?e.roundDepth--:"{"===t?e.curlyDepth++:"}"===t?e.curlyDepth--:"["===t?e.squareDepth++:"]"===t&&e.squareDepth--,e.blockComment||e.lineComment||s||(e.history=t+e.history),e.lastChar=t,e}function a(){this.lineComment=!1,this.blockComment=!1,this.singleQuote=!1,this.doubleQuote=!1,this.regexp=!1,this.escaped=!1,this.roundDepth=0,this.curlyDepth=0,this.squareDepth=0,this.history="",this.lastChar=""}function h(t,e,i){return t.substr(i||0,e.length)===e}function c(t){if(!t)return!0;var e=t.charCodeAt(0);switch(e){case 46:case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:case 37:case 38:case 42:case 43:case 45:case 47:case 60:case 62:case 94:case 124:case 33:case 61:return!0;default:return!1}}function p(t){return"if"===t||"in"===t||"do"===t||"var"===t||"for"===t||"new"===t||"try"===t||"let"===t||"this"===t||"else"===t||"case"===t||"void"===t||"with"===t||"enum"===t||"while"===t||"break"===t||"catch"===t||"throw"===t||"const"===t||"yield"===t||"class"===t||"super"===t||"return"===t||"typeof"===t||"delete"===t||"switch"===t||"export"===t||"import"===t||"default"===t||"finally"===t||"extends"===t||"function"===t||"continue"===t||"debugger"===t||"package"===t||"private"===t||"interface"===t||"instanceof"===t||"implements"===t||"protected"===t||"public"===t||"static"===t||"yield"===t||"let"===t}function u(t){return t=t.replace(/^\s*/,""),")"===t[0]?!1:"}"===t[0]?!0:c(t[0])?!0:/^\w+\b/.test(t)&&p(/^\w+\b/.exec(t)[0].split("").reverse().join(""))?!0:!1}i=e.exports=s,i.parse=s,i.parseMax=n,i.parseUntil=r,i.parseChar=o,i.defaultState=function(){return new a},a.prototype.isString=function(){return this.singleQuote||this.doubleQuote},a.prototype.isComment=function(){return this.lineComment||this.blockComment},a.prototype.isNesting=function(){return this.isString()||this.isComment()||this.regexp||this.roundDepth>0||this.curlyDepth>0||this.squareDepth>0},i.isPunctuator=c,i.isKeyword=p},{}],30:[function(require,module,exports){"use strict";function isConstant(t,e){if(t="("+t+")",lastSRC===t&&lastConstants===e)return lastRes;lastSRC=t,lastConstants=e;try{return isExpression(t),lastRes=0===detect(t).filter(function(t){return!(e&&t.name in e)}).length}catch(i){return lastRes=!1}}function toConstant(t,e){if(!isConstant(t,e))throw new Error(JSON.stringify(t)+" is not constant.");return Function(Object.keys(e||{}).join(","),"return ("+t+")").apply(null,Object.keys(e||{}).map(function(t){return e[t]}))}function isExpression(src){try{return eval('throw "STOP"; (function () { return ('+src+"); })()"),!1}catch(err){return"STOP"===err}}var detect=require("acorn-globals"),lastSRC="(null)",lastRes=!0,lastConstants=void 0;module.exports=isConstant,isConstant.isConstant=isConstant,isConstant.toConstant=toConstant},{"acorn-globals":31}],31:[function(t,e,i){"use strict";function s(t){return"FunctionExpression"===t.type||"FunctionDeclaration"===t.type||"Program"===t.type}function n(t){return"BlockStatement"===t.type||s(t)}function r(t){return"FunctionExpression"===t.type||"FunctionDeclaration"===t.type||"ArrowFunction"===t.type}function o(t){return"FunctionExpression"===t.type||"FunctionDeclaration"===t.type}function a(t){try{return c.parse(t,{ecmaVersion:6,allowReturnOutsideFunction:!0,sourceType:"module"})}catch(e){if("SyntaxError"!==e.name)throw e;try{return c.parse(t,{ecmaVersion:6,allowReturnOutsideFunction:!0})}catch(e){if("SyntaxError"!==e.name)throw e;return c.parse(t,{ecmaVersion:5,allowReturnOutsideFunction:!0})}}}function h(t){var e=[],i="string"==typeof t?i=a(t):t;if(!i||"object"!=typeof i||"Program"!==i.type)throw new TypeError("Source must be either a string of JavaScript or an acorn AST");var h=function(t){var e=t;e.locals=e.locals||{},t.params.forEach(function(t){e.locals[t.name]=!0}),t.id&&(e.locals[t.id.name]=!0)};p.ancestor(i,{VariableDeclaration:function(t,e){for(var i=null,r=e.length-1;r>=0&&null===i;r--)("var"===t.kind?s(e[r]):n(e[r]))&&(i=e[r]);i.locals=i.locals||{},t.declarations.forEach(function(t){i.locals[t.id.name]=!0})},FunctionDeclaration:function(t,e){for(var i=null,n=e.length-2;n>=0&&null===i;n--)s(e[n])&&(i=e[n]);i.locals=i.locals||{},i.locals[t.id.name]=!0,h(t)},Function:h,TryStatement:function(t){t.handler.body.locals=t.handler.body.locals||{},t.handler.body.locals[t.handler.param.name]=!0},ImportDefaultSpecifier:function(t){"Identifier"===t.local.type&&(i.locals=i.locals||{},i.locals[t.local.name]=!0)},ImportSpecifier:function(t){var e=t.local?t.local:t.imported;"Identifier"===e.type&&(i.locals=i.locals||{},i.locals[e.name]=!0)},ImportNamespaceSpecifier:function(t){"Identifier"===t.local.type&&(i.locals=i.locals||{},i.locals[t.local.name]=!0)}}),p.ancestor(i,{Identifier:function(t,i){var s=t.name;if("undefined"!==s){for(var n=0;n=3&&(s.depth=arguments[2]),arguments.length>=4&&(s.colors=arguments[3]),m(e)?s.showHidden=e:e&&i._extend(s,e),k(s.showHidden)&&(s.showHidden=!1),k(s.depth)&&(s.depth=2),k(s.colors)&&(s.colors=!1),k(s.customInspect)&&(s.customInspect=!0),s.colors&&(s.stylize=r),h(s,t,s.depth)}function r(t,e){var i=n.styles[e];return i?"["+n.colors[i][0]+"m"+t+"["+n.colors[i][1]+"m":t}function o(t,e){return t}function a(t){var e={};return t.forEach(function(t,i){e[t]=!0}),e}function h(t,e,s){if(t.customInspect&&e&&T(e.inspect)&&e.inspect!==i.inspect&&(!e.constructor||e.constructor.prototype!==e)){var n=e.inspect(s,t);return b(n)||(n=h(t,n,s)),n}var r=c(t,e);if(r)return r;var o=Object.keys(e),m=a(o);if(t.showHidden&&(o=Object.getOwnPropertyNames(e)),S(e)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return p(e);if(0===o.length){if(T(e)){var y=e.name?": "+e.name:"";return t.stylize("[Function"+y+"]","special")}if(w(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(C(e))return t.stylize(Date.prototype.toString.call(e),"date");if(S(e))return p(e)}var x="",v=!1,g=["{","}"];if(d(e)&&(v=!0,g=["[","]"]),T(e)){var k=e.name?": "+e.name:"";x=" [Function"+k+"]"}if(w(e)&&(x=" "+RegExp.prototype.toString.call(e)),C(e)&&(x=" "+Date.prototype.toUTCString.call(e)),S(e)&&(x=" "+p(e)),0===o.length&&(!v||0==e.length))return g[0]+x+g[1];if(0>s)return w(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special");t.seen.push(e);var E;return E=v?u(t,e,s,m,o):o.map(function(i){return l(t,e,s,m,i,v)}),t.seen.pop(),f(E,x,g)}function c(t,e){if(k(e))return t.stylize("undefined","undefined");if(b(e)){var i="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(i,"string")}return v(e)?t.stylize(""+e,"number"):m(e)?t.stylize(""+e,"boolean"):y(e)?t.stylize("null","null"):void 0}function p(t){return"["+Error.prototype.toString.call(t)+"]"}function u(t,e,i,s,n){for(var r=[],o=0,a=e.length;a>o;++o)I(e,String(o))?r.push(l(t,e,i,s,String(o),!0)):r.push("");return n.forEach(function(n){n.match(/^\d+$/)||r.push(l(t,e,i,s,n,!0))}),r}function l(t,e,i,s,n,r){var o,a,c;if(c=Object.getOwnPropertyDescriptor(e,n)||{value:e[n]},c.get?a=c.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):c.set&&(a=t.stylize("[Setter]","special")),I(s,n)||(o="["+n+"]"),a||(t.seen.indexOf(c.value)<0?(a=y(i)?h(t,c.value,null):h(t,c.value,i-1),a.indexOf("\n")>-1&&(a=r?a.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+a.split("\n").map(function(t){return" "+t}).join("\n"))):a=t.stylize("[Circular]","special")),k(o)){if(r&&n.match(/^\d+$/))return a;o=JSON.stringify(""+n),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+a}function f(t,e,i){var s=0,n=t.reduce(function(t,e){return s++,e.indexOf("\n")>=0&&s++,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0);return n>60?i[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+i[1]:i[0]+e+" "+t.join(", ")+" "+i[1]}function d(t){return Array.isArray(t)}function m(t){return"boolean"==typeof t}function y(t){return null===t}function x(t){return null==t}function v(t){return"number"==typeof t}function b(t){return"string"==typeof t}function g(t){return"symbol"==typeof t}function k(t){return void 0===t}function w(t){return E(t)&&"[object RegExp]"===_(t)}function E(t){return"object"==typeof t&&null!==t}function C(t){return E(t)&&"[object Date]"===_(t)}function S(t){return E(t)&&("[object Error]"===_(t)||t instanceof Error)}function T(t){return"function"==typeof t}function A(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||"undefined"==typeof t}function _(t){return Object.prototype.toString.call(t)}function N(t){return 10>t?"0"+t.toString(10):t.toString(10)}function j(){var t=new Date,e=[N(t.getHours()),N(t.getMinutes()),N(t.getSeconds())].join(":");return[t.getDate(),D[t.getMonth()],e].join(" ")}function I(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var L=/%[sdj%]/g;i.format=function(t){if(!b(t)){for(var e=[],i=0;i=r)return t;switch(t){case"%s": return String(s[i++]);case"%d":return Number(s[i++]);case"%j":try{return JSON.stringify(s[i++])}catch(e){return"[Circular]"}default:return t}}),a=s[i];r>i;a=s[++i])o+=y(a)||!E(a)?" "+a:" "+n(a);return o},i.deprecate=function(t,n){function r(){if(!o){if(e.throwDeprecation)throw new Error(n);e.traceDeprecation?console.trace(n):console.error(n),o=!0}return t.apply(this,arguments)}if(k(s.process))return function(){return i.deprecate(t,n).apply(this,arguments)};if(e.noDeprecation===!0)return t;var o=!1;return r};var B,O={};i.debuglog=function(t){if(k(B)&&(B=e.env.NODE_DEBUG||""),t=t.toUpperCase(),!O[t])if(new RegExp("\\b"+t+"\\b","i").test(B)){var s=e.pid;O[t]=function(){var e=i.format.apply(i,arguments);console.error("%s %d: %s",t,s,e)}}else O[t]=function(){};return O[t]},i.inspect=n,n.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},n.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},i.isArray=d,i.isBoolean=m,i.isNull=y,i.isNullOrUndefined=x,i.isNumber=v,i.isString=b,i.isSymbol=g,i.isUndefined=k,i.isRegExp=w,i.isObject=E,i.isDate=C,i.isError=S,i.isFunction=T,i.isPrimitive=A,i.isBuffer=t("./support/isBuffer");var D=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];i.log=function(){console.log("%s - %s",j(),i.format.apply(i,arguments))},i.inherits=t("inherits"),i._extend=function(t,e){if(!e||!E(e))return t;for(var i=Object.keys(e),s=i.length;s--;)t[i[s]]=e[i[s]];return t}}).call(this,t("_process"),"undefined"!=typeof s?s:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":4,_process:3,inherits:2}],6:[function(t,e,i){"use strict";var s=t("./tokentype").types,n=t("./state").Parser,r=t("./identifier").reservedWords,o=t("./util").has,a=n.prototype;a.checkPropClash=function(t,e){if(!(this.options.ecmaVersion>=6)){var i=t.key,s=void 0;switch(i.type){case"Identifier":s=i.name;break;case"Literal":s=String(i.value);break;default:return}var n=t.kind||"init",r=void 0;if(o(e,s)){r=e[s];var a="init"!==n;((this.strict||a)&&r[n]||!(a^r.init))&&this.raise(i.start,"Redefinition of property")}else r=e[s]={init:!1,get:!1,set:!1};r[n]=!0}},a.parseExpression=function(t,e){var i=this.start,n=this.startLoc,r=this.parseMaybeAssign(t,e);if(this.type===s.comma){var o=this.startNodeAt(i,n);for(o.expressions=[r];this.eat(s.comma);)o.expressions.push(this.parseMaybeAssign(t,e));return this.finishNode(o,"SequenceExpression")}return r},a.parseMaybeAssign=function(t,e,i){if(this.type==s._yield&&this.inGenerator)return this.parseYield();var n=void 0;e?n=!1:(e={start:0},n=!0);var r=this.start,o=this.startLoc;(this.type==s.parenL||this.type==s.name)&&(this.potentialArrowAt=this.start);var a=this.parseMaybeConditional(t,e);if(i&&(a=i.call(this,a,r,o)),this.type.isAssign){var h=this.startNodeAt(r,o);return h.operator=this.value,h.left=this.type===s.eq?this.toAssignable(a):a,e.start=0,this.checkLVal(a),this.next(),h.right=this.parseMaybeAssign(t),this.finishNode(h,"AssignmentExpression")}return n&&e.start&&this.unexpected(e.start),a},a.parseMaybeConditional=function(t,e){var i=this.start,n=this.startLoc,r=this.parseExprOps(t,e);if(e&&e.start)return r;if(this.eat(s.question)){var o=this.startNodeAt(i,n);return o.test=r,o.consequent=this.parseMaybeAssign(),this.expect(s.colon),o.alternate=this.parseMaybeAssign(t),this.finishNode(o,"ConditionalExpression")}return r},a.parseExprOps=function(t,e){var i=this.start,s=this.startLoc,n=this.parseMaybeUnary(e);return e&&e.start?n:this.parseExprOp(n,i,s,-1,t)},a.parseExprOp=function(t,e,i,n,r){var o=this.type.binop;if(Array.isArray(e)&&this.options.locations&&void 0===r&&(r=n,n=i,i=e[1],e=e[0]),null!=o&&(!r||this.type!==s._in)&&o>n){var a=this.startNodeAt(e,i);a.left=t,a.operator=this.value;var h=this.type;this.next();var c=this.start,p=this.startLoc;return a.right=this.parseExprOp(this.parseMaybeUnary(),c,p,o,r),this.finishNode(a,h===s.logicalOR||h===s.logicalAND?"LogicalExpression":"BinaryExpression"),this.parseExprOp(a,e,i,n,r)}return t},a.parseMaybeUnary=function(t){if(this.type.prefix){var e=this.startNode(),i=this.type===s.incDec;return e.operator=this.value,e.prefix=!0,this.next(),e.argument=this.parseMaybeUnary(),t&&t.start&&this.unexpected(t.start),i?this.checkLVal(e.argument):this.strict&&"delete"===e.operator&&"Identifier"===e.argument.type&&this.raise(e.start,"Deleting local variable in strict mode"),this.finishNode(e,i?"UpdateExpression":"UnaryExpression")}var n=this.start,r=this.startLoc,o=this.parseExprSubscripts(t);if(t&&t.start)return o;for(;this.type.postfix&&!this.canInsertSemicolon();){var e=this.startNodeAt(n,r);e.operator=this.value,e.prefix=!1,e.argument=o,this.checkLVal(o),this.next(),o=this.finishNode(e,"UpdateExpression")}return o},a.parseExprSubscripts=function(t){var e=this.start,i=this.startLoc,s=this.parseExprAtom(t);return t&&t.start?s:this.parseSubscripts(s,e,i)},a.parseSubscripts=function(t,e,i,n){for(Array.isArray(e)&&this.options.locations&&void 0===n&&(n=i,i=e[1],e=e[0]);;)if(this.eat(s.dot)){var r=this.startNodeAt(e,i);r.object=t,r.property=this.parseIdent(!0),r.computed=!1,t=this.finishNode(r,"MemberExpression")}else if(this.eat(s.bracketL)){var r=this.startNodeAt(e,i);r.object=t,r.property=this.parseExpression(),r.computed=!0,this.expect(s.bracketR),t=this.finishNode(r,"MemberExpression")}else if(!n&&this.eat(s.parenL)){var r=this.startNodeAt(e,i);r.callee=t,r.arguments=this.parseExprList(s.parenR,!1),t=this.finishNode(r,"CallExpression")}else{if(this.type!==s.backQuote)return t;var r=this.startNodeAt(e,i);r.tag=t,r.quasi=this.parseTemplate(),t=this.finishNode(r,"TaggedTemplateExpression")}},a.parseExprAtom=function(t){var e=void 0,i=this.potentialArrowAt==this.start;switch(this.type){case s._this:case s._super:var n=this.type===s._this?"ThisExpression":"Super";return e=this.startNode(),this.next(),this.finishNode(e,n);case s._yield:this.inGenerator&&this.unexpected();case s.name:var r=this.start,o=this.startLoc,a=this.parseIdent(this.type!==s.name);return i&&!this.canInsertSemicolon()&&this.eat(s.arrow)?this.parseArrowExpression(this.startNodeAt(r,o),[a]):a;case s.regexp:var h=this.value;return e=this.parseLiteral(h.value),e.regex={pattern:h.pattern,flags:h.flags},e;case s.num:case s.string:return this.parseLiteral(this.value);case s._null:case s._true:case s._false:return e=this.startNode(),e.value=this.type===s._null?null:this.type===s._true,e.raw=this.type.keyword,this.next(),this.finishNode(e,"Literal");case s.parenL:return this.parseParenAndDistinguishExpression(i);case s.bracketL:return e=this.startNode(),this.next(),this.options.ecmaVersion>=7&&this.type===s._for?this.parseComprehension(e,!1):(e.elements=this.parseExprList(s.bracketR,!0,!0,t),this.finishNode(e,"ArrayExpression"));case s.braceL:return this.parseObj(!1,t);case s._function:return e=this.startNode(),this.next(),this.parseFunction(e,!1);case s._class:return this.parseClass(this.startNode(),!1);case s._new:return this.parseNew();case s.backQuote:return this.parseTemplate();default:this.unexpected()}},a.parseLiteral=function(t){var e=this.startNode();return e.value=t,e.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(e,"Literal")},a.parseParenExpression=function(){this.expect(s.parenL);var t=this.parseExpression();return this.expect(s.parenR),t},a.parseParenAndDistinguishExpression=function(t){var e=this.start,i=this.startLoc,n=void 0;if(this.options.ecmaVersion>=6){if(this.next(),this.options.ecmaVersion>=7&&this.type===s._for)return this.parseComprehension(this.startNodeAt(e,i),!0);for(var r=this.start,o=this.startLoc,a=[],h=!0,c={start:0},p=void 0,u=void 0;this.type!==s.parenR;){if(h?h=!1:this.expect(s.comma),this.type===s.ellipsis){p=this.start,a.push(this.parseParenItem(this.parseRest()));break}this.type!==s.parenL||u||(u=this.start),a.push(this.parseMaybeAssign(!1,c,this.parseParenItem))}var l=this.start,f=this.startLoc;if(this.expect(s.parenR),t&&!this.canInsertSemicolon()&&this.eat(s.arrow))return u&&this.unexpected(u),this.parseParenArrowList(e,i,a);a.length||this.unexpected(this.lastTokStart),p&&this.unexpected(p),c.start&&this.unexpected(c.start),a.length>1?(n=this.startNodeAt(r,o),n.expressions=a,this.finishNodeAt(n,"SequenceExpression",l,f)):n=a[0]}else n=this.parseParenExpression();if(this.options.preserveParens){var d=this.startNodeAt(e,i);return d.expression=n,this.finishNode(d,"ParenthesizedExpression")}return n},a.parseParenItem=function(t){return t},a.parseParenArrowList=function(t,e,i){return this.parseArrowExpression(this.startNodeAt(t,e),i)};var h=[];a.parseNew=function(){var t=this.startNode(),e=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(s.dot))return t.meta=e,t.property=this.parseIdent(!0),"target"!==t.property.name&&this.raise(t.property.start,"The only valid meta property for new is new.target"),this.finishNode(t,"MetaProperty");var i=this.start,n=this.startLoc;return t.callee=this.parseSubscripts(this.parseExprAtom(),i,n,!0),this.eat(s.parenL)?t.arguments=this.parseExprList(s.parenR,!1):t.arguments=h,this.finishNode(t,"NewExpression")},a.parseTemplateElement=function(){var t=this.startNode();return t.value={raw:this.input.slice(this.start,this.end),cooked:this.value},this.next(),t.tail=this.type===s.backQuote,this.finishNode(t,"TemplateElement")},a.parseTemplate=function(){var t=this.startNode();this.next(),t.expressions=[];var e=this.parseTemplateElement();for(t.quasis=[e];!e.tail;)this.expect(s.dollarBraceL),t.expressions.push(this.parseExpression()),this.expect(s.braceR),t.quasis.push(e=this.parseTemplateElement());return this.next(),this.finishNode(t,"TemplateLiteral")},a.parseObj=function(t,e){var i=this.startNode(),n=!0,r={};for(i.properties=[],this.next();!this.eat(s.braceR);){if(n)n=!1;else if(this.expect(s.comma),this.afterTrailingComma(s.braceR))break;var o=this.startNode(),a=void 0,h=void 0,c=void 0;this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(t||e)&&(h=this.start,c=this.startLoc),t||(a=this.eat(s.star))),this.parsePropertyName(o),this.parsePropertyValue(o,t,a,h,c,e),this.checkPropClash(o,r),i.properties.push(this.finishNode(o,"Property"))}return this.finishNode(i,t?"ObjectPattern":"ObjectExpression")},a.parsePropertyValue=function(t,e,i,n,o,a){this.eat(s.colon)?(t.value=e?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),t.kind="init"):this.options.ecmaVersion>=6&&this.type===s.parenL?(e&&this.unexpected(),t.kind="init",t.method=!0,t.value=this.parseMethod(i)):this.options.ecmaVersion>=5&&!t.computed&&"Identifier"===t.key.type&&("get"===t.key.name||"set"===t.key.name)&&this.type!=s.comma&&this.type!=s.braceR?((i||e)&&this.unexpected(),t.kind=t.key.name,this.parsePropertyName(t),t.value=this.parseMethod(!1)):this.options.ecmaVersion>=6&&!t.computed&&"Identifier"===t.key.type?(t.kind="init",e?((this.isKeyword(t.key.name)||this.strict&&(r.strictBind(t.key.name)||r.strict(t.key.name))||!this.options.allowReserved&&this.isReservedWord(t.key.name))&&this.raise(t.key.start,"Binding "+t.key.name),t.value=this.parseMaybeDefault(n,o,t.key)):this.type===s.eq&&a?(a.start||(a.start=this.start),t.value=this.parseMaybeDefault(n,o,t.key)):t.value=t.key,t.shorthand=!0):this.unexpected()},a.parsePropertyName=function(t){if(this.options.ecmaVersion>=6){if(this.eat(s.bracketL))return t.computed=!0,t.key=this.parseMaybeAssign(),this.expect(s.bracketR),t.key;t.computed=!1}return t.key=this.type===s.num||this.type===s.string?this.parseExprAtom():this.parseIdent(!0)},a.initFunction=function(t){t.id=null,this.options.ecmaVersion>=6&&(t.generator=!1,t.expression=!1)},a.parseMethod=function(t){var e=this.startNode();this.initFunction(e),this.expect(s.parenL),e.params=this.parseBindingList(s.parenR,!1,!1);var i=void 0;return this.options.ecmaVersion>=6?(e.generator=t,i=!0):i=!1,this.parseFunctionBody(e,i),this.finishNode(e,"FunctionExpression")},a.parseArrowExpression=function(t,e){return this.initFunction(t),t.params=this.toAssignableList(e,!0),this.parseFunctionBody(t,!0),this.finishNode(t,"ArrowFunctionExpression")},a.parseFunctionBody=function(t,e){var i=e&&this.type!==s.braceL;if(i)t.body=this.parseMaybeAssign(),t.expression=!0;else{var n=this.inFunction,r=this.inGenerator,o=this.labels;this.inFunction=!0,this.inGenerator=t.generator,this.labels=[],t.body=this.parseBlock(!0),t.expression=!1,this.inFunction=n,this.inGenerator=r,this.labels=o}if(this.strict||!i&&t.body.body.length&&this.isUseStrict(t.body.body[0])){var a={},h=this.strict;this.strict=!0,t.id&&this.checkLVal(t.id,!0);for(var c=0;c=6||-1==this.input.slice(this.start,this.end).indexOf("\\")))&&this.raise(this.start,"The keyword '"+this.value+"' is reserved"),e.name=this.value):t&&this.type.keyword?e.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(e,"Identifier")},a.parseYield=function(){var t=this.startNode();return this.next(),this.type==s.semi||this.canInsertSemicolon()||this.type!=s.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(s.star),t.argument=this.parseMaybeAssign()),this.finishNode(t,"YieldExpression")},a.parseComprehension=function(t,e){for(t.blocks=[];this.type===s._for;){var i=this.startNode();this.next(),this.expect(s.parenL),i.left=this.parseBindingAtom(),this.checkLVal(i.left,!0),this.expectContextual("of"),i.right=this.parseExpression(),this.expect(s.parenR),t.blocks.push(this.finishNode(i,"ComprehensionBlock"))}return t.filter=this.eat(s._if)?this.parseParenExpression():null,t.body=this.parseExpression(),this.expect(e?s.parenR:s.bracketR),t.generator=e,this.finishNode(t,"ComprehensionExpression")}},{"./identifier":7,"./state":13,"./tokentype":17,"./util":18}],7:[function(t,e,i){"use strict";function s(t){function e(t){if(1==t.length)return i+="return str === "+JSON.stringify(t[0])+";";i+="switch(str){";for(var e=0;e3){s.sort(function(t,e){return e.length-t.length}),i+="switch(str.length){";for(var n=0;nt)return!1;if(i+=e[s+1],i>=t)return!0}}function r(t,e){return 65>t?36===t:91>t?!0:97>t?95===t:123>t?!0:65535>=t?t>=170&&l.test(String.fromCharCode(t)):e===!1?!1:n(t,d)}function o(t,e){return 48>t?36===t:58>t?!0:65>t?!1:91>t?!0:97>t?95===t:123>t?!0:65535>=t?t>=170&&f.test(String.fromCharCode(t)):e===!1?!1:n(t,d)||n(t,m)}i.isIdentifierStart=r,i.isIdentifierChar=o,i.__esModule=!0;var a={3:s("abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile"),5:s("class enum extends super const export import"),6:s("enum await"),strict:s("implements interface let package private protected public static yield"),strictBind:s("eval arguments")};i.reservedWords=a;var h="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",c={5:s(h),6:s(h+" let const class extends export import yield super")};i.keywords=c;var p="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢲऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞭꞰꞱꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭟꭤꭥꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣤ-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏ᦰ-ᧀᧈᧉ᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷼-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-꣄꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︭︳︴﹍-﹏0-9_",l=new RegExp("["+p+"]"),f=new RegExp("["+p+u+"]");p=u=null;var d=[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,99,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,98,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,955,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,38,17,2,24,133,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,32,4,287,47,21,1,2,0,185,46,82,47,21,0,60,42,502,63,32,0,449,56,1288,920,104,110,2962,1070,13266,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,16481,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,1340,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,16355,541],m=[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,16,9,83,11,168,11,6,9,8,2,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,316,19,13,9,214,6,3,8,112,16,16,9,82,12,9,9,535,9,20855,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,4305,6,792618,239]},{}],8:[function(t,e,i){"use strict";function s(t,e){for(var i=1,s=0;;){o.lastIndex=s;var n=o.exec(t);if(!(n&&n.index=6&&t)switch(t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":t.type="ObjectPattern";for(var i=0;i=6&&(t.sourceType=this.options.sourceType),this.finishNode(t,"Program")};var a={kind:"loop"},h={kind:"switch"};o.parseStatement=function(t,e){var i=this.type,n=this.startNode();switch(i){case s._break:case s._continue:return this.parseBreakContinueStatement(n,i.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!t&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(n);case s._class:return t||this.unexpected(),this.parseClass(n,!0);case s._if:return this.parseIfStatement(n);case 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:t||this.unexpected();case s._var:return this.parseVarStatement(n,i);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:return this.options.allowImportExportEverywhere||(e||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===s._import?this.parseImport(n):this.parseExport(n);default:var r=this.value,o=this.parseExpression();return i===s.name&&"Identifier"===o.type&&this.eat(s.colon)?this.parseLabeledStatement(n,r,o):this.parseExpressionStatement(n,o)}},o.parseBreakContinueStatement=function(t,e){var i="break"==e;this.next(),this.eat(s.semi)||this.insertSemicolon()?t.label=null:this.type!==s.name?this.unexpected():(t.label=this.parseIdent(),this.semicolon());for(var n=0;n=6?this.eat(s.semi):this.semicolon(),this.finishNode(t,"DoWhileStatement")},o.parseForStatement=function(t){if(this.next(),this.labels.push(a),this.expect(s.parenL),this.type===s.semi)return this.parseFor(t,null);if(this.type===s._var||this.type===s._let||this.type===s._const){var e=this.startNode(),i=this.type;return this.next(),this.parseVar(e,!0,i),this.finishNode(e,"VariableDeclaration"),!(this.type===s._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==e.declarations.length||i!==s._var&&e.declarations[0].init?this.parseFor(t,e):this.parseForIn(t,e)}var n={start:0},r=this.parseExpression(!0,n);return this.type===s._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.toAssignable(r),this.checkLVal(r),this.parseForIn(t,r)):(n.start&&this.unexpected(n.start),this.parseFor(t,r))},o.parseFunctionStatement=function(t){return this.next(),this.parseFunction(t,!0)},o.parseIfStatement=function(t){ return this.next(),t.test=this.parseParenExpression(),t.consequent=this.parseStatement(!1),t.alternate=this.eat(s._else)?this.parseStatement(!1):null,this.finishNode(t,"IfStatement")},o.parseReturnStatement=function(t){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(s.semi)||this.insertSemicolon()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")},o.parseSwitchStatement=function(t){this.next(),t.discriminant=this.parseParenExpression(),t.cases=[],this.expect(s.braceL),this.labels.push(h);for(var e,i;this.type!=s.braceR;)if(this.type===s._case||this.type===s._default){var n=this.type===s._case;e&&this.finishNode(e,"SwitchCase"),t.cases.push(e=this.startNode()),e.consequent=[],this.next(),n?e.test=this.parseExpression():(i&&this.raise(this.lastTokStart,"Multiple default clauses"),i=!0,e.test=null),this.expect(s.colon)}else e||this.unexpected(),e.consequent.push(this.parseStatement(!0));return e&&this.finishNode(e,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(t,"SwitchStatement")},o.parseThrowStatement=function(t){return this.next(),r.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")};var c=[];o.parseTryStatement=function(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.type===s._catch){var e=this.startNode();this.next(),this.expect(s.parenL),e.param=this.parseBindingAtom(),this.checkLVal(e.param,!0),this.expect(s.parenR),e.guard=null,e.body=this.parseBlock(),t.handler=this.finishNode(e,"CatchClause")}return t.guardedHandlers=c,t.finalizer=this.eat(s._finally)?this.parseBlock():null,t.handler||t.finalizer||this.raise(t.start,"Missing catch or finally clause"),this.finishNode(t,"TryStatement")},o.parseVarStatement=function(t,e){return this.next(),this.parseVar(t,!1,e),this.semicolon(),this.finishNode(t,"VariableDeclaration")},o.parseWhileStatement=function(t){return this.next(),t.test=this.parseParenExpression(),this.labels.push(a),t.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(t,"WhileStatement")},o.parseWithStatement=function(t){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),t.object=this.parseParenExpression(),t.body=this.parseStatement(!1),this.finishNode(t,"WithStatement")},o.parseEmptyStatement=function(t){return this.next(),this.finishNode(t,"EmptyStatement")},o.parseLabeledStatement=function(t,e,i){for(var n=0;n=6&&this.isContextual("of")?"Identifier"==n.id.type||e&&(this.type===s._in||this.isContextual("of"))?n.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),t.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(s.comma))break}return t},o.parseVarId=function(t){t.id=this.parseBindingAtom(),this.checkLVal(t.id,!0)},o.parseFunction=function(t,e,i){return this.initFunction(t),this.options.ecmaVersion>=6&&(t.generator=this.eat(s.star)),(e||this.type===s.name)&&(t.id=this.parseIdent()),this.parseFunctionParams(t),this.parseFunctionBody(t,i),this.finishNode(t,e?"FunctionDeclaration":"FunctionExpression")},o.parseFunctionParams=function(t){this.expect(s.parenL),t.params=this.parseBindingList(s.parenR,!1,!1)},o.parseClass=function(t,e){this.next(),this.parseClassId(t,e),this.parseClassSuper(t);var i=this.startNode(),n=!1;for(i.body=[],this.expect(s.braceL);!this.eat(s.braceR);)if(!this.eat(s.semi)){var r=this.startNode(),o=this.eat(s.star),a=this.type===s.name&&"static"===this.value;if(this.parsePropertyName(r),r["static"]=a&&this.type!==s.parenL,r["static"]&&(o&&this.unexpected(),o=this.eat(s.star),this.parsePropertyName(r)),r.kind="method",!r.computed){var h=r.key,c=!1;o||"Identifier"!==h.type||this.type===s.parenL||"get"!==h.name&&"set"!==h.name||(c=!0,r.kind=h.name,h=this.parsePropertyName(r)),!r["static"]&&("Identifier"===h.type&&"constructor"===h.name||"Literal"===h.type&&"constructor"===h.value)&&(n&&this.raise(h.start,"Duplicate constructor in the same class"),c&&this.raise(h.start,"Constructor can't have get/set modifier"),o&&this.raise(h.start,"Constructor can't be a generator"),r.kind="constructor",n=!0)}this.parseClassMethod(i,r,o)}return t.body=this.finishNode(i,"ClassBody"),this.finishNode(t,e?"ClassDeclaration":"ClassExpression")},o.parseClassMethod=function(t,e,i){e.value=this.parseMethod(i),t.body.push(this.finishNode(e,"MethodDefinition"))},o.parseClassId=function(t,e){t.id=this.type===s.name?this.parseIdent():e?this.unexpected():null},o.parseClassSuper=function(t){t.superClass=this.eat(s._extends)?this.parseExprSubscripts():null},o.parseExport=function(t){if(this.next(),this.eat(s.star))return this.expectContextual("from"),t.source=this.type===s.string?this.parseExprAtom():this.unexpected(),this.semicolon(),this.finishNode(t,"ExportAllDeclaration");if(this.eat(s._default)){var e=this.parseMaybeAssign(),i=!0;return("FunctionExpression"==e.type||"ClassExpression"==e.type)&&(i=!1,e.id&&(e.type="FunctionExpression"==e.type?"FunctionDeclaration":"ClassDeclaration")),t.declaration=e,i&&this.semicolon(),this.finishNode(t,"ExportDefaultDeclaration")}return this.shouldParseExportStatement()?(t.declaration=this.parseStatement(!0),t.specifiers=[],t.source=null):(t.declaration=null,t.specifiers=this.parseExportSpecifiers(),this.eatContextual("from")?t.source=this.type===s.string?this.parseExprAtom():this.unexpected():t.source=null,this.semicolon()),this.finishNode(t,"ExportNamedDeclaration")},o.shouldParseExportStatement=function(){return this.type.keyword},o.parseExportSpecifiers=function(){var t=[],e=!0;for(this.expect(s.braceL);!this.eat(s.braceR);){if(e)e=!1;else if(this.expect(s.comma),this.afterTrailingComma(s.braceR))break;var i=this.startNode();i.local=this.parseIdent(this.type===s._default),i.exported=this.eatContextual("as")?this.parseIdent(!0):i.local,t.push(this.finishNode(i,"ExportSpecifier"))}return t},o.parseImport=function(t){return this.next(),this.type===s.string?(t.specifiers=c,t.source=this.parseExprAtom(),t.kind=""):(t.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),t.source=this.type===s.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(t,"ImportDeclaration")},o.parseImportSpecifiers=function(){var t=[],e=!0;if(this.type===s.name){var i=this.startNode();if(i.local=this.parseIdent(),this.checkLVal(i.local,!0),t.push(this.finishNode(i,"ImportDefaultSpecifier")),!this.eat(s.comma))return t}if(this.type===s.star){var i=this.startNode();return this.next(),this.expectContextual("as"),i.local=this.parseIdent(),this.checkLVal(i.local,!0),t.push(this.finishNode(i,"ImportNamespaceSpecifier")),t}for(this.expect(s.braceL);!this.eat(s.braceR);){if(e)e=!1;else if(this.expect(s.comma),this.afterTrailingComma(s.braceR))break;var i=this.startNode();i.imported=this.parseIdent(!0),i.local=this.eatContextual("as")?this.parseIdent():i.imported,this.checkLVal(i.local,!0),t.push(this.finishNode(i,"ImportSpecifier"))}return t}},{"./state":13,"./tokentype":17,"./whitespace":19}],15:[function(t,e,i){"use strict";var s=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")};i.__esModule=!0;var n=t("./state").Parser,r=t("./tokentype").types,o=t("./whitespace").lineBreak,a=i.TokContext=function p(t,e,i,n){s(this,p),this.token=t,this.isExpr=e,this.preserveSpace=i,this.override=n},h={b_stat:new a("{",!1),b_expr:new a("{",!0),b_tmpl:new a("${",!0),p_stat:new a("(",!1),p_expr:new a("(",!0),q_tmpl:new a("`",!0,!0,function(t){return t.readTmplToken()}),f_expr:new a("function",!0)};i.types=h;var c=n.prototype;c.initialContext=function(){return[h.b_stat]},c.braceIsBlock=function(t){var e=void 0;return t===r.colon&&"{"==(e=this.curContext()).token?!e.isExpr:t===r._return?o.test(this.input.slice(this.lastTokEnd,this.start)):t===r._else||t===r.semi||t===r.eof?!0:t==r.braceL?this.curContext()===h.b_stat:!this.exprAllowed},c.updateContext=function(t){var e=void 0,i=this.type;i.keyword&&t==r.dot?this.exprAllowed=!1:(e=i.updateContext)?e.call(this,t):this.exprAllowed=i.beforeExpr},r.parenR.updateContext=r.braceR.updateContext=function(){if(1==this.context.length)return void(this.exprAllowed=!0);var t=this.context.pop();t===h.b_stat&&this.curContext()===h.f_expr?(this.context.pop(),this.exprAllowed=!1):t===h.b_tmpl?this.exprAllowed=!0:this.exprAllowed=!t.isExpr},r.braceL.updateContext=function(t){this.context.push(this.braceIsBlock(t)?h.b_stat:h.b_expr),this.exprAllowed=!0},r.dollarBraceL.updateContext=function(){this.context.push(h.b_tmpl),this.exprAllowed=!0},r.parenL.updateContext=function(t){var e=t===r._if||t===r._for||t===r._with||t===r._while;this.context.push(e?h.p_stat:h.p_expr),this.exprAllowed=!0},r.incDec.updateContext=function(){},r._function.updateContext=function(){this.curContext()!==h.b_stat&&this.context.push(h.f_expr),this.exprAllowed=!1},r.backQuote.updateContext=function(){this.curContext()===h.q_tmpl?this.context.pop():this.context.push(h.q_tmpl),this.exprAllowed=!1}},{"./state":13,"./tokentype":17,"./whitespace":19}],16:[function(t,e,i){"use strict";function s(t){return 65535>=t?String.fromCharCode(t):String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}var n=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")};i.__esModule=!0;var r=t("./identifier"),o=r.isIdentifierStart,a=r.isIdentifierChar,h=t("./tokentype"),c=h.types,p=h.keywords,u=t("./state").Parser,l=t("./location").SourceLocation,f=t("./whitespace"),d=f.lineBreak,m=f.lineBreakG,y=f.isNewLine,x=f.nonASCIIwhitespace,v=i.Token=function C(t){n(this,C),this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new l(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},b=u.prototype,g="undefined"!=typeof Packages;b.next=function(){this.options.onToken&&this.options.onToken(new v(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},b.getToken=function(){return this.next(),new v(this)},"undefined"!=typeof Symbol&&(b[Symbol.iterator]=function(){var t=this;return{next:function(){var e=t.getToken();return{done:e.type===c.eof,value:e}}}}),b.setStrict=function(t){if(this.strict=t,this.type===c.num||this.type===c.string){if(this.pos=this.start,this.options.locations)for(;this.pos=this.input.length?this.finishToken(c.eof):t.override?t.override(this):void this.readToken(this.fullCharCodeAtPos())},b.readToken=function(t){return o(t,this.options.ecmaVersion>=6)||92===t?this.readWord():this.getTokenFromCode(t)},b.fullCharCodeAtPos=function(){var t=this.input.charCodeAt(this.pos);if(55295>=t||t>=57344)return t;var e=this.input.charCodeAt(this.pos+1);return(t<<10)+e-56613888},b.skipBlockComment=function(){var t=this.options.onComment&&this.options.locations&&this.curPosition(),e=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(-1===i&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations){m.lastIndex=e;for(var s=void 0;(s=m.exec(this.input))&&s.index8&&14>t)++this.pos;else if(47===t){var e=this.input.charCodeAt(this.pos+1);if(42===e)this.skipBlockComment();else{if(47!==e)break;this.skipLineComment(2)}}else if(160===t)++this.pos;else{if(!(t>=5760&&x.test(String.fromCharCode(t))))break;++this.pos}}},b.finishToken=function(t,e){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=t,this.value=e,this.updateContext(i)},b.readToken_dot=function(){var t=this.input.charCodeAt(this.pos+1);if(t>=48&&57>=t)return this.readNumber(!0);var e=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===t&&46===e?(this.pos+=3,this.finishToken(c.ellipsis)):(++this.pos,this.finishToken(c.dot))},b.readToken_slash=function(){var t=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===t?this.finishOp(c.assign,2):this.finishOp(c.slash,1)},b.readToken_mult_modulo=function(t){var e=this.input.charCodeAt(this.pos+1);return 61===e?this.finishOp(c.assign,2):this.finishOp(42===t?c.star:c.modulo,1)},b.readToken_pipe_amp=function(t){var e=this.input.charCodeAt(this.pos+1);return e===t?this.finishOp(124===t?c.logicalOR:c.logicalAND,2):61===e?this.finishOp(c.assign,2):this.finishOp(124===t?c.bitwiseOR:c.bitwiseAND,1)},b.readToken_caret=function(){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(c.assign,2):this.finishOp(c.bitwiseXOR,1)},b.readToken_plus_min=function(t){var e=this.input.charCodeAt(this.pos+1);return e===t?45==e&&62==this.input.charCodeAt(this.pos+2)&&d.test(this.input.slice(this.lastTokEnd,this.pos))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(c.incDec,2):61===e?this.finishOp(c.assign,2):this.finishOp(c.plusMin,1)},b.readToken_lt_gt=function(t){var e=this.input.charCodeAt(this.pos+1),i=1;return e===t?(i=62===t&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+i)?this.finishOp(c.assign,i+1):this.finishOp(c.bitShift,i)):33==e&&60==t&&45==this.input.charCodeAt(this.pos+2)&&45==this.input.charCodeAt(this.pos+3)?(this.inModule&&this.unexpected(),this.skipLineComment(4),this.skipSpace(),this.nextToken()):(61===e&&(i=61===this.input.charCodeAt(this.pos+2)?3:2),this.finishOp(c.relational,i))},b.readToken_eq_excl=function(t){var e=this.input.charCodeAt(this.pos+1);return 61===e?this.finishOp(c.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===t&&62===e&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(c.arrow)):this.finishOp(61===t?c.eq:c.prefix,1)},b.getTokenFromCode=function(t){switch(t){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(c.parenL);case 41:return++this.pos,this.finishToken(c.parenR);case 59:return++this.pos,this.finishToken(c.semi);case 44:return++this.pos,this.finishToken(c.comma);case 91:return++this.pos,this.finishToken(c.bracketL);case 93:return++this.pos,this.finishToken(c.bracketR);case 123:return++this.pos,this.finishToken(c.braceL);case 125:return++this.pos,this.finishToken(c.braceR);case 58:return++this.pos,this.finishToken(c.colon);case 63:return++this.pos,this.finishToken(c.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(c.backQuote);case 48:var e=this.input.charCodeAt(this.pos+1);if(120===e||88===e)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===e||79===e)return this.readRadixNumber(8);if(98===e||66===e)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);case 60:case 62:return this.readToken_lt_gt(t);case 61:case 33:return this.readToken_eq_excl(t);case 126:return this.finishOp(c.prefix,1)}this.raise(this.pos,"Unexpected character '"+s(t)+"'")},b.finishOp=function(t,e){var i=this.input.slice(this.pos,this.pos+e);return this.pos+=e,this.finishToken(t,i)};var k=!1;try{new RegExp("￿","u"),k=!0}catch(w){}b.readRegexp=function(){for(var t=void 0,e=void 0,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var s=this.input.charAt(this.pos);if(d.test(s)&&this.raise(i,"Unterminated regular expression"),t)t=!1;else{if("["===s)e=!0;else if("]"===s&&e)e=!1;else if("/"===s&&!e)break;t="\\"===s}++this.pos}var n=this.input.slice(i,this.pos);++this.pos;var r=this.readWord1(),o=n;if(r){var a=/^[gmsiy]*$/;this.options.ecmaVersion>=6&&(a=/^[gmsiyu]*$/),a.test(r)||this.raise(i,"Invalid regular expression flag"),r.indexOf("u")>=0&&!k&&(o=o.replace(/\\u([a-fA-F0-9]{4})|\\u\{([0-9a-fA-F]+)\}|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x"))}var h=null;if(!g){try{new RegExp(o)}catch(p){p instanceof SyntaxError&&this.raise(i,"Error parsing regular expression: "+p.message),this.raise(p)}try{h=new RegExp(n,r)}catch(u){}}return this.finishToken(c.regexp,{pattern:n,flags:r,value:h})},b.readInt=function(t,e){for(var i=this.pos,s=0,n=0,r=null==e?1/0:e;r>n;++n){var o=this.input.charCodeAt(this.pos),a=void 0;if(a=o>=97?o-97+10:o>=65?o-65+10:o>=48&&57>=o?o-48:1/0,a>=t)break;++this.pos,s=s*t+a}return this.pos===i||null!=e&&this.pos-i!==e?null:s},b.readRadixNumber=function(t){this.pos+=2;var e=this.readInt(t);return null==e&&this.raise(this.start+2,"Expected number in radix "+t),o(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(c.num,e)},b.readNumber=function(t){var e=this.pos,i=!1,s=48===this.input.charCodeAt(this.pos);t||null!==this.readInt(10)||this.raise(e,"Invalid number"),46===this.input.charCodeAt(this.pos)&&(++this.pos,this.readInt(10),i=!0);var n=this.input.charCodeAt(this.pos);(69===n||101===n)&&(n=this.input.charCodeAt(++this.pos),(43===n||45===n)&&++this.pos,null===this.readInt(10)&&this.raise(e,"Invalid number"),i=!0),o(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var r=this.input.slice(e,this.pos),a=void 0;return i?a=parseFloat(r):s&&1!==r.length?/[89]/.test(r)||this.strict?this.raise(e,"Invalid number"):a=parseInt(r,8):a=parseInt(r,10),this.finishToken(c.num,a)},b.readCodePoint=function(){var t=this.input.charCodeAt(this.pos),e=void 0;return 123===t?(this.options.ecmaVersion<6&&this.unexpected(),++this.pos,e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.unexpected()):e=this.readHexChar(4),e},b.readString=function(t){for(var e="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var s=this.input.charCodeAt(this.pos);if(s===t)break;92===s?(e+=this.input.slice(i,this.pos),e+=this.readEscapedChar(),i=this.pos):(y(s)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return e+=this.input.slice(i,this.pos++),this.finishToken(c.string,e)},b.readTmplToken=function(){for(var t="",e=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var i=this.input.charCodeAt(this.pos);if(96===i||36===i&&123===this.input.charCodeAt(this.pos+1))return this.pos===this.start&&this.type===c.template?36===i?(this.pos+=2,this.finishToken(c.dollarBraceL)):(++this.pos,this.finishToken(c.backQuote)):(t+=this.input.slice(e,this.pos),this.finishToken(c.template,t));92===i?(t+=this.input.slice(e,this.pos),t+=this.readEscapedChar(),e=this.pos):y(i)?(t+=this.input.slice(e,this.pos),++this.pos,13===i&&10===this.input.charCodeAt(this.pos)?(++this.pos,t+="\n"):t+=String.fromCharCode(i),this.options.locations&&(++this.curLine,this.lineStart=this.pos),e=this.pos):++this.pos}},b.readEscapedChar=function(){var t=this.input.charCodeAt(++this.pos),e=/^[0-7]+/.exec(this.input.slice(this.pos,this.pos+3));for(e&&(e=e[0]);e&&parseInt(e,8)>255;)e=e.slice(0,-1);if("0"===e&&(e=null),++this.pos,e)return this.strict&&this.raise(this.pos-2,"Octal literal in strict mode"),this.pos+=e.length-1,String.fromCharCode(parseInt(e,8));switch(t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return s(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\x0B";case 102:return"\f";case 48:return"\x00";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";default:return String.fromCharCode(t)}},b.readHexChar=function(t){var e=this.readInt(16,t);return null===e&&this.raise(this.start,"Bad character escape sequence"),e};var E;b.readWord1=function(){E=!1;for(var t="",e=!0,i=this.pos,n=this.options.ecmaVersion>=6;this.pos=r?1:2;else{if(92!==r)break;E=!0,t+=this.input.slice(i,this.pos);var h=this.pos;117!=this.input.charCodeAt(++this.pos)&&this.raise(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var c=this.readCodePoint();(e?o:a)(c,n)||this.raise(h,"Invalid Unicode escape"),t+=s(c),i=this.pos}e=!1}return t+this.input.slice(i,this.pos)},b.readWord=function(){var t=this.readWord1(),e=c.name;return(this.options.ecmaVersion>=6||!E)&&this.isKeyword(t)&&(e=p[t]),this.finishToken(e,t)}},{"./identifier":7,"./location":8,"./state":13,"./tokentype":17,"./whitespace":19}],17:[function(t,e,i){"use strict";function s(t,e){return new o(t,{beforeExpr:!0,binop:e})}function n(t){var e=void 0===arguments[1]?{}:arguments[1];e.keyword=t,p[t]=c["_"+t]=new o(t,e)}var r=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")};i.__esModule=!0;var o=i.TokenType=function u(t){var e=void 0===arguments[1]?{}:arguments[1];r(this,u),this.label=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop||null,this.updateContext=null},a={beforeExpr:!0},h={startsExpr:!0},c={num:new o("num",h),regexp:new o("regexp",h),string:new o("string",h),name:new o("name",h),eof:new o("eof"),bracketL:new o("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new o("]"),braceL:new o("{",{beforeExpr:!0,startsExpr:!0}),braceR:new o("}"),parenL:new o("(",{beforeExpr:!0,startsExpr:!0}),parenR:new o(")"),comma:new o(",",a),semi:new o(";",a),colon:new o(":",a),dot:new o("."),question:new o("?",a),arrow:new o("=>",a),template:new o("template"),ellipsis:new o("...",a),backQuote:new o("`",h),dollarBraceL:new o("${",{beforeExpr:!0,startsExpr:!0}),eq:new o("=",{beforeExpr:!0,isAssign:!0}),assign:new o("_=",{beforeExpr:!0,isAssign:!0}),incDec:new o("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new o("prefix",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:s("||",1),logicalAND:s("&&",2),bitwiseOR:s("|",3),bitwiseXOR:s("^",4),bitwiseAND:s("&",5),equality:s("==/!=",6),relational:s("",7),bitShift:s("<>",8),plusMin:new o("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:s("%",10),star:s("*",10),slash:s("/",10)};i.types=c;var p={};i.keywords=p,n("break"),n("case",a),n("catch"),n("continue"),n("debugger"),n("default"),n("do",{isLoop:!0}),n("else",a),n("finally"),n("for",{isLoop:!0}),n("function",h),n("if"),n("return",a),n("switch"),n("throw",a),n("try"),n("var"),n("let"),n("const"),n("while",{isLoop:!0}),n("with"),n("new",{beforeExpr:!0,startsExpr:!0}),n("this",h),n("super",h),n("class"),n("extends",a),n("export"),n("import"),n("yield",{beforeExpr:!0,startsExpr:!0}),n("null",h),n("true",h),n("false",h),n("in",{beforeExpr:!0,binop:7}),n("instanceof",{beforeExpr:!0,binop:7}),n("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),n("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),n("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},{}],18:[function(t,e,i){"use strict";function s(t){return"[object Array]"===Object.prototype.toString.call(t)}function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}i.isArray=s,i.has=n,i.__esModule=!0},{}],19:[function(t,e,i){"use strict";function s(t){return 10===t||13===t||8232===t||8233==t}i.isNewLine=s,i.__esModule=!0;var n=/\r\n?|\n|\u2028|\u2029/;i.lineBreak=n;var r=new RegExp(n.source,"g");i.lineBreakG=r;var o=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;i.nonASCIIwhitespace=o},{}]},{},[1])(1)})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],33:[function(t,e,i){(function(s){!function(t){if("object"==typeof i&&"undefined"!=typeof e)e.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n;n="undefined"!=typeof window?window:"undefined"!=typeof s?s:"undefined"!=typeof self?self:this,(n.acorn||(n.acorn={})).walk=t()}}(function(){return function e(i,s,n){function r(a,h){if(!s[a]){if(!i[a]){var c="function"==typeof t&&t;if(!h&&c)return c(a,!0);if(o)return o(a,!0);var p=new Error("Cannot find module '"+a+"'");throw p.code="MODULE_NOT_FOUND",p}var u=s[a]={exports:{}};i[a][0].call(u.exports,function(t){var e=i[a][1][t];return r(e?e:t)},u,u.exports,e,i,s,n)}return s[a].exports}for(var o="function"==typeof t&&t,a=0;a=s)&&r[a](t,i,c),n(a,t)&&(null==e||t.start==e)&&(null==s||t.end==s))throw new m(t,i)}(t,a)}catch(h){if(h instanceof m)return h;throw h}}function h(t,e,s,n,r){s=o(s),n||(n=i.base);try{!function h(t,i,r){var o=r||t.type;if(!(t.start>e||t.end=e&&s(o,t))throw new m(t,i);n[o](t,i,h)}}(t,r)}catch(a){if(a instanceof m)return a;throw a}}function p(t,e,s,n,r){s=o(s),n||(n=i.base);var a=void 0;return function h(t,i,r){if(!(t.start>e)){var o=r||t.type;t.end<=e&&(!a||a.node.end",this.terse=""==this.doctype.toLowerCase(),this.xml=0==this.doctype.indexOf("1&&!i&&t.nodes[0].isText&&t.nodes[1].isText&&this.prettyIndent(1,!0);for(var n=0;e>n;++n)s&&n>0&&!i&&t.nodes[n].isText&&t.nodes[n-1].isText&&this.prettyIndent(1,!1),this.visit(t.nodes[n]),t.nodes[n+1]&&t.nodes[n].isText&&t.nodes[n+1].isText&&this.buffer("\n")},visitMixinBlock:function(t){this.pp&&this.buf.push("jade_indent.push('"+Array(this.indents+1).join(this.pp)+"');"),this.buf.push("block && block();"),this.pp&&this.buf.push("jade_indent.pop();")},visitDoctype:function(t){!t||!t.val&&this.doctype||this.setDoctype(t.val||"default"),this.doctype&&this.buffer(this.doctype),this.hasCompiledDoctype=!0},visitMixin:function(t){var e="jade_mixins[",i=t.args||"",s=t.block,n=t.attrs,r=t.attributeBlocks.slice(),o=this.pp,a="#"===t.name[0],h=t.name;if(a&&(this.dynamicMixins=!0),e+=(a?t.name.substr(2,t.name.length-3):'"'+t.name+'"')+"]",this.mixins[h]=this.mixins[h]||{used:!1,instances:[]},t.call){if(this.mixins[h].used=!0,o&&this.buf.push("jade_indent.push('"+Array(this.indents+1).join(o)+"');"),s||n.length||r.length){if(this.buf.push(e+".call({"),s){this.buf.push("block: function(){"),this.parentIndents++;var c=this.indents;this.indents=0,this.visit(t.block),this.indents=c,this.parentIndents--,n.length||r.length?this.buf.push("},"):this.buf.push("}")}if(r.length){if(n.length){var p=this.attrs(n);r.unshift(p)}this.buf.push("attributes: jade.merge(["+r.join(",")+"])")}else if(n.length){var p=this.attrs(n);this.buf.push("attributes: "+p)}i?this.buf.push("}, "+i+");"):this.buf.push("});")}else this.buf.push(e+"("+i+");");o&&this.buf.push("jade_indent.pop();")}else{var u=this.buf.length;i=i?i.split(","):[];var l;i.length&&/^\.\.\./.test(i[i.length-1].trim())&&(l=i.pop().trim().replace(/^\.\.\./,"")),this.buf.push(e+" = jade_interp = function("+i.join(",")+"){"),this.buf.push("var block = (this && this.block), attributes = (this && this.attributes) || {};"),l&&(this.buf.push("var "+l+" = [];"),this.buf.push("for (jade_interp = "+i.length+"; jade_interp < arguments.length; jade_interp++) {"),this.buf.push(" "+l+".push(arguments[jade_interp]);"),this.buf.push("}")),this.parentIndents++,this.visit(s),this.parentIndents--,this.buf.push("};");var f=this.buf.length;this.mixins[h].instances.push({start:u,end:f})}},visitTag:function(t){function e(){t.buffer?n.bufferExpression(i):n.buffer(i)}this.indents++;var i=t.name,s=this.pp,n=this;if("pre"==t.name&&(this.escape=!0),this.hasCompiledTag||(this.hasCompiledDoctype||"html"!=i||this.visitDoctype(),this.hasCompiledTag=!0),s&&!t.isInline()&&this.prettyIndent(0,!0),t.selfClosing||!this.xml&&p[t.name]){if(this.buffer("<"),e(),this.visitAttributes(t.attrs,t.attributeBlocks.slice()),this.terse?this.buffer(">"):this.buffer("/>"),t.block&&("Block"!==t.block.type||0!==t.block.nodes.length)&&t.block.nodes.some(function(t){return"Text"!==t.type||!/^\s*$/.test(t.val)}))throw r(t,new Error(i+" is self closing and should not have content."))}else this.buffer("<"),e(),this.visitAttributes(t.attrs,t.attributeBlocks.slice()),this.buffer(">"),t.code&&this.visitCode(t.code),this.visit(t.block),!s||t.isInline()||"pre"==t.name||t.canInline()||this.prettyIndent(0,!0),this.buffer("");"pre"==t.name&&(this.escape=!1),this.indents--},visitFilter:function(t){var e=t.block.nodes.map(function(t){return t.val}).join("\n");t.attrs.filename=this.options.filename;try{this.buffer(o(t.name,e,t.attrs),!0)}catch(i){throw r(t,i)}},visitText:function(t){this.buffer(t.val,!0)},visitComment:function(t){t.buffer&&(this.pp&&this.prettyIndent(1,!0),this.buffer(""))},visitBlockComment:function(t){t.buffer&&(this.pp&&this.prettyIndent(1,!0),this.buffer(""))},visitCode:function(t){if(t.buffer){var e=t.val.trim();e="null == (jade_interp = "+e+') ? "" : jade_interp',t.escape&&(e="jade.escape("+e+")"),this.bufferExpression(e)}else this.buf.push(t.val);t.block&&(t.buffer||this.buf.push("{"),this.visit(t.block),t.buffer||this.buf.push("}"))},visitEach:function(t){this.buf.push("// iterate "+t.obj+"\n;(function(){\n var $$obj = "+t.obj+";\n if ('number' == typeof $$obj.length) {\n"),t.alternative&&this.buf.push(" if ($$obj.length) {"),this.buf.push(" for (var "+t.key+" = 0, $$l = $$obj.length; "+t.key+" < $$l; "+t.key+"++) {\n var "+t.val+" = $$obj["+t.key+"];\n"),this.visit(t.block),this.buf.push(" }\n"),t.alternative&&(this.buf.push(" } else {"),this.visit(t.alternative),this.buf.push(" }")),this.buf.push(" } else {\n var $$l = 0;\n for (var "+t.key+" in $$obj) {\n $$l++; var "+t.val+" = $$obj["+t.key+"];\n"),this.visit(t.block),this.buf.push(" }\n"),t.alternative&&(this.buf.push(" if ($$l === 0) {"),this.visit(t.alternative),this.buf.push(" }")),this.buf.push(" }\n}).call(this);\n")},visitAttributes:function(t,e){if(e.length){if(t.length){var i=this.attrs(t);e.unshift(i)}this.bufferExpression("jade.attrs(jade.merge(["+e.join(",")+"]), "+c.stringify(this.terse)+")")}else t.length&&this.attrs(t,!0)},attrs:function(t,e){var i=[],r=[],o=[];return t.forEach(function(t){var a=t.name,p=t.escaped;if("class"===a)r.push(t.val),o.push(t.escaped);else if(s(t.val))if(e)this.buffer(h.attr(a,n(t.val),p,this.terse));else{var u=n(t.val);"style"===a&&(u=h.style(u)),!p||0===a.indexOf("data")&&"string"!=typeof u||(u=h.escape(u)),i.push(c.stringify(a)+": "+c.stringify(u))}else if(e)this.bufferExpression('jade.attr("'+a+'", '+t.val+", "+c.stringify(p)+", "+c.stringify(this.terse)+")");else{var u=t.val;"style"===a&&(u="jade.style("+u+")"),p&&0!==a.indexOf("data")?u="jade.escape("+u+")":p&&(u="(typeof (jade_interp = "+u+') == "string" ? jade.escape(jade_interp) : jade_interp)'),i.push(c.stringify(a)+": "+u)}}.bind(this)),e?r.every(s)?this.buffer(h.cls(r.map(n),o)):this.bufferExpression("jade.cls(["+r.join(",")+"], "+c.stringify(o)+")"):r.length&&(r=r.every(s)?c.stringify(h.joinClasses(r.map(n).map(h.joinClasses).map(function(t,e){return o[e]?h.escape(t):t}))):"(jade_interp = "+c.stringify(o)+", jade.joinClasses(["+r.join(",")+"].map(jade.joinClasses).map(function (cls, i) { return jade_interp[i] ? jade.escape(cls) : cls })))",r.length&&i.push('"class": '+r)),"{"+i.join(",")+"}"}}},{"./doctypes":3,"./filters":4,"./nodes":16,"./runtime":24,"./utils":25,"character-parser":29,constantinople:30,"void-elements":34}],3:[function(t,e,i){"use strict";e.exports={"default":"",xml:'',transitional:'',strict:'',frameset:'',1.1:'',basic:'',mobile:''}},{}],4:[function(t,e,i){"use strict";function s(t,e,i){if("function"==typeof s[t])return s[t](e,i);throw new Error('unknown filter ":'+t+'"')}e.exports=s},{}],5:[function(t,e,i){"use strict";e.exports=["a","abbr","acronym","b","br","code","em","font","i","img","ins","kbd","map","samp","small","span","strong","sub","sup"]},{}],6:[function(t,e,i){"use strict";function s(t){Function("","return ("+t+")")}function n(t){var e=o(t);if(e.isNesting())throw new Error("Nesting must match on expression `"+t+"`")}var r=t("./utils"),o=t("character-parser"),a=e.exports=function(t,e){this.input=t.replace(/\r\n|\r/g,"\n"),this.filename=e,this.deferredTokens=[],this.lastIndents=0,this.lineno=1,this.stash=[],this.indentStack=[],this.indentRe=null,this.pipeless=!1};a.prototype={tok:function(t,e){return{type:t,line:this.lineno,val:e}},consume:function(t){this.input=this.input.substr(t)},scan:function(t,e){var i;return(i=t.exec(this.input))?(this.consume(i[0].length),this.tok(e,i[1])):void 0},defer:function(t){this.deferredTokens.push(t)},lookahead:function(t){for(var e=t-this.stash.length;e-- >0;)this.stash.push(this.next());return this.stash[--t]},bracketExpression:function(t){t=t||0;var e=this.input[t];if("("!=e&&"{"!=e&&"["!=e)throw new Error("unrecognized start character");var i={"(":")","{":"}","[":"]"}[e],s=o.parseMax(this.input,{start:t+1});if(this.input[s.end]!==i)throw new Error("start character "+e+" does not match end character "+this.input[s.end]);return s},stashed:function(){return this.stash.length&&this.stash.shift()},deferred:function(){return this.deferredTokens.length&&this.deferredTokens.shift()},eos:function(){return this.input.length?void 0:this.indentStack.length?(this.indentStack.shift(),this.tok("outdent")):this.tok("eos")},blank:function(){var t;return(t=/^\n *\n/.exec(this.input))?(this.consume(t[0].length-1),++this.lineno,this.pipeless?this.tok("text",""):this.next()):void 0},comment:function(){var t;if(t=/^\/\/(-)?([^\n]*)/.exec(this.input)){this.consume(t[0].length);var e=this.tok("comment",t[2]);return e.buffer="-"!=t[1],this.pipeless=!0,e}},interpolation:function(){if(/^#\{/.test(this.input)){var t=this.bracketExpression(1);return this.consume(t.end+1),this.tok("interpolation",t.src)}},tag:function(){var t;if(t=/^(\w[-:\w]*)(\/?)/.exec(this.input)){this.consume(t[0].length);var e,i=t[1];if(":"==i[i.length-1])for(i=i.slice(0,-1),e=this.tok("tag",i),this.defer(this.tok(":"))," "!==this.input[0]&&console.warn("Warning: space required after `:` on line "+this.lineno+' of jade file "'+this.filename+'"');" "==this.input[0];)this.input=this.input.substr(1);else e=this.tok("tag",i);return e.selfClosing=!!t[2],e}},filter:function(){var t=this.scan(/^:([\w\-]+)/,"filter");return t?(this.pipeless=!0,t):void 0},doctype:function(){if(this.scan(/^!!! *([^\n]+)?/,"doctype"))throw new Error("`!!!` is deprecated, you must now use `doctype`");var t=this.scan(/^(?:doctype) *([^\n]+)?/,"doctype");if(t&&t.val&&"5"===t.val.trim())throw new Error("`doctype 5` is deprecated, you must now use `doctype html`");return t},id:function(){return this.scan(/^#([\w-]+)/,"id")},className:function(){return this.scan(/^\.([\w-]+)/,"class")},text:function(){return this.scan(/^(?:\| ?| )([^\n]+)/,"text")||this.scan(/^\|?( )/,"text")||this.scan(/^(<[^\n]*)/,"text")},textFail:function(){var t;return(t=this.scan(/^([^\.\n][^\n]+)/,"text"))?(console.warn("Warning: missing space before text for line "+this.lineno+' of jade file "'+this.filename+'"'),t):void 0},dot:function(){var t;return(t=this.scan(/^\./,"dot"))?(this.pipeless=!0,t):void 0},"extends":function(){return this.scan(/^extends? +([^\n]+)/,"extends")},prepend:function(){var t;if(t=/^prepend +([^\n]+)/.exec(this.input)){this.consume(t[0].length);var e="prepend",i=t[1],s=this.tok("block",i);return s.mode=e,s}},append:function(){var t;if(t=/^append +([^\n]+)/.exec(this.input)){this.consume(t[0].length);var e="append",i=t[1],s=this.tok("block",i);return s.mode=e,s}},block:function(){var t;if(t=/^block\b *(?:(prepend|append) +)?([^\n]+)/.exec(this.input)){this.consume(t[0].length);var e=t[1]||"replace",i=t[2],s=this.tok("block",i);return s.mode=e,s}},mixinBlock:function(){var t;return(t=/^block[ \t]*(\n|$)/.exec(this.input))?(this.consume(t[0].length-t[1].length),this.tok("mixin-block")):void 0},"yield":function(){return this.scan(/^yield */,"yield")},include:function(){return this.scan(/^include +([^\n]+)/,"include")},includeFiltered:function(){var t;if(t=/^include:([\w\-]+)([\( ])/.exec(this.input)){this.consume(t[0].length-1);var e=t[1],i="("===t[2]?this.attrs():null;if(" "!==t[2]&&" "!==this.input[0])throw new Error("expected space after include:filter but got "+r.stringify(this.input[0]));if(t=/^ *([^\n]+)/.exec(this.input),!t||""===t[1].trim())throw new Error("missing path for include:filter");this.consume(t[0].length);var s=t[1],n=this.tok("include",s);return n.filter=e,n.attrs=i,n}},"case":function(){return this.scan(/^case +([^\n]+)/,"case")},when:function(){return this.scan(/^when +([^:\n]+)/,"when")},"default":function(){return this.scan(/^default */,"default")},call:function(){var t,e;if(e=/^\+(\s*)(([-\w]+)|(#\{))/.exec(this.input)){if(e[3])this.consume(e[0].length),t=this.tok("call",e[3]);else{var i=this.bracketExpression(2+e[1].length);this.consume(i.end+1),s(i.src),t=this.tok("call","#{"+i.src+"}")}if(e=/^ *\(/.exec(this.input)){var n=this.bracketExpression(e[0].length-1);/^\s*[-\w]+ *=/.test(n.src)||(this.consume(n.end+1),t.args=n.src),t.args&&s("["+t.args+"]")}return t}},mixin:function(){var t;if(t=/^mixin +([-\w]+)(?: *\((.*)\))? */.exec(this.input)){this.consume(t[0].length);var e=this.tok("mixin",t[1]);return e.args=t[2],e}},conditional:function(){var t;if(t=/^(if|unless|else if|else)\b([^\n]*)/.exec(this.input)){this.consume(t[0].length);var e=t[1],i=t[2],n=!1,r=!1;switch(e){case"if":s(i),i="if ("+i+")",n=!0;break;case"unless":s(i),i="if (!("+i+"))",n=!0;break;case"else if":s(i),i="else if ("+i+")",n=!0,r=!0;break;case"else":if(i&&i.trim())throw new Error("`else` cannot have a condition, perhaps you meant `else if`");i="else",r=!0}var o=this.tok("code",i);return o.isElse=r,o.isIf=n,o.requiresBlock=!0,o}},"while":function(){var t;if(t=/^while +([^\n]+)/.exec(this.input)){this.consume(t[0].length),s(t[1]);var e=this.tok("code","while ("+t[1]+")");return e.requiresBlock=!0,e}},each:function(){var t;if(t=/^(?:- *)?(?:each|for) +([a-zA-Z_$][\w$]*)(?: *, *([a-zA-Z_$][\w$]*))? * in *([^\n]+)/.exec(this.input)){this.consume(t[0].length);var e=this.tok("each",t[1]);return e.key=t[2]||"$index",s(t[3]),e.code=t[3],e}},code:function(){var t;if(t=/^(!?=|-)[ \t]*([^\n]+)/.exec(this.input)){this.consume(t[0].length);var e=t[1];t[1]=t[2];var i=this.tok("code",t[1]);return i.escape="="===e.charAt(0),i.buffer="="===e.charAt(0)||"="===e.charAt(1),i.buffer&&s(t[1]),i}},blockCode:function(){var t;if(t=/^-\n/.exec(this.input)){this.consume(t[0].length-1);var e=this.tok("blockCode");return this.pipeless=!0,e}},attrs:function(){if("("==this.input.charAt(0)){var t=this.bracketExpression().end,e=this.input.substr(1,t-1),i=this.tok("attrs");n(e);var r="",a=function(t){return t.replace(/(\\)?#\{(.+)/g,function(t,e,i){if(e)return t;try{var n=o.parseMax(i);return"}"!==i[n.end]?t.substr(0,2)+a(t.substr(2)):(s(n.src),r+" + ("+n.src+") + "+r+a(i.substr(n.end+1)))}catch(h){return t.substr(0,2)+a(t.substr(2))}})};this.consume(t+1),i.attrs=[];var h=!0,c="",p="",u="",l=o.defaultState(),f="key",d=function(t){if(""===c.trim())return!1;if(t===e.length)return!0;if("key"===f){if(" "===e[t]||"\n"===e[t])for(var i=t;is;)this.stash.push(this.tok("outdent")),this.indentStack.shift();i=this.stash.pop()}else s&&s!=this.indentStack[0]?(this.indentStack.unshift(s),i=this.tok("indent",s)):i=this.tok("newline");return this.pipeless=!1,i}},pipelessText:function(){if(this.pipeless){var t,e;this.indentRe?t=this.indentRe.exec(this.input):(e=/^\n(\t*) */,t=e.exec(this.input),t&&!t[1].length&&(e=/^\n( *)/,t=e.exec(this.input)),t&&t[1].length&&(this.indentRe=e));var i=t&&t[1].length;if(i&&(0===this.indentStack.length||i>this.indentStack[0])){var s,n=t[1],r=[];do{var o=this.input.substr(1).indexOf("\n");-1==o&&(o=this.input.length-1);var a=this.input.substr(1,o);s=a.substr(0,n.length)===n||!a.trim(),s&&(this.consume(a.length+1),++this.lineno,r.push(a.substr(n.length)))}while(this.input.length&&s);for(;0===this.input.length&&""===r[r.length-1];)r.pop();return this.tok("pipeless-text",r)}}},colon:function(){var t=/^: +/.test(this.input),e=this.scan(/^: */,":");return e&&!t&&console.warn("Warning: space required after `:` on line "+this.lineno+' of jade file "'+this.filename+'"'),e},fail:function(){throw new Error("unexpected text "+this.input.substr(0,5))},advance:function(){return this.stashed()||this.next()},next:function(){return this.deferred()||this.blank()||this.eos()||this.pipelessText()||this["yield"]()||this.doctype()||this.interpolation()||this["case"]()||this.when()||this["default"]()||this["extends"]()||this.append()||this.prepend()||this.block()||this.mixinBlock()||this.include()||this.includeFiltered()||this.mixin()||this.call()||this.conditional()||this.each()||this["while"]()||this.tag()||this.filter()||this.blockCode()||this.code()||this.id()||this.className()||this.attrs()||this.attributesBlock()||this.indent()||this.text()||this.comment()||this.colon()||this.dot()||this.textFail()||this.fail()}}},{"./utils":25,"character-parser":29}],7:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(){this.attributeNames=[],this.attrs=[],this.attributeBlocks=[]};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Attrs",n.prototype.setAttribute=function(t,e,i){if("class"!==t&&-1!==this.attributeNames.indexOf(t))throw new Error('Duplicate attribute "'+t+'" is not allowed.');return this.attributeNames.push(t),this.attrs.push({name:t,val:e,escaped:i}),this},n.prototype.removeAttribute=function(t){var e=new Error("attrs.removeAttribute is deprecated and will be removed in v2.0.0");console.warn(e.stack);for(var i=0,s=this.attrs.length;s>i;++i)this.attrs[i]&&this.attrs[i].name==t&&delete this.attrs[i]},n.prototype.getAttribute=function(t){var e=new Error("attrs.getAttribute is deprecated and will be removed in v2.0.0");console.warn(e.stack);for(var i=0,s=this.attrs.length;s>i;++i)if(this.attrs[i]&&this.attrs[i].name==t)return this.attrs[i].val},n.prototype.addAttributes=function(t){this.attributeBlocks.push(t)}},{"./node":20}],8:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(t,e,i){this.block=e,this.val=t,this.buffer=i};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="BlockComment"},{"./node":20}],9:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(t){this.nodes=[],t&&this.push(t)};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Block",n.prototype.isBlock=!0,n.prototype.replace=function(t){var e=new Error("block.replace is deprecated and will be removed in v2.0.0");console.warn(e.stack),t.nodes=this.nodes},n.prototype.push=function(t){return this.nodes.push(t)},n.prototype.isEmpty=function(){return 0==this.nodes.length},n.prototype.unshift=function(t){return this.nodes.unshift(t)},n.prototype.includeBlock=function(){for(var t,e=this,i=0,s=this.nodes.length;s>i;++i){if(t=this.nodes[i],t["yield"])return t;if(!t.textOnly&&(t.includeBlock?e=t.includeBlock():t.block&&!t.block.isEmpty()&&(e=t.block.includeBlock()),e["yield"]))return e}return e},n.prototype.clone=function(){ var t=new Error("block.clone is deprecated and will be removed in v2.0.0");console.warn(t.stack);for(var e=new n,i=0,s=this.nodes.length;s>i;++i)e.push(this.nodes[i].clone());return e}},{"./node":20}],10:[function(t,e,i){"use strict";var s=t("./node"),n=i=e.exports=function(t,e){this.expr=t,this.block=e};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Case";var r=i.When=function(t,e){this.expr=t,this.block=e,this.debug=!1};r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.type="When"},{"./node":20}],11:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(t,e,i){this.val=t,this.buffer=e,this.escape=i,t.match(/^ *else/)&&(this.debug=!1)};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Code"},{"./node":20}],12:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(t,e){this.val=t,this.buffer=e};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Comment"},{"./node":20}],13:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(t){this.val=t};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Doctype"},{"./node":20}],14:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(t,e,i,s){this.obj=t,this.val=e,this.key=i,this.block=s};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Each"},{"./node":20}],15:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(t,e,i){this.name=t,this.block=e,this.attrs=i};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Filter"},{"./node":20}],16:[function(t,e,i){"use strict";i.Node=t("./node"),i.Tag=t("./tag"),i.Code=t("./code"),i.Each=t("./each"),i.Case=t("./case"),i.Text=t("./text"),i.Block=t("./block"),i.MixinBlock=t("./mixin-block"),i.Mixin=t("./mixin"),i.Filter=t("./filter"),i.Comment=t("./comment"),i.Literal=t("./literal"),i.BlockComment=t("./block-comment"),i.Doctype=t("./doctype")},{"./block":9,"./block-comment":8,"./case":10,"./code":11,"./comment":12,"./doctype":13,"./each":14,"./filter":15,"./literal":17,"./mixin":19,"./mixin-block":18,"./node":20,"./tag":21,"./text":22}],17:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(t){this.str=t};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Literal"},{"./node":20}],18:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(){};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="MixinBlock"},{"./node":20}],19:[function(t,e,i){"use strict";var s=t("./attrs"),n=e.exports=function(t,e,i,n){s.call(this),this.name=t,this.args=e,this.block=i,this.call=n};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Mixin"},{"./attrs":7}],20:[function(t,e,i){"use strict";var s=e.exports=function(){};s.prototype.clone=function(){var t=new Error("node.clone is deprecated and will be removed in v2.0.0");return console.warn(t.stack),this},s.prototype.type=""},{}],21:[function(t,e,i){"use strict";var s=t("./attrs"),n=t("./block"),r=t("../inline-tags"),o=e.exports=function(t,e){s.call(this),this.name=t,this.block=e||new n};o.prototype=Object.create(s.prototype),o.prototype.constructor=o,o.prototype.type="Tag",o.prototype.clone=function(){var t=new Error("tag.clone is deprecated and will be removed in v2.0.0");console.warn(t.stack);var e=new o(this.name,this.block.clone());return e.line=this.line,e.attrs=this.attrs,e.textOnly=this.textOnly,e},o.prototype.isInline=function(){return~r.indexOf(this.name)},o.prototype.canInline=function(){function t(e){return e.isBlock?e.nodes.every(t):e.isText||e.isInline&&e.isInline()}var e=this.block.nodes;if(!e.length)return!0;if(1==e.length)return t(e[0]);if(this.block.nodes.every(t)){for(var i=1,s=e.length;s>i;++i)if(e[i-1].isText&&e[i].isText)return!1;return!0}return!1}},{"../inline-tags":5,"./attrs":7,"./block":9}],22:[function(t,e,i){"use strict";var s=t("./node"),n=e.exports=function(t){this.val=t};n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.prototype.type="Text",n.prototype.isText=!0},{"./node":20}],23:[function(t,e,i){"use strict";var s=t("./lexer"),n=t("./nodes"),r=t("./utils"),o=t("./filters"),a=t("path"),h=t("constantinople"),c=t("character-parser").parseMax,p=(a.extname,i=e.exports=function(t,e,i){this.input=t.replace(/^\uFEFF/,""),this.lexer=new s(this.input,e),this.filename=e,this.blocks={},this.mixins={},this.options=i,this.contexts=[this],this.inMixin=0,this.dependencies=[],this.inBlock=0});p.prototype={constructor:p,context:function(t){return t?void this.contexts.push(t):this.contexts.pop()},advance:function(){return this.lexer.advance()},peek:function(){return this.lookahead(1)},line:function(){return this.lexer.lineno},lookahead:function(t){return this.lexer.lookahead(t)},parse:function(){var t,e=new n.Block;for(e.line=0,e.filename=this.filename;"eos"!=this.peek().type;)if("newline"==this.peek().type)this.advance();else{var i=this.peek(),s=this.parseExpr();s.filename=s.filename||this.filename,s.line=i.line,e.push(s)}if(t=this.extending){this.context(t);var o=t.parse();this.context();for(var a in this.mixins)o.unshift(this.mixins[a]);return o}if(!this.extending&&!this.included&&Object.keys(this.blocks).length){var h=[];r.walkAST(e,function(t){"Block"===t.type&&t.name&&h.push(t.name)}),Object.keys(this.blocks).forEach(function(t){-1!==h.indexOf(t)||this.blocks[t].isSubBlock||console.warn('Warning: Unexpected block "'+t+'" on line '+this.blocks[t].line+" of "+this.blocks[t].filename+". This block is never used. This warning will be an error in v2.0.0")}.bind(this))}return e},expect:function(t){if(this.peek().type===t)return this.advance();throw new Error('expected "'+t+'", but got "'+this.peek().type+'"')},accept:function(t){return this.peek().type===t?this.advance():void 0},parseExpr:function(){switch(this.peek().type){case"tag":return this.parseTag();case"mixin":return this.parseMixin();case"block":return this.parseBlock();case"mixin-block":return this.parseMixinBlock();case"case":return this.parseCase();case"extends":return this.parseExtends();case"include":return this.parseInclude();case"doctype":return this.parseDoctype();case"filter":return this.parseFilter();case"comment":return this.parseComment();case"text":return this.parseText();case"each":return this.parseEach();case"code":return this.parseCode();case"blockCode":return this.parseBlockCode();case"call":return this.parseCall();case"interpolation":return this.parseInterpolation();case"yield":this.advance();var t=new n.Block;return t["yield"]=!0,t;case"id":case"class":var e=this.advance();return this.lexer.defer(this.lexer.tok("tag","div")),this.lexer.defer(e),this.parseExpr();default:throw new Error('unexpected token "'+this.peek().type+'"')}},parseText:function(){var t=this.expect("text"),e=this.parseInlineTagsInText(t.val);if(1===e.length)return e[0];for(var i=new n.Block,s=0;s0,this.blocks[i]=t},parseMixinBlock:function(){this.expect("mixin-block");if(!this.inMixin)throw new Error("Anonymous blocks are not allowed unless they are part of a mixin.");return new n.MixinBlock},parseInclude:function(){var e=t("fs"),i=this.expect("include"),s=this.resolvePath(i.val.trim(),"include");if(this.dependencies.push(s),i.filter){var a=e.readFileSync(s,"utf8").replace(/\r/g,""),c={filename:s};return i.attrs&&i.attrs.attrs.forEach(function(t){c[t.name]=h.toConstant(t.val)}),a=o(i.filter,a,c),new n.Literal(a)}if(".jade"!=s.substr(-5)){var a=e.readFileSync(s,"utf8").replace(/\r/g,"");return new n.Literal(a)}var a=e.readFileSync(s,"utf8"),p=new this.constructor(a,s,this.options);p.dependencies=this.dependencies,p.blocks=r.merge({},this.blocks),p.included=!0,p.mixins=this.mixins,this.context(p);var u=p.parse();return this.context(),u.filename=s,"indent"==this.peek().type&&u.includeBlock().push(this.block()),u},parseCall:function(){var t=this.expect("call"),e=t.val,i=t.args,s=new n.Mixin(e,i,new n.Block,!0);return this.tag(s),s.code&&(s.block.push(s.code),s.code=null),s.block.isEmpty()&&(s.block=null),s},parseMixin:function(){var t,e=this.expect("mixin"),i=e.val,s=e.args;return"indent"==this.peek().type?(this.inMixin++,t=new n.Mixin(i,s,this.block(),!1),this.mixins[i]=t,this.inMixin--,t):new n.Mixin(i,s,null,!0)},parseInlineTagsInText:function(t){var e=this.line(),i=/(\\)?#\[((?:.|\n)*)$/.exec(t);if(i){if(i[1]){var s=new n.Text(t.substr(0,i.index)+"#[");s.line=e;var r=this.parseInlineTagsInText(i[2]);return"Text"===r[0].type&&(s.val+=r[0].val,r.shift()),[s].concat(r)}var s=new n.Text(t.substr(0,i.index));s.line=e;var o=[s],r=i[2],a=c(r),h=new p(a.src,this.filename,this.options);return o.push(h.parse()),o.concat(this.parseInlineTagsInText(r.substr(a.end+1)))}var s=new n.Text(t);return s.line=e,[s]},parseTextBlock:function(){var t=new n.Block;t.line=this.line();var e=this.peek();if("pipeless-text"===e.type)return this.advance(),t.nodes=e.val.reduce(function(t,e){return t.concat(this.parseInlineTagsInText(e))}.bind(this),[]),t},block:function(){var t=new n.Block;for(t.line=this.line(),t.filename=this.filename,this.expect("indent");"outdent"!=this.peek().type;)if("newline"==this.peek().type)this.advance();else{var e=this.parseExpr();e.filename=this.filename,t.push(e)}return this.expect("outdent"),t},parseInterpolation:function(){var t=this.advance(),e=new n.Tag(t.val);return e.buffer=!0,this.tag(e)},parseTag:function(){var t=this.advance(),e=new n.Tag(t.val);return e.selfClosing=t.selfClosing,this.tag(e)},tag:function(t){t.line=this.line();var e=!1;t:for(;;)switch(this.peek().type){case"id":case"class":var i=this.advance();t.setAttribute(i.type,"'"+i.val+"'");continue;case"attrs":e&&console.warn(this.filename+", line "+this.peek().line+":\nYou should not have jade tags with multiple attributes."),e=!0;var i=this.advance(),s=i.attrs;i.selfClosing&&(t.selfClosing=!0);for(var r=0;rr;++r)t.block.push(o.nodes[r]);return t}}},{"./filters":4,"./lexer":6,"./nodes":16,"./utils":25,"character-parser":29,constantinople:30,fs:26,path:27}],24:[function(t,e,i){"use strict";function s(t){return null!=t&&""!==t}function n(t){return(Array.isArray(t)?t.map(n):t&&"object"==typeof t?Object.keys(t).filter(function(e){return t[e]}):[t]).filter(s).join(" ")}function r(t){return a[t]||t}function o(t){var e=String(t).replace(h,r);return e===""+t?t:e}i.merge=function c(t,e){if(1===arguments.length){for(var i=t[0],n=1;n":">",'"':"""},h=/[&<>"]/g;i.escape=o,i.rethrow=function p(e,i,s,n){if(!(e instanceof Error))throw e;if(!("undefined"==typeof window&&i||n))throw e.message+=" on line "+s,e;try{n=n||t("fs").readFileSync(i,"utf8")}catch(r){p(e,null,s)}var o=3,a=n.split("\n"),h=Math.max(s-o,0),c=Math.min(a.length,s+o),o=a.slice(h,c).map(function(t,e){var i=e+h+1;return(i==s?" > ":" ")+i+"| "+t}).join("\n");throw e.path=i,e.message=(i||"Jade")+":"+s+"\n"+o+"\n\n"+e.message,e},i.DebugItem=function(t,e){this.lineno=t,this.filename=e}},{fs:26}],25:[function(t,e,i){"use strict";i.merge=function(t,e){for(var i in e)t[i]=e[i];return t},i.stringify=function(t){return JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")},i.walkAST=function s(t,e,i){switch(e&&e(t),t.type){case"Block":t.nodes.forEach(function(t){s(t,e,i)});break;case"Case":case"Each":case"Mixin":case"Tag":case"When":case"Code":t.block&&s(t.block,e,i);break;case"Attrs":case"BlockComment":case"Comment":case"Doctype":case"Filter":case"Literal":case"MixinBlock":case"Text":break;default:throw new Error("Unexpected node type "+t.type)}i&&i(t)}},{}],26:[function(t,e,i){},{}],27:[function(t,e,i){(function(t){function e(t,e){for(var i=0,s=t.length-1;s>=0;s--){var n=t[s];"."===n?t.splice(s,1):".."===n?(t.splice(s,1),i++):i&&(t.splice(s,1),i--)}if(e)for(;i--;i)t.unshift("..");return t}function s(t,e){if(t.filter)return t.filter(e);for(var i=[],s=0;s=-1&&!n;r--){var o=r>=0?arguments[r]:t.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(i=o+"/"+i,n="/"===o.charAt(0))}return i=e(s(i.split("/"),function(t){return!!t}),!n).join("/"),(n?"/":"")+i||"."},i.normalize=function(t){var n=i.isAbsolute(t),r="/"===o(t,-1);return t=e(s(t.split("/"),function(t){return!!t}),!n).join("/"),t||n||(t="."),t&&r&&(t+="/"),(n?"/":"")+t},i.isAbsolute=function(t){return"/"===t.charAt(0)},i.join=function(){var t=Array.prototype.slice.call(arguments,0);return i.normalize(s(t,function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},i.relative=function(t,e){function s(t){for(var e=0;e=0&&""===t[i];i--);return e>i?[]:t.slice(e,i-e+1)}t=i.resolve(t).substr(1),e=i.resolve(e).substr(1);for(var n=s(t.split("/")),r=s(e.split("/")),o=Math.min(n.length,r.length),a=o,h=0;o>h;h++)if(n[h]!==r[h]){a=h;break}for(var c=[],h=a;he&&(e=t.length+e),t.substr(e,i)}}).call(this,t("_process"))},{_process:28}],28:[function(t,e,i){function s(){p=!1,a.length?c=a.concat(c):u=-1,c.length&&n()}function n(){if(!p){var t=setTimeout(s);p=!0;for(var e=c.length;e;){for(a=c,c=[];++u1)for(var i=1;io;){if(e.roundDepth<0||e.curlyDepth<0||e.squareDepth<0)throw new SyntaxError("Mismatched Bracket: "+t[o-1]);i.parseChar(t[o++],e)}return e}function n(t,e){e=e||{};for(var s=e.start||0,n=s,r=i.defaultState();r.roundDepth>=0&&r.curlyDepth>=0&&r.squareDepth>=0;){if(n>=t.length)throw new Error("The end of the string was reached with no closing bracket found.");i.parseChar(t[n++],r)}var o=n-1;return{start:s,end:o,src:t.substring(s,o)}}function r(t,e,s){s=s||{};for(var n=s.includeLineComment||!1,r=s.start||0,o=r,a=i.defaultState();a.isString()||a.regexp||a.blockComment||!n&&a.lineComment||!h(t,e,o);)i.parseChar(t[o++],a);var c=o;return{start:r,end:c,src:t.substring(r,c)}}function o(t,e){if(1!==t.length)throw new Error("Character must be a string of length 1");e=e||i.defaultState(),e.src=e.src||"",e.src+=t;var s=e.blockComment||e.lineComment,n=e.history?e.history[0]:"";return e.regexpStart&&(("/"===t||"*"==t)&&(e.regexp=!1),e.regexpStart=!1),e.lineComment?"\n"===t&&(e.lineComment=!1):e.blockComment?"*"===e.lastChar&&"/"===t&&(e.blockComment=!1):e.singleQuote?"'"!==t||e.escaped?"\\"!==t||e.escaped?e.escaped=!1:e.escaped=!0:e.singleQuote=!1:e.doubleQuote?'"'!==t||e.escaped?"\\"!==t||e.escaped?e.escaped=!1:e.escaped=!0:e.doubleQuote=!1:e.regexp?"/"!==t||e.escaped?"\\"!==t||e.escaped?e.escaped=!1:e.escaped=!0:e.regexp=!1:"/"===n&&"/"===t?(e.history=e.history.substr(1),e.lineComment=!0):"/"===n&&"*"===t?(e.history=e.history.substr(1),e.blockComment=!0):"/"===t&&u(e.history)?(e.regexp=!0,e.regexpStart=!0):"'"===t?e.singleQuote=!0:'"'===t?e.doubleQuote=!0:"("===t?e.roundDepth++:")"===t?e.roundDepth--:"{"===t?e.curlyDepth++:"}"===t?e.curlyDepth--:"["===t?e.squareDepth++:"]"===t&&e.squareDepth--,e.blockComment||e.lineComment||s||(e.history=t+e.history),e.lastChar=t,e}function a(){this.lineComment=!1,this.blockComment=!1,this.singleQuote=!1,this.doubleQuote=!1,this.regexp=!1,this.escaped=!1,this.roundDepth=0,this.curlyDepth=0,this.squareDepth=0,this.history="",this.lastChar=""}function h(t,e,i){return t.substr(i||0,e.length)===e}function c(t){if(!t)return!0;var e=t.charCodeAt(0);switch(e){case 46:case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:case 37:case 38:case 42:case 43:case 45:case 47:case 60:case 62:case 94:case 124:case 33:case 61:return!0;default:return!1}}function p(t){return"if"===t||"in"===t||"do"===t||"var"===t||"for"===t||"new"===t||"try"===t||"let"===t||"this"===t||"else"===t||"case"===t||"void"===t||"with"===t||"enum"===t||"while"===t||"break"===t||"catch"===t||"throw"===t||"const"===t||"yield"===t||"class"===t||"super"===t||"return"===t||"typeof"===t||"delete"===t||"switch"===t||"export"===t||"import"===t||"default"===t||"finally"===t||"extends"===t||"function"===t||"continue"===t||"debugger"===t||"package"===t||"private"===t||"interface"===t||"instanceof"===t||"implements"===t||"protected"===t||"public"===t||"static"===t||"yield"===t||"let"===t}function u(t){return t=t.replace(/^\s*/,""),")"===t[0]?!1:"}"===t[0]?!0:c(t[0])?!0:/^\w+\b/.test(t)&&p(/^\w+\b/.exec(t)[0].split("").reverse().join(""))?!0:!1}i=e.exports=s,i.parse=s,i.parseMax=n,i.parseUntil=r,i.parseChar=o,i.defaultState=function(){return new a},a.prototype.isString=function(){return this.singleQuote||this.doubleQuote},a.prototype.isComment=function(){return this.lineComment||this.blockComment},a.prototype.isNesting=function(){return this.isString()||this.isComment()||this.regexp||this.roundDepth>0||this.curlyDepth>0||this.squareDepth>0},i.isPunctuator=c,i.isKeyword=p},{}],30:[function(require,module,exports){"use strict";function isConstant(t,e){if(t="("+t+")",lastSRC===t&&lastConstants===e)return lastRes;lastSRC=t,lastConstants=e;try{return isExpression(t),lastRes=0===detect(t).filter(function(t){return!(e&&t.name in e)}).length}catch(i){return lastRes=!1}}function toConstant(t,e){if(!isConstant(t,e))throw new Error(JSON.stringify(t)+" is not constant.");return Function(Object.keys(e||{}).join(","),"return ("+t+")").apply(null,Object.keys(e||{}).map(function(t){return e[t]}))}function isExpression(src){try{return eval('throw "STOP"; (function () { return ('+src+"); })()"),!1}catch(err){return"STOP"===err}}var detect=require("acorn-globals"),lastSRC="(null)",lastRes=!0,lastConstants=void 0;module.exports=isConstant,isConstant.isConstant=isConstant,isConstant.toConstant=toConstant},{"acorn-globals":31}],31:[function(t,e,i){"use strict";function s(t){return"FunctionExpression"===t.type||"FunctionDeclaration"===t.type||"Program"===t.type}function n(t){return"BlockStatement"===t.type||s(t)}function r(t){return"FunctionExpression"===t.type||"FunctionDeclaration"===t.type||"ArrowFunction"===t.type}function o(t){return"FunctionExpression"===t.type||"FunctionDeclaration"===t.type}function a(t){try{return c.parse(t,{ecmaVersion:6,allowReturnOutsideFunction:!0,sourceType:"module"})}catch(e){if("SyntaxError"!==e.name)throw e;try{return c.parse(t,{ecmaVersion:6,allowReturnOutsideFunction:!0})}catch(e){if("SyntaxError"!==e.name)throw e;return c.parse(t,{ecmaVersion:5,allowReturnOutsideFunction:!0})}}}function h(t){var e=[],i="string"==typeof t?i=a(t):t;if(!i||"object"!=typeof i||"Program"!==i.type)throw new TypeError("Source must be either a string of JavaScript or an acorn AST");var h=function(t){var e=t;e.locals=e.locals||{},t.params.forEach(function(t){e.locals[t.name]=!0}),t.id&&(e.locals[t.id.name]=!0)};p.ancestor(i,{VariableDeclaration:function(t,e){for(var i=null,r=e.length-1;r>=0&&null===i;r--)("var"===t.kind?s(e[r]):n(e[r]))&&(i=e[r]);i.locals=i.locals||{},t.declarations.forEach(function(t){i.locals[t.id.name]=!0})},FunctionDeclaration:function(t,e){for(var i=null,n=e.length-2;n>=0&&null===i;n--)s(e[n])&&(i=e[n]);i.locals=i.locals||{},i.locals[t.id.name]=!0,h(t)},Function:h,TryStatement:function(t){t.handler.body.locals=t.handler.body.locals||{},t.handler.body.locals[t.handler.param.name]=!0},ImportDefaultSpecifier:function(t){"Identifier"===t.local.type&&(i.locals=i.locals||{},i.locals[t.local.name]=!0)},ImportSpecifier:function(t){var e=t.local?t.local:t.imported;"Identifier"===e.type&&(i.locals=i.locals||{},i.locals[e.name]=!0)},ImportNamespaceSpecifier:function(t){"Identifier"===t.local.type&&(i.locals=i.locals||{},i.locals[t.local.name]=!0)}}),p.ancestor(i,{Identifier:function(t,i){var s=t.name;if("undefined"!==s){for(var n=0;n=3&&(s.depth=arguments[2]),arguments.length>=4&&(s.colors=arguments[3]),m(e)?s.showHidden=e:e&&i._extend(s,e),k(s.showHidden)&&(s.showHidden=!1),k(s.depth)&&(s.depth=2),k(s.colors)&&(s.colors=!1),k(s.customInspect)&&(s.customInspect=!0),s.colors&&(s.stylize=r),h(s,t,s.depth)}function r(t,e){var i=n.styles[e];return i?"["+n.colors[i][0]+"m"+t+"["+n.colors[i][1]+"m":t}function o(t,e){return t}function a(t){var e={};return t.forEach(function(t,i){e[t]=!0}),e}function h(t,e,s){if(t.customInspect&&e&&T(e.inspect)&&e.inspect!==i.inspect&&(!e.constructor||e.constructor.prototype!==e)){var n=e.inspect(s,t);return b(n)||(n=h(t,n,s)),n}var r=c(t,e);if(r)return r;var o=Object.keys(e),m=a(o);if(t.showHidden&&(o=Object.getOwnPropertyNames(e)),S(e)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return p(e);if(0===o.length){if(T(e)){var y=e.name?": "+e.name:"";return t.stylize("[Function"+y+"]","special")}if(w(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(C(e))return t.stylize(Date.prototype.toString.call(e),"date");if(S(e))return p(e)}var x="",v=!1,g=["{","}"]; if(d(e)&&(v=!0,g=["[","]"]),T(e)){var k=e.name?": "+e.name:"";x=" [Function"+k+"]"}if(w(e)&&(x=" "+RegExp.prototype.toString.call(e)),C(e)&&(x=" "+Date.prototype.toUTCString.call(e)),S(e)&&(x=" "+p(e)),0===o.length&&(!v||0==e.length))return g[0]+x+g[1];if(0>s)return w(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special");t.seen.push(e);var E;return E=v?u(t,e,s,m,o):o.map(function(i){return l(t,e,s,m,i,v)}),t.seen.pop(),f(E,x,g)}function c(t,e){if(k(e))return t.stylize("undefined","undefined");if(b(e)){var i="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(i,"string")}return v(e)?t.stylize(""+e,"number"):m(e)?t.stylize(""+e,"boolean"):y(e)?t.stylize("null","null"):void 0}function p(t){return"["+Error.prototype.toString.call(t)+"]"}function u(t,e,i,s,n){for(var r=[],o=0,a=e.length;a>o;++o)I(e,String(o))?r.push(l(t,e,i,s,String(o),!0)):r.push("");return n.forEach(function(n){n.match(/^\d+$/)||r.push(l(t,e,i,s,n,!0))}),r}function l(t,e,i,s,n,r){var o,a,c;if(c=Object.getOwnPropertyDescriptor(e,n)||{value:e[n]},c.get?a=c.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):c.set&&(a=t.stylize("[Setter]","special")),I(s,n)||(o="["+n+"]"),a||(t.seen.indexOf(c.value)<0?(a=y(i)?h(t,c.value,null):h(t,c.value,i-1),a.indexOf("\n")>-1&&(a=r?a.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+a.split("\n").map(function(t){return" "+t}).join("\n"))):a=t.stylize("[Circular]","special")),k(o)){if(r&&n.match(/^\d+$/))return a;o=JSON.stringify(""+n),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+a}function f(t,e,i){var s=0,n=t.reduce(function(t,e){return s++,e.indexOf("\n")>=0&&s++,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0);return n>60?i[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+i[1]:i[0]+e+" "+t.join(", ")+" "+i[1]}function d(t){return Array.isArray(t)}function m(t){return"boolean"==typeof t}function y(t){return null===t}function x(t){return null==t}function v(t){return"number"==typeof t}function b(t){return"string"==typeof t}function g(t){return"symbol"==typeof t}function k(t){return void 0===t}function w(t){return E(t)&&"[object RegExp]"===_(t)}function E(t){return"object"==typeof t&&null!==t}function C(t){return E(t)&&"[object Date]"===_(t)}function S(t){return E(t)&&("[object Error]"===_(t)||t instanceof Error)}function T(t){return"function"==typeof t}function A(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||"undefined"==typeof t}function _(t){return Object.prototype.toString.call(t)}function N(t){return 10>t?"0"+t.toString(10):t.toString(10)}function j(){var t=new Date,e=[N(t.getHours()),N(t.getMinutes()),N(t.getSeconds())].join(":");return[t.getDate(),D[t.getMonth()],e].join(" ")}function I(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var L=/%[sdj%]/g;i.format=function(t){if(!b(t)){for(var e=[],i=0;i=r)return t;switch(t){case"%s":return String(s[i++]);case"%d":return Number(s[i++]);case"%j":try{return JSON.stringify(s[i++])}catch(e){return"[Circular]"}default:return t}}),a=s[i];r>i;a=s[++i])o+=y(a)||!E(a)?" "+a:" "+n(a);return o},i.deprecate=function(t,n){function r(){if(!o){if(e.throwDeprecation)throw new Error(n);e.traceDeprecation?console.trace(n):console.error(n),o=!0}return t.apply(this,arguments)}if(k(s.process))return function(){return i.deprecate(t,n).apply(this,arguments)};if(e.noDeprecation===!0)return t;var o=!1;return r};var B,O={};i.debuglog=function(t){if(k(B)&&(B=e.env.NODE_DEBUG||""),t=t.toUpperCase(),!O[t])if(new RegExp("\\b"+t+"\\b","i").test(B)){var s=e.pid;O[t]=function(){var e=i.format.apply(i,arguments);console.error("%s %d: %s",t,s,e)}}else O[t]=function(){};return O[t]},i.inspect=n,n.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},n.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},i.isArray=d,i.isBoolean=m,i.isNull=y,i.isNullOrUndefined=x,i.isNumber=v,i.isString=b,i.isSymbol=g,i.isUndefined=k,i.isRegExp=w,i.isObject=E,i.isDate=C,i.isError=S,i.isFunction=T,i.isPrimitive=A,i.isBuffer=t("./support/isBuffer");var D=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];i.log=function(){console.log("%s - %s",j(),i.format.apply(i,arguments))},i.inherits=t("inherits"),i._extend=function(t,e){if(!e||!E(e))return t;for(var i=Object.keys(e),s=i.length;s--;)t[i[s]]=e[i[s]];return t}}).call(this,t("_process"),"undefined"!=typeof s?s:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":4,_process:3,inherits:2}],6:[function(t,e,i){"use strict";var s=t("./tokentype").types,n=t("./state").Parser,r=t("./identifier").reservedWords,o=t("./util").has,a=n.prototype;a.checkPropClash=function(t,e){if(!(this.options.ecmaVersion>=6)){var i=t.key,s=void 0;switch(i.type){case"Identifier":s=i.name;break;case"Literal":s=String(i.value);break;default:return}var n=t.kind||"init",r=void 0;if(o(e,s)){r=e[s];var a="init"!==n;((this.strict||a)&&r[n]||!(a^r.init))&&this.raise(i.start,"Redefinition of property")}else r=e[s]={init:!1,get:!1,set:!1};r[n]=!0}},a.parseExpression=function(t,e){var i=this.start,n=this.startLoc,r=this.parseMaybeAssign(t,e);if(this.type===s.comma){var o=this.startNodeAt(i,n);for(o.expressions=[r];this.eat(s.comma);)o.expressions.push(this.parseMaybeAssign(t,e));return this.finishNode(o,"SequenceExpression")}return r},a.parseMaybeAssign=function(t,e,i){if(this.type==s._yield&&this.inGenerator)return this.parseYield();var n=void 0;e?n=!1:(e={start:0},n=!0);var r=this.start,o=this.startLoc;(this.type==s.parenL||this.type==s.name)&&(this.potentialArrowAt=this.start);var a=this.parseMaybeConditional(t,e);if(i&&(a=i.call(this,a,r,o)),this.type.isAssign){var h=this.startNodeAt(r,o);return h.operator=this.value,h.left=this.type===s.eq?this.toAssignable(a):a,e.start=0,this.checkLVal(a),this.next(),h.right=this.parseMaybeAssign(t),this.finishNode(h,"AssignmentExpression")}return n&&e.start&&this.unexpected(e.start),a},a.parseMaybeConditional=function(t,e){var i=this.start,n=this.startLoc,r=this.parseExprOps(t,e);if(e&&e.start)return r;if(this.eat(s.question)){var o=this.startNodeAt(i,n);return o.test=r,o.consequent=this.parseMaybeAssign(),this.expect(s.colon),o.alternate=this.parseMaybeAssign(t),this.finishNode(o,"ConditionalExpression")}return r},a.parseExprOps=function(t,e){var i=this.start,s=this.startLoc,n=this.parseMaybeUnary(e);return e&&e.start?n:this.parseExprOp(n,i,s,-1,t)},a.parseExprOp=function(t,e,i,n,r){var o=this.type.binop;if(Array.isArray(e)&&this.options.locations&&void 0===r&&(r=n,n=i,i=e[1],e=e[0]),null!=o&&(!r||this.type!==s._in)&&o>n){var a=this.startNodeAt(e,i);a.left=t,a.operator=this.value;var h=this.type;this.next();var c=this.start,p=this.startLoc;return a.right=this.parseExprOp(this.parseMaybeUnary(),c,p,o,r),this.finishNode(a,h===s.logicalOR||h===s.logicalAND?"LogicalExpression":"BinaryExpression"),this.parseExprOp(a,e,i,n,r)}return t},a.parseMaybeUnary=function(t){if(this.type.prefix){var e=this.startNode(),i=this.type===s.incDec;return e.operator=this.value,e.prefix=!0,this.next(),e.argument=this.parseMaybeUnary(),t&&t.start&&this.unexpected(t.start),i?this.checkLVal(e.argument):this.strict&&"delete"===e.operator&&"Identifier"===e.argument.type&&this.raise(e.start,"Deleting local variable in strict mode"),this.finishNode(e,i?"UpdateExpression":"UnaryExpression")}var n=this.start,r=this.startLoc,o=this.parseExprSubscripts(t);if(t&&t.start)return o;for(;this.type.postfix&&!this.canInsertSemicolon();){var e=this.startNodeAt(n,r);e.operator=this.value,e.prefix=!1,e.argument=o,this.checkLVal(o),this.next(),o=this.finishNode(e,"UpdateExpression")}return o},a.parseExprSubscripts=function(t){var e=this.start,i=this.startLoc,s=this.parseExprAtom(t);return t&&t.start?s:this.parseSubscripts(s,e,i)},a.parseSubscripts=function(t,e,i,n){for(Array.isArray(e)&&this.options.locations&&void 0===n&&(n=i,i=e[1],e=e[0]);;)if(this.eat(s.dot)){var r=this.startNodeAt(e,i);r.object=t,r.property=this.parseIdent(!0),r.computed=!1,t=this.finishNode(r,"MemberExpression")}else if(this.eat(s.bracketL)){var r=this.startNodeAt(e,i);r.object=t,r.property=this.parseExpression(),r.computed=!0,this.expect(s.bracketR),t=this.finishNode(r,"MemberExpression")}else if(!n&&this.eat(s.parenL)){var r=this.startNodeAt(e,i);r.callee=t,r.arguments=this.parseExprList(s.parenR,!1),t=this.finishNode(r,"CallExpression")}else{if(this.type!==s.backQuote)return t;var r=this.startNodeAt(e,i);r.tag=t,r.quasi=this.parseTemplate(),t=this.finishNode(r,"TaggedTemplateExpression")}},a.parseExprAtom=function(t){var e=void 0,i=this.potentialArrowAt==this.start;switch(this.type){case s._this:case s._super:var n=this.type===s._this?"ThisExpression":"Super";return e=this.startNode(),this.next(),this.finishNode(e,n);case s._yield:this.inGenerator&&this.unexpected();case s.name:var r=this.start,o=this.startLoc,a=this.parseIdent(this.type!==s.name);return i&&!this.canInsertSemicolon()&&this.eat(s.arrow)?this.parseArrowExpression(this.startNodeAt(r,o),[a]):a;case s.regexp:var h=this.value;return e=this.parseLiteral(h.value),e.regex={pattern:h.pattern,flags:h.flags},e;case s.num:case s.string:return this.parseLiteral(this.value);case s._null:case s._true:case s._false:return e=this.startNode(),e.value=this.type===s._null?null:this.type===s._true,e.raw=this.type.keyword,this.next(),this.finishNode(e,"Literal");case s.parenL:return this.parseParenAndDistinguishExpression(i);case s.bracketL:return e=this.startNode(),this.next(),this.options.ecmaVersion>=7&&this.type===s._for?this.parseComprehension(e,!1):(e.elements=this.parseExprList(s.bracketR,!0,!0,t),this.finishNode(e,"ArrayExpression"));case s.braceL:return this.parseObj(!1,t);case s._function:return e=this.startNode(),this.next(),this.parseFunction(e,!1);case s._class:return this.parseClass(this.startNode(),!1);case s._new:return this.parseNew();case s.backQuote:return this.parseTemplate();default:this.unexpected()}},a.parseLiteral=function(t){var e=this.startNode();return e.value=t,e.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(e,"Literal")},a.parseParenExpression=function(){this.expect(s.parenL);var t=this.parseExpression();return this.expect(s.parenR),t},a.parseParenAndDistinguishExpression=function(t){var e=this.start,i=this.startLoc,n=void 0;if(this.options.ecmaVersion>=6){if(this.next(),this.options.ecmaVersion>=7&&this.type===s._for)return this.parseComprehension(this.startNodeAt(e,i),!0);for(var r=this.start,o=this.startLoc,a=[],h=!0,c={start:0},p=void 0,u=void 0;this.type!==s.parenR;){if(h?h=!1:this.expect(s.comma),this.type===s.ellipsis){p=this.start,a.push(this.parseParenItem(this.parseRest()));break}this.type!==s.parenL||u||(u=this.start),a.push(this.parseMaybeAssign(!1,c,this.parseParenItem))}var l=this.start,f=this.startLoc;if(this.expect(s.parenR),t&&!this.canInsertSemicolon()&&this.eat(s.arrow))return u&&this.unexpected(u),this.parseParenArrowList(e,i,a);a.length||this.unexpected(this.lastTokStart),p&&this.unexpected(p),c.start&&this.unexpected(c.start),a.length>1?(n=this.startNodeAt(r,o),n.expressions=a,this.finishNodeAt(n,"SequenceExpression",l,f)):n=a[0]}else n=this.parseParenExpression();if(this.options.preserveParens){var d=this.startNodeAt(e,i);return d.expression=n,this.finishNode(d,"ParenthesizedExpression")}return n},a.parseParenItem=function(t){return t},a.parseParenArrowList=function(t,e,i){return this.parseArrowExpression(this.startNodeAt(t,e),i)};var h=[];a.parseNew=function(){var t=this.startNode(),e=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(s.dot))return t.meta=e,t.property=this.parseIdent(!0),"target"!==t.property.name&&this.raise(t.property.start,"The only valid meta property for new is new.target"),this.finishNode(t,"MetaProperty");var i=this.start,n=this.startLoc;return t.callee=this.parseSubscripts(this.parseExprAtom(),i,n,!0),this.eat(s.parenL)?t.arguments=this.parseExprList(s.parenR,!1):t.arguments=h,this.finishNode(t,"NewExpression")},a.parseTemplateElement=function(){var t=this.startNode();return t.value={raw:this.input.slice(this.start,this.end),cooked:this.value},this.next(),t.tail=this.type===s.backQuote,this.finishNode(t,"TemplateElement")},a.parseTemplate=function(){var t=this.startNode();this.next(),t.expressions=[];var e=this.parseTemplateElement();for(t.quasis=[e];!e.tail;)this.expect(s.dollarBraceL),t.expressions.push(this.parseExpression()),this.expect(s.braceR),t.quasis.push(e=this.parseTemplateElement());return this.next(),this.finishNode(t,"TemplateLiteral")},a.parseObj=function(t,e){var i=this.startNode(),n=!0,r={};for(i.properties=[],this.next();!this.eat(s.braceR);){if(n)n=!1;else if(this.expect(s.comma),this.afterTrailingComma(s.braceR))break;var o=this.startNode(),a=void 0,h=void 0,c=void 0;this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(t||e)&&(h=this.start,c=this.startLoc),t||(a=this.eat(s.star))),this.parsePropertyName(o),this.parsePropertyValue(o,t,a,h,c,e),this.checkPropClash(o,r),i.properties.push(this.finishNode(o,"Property"))}return this.finishNode(i,t?"ObjectPattern":"ObjectExpression")},a.parsePropertyValue=function(t,e,i,n,o,a){this.eat(s.colon)?(t.value=e?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),t.kind="init"):this.options.ecmaVersion>=6&&this.type===s.parenL?(e&&this.unexpected(),t.kind="init",t.method=!0,t.value=this.parseMethod(i)):this.options.ecmaVersion>=5&&!t.computed&&"Identifier"===t.key.type&&("get"===t.key.name||"set"===t.key.name)&&this.type!=s.comma&&this.type!=s.braceR?((i||e)&&this.unexpected(),t.kind=t.key.name,this.parsePropertyName(t),t.value=this.parseMethod(!1)):this.options.ecmaVersion>=6&&!t.computed&&"Identifier"===t.key.type?(t.kind="init",e?((this.isKeyword(t.key.name)||this.strict&&(r.strictBind(t.key.name)||r.strict(t.key.name))||!this.options.allowReserved&&this.isReservedWord(t.key.name))&&this.raise(t.key.start,"Binding "+t.key.name),t.value=this.parseMaybeDefault(n,o,t.key)):this.type===s.eq&&a?(a.start||(a.start=this.start),t.value=this.parseMaybeDefault(n,o,t.key)):t.value=t.key,t.shorthand=!0):this.unexpected()},a.parsePropertyName=function(t){if(this.options.ecmaVersion>=6){if(this.eat(s.bracketL))return t.computed=!0,t.key=this.parseMaybeAssign(),this.expect(s.bracketR),t.key;t.computed=!1}return t.key=this.type===s.num||this.type===s.string?this.parseExprAtom():this.parseIdent(!0)},a.initFunction=function(t){t.id=null,this.options.ecmaVersion>=6&&(t.generator=!1,t.expression=!1)},a.parseMethod=function(t){var e=this.startNode();this.initFunction(e),this.expect(s.parenL),e.params=this.parseBindingList(s.parenR,!1,!1);var i=void 0;return this.options.ecmaVersion>=6?(e.generator=t,i=!0):i=!1,this.parseFunctionBody(e,i),this.finishNode(e,"FunctionExpression")},a.parseArrowExpression=function(t,e){return this.initFunction(t),t.params=this.toAssignableList(e,!0),this.parseFunctionBody(t,!0),this.finishNode(t,"ArrowFunctionExpression")},a.parseFunctionBody=function(t,e){var i=e&&this.type!==s.braceL;if(i)t.body=this.parseMaybeAssign(),t.expression=!0;else{var n=this.inFunction,r=this.inGenerator,o=this.labels;this.inFunction=!0,this.inGenerator=t.generator,this.labels=[],t.body=this.parseBlock(!0),t.expression=!1,this.inFunction=n,this.inGenerator=r,this.labels=o}if(this.strict||!i&&t.body.body.length&&this.isUseStrict(t.body.body[0])){var a={},h=this.strict;this.strict=!0,t.id&&this.checkLVal(t.id,!0);for(var c=0;c=6||-1==this.input.slice(this.start,this.end).indexOf("\\")))&&this.raise(this.start,"The keyword '"+this.value+"' is reserved"),e.name=this.value):t&&this.type.keyword?e.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(e,"Identifier")},a.parseYield=function(){var t=this.startNode();return this.next(),this.type==s.semi||this.canInsertSemicolon()||this.type!=s.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(s.star),t.argument=this.parseMaybeAssign()),this.finishNode(t,"YieldExpression")},a.parseComprehension=function(t,e){for(t.blocks=[];this.type===s._for;){var i=this.startNode();this.next(),this.expect(s.parenL),i.left=this.parseBindingAtom(),this.checkLVal(i.left,!0),this.expectContextual("of"),i.right=this.parseExpression(),this.expect(s.parenR),t.blocks.push(this.finishNode(i,"ComprehensionBlock"))}return t.filter=this.eat(s._if)?this.parseParenExpression():null,t.body=this.parseExpression(),this.expect(e?s.parenR:s.bracketR),t.generator=e,this.finishNode(t,"ComprehensionExpression")}},{"./identifier":7,"./state":13,"./tokentype":17,"./util":18}],7:[function(t,e,i){"use strict";function s(t){function e(t){if(1==t.length)return i+="return str === "+JSON.stringify(t[0])+";";i+="switch(str){";for(var e=0;e3){s.sort(function(t,e){return e.length-t.length}),i+="switch(str.length){";for(var n=0;nt)return!1;if(i+=e[s+1],i>=t)return!0}}function r(t,e){return 65>t?36===t:91>t?!0:97>t?95===t:123>t?!0:65535>=t?t>=170&&l.test(String.fromCharCode(t)):e===!1?!1:n(t,d)}function o(t,e){return 48>t?36===t:58>t?!0:65>t?!1:91>t?!0:97>t?95===t:123>t?!0:65535>=t?t>=170&&f.test(String.fromCharCode(t)):e===!1?!1:n(t,d)||n(t,m)}i.isIdentifierStart=r,i.isIdentifierChar=o,i.__esModule=!0;var a={3:s("abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile"),5:s("class enum extends super const export import"),6:s("enum await"),strict:s("implements interface let package private protected public static yield"),strictBind:s("eval arguments")};i.reservedWords=a;var h="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",c={5:s(h),6:s(h+" let const class extends export import yield super")};i.keywords=c;var p="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢲऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞭꞰꞱꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭟꭤꭥꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣤ-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏ᦰ-ᧀᧈᧉ᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷼-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-꣄꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︭︳︴﹍-﹏0-9_",l=new RegExp("["+p+"]"),f=new RegExp("["+p+u+"]");p=u=null;var d=[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,99,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,98,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,955,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,38,17,2,24,133,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,32,4,287,47,21,1,2,0,185,46,82,47,21,0,60,42,502,63,32,0,449,56,1288,920,104,110,2962,1070,13266,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,16481,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,1340,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,16355,541],m=[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,16,9,83,11,168,11,6,9,8,2,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,316,19,13,9,214,6,3,8,112,16,16,9,82,12,9,9,535,9,20855,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,4305,6,792618,239]},{}],8:[function(t,e,i){"use strict";function s(t,e){for(var i=1,s=0;;){o.lastIndex=s;var n=o.exec(t);if(!(n&&n.index=6&&t)switch(t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":t.type="ObjectPattern";for(var i=0;i=6&&(t.sourceType=this.options.sourceType), this.finishNode(t,"Program")};var a={kind:"loop"},h={kind:"switch"};o.parseStatement=function(t,e){var i=this.type,n=this.startNode();switch(i){case s._break:case s._continue:return this.parseBreakContinueStatement(n,i.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!t&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(n);case s._class:return t||this.unexpected(),this.parseClass(n,!0);case s._if:return this.parseIfStatement(n);case 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:t||this.unexpected();case s._var:return this.parseVarStatement(n,i);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:return this.options.allowImportExportEverywhere||(e||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===s._import?this.parseImport(n):this.parseExport(n);default:var r=this.value,o=this.parseExpression();return i===s.name&&"Identifier"===o.type&&this.eat(s.colon)?this.parseLabeledStatement(n,r,o):this.parseExpressionStatement(n,o)}},o.parseBreakContinueStatement=function(t,e){var i="break"==e;this.next(),this.eat(s.semi)||this.insertSemicolon()?t.label=null:this.type!==s.name?this.unexpected():(t.label=this.parseIdent(),this.semicolon());for(var n=0;n=6?this.eat(s.semi):this.semicolon(),this.finishNode(t,"DoWhileStatement")},o.parseForStatement=function(t){if(this.next(),this.labels.push(a),this.expect(s.parenL),this.type===s.semi)return this.parseFor(t,null);if(this.type===s._var||this.type===s._let||this.type===s._const){var e=this.startNode(),i=this.type;return this.next(),this.parseVar(e,!0,i),this.finishNode(e,"VariableDeclaration"),!(this.type===s._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==e.declarations.length||i!==s._var&&e.declarations[0].init?this.parseFor(t,e):this.parseForIn(t,e)}var n={start:0},r=this.parseExpression(!0,n);return this.type===s._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.toAssignable(r),this.checkLVal(r),this.parseForIn(t,r)):(n.start&&this.unexpected(n.start),this.parseFor(t,r))},o.parseFunctionStatement=function(t){return this.next(),this.parseFunction(t,!0)},o.parseIfStatement=function(t){return this.next(),t.test=this.parseParenExpression(),t.consequent=this.parseStatement(!1),t.alternate=this.eat(s._else)?this.parseStatement(!1):null,this.finishNode(t,"IfStatement")},o.parseReturnStatement=function(t){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(s.semi)||this.insertSemicolon()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")},o.parseSwitchStatement=function(t){this.next(),t.discriminant=this.parseParenExpression(),t.cases=[],this.expect(s.braceL),this.labels.push(h);for(var e,i;this.type!=s.braceR;)if(this.type===s._case||this.type===s._default){var n=this.type===s._case;e&&this.finishNode(e,"SwitchCase"),t.cases.push(e=this.startNode()),e.consequent=[],this.next(),n?e.test=this.parseExpression():(i&&this.raise(this.lastTokStart,"Multiple default clauses"),i=!0,e.test=null),this.expect(s.colon)}else e||this.unexpected(),e.consequent.push(this.parseStatement(!0));return e&&this.finishNode(e,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(t,"SwitchStatement")},o.parseThrowStatement=function(t){return this.next(),r.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")};var c=[];o.parseTryStatement=function(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.type===s._catch){var e=this.startNode();this.next(),this.expect(s.parenL),e.param=this.parseBindingAtom(),this.checkLVal(e.param,!0),this.expect(s.parenR),e.guard=null,e.body=this.parseBlock(),t.handler=this.finishNode(e,"CatchClause")}return t.guardedHandlers=c,t.finalizer=this.eat(s._finally)?this.parseBlock():null,t.handler||t.finalizer||this.raise(t.start,"Missing catch or finally clause"),this.finishNode(t,"TryStatement")},o.parseVarStatement=function(t,e){return this.next(),this.parseVar(t,!1,e),this.semicolon(),this.finishNode(t,"VariableDeclaration")},o.parseWhileStatement=function(t){return this.next(),t.test=this.parseParenExpression(),this.labels.push(a),t.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(t,"WhileStatement")},o.parseWithStatement=function(t){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),t.object=this.parseParenExpression(),t.body=this.parseStatement(!1),this.finishNode(t,"WithStatement")},o.parseEmptyStatement=function(t){return this.next(),this.finishNode(t,"EmptyStatement")},o.parseLabeledStatement=function(t,e,i){for(var n=0;n=6&&this.isContextual("of")?"Identifier"==n.id.type||e&&(this.type===s._in||this.isContextual("of"))?n.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),t.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(s.comma))break}return t},o.parseVarId=function(t){t.id=this.parseBindingAtom(),this.checkLVal(t.id,!0)},o.parseFunction=function(t,e,i){return this.initFunction(t),this.options.ecmaVersion>=6&&(t.generator=this.eat(s.star)),(e||this.type===s.name)&&(t.id=this.parseIdent()),this.parseFunctionParams(t),this.parseFunctionBody(t,i),this.finishNode(t,e?"FunctionDeclaration":"FunctionExpression")},o.parseFunctionParams=function(t){this.expect(s.parenL),t.params=this.parseBindingList(s.parenR,!1,!1)},o.parseClass=function(t,e){this.next(),this.parseClassId(t,e),this.parseClassSuper(t);var i=this.startNode(),n=!1;for(i.body=[],this.expect(s.braceL);!this.eat(s.braceR);)if(!this.eat(s.semi)){var r=this.startNode(),o=this.eat(s.star),a=this.type===s.name&&"static"===this.value;if(this.parsePropertyName(r),r["static"]=a&&this.type!==s.parenL,r["static"]&&(o&&this.unexpected(),o=this.eat(s.star),this.parsePropertyName(r)),r.kind="method",!r.computed){var h=r.key,c=!1;o||"Identifier"!==h.type||this.type===s.parenL||"get"!==h.name&&"set"!==h.name||(c=!0,r.kind=h.name,h=this.parsePropertyName(r)),!r["static"]&&("Identifier"===h.type&&"constructor"===h.name||"Literal"===h.type&&"constructor"===h.value)&&(n&&this.raise(h.start,"Duplicate constructor in the same class"),c&&this.raise(h.start,"Constructor can't have get/set modifier"),o&&this.raise(h.start,"Constructor can't be a generator"),r.kind="constructor",n=!0)}this.parseClassMethod(i,r,o)}return t.body=this.finishNode(i,"ClassBody"),this.finishNode(t,e?"ClassDeclaration":"ClassExpression")},o.parseClassMethod=function(t,e,i){e.value=this.parseMethod(i),t.body.push(this.finishNode(e,"MethodDefinition"))},o.parseClassId=function(t,e){t.id=this.type===s.name?this.parseIdent():e?this.unexpected():null},o.parseClassSuper=function(t){t.superClass=this.eat(s._extends)?this.parseExprSubscripts():null},o.parseExport=function(t){if(this.next(),this.eat(s.star))return this.expectContextual("from"),t.source=this.type===s.string?this.parseExprAtom():this.unexpected(),this.semicolon(),this.finishNode(t,"ExportAllDeclaration");if(this.eat(s._default)){var e=this.parseMaybeAssign(),i=!0;return("FunctionExpression"==e.type||"ClassExpression"==e.type)&&(i=!1,e.id&&(e.type="FunctionExpression"==e.type?"FunctionDeclaration":"ClassDeclaration")),t.declaration=e,i&&this.semicolon(),this.finishNode(t,"ExportDefaultDeclaration")}return this.shouldParseExportStatement()?(t.declaration=this.parseStatement(!0),t.specifiers=[],t.source=null):(t.declaration=null,t.specifiers=this.parseExportSpecifiers(),this.eatContextual("from")?t.source=this.type===s.string?this.parseExprAtom():this.unexpected():t.source=null,this.semicolon()),this.finishNode(t,"ExportNamedDeclaration")},o.shouldParseExportStatement=function(){return this.type.keyword},o.parseExportSpecifiers=function(){var t=[],e=!0;for(this.expect(s.braceL);!this.eat(s.braceR);){if(e)e=!1;else if(this.expect(s.comma),this.afterTrailingComma(s.braceR))break;var i=this.startNode();i.local=this.parseIdent(this.type===s._default),i.exported=this.eatContextual("as")?this.parseIdent(!0):i.local,t.push(this.finishNode(i,"ExportSpecifier"))}return t},o.parseImport=function(t){return this.next(),this.type===s.string?(t.specifiers=c,t.source=this.parseExprAtom(),t.kind=""):(t.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),t.source=this.type===s.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(t,"ImportDeclaration")},o.parseImportSpecifiers=function(){var t=[],e=!0;if(this.type===s.name){var i=this.startNode();if(i.local=this.parseIdent(),this.checkLVal(i.local,!0),t.push(this.finishNode(i,"ImportDefaultSpecifier")),!this.eat(s.comma))return t}if(this.type===s.star){var i=this.startNode();return this.next(),this.expectContextual("as"),i.local=this.parseIdent(),this.checkLVal(i.local,!0),t.push(this.finishNode(i,"ImportNamespaceSpecifier")),t}for(this.expect(s.braceL);!this.eat(s.braceR);){if(e)e=!1;else if(this.expect(s.comma),this.afterTrailingComma(s.braceR))break;var i=this.startNode();i.imported=this.parseIdent(!0),i.local=this.eatContextual("as")?this.parseIdent():i.imported,this.checkLVal(i.local,!0),t.push(this.finishNode(i,"ImportSpecifier"))}return t}},{"./state":13,"./tokentype":17,"./whitespace":19}],15:[function(t,e,i){"use strict";var s=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")};i.__esModule=!0;var n=t("./state").Parser,r=t("./tokentype").types,o=t("./whitespace").lineBreak,a=i.TokContext=function p(t,e,i,n){s(this,p),this.token=t,this.isExpr=e,this.preserveSpace=i,this.override=n},h={b_stat:new a("{",!1),b_expr:new a("{",!0),b_tmpl:new a("${",!0),p_stat:new a("(",!1),p_expr:new a("(",!0),q_tmpl:new a("`",!0,!0,function(t){return t.readTmplToken()}),f_expr:new a("function",!0)};i.types=h;var c=n.prototype;c.initialContext=function(){return[h.b_stat]},c.braceIsBlock=function(t){var e=void 0;return t===r.colon&&"{"==(e=this.curContext()).token?!e.isExpr:t===r._return?o.test(this.input.slice(this.lastTokEnd,this.start)):t===r._else||t===r.semi||t===r.eof?!0:t==r.braceL?this.curContext()===h.b_stat:!this.exprAllowed},c.updateContext=function(t){var e=void 0,i=this.type;i.keyword&&t==r.dot?this.exprAllowed=!1:(e=i.updateContext)?e.call(this,t):this.exprAllowed=i.beforeExpr},r.parenR.updateContext=r.braceR.updateContext=function(){if(1==this.context.length)return void(this.exprAllowed=!0);var t=this.context.pop();t===h.b_stat&&this.curContext()===h.f_expr?(this.context.pop(),this.exprAllowed=!1):t===h.b_tmpl?this.exprAllowed=!0:this.exprAllowed=!t.isExpr},r.braceL.updateContext=function(t){this.context.push(this.braceIsBlock(t)?h.b_stat:h.b_expr),this.exprAllowed=!0},r.dollarBraceL.updateContext=function(){this.context.push(h.b_tmpl),this.exprAllowed=!0},r.parenL.updateContext=function(t){var e=t===r._if||t===r._for||t===r._with||t===r._while;this.context.push(e?h.p_stat:h.p_expr),this.exprAllowed=!0},r.incDec.updateContext=function(){},r._function.updateContext=function(){this.curContext()!==h.b_stat&&this.context.push(h.f_expr),this.exprAllowed=!1},r.backQuote.updateContext=function(){this.curContext()===h.q_tmpl?this.context.pop():this.context.push(h.q_tmpl),this.exprAllowed=!1}},{"./state":13,"./tokentype":17,"./whitespace":19}],16:[function(t,e,i){"use strict";function s(t){return 65535>=t?String.fromCharCode(t):String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}var n=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")};i.__esModule=!0;var r=t("./identifier"),o=r.isIdentifierStart,a=r.isIdentifierChar,h=t("./tokentype"),c=h.types,p=h.keywords,u=t("./state").Parser,l=t("./location").SourceLocation,f=t("./whitespace"),d=f.lineBreak,m=f.lineBreakG,y=f.isNewLine,x=f.nonASCIIwhitespace,v=i.Token=function C(t){n(this,C),this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new l(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},b=u.prototype,g="undefined"!=typeof Packages;b.next=function(){this.options.onToken&&this.options.onToken(new v(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},b.getToken=function(){return this.next(),new v(this)},"undefined"!=typeof Symbol&&(b[Symbol.iterator]=function(){var t=this;return{next:function(){var e=t.getToken();return{done:e.type===c.eof,value:e}}}}),b.setStrict=function(t){if(this.strict=t,this.type===c.num||this.type===c.string){if(this.pos=this.start,this.options.locations)for(;this.pos=this.input.length?this.finishToken(c.eof):t.override?t.override(this):void this.readToken(this.fullCharCodeAtPos())},b.readToken=function(t){return o(t,this.options.ecmaVersion>=6)||92===t?this.readWord():this.getTokenFromCode(t)},b.fullCharCodeAtPos=function(){var t=this.input.charCodeAt(this.pos);if(55295>=t||t>=57344)return t;var e=this.input.charCodeAt(this.pos+1);return(t<<10)+e-56613888},b.skipBlockComment=function(){var t=this.options.onComment&&this.options.locations&&this.curPosition(),e=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(-1===i&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations){m.lastIndex=e;for(var s=void 0;(s=m.exec(this.input))&&s.index8&&14>t)++this.pos;else if(47===t){var e=this.input.charCodeAt(this.pos+1);if(42===e)this.skipBlockComment();else{if(47!==e)break;this.skipLineComment(2)}}else if(160===t)++this.pos;else{if(!(t>=5760&&x.test(String.fromCharCode(t))))break;++this.pos}}},b.finishToken=function(t,e){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=t,this.value=e,this.updateContext(i)},b.readToken_dot=function(){var t=this.input.charCodeAt(this.pos+1);if(t>=48&&57>=t)return this.readNumber(!0);var e=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===t&&46===e?(this.pos+=3,this.finishToken(c.ellipsis)):(++this.pos,this.finishToken(c.dot))},b.readToken_slash=function(){var t=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===t?this.finishOp(c.assign,2):this.finishOp(c.slash,1)},b.readToken_mult_modulo=function(t){var e=this.input.charCodeAt(this.pos+1);return 61===e?this.finishOp(c.assign,2):this.finishOp(42===t?c.star:c.modulo,1)},b.readToken_pipe_amp=function(t){var e=this.input.charCodeAt(this.pos+1);return e===t?this.finishOp(124===t?c.logicalOR:c.logicalAND,2):61===e?this.finishOp(c.assign,2):this.finishOp(124===t?c.bitwiseOR:c.bitwiseAND,1)},b.readToken_caret=function(){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(c.assign,2):this.finishOp(c.bitwiseXOR,1)},b.readToken_plus_min=function(t){var e=this.input.charCodeAt(this.pos+1);return e===t?45==e&&62==this.input.charCodeAt(this.pos+2)&&d.test(this.input.slice(this.lastTokEnd,this.pos))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(c.incDec,2):61===e?this.finishOp(c.assign,2):this.finishOp(c.plusMin,1)},b.readToken_lt_gt=function(t){var e=this.input.charCodeAt(this.pos+1),i=1;return e===t?(i=62===t&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+i)?this.finishOp(c.assign,i+1):this.finishOp(c.bitShift,i)):33==e&&60==t&&45==this.input.charCodeAt(this.pos+2)&&45==this.input.charCodeAt(this.pos+3)?(this.inModule&&this.unexpected(),this.skipLineComment(4),this.skipSpace(),this.nextToken()):(61===e&&(i=61===this.input.charCodeAt(this.pos+2)?3:2),this.finishOp(c.relational,i))},b.readToken_eq_excl=function(t){var e=this.input.charCodeAt(this.pos+1);return 61===e?this.finishOp(c.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===t&&62===e&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(c.arrow)):this.finishOp(61===t?c.eq:c.prefix,1)},b.getTokenFromCode=function(t){switch(t){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(c.parenL);case 41:return++this.pos,this.finishToken(c.parenR);case 59:return++this.pos,this.finishToken(c.semi);case 44:return++this.pos,this.finishToken(c.comma);case 91:return++this.pos,this.finishToken(c.bracketL);case 93:return++this.pos,this.finishToken(c.bracketR);case 123:return++this.pos,this.finishToken(c.braceL);case 125:return++this.pos,this.finishToken(c.braceR);case 58:return++this.pos,this.finishToken(c.colon);case 63:return++this.pos,this.finishToken(c.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(c.backQuote);case 48:var e=this.input.charCodeAt(this.pos+1);if(120===e||88===e)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===e||79===e)return this.readRadixNumber(8);if(98===e||66===e)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);case 60:case 62:return this.readToken_lt_gt(t);case 61:case 33:return this.readToken_eq_excl(t);case 126:return this.finishOp(c.prefix,1)}this.raise(this.pos,"Unexpected character '"+s(t)+"'")},b.finishOp=function(t,e){var i=this.input.slice(this.pos,this.pos+e);return this.pos+=e,this.finishToken(t,i)};var k=!1;try{new RegExp("￿","u"),k=!0}catch(w){}b.readRegexp=function(){for(var t=void 0,e=void 0,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var s=this.input.charAt(this.pos);if(d.test(s)&&this.raise(i,"Unterminated regular expression"),t)t=!1;else{if("["===s)e=!0;else if("]"===s&&e)e=!1;else if("/"===s&&!e)break;t="\\"===s}++this.pos}var n=this.input.slice(i,this.pos);++this.pos;var r=this.readWord1(),o=n;if(r){var a=/^[gmsiy]*$/;this.options.ecmaVersion>=6&&(a=/^[gmsiyu]*$/),a.test(r)||this.raise(i,"Invalid regular expression flag"),r.indexOf("u")>=0&&!k&&(o=o.replace(/\\u([a-fA-F0-9]{4})|\\u\{([0-9a-fA-F]+)\}|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x"))}var h=null;if(!g){try{new RegExp(o)}catch(p){p instanceof SyntaxError&&this.raise(i,"Error parsing regular expression: "+p.message),this.raise(p)}try{h=new RegExp(n,r)}catch(u){}}return this.finishToken(c.regexp,{pattern:n,flags:r,value:h})},b.readInt=function(t,e){for(var i=this.pos,s=0,n=0,r=null==e?1/0:e;r>n;++n){var o=this.input.charCodeAt(this.pos),a=void 0;if(a=o>=97?o-97+10:o>=65?o-65+10:o>=48&&57>=o?o-48:1/0,a>=t)break;++this.pos,s=s*t+a}return this.pos===i||null!=e&&this.pos-i!==e?null:s},b.readRadixNumber=function(t){this.pos+=2;var e=this.readInt(t);return null==e&&this.raise(this.start+2,"Expected number in radix "+t),o(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(c.num,e)},b.readNumber=function(t){var e=this.pos,i=!1,s=48===this.input.charCodeAt(this.pos);t||null!==this.readInt(10)||this.raise(e,"Invalid number"),46===this.input.charCodeAt(this.pos)&&(++this.pos,this.readInt(10),i=!0);var n=this.input.charCodeAt(this.pos);(69===n||101===n)&&(n=this.input.charCodeAt(++this.pos),(43===n||45===n)&&++this.pos,null===this.readInt(10)&&this.raise(e,"Invalid number"),i=!0),o(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var r=this.input.slice(e,this.pos),a=void 0;return i?a=parseFloat(r):s&&1!==r.length?/[89]/.test(r)||this.strict?this.raise(e,"Invalid number"):a=parseInt(r,8):a=parseInt(r,10),this.finishToken(c.num,a)},b.readCodePoint=function(){var t=this.input.charCodeAt(this.pos),e=void 0;return 123===t?(this.options.ecmaVersion<6&&this.unexpected(),++this.pos,e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.unexpected()):e=this.readHexChar(4),e},b.readString=function(t){for(var e="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var s=this.input.charCodeAt(this.pos);if(s===t)break;92===s?(e+=this.input.slice(i,this.pos),e+=this.readEscapedChar(),i=this.pos):(y(s)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return e+=this.input.slice(i,this.pos++),this.finishToken(c.string,e)},b.readTmplToken=function(){for(var t="",e=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var i=this.input.charCodeAt(this.pos);if(96===i||36===i&&123===this.input.charCodeAt(this.pos+1))return this.pos===this.start&&this.type===c.template?36===i?(this.pos+=2,this.finishToken(c.dollarBraceL)):(++this.pos,this.finishToken(c.backQuote)):(t+=this.input.slice(e,this.pos),this.finishToken(c.template,t));92===i?(t+=this.input.slice(e,this.pos),t+=this.readEscapedChar(),e=this.pos):y(i)?(t+=this.input.slice(e,this.pos),++this.pos,13===i&&10===this.input.charCodeAt(this.pos)?(++this.pos,t+="\n"):t+=String.fromCharCode(i),this.options.locations&&(++this.curLine,this.lineStart=this.pos),e=this.pos):++this.pos}},b.readEscapedChar=function(){var t=this.input.charCodeAt(++this.pos),e=/^[0-7]+/.exec(this.input.slice(this.pos,this.pos+3));for(e&&(e=e[0]);e&&parseInt(e,8)>255;)e=e.slice(0,-1);if("0"===e&&(e=null),++this.pos,e)return this.strict&&this.raise(this.pos-2,"Octal literal in strict mode"),this.pos+=e.length-1,String.fromCharCode(parseInt(e,8));switch(t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return s(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\x0B";case 102:return"\f";case 48:return"\x00";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";default:return String.fromCharCode(t)}},b.readHexChar=function(t){var e=this.readInt(16,t);return null===e&&this.raise(this.start,"Bad character escape sequence"),e};var E;b.readWord1=function(){E=!1;for(var t="",e=!0,i=this.pos,n=this.options.ecmaVersion>=6;this.pos=r?1:2;else{if(92!==r)break;E=!0,t+=this.input.slice(i,this.pos);var h=this.pos;117!=this.input.charCodeAt(++this.pos)&&this.raise(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var c=this.readCodePoint();(e?o:a)(c,n)||this.raise(h,"Invalid Unicode escape"),t+=s(c),i=this.pos}e=!1}return t+this.input.slice(i,this.pos)},b.readWord=function(){var t=this.readWord1(),e=c.name;return(this.options.ecmaVersion>=6||!E)&&this.isKeyword(t)&&(e=p[t]),this.finishToken(e,t)}},{"./identifier":7,"./location":8,"./state":13,"./tokentype":17,"./whitespace":19}],17:[function(t,e,i){"use strict";function s(t,e){return new o(t,{beforeExpr:!0,binop:e})}function n(t){var e=void 0===arguments[1]?{}:arguments[1];e.keyword=t,p[t]=c["_"+t]=new o(t,e)}var r=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")};i.__esModule=!0;var o=i.TokenType=function u(t){var e=void 0===arguments[1]?{}:arguments[1];r(this,u),this.label=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop||null,this.updateContext=null},a={beforeExpr:!0},h={startsExpr:!0},c={num:new o("num",h),regexp:new o("regexp",h),string:new o("string",h),name:new o("name",h),eof:new o("eof"),bracketL:new o("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new o("]"),braceL:new o("{",{beforeExpr:!0,startsExpr:!0}),braceR:new o("}"),parenL:new o("(",{beforeExpr:!0,startsExpr:!0}),parenR:new o(")"),comma:new o(",",a),semi:new o(";",a),colon:new o(":",a),dot:new o("."),question:new o("?",a),arrow:new o("=>",a),template:new o("template"),ellipsis:new o("...",a),backQuote:new o("`",h),dollarBraceL:new o("${",{beforeExpr:!0,startsExpr:!0}),eq:new o("=",{beforeExpr:!0,isAssign:!0}),assign:new o("_=",{beforeExpr:!0,isAssign:!0}),incDec:new o("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new o("prefix",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:s("||",1),logicalAND:s("&&",2),bitwiseOR:s("|",3),bitwiseXOR:s("^",4),bitwiseAND:s("&",5),equality:s("==/!=",6),relational:s("",7),bitShift:s("<>",8),plusMin:new o("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:s("%",10),star:s("*",10),slash:s("/",10)};i.types=c;var p={};i.keywords=p,n("break"),n("case",a),n("catch"),n("continue"),n("debugger"),n("default"),n("do",{isLoop:!0}),n("else",a),n("finally"),n("for",{isLoop:!0}),n("function",h),n("if"),n("return",a),n("switch"),n("throw",a),n("try"),n("var"),n("let"),n("const"),n("while",{isLoop:!0}),n("with"),n("new",{beforeExpr:!0,startsExpr:!0}),n("this",h),n("super",h),n("class"),n("extends",a),n("export"),n("import"),n("yield",{beforeExpr:!0,startsExpr:!0}),n("null",h),n("true",h),n("false",h),n("in",{beforeExpr:!0,binop:7}),n("instanceof",{beforeExpr:!0,binop:7}),n("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),n("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),n("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},{}],18:[function(t,e,i){"use strict";function s(t){return"[object Array]"===Object.prototype.toString.call(t)}function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}i.isArray=s,i.has=n,i.__esModule=!0},{}],19:[function(t,e,i){"use strict";function s(t){return 10===t||13===t||8232===t||8233==t}i.isNewLine=s,i.__esModule=!0;var n=/\r\n?|\n|\u2028|\u2029/;i.lineBreak=n;var r=new RegExp(n.source,"g");i.lineBreakG=r;var o=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;i.nonASCIIwhitespace=o},{}]},{},[1])(1)})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],33:[function(t,e,i){(function(s){!function(t){if("object"==typeof i&&"undefined"!=typeof e)e.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n;n="undefined"!=typeof window?window:"undefined"!=typeof s?s:"undefined"!=typeof self?self:this,(n.acorn||(n.acorn={})).walk=t()}}(function(){return function e(i,s,n){function r(a,h){if(!s[a]){if(!i[a]){var c="function"==typeof t&&t;if(!h&&c)return c(a,!0);if(o)return o(a,!0);var p=new Error("Cannot find module '"+a+"'");throw p.code="MODULE_NOT_FOUND",p}var u=s[a]={exports:{}};i[a][0].call(u.exports,function(t){var e=i[a][1][t];return r(e?e:t)},u,u.exports,e,i,s,n)}return s[a].exports}for(var o="function"==typeof t&&t,a=0;a=s)&&r[a](t,i,c),n(a,t)&&(null==e||t.start==e)&&(null==s||t.end==s))throw new m(t,i)}(t,a)}catch(h){if(h instanceof m)return h;throw h}}function h(t,e,s,n,r){s=o(s),n||(n=i.base);try{!function h(t,i,r){var o=r||t.type;if(!(t.start>e||t.end=e&&s(o,t))throw new m(t,i);n[o](t,i,h)}}(t,r)}catch(a){if(a instanceof m)return a;throw a}}function p(t,e,s,n,r){s=o(s),n||(n=i.base);var a=void 0;return function h(t,i,r){if(!(t.start>e)){var o=r||t.type;t.end<=e&&(!a||a.node.end