text: !function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).jade=e()}(function(){return function(){function e(t,n,r){function i(s,a){if(!n[s]){if(!t[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[s]={exports:{}};t[s][0].call(l.exports,function(e){return i(t[s][1][e]||e)},l,l.exports,e,t,n,r)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;s<r.length;s++)i(r[s]);return i}return e}()({1:[function(e,t,n){},{}],2:[function(e,t,n){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],3:[function(e,t,n){(function(e){function t(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}n.resolve=function(){for(var n="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var s=o>=0?arguments[o]:e.cwd();if("string"!=typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(n=s+"/"+n,i="/"===s.charAt(0))}return n=t(r(n.split("/"),function(e){return!!e}),!i).join("/"),(i?"/":"")+n||"."},n.normalize=function(e){var o=n.isAbsolute(e),s="/"===i(e,-1);return(e=t(r(e.split("/"),function(e){return!!e}),!o).join("/"))||o||(e="."),e&&s&&(e+="/"),(o?"/":"")+e},n.isAbsolute=function(e){return"/"===e.charAt(0)},n.join=function(){var e=Array.prototype.slice.call(arguments,0);return n.normalize(r(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},n.relative=function(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=n.resolve(e).substr(1),t=n.resolve(t).substr(1);for(var i=r(e.split("/")),o=r(t.split("/")),s=Math.min(i.length,o.length),a=s,u=0;u<s;u++)if(i[u]!==o[u]){a=u;break}for(var c=[],u=a;u<i.length;u++)c.push("..");return(c=c.concat(o.slice(a))).join("/")},n.sep="/",n.delimiter=":",n.dirname=function(e){if("string"!=typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,o=e.length-1;o>=1;--o)if(47===(t=e.charCodeAt(o))){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},n.basename=function(e,t){var n=function(e){"string"!=typeof e&&(e+="");var t,n=0,r=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){n=t+1;break}}else-1===r&&(i=!1,r=t+1);return-1===r?"":e.slice(n,r)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},n.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,n=0,r=-1,i=!0,o=0,s=e.length-1;s>=0;--s){var a=e.charCodeAt(s);if(47!==a)-1===r&&(i=!1,r=s+1),46===a?-1===t?t=s:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=s+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};var i="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,e("_process"))},{_process:4}],4:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(l===setTimeout)return setTimeout(e,0);if((l===r||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function s(){m&&h&&(m=!1,h.length?d=h.concat(d):g=-1,d.length&&a())}function a(){if(!m){var e=o(s);m=!0;for(var t=d.length;t;){for(h=d,d=[];++g<t;)h&&h[g].run();g=-1,t=d.length}h=null,m=!1,function(e){if(f===clearTimeout)return clearTimeout(e);if((f===i||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}(e)}}function u(e,t){this.fun=e,this.array=t}function c(){}var l,f,p=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:r}catch(e){l=r}try{f="function"==typeof clearTimeout?clearTimeout:i}catch(e){f=i}}();var h,d=[],m=!1,g=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];d.push(new u(e,t)),1!==d.length||m||o(a)},u.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=c,p.addListener=c,p.once=c,p.off=c,p.removeListener=c,p.removeAllListeners=c,p.emit=c,p.prependListener=c,p.prependOnceListener=c,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},{}],5:[function(e,t,n){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],6:[function(e,t,n){(function(t,r){function i(e,t){var r={seen:[],stylize:s};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),f(t)?r.showHidden=t:t&&n._extend(r,t),m(r.showHidden)&&(r.showHidden=!1),m(r.depth)&&(r.depth=2),m(r.colors)&&(r.colors=!1),m(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=o),a(r,e,r.depth)}function o(e,t){var n=i.styles[t];return n?"["+i.colors[n][0]+"m"+e+"["+i.colors[n][1]+"m":e}function s(e,t){return e}function a(e,t,r){if(e.customInspect&&t&&_(t.inspect)&&t.inspect!==n.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(r,e);return d(i)||(i=a(e,i,r)),i}var o=function(e,t){if(m(t))return e.stylize("undefined","undefined");if(d(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return h(t)?e.stylize(""+t,"number"):f(t)?e.stylize(""+t,"boolean"):p(t)?e.stylize("null","null"):void 0}(e,t);if(o)return o;var s=Object.keys(t),v=function(e){var t={};return s.forEach(function(e,n){t[e]=!0}),t}();if(e.showHidden&&(s=Object.getOwnPropertyNames(t)),b(t)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return u(t);if(0===s.length){if(_(t)){var w=t.name?": "+t.name:"";return e.stylize("[Function"+w+"]","special")}if(g(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(y(t))return e.stylize(Date.prototype.toString.call(t),"date");if(b(t))return u(t)}var x="",k=!1,E=["{","}"];if(l(t)&&(k=!0,E=["[","]"]),_(t)&&(x=" [Function"+(t.name?": "+t.name:"")+"]"),g(t)&&(x=" "+RegExp.prototype.toString.call(t)),y(t)&&(x=" "+Date.prototype.toUTCString.call(t)),b(t)&&(x=" "+u(t)),0===s.length&&(!k||0==t.length))return E[0]+x+E[1];if(r<0)return g(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var C;return C=k?function(e,t,n,r,i){for(var o=[],s=0,a=t.length;s<a;++s)A(t,String(s))?o.push(c(e,t,n,r,String(s),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(c(e,t,n,r,i,!0))}),o}(e,t,r,v,s):s.map(function(n){return c(e,t,r,v,n,k)}),e.seen.pop(),function(e,t,n){var r=0;return e.reduce(function(e,t){return r++,t.indexOf("\n")>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(C,x,E)}function u(e){return"["+Error.prototype.toString.call(e)+"]"}function c(e,t,n,r,i,o){var s,u,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?u=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(u=e.stylize("[Setter]","special")),A(r,i)||(s="["+i+"]"),u||(e.seen.indexOf(c.value)<0?(u=p(n)?a(e,c.value,null):a(e,c.value,n-1)).indexOf("\n")>-1&&(u=o?u.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+u.split("\n").map(function(e){return"   "+e}).join("\n")):u=e.stylize("[Circular]","special")),m(s)){if(o&&i.match(/^\d+$/))return u;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+u}function l(e){return Array.isArray(e)}function f(e){return"boolean"==typeof e}function p(e){return null===e}function h(e){return"number"==typeof e}function d(e){return"string"==typeof e}function m(e){return void 0===e}function g(e){return v(e)&&"[object RegExp]"===w(e)}function v(e){return"object"==typeof e&&null!==e}function y(e){return v(e)&&"[object Date]"===w(e)}function b(e){return v(e)&&("[object Error]"===w(e)||e instanceof Error)}function _(e){return"function"==typeof e}function w(e){return Object.prototype.toString.call(e)}function A(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var x=/%[sdj%]/g;n.format=function(e){if(!d(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(i(arguments[n]));return t.join(" ")}for(var n=1,r=arguments,o=r.length,s=String(e).replace(x,function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),a=r[n];n<o;a=r[++n])p(a)||!v(a)?s+=" "+a:s+=" "+i(a);return s},n.deprecate=function(e,i){if(m(r.process))return function(){return n.deprecate(e,i).apply(this,arguments)};if(!0===t.noDeprecation)return e;var o=!1;return function(){if(!o){if(t.throwDeprecation)throw new Error(i);t.traceDeprecation,o=!0}return e.apply(this,arguments)}};var k,E={};n.debuglog=function(e){return m(k)&&(k=t.env.NODE_DEBUG||""),e=e.toUpperCase(),E[e]||(new RegExp("\\b"+e+"\\b","i").test(k)?(t.pid,E[e]=function(){n.format.apply(n,arguments)}):E[e]=function(){}),E[e]},n.inspect=i,i.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]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},n.isArray=l,n.isBoolean=f,n.isNull=p,n.isNullOrUndefined=function(e){return null==e},n.isNumber=h,n.isString=d,n.isSymbol=function(e){return"symbol"==typeof e},n.isUndefined=m,n.isRegExp=g,n.isObject=v,n.isDate=y,n.isError=b,n.isFunction=_,n.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},n.isBuffer=e("./support/isBuffer"),n.log=function(){},n.inherits=e("inherits"),n._extend=function(e,t){if(!t||!v(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":5,_process:4,inherits:2}],7:[function(e,t,n){"use strict";function r(e){return c(e,{jade:a,jade_interp:void 0})}function i(e){return c.toConstant(e,{jade:a,jade_interp:void 0})}e("./nodes");var o=e("./filters"),s=e("./doctypes"),a=e("./runtime"),u=(e("./utils"),e("character-parser").parseMax),c=e("constantinople");(t.exports=function(e,t){this.options=t=t||{},this.node=e,this.hasCompiledDoctype=!1,this.hasCompiledTag=!1,this.pp=t.pretty||!1,this.debug=!1!==t.compileDebug,this.indents=0,this.parentIndents=0,this.terse=!1,this.mixins={},this.dynamicMixins=!1,t.doctype&&this.setDoctype(t.doctype)}).prototype={compile:function(){if(this.buf=[],this.pp&&this.buf.push("var jade_indent = [];"),this.lastBufferedIdx=-1,this.visit(this.node),!this.dynamicMixins)for(var e=Object.keys(this.mixins),t=0;t<e.length;t++){var n=this.mixins[e[t]];if(!n.used)for(var r=0;r<n.instances.length;r++)for(var i=n.instances[r].start;i<n.instances[r].end;i++)this.buf[i]=""}return this.buf.join("\n")},setDoctype:function(e){this.doctype=s[e.toLowerCase()]||"<!DOCTYPE "+e+">",this.terse="<!doctype html>"==this.doctype.toLowerCase(),this.xml=0==this.doctype.indexOf("<?xml")},buffer:function(e,t){if(t){var n=/(\\)?([#!]){((?:.|\n)*)$/.exec(e);if(n){if(this.buffer(e.substr(0,n.index),!1),n[1])return this.buffer(n[2]+"{",!1),void this.buffer(n[3],!0);var r=n[3],i=u(r),o=("!"==n[2]?"":"jade.escape")+"((jade_interp = "+i.src+") == null ? '' : jade_interp)";return this.bufferExpression(o),void this.buffer(r.substr(i.end+1),!0)}}e=(e=JSON.stringify(e)).substr(1,e.length-2),this.lastBufferedIdx==this.buf.length?("code"===this.lastBufferedType&&(this.lastBuffered+=' + "'),this.lastBufferedType="text",this.lastBuffered+=e,this.buf[this.lastBufferedIdx-1]="buf.push("+this.bufferStartChar+this.lastBuffered+'");'):(this.buf.push('buf.push("'+e+'");'),this.lastBufferedType="text",this.bufferStartChar='"',this.lastBuffered=e,this.lastBufferedIdx=this.buf.length)},bufferExpression:function(e){if(r(e))return this.buffer(i(e)+"",!1);this.lastBufferedIdx==this.buf.length?("text"===this.lastBufferedType&&(this.lastBuffered+='"'),this.lastBufferedType="code",this.lastBuffered+=" + ("+e+")",this.buf[this.lastBufferedIdx-1]="buf.push("+this.bufferStartChar+this.lastBuffered+");"):(this.buf.push("buf.push("+e+");"),this.lastBufferedType="code",this.bufferStartChar="",this.lastBuffered="("+e+")",this.lastBufferedIdx=this.buf.length)},prettyIndent:function(e,t){e=e||0,t=t?"\n":"",this.buffer(t+Array(this.indents+e).join("  ")),this.parentIndents&&this.buf.push("buf.push.apply(buf, jade_indent);")},visit:function(e){var t=this.debug;t&&this.buf.push("jade_debug.unshift({ lineno: "+e.line+", filename: "+(e.filename?JSON.stringify(e.filename):"jade_debug[0].filename")+" });"),!1===e.debug&&this.debug&&(this.buf.pop(),this.buf.pop()),this.visitNode(e),t&&this.buf.push("jade_debug.shift();")},visitNode:function(e){return this["visit"+e.type](e)},visitCase:function(e){var t=this.withinCase;this.withinCase=!0,this.buf.push("switch ("+e.expr+"){"),this.visit(e.block),this.buf.push("}"),this.withinCase=t},visitWhen:function(e){"default"==e.expr?this.buf.push("default:"):this.buf.push("case "+e.expr+":"),e.block&&(this.visit(e.block),this.buf.push("  break;"))},visitLiteral:function(e){this.buffer(e.str)},visitBlock:function(e){var t=e.nodes.length,n=this.escape,r=this.pp;r&&t>1&&!n&&e.nodes[0].isText&&e.nodes[1].isText&&this.prettyIndent(1,!0);for(var i=0;i<t;++i)r&&i>0&&!n&&e.nodes[i].isText&&e.nodes[i-1].isText&&this.prettyIndent(1,!1),this.visit(e.nodes[i]),e.nodes[i+1]&&e.nodes[i].isText&&e.nodes[i+1].isText&&this.buffer("\n")},visitMixinBlock:function(e){this.pp&&this.buf.push("jade_indent.push('"+Array(this.indents+1).join("  ")+"');"),this.buf.push("block && block();"),this.pp&&this.buf.push("jade_indent.pop();")},visitDoctype:function(e){!e||!e.val&&this.doctype||this.setDoctype(e.val||"default"),this.doctype&&this.buffer(this.doctype),this.hasCompiledDoctype=!0},visitMixin:function(e){var t="jade_mixins[",n=e.args||"",r=e.block,i=e.attrs,o=e.attributeBlocks,s=this.pp,a="#"===e.name[0],u=e.name;if(a&&(this.dynamicMixins=!0),t+=(a?e.name.substr(2,e.name.length-3):'"'+e.name+'"')+"]",this.mixins[u]=this.mixins[u]||{used:!1,instances:[]},e.call){if(this.mixins[u].used=!0,s&&this.buf.push("jade_indent.push('"+Array(this.indents+1).join("  ")+"');"),r||i.length||o.length){if(this.buf.push(t+".call({"),r){this.buf.push("block: function(){"),this.parentIndents++;var c=this.indents;this.indents=0,this.visit(e.block),this.indents=c,this.parentIndents--,i.length||o.length?this.buf.push("},"):this.buf.push("}")}if(o.length)i.length&&(l=this.attrs(i),o.unshift(l)),this.buf.push("attributes: jade.merge(["+o.join(",")+"])");else if(i.length){var l=this.attrs(i);this.buf.push("attributes: "+l)}n?this.buf.push("}, "+n+");"):this.buf.push("});")}else this.buf.push(t+"("+n+");");s&&this.buf.push("jade_indent.pop();")}else{var f=this.buf.length;this.buf.push(t+" = function("+n+"){"),this.buf.push("var block = (this && this.block), attributes = (this && this.attributes) || {};"),this.parentIndents++,this.visit(r),this.parentIndents--,this.buf.push("};");var p=this.buf.length;this.mixins[u].instances.push({start:f,end:p})}},visitTag:function(e){function t(){e.buffer?i.bufferExpression(n):i.buffer(n)}this.indents++;var n=e.name,r=this.pp,i=this;"pre"==e.name&&(this.escape=!0),this.hasCompiledTag||(this.hasCompiledDoctype||"html"!=n||this.visitDoctype(),this.hasCompiledTag=!0),r&&!e.isInline()&&this.prettyIndent(0,!0),e.selfClosing&&!this.xml?(this.buffer("<"),t(),this.visitAttributes(e.attrs,e.attributeBlocks),this.terse?this.buffer(">"):this.buffer("/>")):(this.buffer("<"),t(),this.visitAttributes(e.attrs,e.attributeBlocks),this.buffer(">"),e.code&&this.visitCode(e.code),this.visit(e.block),!r||e.isInline()||"pre"==e.name||e.canInline()||this.prettyIndent(0,!0),this.buffer("</"),t(),this.buffer(">")),"pre"==e.name&&(this.escape=!1),this.indents--},visitFilter:function(e){var t=e.block.nodes.map(function(e){return e.val}).join("\n");e.attrs.filename=this.options.filename,this.buffer(o(e.name,t,e.attrs),!0)},visitText:function(e){this.buffer(e.val,!0)},visitComment:function(e){e.buffer&&(this.pp&&this.prettyIndent(1,!0),this.buffer("\x3c!--"+e.val+"--\x3e"))},visitBlockComment:function(e){e.buffer&&(this.pp&&this.prettyIndent(1,!0),this.buffer("\x3c!--"+e.val),this.visit(e.block),this.pp&&this.prettyIndent(1,!0),this.buffer("--\x3e"))},visitCode:function(e){if(e.buffer){var t=e.val.trimLeft();t="null == (jade_interp = "+t+') ? "" : jade_interp',e.escape&&(t="jade.escape("+t+")"),this.bufferExpression(t)}else this.buf.push(e.val);e.block&&(e.buffer||this.buf.push("{"),this.visit(e.block),e.buffer||this.buf.push("}"))},visitEach:function(e){this.buf.push("// iterate "+e.obj+"\n;(function(){\n  var $$obj = "+e.obj+";\n  if ('number' == typeof $$obj.length) {\n"),e.alternative&&this.buf.push("  if ($$obj.length) {"),this.buf.push("    for (var "+e.key+" = 0, $$l = $$obj.length; "+e.key+" < $$l; "+e.key+"++) {\n      var "+e.val+" = $$obj["+e.key+"];\n"),this.visit(e.block),this.buf.push("    }\n"),e.alternative&&(this.buf.push("  } else {"),this.visit(e.alternative),this.buf.push("  }")),this.buf.push("  } else {\n    var $$l = 0;\n    for (var "+e.key+" in $$obj) {\n      $$l++;      var "+e.val+" = $$obj["+e.key+"];\n"),this.visit(e.block),this.buf.push("    }\n"),e.alternative&&(this.buf.push("    if ($$l === 0) {"),this.visit(e.alternative),this.buf.push("    }")),this.buf.push("  }\n}).call(this);\n")},visitAttributes:function(e,t){if(t.length){if(e.length){var n=this.attrs(e);t.unshift(n)}this.bufferExpression("jade.attrs(jade.merge(["+t.join(",")+"]), "+JSON.stringify(this.terse)+")")}else e.length&&this.attrs(e,!0)},attrs:function(e,t){var n=[],o=[],s=[];return e.forEach(function(e){var u=e.name,c=e.escaped;if("class"===u)o.push(e.val),s.push(e.escaped);else if(r(e.val))t?this.buffer(a.attr(u,i(e.val),c,this.terse)):(l=i(e.val),!c||0===u.indexOf("data")&&"string"!=typeof l||(l=a.escape(l)),n.push(JSON.stringify(u)+": "+JSON.stringify(l)));else if(t)this.bufferExpression('jade.attr("'+u+'", '+e.val+", "+JSON.stringify(c)+", "+JSON.stringify(this.terse)+")");else{var l=e.val;c&&0!==u.indexOf("data")?l="jade.escape("+l+")":c&&(l="(typeof (jade_interp = "+l+') == "string" ? jade.escape(jade_interp) : jade_interp)'),n.push(JSON.stringify(u)+": "+l)}}.bind(this)),t?o.every(r)?this.buffer(a.cls(o.map(i),s)):this.bufferExpression("jade.cls(["+o.join(",")+"], "+JSON.stringify(s)+")"):o.length&&(o=o.every(r)?JSON.stringify(a.joinClasses(o.map(i).map(a.joinClasses).map(function(e,t){return s[t]?a.escape(e):e}))):"(jade_interp = "+JSON.stringify(s)+", jade.joinClasses(["+o.join(",")+"].map(jade.joinClasses).map(function (cls, i) {   return jade_interp[i] ? jade.escape(cls) : cls })))").length&&n.push('"class": '+o),"{"+n.join(",")+"}"}}},{"./doctypes":8,"./filters":9,"./nodes":22,"./runtime":30,"./utils":32,"character-parser":34,constantinople:35}],8:[function(e,t,n){"use strict";t.exports={default:"<!DOCTYPE html>",xml:'<?xml version="1.0" encoding="utf-8" ?>',transitional:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',strict:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">',frameset:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">',1.1:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">',basic:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">',mobile:'<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">'}},{}],9:[function(e,t,n){"use strict";function r(e,t,n){if("function"!=typeof r[e])throw new Error('unknown filter ":'+e+'"');return r[e](t,n)}t.exports=r},{}],10:[function(e,t,n){"use strict";function r(e,t){try{var n=new(t.parser||i)(e,t.filename,t),r=new(t.compiler||s)(n.parse(),t).compile();t.debug;var o=[];return o.push("jade"),o.push("jade_mixins"),o.push("jade_interp"),o.push("jade_debug"),o.push("buf"),"var buf = [];\nvar jade_mixins = {};\nvar jade_interp;\n"+(t.self?"var self = locals || {};\n"+r:u("locals || {}","\n"+r,o))+';return buf.join("");'}catch(e){n=n.context(),a.rethrow(e,n.filename,n.lexer.lineno,n.input)}}var i=e("./parser"),o=e("./lexer"),s=e("./compiler"),a=e("./runtime"),u=e("with"),c=e("fs");n.selfClosing=e("./self-closing"),n.doctypes=e("./doctypes"),n.filters=e("./filters"),n.utils=e("./utils"),n.Compiler=s,n.Parser=i,n.Lexer=o,n.nodes=e("./nodes"),n.runtime=a,n.cache={},n.compile=function(e,t){var i,o=(t=t||{}).filename?JSON.stringify(t.filename):"undefined";e=String(e),i=!1!==t.compileDebug?["var jade_debug = [{ lineno: 1, filename: "+o+" }];","try {",r(e,t),"} catch (err) {","  jade.rethrow(err, jade_debug[0].filename, jade_debug[0].lineno"+(!0===t.compileDebug?","+JSON.stringify(e):"")+");","}"].join("\n"):r(e,t),i=new Function("locals, jade",i);var s=function(e){return i(e,Object.create(a))};return t.client&&(s.toString=function(){return new Error("The `client` option is deprecated, use `jade.compileClient`"),n.compileClient(e,t)}),s},n.compileClient=function(e,t){var n,i=(t=t||{}).filename?JSON.stringify(t.filename):"undefined";return e=String(e),t.compileDebug?(t.compileDebug=!0,n=["var jade_debug = [{ lineno: 1, filename: "+i+" }];","try {",r(e,t),"} catch (err) {","  jade.rethrow(err, jade_debug[0].filename, jade_debug[0].lineno, "+JSON.stringify(e)+");","}"].join("\n")):(t.compileDebug=!1,n=r(e,t)),"function template(locals) {\n"+n+"\n}"},n.render=function(e,t,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof r){var i;try{i=n.render(e,t)}catch(e){return r(e)}return r(null,i)}if((t=t||{}).cache&&!t.filename)throw new Error('the "filename" option is required for caching');var o=t.filename;return(t.cache?n.cache[o]||(n.cache[o]=n.compile(e,t)):n.compile(e,t))(t)},n.renderFile=function(e,t,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof r){var i;try{i=n.renderFile(e,t)}catch(e){return r(e)}return r(null,i)}var o=e+":string";(t=t||{}).filename=e;var s=t.cache?n.cache[o]||(n.cache[o]=c.readFileSync(e,"utf8")):c.readFileSync(e,"utf8");return n.render(s,t)},n.compileFileClient=function(e,t){var r=e+":string";(t=t||{}).filename=e;var i=t.cache?n.cache[r]||(n.cache[r]=c.readFileSync(e,"utf8")):c.readFileSync(e,"utf8");return n.compileClient(i,t)},n.__express=n.renderFile},{"./compiler":7,"./doctypes":8,"./filters":9,"./lexer":12,"./nodes":22,"./parser":29,"./runtime":30,"./self-closing":31,"./utils":32,fs:1,with:46}],11:[function(e,t,n){"use strict";t.exports=["a","abbr","acronym","b","br","code","em","font","i","img","ins","kbd","map","samp","small","span","strong","sub","sup"]},{}],12:[function(e,t,n){"use strict";function r(e){Function("","return ("+e+")")}e("./utils");var i=e("character-parser"),o=e("./self-closing");(t.exports=function(e,t){this.input=e.replace(/\r\n|\r/g,"\n"),this.filename=t,this.deferredTokens=[],this.lastIndents=0,this.lineno=1,this.stash=[],this.indentStack=[],this.indentRe=null,this.pipeless=!1}).prototype={tok:function(e,t){return{type:e,line:this.lineno,val:t}},consume:function(e){this.input=this.input.substr(e)},scan:function(e,t){var n;if(n=e.exec(this.input))return this.consume(n[0].length),this.tok(t,n[1])},defer:function(e){this.deferredTokens.push(e)},lookahead:function(e){for(var t=e-this.stash.length;t-- >0;)this.stash.push(this.next());return this.stash[--e]},bracketExpression:function(e){e=e||0;var t=this.input[e];if("("!=t&&"{"!=t&&"["!=t)throw new Error("unrecognized start character");var n={"(":")","{":"}","[":"]"}[t],r=i.parseMax(this.input,{start:e+1});if(this.input[r.end]!==n)throw new Error("start character "+t+" does not match end character "+this.input[r.end]);return r},stashed:function(){return this.stash.length&&this.stash.shift()},deferred:function(){return this.deferredTokens.length&&this.deferredTokens.shift()},eos:function(){if(!this.input.length)return this.indentStack.length?(this.indentStack.shift(),this.tok("outdent")):this.tok("eos")},blank:function(){var e;if(e=/^\n *\n/.exec(this.input))return this.consume(e[0].length-1),++this.lineno,this.pipeless?this.tok("text",""):this.next()},comment:function(){var e;if(e=/^\/\/(-)?([^\n]*)/.exec(this.input)){this.consume(e[0].length);var t=this.tok("comment",e[2]);return t.buffer="-"!=e[1],t}},interpolation:function(){if(/^#\{/.test(this.input)){var e;try{e=this.bracketExpression(1)}catch(e){return}return this.consume(e.end+1),this.tok("interpolation",e.src)}},tag:function(){var e;if(e=/^(\w[-:\w]*)(\/?)/.exec(this.input)){this.consume(e[0].length);var t,n=e[1];if(":"==n[n.length-1])for(n=n.slice(0,-1),t=this.tok("tag",n),this.defer(this.tok(":"));" "==this.input[0];)this.input=this.input.substr(1);else t=this.tok("tag",n);return t.selfClosing=!!e[2]||-1!==o.indexOf(n),t}},filter:function(){return this.scan(/^:([\w\-]+)/,"filter")},doctype:function(){if(this.scan(/^!!! *([^\n]+)?/,"doctype"))throw new Error("`!!!` is deprecated, you must now use `doctype`");var e=this.scan(/^(?:doctype) *([^\n]+)?/,"doctype");if(e&&e.val&&"5"===e.val.trim())throw new Error("`doctype 5` is deprecated, you must now use `doctype html`");return e},id:function(){return this.scan(/^#([\w-]+)/,"id")},className:function(){return this.scan(/^\.([\w-]+)/,"class")},text:function(){return this.scan(/^(?:\| ?| )([^\n]+)/,"text")||this.scan(/^(<[^\n]*)/,"text")},textFail:function(){var e;if(e=this.scan(/^([^\.\n][^\n]+)/,"text"))return e},dot:function(){return this.scan(/^\./,"dot")},extends:function(){return this.scan(/^extends? +([^\n]+)/,"extends")},prepend:function(){var e;if(e=/^prepend +([^\n]+)/.exec(this.input)){this.consume(e[0].length);var t=e[1],n=this.tok("block",t);return n.mode="prepend",n}},append:function(){var e;if(e=/^append +([^\n]+)/.exec(this.input)){this.consume(e[0].length);var t=e[1],n=this.tok("block",t);return n.mode="append",n}},block:function(){var e;if(e=/^block\b *(?:(prepend|append) +)?([^\n]+)/.exec(this.input)){this.consume(e[0].length);var t=e[1]||"replace",n=e[2],r=this.tok("block",n);return r.mode=t,r}},mixinBlock:function(){var e;if(e=/^block\s*(\n|$)/.exec(this.input))return this.consume(e[0].length-1),this.tok("mixin-block")},yield:function(){return this.scan(/^yield */,"yield")},include:function(){return this.scan(/^include +([^\n]+)/,"include")},includeFiltered:function(){var e;if(e=/^include:([\w\-]+) +([^\n]+)/.exec(this.input)){this.consume(e[0].length);var t=e[1],n=e[2],r=this.tok("include",n);return r.filter=t,r}},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 e,t;if(t=/^\+(([-\w]+)|(#\{))/.exec(this.input)){if(t[2])this.consume(t[0].length),e=this.tok("call",t[2]);else{var n;try{n=this.bracketExpression(2)}catch(e){return}this.consume(n.end+1),r(n.src),e=this.tok("call","#{"+n.src+"}")}if(t=/^ *\(/.exec(this.input))try{var i=this.bracketExpression(t[0].length-1);/^ *[-\w]+ *=/.test(i.src)||(this.consume(i.end+1),e.args=i.src)}catch(e){}return e}},mixin:function(){var e;if(e=/^mixin +([-\w]+)(?: *\((.*)\))? */.exec(this.input)){this.consume(e[0].length);var t=this.tok("mixin",e[1]);return t.args=e[2],t}},conditional:function(){var e;if(e=/^(if|unless|else if|else)\b([^\n]*)/.exec(this.input)){this.consume(e[0].length);var t=e[1],n=e[2],i=!1,o=!1;switch(t){case"if":r(n),n="if ("+n+")",i=!0;break;case"unless":r(n),n="if (!("+n+"))",i=!0;break;case"else if":r(n),n="else if ("+n+")",i=!0,o=!0;break;case"else":if(n&&n.trim())throw new Error("`else` cannot have a condition, perhaps you meant `else if`");n="else",o=!0}var s=this.tok("code",n);return s.isElse=o,s.isIf=i,s.requiresBlock=!0,s}},while:function(){var e;if(e=/^while +([^\n]+)/.exec(this.input)){this.consume(e[0].length),r(e[1]);var t=this.tok("code","while ("+e[1]+")");return t.requiresBlock=!0,t}},each:function(){var e;if(e=/^(?:- *)?(?:each|for) +([a-zA-Z_$][\w$]*)(?: *, *([a-zA-Z_$][\w$]*))? * in *([^\n]+)/.exec(this.input)){this.consume(e[0].length);var t=this.tok("each",e[1]);return t.key=e[2]||"$index",r(e[3]),t.code=e[3],t}},code:function(){var e;if(e=/^(!?=|-)[ \t]*([^\n]+)/.exec(this.input)){this.consume(e[0].length);var t=e[1];e[1]=e[2];var n=this.tok("code",e[1]);return n.escape="="===t.charAt(0),n.buffer="="===t.charAt(0)||"="===t.charAt(1),n.buffer&&r(e[1]),n}},attrs:function(){if("("==this.input.charAt(0)){var e=this.bracketExpression().end,t=this.input.substr(1,e-1),n=this.tok("attrs");!function(e){if(i(e).isNesting())throw new Error("Nesting must match on expression `"+e+"`")}(t);var o="",s=function e(t){return t.replace(/(\\)?#\{(.+)/g,function(t,n,s){if(n)return t;try{var a=i.parseMax(s);return"}"!==s[a.end]?t.substr(0,2)+e(t.substr(2)):(r(a.src),o+" + ("+a.src+") + "+o+e(s.substr(a.end+1)))}catch(n){return t.substr(0,2)+e(t.substr(2))}})};this.consume(e+1),n.attrs=[];var a=!0,u="",c="",l="",f=i.defaultState(),p="key",h=function(e){if(""===u.trim())return!1;if(e===t.length)return!0;if("key"===p){if(" "===t[e]||"\n"===t[e])for(n=e;n<t.length;n++)if(" "!=t[n]&&"\n"!=t[n])return"="!==t[n]&&"!"!==t[n]&&","!==t[n];return","===t[e]}if("value"===p&&!f.isNesting())try{if(Function("","return ("+c+");")," "===t[e]||"\n"===t[e])for(var n=e;n<t.length;n++)if(" "!=t[n]&&"\n"!=t[n])return!i.isPunctuator(t[n])||'"'==t[n]||"'"==t[n];return","===t[e]}catch(e){return!1}};this.lineno+=t.split("\n").length-1;for(var d=0;d<=t.length;d++)if(h(d))(c=c.trim())&&r(c),u=u.trim(),u=u.replace(/^['"]|['"]$/g,""),n.attrs.push({name:u,val:""==c||c,escaped:a}),u=c="",p="key",a=!1;else switch(p){case"key-char":if(t[d]===o){if(p="key",d+1<t.length&&-1===[" ",",","!","=","\n"].indexOf(t[d+1]))throw new Error("Unexpected character "+t[d+1]+" expected ` `, `\\n`, `,`, `!` or `=`")}else u+=t[d];break;case"key":if(""!==u||'"'!==t[d]&&"'"!==t[d])if("!"===t[d]||"="===t[d]){if(a="!"!==t[d],"!"===t[d]&&d++,"="!==t[d])throw new Error("Unexpected character "+t[d]+" expected `=`");p="value",f=i.defaultState()}else u+=t[d];else p="key-char",o=t[d];break;case"value":(f=i.parseChar(t[d],f)).isString()?(p="string",o=t[d],l=t[d]):c+=t[d];break;case"string":f=i.parseChar(t[d],f),l+=t[d],f.isString()||(p="value",c+=s(l))}return"/"==this.input.charAt(0)&&(this.consume(1),n.selfClosing=!0),n}},attributesBlock:function(){if(/^&attributes\b/.test(this.input)){this.consume(11);var e=this.bracketExpression();return this.consume(e.end+1),this.tok("&attributes",e.src)}},indent:function(){var e,t;if(this.indentRe?e=this.indentRe.exec(this.input):((e=(t=/^\n(\t*) */).exec(this.input))&&!e[1].length&&(e=(t=/^\n( *)/).exec(this.input)),e&&e[1].length&&(this.indentRe=t)),e){var n,r=e[1].length;if(++this.lineno,this.consume(r+1)," "==this.input[0]||"\t"==this.input[0])throw new Error("Invalid indentation, you can use tabs or spaces but not both");if("\n"==this.input[0])return this.tok("newline");if(this.indentStack.length&&r<this.indentStack[0]){for(;this.indentStack.length&&this.indentStack[0]>r;)this.stash.push(this.tok("outdent")),this.indentStack.shift();n=this.stash.pop()}else r&&r!=this.indentStack[0]?(this.indentStack.unshift(r),n=this.tok("indent",r)):n=this.tok("newline");return n}},pipelessText:function(){if(this.pipeless){if("\n"==this.input[0])return;var e=this.input.indexOf("\n");-1==e&&(e=this.input.length);var t=this.input.substr(0,e);return this.consume(t.length),this.tok("text",t)}},colon:function(){return this.scan(/^: */,":")},fail:function(){if(/^ ($|\n)/.test(this.input))return this.consume(1),this.next();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.code()||this.id()||this.className()||this.attrs()||this.attributesBlock()||this.indent()||this.text()||this.comment()||this.colon()||this.dot()||this.textFail()||this.fail()}}},{"./self-closing":31,"./utils":32,"character-parser":34}],13:[function(e,t,n){"use strict";var r=e("./node"),i=t.exports=function(){this.attributeNames=[],this.attrs=[],this.attributeBlocks=[]};i.prototype=Object.create(r.prototype),i.prototype.constructor=i,i.prototype.type="Attrs",i.prototype.setAttribute=function(e,t,n){if("class"!==e&&-1!==this.attributeNames.indexOf(e))throw new Error('Duplicate attribute "'+e+'" is not allowed.');return this.attributeNames.push(e),this.attrs.push({name:e,val:t,escaped:n}),this},i.prototype.removeAttribute=function(e){new Error("attrs.removeAttribute is deprecated and will be removed in v2.0.0");for(var t=0,n=this.attrs.length;t<n;++t)this.attrs[t]&&this.attrs[t].name==e&&delete this.attrs[t]},i.prototype.getAttribute=function(e){new Error("attrs.getAttribute is deprecated and will be removed in v2.0.0");for(var t=0,n=this.attrs.length;t<n;++t)if(this.attrs[t]&&this.attrs[t].name==e)return this.attrs[t].val},i.prototype.addAttributes=function(e){this.attributeBlocks.push(e)}},{"./node":26}],14:[function(e,t,n){"use strict";var r=e("./node"),i=t.exports=function(e,t,n){this.block=t,this.val=e,this.buffer=n};i.prototype=Object.create(r.prototype),i.prototype.constructor=i,i.prototype.type="BlockComment"},{"./node":26}],15:[function(e,t,n){"use strict";var r=e("./node"),i=t.exports=function(e){this.nodes=[],e&&this.push(e)};i.prototype=Object.create(r.prototype),i.prototype.constructor=i,i.prototype.type="Block",i.prototype.isBlock=!0,i.prototype.replace=function(e){new Error("block.replace is deprecated and will be removed in v2.0.0"),e.nodes=this.nodes},i.prototype.push=function(e){return this.nodes.push(e)},i.prototype.isEmpty=function(){return 0==this.nodes.length},i.prototype.unshift=function(e){return this.nodes.unshift(e)},i.prototype.includeBlock=function(){for(var e,t=this,n=0,r=this.nodes.length;n<r;++n){if((e=this.nodes[n]).yield)return e;if(!e.textOnly&&(e.includeBlock?t=e.includeBlock():e.block&&!e.block.isEmpty()&&(t=e.block.includeBlock()),t.yield))return t}return t},i.prototype.clone=function(){new Error("block.clone is deprecated and will be removed in v2.0.0");for(var e=new i,t=0,n=this.nodes.length;t<n;++t)e.push(this.nodes[t].clone());return e}},{"./node":26}],16:[function(e,t,n){"use strict";var r=e("./node"),i=n=t.exports=function(e,t){this.expr=e,this.block=t};i.prototype=Object.create(r.prototype),i.prototype.constructor=i,i.prototype.type="Case";var o=n.When=function(e,t){this.expr=e,this.block=t,this.debug=!1};o.prototype=Object.create(r.prototype),o.prototype.constructor=o,o.prototype.type="When"},{"./node":26}],17:[function(e,t,n){"use strict";var r=e("./node"),i=t.exports=function(e,t,n){this.val=e,this.buffer=t,this.escape=n,e.match(/^ *else/)&&(this.debug=!1)};i.prototype=Object.create(r.prototype),i.prototype.constructor=i,i.prototype.type="Code"},{"./node":26}],18:[function(e,t,n){"use strict";var r=e("./node"),i=t.exports=function(e,t){this.val=e,this.buffer=t};i.prototype=Object.create(r.prototype),i.prototype.constructor=i,i.prototype.type="Comment"},{"./node":26}],19:[function(e,t,n){"use strict";var r=e("./node"),i=t.exports=function(e){this.val=e};i.prototype=Object.create(r.prototype),i.prototype.constructor=i,i.prototype.type="Doctype"},{"./node":26}],20:[function(e,t,n){"use strict";var r=e("./node"),i=t.exports=function(e,t,n,r){this.obj=e,this.val=t,this.key=n,this.block=r};i.prototype=Object.create(r.prototype),i.prototype.constructor=i,i.prototype.type="Each"},{"./node":26}],21:[function(e,t,n){"use strict";var r=e("./node"),i=t.exports=function(e,t,n){this.name=e,this.block=t,this.attrs=n};i.prototype=Object.create(r.prototype),i.prototype.constructor=i,i.prototype.type="Filter"},{"./node":26}],22:[function(e,t,n){"use strict";n.Node=e("./node"),n.Tag=e("./tag"),n.Code=e("./code"),n.Each=e("./each"),n.Case=e("./case"),n.Text=e("./text"),n.Block=e("./block"),n.MixinBlock=e("./mixin-block"),n.Mixin=e("./mixin"),n.Filter=e("./filter"),n.Comment=e("./comment"),n.Literal=e("./literal"),n.BlockComment=e("./block-comment"),n.Doctype=e("./doctype")},{"./block":15,"./block-comment":14,"./case":16,"./code":17,"./comment":18,"./doctype":19,"./each":20,"./filter":21,"./literal":23,"./mixin":25,"./mixin-block":24,"./node":26,"./tag":27,"./text":28}],23:[function(e,t,n){"use strict";var r=e("./node"),i=t.exports=function(e){this.str=e};i.prototype=Object.create(r.prototype),i.prototype.constructor=i,i.prototype.type="Literal"},{"./node":26}],24:[function(e,t,n){"use strict";var r=e("./node"),i=t.exports=function(){};i.prototype=Object.create(r.prototype),i.prototype.constructor=i,i.prototype.type="MixinBlock"},{"./node":26}],25:[function(e,t,n){"use strict";var r=e("./attrs"),i=t.exports=function(e,t,n,i){r.call(this),this.name=e,this.args=t,this.block=n,this.call=i};i.prototype=Object.create(r.prototype),i.prototype.constructor=i,i.prototype.type="Mixin"},{"./attrs":13}],26:[function(e,t,n){"use strict";var r=t.exports=function(){};r.prototype.clone=function(){return new Error("node.clone is deprecated and will be removed in v2.0.0"),this},r.prototype.type=""},{}],27:[function(e,t,n){"use strict";var r=e("./attrs"),i=e("./block"),o=e("../inline-tags"),s=t.exports=function(e,t){r.call(this),this.name=e,this.block=t||new i};s.prototype=Object.create(r.prototype),s.prototype.constructor=s,s.prototype.type="Tag",s.prototype.clone=function(){new Error("tag.clone is deprecated and will be removed in v2.0.0");var e=new s(this.name,this.block.clone());return e.line=this.line,e.attrs=this.attrs,e.textOnly=this.textOnly,e},s.prototype.isInline=function(){return~o.indexOf(this.name)},s.prototype.canInline=function(){function e(t){return t.isBlock?t.nodes.every(e):t.isText||t.isInline&&t.isInline()}var t=this.block.nodes;if(!t.length)return!0;if(1==t.length)return e(t[0]);if(this.block.nodes.every(e)){for(var n=1,r=t.length;n<r;++n)if(t[n-1].isText&&t[n].isText)return!1;return!0}return!1}},{"../inline-tags":11,"./attrs":13,"./block":15}],28:[function(e,t,n){"use strict";var r=e("./node"),i=t.exports=function(e){this.val=e};i.prototype=Object.create(r.prototype),i.prototype.constructor=i,i.prototype.type="Text",i.prototype.isText=!0},{"./node":26}],29:[function(e,t,n){"use strict";var r=e("./lexer"),i=e("./nodes"),o=e("./utils"),s=e("./filters"),a=e("path"),u=e("constantinople"),c=e("character-parser").parseMax,l=(a.extname,n=t.exports=function(e,t,n){this.input=e.replace(/^\uFEFF/,""),this.lexer=new r(this.input,t),this.filename=t,this.blocks={},this.mixins={},this.options=n,this.contexts=[this],this.inMixin=!1});l.prototype={constructor:l,context:function(e){if(!e)return this.contexts.pop();this.contexts.push(e)},advance:function(){return this.lexer.advance()},peek:function(){return this.lookahead(1)},line:function(){return this.lexer.lineno},lookahead:function(e){return this.lexer.lookahead(e)},parse:function(){var e,t=new i.Block;for(t.line=0,t.filename=this.filename;"eos"!=this.peek().type;)if("newline"==this.peek().type)this.advance();else{var n=this.peek(),r=this.parseExpr();r.filename=r.filename||this.filename,r.line=n.line,t.push(r)}if(e=this.extending){this.context(e);var o=e.parse();this.context();for(var s in this.mixins)o.unshift(this.mixins[s]);return o}return t},expect:function(e){if(this.peek().type===e)return this.advance();throw new Error('expected "'+e+'", but got "'+this.peek().type+'"')},accept:function(e){if(this.peek().type===e)return this.advance()},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"call":return this.parseCall();case"interpolation":return this.parseInterpolation();case"yield":this.advance();var e=new i.Block;return e.yield=!0,e;case"id":case"class":var t=this.advance();return this.lexer.defer(this.lexer.tok("tag","div")),this.lexer.defer(t),this.parseExpr();default:throw new Error('unexpected token "'+this.peek().type+'"')}},parseText:function(){var e=this.expect("text"),t=this.parseTextWithInlineTags(e.val);if(1===t.length)return t[0];for(var n=new i.Block,r=0;r<t.length;r++)n.push(t[r]);return n},parseBlockExpansion:function(){return":"==this.peek().type?(this.advance(),new i.Block(this.parseExpr())):this.block()},parseCase:function(){var e=this.expect("case").val,t=new i.Case(e);t.line=this.line();var n=new i.Block;for(n.line=this.line(),n.filename=this.filename,this.expect("indent");"outdent"!=this.peek().type;)switch(this.peek().type){case"newline":this.advance();break;case"when":n.push(this.parseWhen());break;case"default":n.push(this.parseDefault());break;default:throw new Error('Unexpected token "'+this.peek().type+'", expected "when", "default" or "newline"')}return this.expect("outdent"),t.block=n,t},parseWhen:function(){var e=this.expect("when").val;return"newline"!==this.peek().type?new i.Case.When(e,this.parseBlockExpansion()):new i.Case.When(e)},parseDefault:function(){return this.expect("default"),new i.Case.When("default",this.parseBlockExpansion())},parseCode:function(e){var t,n=this.expect("code"),r=new i.Code(n.val,n.buffer,n.escape);if(r.line=this.line(),n.isElse&&!n.hasIf)throw new Error("Unexpected else without if");return(t="indent"==this.peek().type)&&(r.block=this.block()),n.requiresBlock&&!t&&(r.block=new i.Block),n.isIf&&this.peek().isElse?this.peek().hasIf=!0:n.isIf&&"newline"===this.peek().type&&this.lookahead(2).isElse&&(this.lookahead(2).hasIf=!0),r},parseComment:function(){var e,t=this.expect("comment");return"indent"==this.peek().type?(this.lexer.pipeless=!0,e=new i.BlockComment(t.val,this.parseTextBlock(),t.buffer),this.lexer.pipeless=!1):e=new i.Comment(t.val,t.buffer),e.line=this.line(),e},parseDoctype:function(){var e=this.expect("doctype"),t=new i.Doctype(e.val);return t.line=this.line(),t},parseFilter:function(){var e,t=this.expect("filter"),n=this.accept("attrs");"indent"==this.peek().type?(this.lexer.pipeless=!0,e=this.parseTextBlock(),this.lexer.pipeless=!1):e=new i.Block;var r={};n&&n.attrs.forEach(function(e){r[e.name]=u.toConstant(e.val)});var o=new i.Filter(t.val,e,r);return o.line=this.line(),o},parseEach:function(){var e=this.expect("each"),t=new i.Each(e.code,e.val,e.key);return t.line=this.line(),t.block=this.block(),"code"==this.peek().type&&"else"==this.peek().val&&(this.advance(),t.alternative=this.block()),t},resolvePath:function(t,n){var r=e("path"),i=r.dirname,o=r.basename,s=r.join;if("/"!==t[0]&&!this.filename)throw new Error('the "filename" option is required to use "'+n+'" with "relative" paths');if("/"===t[0]&&!this.options.basedir)throw new Error('the "basedir" option is required to use "'+n+'" with "absolute" paths');return t=s("/"===t[0]?this.options.basedir:i(this.filename),t),-1===o(t).indexOf(".")&&(t+=".jade"),t},parseExtends:function(){var t=e("fs"),n=this.resolvePath(this.expect("extends").val.trim(),"extends");".jade"!=n.substr(-5)&&(n+=".jade");var r=t.readFileSync(n,"utf8"),o=new this.constructor(r,n,this.options);return o.blocks=this.blocks,o.contexts=this.contexts,this.extending=o,new i.Literal("")},parseBlock:function(){var e=this.expect("block"),t=e.mode,n=e.val.trim();e="indent"==this.peek().type?this.block():new i.Block(new i.Literal(""));var r=this.blocks[n]||{prepended:[],appended:[]};if("replace"===r.mode)return this.blocks[n]=r;var o=r.prepended.concat(e.nodes).concat(r.appended);switch(t){case"append":r.appended=r.parser===this?r.appended.concat(e.nodes):e.nodes.concat(r.appended);break;case"prepend":r.prepended=r.parser===this?e.nodes.concat(r.prepended):r.prepended.concat(e.nodes)}return e.nodes=o,e.appended=r.appended,e.prepended=r.prepended,e.mode=t,e.parser=this,this.blocks[n]=e},parseMixinBlock:function(){if(this.expect("mixin-block"),!this.inMixin)throw new Error("Anonymous blocks are not allowed unless they are part of a mixin.");return new i.MixinBlock},parseInclude:function(){var t=e("fs"),n=this.expect("include"),r=this.resolvePath(n.val.trim(),"include");if(n.filter)return a=t.readFileSync(r,"utf8").replace(/\r/g,""),a=s(n.filter,a,{filename:r}),new i.Literal(a);if(".jade"!=r.substr(-5))return a=t.readFileSync(r,"utf8").replace(/\r/g,""),new i.Literal(a);var a=t.readFileSync(r,"utf8"),u=new this.constructor(a,r,this.options);u.blocks=o.merge({},this.blocks),u.mixins=this.mixins,this.context(u);var c=u.parse();return this.context(),c.filename=r,"indent"==this.peek().type&&c.includeBlock().push(this.block()),c},parseCall:function(){var e=this.expect("call"),t=e.val,n=e.args,r=new i.Mixin(t,n,new i.Block,!0);return this.tag(r),r.code&&(r.block.push(r.code),r.code=null),r.block.isEmpty()&&(r.block=null),r},parseMixin:function(){var e,t=this.expect("mixin"),n=t.val,r=t.args;return"indent"==this.peek().type?(this.inMixin=!0,e=new i.Mixin(n,r,this.block(),!1),this.mixins[n]=e,this.inMixin=!1,e):new i.Mixin(n,r,null,!0)},parseTextWithInlineTags:function(e){var t=this.line(),n=/(\\)?#\[((?:.|\n)*)$/.exec(e);if(n){if(n[1])return(u=new i.Text(e.substr(0,n.index)+"#[")).line=t,"Text"===(o=this.parseTextWithInlineTags(n[2]))[0].type&&(u.val+=o[0].val,o.shift()),[u].concat(o);(u=new i.Text(e.substr(0,n.index))).line=t;var r=[u],o=n[2],s=c(o),a=new l(s.src,this.filename,this.options);return r.push(a.parse()),r.concat(this.parseTextWithInlineTags(o.substr(s.end+1)))}var u=new i.Text(e);return u.line=t,[u]},parseTextBlock:function(){var e=new i.Block;e.line=this.line();var t=this.expect("indent").val;null==this._spaces&&(this._spaces=t);for(var n=Array(t-this._spaces+1).join(" ");"outdent"!=this.peek().type;)switch(this.peek().type){case"newline":this.advance();break;case"indent":this.parseTextBlock(!0).nodes.forEach(function(t){e.push(t)});break;default:this.parseTextWithInlineTags(n+this.advance().val).forEach(function(t){e.push(t)})}return t==this._spaces&&(this._spaces=null),this.expect("outdent"),e},block:function(){var e=new i.Block;for(e.line=this.line(),e.filename=this.filename,this.expect("indent");"outdent"!=this.peek().type;)if("newline"==this.peek().type)this.advance();else{var t=this.parseExpr();t.filename=this.filename,e.push(t)}return this.expect("outdent"),e},parseInterpolation:function(){var e=this.advance(),t=new i.Tag(e.val);return t.buffer=!0,this.tag(t)},parseTag:function(){var e=this.advance(),t=new i.Tag(e.val);return t.selfClosing=e.selfClosing,this.tag(t)},tag:function(e){e.line=this.line();e:for(;;)switch(this.peek().type){case"id":case"class":n=this.advance(),e.setAttribute(n.type,"'"+n.val+"'");continue;case"attrs":var t=(n=this.advance()).attrs;for(n.selfClosing&&(e.selfClosing=!0),o=0;o<t.length;o++)e.setAttribute(t[o].name,t[o].val,t[o].escaped);continue;case"&attributes":var n=this.advance();e.addAttributes(n.val);break;default:break e}if("dot"==this.peek().type&&(e.textOnly=!0,this.advance()),e.selfClosing&&-1===["newline","outdent","eos"].indexOf(this.peek().type)&&("text"!==this.peek().type||!/^\s*$/.test(this.peek().val)))throw new Error(name+" is self closing and should not have content.");switch(this.peek().type){case"text":e.block.push(this.parseText());break;case"code":e.code=this.parseCode();break;case":":this.advance(),e.block=new i.Block,e.block.push(this.parseExpr());break;case"newline":case"indent":case"outdent":case"eos":break;default:throw new Error("Unexpected token `"+this.peek().type+"` expected `text`, `code`, `:`, `newline` or `eos`")}for(;"newline"==this.peek().type;)this.advance();if("indent"==this.peek().type)if(e.textOnly)this.lexer.pipeless=!0,e.block=this.parseTextBlock(),this.lexer.pipeless=!1;else for(var r=this.block(),o=0,s=r.nodes.length;o<s;++o)e.block.push(r.nodes[o]);return e}}},{"./filters":9,"./lexer":12,"./nodes":22,"./utils":32,"character-parser":34,constantinople:35,fs:1,path:3}],30:[function(e,t,n){"use strict";function r(e){return null!=e&&""!==e}function i(e){return Array.isArray(e)?e.map(i).filter(r).join(" "):e}n.merge=function e(t,n){if(1===arguments.length){for(var i=t[0],o=1;o<t.length;o++)i=e(i,t[o]);return i}var s=t.class,a=n.class;(s||a)&&(s=s||[],a=a||[],Array.isArray(s)||(s=[s]),Array.isArray(a)||(a=[a]),t.class=s.concat(a).filter(r));for(var u in n)"class"!=u&&(t[u]=n[u]);return t},n.joinClasses=i,n.cls=function(e,t){for(var r=[],o=0;o<e.length;o++)t&&t[o]?r.push(n.escape(i([e[o]]))):r.push(i(e[o]));var s=i(r);return s.length?' class="'+s+'"':""},n.attr=function(e,t,r,i){return"boolean"==typeof t||null==t?t?" "+(i?e:e+'="'+e+'"'):"":0==e.indexOf("data")&&"string"!=typeof t?" "+e+"='"+JSON.stringify(t).replace(/'/g,"&apos;")+"'":r?" "+e+'="'+n.escape(t)+'"':" "+e+'="'+t+'"'},n.attrs=function(e,t){var r=[],o=Object.keys(e);if(o.length)for(var s=0;s<o.length;++s){var a=o[s],u=e[a];"class"==a?(u=i(u))&&r.push(" "+a+'="'+u+'"'):r.push(n.attr(a,u,!1,t))}return r.join("")},n.escape=function(e){var t=String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;");return t===""+e?e:t},n.rethrow=function t(n,r,i,o){if(!(n instanceof Error))throw n;if(!("undefined"==typeof window&&r||o))throw n.message+=" on line "+i,n;try{o=o||e("fs").readFileSync(r,"utf8")}catch(e){t(n,null,i)}var s=3,a=o.split("\n"),u=Math.max(i-s,0),c=Math.min(a.length,i+s),s=a.slice(u,c).map(function(e,t){var n=t+u+1;return(n==i?"  > ":"    ")+n+"| "+e}).join("\n");throw n.path=r,n.message=(r||"Jade")+":"+i+"\n"+s+"\n\n"+n.message,n}},{fs:1}],31:[function(e,t,n){"use strict";t.exports=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]},{}],32:[function(e,t,n){"use strict";n.merge=function(e,t){for(var n in t)e[n]=t[n];return e}},{}],33:[function(e,t,n){(function(n,r){"use strict";t.exports=function(t,i){function o(e,t){var n;return e&&"."===e.charAt(0)&&t&&(function(e){var t,n;for(t=0;e[t];t+=1)if("."===(n=e[t]))e.splice(t,1),t-=1;else if(".."===n){if(1===t&&(".."===e[2]||".."===e[0]))break;t>0&&(e.splice(t-1,2),t-=2)}}(n=(n=(n=t.split("/")).slice(0,n.length-1)).concat(e.split("/"))),e=n.join("/")),e}function s(e,n,o){var s,a,c,l;if(e)a=f[e]={},s=u(i,a,c={id:e,uri:r,exports:a},e);else{if(p)throw new Error("amdefine with no module ID cannot be called more than once per file.");p=!0,a=t.exports,s=u(i,a,c=t,t.id)}n&&(n=n.map(function(e){return s(e)})),void 0!==(l="function"==typeof o?o.apply(c.exports,n):o)&&(c.exports=l,e&&(f[e]=c.exports))}function a(e,t,n){Array.isArray(e)?(n=t,t=e,e=void 0):"string"!=typeof e&&(n=e,e=t=void 0),t&&!Array.isArray(t)&&(n=t,t=void 0),t||(t=["require","exports","module"]),e?l[e]=[e,t,n]:s(e,t,n)}var u,c,l={},f={},p=!1,h=e("path");return u=function(e,t,r,i){function s(o,s){if("string"==typeof o)return c(e,t,r,o,i);o=o.map(function(n){return c(e,t,r,n,i)}),s&&n.nextTick(function(){s.apply(null,o)})}return s.toUrl=function(e){return 0===e.indexOf(".")?o(e,h.dirname(r.filename)):e},s},i=i||function(){return t.require.apply(t,arguments)},c=function(e,t,n,r,i){var a,p,h=r.indexOf("!"),d=r;if(-1===h){if("require"===(r=o(r,i)))return u(e,t,n,i);if("exports"===r)return t;if("module"===r)return n;if(f.hasOwnProperty(r))return f[r];if(l[r])return s.apply(null,l[r]),f[r];if(e)return e(d);throw new Error("No module with ID: "+r)}return a=r.substring(0,h),r=r.substring(h+1,r.length),p=c(e,t,n,a,i),r=p.normalize?p.normalize(r,function(e){return function(t){return o(t,e)}}(i)):o(r,i),f[r]?f[r]:(p.load(r,u(e,t,n,i),function(e){function t(t){f[e]=t}return t.fromText=function(e,t){throw new Error("amdefine does not implement load.fromText")},t}(r),{}),f[r])},a.require=function(e){return f[e]?f[e]:l[e]?(s.apply(null,l[e]),f[e]):void 0},a.amd={},a}}).call(this,e("_process"),"/tmp/jade-1.3.0/node_modules/amdefine/amdefine.js")},{_process:4,path:3}],34:[function(e,t,n){function r(e,t,r){r=r||{},t=t||n.defaultState();for(var i=r.start||0,o=r.end||e.length,s=i;s<o;){if(t.roundDepth<0||t.curlyDepth<0||t.squareDepth<0)throw new SyntaxError("Mismatched Bracket: "+e[s-1]);n.parseChar(e[s++],t)}return t}function i(){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=""}function o(e){switch(e.charCodeAt(0)){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 s(e){return"if"===e||"in"===e||"do"===e||"var"===e||"for"===e||"new"===e||"try"===e||"let"===e||"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e||"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e||"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e||"default"===e||"finally"===e||"extends"===e||"function"===e||"continue"===e||"debugger"===e||"package"===e||"private"===e||"interface"===e||"instanceof"===e||"implements"===e||"protected"===e||"public"===e||"static"===e||"yield"===e||"let"===e}(n=t.exports=r).parse=r,n.parseMax=function(e,t){for(var r=(t=t||{}).start||0,i=r,o=n.defaultState();o.roundDepth>=0&&o.curlyDepth>=0&&o.squareDepth>=0;){if(i>=e.length)throw new Error("The end of the string was reached with no closing bracket found.");n.parseChar(e[i++],o)}var s=i-1;return{start:r,end:s,src:e.substring(r,s)}},n.parseUntil=function(e,t,r){for(var i=(r=r||{}).includeLineComment||!1,o=r.start||0,s=o,a=n.defaultState();a.isString()||a.regexp||a.blockComment||!i&&a.lineComment||!function(t,n,r){return e.substr(r||0,n.length)===n}(0,t,s);)n.parseChar(e[s++],a);var u=s;return{start:o,end:u,src:e.substring(o,u)}},n.parseChar=function(e,t){if(1!==e.length)throw new Error("Character must be a string of length 1");var r=(t=t||n.defaultState()).blockComment||t.lineComment,i=t.history?t.history[0]:"";return t.lineComment?"\n"===e&&(t.lineComment=!1):t.blockComment?"*"===t.lastChar&&"/"===e&&(t.blockComment=!1):t.singleQuote?"'"!==e||t.escaped?"\\"!==e||t.escaped?t.escaped=!1:t.escaped=!0:t.singleQuote=!1:t.doubleQuote?'"'!==e||t.escaped?"\\"!==e||t.escaped?t.escaped=!1:t.escaped=!0:t.doubleQuote=!1:t.regexp?"/"!==e||t.escaped?"\\"!==e||t.escaped?t.escaped=!1:t.escaped=!0:t.regexp=!1:"/"===i&&"/"===e?(t.history=t.history.substr(1),t.lineComment=!0):"/"===i&&"*"===e?(t.history=t.history.substr(1),t.blockComment=!0):"/"===e&&function(e){return!(")"===(e=e.replace(/^\s*/,""))[0]||"}"!==e[0]&&!o(e[0])&&(!/^\w+\b/.test(e)||!s(/^\w+\b/.exec(e)[0].split("").reverse().join(""))))}(t.history)?t.regexp=!0:"'"===e?t.singleQuote=!0:'"'===e?t.doubleQuote=!0:"("===e?t.roundDepth++:")"===e?t.roundDepth--:"{"===e?t.curlyDepth++:"}"===e?t.curlyDepth--:"["===e?t.squareDepth++:"]"===e&&t.squareDepth--,t.blockComment||t.lineComment||r||(t.history=e+t.history),t},n.defaultState=function(){return new i},i.prototype.isString=function(){return this.singleQuote||this.doubleQuote},i.prototype.isComment=function(){return this.lineComment||this.blockComment},i.prototype.isNesting=function(){return this.isString()||this.isComment()||this.regexp||this.roundDepth>0||this.curlyDepth>0||this.squareDepth>0},n.isPunctuator=o,n.isKeyword=s},{}],35:[function(e,t,n){"use strict";function r(e,t){if(e="("+e+")",o===e&&a===t)return s;o=e;try{return s=0===function(e){var t=i.parse(e.toString());t.figure_out_scope();var n=t.globals.map(function(e,t){return t}),r=!1,o=new i.TreeWalker(function(e){e instanceof i.AST_This&&(r=!0)});return t.walk(o),r&&n.push("this"),n}(e).filter(function(e){return!(t&&e in t)}).length}catch(e){return s=!1}}var i=e("uglify-js"),o="(null)",s=!0,a=void 0;t.exports=r,r.isConstant=r,r.toConstant=function(e,t){if(!r(e,t))throw new Error(JSON.stringify(e)+" is not constant.");return Function(Object.keys(t||{}).join(","),"return ("+e+")").apply(null,Object.keys(t||{}).map(function(e){return t[e]}))}},{"uglify-js":45}],36:[function(e,t,n){n.SourceMapGenerator=e("./source-map/source-map-generator").SourceMapGenerator,n.SourceMapConsumer=e("./source-map/source-map-consumer").SourceMapConsumer,n.SourceNode=e("./source-map/source-node").SourceNode},{"./source-map/source-map-consumer":41,"./source-map/source-map-generator":42,"./source-map/source-node":43}],37:[function(e,t,n){if("function"!=typeof r)var r=e("amdefine")(t,e);r(function(e,t,n){function r(){this._array=[],this._set={}}var i=e("./util");r.fromArray=function(e,t){for(var n=new r,i=0,o=e.length;i<o;i++)n.add(e[i],t);return n},r.prototype.add=function(e,t){var n=this.has(e),r=this._array.length;n&&!t||this._array.push(e),n||(this._set[i.toSetString(e)]=r)},r.prototype.has=function(e){return Object.prototype.hasOwnProperty.call(this._set,i.toSetString(e))},r.prototype.indexOf=function(e){if(this.has(e))return this._set[i.toSetString(e)];throw new Error('"'+e+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},r.prototype.toArray=function(){return this._array.slice()},t.ArraySet=r})},{"./util":44,amdefine:33}],38:[function(e,t,n){if("function"!=typeof r)var r=e("amdefine")(t,e);r(function(e,t,n){var r=e("./base64");t.encode=function(e){var t,n="",i=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&i,(i>>>=5)>0&&(t|=32),n+=r.encode(t)}while(i>0);return n},t.decode=function(e){var t,n,i=0,o=e.length,s=0,a=0;do{if(i>=o)throw new Error("Expected more digits in base 64 VLQ value.");t=!!(32&(n=r.decode(e.charAt(i++)))),s+=(n&=31)<<a,a+=5}while(t);return{value:function(e){var t=e>>1;return 1==(1&e)?-t:t}(s),rest:e.slice(i)}}})},{"./base64":39,amdefine:33}],39:[function(e,t,n){if("function"!=typeof r)var r=e("amdefine")(t,e);r(function(e,t,n){var r={},i={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach(function(e,t){r[e]=t,i[t]=e}),t.encode=function(e){if(e in i)return i[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){if(e in r)return r[e];throw new TypeError("Not a valid base 64 digit: "+e)}})},{amdefine:33}],40:[function(e,t,n){if("function"!=typeof r)var r=e("amdefine")(t,e);r(function(e,t,n){function r(e,t,n,i,o){var s=Math.floor((t-e)/2)+e,a=o(n,i[s],!0);return 0===a?i[s]:a>0?t-s>1?r(s,t,n,i,o):i[s]:s-e>1?r(e,s,n,i,o):e<0?null:i[e]}t.search=function(e,t,n){return t.length>0?r(-1,t.length,e,t,n):null}})},{amdefine:33}],41:[function(e,t,n){if("function"!=typeof r)var r=e("amdefine")(t,e);r(function(e,t,n){function r(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=i.getArg(t,"version"),r=i.getArg(t,"sources"),o=i.getArg(t,"names",[]),a=i.getArg(t,"sourceRoot",null),u=i.getArg(t,"sourcesContent",null),c=i.getArg(t,"mappings"),l=i.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);this._names=s.fromArray(o,!0),this._sources=s.fromArray(r,!0),this.sourceRoot=a,this.sourcesContent=u,this._mappings=c,this.file=l}var i=e("./util"),o=e("./binary-search"),s=e("./array-set").ArraySet,a=e("./base64-vlq");r.fromSourceMap=function(e){var t=Object.create(r.prototype);return t._names=s.fromArray(e._names.toArray(),!0),t._sources=s.fromArray(e._sources.toArray(),!0),t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file,t.__generatedMappings=e._mappings.slice().sort(i.compareByGeneratedPositions),t.__originalMappings=e._mappings.slice().sort(i.compareByOriginalPositions),t},r.prototype._version=3,Object.defineProperty(r.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return this.sourceRoot?i.join(this.sourceRoot,e):e},this)}}),r.prototype.__generatedMappings=null,Object.defineProperty(r.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__generatedMappings}}),r.prototype.__originalMappings=null,Object.defineProperty(r.prototype,"_originalMappings",{get:function(){return this.__originalMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__originalMappings}}),r.prototype._parseMappings=function(e,t){for(var n,r,o=1,s=0,u=0,c=0,l=0,f=0,p=/^[,;]/,h=e;h.length>0;)if(";"===h.charAt(0))o++,h=h.slice(1),s=0;else if(","===h.charAt(0))h=h.slice(1);else{if(n={},n.generatedLine=o,r=a.decode(h),n.generatedColumn=s+r.value,s=n.generatedColumn,(h=r.rest).length>0&&!p.test(h.charAt(0))){if(r=a.decode(h),n.source=this._sources.at(l+r.value),l+=r.value,0===(h=r.rest).length||p.test(h.charAt(0)))throw new Error("Found a source, but no line and column");if(r=a.decode(h),n.originalLine=u+r.value,u=n.originalLine,n.originalLine+=1,0===(h=r.rest).length||p.test(h.charAt(0)))throw new Error("Found a source and line, but no column");r=a.decode(h),n.originalColumn=c+r.value,c=n.originalColumn,(h=r.rest).length>0&&!p.test(h.charAt(0))&&(r=a.decode(h),n.name=this._names.at(f+r.value),f+=r.value,h=r.rest)}this.__generatedMappings.push(n),"number"==typeof n.originalLine&&this.__originalMappings.push(n)}this.__generatedMappings.sort(i.compareByGeneratedPositions),this.__originalMappings.sort(i.compareByOriginalPositions)},r.prototype._findMapping=function(e,t,n,r,i){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return o.search(e,t,i)},r.prototype.originalPositionFor=function(e){var t={generatedLine:i.getArg(e,"line"),generatedColumn:i.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",i.compareByGeneratedPositions);if(n&&n.generatedLine===t.generatedLine){var r=i.getArg(n,"source",null);return r&&this.sourceRoot&&(r=i.join(this.sourceRoot,r)),{source:r,line:i.getArg(n,"originalLine",null),column:i.getArg(n,"originalColumn",null),name:i.getArg(n,"name",null)}}return{source:null,line:null,column:null,name:null}},r.prototype.sourceContentFor=function(e){if(!this.sourcesContent)return null;if(this.sourceRoot&&(e=i.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var t;if(this.sourceRoot&&(t=i.urlParse(this.sourceRoot))){var n=e.replace(/^file:\/\//,"");if("file"==t.scheme&&this._sources.has(n))return this.sourcesContent[this._sources.indexOf(n)];if((!t.path||"/"==t.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}throw new Error('"'+e+'" is not in the SourceMap.')},r.prototype.generatedPositionFor=function(e){var t={source:i.getArg(e,"source"),originalLine:i.getArg(e,"line"),originalColumn:i.getArg(e,"column")};this.sourceRoot&&(t.source=i.relative(this.sourceRoot,t.source));var n=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",i.compareByOriginalPositions);return n?{line:i.getArg(n,"generatedLine",null),column:i.getArg(n,"generatedColumn",null)}:{line:null,column:null}},r.GENERATED_ORDER=1,r.ORIGINAL_ORDER=2,r.prototype.eachMapping=function(e,t,n){var o,s=t||null;switch(n||r.GENERATED_ORDER){case r.GENERATED_ORDER:o=this._generatedMappings;break;case r.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;o.map(function(e){var t=e.source;return t&&a&&(t=i.join(a,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name}}).forEach(e,s)},t.SourceMapConsumer=r})},{"./array-set":37,"./base64-vlq":38,"./binary-search":40,"./util":44,amdefine:33}],42:[function(e,t,n){if("function"!=typeof r)var r=e("amdefine")(t,e);r(function(e,t,n){function r(e){e||(e={}),this._file=o.getArg(e,"file",null),this._sourceRoot=o.getArg(e,"sourceRoot",null),this._sources=new s,this._names=new s,this._mappings=[],this._sourcesContents=null}var i=e("./base64-vlq"),o=e("./util"),s=e("./array-set").ArraySet;r.prototype._version=3,r.fromSourceMap=function(e){var t=e.sourceRoot,n=new r({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};e.source&&(r.source=e.source,t&&(r.source=o.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},e.name&&(r.name=e.name)),n.addMapping(r)}),e.sources.forEach(function(t){var r=e.sourceContentFor(t);r&&n.setSourceContent(t,r)}),n},r.prototype.addMapping=function(e){var t=o.getArg(e,"generated"),n=o.getArg(e,"original",null),r=o.getArg(e,"source",null),i=o.getArg(e,"name",null);this._validateMapping(t,n,r,i),r&&!this._sources.has(r)&&this._sources.add(r),i&&!this._names.has(i)&&this._names.add(i),this._mappings.push({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:i})},r.prototype.setSourceContent=function(e,t){var n=e;this._sourceRoot&&(n=o.relative(this._sourceRoot,n)),null!==t?(this._sourcesContents||(this._sourcesContents={}),this._sourcesContents[o.toSetString(n)]=t):(delete this._sourcesContents[o.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},r.prototype.applySourceMap=function(e,t,n){if(!t){if(!e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');t=e.file}var r=this._sourceRoot;r&&(t=o.relative(r,t));var i=new s,a=new s;this._mappings.forEach(function(s){if(s.source===t&&s.originalLine){var u=e.originalPositionFor({line:s.originalLine,column:s.originalColumn});null!==u.source&&(s.source=u.source,n&&(s.source=o.join(n,s.source)),r&&(s.source=o.relative(r,s.source)),s.originalLine=u.line,s.originalColumn=u.column,null!==u.name&&null!==s.name&&(s.name=u.name))}var c=s.source;c&&!i.has(c)&&i.add(c);var l=s.name;l&&!a.has(l)&&a.add(l)},this),this._sources=i,this._names=a,e.sources.forEach(function(t){var i=e.sourceContentFor(t);i&&(n&&(t=o.join(n,t)),r&&(t=o.relative(r,t)),this.setSourceContent(t,i))},this)},r.prototype._validateMapping=function(e,t,n,r){if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},r.prototype._serializeMappings=function(){var e,t=0,n=1,r=0,s=0,a=0,u=0,c="";this._mappings.sort(o.compareByGeneratedPositions);for(var l=0,f=this._mappings.length;l<f;l++){if((e=this._mappings[l]).generatedLine!==n)for(t=0;e.generatedLine!==n;)c+=";",n++;else if(l>0){if(!o.compareByGeneratedPositions(e,this._mappings[l-1]))continue;c+=","}c+=i.encode(e.generatedColumn-t),t=e.generatedColumn,e.source&&(c+=i.encode(this._sources.indexOf(e.source)-u),u=this._sources.indexOf(e.source),c+=i.encode(e.originalLine-1-s),s=e.originalLine-1,c+=i.encode(e.originalColumn-r),r=e.originalColumn,e.name&&(c+=i.encode(this._names.indexOf(e.name)-a),a=this._names.indexOf(e.name)))}return c},r.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;t&&(e=o.relative(t,e));var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},r.prototype.toJSON=function(){var e={version:this._version,file:this._file,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},r.prototype.toString=function(){return JSON.stringify(this)},t.SourceMapGenerator=r})},{"./array-set":37,"./base64-vlq":38,"./util":44,amdefine:33}],43:[function(e,t,n){if("function"!=typeof r)var r=e("amdefine")(t,e);r(function(e,t,n){function r(e,t,n,r,i){this.children=[],this.sourceContents={},this.line=void 0===e?null:e,this.column=void 0===t?null:t,this.source=void 0===n?null:n,this.name=void 0===i?null:i,null!=r&&this.add(r)}var i=e("./source-map-generator").SourceMapGenerator,o=e("./util"),s=/(\r?\n)/g,a=/\r\n|[\s\S]/g;r.fromStringWithSourceMap=function(e,t){function n(e,t){null===e||void 0===e.source?i.add(t):i.add(new r(e.originalLine,e.originalColumn,e.source,t,e.name))}var i=new r,o=e.split(s),a=function(){return o.shift()+(o.shift()||"")},u=1,c=0,l=null;return t.eachMapping(function(e){if(null!==l){if(!(u<e.generatedLine))return t=(r=o[0]).substr(0,e.generatedColumn-c),o[0]=r.substr(e.generatedColumn-c),c=e.generatedColumn,n(l,t),void(l=e);var t="";n(l,a()),u++,c=0}for(;u<e.generatedLine;)i.add(a()),u++;if(c<e.generatedColumn){var r=o[0];i.add(r.substr(0,e.generatedColumn)),o[0]=r.substr(e.generatedColumn),c=e.generatedColumn}l=e},this),o.length>0&&(l&&n(l,a()),i.add(o.join(""))),t.sources.forEach(function(e){var n=t.sourceContentFor(e);n&&i.setSourceContent(e,n)}),i},r.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!(e instanceof r||"string"==typeof e))throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},r.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!(e instanceof r||"string"==typeof e))throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},r.prototype.walk=function(e){for(var t,n=0,i=this.children.length;n<i;n++)(t=this.children[n])instanceof r?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},r.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},r.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n instanceof r?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},r.prototype.setSourceContent=function(e,t){this.sourceContents[o.toSetString(e)]=t},r.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t]instanceof r&&this.children[t].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),t=0,n=i.length;t<n;t++)e(o.fromSetString(i[t]),this.sourceContents[i[t]])},r.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},r.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new i(e),r=!1,o=null,u=null,c=null,l=null;return this.walk(function(e,i){t.code+=e,null!==i.source&&null!==i.line&&null!==i.column?(o===i.source&&u===i.line&&c===i.column&&l===i.name||n.addMapping({source:i.source,original:{line:i.line,column:i.column},generated:{line:t.line,column:t.column},name:i.name}),o=i.source,u=i.line,c=i.column,l=i.name,r=!0):r&&(n.addMapping({generated:{line:t.line,column:t.column}}),o=null,r=!1),e.match(a).forEach(function(e,a,u){s.test(e)?(t.line++,t.column=0,a+1===u.length?(o=null,r=!1):r&&n.addMapping({source:i.source,original:{line:i.line,column:i.column},generated:{line:t.line,column:t.column},name:i.name})):t.column+=e.length})}),this.walkSourceContents(function(e,t){n.setSourceContent(e,t)}),{code:t.code,map:n}},t.SourceNode=r})},{"./source-map-generator":42,"./util":44,amdefine:33}],44:[function(e,t,n){if("function"!=typeof r)var r=e("amdefine")(t,e);r(function(e,t,n){function r(e){var t=e.match(a);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function i(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function o(e){var t=e,n=r(e);if(n){if(!n.path)return e;t=n.path}for(var o,s="/"===t.charAt(0),a=t.split(/\/+/),u=0,c=a.length-1;c>=0;c--)"."===(o=a[c])?a.splice(c,1):".."===o?u++:u>0&&(""===o?(a.splice(c+1,u),u=0):(a.splice(c,2),u--));return""===(t=a.join("/"))&&(t=s?"/":"."),n?(n.path=t,i(n)):t}function s(e,t){var n=e||"",r=t||"";return(n>r)-(n<r)}t.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var a=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,u=/^data:.+\,.+$/;t.urlParse=r,t.urlGenerate=i,t.normalize=o,t.join=function(e,t){var n=r(t),s=r(e);if(s&&(e=s.path||"/"),n&&!n.scheme)return s&&(n.scheme=s.scheme),i(n);if(n||t.match(u))return t;if(s&&!s.host&&!s.path)return s.host=t,i(s);var a="/"===t.charAt(0)?t:o(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=a,i(s)):a},t.toSetString=function(e){return"$"+e},t.fromSetString=function(e){return e.substr(1)},t.relative=function(e,t){var n=r(e=e.replace(/\/$/,""));return"/"==t.charAt(0)&&n&&"/"==n.path?t.slice(1):0===t.indexOf(e+"/")?t.substr(e.length+1):t},t.compareByOriginalPositions=function(e,t,n){var r;return(r=s(e.source,t.source))?r:(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn)||n?r:(r=s(e.name,t.name))?r:(r=e.generatedLine-t.generatedLine)||e.generatedColumn-t.generatedColumn},t.compareByGeneratedPositions=function(e,t,n){var r;return(r=e.generatedLine-t.generatedLine)?r:(r=e.generatedColumn-t.generatedColumn)||n?r:(r=s(e.source,t.source))?r:(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn)||s(e.name,t.name)}})},{amdefine:33}],45:[function(e,t,n){function r(e){for(var t=Object.create(null),n=0;n<e.length;++n)t[e[n]]=!0;return t}function i(e){return e.split("")}function o(e,t){for(var n=t.length;--n>=0;)if(t[n]==e)return!0;return!1}function s(e,t){for(var n=0,r=t.length;n<r;++n)if(e(t[n]))return t[n]}function a(e,t){if(t<=0)return"";if(1==t)return e;var n=a(e,t>>1);return n+=n,1&t&&(n+=e),n}function u(e,t){Error.call(this,e),this.msg=e,this.defs=t}function c(e,t,n){!0===e&&(e={});var r=e||{};if(n)for(var i in r)r.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&u.croak("`"+i+"` is not a supported option",t);for(var i in t)t.hasOwnProperty(i)&&(r[i]=e&&e.hasOwnProperty(i)?e[i]:t[i]);return r}function l(e,t){var n=0;for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r],n++);return n}function f(){}function p(e,t){e.indexOf(t)<0&&e.push(t)}function h(e,t){return e.replace(/\{(.+?)\}/g,function(e,n){return t[n]})}function d(e,t){for(var n=e.length;--n>=0;)e[n]===t&&e.splice(n,1)}function m(e,t){function n(e){if(e.length<=1)return e;var r=Math.floor(e.length/2),i=e.slice(0,r),o=e.slice(r);return i=n(i),o=n(o),function(e,n){for(var r=[],i=0,o=0,s=0;i<e.length&&o<n.length;)t(e[i],n[o])<=0?r[s++]=e[i++]:r[s++]=n[o++];return i<e.length&&r.push.apply(r,e.slice(i)),o<n.length&&r.push.apply(r,n.slice(o)),r}(i,o)}return e.length<2?e.slice():n(e)}function g(e){function t(e){if(1==e.length)return n+="return str === "+JSON.stringify(e[0])+";";n+="switch(str){";for(var t=0;t<e.length;++t)n+="case "+JSON.stringify(e[t])+":";n+="return true}return false;"}e instanceof Array||(e=e.split(" "));var n="",r=[];e:for(o=0;o<e.length;++o){for(var i=0;i<r.length;++i)if(r[i][0].length==e[o].length){r[i].push(e[o]);continue e}r.push([e[o]])}if(r.length>3){r.sort(function(e,t){return t.length-e.length}),n+="switch(str.length){";for(var o=0;o<r.length;++o){var s=r[o];n+="case "+s[0].length+":",t(s)}n+="}"}else t(e);return new Function("str",n)}function v(e,t){for(var n=e.length;--n>=0;)if(!t(e[n]))return!1;return!0}function y(){this._values=Object.create(null),this._size=0}function b(e,t,n,r){arguments.length<4&&(r=Y);var i=t=t?t.split(/\s+/):[];r&&r.PROPS&&(t=t.concat(r.PROPS));for(var o="return function AST_"+e+"(props){ if (props) { ",s=t.length;--s>=0;)o+="this."+t[s]+" = props."+t[s]+";";var a=r&&new r;(a&&a.initialize||n&&n.initialize)&&(o+="this.initialize();"),o+="}}";var u=new Function(o)();if(a&&(u.prototype=a,u.BASE=r),r&&r.SUBCLASSES.push(u),u.prototype.CTOR=u,u.PROPS=t||null,u.SELF_PROPS=i,u.SUBCLASSES=[],e&&(u.prototype.TYPE=u.TYPE=e),n)for(s in n)n.hasOwnProperty(s)&&(/^\$/.test(s)?u[s.substr(1)]=n[s]:u.prototype[s]=n[s]);return u.DEFMETHOD=function(e,t){this.prototype[e]=t},u}function _(e,t){e.body instanceof G?e.body._walk(t):e.body.forEach(function(e){e._walk(t)})}function w(e){this.visit=e,this.stack=[]}function A(e){return e>=97&&e<=122||e>=65&&e<=90||e>=170&&Pt.letter.test(String.fromCharCode(e))}function x(e){return e>=48&&e<=57}function k(e){return x(e)||A(e)}function E(e){return Pt.digit.test(String.fromCharCode(e))}function C(e){return Pt.non_spacing_mark.test(e)||Pt.space_combining_mark.test(e)}function S(e){return Pt.connector_punctuation.test(e)}function D(e){return!Dt(e)&&/^[a-z_$][a-z0-9_$]*$/i.test(e)}function B(e){return 36==e||95==e||A(e)}function F(e){var t=e.charCodeAt(0);return B(t)||x(t)||8204==t||8205==t||C(e)||S(e)||E(t)}function T(e){return/^[a-z_$][a-z0-9_$]*$/i.test(e)}function O(e){return Tt.test(e)?parseInt(e.substr(2),16):Ot.test(e)?parseInt(e.substr(1),8):jt.test(e)?parseFloat(e):void 0}function j(e,t,n,r,i){this.message=e,this.filename=t,this.line=n,this.col=r,this.pos=i,this.stack=(new Error).stack}function M(e,t,n,r,i){throw new j(e,t,n,r,i)}function $(e,t,n){return e.type==t&&(null==n||e.value==n)}function N(e,t,n){function r(){return b.text.charAt(b.pos)}function i(e,t){var n=b.text.charAt(b.pos++);if(e&&!n)throw It;return"\r\n\u2028\u2029".indexOf(n)>=0?(b.newline_before=b.newline_before||!t,++b.line,b.col=0,t||"\r"!=n||"\n"!=r()||(++b.pos,n="\n")):++b.col,n}function o(e){for(;e-- >0;)i()}function s(e){return b.text.substr(b.pos,e.length)==e}function a(e,t){var n=b.text.indexOf(e,b.pos);if(t&&-1==n)throw It;return n}function u(e,n,r){b.regex_allowed="operator"==e&&!zt(n)||"keyword"==e&&Bt(n)||"punc"==e&&Nt(n),_="punc"==e&&"."==n;var i={type:e,value:n,line:b.tokline,col:b.tokcol,pos:b.tokpos,endline:b.line,endcol:b.col,endpos:b.pos,nlb:b.newline_before,file:t};if(!r){i.comments_before=b.comments_before,b.comments_before=[];for(var o=0,s=i.comments_before.length;o<s;o++)i.nlb=i.nlb||i.comments_before[o].nlb}return b.newline_before=!1,new V(i)}function c(e){for(var t,n="",o=0;(t=r())&&e(t,o++);)n+=i();return n}function l(e){M(e,t,b.tokline,b.tokcol,b.tokpos)}function f(e){var t=!1,n=!1,r=!1,i="."==e,o=c(function(o,s){var a=o.charCodeAt(0);switch(a){case 120:case 88:return!r&&(r=!0);case 101:case 69:return!!r||!t&&(t=n=!0);case 45:return n||0==s&&!e;case 43:return n;case n=!1,46:return!(i||r||t)&&(i=!0)}return k(a)});e&&(o=e+o);var s=O(o);if(!isNaN(s))return u("num",s);l("Invalid syntax: "+o)}function p(e){var t=i(!0,e);switch(t.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 48:return"\0";case 120:return String.fromCharCode(h(2));case 117:return String.fromCharCode(h(4));case 10:return"";case 13:if("\n"==r())return i(!0,e),""}return t}function h(e){for(var t=0;e>0;--e){var n=parseInt(i(!0),16);isNaN(n)&&l("Invalid hex-character pattern in string"),t=t<<4|n}return t}function d(e){var t,n=b.regex_allowed,r=a("\n");return-1==r?(t=b.text.substr(b.pos),b.pos=b.text.length):(t=b.text.substring(b.pos,r),b.pos=r),b.col=b.tokcol+(b.pos-b.tokpos),b.comments_before.push(u(e,t,!0)),b.regex_allowed=n,y()}function m(){for(var e,t,n=!1,o="",s=!1;null!=(e=r());)if(n)"u"!=e&&l("Expecting UnicodeEscapeSequence -- uXXXX"),F(e=p())||l("Unicode char: "+e.charCodeAt(0)+" is not valid in identifier"),o+=e,n=!1;else if("\\"==e)s=n=!0,i();else{if(!F(e))break;o+=i()}return Ct(o)&&s&&(t=o.charCodeAt(0).toString(16).toUpperCase(),o="\\u"+"0000".substr(t.length)+t+o.slice(1)),o}function g(e){function t(e){if(!r())return e;var n=e+r();return Mt(n)?(i(),t(n)):e}return u("operator",t(e||i()))}function v(e,t){return function(n){try{return t(n)}catch(t){if(t!==It)throw t;l(e)}}}function y(e){if(null!=e)return E(e);if(function(){for(var e;$t(e=r())||"\u2028"==e||"\u2029"==e;)i()}(),b.tokline=b.line,b.tokcol=b.col,b.tokpos=b.pos,n){if(s("\x3c!--"))return o(4),d("comment3");if(s("--\x3e")&&b.newline_before)return o(3),d("comment4")}var t=r();if(!t)return u("eof");var a=t.charCodeAt(0);switch(a){case 34:case 39:return w(t);case 46:return i(),x(r().charCodeAt(0))?f("."):u("punc",".");case 47:return function(){switch(i(),r()){case"/":return i(),d("comment1");case"*":return i(),A()}return b.regex_allowed?E(""):g("/")}()}return x(a)?f():Rt(t)?u("punc",i()):Ft(t)?g():92==a||B(a)?function(){var e=m();return _?u("name",e):St(e)?u("atom",e):Ct(e)?Mt(e)?u("operator",e):u("keyword",e):u("name",e)}():void l("Unexpected character '"+t+"'")}var b={text:e,filename:t,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:!1,regex_allowed:!1,comments_before:[]},_=!1,w=v("Unterminated string constant",function(e){for(var t=i(),n="";;){var r=i(!0,!0);if("\\"==r){var o=0,s=null;r=c(function(e){if(e>="0"&&e<="7"){if(!s)return s=e,++o;if(s<="3"&&o<=2)return++o;if(s>="4"&&o<=1)return++o}return!1}),r=o>0?String.fromCharCode(parseInt(r,8)):p(!0)}else if(r==t)break;n+=r}var a=u("string",n);return a.quote=e,a}),A=v("Unterminated multiline comment",function(){var e=b.regex_allowed,t=a("*/",!0),n=b.text.substring(b.pos,t),r=n.split("\n"),i=r.length;b.pos=t+2,b.line+=i-1,i>1?b.col=r[i-1].length:b.col+=r[i-1].length,b.col+=2;var o=b.newline_before=b.newline_before||n.indexOf("\n")>=0;return b.comments_before.push(u("comment2",n,!0)),b.regex_allowed=e,b.newline_before=o,y()}),E=v("Unterminated regular expression",function(e){for(var t,n=!1,r=!1;t=i(!0);)if(n)e+="\\"+t,n=!1;else if("["==t)r=!0,e+=t;else if("]"==t&&r)r=!1,e+=t;else{if("/"==t&&!r)break;"\\"==t?n=!0:e+=t}var o=m();return u("regexp",new RegExp(e,o))});return y.context=function(e){return e&&(b=e),b},y}function R(e,t){function n(e,t){return $(F.token,e,t)}function r(){return F.peeked||(F.peeked=F.input())}function i(){return F.prev=F.token,F.peeked?(F.token=F.peeked,F.peeked=null):F.token=F.input(),F.in_directives=F.in_directives&&("string"==F.token.type||n("punc",";")),F.token}function o(){return F.prev}function a(e,t,n,r){var i=F.input.context();M(e,i.filename,null!=t?t:i.tokline,null!=n?n:i.tokcol,null!=r?r:i.tokpos)}function u(e,t){a(t,e.line,e.col)}function l(e){null==e&&(e=F.token),u(e,"Unexpected token: "+e.type+" ("+e.value+")")}function f(e,t){if(n(e,t))return i();u(F.token,"Unexpected token "+F.token.type+" «"+F.token.value+"», expected "+e+" «"+t+"»")}function p(e){return f("punc",e)}function h(){return!t.strict&&(F.token.nlb||n("eof")||n("punc","}"))}function d(){n("punc",";")?i():h()||l()}function m(){p("(");var e=W(!0);return p(")"),e}function g(e){return function(){var t=F.token,n=e(),r=o();return n.start=t,n.end=r,n}}function v(){(n("operator","/")||n("operator","/="))&&(F.peeked=null,F.token=F.input(F.token.value.substr(1)))}function y(e){return new K({body:(e=W(!0),d(),e)})}function b(e){var t,n=null;h()||(n=C(ft,!0)),null!=n?((t=s(function(e){return e.name==n.name},F.labels))||a("Undefined label "+n.name),n.thedef=t):0==F.in_loop&&a(e.TYPE+" not inside a loop or switch"),d();var r=new e({label:n});return t&&t.references.push(r),r}function _(){p("{");for(var e=[];!n("punc","}");)n("eof")&&l(),e.push(T());return i(),e}function w(){p("{");for(var e,t=[],r=null,s=null;!n("punc","}");)n("eof")&&l(),n("keyword","case")?(s&&(s.end=o()),r=[],s=new De({start:(e=F.token,i(),e),expression:W(!0),body:r}),t.push(s),p(":")):n("keyword","default")?(s&&(s.end=o()),r=[],s=new Se({start:(e=F.token,i(),p(":"),e),body:r}),t.push(s)):(r||l(),r.push(T()));return s&&(s.end=o()),i(),t}function A(e,t){for(var r=[];r.push(new $e({start:F.token,name:C(t?it:rt),value:n("operator","=")?(i(),W(!1,e)):null,end:o()})),n("punc",",");)i();return r}function x(){var e,t=F.token;switch(t.type){case"name":case"keyword":e=E(lt);break;case"num":e=new mt({start:t,end:t,value:t.value});break;case"string":e=new dt({start:t,end:t,value:t.value,quote:t.quote});break;case"regexp":e=new gt({start:t,end:t,value:t.value});break;case"atom":switch(t.value){case"false":e=new kt({start:t,end:t});break;case"true":e=new Et({start:t,end:t});break;case"null":e=new yt({start:t,end:t})}}return i(),e}function k(e,t,r){for(var o=!0,s=[];!n("punc",e)&&(o?o=!1:p(","),!t||!n("punc",e));)n("punc",",")&&r?s.push(new wt({start:F.token,end:F.token})):s.push(W(!1));return i(),s}function E(e){var t=F.token.value;return new("this"==t?pt:e)({name:String(t),start:F.token,end:F.token})}function C(e,t){if(!n("name"))return t||a("Name expected"),null;var r=E(e);return i(),r}function S(e,t,n){return"++"!=t&&"--"!=t||D(n)||a("Invalid use of "+t+" operator"),new e({operator:t,expression:n})}function D(e){return!t.strict||!(e instanceof pt)&&(e instanceof Pe||e instanceof et)}function B(e){++F.in_loop;var t=e();return--F.in_loop,t}t=c(t,{strict:!1,filename:null,toplevel:null,expression:!1,html5_comments:!0,bare_returns:!1});var F={input:"string"==typeof e?N(e,t.filename,t.html5_comments):e,token:null,prev:null,peeked:null,in_function:0,in_directives:!0,in_loop:0,labels:[]};F.token=i();var T=g(function(){var e;switch(v(),F.token.type){case"string":var u=F.in_directives,c=y();return u&&c.body instanceof dt&&!n("punc",",")?new Q({start:c.body.start,end:c.body.end,quote:c.body.quote,value:c.body.value}):c;case"num":case"regexp":case"operator":case"atom":return y();case"name":return $(r(),"punc",":")?function(){var e=C(ct);s(function(t){return t.name==e.name},F.labels)&&a("Label "+e.name+" defined twice"),p(":"),F.labels.push(e);var t=T();return F.labels.pop(),t instanceof ie||e.references.forEach(function(t){t instanceof xe&&(t=t.label.start,a("Continue label `"+e.name+"` refers to non-IterationStatement.",t.line,t.col,t.pos))}),new re({body:t,label:e})}():y();case"punc":switch(F.token.value){case"{":return new ee({start:F.token,body:_(),end:o()});case"[":case"(":return y();case";":return i(),new te;default:l()}case"keyword":switch(e=F.token.value,i(),e){case"break":return b(Ae);case"continue":return b(xe);case"debugger":return d(),new X;case"do":return new se({body:B(T),condition:(f("keyword","while"),e=m(),d(),e)});case"while":return new ae({condition:m(),body:B(T)});case"for":return function(){p("(");var e=null;return!n("punc",";")&&(e=n("keyword","var")?(i(),j(!0)):W(!0,!0),n("operator","in"))?(e instanceof je&&e.definitions.length>1&&a("Only one variable declaration allowed in for..in loop"),i(),function(e){var t=e instanceof je?e.definitions[0].name:null,n=W(!0);return p(")"),new ce({init:e,name:t,object:n,body:B(T)})}(e)):function(e){p(";");var t=n("punc",";")?null:W(!0);p(";");var r=n("punc",")")?null:W(!0);return p(")"),new ue({init:e,condition:t,step:r,body:B(T)})}(e)}();case"function":return O(ge);case"if":return function(){var e=m(),t=T(),r=null;return n("keyword","else")&&(i(),r=T()),new ke({condition:e,body:t,alternative:r})}();case"return":return 0!=F.in_function||t.bare_returns||a("'return' outside of function"),new be({value:n("punc",";")?(i(),null):h()?null:(e=W(!0),d(),e)});case"switch":return new Ee({expression:m(),body:B(w)});case"throw":return F.token.nlb&&a("Illegal newline after 'throw'"),new _e({value:(e=W(!0),d(),e)});case"try":return function(){var e=_(),t=null,r=null;if(n("keyword","catch")){u=F.token,i(),p("(");var s=C(ut);p(")"),t=new Fe({start:u,argname:s,body:_(),end:o()})}if(n("keyword","finally")){var u=F.token;i(),r=new Te({start:u,body:_(),end:o()})}return t||r||a("Missing catch/finally blocks"),new Be({body:e,bcatch:t,bfinally:r})}();case"var":return e=j(),d(),e;case"const":return e=R(),d(),e;case"with":return new le({expression:m(),body:T()});default:l()}}}),O=function(e){var t=e===ge,r=n("name")?C(t?st:at):null;return t&&!r&&l(),p("("),new e({name:r,argnames:function(e,t){for(;!n("punc",")");)e?e=!1:p(","),t.push(C(ot));return i(),t}(!0,[]),body:function(e,t){++F.in_function,F.in_directives=!0,F.in_loop=0,F.labels=[];var n=_();return--F.in_function,F.in_loop=e,F.labels=t,n}(F.in_loop,F.labels)})},j=function(e){return new je({start:o(),definitions:A(e,!1),end:o()})},R=function(){return new Me({start:o(),definitions:A(!1,!0),end:o()})},q=function(e){if(n("operator","new"))return function(){var e=F.token;f("operator","new");var t,r=q(!1);return n("punc","(")?(i(),t=k(")")):t=[],L(new Re({start:e,expression:r,args:t,end:o()}),!0)}();var t=F.token;if(n("punc")){switch(t.value){case"(":i();var r=W(!0);return r.start=t,r.end=F.token,p(")"),L(r,e);case"[":return L(P(),e);case"{":return L(I(),e)}l()}if(n("keyword","function")){i();var s=O(me);return s.start=t,s.end=o(),L(s,e)}if(Jt[F.token.type])return L(x(),e);l()},P=g(function(){return p("["),new Ye({elements:k("]",!t.strict,!0)})}),I=g(function(){p("{");for(var e=!0,r=[];!n("punc","}")&&(e?e=!1:p(","),t.strict||!n("punc","}"));){var s=F.token,a=s.type,u=function(){var e=F.token;switch(i(),e.type){case"num":case"string":case"name":case"operator":case"keyword":case"atom":return e.value;default:l()}}();if("name"==a&&!n("punc",":")){if("get"==u){r.push(new Ze({start:s,key:x(),value:O(de),end:o()}));continue}if("set"==u){r.push(new Ke({start:s,key:x(),value:O(de),end:o()}));continue}}p(":"),r.push(new Qe({start:s,quote:s.quote,key:u,value:W(!1),end:o()}))}return i(),new Ge({properties:r})}),L=function(e,t){var r=e.start;if(n("punc","."))return i(),L(new Ie({start:r,expression:e,property:function(){var e=F.token;switch(i(),e.type){case"name":case"operator":case"keyword":case"atom":return e.value;default:l()}}(),end:o()}),t);if(n("punc","[")){i();var s=W(!0);return p("]"),L(new Le({start:r,expression:e,property:s,end:o()}),t)}return t&&n("punc","(")?(i(),L(new Ne({start:r,expression:e,args:k(")"),end:o()}),!0)):e},z=function(e){var t=F.token;if(n("operator")&&Lt(t.value)){i(),v();var r=S(He,t.value,z(e));return r.start=t,r.end=o(),r}for(var s=q(e);n("operator")&&zt(F.token.value)&&!F.token.nlb;)(s=S(Ue,F.token.value,s)).start=t,s.end=F.token,i();return s},H=function(e,t,r){var o=n("operator")?F.token.value:null;"in"==o&&r&&(o=null);var s=null!=o?Ut[o]:null;if(null!=s&&s>t){i();var a=H(z(!0),s,r);return H(new We({start:e.start,left:e,operator:o,right:a,end:a.end}),t,r)}return e},U=function(e){var t=F.token,r=function(e){var t=F.token,r=function(e){return H(z(!0),0,e)}(e);if(n("operator","?")){i();var s=W(!1);return p(":"),new Je({start:t,condition:r,consequent:s,alternative:W(!1,e),end:o()})}return r}(e),s=F.token.value;if(n("operator")&&Ht(s)){if(D(r))return i(),new Ve({start:t,left:r,operator:s,right:U(e),end:o()});a("Invalid assignment")}return r},W=function(e,t){var o=F.token,s=U(t);return e&&n("punc",",")?(i(),new qe({start:o,car:s,cdr:W(!0,t),end:r()})):s};return t.expression?W(!0):function(){for(var e=F.token,r=[];!n("eof");)r.push(T());var i=o(),s=t.toplevel;return s?(s.body=s.body.concat(r),s.end=i):s=new pe({start:e,body:r,end:i}),s}()}function q(e,t){w.call(this),this.before=e,this.after=t}function P(e,t,n){this.name=n.name,this.orig=[n],this.scope=e,this.references=[],this.global=!1,this.mangled_name=null,this.undeclared=!1,this.constant=!1,this.index=t}function I(e){function t(e,t){return e.replace(/[\u0080-\uffff]/g,function(e){var n=e.charCodeAt(0).toString(16);if(n.length<=2&&!t){for(;n.length<2;)n="0"+n;return"\\x"+n}for(;n.length<4;)n="0"+n;return"\\u"+n})}function n(t){var n=(t=String(t)).charAt(0);if(d&&(n&&!(";}".indexOf(n)<0)||/[;]$/.test(m)||(e.semicolons||v(n)?(p+=";",s++,l++):(p+="\n",l++,u++,s=0),e.beautify||(h=!1)),d=!1),!e.beautify&&e.preserve_line&&k[k.length-1])for(var r=k[k.length-1].start.line;u<r;)p+="\n",l++,u++,s=0,h=!1;if(h){var i=m.charAt(m.length-1);(F(i)&&(F(n)||"\\"==n)||/^[\+\-\/]$/.test(n)&&n==i)&&(p+=" ",s++,l++),h=!1}var o=t.split(/\r?\n/),a=o.length-1;u+=a,0==a?s+=o[a].length:s=o[a].length,l+=t.length,m=t,p+=t}function r(){return o+e.indent_level}function i(){return p}e=c(e,{indent_start:0,indent_level:4,quote_keys:!1,space_colon:!0,ascii_only:!1,unescape_regexps:!1,inline_script:!1,width:80,max_line_len:32e3,beautify:!1,source_map:null,bracketize:!1,semicolons:!0,comments:!1,preserve_line:!1,screw_ie8:!1,preamble:null,quote_style:0},!0);var o=0,s=0,u=1,l=0,p="",h=!1,d=!1,m=null,v=g("( [ + * / - , ."),y=e.beautify?function(){n(" ")}:function(){h=!0},b=e.beautify?function(t){e.beautify&&n(function(t){return a(" ",e.indent_start+o-t*e.indent_level)}(t?.5:0))}:f,_=e.beautify?function(e,t){!0===e&&(e=r());var n=o;o=e;var i=t();return o=n,i}:function(e,t){return t()},w=e.beautify?function(){n("\n")}:function(){e.max_line_len&&s>e.max_line_len&&n("\n")},A=e.beautify?function(){n(";")}:function(){d=!0},x=e.source_map?function(t,n){try{t&&e.source_map.add(t.file||"?",u,s,t.line,t.col,n||"name"!=t.type?n:t.value)}catch(e){Y.warn("Couldn't figure out mapping for {file}:{line},{col} → {cline},{ccol} [{name}]",{file:t.file,line:t.line,col:t.col,cline:u,ccol:s,name:n||""})}}:f;e.preamble&&n(e.preamble.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"));var k=[];return{get:i,toString:i,indent:b,indentation:function(){return o},current_width:function(){return s-o},should_break:function(){return e.width&&this.current_width()>=e.width},newline:w,print:n,space:y,comma:function(){n(","),y()},colon:function(){n(":"),e.space_colon&&y()},last:function(){return m},semicolon:A,force_semicolon:function(){d=!1,n(";")},to_ascii:t,print_name:function(r){n(function(n){return n=n.toString(),e.ascii_only&&(n=t(n,!0)),n}(r))},print_string:function(r,i){n(function(n,r){var i=function(n,r){function i(){return"'"+n.replace(/\x27/g,"\\'")+"'"}function o(){return'"'+n.replace(/\x22/g,'\\"')+'"'}var s=0,a=0;switch(n=n.replace(/[\\\b\f\n\r\t\x22\x27\u2028\u2029\0\ufeff]/g,function(e){switch(e){case"\\":return"\\\\";case"\b":return"\\b";case"\f":return"\\f";case"\n":return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case'"':return++s,'"';case"'":return++a,"'";case"\0":return"\\x00";case"\ufeff":return"\\ufeff"}return e}),e.ascii_only&&(n=t(n)),e.quote_style){case 1:return i();case 2:return o();case 3:return"'"==r?i():o();default:return s>a?i():o()}}(n,r);return e.inline_script&&(i=i.replace(/<\x2fscript([>\/\t\n\f\r ])/gi,"<\\/script$1")),i}(r,i))},next_indent:r,with_indent:_,with_block:function(e){var t;return n("{"),w(),_(r(),function(){t=e()}),b(),n("}"),t},with_parens:function(e){n("(");var t=e();return n(")"),t},with_square:function(e){n("[");var t=e();return n("]"),t},add_mapping:x,option:function(t){return e[t]},line:function(){return u},col:function(){return s},pos:function(){return l},push_node:function(e){k.push(e)},pop_node:function(){return k.pop()},stack:function(){return k},parent:function(e){return k[k.length-2-(e||0)]}}}function L(e,t){if(!(this instanceof L))return new L(e,t);q.call(this,this.before,this.after),this.options=c(e,{sequences:!t,properties:!t,dead_code:!t,drop_debugger:!t,unsafe:!1,unsafe_comps:!1,conditionals:!t,comparisons:!t,evaluate:!t,booleans:!t,loops:!t,unused:!t,hoist_funs:!t,keep_fargs:!1,keep_fnames:!1,hoist_vars:!1,if_return:!t,join_vars:!t,cascade:!t,side_effects:!t,pure_getters:!1,pure_funcs:null,negate_iife:!t,screw_ie8:!1,drop_console:!1,angular:!1,warnings:!0,global_defs:{}},!0)}function z(){function e(e){p(t,e)}var t=[];return[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp].forEach(function(t){Object.getOwnPropertyNames(t).map(e),t.prototype&&Object.getOwnPropertyNames(t.prototype).map(e)}),t}var H=e("util"),U=e("source-map"),W=n;(u.prototype=Object.create(Error.prototype)).constructor=u,u.croak=function(e,t){throw new u(e,t)};var J=function(){function e(e,o,s){function a(){var a=o(e[u],u),f=a instanceof r;return f&&(a=a.v),a instanceof t?(a=a.v)instanceof n?l.push.apply(l,s?a.v.slice().reverse():a.v):l.push(a):a!==i&&(a instanceof n?c.push.apply(c,s?a.v.slice().reverse():a.v):c.push(a)),f}var u,c=[],l=[];if(e instanceof Array)if(s){for(u=e.length;--u>=0&&!a(););c.reverse(),l.reverse()}else for(u=0;u<e.length&&!a();++u);else for(u in e)if(e.hasOwnProperty(u)&&a())break;return l.concat(c)}function t(e){this.v=e}function n(e){this.v=e}function r(e){this.v=e}e.at_top=function(e){return new t(e)},e.splice=function(e){return new n(e)},e.last=function(e){return new r(e)};var i=e.skip={};return e}();y.prototype={set:function(e,t){return this.has(e)||++this._size,this._values["$"+e]=t,this},add:function(e,t){return this.has(e)?this.get(e).push(t):this.set(e,[t]),this},get:function(e){return this._values["$"+e]},del:function(e){return this.has(e)&&(--this._size,delete this._values["$"+e]),this},has:function(e){return"$"+e in this._values},each:function(e){for(var t in this._values)e(this._values[t],t.substr(1))},size:function(){return this._size},map:function(e){var t=[];for(var n in this._values)t.push(e(this._values[n],n.substr(1)));return t},toObject:function(){return this._values}},y.fromObject=function(e){var t=new y;return t._size=l(t._values,e),t};var V=b("Token","type value line col pos endline endcol endpos nlb comments_before file",{},null),Y=b("Node","start end",{clone:function(){return new this.CTOR(this)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(e){return e._visit(this)},walk:function(e){return this._walk(e)}},null);Y.warn_function=null,Y.warn=function(e,t){Y.warn_function&&Y.warn_function(h(e,t))};var G=b("Statement",null,{$documentation:"Base class of all statements"}),X=b("Debugger",null,{$documentation:"Represents a debugger statement"},G),Q=b("Directive","value scope quote",{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",scope:"[AST_Scope/S] The scope that this directive affects",quote:"[string] the original quote character"}},G),K=b("SimpleStatement","body",{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(e){return e._visit(this,function(){this.body._walk(e)})}},G),Z=b("Block","body",{$documentation:"A body of statements (usually bracketed)",$propdoc:{body:"[AST_Statement*] an array of statements"},_walk:function(e){return e._visit(this,function(){_(this,e)})}},G),ee=b("BlockStatement",null,{$documentation:"A block statement"},Z),te=b("EmptyStatement",null,{$documentation:"The empty statement (empty block or simply a semicolon)",_walk:function(e){return e._visit(this)}},G),ne=b("StatementWithBody","body",{$documentation:"Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`",$propdoc:{body:"[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement"},_walk:function(e){return e._visit(this,function(){this.body._walk(e)})}},G),re=b("LabeledStatement","label",{$documentation:"Statement with a label",$propdoc:{label:"[AST_Label] a label definition"},_walk:function(e){return e._visit(this,function(){this.label._walk(e),this.body._walk(e)})}},ne),ie=b("IterationStatement",null,{$documentation:"Internal class.  All loops inherit from it."},ne),oe=b("DWLoop","condition",{$documentation:"Base class for do/while statements",$propdoc:{condition:"[AST_Node] the loop condition.  Should not be instanceof AST_Statement"}},ie),se=b("Do",null,{$documentation:"A `do` statement",_walk:function(e){return e._visit(this,function(){this.body._walk(e),this.condition._walk(e)})}},oe),ae=b("While",null,{$documentation:"A `while` statement",_walk:function(e){return e._visit(this,function(){this.condition._walk(e),this.body._walk(e)})}},oe),ue=b("For","init condition step",{$documentation:"A `for` statement",$propdoc:{init:"[AST_Node?] the `for` initialization code, or null if empty",condition:"[AST_Node?] the `for` termination clause, or null if empty",step:"[AST_Node?] the `for` update clause, or null if empty"},_walk:function(e){return e._visit(this,function(){this.init&&this.init._walk(e),this.condition&&this.condition._walk(e),this.step&&this.step._walk(e),this.body._walk(e)})}},ie),ce=b("ForIn","init name object",{$documentation:"A `for ... in` statement",$propdoc:{init:"[AST_Node] the `for/in` initialization code",name:"[AST_SymbolRef?] the loop variable, only if `init` is AST_Var",object:"[AST_Node] the object that we're looping through"},_walk:function(e){return e._visit(this,function(){this.init._walk(e),this.object._walk(e),this.body._walk(e)})}},ie),le=b("With","expression",{$documentation:"A `with` statement",$propdoc:{expression:"[AST_Node] the `with` expression"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),this.body._walk(e)})}},ne),fe=b("Scope","directives variables functions uses_with uses_eval parent_scope enclosed cname",{$documentation:"Base class for all statements introducing a lexical scope",$propdoc:{directives:"[string*/S] an array of directives declared in this scope",variables:"[Object/S] a map of name -> SymbolDef for all variables/functions defined in this scope",functions:"[Object/S] like `variables`, but only lists function declarations",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"}},Z),pe=b("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Object/S] a map of name -> SymbolDef for all undeclared names"},wrap_enclose:function(e){var t=this,n=[],r=[];e.forEach(function(e){var t=e.lastIndexOf(":");n.push(e.substr(0,t)),r.push(e.substr(t+1))});var i="(function("+r.join(",")+"){ '$ORIG'; })("+n.join(",")+")";return i=R(i),i=i.transform(new q(function(e){if(e instanceof Q&&"$ORIG"==e.value)return J.splice(t.body)}))},wrap_commonjs:function(e,t){var n=this,r=[];t&&(n.figure_out_scope(),n.walk(new w(function(e){e instanceof nt&&e.definition().global&&(s(function(t){return t.name==e.name},r)||r.push(e))})));var i="(function(exports, global){ global['"+e+"'] = exports; '$ORIG'; '$EXPORTS'; }({}, (function(){return this}())))";return i=R(i),i=i.transform(new q(function(e){if(e instanceof K&&(e=e.body)instanceof dt)switch(e.getValue()){case"$ORIG":return J.splice(n.body);case"$EXPORTS":var t=[];return r.forEach(function(e){t.push(new K({body:new Ve({left:new Le({expression:new lt({name:"exports"}),property:new dt({value:e.name})}),operator:"=",right:new lt(e)})}))}),J.splice(t)}}))}},fe),he=b("Lambda","name argnames uses_arguments",{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg*] array of function arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array"},_walk:function(e){return e._visit(this,function(){this.name&&this.name._walk(e),this.argnames.forEach(function(t){t._walk(e)}),_(this,e)})}},fe),de=b("Accessor",null,{$documentation:"A setter/getter function.  The `name` property is always null."},he),me=b("Function",null,{$documentation:"A function expression"},he),ge=b("Defun",null,{$documentation:"A function definition"},he),ve=b("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},G),ye=b("Exit","value",{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(e){return e._visit(this,this.value&&function(){this.value._walk(e)})}},ve),be=b("Return",null,{$documentation:"A `return` statement"},ye),_e=b("Throw",null,{$documentation:"A `throw` statement"},ye),we=b("LoopControl","label",{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(e){return e._visit(this,this.label&&function(){this.label._walk(e)})}},ve),Ae=b("Break",null,{$documentation:"A `break` statement"},we),xe=b("Continue",null,{$documentation:"A `continue` statement"},we),ke=b("If","condition alternative",{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(e){return e._visit(this,function(){this.condition._walk(e),this.body._walk(e),this.alternative&&this.alternative._walk(e)})}},ne),Ee=b("Switch","expression",{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),_(this,e)})}},Z),Ce=b("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},Z),Se=b("Default",null,{$documentation:"A `default` switch branch"},Ce),De=b("Case","expression",{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),_(this,e)})}},Ce),Be=b("Try","bcatch bfinally",{$documentation:"A `try` statement",$propdoc:{bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(e){return e._visit(this,function(){_(this,e),this.bcatch&&this.bcatch._walk(e),this.bfinally&&this.bfinally._walk(e)})}},Z),Fe=b("Catch","argname",{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch] symbol for the exception"},_walk:function(e){return e._visit(this,function(){this.argname._walk(e),_(this,e)})}},Z),Te=b("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},Z),Oe=b("Definitions","definitions",{$documentation:"Base class for `var` or `const` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(e){return e._visit(this,function(){this.definitions.forEach(function(t){t._walk(e)})})}},G),je=b("Var",null,{$documentation:"A `var` statement"},Oe),Me=b("Const",null,{$documentation:"A `const` statement"},Oe),$e=b("VarDef","name value",{$documentation:"A variable declaration; only appears in a AST_Definitions node",$propdoc:{name:"[AST_SymbolVar|AST_SymbolConst] name of the variable",value:"[AST_Node?] initializer, or null of there's no initializer"},_walk:function(e){return e._visit(this,function(){this.name._walk(e),this.value&&this.value._walk(e)})}}),Ne=b("Call","expression args",{$documentation:"A function call expression",$propdoc:{expression:"[AST_Node] expression to invoke as function",args:"[AST_Node*] array of arguments"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),this.args.forEach(function(t){t._walk(e)})})}}),Re=b("New",null,{$documentation:"An object instantiation.  Derives from a function call since it has exactly the same properties"},Ne),qe=b("Seq","car cdr",{$documentation:"A sequence expression (two comma-separated expressions)",$propdoc:{car:"[AST_Node] first element in sequence",cdr:"[AST_Node] second element in sequence"},$cons:function(e,t){var n=new qe(e);return n.car=e,n.cdr=t,n},$from_array:function(e){if(0==e.length)return null;if(1==e.length)return e[0].clone();for(var t=null,n=e.length;--n>=0;)t=qe.cons(e[n],t);for(var r=t;r;){if(r.cdr&&!r.cdr.cdr){r.cdr=r.cdr.car;break}r=r.cdr}return t},to_array:function(){for(var e=this,t=[];e;){if(t.push(e.car),e.cdr&&!(e.cdr instanceof qe)){t.push(e.cdr);break}e=e.cdr}return t},add:function(e){for(var t=this;t;){if(!(t.cdr instanceof qe)){var n=qe.cons(t.cdr,e);return t.cdr=n}t=t.cdr}},_walk:function(e){return e._visit(this,function(){this.car._walk(e),this.cdr&&this.cdr._walk(e)})}}),Pe=b("PropAccess","expression property",{$documentation:'Base class for property access expressions, i.e. `a.foo` or `a["foo"]`',$propdoc:{expression:"[AST_Node] the “container” expression",property:"[AST_Node|string] the property to access.  For AST_Dot this is always a plain string, while for AST_Sub it's an arbitrary AST_Node"}}),Ie=b("Dot",null,{$documentation:"A dotted property access expression",_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})}},Pe),Le=b("Sub",null,{$documentation:'Index-style property access, i.e. `a["foo"]`',_walk:function(e){return e._visit(this,function(){this.expression._walk(e),this.property._walk(e)})}},Pe),ze=b("Unary","operator expression",{$documentation:"Base class for unary expressions",$propdoc:{operator:"[string] the operator",expression:"[AST_Node] expression that this unary operator applies to"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})}}),He=b("UnaryPrefix",null,{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},ze),Ue=b("UnaryPostfix",null,{$documentation:"Unary postfix expression, i.e. `i++`"},ze),We=b("Binary","left operator right",{$documentation:"Binary expression, i.e. `a + b`",$propdoc:{left:"[AST_Node] left-hand side expression",operator:"[string] the operator",right:"[AST_Node] right-hand side expression"},_walk:function(e){return e._visit(this,function(){this.left._walk(e),this.right._walk(e)})}}),Je=b("Conditional","condition consequent alternative",{$documentation:"Conditional expression using the ternary operator, i.e. `a ? b : c`",$propdoc:{condition:"[AST_Node]",consequent:"[AST_Node]",alternative:"[AST_Node]"},_walk:function(e){return e._visit(this,function(){this.condition._walk(e),this.consequent._walk(e),this.alternative._walk(e)})}}),Ve=b("Assign",null,{$documentation:"An assignment expression — `a = b + 5`"},We),Ye=b("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(e){return e._visit(this,function(){this.elements.forEach(function(t){t._walk(e)})})}}),Ge=b("Object","properties",{$documentation:"An object literal",$propdoc:{properties:"[AST_ObjectProperty*] array of properties"},_walk:function(e){return e._visit(this,function(){this.properties.forEach(function(t){t._walk(e)})})}}),Xe=b("ObjectProperty","key value",{$documentation:"Base class for literal object properties",$propdoc:{key:"[string] the property name converted to a string for ObjectKeyVal.  For setters and getters this is an arbitrary AST_Node.",value:"[AST_Node] property value.  For setters and getters this is an AST_Function."},_walk:function(e){return e._visit(this,function(){this.value._walk(e)})}}),Qe=b("ObjectKeyVal","quote",{$documentation:"A key: value object property",$propdoc:{quote:"[string] the original quote character"}},Xe),Ke=b("ObjectSetter",null,{$documentation:"An object setter property"},Xe),Ze=b("ObjectGetter",null,{$documentation:"An object getter property"},Xe),et=b("Symbol","scope name thedef",{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"}),tt=b("SymbolAccessor",null,{$documentation:"The name of a property accessor (setter/getter function)"},et),nt=b("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)",$propdoc:{init:"[AST_Node*/S] array of initializers for this declaration."}},et),rt=b("SymbolVar",null,{$documentation:"Symbol defining a variable"},nt),it=b("SymbolConst",null,{$documentation:"A constant declaration"},nt),ot=b("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},rt),st=b("SymbolDefun",null,{$documentation:"Symbol defining a function"},nt),at=b("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},nt),ut=b("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},nt),ct=b("Label","references",{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[],this.thedef=this}},et),lt=b("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},et),ft=b("LabelRef",null,{$documentation:"Reference to a label symbol"},et),pt=b("This",null,{$documentation:"The `this` symbol"},et),ht=b("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}}),dt=b("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},ht),mt=b("Number","value",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value"}},ht),gt=b("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},ht),vt=b("Atom",null,{$documentation:"Base class for atoms"},ht),yt=b("Null",null,{$documentation:"The `null` atom",value:null},vt),bt=b("NaN",null,{$documentation:"The impossible value",value:NaN},vt),_t=b("Undefined",null,{$documentation:"The `undefined` value",value:void 0},vt),wt=b("Hole",null,{$documentation:"A hole in an array",value:void 0},vt),At=b("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},vt),xt=b("Boolean",null,{$documentation:"Base class for booleans"},vt),kt=b("False",null,{$documentation:"The `false` atom",value:!1},xt),Et=b("True",null,{$documentation:"The `true` atom",value:!0},xt);w.prototype={_visit:function(e,t){this.stack.push(e);var n=this.visit(e,t?function(){t.call(e)}:f);return!n&&t&&t.call(e),this.stack.pop(),n},parent:function(e){return this.stack[this.stack.length-2-(e||0)]},push:function(e){this.stack.push(e)},pop:function(){return this.stack.pop()},self:function(){return this.stack[this.stack.length-1]},find_parent:function(e){for(var t=this.stack,n=t.length;--n>=0;){var r=t[n];if(r instanceof e)return r}},has_directive:function(e){return this.find_parent(fe).has_directive(e)},in_boolean_context:function(){for(var e=this.stack,t=e.length,n=e[--t];t>0;){var r=e[--t];if(r instanceof ke&&r.condition===n||r instanceof Je&&r.condition===n||r instanceof oe&&r.condition===n||r instanceof ue&&r.condition===n||r instanceof He&&"!"==r.operator&&r.expression===n)return!0;if(!(r instanceof We)||"&&"!=r.operator&&"||"!=r.operator)return!1;n=r}},loopcontrol_target:function(e){var t=this.stack;if(e){for(n=t.length;--n>=0;)if((r=t[n])instanceof re&&r.label.name==e.name)return r.body}else for(var n=t.length;--n>=0;){var r=t[n];if(r instanceof Ee||r instanceof ie)return r}}};var Ct="break case catch const continue debugger default delete do else finally for function if in instanceof new return switch throw try typeof var void while with",St="false null true",Dt="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 this throws transient volatile yield "+St+" "+Ct,Bt="return new delete throw else case";Ct=g(Ct),Dt=g(Dt),Bt=g(Bt),St=g(St);var Ft=g(i("+-*&%=<>!?|~^")),Tt=/^0x[0-9a-f]+$/i,Ot=/^0[0-7]+$/,jt=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i,Mt=g(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","||"]),$t=g(i("  \n\r\t\f\v​᠎             　\ufeff")),Nt=g(i("[{(,.;:")),Rt=g(i("[]{}(),;:")),qt=g(i("gmsiy")),Pt={letter:new RegExp("[\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]"),digit:new RegExp("[\\u0030-\\u0039\\u0660-\\u0669\\u06F0-\\u06F9\\u07C0-\\u07C9\\u0966-\\u096F\\u09E6-\\u09EF\\u0A66-\\u0A6F\\u0AE6-\\u0AEF\\u0B66-\\u0B6F\\u0BE6-\\u0BEF\\u0C66-\\u0C6F\\u0CE6-\\u0CEF\\u0D66-\\u0D6F\\u0DE6-\\u0DEF\\u0E50-\\u0E59\\u0ED0-\\u0ED9\\u0F20-\\u0F29\\u1040-\\u1049\\u1090-\\u1099\\u17E0-\\u17E9\\u1810-\\u1819\\u1946-\\u194F\\u19D0-\\u19D9\\u1A80-\\u1A89\\u1A90-\\u1A99\\u1B50-\\u1B59\\u1BB0-\\u1BB9\\u1C40-\\u1C49\\u1C50-\\u1C59\\uA620-\\uA629\\uA8D0-\\uA8D9\\uA900-\\uA909\\uA9D0-\\uA9D9\\uA9F0-\\uA9F9\\uAA50-\\uAA59\\uABF0-\\uABF9\\uFF10-\\uFF19]"),non_spacing_mark:new RegExp("[\\u0300-\\u036F\\u0483-\\u0487\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065E\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0900-\\u0902\\u093C\\u0941-\\u0948\\u094D\\u0951-\\u0955\\u0962\\u0963\\u0981\\u09BC\\u09C1-\\u09C4\\u09CD\\u09E2\\u09E3\\u0A01\\u0A02\\u0A3C\\u0A41\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70\\u0A71\\u0A75\\u0A81\\u0A82\\u0ABC\\u0AC1-\\u0AC5\\u0AC7\\u0AC8\\u0ACD\\u0AE2\\u0AE3\\u0B01\\u0B3C\\u0B3F\\u0B41-\\u0B44\\u0B4D\\u0B56\\u0B62\\u0B63\\u0B82\\u0BC0\\u0BCD\\u0C3E-\\u0C40\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C62\\u0C63\\u0CBC\\u0CBF\\u0CC6\\u0CCC\\u0CCD\\u0CE2\\u0CE3\\u0D41-\\u0D44\\u0D4D\\u0D62\\u0D63\\u0DCA\\u0DD2-\\u0DD4\\u0DD6\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F71-\\u0F7E\\u0F80-\\u0F84\\u0F86\\u0F87\\u0F90-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102D-\\u1030\\u1032-\\u1037\\u1039\\u103A\\u103D\\u103E\\u1058\\u1059\\u105E-\\u1060\\u1071-\\u1074\\u1082\\u1085\\u1086\\u108D\\u109D\\u135F\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17B7-\\u17BD\\u17C6\\u17C9-\\u17D3\\u17DD\\u180B-\\u180D\\u18A9\\u1920-\\u1922\\u1927\\u1928\\u1932\\u1939-\\u193B\\u1A17\\u1A18\\u1A56\\u1A58-\\u1A5E\\u1A60\\u1A62\\u1A65-\\u1A6C\\u1A73-\\u1A7C\\u1A7F\\u1B00-\\u1B03\\u1B34\\u1B36-\\u1B3A\\u1B3C\\u1B42\\u1B6B-\\u1B73\\u1B80\\u1B81\\u1BA2-\\u1BA5\\u1BA8\\u1BA9\\u1C2C-\\u1C33\\u1C36\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE0\\u1CE2-\\u1CE8\\u1CED\\u1DC0-\\u1DE6\\u1DFD-\\u1DFF\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2CEF-\\u2CF1\\u2DE0-\\u2DFF\\u302A-\\u302F\\u3099\\u309A\\uA66F\\uA67C\\uA67D\\uA6F0\\uA6F1\\uA802\\uA806\\uA80B\\uA825\\uA826\\uA8C4\\uA8E0-\\uA8F1\\uA926-\\uA92D\\uA947-\\uA951\\uA980-\\uA982\\uA9B3\\uA9B6-\\uA9B9\\uA9BC\\uAA29-\\uAA2E\\uAA31\\uAA32\\uAA35\\uAA36\\uAA43\\uAA4C\\uAAB0\\uAAB2-\\uAAB4\\uAAB7\\uAAB8\\uAABE\\uAABF\\uAAC1\\uABE5\\uABE8\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE26]"),space_combining_mark:new RegExp("[\\u0903\\u093E-\\u0940\\u0949-\\u094C\\u094E\\u0982\\u0983\\u09BE-\\u09C0\\u09C7\\u09C8\\u09CB\\u09CC\\u09D7\\u0A03\\u0A3E-\\u0A40\\u0A83\\u0ABE-\\u0AC0\\u0AC9\\u0ACB\\u0ACC\\u0B02\\u0B03\\u0B3E\\u0B40\\u0B47\\u0B48\\u0B4B\\u0B4C\\u0B57\\u0BBE\\u0BBF\\u0BC1\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCC\\u0BD7\\u0C01-\\u0C03\\u0C41-\\u0C44\\u0C82\\u0C83\\u0CBE\\u0CC0-\\u0CC4\\u0CC7\\u0CC8\\u0CCA\\u0CCB\\u0CD5\\u0CD6\\u0D02\\u0D03\\u0D3E-\\u0D40\\u0D46-\\u0D48\\u0D4A-\\u0D4C\\u0D57\\u0D82\\u0D83\\u0DCF-\\u0DD1\\u0DD8-\\u0DDF\\u0DF2\\u0DF3\\u0F3E\\u0F3F\\u0F7F\\u102B\\u102C\\u1031\\u1038\\u103B\\u103C\\u1056\\u1057\\u1062-\\u1064\\u1067-\\u106D\\u1083\\u1084\\u1087-\\u108C\\u108F\\u109A-\\u109C\\u17B6\\u17BE-\\u17C5\\u17C7\\u17C8\\u1923-\\u1926\\u1929-\\u192B\\u1930\\u1931\\u1933-\\u1938\\u19B0-\\u19C0\\u19C8\\u19C9\\u1A19-\\u1A1B\\u1A55\\u1A57\\u1A61\\u1A63\\u1A64\\u1A6D-\\u1A72\\u1B04\\u1B35\\u1B3B\\u1B3D-\\u1B41\\u1B43\\u1B44\\u1B82\\u1BA1\\u1BA6\\u1BA7\\u1BAA\\u1C24-\\u1C2B\\u1C34\\u1C35\\u1CE1\\u1CF2\\uA823\\uA824\\uA827\\uA880\\uA881\\uA8B4-\\uA8C3\\uA952\\uA953\\uA983\\uA9B4\\uA9B5\\uA9BA\\uA9BB\\uA9BD-\\uA9C0\\uAA2F\\uAA30\\uAA33\\uAA34\\uAA4D\\uAA7B\\uABE3\\uABE4\\uABE6\\uABE7\\uABE9\\uABEA\\uABEC]"),connector_punctuation:new RegExp("[\\u005F\\u203F\\u2040\\u2054\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFF3F]")};j.prototype.toString=function(){return this.message+" (line: "+this.line+", col: "+this.col+", pos: "+this.pos+")\n\n"+this.stack};var It={},Lt=g(["typeof","void","delete","--","++","!","~","-","+"]),zt=g(["--","++"]),Ht=g(["=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&="]),Ut=function(e,t){for(var n=0;n<e.length;++n)for(var r=e[n],i=0;i<r.length;++i)t[r[i]]=n+1;return t}([["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]],{}),Wt=r(["for","do","while","switch"]),Jt=r(["atom","num","string","regexp","name"]);q.prototype=new w,function(e){function t(t,n){t.DEFMETHOD("transform",function(t,r){var i,o;return t.push(this),t.before&&(i=t.before(this,n,r)),i===e&&(t.after?(t.stack[t.stack.length-1]=i=this.clone(),n(i,t),(o=t.after(i,r))!==e&&(i=o)):n(i=this,t)),t.pop(),i})}function n(e,t){return J(e,function(e){return e.transform(t,!0)})}t(Y,f),t(re,function(e,t){e.label=e.label.transform(t),e.body=e.body.transform(t)}),t(K,function(e,t){e.body=e.body.transform(t)}),t(Z,function(e,t){e.body=n(e.body,t)}),t(oe,function(e,t){e.condition=e.condition.transform(t),e.body=e.body.transform(t)}),t(ue,function(e,t){e.init&&(e.init=e.init.transform(t)),e.condition&&(e.condition=e.condition.transform(t)),e.step&&(e.step=e.step.transform(t)),e.body=e.body.transform(t)}),t(ce,function(e,t){e.init=e.init.transform(t),e.object=e.object.transform(t),e.body=e.body.transform(t)}),t(le,function(e,t){e.expression=e.expression.transform(t),e.body=e.body.transform(t)}),t(ye,function(e,t){e.value&&(e.value=e.value.transform(t))}),t(we,function(e,t){e.label&&(e.label=e.label.transform(t))}),t(ke,function(e,t){e.condition=e.condition.transform(t),e.body=e.body.transform(t),e.alternative&&(e.alternative=e.alternative.transform(t))}),t(Ee,function(e,t){e.expression=e.expression.transform(t),e.body=n(e.body,t)}),t(De,function(e,t){e.expression=e.expression.transform(t),e.body=n(e.body,t)}),t(Be,function(e,t){e.body=n(e.body,t),e.bcatch&&(e.bcatch=e.bcatch.transform(t)),e.bfinally&&(e.bfinally=e.bfinally.transform(t))}),t(Fe,function(e,t){e.argname=e.argname.transform(t),e.body=n(e.body,t)}),t(Oe,function(e,t){e.definitions=n(e.definitions,t)}),t($e,function(e,t){e.name=e.name.transform(t),e.value&&(e.value=e.value.transform(t))}),t(he,function(e,t){e.name&&(e.name=e.name.transform(t)),e.argnames=n(e.argnames,t),e.body=n(e.body,t)}),t(Ne,function(e,t){e.expression=e.expression.transform(t),e.args=n(e.args,t)}),t(qe,function(e,t){e.car=e.car.transform(t),e.cdr=e.cdr.transform(t)}),t(Ie,function(e,t){e.expression=e.expression.transform(t)}),t(Le,function(e,t){e.expression=e.expression.transform(t),e.property=e.property.transform(t)}),t(ze,function(e,t){e.expression=e.expression.transform(t)}),t(We,function(e,t){e.left=e.left.transform(t),e.right=e.right.transform(t)}),t(Je,function(e,t){e.condition=e.condition.transform(t),e.consequent=e.consequent.transform(t),e.alternative=e.alternative.transform(t)}),t(Ye,function(e,t){e.elements=n(e.elements,t)}),t(Ge,function(e,t){e.properties=n(e.properties,t)}),t(Xe,function(e,t){e.value=e.value.transform(t)})}(),P.prototype={unmangleable:function(e){return e||(e={}),this.global&&!e.toplevel||this.undeclared||!e.eval&&(this.scope.uses_eval||this.scope.uses_with)||e.keep_fnames&&(this.orig[0]instanceof at||this.orig[0]instanceof st)},mangle:function(e){var t=e.cache&&e.cache.props;if(this.global&&t&&t.has(this.name))this.mangled_name=t.get(this.name);else if(!this.mangled_name&&!this.unmangleable(e)){var n=this.scope;!e.screw_ie8&&this.orig[0]instanceof at&&(n=n.parent_scope),this.mangled_name=n.next_mangled(e,this),this.global&&t&&t.set(this.name,this.mangled_name)}}},pe.DEFMETHOD("figure_out_scope",function(e){e=c(e,{screw_ie8:!1,cache:null});var t=this,n=t.parent_scope=null,r=null,i=0,o=new w(function(t,s){if(e.screw_ie8&&t instanceof Fe)return a=n,(n=new fe(t)).init_scope_vars(i),n.parent_scope=a,s(),n=a,!0;if(t instanceof fe){t.init_scope_vars(i);var a=t.parent_scope=n,u=r;return r=n=t,++i,s(),--i,n=a,r=u,!0}if(t instanceof Q)return t.scope=n,p(n.directives,t.value),!0;if(t instanceof le)for(var c=n;c;c=c.parent_scope)c.uses_with=!0;else if(t instanceof et&&(t.scope=n),t instanceof at)r.def_function(t);else if(t instanceof st)(t.scope=r.parent_scope).def_function(t);else if(t instanceof rt||t instanceof it){var l=r.def_variable(t);l.constant=t instanceof it,l.init=o.parent().value}else t instanceof ut&&(e.screw_ie8?n:r).def_variable(t)});t.walk(o);var s=null,a=t.globals=new y,o=new w(function(e,n){if(e instanceof he){var r=s;return s=e,n(),s=r,!0}if(e instanceof lt){var i=e.name,u=e.scope.find_variable(i);if(u)e.thedef=u;else{var c;if(a.has(i)?c=a.get(i):((c=new P(t,a.size(),e)).undeclared=!0,c.global=!0,a.set(i,c)),e.thedef=c,"eval"==i&&o.parent()instanceof Ne)for(var l=e.scope;l&&!l.uses_eval;l=l.parent_scope)l.uses_eval=!0;s&&"arguments"==i&&(s.uses_arguments=!0)}return e.reference(),!0}});t.walk(o),e.cache&&(this.cname=e.cache.cname)}),fe.DEFMETHOD("init_scope_vars",function(e){this.directives=[],this.variables=new y,this.functions=new y,this.uses_with=!1,this.uses_eval=!1,this.parent_scope=null,this.enclosed=[],this.cname=-1,this.nesting=e}),fe.DEFMETHOD("strict",function(){return this.has_directive("use strict")}),he.DEFMETHOD("init_scope_vars",function(){fe.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1}),lt.DEFMETHOD("reference",function(){var e=this.definition();e.references.push(this);for(var t=this.scope;t&&(p(t.enclosed,e),t!==e.scope);)t=t.parent_scope;this.frame=this.scope.nesting-e.scope.nesting}),fe.DEFMETHOD("find_variable",function(e){return e instanceof et&&(e=e.name),this.variables.get(e)||this.parent_scope&&this.parent_scope.find_variable(e)}),fe.DEFMETHOD("has_directive",function(e){return this.parent_scope&&this.parent_scope.has_directive(e)||(this.directives.indexOf(e)>=0?this:null)}),fe.DEFMETHOD("def_function",function(e){this.functions.set(e.name,this.def_variable(e))}),fe.DEFMETHOD("def_variable",function(e){var t;return this.variables.has(e.name)?(t=this.variables.get(e.name)).orig.push(e):(t=new P(this,this.variables.size(),e),this.variables.set(e.name,t),t.global=!this.parent_scope),e.thedef=t}),fe.DEFMETHOD("next_mangled",function(e){var t=this.enclosed;e:for(;;){var n=Vt(++this.cname);if(D(n)&&!(e.except.indexOf(n)>=0)){for(var r=t.length;--r>=0;){var i=t[r];if(n==(i.mangled_name||i.unmangleable(e)&&i.name))continue e}return n}}}),me.DEFMETHOD("next_mangled",function(e,t){for(var n=t.orig[0]instanceof ot&&this.name&&this.name.definition();;){var r=he.prototype.next_mangled.call(this,e,t);if(!n||n.mangled_name!=r)return r}}),fe.DEFMETHOD("references",function(e){return e instanceof et&&(e=e.definition()),this.enclosed.indexOf(e)<0?null:e}),et.DEFMETHOD("unmangleable",function(e){return this.definition().unmangleable(e)}),tt.DEFMETHOD("unmangleable",function(){return!0}),ct.DEFMETHOD("unmangleable",function(){return!1}),et.DEFMETHOD("unreferenced",function(){return 0==this.definition().references.length&&!(this.scope.uses_eval||this.scope.uses_with)}),et.DEFMETHOD("undeclared",function(){return this.definition().undeclared}),ft.DEFMETHOD("undeclared",function(){return!1}),ct.DEFMETHOD("undeclared",function(){return!1}),et.DEFMETHOD("definition",function(){return this.thedef}),et.DEFMETHOD("global",function(){return this.definition().global}),pe.DEFMETHOD("_default_mangler_options",function(e){return c(e,{except:[],eval:!1,sort:!1,toplevel:!1,screw_ie8:!1,keep_fnames:!1})}),pe.DEFMETHOD("mangle_names",function(e){var t=-1,n=[];(e=this._default_mangler_options(e)).cache&&this.globals.each(function(t){e.except.indexOf(t.name)<0&&n.push(t)});var r=new w(function(i,o){if(i instanceof re){var s=t;return o(),t=s,!0}if(i instanceof fe){r.parent();var a=[];return i.variables.each(function(t){e.except.indexOf(t.name)<0&&a.push(t)}),e.sort&&a.sort(function(e,t){return t.references.length-e.references.length}),void n.push.apply(n,a)}if(i instanceof ct){var u;do{u=Vt(++t)}while(!D(u));return i.mangled_name=u,!0}e.screw_ie8&&i instanceof ut&&n.push(i.definition())});this.walk(r),n.forEach(function(t){t.mangle(e)}),e.cache&&(e.cache.cname=this.cname)}),pe.DEFMETHOD("compute_char_frequency",function(e){e=this._default_mangler_options(e);var t=new w(function(t){t instanceof ht?Vt.consider(t.print_to_string()):t instanceof be?Vt.consider("return"):t instanceof _e?Vt.consider("throw"):t instanceof xe?Vt.consider("continue"):t instanceof Ae?Vt.consider("break"):t instanceof X?Vt.consider("debugger"):t instanceof Q?Vt.consider(t.value):t instanceof ae?Vt.consider("while"):t instanceof se?Vt.consider("do while"):t instanceof ke?(Vt.consider("if"),t.alternative&&Vt.consider("else")):t instanceof je?Vt.consider("var"):t instanceof Me?Vt.consider("const"):t instanceof he?Vt.consider("function"):t instanceof ue?Vt.consider("for"):t instanceof ce?Vt.consider("for in"):t instanceof Ee?Vt.consider("switch"):t instanceof De?Vt.consider("case"):t instanceof Se?Vt.consider("default"):t instanceof le?Vt.consider("with"):t instanceof Ke?Vt.consider("set"+t.key):t instanceof Ze?Vt.consider("get"+t.key):t instanceof Qe?Vt.consider(t.key):t instanceof Re?Vt.consider("new"):t instanceof pt?Vt.consider("this"):t instanceof Be?Vt.consider("try"):t instanceof Fe?Vt.consider("catch"):t instanceof Te?Vt.consider("finally"):t instanceof et&&t.unmangleable(e)?Vt.consider(t.name):t instanceof ze||t instanceof We?Vt.consider(t.operator):t instanceof Ie&&Vt.consider(t.property)});this.walk(t),Vt.sort()});var Vt=function(){function e(){r=Object.create(null),(n=i.split("").map(function(e){return e.charCodeAt(0)})).forEach(function(e){r[e]=0})}function t(e){var t="",r=54;e++;do{e--,t+=String.fromCharCode(n[e%r]),e=Math.floor(e/r),r=64}while(e>0);return t}var n,r,i="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_0123456789";return t.consider=function(e){for(var t=e.length;--t>=0;){var n=e.charCodeAt(t);n in r&&++r[n]}},t.sort=function(){n=m(n,function(e,t){return x(e)&&!x(t)?1:x(t)&&!x(e)?-1:r[t]-r[e]})},t.reset=e,e(),t.get=function(){return n},t.freq=function(){return r},t}();pe.DEFMETHOD("scope_warnings",function(e){e=c(e,{undeclared:!1,unreferenced:!0,assign_to_global:!0,func_arguments:!0,nested_defuns:!0,eval:!0});var t=new w(function(n){if(e.undeclared&&n instanceof lt&&n.undeclared()&&Y.warn("Undeclared symbol: {name} [{file}:{line},{col}]",{name:n.name,file:n.start.file,line:n.start.line,col:n.start.col}),e.assign_to_global){var r=null;n instanceof Ve&&n.left instanceof lt?r=n.left:n instanceof ce&&n.init instanceof lt&&(r=n.init),r&&(r.undeclared()||r.global()&&r.scope!==r.definition().scope)&&Y.warn("{msg}: {name} [{file}:{line},{col}]",{msg:r.undeclared()?"Accidental global?":"Assignment to global",name:r.name,file:r.start.file,line:r.start.line,col:r.start.col})}e.eval&&n instanceof lt&&n.undeclared()&&"eval"==n.name&&Y.warn("Eval is used [{file}:{line},{col}]",n.start),e.unreferenced&&(n instanceof nt||n instanceof ct)&&!(n instanceof ut)&&n.unreferenced()&&Y.warn("{type} {name} is declared but not referenced [{file}:{line},{col}]",{type:n instanceof ct?"Label":"Symbol",name:n.name,file:n.start.file,line:n.start.line,col:n.start.col}),e.func_arguments&&n instanceof he&&n.uses_arguments&&Y.warn("arguments used in function {name} [{file}:{line},{col}]",{name:n.name?n.name.name:"anonymous",file:n.start.file,line:n.start.line,col:n.start.col}),e.nested_defuns&&n instanceof ge&&!(t.parent()instanceof fe)&&Y.warn('Function {name} declared in nested statement "{type}" [{file}:{line},{col}]',{name:n.name.name,type:t.parent().TYPE,file:n.start.file,line:n.start.line,col:n.start.col})});this.walk(t)}),function(){function e(e,t){e.DEFMETHOD("_codegen",t)}function t(e,n){Array.isArray(e)?e.forEach(function(e){t(e,n)}):e.DEFMETHOD("needs_parens",n)}function n(e,t,n){var r=e.length-1;e.forEach(function(e,i){e instanceof te||(n.indent(),e.print(n),i==r&&t||(n.newline(),t&&n.newline()))})}function r(e,t){e.length>0?t.with_block(function(){n(e,!1,t)}):t.print("{}")}function i(e,t,n){if(n)try{e.walk(new w(function(e){if(e instanceof We&&"in"==e.operator)throw t})),e.print(t)}catch(n){if(n!==t)throw n;e.print(t,!0)}else e.print(t)}function o(e,t){t.option("bracketize")?!e||e instanceof te?t.print("{}"):e instanceof ee?e.print(t):t.with_block(function(){t.indent(),e.print(t),t.newline()}):!e||e instanceof te?t.force_semicolon():e.print(t)}function s(e){for(var t=e.stack(),n=t.length,r=t[--n],i=t[--n];n>0;){if(i instanceof G&&i.body===r)return!0;if(!(i instanceof qe&&i.car===r||i instanceof Ne&&i.expression===r&&!(i instanceof Re)||i instanceof Ie&&i.expression===r||i instanceof Le&&i.expression===r||i instanceof Je&&i.condition===r||i instanceof We&&i.left===r||i instanceof Ue&&i.expression===r))return!1;r=i,i=t[--n]}}function a(e,t){return 0==e.args.length&&!t.option("beautify")}function u(e){var t,n=e.toString(10),r=[n.replace(/^0\./,".").replace("e+","e")];return Math.floor(e)===e?(e>=0?r.push("0x"+e.toString(16).toLowerCase(),"0"+e.toString(8)):r.push("-0x"+(-e).toString(16).toLowerCase(),"-0"+(-e).toString(8)),(t=/^(.*?)(0+)$/.exec(e))&&r.push(t[1]+"e"+t[2].length)):(t=/^0?\.(0+)(.*)$/.exec(e))&&r.push(t[2]+"e-"+(t[1].length+t[2].length),n.substr(n.indexOf("."))),function(e){for(var t=e[0],n=t.length,r=1;r<e.length;++r)e[r].length<n&&(n=(t=e[r]).length);return t}(r)}function c(e,t){e instanceof ee?e.print(t):t.with_block(function(){t.indent(),e.print(t),t.newline()})}function l(e,t){e.DEFMETHOD("add_source_map",function(e){t(this,e)})}function p(e,t){t.add_mapping(e.start)}Y.DEFMETHOD("print",function(e,t){function n(){r.add_comments(e),r.add_source_map(e),i(r,e)}var r=this,i=r._codegen;e.push_node(r),t||r.needs_parens(e)?e.with_parens(n):n(),e.pop_node()}),Y.DEFMETHOD("print_to_string",function(e){var t=I(e);return this.print(t),t.get()}),Y.DEFMETHOD("add_comments",function(e){var t=e.option("comments"),n=this;if(t){var r=n.start;if(r&&!r._comments_dumped){r._comments_dumped=!0;var i=r.comments_before||[];n instanceof ye&&n.value&&n.value.walk(new w(function(e){if(e.start&&e.start.comments_before&&(i=i.concat(e.start.comments_before),e.start.comments_before=[]),e instanceof me||e instanceof Ye||e instanceof Ge)return!0})),t.test?i=i.filter(function(e){return t.test(e.value)}):"function"==typeof t&&(i=i.filter(function(e){return t(n,e)})),!e.option("beautify")&&i.length>0&&/comment[134]/.test(i[0].type)&&0!==e.col()&&i[0].nlb&&e.print("\n"),i.forEach(function(t){/comment[134]/.test(t.type)?(e.print("//"+t.value+"\n"),e.indent()):"comment2"==t.type&&(e.print("/*"+t.value+"*/"),r.nlb?(e.print("\n"),e.indent()):e.space())})}}}),t(Y,function(){return!1}),t(me,function(e){return s(e)}),t(Ge,function(e){return s(e)}),t([ze,_t],function(e){var t=e.parent();return t instanceof Pe&&t.expression===this}),t(qe,function(e){var t=e.parent();return t instanceof Ne||t instanceof ze||t instanceof We||t instanceof $e||t instanceof Pe||t instanceof Ye||t instanceof Xe||t instanceof Je}),t(We,function(e){var t=e.parent();if(t instanceof Ne&&t.expression===this)return!0;if(t instanceof ze)return!0;if(t instanceof Pe&&t.expression===this)return!0;if(t instanceof We){var n=t.operator,r=Ut[n],i=this.operator,o=Ut[i];if(r>o||r==o&&this===t.right)return!0}}),t(Pe,function(e){var t=e.parent();if(t instanceof Re&&t.expression===this)try{this.walk(new w(function(e){if(e instanceof Ne)throw t}))}catch(e){if(e!==t)throw e;return!0}}),t(Ne,function(e){var t,n=e.parent();return n instanceof Re&&n.expression===this||this.expression instanceof me&&n instanceof Pe&&n.expression===this&&(t=e.parent(1))instanceof Ve&&t.left===n}),t(Re,function(e){var t=e.parent();if(a(this,e)&&(t instanceof Pe||t instanceof Ne&&t.expression===this))return!0}),t(mt,function(e){var t=e.parent();if(this.getValue()<0&&t instanceof Pe&&t.expression===this)return!0}),t([Ve,Je],function(e){var t=e.parent();return t instanceof ze||t instanceof We&&!(t instanceof Ve)||t instanceof Ne&&t.expression===this||t instanceof Je&&t.condition===this||t instanceof Pe&&t.expression===this||void 0}),e(Q,function(e,t){t.print_string(e.value,e.quote),t.semicolon()}),e(X,function(e,t){t.print("debugger"),t.semicolon()}),ne.DEFMETHOD("_do_print_body",function(e){o(this.body,e)}),e(G,function(e,t){e.body.print(t),t.semicolon()}),e(pe,function(e,t){n(e.body,!0,t),t.print("")}),e(re,function(e,t){e.label.print(t),t.colon(),e.body.print(t)}),e(K,function(e,t){e.body.print(t),t.semicolon()}),e(ee,function(e,t){r(e.body,t)}),e(te,function(e,t){t.semicolon()}),e(se,function(e,t){t.print("do"),t.space(),e._do_print_body(t),t.space(),t.print("while"),t.space(),t.with_parens(function(){e.condition.print(t)}),t.semicolon()}),e(ae,function(e,t){t.print("while"),t.space(),t.with_parens(function(){e.condition.print(t)}),t.space(),e._do_print_body(t)}),e(ue,function(e,t){t.print("for"),t.space(),t.with_parens(function(){!e.init||e.init instanceof te?t.print(";"):(e.init instanceof Oe?e.init.print(t):i(e.init,t,!0),t.print(";"),t.space()),e.condition?(e.condition.print(t),t.print(";"),t.space()):t.print(";"),e.step&&e.step.print(t)}),t.space(),e._do_print_body(t)}),e(ce,function(e,t){t.print("for"),t.space(),t.with_parens(function(){e.init.print(t),t.space(),t.print("in"),t.space(),e.object.print(t)}),t.space(),e._do_print_body(t)}),e(le,function(e,t){t.print("with"),t.space(),t.with_parens(function(){e.expression.print(t)}),t.space(),e._do_print_body(t)}),he.DEFMETHOD("_do_print",function(e,t){var n=this;t||e.print("function"),n.name&&(e.space(),n.name.print(e)),e.with_parens(function(){n.argnames.forEach(function(t,n){n&&e.comma(),t.print(e)})}),e.space(),r(n.body,e)}),e(he,function(e,t){e._do_print(t)}),ye.DEFMETHOD("_do_print",function(e,t){e.print(t),this.value&&(e.space(),this.value.print(e)),e.semicolon()}),e(be,function(e,t){e._do_print(t,"return")}),e(_e,function(e,t){e._do_print(t,"throw")}),we.DEFMETHOD("_do_print",function(e,t){e.print(t),this.label&&(e.space(),this.label.print(e)),e.semicolon()}),e(Ae,function(e,t){e._do_print(t,"break")}),e(xe,function(e,t){e._do_print(t,"continue")}),e(ke,function(e,t){t.print("if"),t.space(),t.with_parens(function(){e.condition.print(t)}),t.space(),e.alternative?(function(e,t){if(t.option("bracketize"))c(e.body,t);else{if(!e.body)return t.force_semicolon();if(e.body instanceof se&&!t.option("screw_ie8"))c(e.body,t);else{for(var n=e.body;;)if(n instanceof ke){if(!n.alternative)return void c(e.body,t);n=n.alternative}else{if(!(n instanceof ne))break;n=n.body}o(e.body,t)}}}(e,t),t.space(),t.print("else"),t.space(),o(e.alternative,t)):e._do_print_body(t)}),e(Ee,function(e,t){t.print("switch"),t.space(),t.with_parens(function(){e.expression.print(t)}),t.space(),e.body.length>0?t.with_block(function(){e.body.forEach(function(e,n){n&&t.newline(),t.indent(!0),e.print(t)})}):t.print("{}")}),Ce.DEFMETHOD("_do_print_body",function(e){this.body.length>0&&(e.newline(),this.body.forEach(function(t){e.indent(),t.print(e),e.newline()}))}),e(Se,function(e,t){t.print("default:"),e._do_print_body(t)}),e(De,function(e,t){t.print("case"),t.space(),e.expression.print(t),t.print(":"),e._do_print_body(t)}),e(Be,function(e,t){t.print("try"),t.space(),r(e.body,t),e.bcatch&&(t.space(),e.bcatch.print(t)),e.bfinally&&(t.space(),e.bfinally.print(t))}),e(Fe,function(e,t){t.print("catch"),t.space(),t.with_parens(function(){e.argname.print(t)}),t.space(),r(e.body,t)}),e(Te,function(e,t){t.print("finally"),t.space(),r(e.body,t)}),Oe.DEFMETHOD("_do_print",function(e,t){e.print(t),e.space(),this.definitions.forEach(function(t,n){n&&e.comma(),t.print(e)});var n=e.parent();(n instanceof ue||n instanceof ce)&&n.init===this||e.semicolon()}),e(je,function(e,t){e._do_print(t,"var")}),e(Me,function(e,t){e._do_print(t,"const")}),e($e,function(e,t){if(e.name.print(t),e.value){t.space(),t.print("="),t.space();var n=t.parent(1),r=n instanceof ue||n instanceof ce;i(e.value,t,r)}}),e(Ne,function(e,t){e.expression.print(t),e instanceof Re&&a(e,t)||t.with_parens(function(){e.args.forEach(function(e,n){n&&t.comma(),e.print(t)})})}),e(Re,function(e,t){t.print("new"),t.space(),Ne.prototype._codegen(e,t)}),qe.DEFMETHOD("_do_print",function(e){this.car.print(e),this.cdr&&(e.comma(),e.should_break()&&(e.newline(),e.indent()),this.cdr.print(e))}),e(qe,function(e,t){e._do_print(t)}),e(Ie,function(e,t){var n=e.expression;n.print(t),n instanceof mt&&n.getValue()>=0&&(/[xa-f.]/i.test(t.last())||t.print(".")),t.print("."),t.add_mapping(e.end),t.print_name(e.property)}),e(Le,function(e,t){e.expression.print(t),t.print("["),e.property.print(t),t.print("]")}),e(He,function(e,t){var n=e.operator;t.print(n),(/^[a-z]/i.test(n)||/[+-]$/.test(n)&&e.expression instanceof He&&/^[+-]/.test(e.expression.operator))&&t.space(),e.expression.print(t)}),e(Ue,function(e,t){e.expression.print(t),t.print(e.operator)}),e(We,function(e,t){e.left.print(t),t.space(),t.print(e.operator),"<"==e.operator&&e.right instanceof He&&"!"==e.right.operator&&e.right.expression instanceof He&&"--"==e.right.expression.operator?t.print(" "):t.space(),e.right.print(t)}),e(Je,function(e,t){e.condition.print(t),t.space(),t.print("?"),t.space(),e.consequent.print(t),t.space(),t.colon(),e.alternative.print(t)}),e(Ye,function(e,t){t.with_square(function(){var n=e.elements,r=n.length;r>0&&t.space(),n.forEach(function(e,n){n&&t.comma(),e.print(t),n===r-1&&e instanceof wt&&t.comma()}),r>0&&t.space()})}),e(Ge,function(e,t){e.properties.length>0?t.with_block(function(){e.properties.forEach(function(e,n){n&&(t.print(","),t.newline()),t.indent(),e.print(t)}),t.newline()}):t.print("{}")}),e(Qe,function(e,t){var n=e.key,r=e.quote;t.option("quote_keys")?t.print_string(n+""):("number"==typeof n||!t.option("beautify")&&+n+""==n)&&parseFloat(n)>=0?t.print(u(n)):(Dt(n)?t.option("screw_ie8"):T(n))?t.print_name(n):t.print_string(n,r),t.colon(),e.value.print(t)}),e(Ke,function(e,t){t.print("set"),t.space(),e.key.print(t),e.value._do_print(t,!0)}),e(Ze,function(e,t){t.print("get"),t.space(),e.key.print(t),e.value._do_print(t,!0)}),e(et,function(e,t){var n=e.definition();t.print_name(n?n.mangled_name||n.name:e.name)}),e(_t,function(e,t){t.print("void 0")}),e(wt,f),e(At,function(e,t){t.print("Infinity")}),e(bt,function(e,t){t.print("NaN")}),e(pt,function(e,t){t.print("this")}),e(ht,function(e,t){t.print(e.getValue())}),e(dt,function(e,t){t.print_string(e.getValue(),e.quote)}),e(mt,function(e,t){t.print(u(e.getValue()))}),e(gt,function(e,t){var n=e.getValue().toString();t.option("ascii_only")?n=t.to_ascii(n):t.option("unescape_regexps")&&(n=n.split("\\\\").map(function(e){return e.replace(/\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}/g,function(e){var t=parseInt(e.substr(2),16);return function(e){return[92,47,46,43,42,63,40,41,91,93,123,125,36,94,58,124,33,10,13,0,65279,8232,8233].indexOf(e)<0}(t)?String.fromCharCode(t):e})}).join("\\\\")),t.print(n);var r=t.parent();r instanceof We&&/^in/.test(r.operator)&&r.left===e&&t.print(" ")}),l(Y,f),l(Q,p),l(X,p),l(et,p),l(ve,p),l(ne,p),l(re,f),l(he,p),l(Ee,p),l(Ce,p),l(ee,p),l(pe,f),l(Re,p),l(Be,p),l(Fe,p),l(Te,p),l(Oe,p),l(ht,p),l(Xe,function(e,t){t.add_mapping(e.start,e.key)})}(),l(L.prototype=new q,{option:function(e){return this.options[e]},warn:function(){this.options.warnings&&Y.warn.apply(Y,arguments)},before:function(e,t,n){if(e._squeezed)return e;var r=!1;return e instanceof fe&&(e=e.hoist_declarations(this),r=!0),t(e,this),e=e.optimize(this),r&&e instanceof fe&&(e.drop_unused(this),t(e,this)),e._squeezed=!0,e}}),function(){function e(e,t){e.DEFMETHOD("optimize",function(e){if(this._optimized)return this;var n=t(this,e);return n._optimized=!0,n===this?n:n.transform(e)})}function t(e,t,n){return n||(n={}),t&&(n.start||(n.start=t.start),n.end||(n.end=t.end)),new e(n)}function n(e,n,r){if(n instanceof Y)return n.transform(e);switch(typeof n){case"string":return t(dt,r,{value:n}).optimize(e);case"number":return t(isNaN(n)?bt:mt,r,{value:n}).optimize(e);case"boolean":return t(n?Et:kt,r).optimize(e);case"undefined":return t(_t,r).optimize(e);default:if(null===n)return t(yt,r,{value:null}).optimize(e);if(n instanceof RegExp)return t(gt,r,{value:n}).optimize(e);throw new Error(h("Can't handle constant of type: {type}",{type:typeof n}))}}function r(e){if(null===e)return[];if(e instanceof ee)return e.body;if(e instanceof te)return[];if(e instanceof G)return[e];throw new Error("Can't convert thing to statement array")}function i(e){return null===e||e instanceof te||e instanceof ee&&0==e.body.length}function a(e){return e instanceof Ee?e:(e instanceof ue||e instanceof ce||e instanceof oe)&&e.body instanceof ee?e.body:e}function u(e,n){function i(e){var t=[];return e.reduce(function(e,n){return n instanceof ee?(s=!0,e.push.apply(e,i(n.body))):n instanceof te?s=!0:n instanceof Q?t.indexOf(n.value)<0?(e.push(n),t.push(n.value)):s=!0:e.push(n),e},[])}function o(e,n){function r(){(i=qe.from_array(i))&&o.push(t(K,i,{body:i})),i=[]}if(e.length<2)return e;var i=[],o=[];return e.forEach(function(e){e instanceof K&&i.length<2e3?i.push(e.body):(r(),o.push(e))}),r(),o=function(e,n){function r(e){i.pop();var t=o.body;return t instanceof qe?t.add(e):t=qe.cons(t,e),t.transform(n)}var i=[],o=null;return e.forEach(function(e){if(o)if(e instanceof ue){var n={};try{o.body.walk(new w(function(e){if(e instanceof We&&"in"==e.operator)throw n})),!e.init||e.init instanceof Oe?e.init||(e.init=o.body,i.pop()):e.init=r(e.init)}catch(e){if(e!==n)throw e}}else e instanceof ke?e.condition=r(e.condition):e instanceof le?e.expression=r(e.expression):e instanceof ye&&e.value?e.value=r(e.value):e instanceof ye?e.value=r(t(_t,e)):e instanceof Ee&&(e.expression=r(e.expression));i.push(e),o=e instanceof K?e:null}),i}(o,n),s=o.length!=e.length,o}var s;do{s=!1,n.option("angular")&&(e=function(e){function r(e){return/@ngInject/.test(e.value)}function i(e){return e.argnames.map(function(e){return t(dt,e,{value:e.name})})}function o(e,n){return t(Ye,e,{elements:n})}function s(e,n){return t(K,e,{body:t(Ve,e,{operator:"=",left:t(Ie,n,{expression:t(lt,n,n),property:"$inject"}),right:o(e,i(e))})})}function a(e){e&&e.args&&(e.args.forEach(function(e,t,n){var s=e.start.comments_before;e instanceof he&&s.length&&r(s[0])&&(n[t]=o(e,i(e).concat(e)))}),e.expression&&e.expression.expression&&a(e.expression.expression))}return e.reduce(function(e,t){if(e.push(t),t.body&&t.body.args)a(t.body);else{var i=t.start,o=i.comments_before;o&&o.length>0&&r(o.pop())&&(t instanceof ge?e.push(s(t,t.name)):t instanceof Oe?t.definitions.forEach(function(t){t.value&&t.value instanceof he&&e.push(s(t.value,t.name))}):n.warn("Unknown statement marked with @ngInject [{file}:{line},{col}]",i))}return e},[])}(e)),e=i(e),n.option("dead_code")&&(e=function(e,t){var n=!1,r=e.length,i=t.self();return e=e.reduce(function(e,r){if(n)c(t,r,e);else{if(r instanceof we){var o=t.loopcontrol_target(r.label);r instanceof Ae&&o instanceof ee&&a(o)===i||r instanceof xe&&a(o)===i?r.label&&d(r.label.thedef.references,r):e.push(r)}else e.push(r);b(r)&&(n=!0)}return e},[]),s=e.length!=r,e}(e,n)),n.option("if_return")&&(e=function(e,n){var i=n.self(),o=i instanceof he,u=[];e:for(var c=e.length;--c>=0;){var l=e[c];switch(!0){case o&&l instanceof be&&!l.value&&0==u.length:s=!0;continue e;case l instanceof ke:if(l.body instanceof be){if((o&&0==u.length||u[0]instanceof be&&!u[0].value)&&!l.body.value&&!l.alternative){s=!0;var f=t(K,l.condition,{body:l.condition});u.unshift(f);continue e}if(u[0]instanceof be&&l.body.value&&u[0].value&&!l.alternative){s=!0,(l=l.clone()).alternative=u[0],u[0]=l.transform(n);continue e}if((0==u.length||u[0]instanceof be)&&l.body.value&&!l.alternative&&o){s=!0,(l=l.clone()).alternative=u[0]||t(be,l,{value:t(_t,l)}),u[0]=l.transform(n);continue e}if(!l.body.value&&o){s=!0,(l=l.clone()).condition=l.condition.negate(n),l.body=t(ee,l,{body:r(l.alternative).concat(u)}),l.alternative=null,u=[l.transform(n)];continue e}if(1==u.length&&o&&u[0]instanceof K&&(!l.alternative||l.alternative instanceof K)){s=!0,u.push(t(be,u[0],{value:t(_t,u[0])}).transform(n)),(u=r(l.alternative).concat(u)).unshift(l);continue e}}var p=b(l.body),h=p instanceof we?n.loopcontrol_target(p.label):null;if(p&&(p instanceof be&&!p.value&&o||p instanceof xe&&i===a(h)||p instanceof Ae&&h instanceof ee&&i===h)){p.label&&d(p.label.thedef.references,p),s=!0;var m=r(l.body).slice(0,-1);(l=l.clone()).condition=l.condition.negate(n),l.body=t(ee,l,{body:r(l.alternative).concat(u)}),l.alternative=t(ee,l,{body:m}),u=[l.transform(n)];continue e}if(h=(p=b(l.alternative))instanceof we?n.loopcontrol_target(p.label):null,p&&(p instanceof be&&!p.value&&o||p instanceof xe&&i===a(h)||p instanceof Ae&&h instanceof ee&&i===h)){p.label&&d(p.label.thedef.references,p),s=!0,(l=l.clone()).body=t(ee,l.body,{body:r(l.body).concat(u)}),l.alternative=t(ee,l.alternative,{body:r(l.alternative).slice(0,-1)}),u=[l.transform(n)];continue e}u.unshift(l);break;default:u.unshift(l)}}return u}(e,n)),n.option("sequences")&&(e=o(e,n)),n.option("join_vars")&&(e=function(e,t){var n=null;return e.reduce(function(e,t){return t instanceof Oe&&n&&n.TYPE==t.TYPE?(n.definitions=n.definitions.concat(t.definitions),s=!0):t instanceof ue&&n instanceof Oe&&(!t.init||t.init.TYPE==n.TYPE)?(s=!0,e.pop(),t.init?t.init.definitions=n.definitions.concat(t.init.definitions):t.init=n,e.push(t),n=t):(n=t,e.push(t)),e},[])}(e))}while(s);return n.option("negate_iife")&&function(e,n){e.forEach(function(e){e instanceof K&&(e.body=function e(n){return n.transform(new q(function(n){if(n instanceof Ne&&n.expression instanceof me)return t(He,n,{operator:"!",expression:n});if(n instanceof Ne)n.expression=e(n.expression);else if(n instanceof qe)n.car=e(n.car);else if(n instanceof Je){var r=e(n.condition);if(r!==n.condition){n.condition=r;var i=n.consequent;n.consequent=n.alternative,n.alternative=i}}return n}))}(e.body))})}(e),e}function c(e,t,n){e.warn("Dropping unreachable code [{file}:{line},{col}]",t.start),t.walk(new w(function(t){return t instanceof Oe?(e.warn("Declarations in unreachable code! [{file}:{line},{col}]",t.start),t.remove_initializers(),n.push(t),!0):t instanceof ge?(n.push(t),!0):t instanceof fe||void 0}))}function l(e,t){return e.print_to_string().length>t.print_to_string().length?t:e}function b(e){return e&&e.aborts()}function _(e,n){function i(i){i=r(i),e.body instanceof ee?(e.body=e.body.clone(),e.body.body=i.concat(e.body.body.slice(1)),e.body=e.body.transform(n)):e.body=t(ee,e.body,{body:i}).transform(n),_(e,n)}var o=e.body instanceof ee?e.body.body[0]:e.body;o instanceof ke&&(o.body instanceof Ae&&n.loopcontrol_target(o.body.label)===e?(e.condition?e.condition=t(We,e.condition,{left:e.condition,operator:"&&",right:o.condition.negate(n)}):e.condition=o.condition.negate(n),i(o.alternative)):o.alternative instanceof Ae&&n.loopcontrol_target(o.alternative.label)===e&&(e.condition?e.condition=t(We,e.condition,{left:e.condition,operator:"&&",right:o.condition}):e.condition=o.condition,i(o.body)))}function A(e,n){return n.option("booleans")&&n.in_boolean_context()&&!e.has_side_effects(n)?t(Et,e):e}e(Y,function(e,t){return e}),Y.DEFMETHOD("equivalent_to",function(e){return this.print_to_string()==e.print_to_string()}),function(e){var t=["!","delete"],n=["in","instanceof","==","!=","===","!==","<","<=",">=",">"];e(Y,function(){return!1}),e(He,function(){return o(this.operator,t)}),e(We,function(){return o(this.operator,n)||("&&"==this.operator||"||"==this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}),e(Je,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}),e(Ve,function(){return"="==this.operator&&this.right.is_boolean()}),e(qe,function(){return this.cdr.is_boolean()}),e(Et,function(){return!0}),e(kt,function(){return!0})}(function(e,t){e.DEFMETHOD("is_boolean",t)}),function(e){e(Y,function(){return!1}),e(dt,function(){return!0}),e(He,function(){return"typeof"==this.operator}),e(We,function(e){return"+"==this.operator&&(this.left.is_string(e)||this.right.is_string(e))}),e(Ve,function(e){return("="==this.operator||"+="==this.operator)&&this.right.is_string(e)}),e(qe,function(e){return this.cdr.is_string(e)}),e(Je,function(e){return this.consequent.is_string(e)&&this.alternative.is_string(e)}),e(Ne,function(e){return e.option("unsafe")&&this.expression instanceof lt&&"String"==this.expression.name&&this.expression.undeclared()})}(function(e,t){e.DEFMETHOD("is_string",t)}),function(e){function t(e,t){if(!t)throw new Error("Compressor must be passed");return e._eval(t)}Y.DEFMETHOD("evaluate",function(t){if(!t.option("evaluate"))return[this];try{var r=this._eval(t);return[l(n(t,r,this),this),r]}catch(t){if(t!==e)throw t;return[this]}}),e(G,function(){throw new Error(h("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}),e(me,function(){throw e}),e(Y,function(){throw e}),e(ht,function(){return this.getValue()}),e(He,function(n){var r=this.expression;switch(this.operator){case"!":return!t(r,n);case"typeof":if(r instanceof me)return"function";if((r=t(r,n))instanceof RegExp)throw e;return typeof r;case"void":return void t(r,n);case"~":return~t(r,n);case"-":if(0===(r=t(r,n)))throw e;return-r;case"+":return+t(r,n)}throw e}),e(We,function(n){var r=this.left,i=this.right;switch(this.operator){case"&&":return t(r,n)&&t(i,n);case"||":return t(r,n)||t(i,n);case"|":return t(r,n)|t(i,n);case"&":return t(r,n)&t(i,n);case"^":return t(r,n)^t(i,n);case"+":return t(r,n)+t(i,n);case"*":return t(r,n)*t(i,n);case"/":return t(r,n)/t(i,n);case"%":return t(r,n)%t(i,n);case"-":return t(r,n)-t(i,n);case"<<":return t(r,n)<<t(i,n);case">>":return t(r,n)>>t(i,n);case">>>":return t(r,n)>>>t(i,n);case"==":return t(r,n)==t(i,n);case"===":return t(r,n)===t(i,n);case"!=":return t(r,n)!=t(i,n);case"!==":return t(r,n)!==t(i,n);case"<":return t(r,n)<t(i,n);case"<=":return t(r,n)<=t(i,n);case">":return t(r,n)>t(i,n);case">=":return t(r,n)>=t(i,n);case"in":return t(r,n)in t(i,n);case"instanceof":return t(r,n)instanceof t(i,n)}throw e}),e(Je,function(e){return t(this.condition,e)?t(this.consequent,e):t(this.alternative,e)}),e(lt,function(n){var r=this.definition();if(r&&r.constant&&r.init)return t(r.init,n);throw e}),e(Ie,function(n){if(n.option("unsafe")&&"length"==this.property){var r=t(this.expression,n);if("string"==typeof r)return r.length}throw e})}(function(e,t){e.DEFMETHOD("_eval",t)}),function(e){function n(e){return t(He,e,{operator:"!",expression:e})}e(Y,function(){return n(this)}),e(G,function(){throw new Error("Cannot negate a statement")}),e(me,function(){return n(this)}),e(He,function(){return"!"==this.operator?this.expression:n(this)}),e(qe,function(e){var t=this.clone();return t.cdr=t.cdr.negate(e),t}),e(Je,function(e){var t=this.clone();return t.consequent=t.consequent.negate(e),t.alternative=t.alternative.negate(e),l(n(this),t)}),e(We,function(e){var t=this.clone(),r=this.operator;if(e.option("unsafe_comps"))switch(r){case"<=":return t.operator=">",t;case"<":return t.operator=">=",t;case">=":return t.operator="<",t;case">":return t.operator="<=",t}switch(r){case"==":return t.operator="!=",t;case"!=":return t.operator="==",t;case"===":return t.operator="!==",t;case"!==":return t.operator="===",t;case"&&":return t.operator="||",t.left=t.left.negate(e),t.right=t.right.negate(e),l(n(this),t);case"||":return t.operator="&&",t.left=t.left.negate(e),t.right=t.right.negate(e),l(n(this),t)}return n(this)})}(function(e,t){e.DEFMETHOD("negate",function(e){return t.call(this,e)})}),function(e){e(Y,function(e){return!0}),e(te,function(e){return!1}),e(ht,function(e){return!1}),e(pt,function(e){return!1}),e(Ne,function(e){var t=e.option("pure_funcs");return!t||t.indexOf(this.expression.print_to_string())<0}),e(Z,function(e){for(var t=this.body.length;--t>=0;)if(this.body[t].has_side_effects(e))return!0;return!1}),e(K,function(e){return this.body.has_side_effects(e)}),e(ge,function(e){return!0}),e(me,function(e){return!1}),e(We,function(e){return this.left.has_side_effects(e)||this.right.has_side_effects(e)}),e(Ve,function(e){return!0}),e(Je,function(e){return this.condition.has_side_effects(e)||this.consequent.has_side_effects(e)||this.alternative.has_side_effects(e)}),e(ze,function(e){return"delete"==this.operator||"++"==this.operator||"--"==this.operator||this.expression.has_side_effects(e)}),e(lt,function(e){return this.global()&&this.undeclared()}),e(Ge,function(e){for(var t=this.properties.length;--t>=0;)if(this.properties[t].has_side_effects(e))return!0;return!1}),e(Xe,function(e){return this.value.has_side_effects(e)}),e(Ye,function(e){for(var t=this.elements.length;--t>=0;)if(this.elements[t].has_side_effects(e))return!0;return!1}),e(Ie,function(e){return!e.option("pure_getters")||this.expression.has_side_effects(e)}),e(Le,function(e){return!e.option("pure_getters")||this.expression.has_side_effects(e)||this.property.has_side_effects(e)}),e(Pe,function(e){return!e.option("pure_getters")}),e(qe,function(e){return this.car.has_side_effects(e)||this.cdr.has_side_effects(e)})}(function(e,t){e.DEFMETHOD("has_side_effects",t)}),function(e){function t(){var e=this.body.length;return e>0&&b(this.body[e-1])}e(G,function(){return null}),e(ve,function(){return this}),e(ee,t),e(Ce,t),e(ke,function(){return this.alternative&&b(this.body)&&b(this.alternative)&&this})}(function(e,t){e.DEFMETHOD("aborts",t)}),e(Q,function(e,n){return e.scope.has_directive(e.value)!==e.scope?t(te,e):e}),e(X,function(e,n){return n.option("drop_debugger")?t(te,e):e}),e(re,function(e,n){return e.body instanceof Ae&&n.loopcontrol_target(e.body.label)===e.body?t(te,e):0==e.label.references.length?e.body:e}),e(Z,function(e,t){return e.body=u(e.body,t),e}),e(ee,function(e,n){switch(e.body=u(e.body,n),e.body.length){case 1:return e.body[0];case 0:return t(te,e)}return e}),fe.DEFMETHOD("drop_unused",function(e){var n=this;if(e.option("unused")&&!(n instanceof pe)&&!n.uses_eval){var r=[],i=new y,s=this,a=new w(function(t,o){if(t!==n){if(t instanceof ge)return i.add(t.name.name,t),!0;if(t instanceof Oe&&s===n)return t.definitions.forEach(function(t){t.value&&(i.add(t.name.name,t.value),t.value.has_side_effects(e)&&t.value.walk(a))}),!0;if(t instanceof lt)return p(r,t.definition()),!0;if(t instanceof fe){var u=s;return s=t,o(),s=u,!0}}});n.walk(a);for(var u=0;u<r.length;++u)r[u].orig.forEach(function(e){var t=i.get(e.name);t&&t.forEach(function(e){var t=new w(function(e){e instanceof lt&&p(r,e.definition())});e.walk(t)})});var c=new q(function(i,s,a){if(i instanceof he&&!(i instanceof de)&&e.option("unsafe")&&!e.option("keep_fargs"))for(var u=i.argnames,l=u.length;--l>=0;){var f=u[l];if(!f.unreferenced())break;u.pop(),e.warn("Dropping unused function argument {name} [{file}:{line},{col}]",{name:f.name,file:f.start.file,line:f.start.line,col:f.start.col})}if(i instanceof ge&&i!==n)return o(i.name.definition(),r)?i:(e.warn("Dropping unused function {name} [{file}:{line},{col}]",{name:i.name.name,file:i.name.start.file,line:i.name.start.line,col:i.name.start.col}),t(te,i));if(i instanceof Oe&&!(c.parent()instanceof ce)){var p=i.definitions.filter(function(t){if(o(t.name.definition(),r))return!0;var n={name:t.name.name,file:t.name.start.file,line:t.name.start.line,col:t.name.start.col};return t.value&&t.value.has_side_effects(e)?(t._unused_side_effects=!0,e.warn("Side effects in initialization of unused variable {name} [{file}:{line},{col}]",n),!0):(e.warn("Dropping unused variable {name} [{file}:{line},{col}]",n),!1)});p=m(p,function(e,t){return!e.value&&t.value?-1:!t.value&&e.value?1:0});for(var h=[],l=0;l<p.length;){var d=p[l];d._unused_side_effects?(h.push(d.value),p.splice(l,1)):(h.length>0&&(h.push(d.value),d.value=qe.from_array(h),h=[]),++l)}return h=h.length>0?t(ee,i,{body:[t(K,i,{body:qe.from_array(h)})]}):null,0!=p.length||h?0==p.length?a?J.splice(h.body):h:(i.definitions=p,h?(h.body.unshift(i),a?J.splice(h.body):h):i):t(te,i)}if(i instanceof ue&&(s(i,this),i.init instanceof ee)){var g=i.init.body.slice(0,-1);return i.init=i.init.body.slice(-1)[0].body,g.push(i),a?J.splice(g):t(ee,i,{body:g})}return i instanceof fe&&i!==n?i:void 0});n.transform(c)}}),fe.DEFMETHOD("hoist_declarations",function(e){var n=e.option("hoist_funs"),r=e.option("hoist_vars"),i=this;if(n||r){var o=[],a=[],u=new y,c=0,l=0;i.walk(new w(function(e){return e instanceof fe&&e!==i||(e instanceof je?(++l,!0):void 0)})),r=r&&l>1;var f=new q(function(e){if(e!==i){if(e instanceof Q)return o.push(e),t(te,e);if(e instanceof ge&&n)return a.push(e),t(te,e);if(e instanceof je&&r){e.definitions.forEach(function(e){u.set(e.name.name,e),++c});var s=e.to_assignments(),l=f.parent();return l instanceof ce&&l.init===e?null==s?e.definitions[0].name:s:l instanceof ue&&l.init===e?s:s?t(K,e,{body:s}):t(te,e)}if(e instanceof fe)return e}});if(i=i.transform(f),c>0){var p=[];if(u.each(function(e,t){i instanceof he&&s(function(t){return t.name==e.name.name},i.argnames)?u.del(t):((e=e.clone()).value=null,p.push(e),u.set(t,e))}),p.length>0){for(var h=0;h<i.body.length;){if(i.body[h]instanceof K){var m,g,v=i.body[h].body;if(v instanceof Ve&&"="==v.operator&&(m=v.left)instanceof et&&u.has(m.name)){if((b=u.get(m.name)).value)break;b.value=v.right,d(p,b),p.push(b),i.body.splice(h,1);continue}if(v instanceof qe&&(g=v.car)instanceof Ve&&"="==g.operator&&(m=g.left)instanceof et&&u.has(m.name)){var b=u.get(m.name);if(b.value)break;b.value=g.right,d(p,b),p.push(b),i.body[h].body=v.cdr;continue}}if(i.body[h]instanceof te)i.body.splice(h,1);else{if(!(i.body[h]instanceof ee))break;var _=[h,1].concat(i.body[h].body);i.body.splice.apply(i.body,_)}}p=t(je,i,{definitions:p}),a.push(p)}}i.body=o.concat(a,i.body)}return i}),e(K,function(e,n){return n.option("side_effects")&&!e.body.has_side_effects(n)?(n.warn("Dropping side-effect-free statement [{file}:{line},{col}]",e.start),t(te,e)):e}),e(oe,function(e,n){var r=e.condition.evaluate(n);if(e.condition=r[0],!n.option("loops"))return e;if(r.length>1){if(r[1])return t(ue,e,{body:e.body});if(e instanceof ae&&n.option("dead_code")){var i=[];return c(n,e.body,i),t(ee,e,{body:i})}}return e}),e(ae,function(e,n){return n.option("loops")?((e=oe.prototype.optimize.call(e,n))instanceof ae&&(_(e,n),e=t(ue,e,e).transform(n)),e):e}),e(ue,function(e,n){var r=e.condition;if(r&&(r=r.evaluate(n),e.condition=r[0]),!n.option("loops"))return e;if(r&&r.length>1&&!r[1]&&n.option("dead_code")){var i=[];return e.init instanceof G?i.push(e.init):e.init&&i.push(t(K,e.init,{body:e.init})),c(n,e.body,i),t(ee,e,{body:i})}return _(e,n),e}),e(ke,function(e,n){if(!n.option("conditionals"))return e;var r=e.condition.evaluate(n);if(e.condition=r[0],r.length>1)if(r[1]){if(n.warn("Condition always true [{file}:{line},{col}]",e.condition.start),n.option("dead_code"))return o=[],e.alternative&&c(n,e.alternative,o),o.push(e.body),t(ee,e,{body:o}).transform(n)}else if(n.warn("Condition always false [{file}:{line},{col}]",e.condition.start),n.option("dead_code")){var o=[];return c(n,e.body,o),e.alternative&&o.push(e.alternative),t(ee,e,{body:o}).transform(n)}i(e.alternative)&&(e.alternative=null);var s=e.condition.negate(n),a=l(e.condition,s)===s;if(e.alternative&&a){a=!1,e.condition=s;var u=e.body;e.body=e.alternative||t(te),e.alternative=u}if(i(e.body)&&i(e.alternative))return t(K,e.condition,{body:e.condition}).transform(n);if(e.body instanceof K&&e.alternative instanceof K)return t(K,e,{body:t(Je,e,{condition:e.condition,consequent:e.body.body,alternative:e.alternative.body})}).transform(n);if(i(e.alternative)&&e.body instanceof K)return a?t(K,e,{body:t(We,e,{operator:"||",left:s,right:e.body.body})}).transform(n):t(K,e,{body:t(We,e,{operator:"&&",left:e.condition,right:e.body.body})}).transform(n);if(e.body instanceof te&&e.alternative&&e.alternative instanceof K)return t(K,e,{body:t(We,e,{operator:"||",left:e.condition,right:e.alternative.body})}).transform(n);if(e.body instanceof ye&&e.alternative instanceof ye&&e.body.TYPE==e.alternative.TYPE)return t(e.body.CTOR,e,{value:t(Je,e,{condition:e.condition,consequent:e.body.value||t(_t,e.body).optimize(n),alternative:e.alternative.value||t(_t,e.alternative).optimize(n)})}).transform(n);if(e.body instanceof ke&&!e.body.alternative&&!e.alternative&&(e.condition=t(We,e.condition,{operator:"&&",left:e.condition,right:e.body.condition}).transform(n),e.body=e.body.body),b(e.body)&&e.alternative){var f=e.alternative;return e.alternative=null,t(ee,e,{body:[e,f]}).transform(n)}if(b(e.alternative)){var p=e.body;return e.body=e.alternative,e.condition=a?s:e.condition.negate(n),e.alternative=null,t(ee,e,{body:[e,p]}).transform(n)}return e}),e(Ee,function(e,n){if(0==e.body.length&&n.option("conditionals"))return t(K,e,{body:e.expression}).transform(n);for(;;){var r=e.body[e.body.length-1];if(r){var i=r.body[r.body.length-1];if(i instanceof Ae&&a(n.loopcontrol_target(i.label))===e&&r.body.pop(),r instanceof Se&&0==r.body.length){e.body.pop();continue}}break}var o=e.expression.evaluate(n);e:if(2==o.length)try{if(e.expression=o[0],!n.option("dead_code"))break e;var s=o[1],u=!1,c=!1,l=!1,f=!1,p=!1,h=new q(function(r,i,o){if(r instanceof he||r instanceof K)return r;if(r instanceof Ee&&r===e)return r=r.clone(),i(r,this),p?r:t(ee,r,{body:r.body.reduce(function(e,t){return e.concat(t.body)},[])}).transform(n);if(r instanceof ke||r instanceof Be)return a=u,u=!c,i(r,this),u=a,r;if(r instanceof ne||r instanceof Ee){var a=c;return c=!0,i(r,this),c=a,r}if(r instanceof Ae&&this.loopcontrol_target(r.label)===e)return u?(p=!0,r):c?r:(f=!0,o?J.skip:t(te,r));if(r instanceof Ce&&this.parent()===e){if(f)return J.skip;if(r instanceof De){var h=r.expression.evaluate(n);if(h.length<2)throw e;return h[1]===s||l?(l=!0,b(r)&&(f=!0),i(r,this),r):J.skip}return i(r,this),r}});h.stack=n.stack.slice(),e=e.transform(h)}catch(t){if(t!==e)throw t}return e}),e(De,function(e,t){return e.body=u(e.body,t),e}),e(Be,function(e,t){return e.body=u(e.body,t),e}),Oe.DEFMETHOD("remove_initializers",function(){this.definitions.forEach(function(e){e.value=null})}),Oe.DEFMETHOD("to_assignments",function(){var e=this.definitions.reduce(function(e,n){if(n.value){var r=t(lt,n.name,n.name);e.push(t(Ve,n,{operator:"=",left:r,right:n.value}))}return e},[]);return 0==e.length?null:qe.from_array(e)}),e(Oe,function(e,n){return 0==e.definitions.length?t(te,e):e}),e(me,function(e,t){return e=he.prototype.optimize.call(e,t),t.option("unused")&&!t.option("keep_fnames")&&e.name&&e.name.unreferenced()&&(e.name=null),e}),e(Ne,function(e,r){if(r.option("unsafe")){var i=e.expression;if(i instanceof lt&&i.undeclared())switch(i.name){case"Array":if(1!=e.args.length)return t(Ye,e,{elements:e.args}).transform(r);break;case"Object":if(0==e.args.length)return t(Ge,e,{properties:[]});break;case"String":if(0==e.args.length)return t(dt,e,{value:""});if(e.args.length<=1)return t(We,e,{left:e.args[0],operator:"+",right:t(dt,e,{value:""})}).transform(r);break;case"Number":if(0==e.args.length)return t(mt,e,{value:0});if(1==e.args.length)return t(He,e,{expression:e.args[0],operator:"+"}).transform(r);case"Boolean":if(0==e.args.length)return t(kt,e);if(1==e.args.length)return t(He,e,{expression:t(He,null,{expression:e.args[0],operator:"!"}),operator:"!"}).transform(r);break;case"Function":if(0==e.args.length)return t(me,e,{argnames:[],body:[]});if(v(e.args,function(e){return e instanceof dt}))try{var o=R(c="(function("+e.args.slice(0,-1).map(function(e){return e.value}).join(",")+"){"+e.args[e.args.length-1].value+"})()");o.figure_out_scope({screw_ie8:r.option("screw_ie8")});var s=new L(r.options);(o=o.transform(s)).figure_out_scope({screw_ie8:r.option("screw_ie8")}),o.mangle_names();var a;try{o.walk(new w(function(e){if(e instanceof he)throw a=e,o}))}catch(e){if(e!==o)throw e}if(!a)return e;var u=a.argnames.map(function(n,r){return t(dt,e.args[r],{value:n.print_to_string()})}),c=I();return ee.prototype._codegen.call(a,a,c),c=c.toString().replace(/^\{|\}$/g,""),u.push(t(dt,e.args[e.args.length-1],{value:c})),e.args=u,e}catch(t){if(!(t instanceof j))throw t;r.warn("Error parsing code passed to new Function [{file}:{line},{col}]",e.args[e.args.length-1].start),r.warn(t.toString())}}else{if(i instanceof Ie&&"toString"==i.property&&0==e.args.length)return t(We,e,{left:t(dt,e,{value:""}),operator:"+",right:i.expression}).transform(r);if(i instanceof Ie&&i.expression instanceof Ye&&"join"==i.property){var f=0==e.args.length?",":e.args[0].evaluate(r)[1];if(null!=f){var p=i.expression.elements.reduce(function(e,t){if(t=t.evaluate(r),0==e.length||1==t.length)e.push(t);else{var i=e[e.length-1];if(2==i.length){var o=""+i[1]+f+t[1];e[e.length-1]=[n(r,o,i[0]),o]}else e.push(t)}return e},[]);if(0==p.length)return t(dt,e,{value:""});if(1==p.length)return p[0][0];if(""==f){var h;return h=p[0][0]instanceof dt||p[1][0]instanceof dt?p.shift()[0]:t(dt,e,{value:""}),p.reduce(function(e,n){return t(We,n[0],{operator:"+",left:e,right:n[0]})},h).transform(r)}var d=e.clone();return d.expression=d.expression.clone(),d.expression.expression=d.expression.expression.clone(),d.expression.expression.elements=p.map(function(e){return e[0]}),l(e,d)}}}}if(r.option("side_effects")&&e.expression instanceof me&&0==e.args.length&&!Z.prototype.has_side_effects.call(e.expression,r))return t(_t,e).transform(r);if(r.option("drop_console")&&e.expression instanceof Pe){for(var m=e.expression.expression;m.expression;)m=m.expression;if(m instanceof lt&&"console"==m.name&&m.undeclared())return t(_t,e).transform(r)}return e.evaluate(r)[0]}),e(Re,function(e,n){if(n.option("unsafe")){var r=e.expression;if(r instanceof lt&&r.undeclared())switch(r.name){case"Object":case"RegExp":case"Function":case"Error":case"Array":return t(Ne,e,e).transform(n)}}return e}),e(qe,function(e,n){if(!n.option("side_effects"))return e;if(!e.car.has_side_effects(n)){var r;if(!(e.cdr instanceof lt&&"eval"==e.cdr.name&&e.cdr.undeclared()&&(r=n.parent())instanceof Ne&&r.expression===e))return e.cdr}if(n.option("cascade")){if(e.car instanceof Ve&&!e.car.left.has_side_effects(n)){if(e.car.left.equivalent_to(e.cdr))return e.car;if(e.cdr instanceof Ne&&e.cdr.expression.equivalent_to(e.car.left))return e.cdr.expression=e.car,e.cdr}if(!e.car.has_side_effects(n)&&!e.cdr.has_side_effects(n)&&e.car.equivalent_to(e.cdr))return e.car}return e.cdr instanceof He&&"void"==e.cdr.operator&&!e.cdr.expression.has_side_effects(n)?(e.cdr.expression=e.car,e.cdr):e.cdr instanceof _t?t(He,e,{operator:"void",expression:e.car}):e}),ze.DEFMETHOD("lift_sequences",function(e){if(e.option("sequences")&&this.expression instanceof qe){var t=this.expression,n=t.to_array();return this.expression=n.pop(),n.push(this),t=qe.from_array(n).transform(e)}return this}),e(Ue,function(e,t){return e.lift_sequences(t)}),e(He,function(e,n){var r=(e=e.lift_sequences(n)).expression;if(n.option("booleans")&&n.in_boolean_context()){switch(e.operator){case"!":if(r instanceof He&&"!"==r.operator)return r.expression;break;case"typeof":return n.warn("Boolean expression always true [{file}:{line},{col}]",e.start),t(Et,e)}r instanceof We&&"!"==e.operator&&(e=l(e,r.negate(n)))}return e.evaluate(n)[0]}),We.DEFMETHOD("lift_sequences",function(e){if(e.option("sequences")){if(this.left instanceof qe)return n=(t=this.left).to_array(),this.left=n.pop(),n.push(this),t=qe.from_array(n).transform(e);if(this.right instanceof qe&&this instanceof Ve&&!function(e,t){var n=t.option("pure_getters");t.options.pure_getters=!1;var r=e.has_side_effects(t);return t.options.pure_getters=n,r}(this.left,e)){var t=this.right,n=t.to_array();return this.right=n.pop(),n.push(this),t=qe.from_array(n).transform(e)}}return this});var x=g("== === != !== * & | ^");e(We,function(e,n){var r=n.has_directive("use asm")?f:function(t,r){if(r||!e.left.has_side_effects(n)&&!e.right.has_side_effects(n)){t&&(e.operator=t);var i=e.left;e.left=e.right,e.right=i}};if(x(e.operator)&&(e.right instanceof ht&&!(e.left instanceof ht)&&(e.left instanceof We&&Ut[e.left.operator]>=Ut[e.operator]||r(null,!0)),/^[!=]==?$/.test(e.operator))){if(e.left instanceof lt&&e.right instanceof Je){if(e.right.consequent instanceof lt&&e.right.consequent.definition()===e.left.definition()){if(/^==/.test(e.operator))return e.right.condition;if(/^!=/.test(e.operator))return e.right.condition.negate(n)}if(e.right.alternative instanceof lt&&e.right.alternative.definition()===e.left.definition()){if(/^==/.test(e.operator))return e.right.condition.negate(n);if(/^!=/.test(e.operator))return e.right.condition}}if(e.right instanceof lt&&e.left instanceof Je){if(e.left.consequent instanceof lt&&e.left.consequent.definition()===e.right.definition()){if(/^==/.test(e.operator))return e.left.condition;if(/^!=/.test(e.operator))return e.left.condition.negate(n)}if(e.left.alternative instanceof lt&&e.left.alternative.definition()===e.right.definition()){if(/^==/.test(e.operator))return e.left.condition.negate(n);if(/^!=/.test(e.operator))return e.left.condition}}}if(e=e.lift_sequences(n),n.option("comparisons"))switch(e.operator){case"===":case"!==":(e.left.is_string(n)&&e.right.is_string(n)||e.left.is_boolean()&&e.right.is_boolean())&&(e.operator=e.operator.substr(0,2));case"==":case"!=":e.left instanceof dt&&"undefined"==e.left.value&&e.right instanceof He&&"typeof"==e.right.operator&&n.option("unsafe")&&(e.right.expression instanceof lt&&e.right.expression.undeclared()||(e.right=e.right.expression,e.left=t(_t,e.left).optimize(n),2==e.operator.length&&(e.operator+="=")))}if(n.option("conditionals"))if("&&"==e.operator){var i=e.left.evaluate(n),o=e.right.evaluate(n);if(i.length>1)return i[1]?(n.warn("Condition left of && always true [{file}:{line},{col}]",e.start),o[0]):(n.warn("Condition left of && always false [{file}:{line},{col}]",e.start),i[0])}else if("||"==e.operator){var i=e.left.evaluate(n),o=e.right.evaluate(n);if(i.length>1)return i[1]?(n.warn("Condition left of || always true [{file}:{line},{col}]",e.start),i[0]):(n.warn("Condition left of || always false [{file}:{line},{col}]",e.start),o[0])}if(n.option("booleans")&&n.in_boolean_context())switch(e.operator){case"&&":var i=e.left.evaluate(n),o=e.right.evaluate(n);if(i.length>1&&!i[1]||o.length>1&&!o[1])return n.warn("Boolean && always false [{file}:{line},{col}]",e.start),e.left.has_side_effects(n)?t(qe,e,{car:e.left,cdr:t(kt)}).optimize(n):t(kt,e);if(i.length>1&&i[1])return o[0];if(o.length>1&&o[1])return i[0];break;case"||":var i=e.left.evaluate(n),o=e.right.evaluate(n);if(i.length>1&&i[1]||o.length>1&&o[1])return n.warn("Boolean || always true [{file}:{line},{col}]",e.start),e.left.has_side_effects(n)?t(qe,e,{car:e.left,cdr:t(Et)}).optimize(n):t(Et,e);if(i.length>1&&!i[1])return o[0];if(o.length>1&&!o[1])return i[0];break;case"+":var i=e.left.evaluate(n),o=e.right.evaluate(n);if(i.length>1&&i[0]instanceof dt&&i[1]||o.length>1&&o[0]instanceof dt&&o[1])return n.warn("+ in boolean context always true [{file}:{line},{col}]",e.start),t(Et,e)}if(n.option("comparisons")&&e.is_boolean()){if(!(n.parent()instanceof We)||n.parent()instanceof Ve){var s=t(He,e,{operator:"!",expression:e.negate(n)});e=l(e,s)}switch(e.operator){case"<":r(">");break;case"<=":r(">=")}}return"+"==e.operator&&e.right instanceof dt&&""===e.right.getValue()&&e.left instanceof We&&"+"==e.left.operator&&e.left.is_string(n)?e.left:(n.option("evaluate")&&"+"==e.operator&&(e.left instanceof ht&&e.right instanceof We&&"+"==e.right.operator&&e.right.left instanceof ht&&e.right.is_string(n)&&(e=t(We,e,{operator:"+",left:t(dt,null,{value:""+e.left.getValue()+e.right.left.getValue(),start:e.left.start,end:e.right.left.end}),right:e.right.right})),e.right instanceof ht&&e.left instanceof We&&"+"==e.left.operator&&e.left.right instanceof ht&&e.left.is_string(n)&&(e=t(We,e,{operator:"+",left:e.left.left,right:t(dt,null,{value:""+e.left.right.getValue()+e.right.getValue(),start:e.left.right.start,end:e.right.end})})),e.left instanceof We&&"+"==e.left.operator&&e.left.is_string(n)&&e.left.right instanceof ht&&e.right instanceof We&&"+"==e.right.operator&&e.right.left instanceof ht&&e.right.is_string(n)&&(e=t(We,e,{operator:"+",left:t(We,e.left,{operator:"+",left:e.left.left,right:t(dt,null,{value:""+e.left.right.getValue()+e.right.left.getValue(),start:e.left.right.start,end:e.right.left.end})}),right:e.right.right}))),e.right instanceof We&&e.right.operator==e.operator&&("&&"==e.operator||"||"==e.operator)?(e.left=t(We,e.left,{operator:e.operator,left:e.left,right:e.right.left}),e.right=e.right.right,e.transform(n)):e.evaluate(n)[0])}),e(lt,function(e,r){if(e.undeclared()){var i=r.option("global_defs");if(i&&i.hasOwnProperty(e.name))return n(r,i[e.name],e);switch(e.name){case"undefined":return t(_t,e);case"NaN":return t(bt,e).transform(r);case"Infinity":return t(At,e).transform(r)}}return e}),e(At,function(e,n){return t(We,e,{operator:"/",left:t(mt,e,{value:1}),right:t(mt,e,{value:0})})}),e(_t,function(e,n){if(n.option("unsafe")){var r=n.find_parent(fe),i=r.find_variable("undefined");if(i){var o=t(lt,e,{name:"undefined",scope:r,thedef:i});return o.reference(),o}}return e});var k=["+","-","/","*","%",">>","<<",">>>","|","^","&"];e(Ve,function(e,t){return"="==(e=e.lift_sequences(t)).operator&&e.left instanceof lt&&e.right instanceof We&&e.right.left instanceof lt&&e.right.left.name==e.left.name&&o(e.right.operator,k)&&(e.operator=e.right.operator+"=",e.right=e.right.right),e}),e(Je,function(e,r){if(!r.option("conditionals"))return e;if(e.condition instanceof qe){var i=e.condition.car;return e.condition=e.condition.cdr,qe.cons(i,e)}var o=e.condition.evaluate(r);if(o.length>1)return o[1]?(r.warn("Condition always true [{file}:{line},{col}]",e.start),e.consequent):(r.warn("Condition always false [{file}:{line},{col}]",e.start),e.alternative);var s=o[0].negate(r);l(o[0],s)===s&&(e=t(Je,e,{condition:s,consequent:e.alternative,alternative:e.consequent}));var a=e.consequent,u=e.alternative;if(a instanceof Ve&&u instanceof Ve&&a.operator==u.operator&&a.left.equivalent_to(u.left)&&!a.left.has_side_effects(r))return t(Ve,e,{operator:a.operator,left:a.left,right:t(Je,e,{condition:e.condition,consequent:a.right,alternative:u.right})});if(a instanceof Ne&&u.TYPE===a.TYPE&&a.args.length==u.args.length&&!a.expression.has_side_effects(r)&&a.expression.equivalent_to(u.expression)){if(0==a.args.length)return t(qe,e,{car:e.condition,cdr:a});if(1==a.args.length)return a.args[0]=t(Je,e,{condition:e.condition,consequent:a.args[0],alternative:u.args[0]}),a}return a instanceof Je&&a.alternative.equivalent_to(u)?t(Je,e,{condition:t(We,e,{left:e.condition,operator:"&&",right:a.condition}),consequent:a.consequent,alternative:u}):a instanceof ht&&u instanceof ht&&a.equivalent_to(u)?e.condition.has_side_effects(r)?qe.from_array([e.condition,n(r,a.value,e)]):n(r,a.value,e):a instanceof Et&&u instanceof kt?(e.condition=e.condition.negate(r),t(He,e.condition,{operator:"!",expression:e.condition})):a instanceof kt&&u instanceof Et?e.condition.negate(r):e}),e(xt,function(e,n){if(n.option("booleans")){var r=n.parent();return r instanceof We&&("=="==r.operator||"!="==r.operator)?(n.warn("Non-strict equality against boolean: {operator} {value} [{file}:{line},{col}]",{operator:r.operator,value:e.value,file:r.start.file,line:r.start.line,col:r.start.col}),t(mt,e,{value:+e.value})):t(He,e,{operator:"!",expression:t(mt,e,{value:1-e.value})})}return e}),e(Le,function(e,n){var r=e.property;if(r instanceof dt&&n.option("properties")){if(r=r.getValue(),Dt(r)?n.option("screw_ie8"):T(r))return t(Ie,e,{expression:e.expression,property:r}).optimize(n);var i=parseFloat(r);isNaN(i)||i.toString()!=r||(e.property=t(mt,e.property,{value:i}))}return e}),e(Ie,function(e,n){var r=e.property;return Dt(r)&&!n.option("screw_ie8")?t(Le,e,{expression:e.expression,property:t(dt,e,{value:r})}).optimize(n):e.evaluate(n)[0]}),e(Ye,A),e(Ge,A),e(gt,A)}(),function(){function e(e){var t=e.loc,n=t&&t.start,r=e.range;return new V({file:t&&t.source,line:n&&n.line,col:n&&n.column,pos:r?r[0]:e.start,endline:n&&n.line,endcol:n&&n.column,endpos:r?r[0]:e.start})}function t(e){var t=e.loc,n=t&&t.end,r=e.range;return new V({file:t&&t.source,line:n&&n.line,col:n&&n.column,pos:r?r[1]:e.end,endline:n&&n.line,endcol:n&&n.column,endpos:r?r[1]:e.end})}function n(n,u,c){var l="function From_Moz_"+n+"(M){\n";l+="return new "+u.name+"({\nstart: my_start_token(M),\nend: my_end_token(M)";var f="function To_Moz_"+n+"(M){\n";f+="return {\ntype: "+JSON.stringify(n),c&&c.split(/\s*,\s*/).forEach(function(e){var t=/([a-z0-9$_]+)(=|@|>|%)([a-z0-9$_]+)/i.exec(e);if(!t)throw new Error("Can't understand property map: "+e);var n=t[1],r=t[2],i=t[3];switch(l+=",\n"+i+": ",f+=",\n"+n+": ",r){case"@":l+="M."+n+".map(from_moz)",f+="M."+i+".map(to_moz)";break;case">":l+="from_moz(M."+n+")",f+="to_moz(M."+i+")";break;case"=":l+="M."+n,f+="M."+i;break;case"%":l+="from_moz(M."+n+").body",f+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+e)}}),l+="\n})\n}",f+="\n}\n}",l=new Function("my_start_token","my_end_token","from_moz","return("+l+")")(e,t,r),f=new Function("to_moz","to_moz_block","return("+f+")")(o,s),a[n]=l,i(u,f)}function r(e){u.push(e);var t=null!=e?a[e.type](e):null;return u.pop(),t}function i(e,t){e.DEFMETHOD("to_mozilla_ast",function(){return function(e,t,n){var r=e.start,i=e.end;return null!=r.pos&&null!=i.endpos&&(t.range=[r.pos,i.endpos]),r.line&&(t.loc={start:{line:r.line,column:r.col},end:i.endline?{line:i.endline,column:i.endcol}:null},r.file&&(t.loc.source=r.file)),t}(this,t(this))})}function o(e){return null!=e?e.to_mozilla_ast():null}function s(e){return{type:"BlockStatement",body:e.body.map(o)}}var a={ExpressionStatement:function(n){var i=n.expression;return"Literal"===i.type&&"string"==typeof i.value?new Q({start:e(n),end:t(n),value:i.value}):new K({start:e(n),end:t(n),body:r(i)})},TryStatement:function(n){var i=n.handlers||[n.handler];if(i.length>1||n.guardedHandlers&&n.guardedHandlers.length)throw new Error("Multiple catch clauses are not supported.");return new Be({start:e(n),end:t(n),body:r(n.block).body,bcatch:r(i[0]),bfinally:n.finalizer?new Te(r(n.finalizer)):null})},Property:function(n){var i=n.key,o="Identifier"==i.type?i.name:i.value,s={start:e(i),end:t(n.value),key:o,value:r(n.value)};switch(n.kind){case"init":return new Qe(s);case"set":return s.value.name=r(i),new Ke(s);case"get":return s.value.name=r(i),new Ze(s)}},ObjectExpression:function(n){return new Ge({start:e(n),end:t(n),properties:n.properties.map(function(e){return e.type="Property",r(e)})})},SequenceExpression:function(e){return qe.from_array(e.expressions.map(r))},MemberExpression:function(n){return new(n.computed?Le:Ie)({start:e(n),end:t(n),property:n.computed?r(n.property):n.property.name,expression:r(n.object)})},SwitchCase:function(n){return new(n.test?De:Se)({start:e(n),end:t(n),expression:r(n.test),body:n.consequent.map(r)})},VariableDeclaration:function(n){return new("const"===n.kind?Me:je)({start:e(n),end:t(n),definitions:n.declarations.map(r)})},Literal:function(n){var r=n.value,i={start:e(n),end:t(n)};if(null===r)return new yt(i);switch(typeof r){case"string":return i.value=r,new dt(i);case"number":return i.value=r,new mt(i);case"boolean":return new(r?Et:kt)(i);default:return i.value=r,new gt(i)}},Identifier:function(n){var r=u[u.length-2];return new("LabeledStatement"==r.type?ct:"VariableDeclarator"==r.type&&r.id===n?"const"==r.kind?it:rt:"FunctionExpression"==r.type?r.id===n?at:ot:"FunctionDeclaration"==r.type?r.id===n?st:ot:"CatchClause"==r.type?ut:"BreakStatement"==r.type||"ContinueStatement"==r.type?ft:lt)({start:e(n),end:t(n),name:n.name})}};a.UpdateExpression=a.UnaryExpression=function(n){return new(("prefix"in n?n.prefix:"UnaryExpression"==n.type)?He:Ue)({start:e(n),end:t(n),operator:n.operator,expression:r(n.argument)})},n("Program",pe,"body@body"),n("EmptyStatement",te),n("BlockStatement",ee,"body@body"),n("IfStatement",ke,"test>condition, consequent>body, alternate>alternative"),n("LabeledStatement",re,"label>label, body>body"),n("BreakStatement",Ae,"label>label"),n("ContinueStatement",xe,"label>label"),n("WithStatement",le,"object>expression, body>body"),n("SwitchStatement",Ee,"discriminant>expression, cases@body"),n("ReturnStatement",be,"argument>value"),n("ThrowStatement",_e,"argument>value"),n("WhileStatement",ae,"test>condition, body>body"),n("DoWhileStatement",se,"test>condition, body>body"),n("ForStatement",ue,"init>init, test>condition, update>step, body>body"),n("ForInStatement",ce,"left>init, right>object, body>body"),n("DebuggerStatement",X),n("FunctionDeclaration",ge,"id>name, params@argnames, body%body"),n("VariableDeclarator",$e,"id>name, init>value"),n("CatchClause",Fe,"param>argname, body%body"),n("ThisExpression",pt),n("ArrayExpression",Ye,"elements@elements"),n("FunctionExpression",me,"id>name, params@argnames, body%body"),n("BinaryExpression",We,"operator=operator, left>left, right>right"),n("LogicalExpression",We,"operator=operator, left>left, right>right"),n("AssignmentExpression",Ve,"operator=operator, left>left, right>right"),n("ConditionalExpression",Je,"test>condition, consequent>consequent, alternate>alternative"),n("NewExpression",Re,"callee>expression, arguments@args"),n("CallExpression",Ne,"callee>expression, arguments@args"),i(Q,function(e){return{type:"ExpressionStatement",expression:{type:"Literal",value:e.value}}}),i(K,function(e){return{type:"ExpressionStatement",expression:o(e.body)}}),i(Ce,function(e){return{type:"SwitchCase",test:o(e.expression),consequent:e.body.map(o)}}),i(Be,function(e){return{type:"TryStatement",block:s(e),handler:o(e.bcatch),guardedHandlers:[],finalizer:o(e.bfinally)}}),i(Fe,function(e){return{type:"CatchClause",param:o(e.argname),guard:null,body:s(e)}}),i(Oe,function(e){return{type:"VariableDeclaration",kind:e instanceof Me?"const":"var",declarations:e.definitions.map(o)}}),i(qe,function(e){return{type:"SequenceExpression",expressions:e.to_array().map(o)}}),i(Pe,function(e){var t=e instanceof Le;return{type:"MemberExpression",object:o(e.expression),computed:t,property:t?o(e.property):{type:"Identifier",name:e.property}}}),i(ze,function(e){return{type:"++"==e.operator||"--"==e.operator?"UpdateExpression":"UnaryExpression",operator:e.operator,prefix:e instanceof He,argument:o(e.expression)}}),i(We,function(e){return{type:"&&"==e.operator||"||"==e.operator?"LogicalExpression":"BinaryExpression",left:o(e.left),operator:e.operator,right:o(e.right)}}),i(Ge,function(e){return{type:"ObjectExpression",properties:e.properties.map(o)}}),i(Xe,function(e){var t,n=D(e.key)?{type:"Identifier",name:e.key}:{type:"Literal",value:e.key};return e instanceof Qe?t="init":e instanceof Ze?t="get":e instanceof Ke&&(t="set"),{type:"Property",kind:t,key:n,value:o(e.value)}}),i(et,function(e){var t=e.definition();return{type:"Identifier",name:t?t.mangled_name||t.name:e.name}}),i(ht,function(e){var t=e.value;return"number"==typeof t&&(t<0||0===t&&1/t<0)?{type:"UnaryExpression",operator:"-",prefix:!0,argument:{type:"Literal",value:-t}}:{type:"Literal",value:t}}),i(vt,function(e){return{type:"Identifier",name:String(e.value)}}),xt.DEFMETHOD("to_mozilla_ast",ht.prototype.to_mozilla_ast),yt.DEFMETHOD("to_mozilla_ast",ht.prototype.to_mozilla_ast),wt.DEFMETHOD("to_mozilla_ast",function(){return null}),Z.DEFMETHOD("to_mozilla_ast",ee.prototype.to_mozilla_ast),he.DEFMETHOD("to_mozilla_ast",me.prototype.to_mozilla_ast);var u=null;Y.from_mozilla_ast=function(e){var t=u;u=[];var n=r(e);return u=t,n}}(),n.sys=H,n.MOZ_SourceMap=U,n.UglifyJS=W,n.array_to_hash=r,n.slice=function(e,t){return Array.prototype.slice.call(e,t||0)},n.characters=i,n.member=o,n.find_if=s,n.repeat_string=a,n.DefaultsError=u,n.defaults=c,n.merge=l,n.noop=f,n.MAP=J,n.push_uniq=p,n.string_template=h,n.remove=d,n.mergeSort=m,n.set_difference=function(e,t){return e.filter(function(e){return t.indexOf(e)<0})},n.set_intersection=function(e,t){return e.filter(function(e){return t.indexOf(e)>=0})},n.makePredicate=g,n.all=v,n.Dictionary=y,n.DEFNODE=b,n.AST_Token=V,n.AST_Node=Y,n.AST_Statement=G,n.AST_Debugger=X,n.AST_Directive=Q,n.AST_SimpleStatement=K,n.walk_body=_,n.AST_Block=Z,n.AST_BlockStatement=ee,n.AST_EmptyStatement=te,n.AST_StatementWithBody=ne,n.AST_LabeledStatement=re,n.AST_IterationStatement=ie,n.AST_DWLoop=oe,n.AST_Do=se,n.AST_While=ae,n.AST_For=ue,n.AST_ForIn=ce,n.AST_With=le,n.AST_Scope=fe,n.AST_Toplevel=pe,n.AST_Lambda=he,n.AST_Accessor=de,n.AST_Function=me,n.AST_Defun=ge,n.AST_Jump=ve,n.AST_Exit=ye,n.AST_Return=be,n.AST_Throw=_e,n.AST_LoopControl=we,n.AST_Break=Ae,n.AST_Continue=xe,n.AST_If=ke,n.AST_Switch=Ee,n.AST_SwitchBranch=Ce,n.AST_Default=Se,n.AST_Case=De,n.AST_Try=Be,n.AST_Catch=Fe,n.AST_Finally=Te,n.AST_Definitions=Oe,n.AST_Var=je,n.AST_Const=Me,n.AST_VarDef=$e,n.AST_Call=Ne,n.AST_New=Re,n.AST_Seq=qe,n.AST_PropAccess=Pe,n.AST_Dot=Ie,n.AST_Sub=Le,n.AST_Unary=ze,n.AST_UnaryPrefix=He,n.AST_UnaryPostfix=Ue,n.AST_Binary=We,n.AST_Conditional=Je,n.AST_Assign=Ve,n.AST_Array=Ye,n.AST_Object=Ge,n.AST_ObjectProperty=Xe,n.AST_ObjectKeyVal=Qe,n.AST_ObjectSetter=Ke,n.AST_ObjectGetter=Ze,n.AST_Symbol=et,n.AST_SymbolAccessor=tt,n.AST_SymbolDeclaration=nt,n.AST_SymbolVar=rt,n.AST_SymbolConst=it,n.AST_SymbolFunarg=ot,n.AST_SymbolDefun=st,n.AST_SymbolLambda=at,n.AST_SymbolCatch=ut,n.AST_Label=ct,n.AST_SymbolRef=lt,n.AST_LabelRef=ft,n.AST_This=pt,n.AST_Constant=ht,n.AST_String=dt,n.AST_Number=mt,n.AST_RegExp=gt,n.AST_Atom=vt,n.AST_Null=yt,n.AST_NaN=bt,n.AST_Undefined=_t,n.AST_Hole=wt,n.AST_Infinity=At,n.AST_Boolean=xt,n.AST_False=kt,n.AST_True=Et,n.TreeWalker=w,n.KEYWORDS=Ct,n.KEYWORDS_ATOM=St,n.RESERVED_WORDS=Dt,n.KEYWORDS_BEFORE_EXPRESSION=Bt,n.OPERATOR_CHARS=Ft,n.RE_HEX_NUMBER=Tt,n.RE_OCT_NUMBER=Ot,n.RE_DEC_NUMBER=jt,n.OPERATORS=Mt,n.WHITESPACE_CHARS=$t,n.PUNC_BEFORE_EXPRESSION=Nt,n.PUNC_CHARS=Rt,n.REGEXP_MODIFIERS=qt,n.UNICODE=Pt,n.is_letter=A,n.is_digit=x,n.is_alphanumeric_char=k,n.is_unicode_digit=E,n.is_unicode_combining_mark=C,n.is_unicode_connector_punctuation=S,n.is_identifier=D,n.is_identifier_start=B,n.is_identifier_char=F,n.is_identifier_string=T,n.parse_js_number=O,n.JS_Parse_Error=j,n.js_error=M,n.is_token=$,n.EX_EOF=It,n.tokenizer=N,n.UNARY_PREFIX=Lt,n.UNARY_POSTFIX=zt,n.ASSIGNMENT=Ht,n.PRECEDENCE=Ut,n.STATEMENTS_WITH_LABELS=Wt,n.ATOMIC_START_TOKEN=Jt,n.parse=R,n.TreeTransformer=q,n.SymbolDef=P,n.base54=Vt,n.OutputStream=I,n.Compressor=L,n.SourceMap=function(e){var t,n=(e=c(e,{file:null,root:null,orig:null,orig_line_diff:0,dest_line_diff:0})).orig&&new U.SourceMapConsumer(e.orig);return t=n?U.SourceMapGenerator.fromSourceMap(n):new U.SourceMapGenerator({file:e.file,sourceRoot:e.root}),{add:function(r,i,o,s,a,u){if(n){var c=n.originalPositionFor({line:s,column:a});if(null===c.source)return;r=c.source,s=c.line,a=c.column,u=c.name||u}t.addMapping({generated:{line:i+e.dest_line_diff,column:o},original:{line:s+e.orig_line_diff,column:a},source:r,name:u})},get:function(){return t},toString:function(){return JSON.stringify(t.toJSON())}}},n.find_builtins=z,n.mangle_properties=function(e,t){function n(e){return!(a.indexOf(e)>=0)&&(t.only_cache?u.props.has(e):!/^[0-9.]+$/.test(e))}function r(e){return!(l&&!l.test(e))&&!(a.indexOf(e)>=0)&&(u.props.has(e)||f.indexOf(e)>=0)}function i(e){n(e)&&p(f,e)}function o(e){var t=u.props.get(e);if(!t){do{t=Vt(++u.cname)}while(!n(t));u.props.set(e,t)}return t}function s(e){return e.transform(new q(function(e){return e instanceof qe?e.cdr=s(e.cdr):e instanceof dt?r(e.value)&&(e.value=o(e.value)):e instanceof Je&&(e.consequent=s(e.consequent),e.alternative=s(e.alternative)),e}))}var a=(t=c(t,{reserved:null,cache:null,only_cache:!1,regex:null})).reserved;null==a&&(a=z());var u=t.cache;null==u&&(u={cname:-1,props:new y});var l=t.regex,f=[];return e.walk(new w(function(e){e instanceof Qe?i(e.key):e instanceof Xe?i(e.key.name):e instanceof Ie?this.parent()instanceof Ve&&i(e.property):e instanceof Le&&this.parent()instanceof Ve&&function(e){var t={};try{!function e(n){n.walk(new w(function(n){if(n instanceof qe)return e(n.cdr),!0;if(n instanceof dt)return i(n.value),!0;if(n instanceof Je)return e(n.consequent),e(n.alternative),!0;throw t}))}(e)}catch(e){if(e!==t)throw e}}(e.property)})),e.transform(new q(function(e){e instanceof Qe?r(e.key)&&(e.key=o(e.key)):e instanceof Xe?r(e.key.name)&&(e.key.name=o(e.key.name)):e instanceof Ie?r(e.property)&&(e.property=o(e.property)):e instanceof Le&&(e.property=s(e.property))}))},n.AST_Node.warn_function=function(e){"undefined"!=typeof console&&console.warn},n.minify=function(e,t){t=W.defaults(t,{spidermonkey:!1,outSourceMap:null,sourceRoot:null,inSourceMap:null,fromString:!1,warnings:!1,mangle:{},output:null,compress:{}}),W.base54.reset();var n=null,r={};if(t.spidermonkey?n=W.AST_Node.from_mozilla_ast(e):("string"==typeof e&&(e=[e]),e.forEach(function(e){var i=t.fromString?e:fs.readFileSync(e,"utf8");r[e]=i,n=W.parse(i,{filename:t.fromString?"?":e,toplevel:n})})),t.compress){var i={warnings:t.warnings};W.merge(i,t.compress),n.figure_out_scope();var o=W.Compressor(i);n=n.transform(o)}t.mangle&&(n.figure_out_scope(t.mangle),n.compute_char_frequency(t.mangle),n.mangle_names(t.mangle));var s=t.inSourceMap,a={};if("string"==typeof t.inSourceMap&&(s=fs.readFileSync(t.inSourceMap,"utf8")),t.outSourceMap&&(a.source_map=W.SourceMap({file:t.outSourceMap,orig:s,root:t.sourceRoot}),t.sourceMapIncludeSources))for(var u in r)r.hasOwnProperty(u)&&a.source_map.get().setSourceContent(u,r[u]);t.output&&W.merge(a,t.output);var c=W.OutputStream(a);n.print(c),t.outSourceMap&&(c+="\n//# sourceMappingURL="+t.outSourceMap);var l=a.source_map;return l&&(l+=""),{code:c+"",map:l}},n.describe_ast=function(){function e(n){t.print("AST_"+n.TYPE);var r=n.SELF_PROPS.filter(function(e){return!/^\$/.test(e)});r.length>0&&(t.space(),t.with_parens(function(){r.forEach(function(e,n){n&&t.space(),t.print(e)})})),n.documentation&&(t.space(),t.print_string(n.documentation)),n.SUBCLASSES.length>0&&(t.space(),t.with_block(function(){n.SUBCLASSES.forEach(function(n,r){t.indent(),e(n),t.newline()})}))}var t=W.OutputStream({beautify:!0});return e(W.AST_Node),t+""}},{"source-map":36,util:6}],46:[function(e,t,n){"use strict";function r(e){var t=i.parse("(function () {"+e+"}())");return t.figure_out_scope(),t.globals.map(function(e,t){return t})}var i=e("uglify-js");t.exports=function(e,t,n){e+="",t+="",n=(n=n||[]).concat(r(e));var o=r(t).filter(function(e){return-1===n.indexOf(e)});if(0===o.length)return t;var s="",a="locals_for_with",u="result_of_with";if(/^[a-zA-Z0-9$_]+$/.test(e))a=e;else{for(;-1!=o.indexOf(a)||-1!=n.indexOf(a);)a+="_";s="var "+a+" = ("+e+")"}for(;-1!=o.indexOf(u)||-1!=n.indexOf(u);)u+="_";var c=o.map(function(e){return JSON.stringify(e)+" in "+a+"?"+a+"."+e+":typeof "+e+'!=="undefined"?'+e+":undefined"});return t="(function ("+o.join(", ")+") {"+t+"}.call(this"+c.map(function(e){return","+e}).join("")+"))",";"+s+";"+function(e,t){var n,r=e,o=!1,s=i.parse(e);if(e=e.split(""),1!==(n=s.body).length||"SimpleStatement"!==(n=n[0]).TYPE||"Call"!==(n=n.body).TYPE||"Dot"!==(n=n.expression).TYPE||"call"!==n.property||"Function"!==(n=n.expression).TYPE)throw new Error("AST does not seem to represent a self-calling function");var a=n,u=new i.TreeWalker(function(t,n){return t!==a&&("Defun"===t.TYPE||"Function"===t.TYPE)||("Return"===t.TYPE?(n(),o=!0,function(t,n){for(var r=t.start.pos;r<t.end.endpos;r++)e[r]="";e[t.start.pos]=n}(t,"return {value: "+function(t){return e.slice(t.start.pos,t.end.endpos).join("")}(t.value)+"};"),!0):void 0)});return s.walk(u),o?"var "+t+"="+e.join("")+";if ("+t+") return "+t+".value":r}(t,u)+";"}},{"uglify-js":45}]},{},[10])(10)});