From 1a47ab79fd6b1b20f30ce16f6039cac7798cb8e3 Mon Sep 17 00:00:00 2001 From: Ross Allen Date: Fri, 20 Feb 2015 19:13:13 -0800 Subject: [PATCH] Increment v0.7.0 with change to `DOMContentLoaded` --- package.json | 2 +- public/dist/reactize.min.js | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 4788964..b659a48 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "turbo-react", - "version": "0.6.1", + "version": "0.7.0", "description": "A JavaScript library that transitions between static HTML pages on navigation; no app server required.", "main": "./public/dist/reactize.min.js", "scripts": { diff --git a/public/dist/reactize.min.js b/public/dist/reactize.min.js index 617acab..cae5ce2 100644 --- a/public/dist/reactize.min.js +++ b/public/dist/reactize.min.js @@ -1,7 +1,7 @@ -!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(module,exports,__webpack_require__){(function(global){"use strict";function applyBodyDiff(){Reactize.applyDiff(document.body,document.body),global.removeEventListener("load",applyBodyDiff)}var HTMLtoJSX=__webpack_require__(92),JSXTransformer=__webpack_require__(93),React=__webpack_require__(180),Turbolinks=__webpack_require__(91);Turbolinks.pagesCached(0);var converter=new HTMLtoJSX({createClass:!1}),nextDocument,Reactize={version:"0.6.1",applyDiff:function(e,t){try{var n=Reactize.reactize(e);React.render(n,t)}catch(r){void 0!==nextDocument&&void 0!==nextDocument.URL&&(window.location.href=nextDocument.URL)}},reactize:function(element){var code=JSXTransformer.transform(converter.convert(element.innerHTML));return eval(code)}};document.addEventListener("page:before-unload",function(e){nextDocument=e.target}),global.addEventListener("load",applyBodyDiff),global.document.documentElement.replaceChild=Reactize.applyDiff,global.Turbolinks=Turbolinks,global.Reactize=Reactize,module.exports=Reactize}).call(exports,function(){return this}())},function(e){function t(){}var n=e.exports={};n.nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.MutationObserver,n="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};var r=[];if(t){var o=document.createElement("div"),a=new MutationObserver(function(){var e=r.slice();r.length=0,e.forEach(function(e){e()})});return a.observe(o,{attributes:!0}),function(e){r.length||o.setAttribute("yes","no"),r.push(e)}}return n?(window.addEventListener("message",function(e){var t=e.source;if((t===window||null===t)&&"process-tick"===e.data&&(e.stopPropagation(),r.length>0)){var n=r.shift();n()}},!0),function(e){r.push(e),window.postMessage("process-tick","*")}):function(e){setTimeout(e,0)}}(),n.title="browser",n.browser=!0,n.env={},n.argv=[],n.on=t,n.addListener=t,n.once=t,n.off=t,n.removeListener=t,n.removeAllListeners=t,n.emit=t,n.binding=function(){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(){throw new Error("process.chdir is not supported")}},function(e,t,n){(function(t){"use strict";var n=function(e,n,r,o,a,i,s,u){if("production"!==t.env.NODE_ENV&&void 0===n)throw new Error("invariant requires an error message argument");if(!e){var c;if(void 0===n)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,o,a,i,s,u],p=0;c=new Error("Invariant Violation: "+n.replace(/%s/g,function(){return l[p++]}))}throw c.framesToPop=1,c}};e.exports=n}).call(t,n(1))},function(e){function t(e){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");for(var t=Object(e),n=Object.prototype.hasOwnProperty,r=1;r1){for(var h=Array(f),m=0;f>m;m++)h[m]=arguments[m+2];c.children=h}if(e&&e.defaultProps){var y=e.defaultProps;for(o in y)"undefined"==typeof c[o]&&(c[o]=y[o])}return new l(e,p,d,i.current,a.current,c)},l.createFactory=function(e){var t=l.createElement.bind(null,e);return t.type=e,t},l.cloneAndReplaceProps=function(e,n){var r=new l(e.type,e.key,e.ref,e._owner,e._context,n);return"production"!==t.env.NODE_ENV&&(r._store.validated=e._store.validated),r},l.isValidElement=function(e){var t=!(!e||!e._isReactElement);return t},e.exports=l}).call(t,n(1))},function(e){"use strict";var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},function(e,t,n){(function(t){"use strict";var r=n(15),o=r;"production"!==t.env.NODE_ENV&&(o=function(e,t){for(var n=[],r=2,o=arguments.length;o>r;r++)n.push(arguments[r]);if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){var a=0;console.warn("Warning: "+t.replace(/%s/g,function(){return n[a++]}))}}),e.exports=o}).call(t,n(1))},function(e,t,n){function r(e,t,n){return{localScope:{parentNode:t,parentScope:null,identifiers:{},tempVarIndex:0},superClass:null,mungeNamespace:"",methodNode:null,methodFuncNode:null,className:null,scopeIsStrict:null,indentBy:0,g:{opts:n,position:0,extra:{},buffer:"",source:e,docblock:null,tagNamespaceUsed:!1,isBolt:void 0,sourceMap:null,sourceMapFilename:"source.js",sourceLine:1,bufferLine:1,originalProgramAST:null,sourceColumn:0,bufferColumn:0}}}function o(e,t){var n=Object.create(e);return Object.keys(t).forEach(function(e){n[e]=t[e]}),n}function a(e,t,n){if(!(e1&&(t.g.sourceLine++,t.g.bufferLine++,t.g.sourceColumn=0,t.g.bufferColumn=0),t.g.sourceColumn+=a[a.length-1].length,t.g.bufferColumn+=i[i.length-1].length}t.g.buffer+=n?n(o):o,t.g.position=e}}function i(e,t){return t.g.source.substring(e.range[0],e.range[1])}function s(e){return e.replace(k," ")}function u(e){return e.replace(k,"")}function c(e,t){a(e,t,s)}function l(e,t){a(e,t,u)}function p(e){return e.replace(P,function(){return""})}function d(e,t){a(e,t,p)}function f(e,t){if(t.g.sourceMap){e1&&(t.g.sourceLine+=r.length-1,t.g.sourceColumn=0),t.g.sourceColumn+=r[r.length-1].length}t.g.position=e}function h(e,t){if(t.g.sourceMap&&e){t.g.sourceMap.addMapping({generated:{line:t.g.bufferLine,column:t.g.bufferColumn},original:{line:t.g.sourceLine,column:t.g.sourceColumn},source:t.g.sourceMapFilename});var n=e.split("\n");n.length>1&&(t.g.bufferLine+=n.length-1,t.g.bufferColumn=0),t.g.bufferColumn+=n[n.length-1].length}t.g.buffer+=e}function m(e,t){var n=t.indentBy;if(0>n)for(var r=0;-n>r;r++)e=e.replace(M,"$1");else for(var r=0;n>r;r++)e=e.replace(M,"$1$2$2");return e}function y(e,t){var n=e;for(e-=1;e>0&&"\n"!=t.g.source[e];)t.g.source[e].match(/[ \t]/)||(n=e),e--;return t.g.source.substring(e+1,n)}function g(e){if(!e.g.docblock){var t=n(100);e.g.docblock=t.parseAsObject(t.extract(e.g.source))}return e.g.docblock}function v(e,t,n){for(var r=t.localScope;r;){if(void 0!==r.identifiers[e])return!0;if(n&&r.parentNode===n)break;r=r.parentScope}return!1}function E(e,t){return void 0!==t.localScope.identifiers[e]}function b(e,t,n){return{boundaryNode:e,bindingPath:t,bindingNode:n}}function C(e,t,n){n.localScope.identifiers[e]={boundaryNode:t.boundaryNode,path:t.bindingPath,node:t.bindingNode,state:Object.create(n)}}function w(e,t){return t.localScope.identifiers[e]}function S(e,t,n,r,o){if(n.type){if(e(n,r,o)===!1)return;r.unshift(n)}N(n).forEach(function(e){t(e,r,o)}),n.type&&r.shift()}function N(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&x(t,e[n]);return t.sort(function(e,t){return e[1]-t[1]}),t.map(function(e){return e[0]})}function x(e,t){if("object"==typeof t&&null!==t)if(t.range)e.push([t,t.range[0]]);else if(Array.isArray(t))for(var n=0;n=48&&57>=e}function r(e){return"0123456789abcdefABCDEF".indexOf(e)>=0}function o(e){return"01234567".indexOf(e)>=0}function a(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&" ᠎              ".indexOf(String.fromCharCode(e))>0}function i(e){return 10===e||13===e||8232===e||8233===e}function s(e){return 36===e||95===e||e>=65&&90>=e||e>=97&&122>=e||92===e||e>=128&&qr.NonAsciiIdentifierStart.test(String.fromCharCode(e))}function u(e){return 36===e||95===e||e>=65&&90>=e||e>=97&&122>=e||e>=48&&57>=e||92===e||e>=128&&qr.NonAsciiIdentifierPart.test(String.fromCharCode(e))}function c(e){switch(e){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function l(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function p(e){return"eval"===e||"arguments"===e}function d(e){if($r&&l(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e||"let"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function f(){var e,t,n;for(t=!1,n=!1;to>Qr;)if(e=zr.charCodeAt(Qr),n)++Qr,i(e)&&(n=!1,13===e&&10===zr.charCodeAt(Qr)&&++Qr,++Zr,eo=Qr);else if(t)i(e)?(13===e&&++Qr,(13!==e||10===zr.charCodeAt(Qr))&&(++Zr,++Qr,eo=Qr,Qr>=to&&B({},Hr.UnexpectedToken,"ILLEGAL"))):(e=zr.charCodeAt(Qr++),Qr>=to&&B({},Hr.UnexpectedToken,"ILLEGAL"),42===e&&(e=zr.charCodeAt(Qr),47===e&&(++Qr,t=!1)));else if(47===e)if(e=zr.charCodeAt(Qr+1),47===e)Qr+=2,n=!0;else{if(42!==e)break;Qr+=2,t=!0,Qr>=to&&B({},Hr.UnexpectedToken,"ILLEGAL")}else if(a(e))++Qr;else{if(!i(e))break;++Qr,13===e&&10===zr.charCodeAt(Qr)&&++Qr,++Zr,eo=Qr}}function h(e){var t,n,o,a=0;for(n="u"===e?4:2,t=0;n>t;++t){if(!(to>Qr&&r(zr[Qr])))return"";o=zr[Qr++],a=16*a+"0123456789abcdef".indexOf(o.toLowerCase())}return String.fromCharCode(a)}function m(){var e,t,n,o;for(e=zr[Qr],t=0,"}"===e&&B({},Hr.UnexpectedToken,"ILLEGAL");to>Qr&&(e=zr[Qr++],r(e));)t=16*t+"0123456789abcdef".indexOf(e.toLowerCase());return(t>1114111||"}"!==e)&&B({},Hr.UnexpectedToken,"ILLEGAL"),65535>=t?String.fromCharCode(t):(n=(t-65536>>10)+55296,o=(t-65536&1023)+56320,String.fromCharCode(n,o))}function y(){var e,t;for(e=zr.charCodeAt(Qr++),t=String.fromCharCode(e),92===e&&(117!==zr.charCodeAt(Qr)&&B({},Hr.UnexpectedToken,"ILLEGAL"),++Qr,e=h("u"),e&&"\\"!==e&&s(e.charCodeAt(0))||B({},Hr.UnexpectedToken,"ILLEGAL"),t=e);to>Qr&&(e=zr.charCodeAt(Qr),u(e));)++Qr,t+=String.fromCharCode(e),92===e&&(t=t.substr(0,t.length-1),117!==zr.charCodeAt(Qr)&&B({},Hr.UnexpectedToken,"ILLEGAL"),++Qr,e=h("u"),e&&"\\"!==e&&u(e.charCodeAt(0))||B({},Hr.UnexpectedToken,"ILLEGAL"),t+=e);return t}function g(){var e,t;for(e=Qr++;to>Qr;){if(t=zr.charCodeAt(Qr),92===t)return Qr=e,y();if(!u(t))break;++Qr}return zr.slice(e,Qr)}function v(){var e,t,n;return e=Qr,t=92===zr.charCodeAt(Qr)?y():g(),n=1===t.length?Fr.Identifier:d(t)?Fr.Keyword:"null"===t?Fr.NullLiteral:"true"===t||"false"===t?Fr.BooleanLiteral:Fr.Identifier,{type:n,value:t,lineNumber:Zr,lineStart:eo,range:[e,Qr]}}function E(){var e,t,n,r,o=Qr,a=zr.charCodeAt(Qr),i=zr[Qr];switch(a){case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:return++Qr,ao.tokenize&&(40===a?ao.openParenToken=ao.tokens.length:123===a&&(ao.openCurlyToken=ao.tokens.length)),{type:Fr.Punctuator,value:String.fromCharCode(a),lineNumber:Zr,lineStart:eo,range:[o,Qr]};default:if(e=zr.charCodeAt(Qr+1),61===e)switch(a){case 37:case 38:case 42:case 43:case 45:case 47:case 60:case 62:case 94:case 124:return Qr+=2,{type:Fr.Punctuator,value:String.fromCharCode(a)+String.fromCharCode(e),lineNumber:Zr,lineStart:eo,range:[o,Qr]};case 33:case 61:return Qr+=2,61===zr.charCodeAt(Qr)&&++Qr,{type:Fr.Punctuator,value:zr.slice(o,Qr),lineNumber:Zr,lineStart:eo,range:[o,Qr]}}}return t=zr[Qr+1],n=zr[Qr+2],r=zr[Qr+3],">"===i&&">"===t&&">"===n&&"="===r?(Qr+=4,{type:Fr.Punctuator,value:">>>=",lineNumber:Zr,lineStart:eo,range:[o,Qr]}):">"===i&&">"===t&&">"===n?(Qr+=3,{type:Fr.Punctuator,value:">>>",lineNumber:Zr,lineStart:eo,range:[o,Qr]}):"<"===i&&"<"===t&&"="===n?(Qr+=3,{type:Fr.Punctuator,value:"<<=",lineNumber:Zr,lineStart:eo,range:[o,Qr]}):">"===i&&">"===t&&"="===n?(Qr+=3,{type:Fr.Punctuator,value:">>=",lineNumber:Zr,lineStart:eo,range:[o,Qr]}):"."===i&&"."===t&&"."===n?(Qr+=3,{type:Fr.Punctuator,value:"...",lineNumber:Zr,lineStart:eo,range:[o,Qr]}):i===t&&"+-<>&|".indexOf(i)>=0&&!oo.inType?(Qr+=2,{type:Fr.Punctuator,value:i+t,lineNumber:Zr,lineStart:eo,range:[o,Qr]}):"="===i&&">"===t?(Qr+=2,{type:Fr.Punctuator,value:"=>",lineNumber:Zr,lineStart:eo,range:[o,Qr]}):"<>=!+-*%&|^/".indexOf(i)>=0?(++Qr,{type:Fr.Punctuator,value:i,lineNumber:Zr,lineStart:eo,range:[o,Qr]}):"."===i?(++Qr,{type:Fr.Punctuator,value:i,lineNumber:Zr,lineStart:eo,range:[o,Qr]}):void B({},Hr.UnexpectedToken,"ILLEGAL")}function b(e){for(var t="";to>Qr&&r(zr[Qr]);)t+=zr[Qr++];return 0===t.length&&B({},Hr.UnexpectedToken,"ILLEGAL"),s(zr.charCodeAt(Qr))&&B({},Hr.UnexpectedToken,"ILLEGAL"),{type:Fr.NumericLiteral,value:parseInt("0x"+t,16),lineNumber:Zr,lineStart:eo,range:[e,Qr]}}function C(e,t){var r,a;for(o(e)?(a=!0,r="0"+zr[Qr++]):(a=!1,++Qr,r="");to>Qr&&o(zr[Qr]);)r+=zr[Qr++];return a||0!==r.length||B({},Hr.UnexpectedToken,"ILLEGAL"),(s(zr.charCodeAt(Qr))||n(zr.charCodeAt(Qr)))&&B({},Hr.UnexpectedToken,"ILLEGAL"),{type:Fr.NumericLiteral,value:parseInt(r,8),octal:a,lineNumber:Zr,lineStart:eo,range:[t,Qr]}}function w(){var e,r,a;if(a=zr[Qr],t(n(a.charCodeAt(0))||"."===a,"Numeric literal must start with a decimal digit or a decimal point"),r=Qr,e="","."!==a){if(e=zr[Qr++],a=zr[Qr],"0"===e){if("x"===a||"X"===a)return++Qr,b(r);if("b"===a||"B"===a){for(++Qr,e="";to>Qr&&(a=zr[Qr],"0"===a||"1"===a);)e+=zr[Qr++];return 0===e.length&&B({},Hr.UnexpectedToken,"ILLEGAL"),to>Qr&&(a=zr.charCodeAt(Qr),(s(a)||n(a))&&B({},Hr.UnexpectedToken,"ILLEGAL")),{type:Fr.NumericLiteral,value:parseInt(e,2),lineNumber:Zr,lineStart:eo,range:[r,Qr]}}if("o"===a||"O"===a||o(a))return C(a,r);a&&n(a.charCodeAt(0))&&B({},Hr.UnexpectedToken,"ILLEGAL")}for(;n(zr.charCodeAt(Qr));)e+=zr[Qr++];a=zr[Qr]}if("."===a){for(e+=zr[Qr++];n(zr.charCodeAt(Qr));)e+=zr[Qr++];a=zr[Qr]}if("e"===a||"E"===a)if(e+=zr[Qr++],a=zr[Qr],("+"===a||"-"===a)&&(e+=zr[Qr++]),n(zr.charCodeAt(Qr)))for(;n(zr.charCodeAt(Qr));)e+=zr[Qr++];else B({},Hr.UnexpectedToken,"ILLEGAL");return s(zr.charCodeAt(Qr))&&B({},Hr.UnexpectedToken,"ILLEGAL"),{type:Fr.NumericLiteral,value:parseFloat(e),lineNumber:Zr,lineStart:eo,range:[r,Qr]}}function S(){var e,n,r,a,s,u,c="",l=!1;for(e=zr[Qr],t("'"===e||'"'===e,"String literal must starts with a quote"),n=Qr,++Qr;to>Qr;){if(r=zr[Qr++],r===e){e="";break}if("\\"===r)if(r=zr[Qr++],r&&i(r.charCodeAt(0)))++Zr,"\r"===r&&"\n"===zr[Qr]&&++Qr,eo=Qr;else switch(r){case"n":c+="\n";break;case"r":c+="\r";break;case"t":c+=" ";break;case"u":case"x":"{"===zr[Qr]?(++Qr,c+=m()):(u=Qr,s=h(r),s?c+=s:(Qr=u,c+=r));break;case"b":c+="\b";break;case"f":c+="\f";break;case"v":c+=" ";break;default:o(r)?(a="01234567".indexOf(r),0!==a&&(l=!0),to>Qr&&o(zr[Qr])&&(l=!0,a=8*a+"01234567".indexOf(zr[Qr++]),"0123".indexOf(r)>=0&&to>Qr&&o(zr[Qr])&&(a=8*a+"01234567".indexOf(zr[Qr++]))),c+=String.fromCharCode(a)):c+=r}else{if(i(r.charCodeAt(0)))break;c+=r}}return""!==e&&B({},Hr.UnexpectedToken,"ILLEGAL"),{type:Fr.StringLiteral,value:c,octal:l,lineNumber:Zr,lineStart:eo,range:[n,Qr]}}function N(){var e,t,n,r,a,s,u,c,l="";for(n=!1,r=!1,t=Qr,++Qr;to>Qr;){if(e=zr[Qr++],"`"===e){r=!0,n=!0;break}if("$"===e){if("{"===zr[Qr]){++Qr,n=!0;break}l+=e}else if("\\"===e)if(e=zr[Qr++],i(e.charCodeAt(0)))++Zr,"\r"===e&&"\n"===zr[Qr]&&++Qr,eo=Qr;else switch(e){case"n":l+="\n";break;case"r":l+="\r";break;case"t":l+=" ";break;case"u":case"x":"{"===zr[Qr]?(++Qr,l+=m()):(a=Qr,s=h(e),s?l+=s:(Qr=a,l+=e));break;case"b":l+="\b";break;case"f":l+="\f";break;case"v":l+=" ";break;default:o(e)?(u="01234567".indexOf(e),0!==u&&(c=!0),to>Qr&&o(zr[Qr])&&(c=!0,u=8*u+"01234567".indexOf(zr[Qr++]),"0123".indexOf(e)>=0&&to>Qr&&o(zr[Qr])&&(u=8*u+"01234567".indexOf(zr[Qr++]))),l+=String.fromCharCode(u)):l+=e}else i(e.charCodeAt(0))?(++Zr,"\r"===e&&"\n"===zr[Qr]&&++Qr,eo=Qr,l+="\n"):l+=e}return n||B({},Hr.UnexpectedToken,"ILLEGAL"),{type:Fr.Template,value:{cooked:l,raw:zr.slice(t+1,Qr-(r?1:2))},tail:r,octal:c,lineNumber:Zr,lineStart:eo,range:[t,Qr]}}function x(e){var t,n;return ro=null,f(),t=e.head?"`":"}",zr[Qr]!==t&&B({},Hr.UnexpectedToken,"ILLEGAL"),n=N(),A(),n}function _(){var e,n,r,o,a,s,c,l,p=!1,d=!1;for(ro=null,f(),r=Qr,n=zr[Qr],t("/"===n,"Regular expression literal must start with a slash"),e=zr[Qr++];to>Qr;)if(n=zr[Qr++],e+=n,p)"]"===n&&(p=!1);else if("\\"===n)n=zr[Qr++],i(n.charCodeAt(0))&&B({},Hr.UnterminatedRegExp),e+=n;else{if("/"===n){d=!0;break}"["===n?p=!0:i(n.charCodeAt(0))&&B({},Hr.UnterminatedRegExp)}for(d||B({},Hr.UnterminatedRegExp),o=e.substr(1,e.length-2),a="";to>Qr&&(n=zr[Qr],u(n.charCodeAt(0)));)if(++Qr,"\\"===n&&to>Qr)if(n=zr[Qr],"u"===n)if(++Qr,c=Qr,n=h("u"))for(a+=n,e+="\\u";Qr>c;++c)e+=zr[c];else Qr=c,a+="u",e+="\\u";else e+="\\";else a+=n,e+=n;l=o,a.indexOf("u")>=0&&(l=l.replace(/\\u\{([0-9a-fA-F]{5,6})\}/g,"x").replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x"));try{s=new RegExp(l)}catch(m){B({},Hr.InvalidRegExp)}try{s=new RegExp(o,a)}catch(y){s=null}return A(),ao.tokenize?{type:Fr.RegularExpression,value:s,regex:{pattern:o,flags:a},lineNumber:Zr,lineStart:eo,range:[r,Qr]}:{literal:e,value:s,regex:{pattern:o,flags:a},range:[r,Qr]}}function T(e){return e.type===Fr.Identifier||e.type===Fr.Keyword||e.type===Fr.BooleanLiteral||e.type===Fr.NullLiteral}function D(){var e,t;if(e=ao.tokens[ao.tokens.length-1],!e)return _();if("Punctuator"===e.type){if(")"===e.value)return t=ao.tokens[ao.openParenToken-1],!t||"Keyword"!==t.type||"if"!==t.value&&"while"!==t.value&&"for"!==t.value&&"with"!==t.value?E():_();if("}"===e.value){if(ao.tokens[ao.openCurlyToken-3]&&"Keyword"===ao.tokens[ao.openCurlyToken-3].type){if(t=ao.tokens[ao.openCurlyToken-4],!t)return E()}else{if(!ao.tokens[ao.openCurlyToken-4]||"Keyword"!==ao.tokens[ao.openCurlyToken-4].type)return E();if(t=ao.tokens[ao.openCurlyToken-5],!t)return _()}return Xr.indexOf(t.value)>=0?E():_()}return _()}return"Keyword"===e.type?_():E()}function O(){var e;return oo.inXJSChild||f(),Qr>=to?{type:Fr.EOF,lineNumber:Zr,lineStart:eo,range:[Qr,Qr]}:oo.inXJSChild?cr():(e=zr.charCodeAt(Qr),40===e||41===e||58===e?E():39===e||34===e?oo.inXJSTag?ur():S():oo.inXJSTag&&rr(e)?ar():96===e?N():s(e)?v():46===e?n(zr.charCodeAt(Qr+1))?w():E():n(e)?w():ao.tokenize&&47===e?D():E())}function I(){var e;return e=ro,Qr=e.range[1],Zr=e.lineNumber,eo=e.lineStart,ro=O(),Qr=e.range[1],Zr=e.lineNumber,eo=e.lineStart,e}function A(){var e,t,n;e=Qr,t=Zr,n=eo,ro=O(),Qr=e,Zr=t,eo=n}function M(){var e,t,n,r,o;return e="function"==typeof ao.advance?ao.advance:O,t=Qr,n=Zr,r=eo,null===ro&&(ro=e()),Qr=ro.range[1],Zr=ro.lineNumber,eo=ro.lineStart,o=e(),Qr=t,Zr=n,eo=r,o}function k(e){Qr=e.range[0],Zr=e.lineNumber,eo=e.lineStart,ro=e}function P(){return ao.loc||ao.range?(f(),{offset:Qr,line:Zr,col:Qr-eo}):void 0}function R(){return ao.loc||ao.range?{offset:Qr,line:Zr,col:Qr-eo}:void 0}function L(e){var t,n,r=ao.bottomRightStack,o=r[r.length-1];if(!(e.type===Jr.Program&&e.body.length>0)){if(ao.trailingComments.length>0?ao.trailingComments[0].range[0]>=e.range[1]?(n=ao.trailingComments,ao.trailingComments=[]):ao.trailingComments.length=0:o&&o.trailingComments&&o.trailingComments[0].range[0]>=e.range[1]&&(n=o.trailingComments,delete o.trailingComments),o)for(;o&&o.range[0]>=e.range[0];)t=o,o=r.pop();t?t.leadingComments&&t.leadingComments[t.leadingComments.length-1].range[1]<=e.range[0]&&(e.leadingComments=t.leadingComments,delete t.leadingComments):ao.leadingComments.length>0&&ao.leadingComments[ao.leadingComments.length-1].range[1]<=e.range[0]&&(e.leadingComments=ao.leadingComments,ao.leadingComments=[]),n&&(e.trailingComments=n),r.push(e)}}function V(e,t){return ao.range&&(t.range=[e.offset,Qr]),ao.loc&&(t.loc={start:{line:e.line,column:e.col},end:{line:Zr,column:Qr-eo}},t=no.postProcess(t)),ao.attachComment&&L(t),t}function U(){var e,t,n,r;return e=Qr,t=Zr,n=eo,f(),r=Zr!==t,Qr=e,Zr=t,eo=n,r}function B(e,n){var r,o=Array.prototype.slice.call(arguments,2),a=n.replace(/%(\d)/g,function(e,n){return t(n>="===e||">>>="===e||"&="===e||"^="===e||"|="===e)}function Y(){return oo.yieldAllowed&&q("yield",!$r)}function z(){var e=ro,t=!1;return G("async")&&(I(),t=!U(),k(e)),t}function $(){return oo.awaitAllowed&&G("await")}function Q(){var e,t=Qr,n=Zr,r=eo,o=ro;return 59===zr.charCodeAt(Qr)?void I():(e=Zr,f(),Zr!==e?(Qr=t,Zr=n,eo=r,void(ro=o)):H(";")?void I():void(ro.type===Fr.EOF||H("}")||j(ro)))}function Z(e){return e.type===Jr.Identifier||e.type===Jr.MemberExpression}function et(e){return Z(e)||e.type===Jr.ObjectPattern||e.type===Jr.ArrayPattern}function tt(){var e,t=[],n=[],r=null,o=!0,a=P();for(X("[");!H("]");)"for"===ro.value&&ro.type===Fr.Keyword?(o||B({},Hr.ComprehensionError),q("for"),e=wn({ignoreBody:!0}),e.of=e.type===Jr.ForOfStatement,e.type=Jr.ComprehensionBlock,e.left.kind&&B({},Hr.ComprehensionError),n.push(e)):"if"===ro.value&&ro.type===Fr.Keyword?(o||B({},Hr.ComprehensionError),J("if"),X("("),r=At(),X(")")):","===ro.value&&ro.type===Fr.Punctuator?(o=!1,I(),t.push(null)):(e=ht(),t.push(e),e&&e.type===Jr.SpreadElement?H("]")||B({},Hr.ElementAfterSpreadElement):H("]")||q("for")||q("if")||(X(","),o=!1));return X("]"),r&&!n.length&&B({},Hr.ComprehensionRequiresBlock),n.length?(1!==t.length&&B({},Hr.ComprehensionError),V(a,no.createComprehensionExpression(r,n,t[0]))):V(a,no.createArrayExpression(t))}function nt(e){var t,n,r,o,a,i,s=P();return t=$r,n=oo.yieldAllowed,oo.yieldAllowed=e.generator,r=oo.awaitAllowed,oo.awaitAllowed=e.async,o=e.params||[],a=e.defaults||[],i=Pn(),e.name&&$r&&p(o[0].name)&&F(e.name,Hr.StrictParamName),$r=t,oo.yieldAllowed=n,oo.awaitAllowed=r,V(s,no.createFunctionExpression(null,o,a,i,e.rest||null,e.generator,i.type!==Jr.BlockStatement,e.async,e.returnType,e.typeParameters))}function rt(e){var t,n,r;return t=$r,$r=!0,n=Un(),n.stricted&&F(n.stricted,n.message),r=nt({params:n.params,defaults:n.defaults,rest:n.rest,generator:e.generator,async:e.async,returnType:n.returnType,typeParameters:e.typeParameters}),$r=t,r}function ot(){var e,t,n=P(),r=I();return r.type===Fr.StringLiteral||r.type===Fr.NumericLiteral?($r&&r.octal&&F(r,Hr.StrictOctalLiteral),V(n,no.createLiteral(r))):r.type===Fr.Punctuator&&"["===r.value?(n=P(),e=It(),t=V(n,e),X("]"),t):V(n,no.createIdentifier(r.value))}function at(){var e,t,n,r,o,a,i=P();return e=ro,o="["===e.value,e.type===Fr.Identifier||o||z()?(n=ot(),H(":")?(I(),V(i,no.createProperty("init",n,It(),!1,!1,o))):H("(")?V(i,no.createProperty("init",n,rt({generator:!1,async:!1}),!0,!1,o)):"get"===e.value?(o="["===ro.value,t=ot(),X("("),X(")"),H(":")&&(a=Zt()),V(i,no.createProperty("get",t,nt({generator:!1,async:!1,returnType:a}),!1,!1,o))):"set"===e.value?(o="["===ro.value,t=ot(),X("("),e=ro,r=[tn()],X(")"),H(":")&&(a=Zt()),V(i,no.createProperty("set",t,nt({params:r,generator:!1,async:!1,name:e,returnType:a}),!1,!1,o))):"async"===e.value?(o="["===ro.value,t=ot(),V(i,no.createProperty("init",t,rt({generator:!1,async:!0}),!0,!1,o))):(o&&j(ro),V(i,no.createProperty("init",n,n,!1,!0,!1)))):e.type===Fr.EOF||e.type===Fr.Punctuator?(H("*")||j(e),I(),o=ro.type===Fr.Punctuator&&"["===ro.value,n=ot(),H("(")||j(I()),V(i,no.createProperty("init",n,rt({generator:!0}),!0,!1,o))):(t=ot(),H(":")?(I(),V(i,no.createProperty("init",t,It(),!1,!1,!1))):H("(")?V(i,no.createProperty("init",t,rt({generator:!1}),!0,!1,!1)):void j(I()))}function it(){var e=P();return X("..."),V(e,no.createSpreadProperty(It()))}function st(){var e,t,n,r,o=[],a={},i=String,s=P();for(X("{");!H("}");)H("...")?e=it():(e=at(),t=e.key.type===Jr.Identifier?e.key.name:i(e.key.value),r="init"===e.kind?Wr.Data:"get"===e.kind?Wr.Get:Wr.Set,n="$"+t,Object.prototype.hasOwnProperty.call(a,n)?(a[n]===Wr.Data?$r&&r===Wr.Data?F({},Hr.StrictDuplicateProperty):r!==Wr.Data&&F({},Hr.AccessorDataProperty):r===Wr.Data?F({},Hr.AccessorDataProperty):a[n]&r&&F({},Hr.AccessorGetSet),a[n]|=r):a[n]=r),o.push(e),H("}")||X(",");return X("}"),V(s,no.createObjectExpression(o))}function ut(e){var t=P(),n=x(e);return $r&&n.octal&&B(n,Hr.StrictOctalLiteral),V(t,no.createTemplateElement({raw:n.value.raw,cooked:n.value.cooked},n.tail))}function ct(){var e,t,n,r=P();for(e=ut({head:!0}),t=[e],n=[];!e.tail;)n.push(At()),e=ut({head:!1}),t.push(e);return V(r,no.createTemplateLiteral(t,n))}function lt(){var e;return X("("),++oo.parenthesizedCount,e=At(),X(")"),e}function pt(){var e;return z()&&(e=M(),e.type===Fr.Keyword&&"function"===e.value)?!0:!1}function dt(){var e,t,n;if(t=ro.type,t===Fr.Identifier)return e=P(),V(e,no.createIdentifier(I().value));if(t===Fr.StringLiteral||t===Fr.NumericLiteral)return $r&&ro.octal&&F(ro,Hr.StrictOctalLiteral),e=P(),V(e,no.createLiteral(I()));if(t===Fr.Keyword){if(q("this"))return e=P(),I(),V(e,no.createThisExpression());if(q("function"))return Fn();if(q("class"))return Kn();if(q("super"))return e=P(),I(),V(e,no.createIdentifier("super"))}return t===Fr.BooleanLiteral?(e=P(),n=I(),n.value="true"===n.value,V(e,no.createLiteral(n))):t===Fr.NullLiteral?(e=P(),n=I(),n.value=null,V(e,no.createLiteral(n))):H("[")?tt():H("{")?st():H("(")?lt():H("/")||H("/=")?(e=P(),V(e,no.createLiteral(_()))):t===Fr.Template?ct():H("<")?Sr():void j(I())}function ft(){var e,t=[];if(X("("),!H(")"))for(;to>Qr&&(e=ht(),t.push(e),!H(")"));)e.type===Jr.SpreadElement&&B({},Hr.ElementAfterSpreadElement),X(",");return X(")"),t}function ht(){if(H("...")){var e=P();return I(),V(e,no.createSpreadElement(It()))}return It()}function mt(){var e=P(),t=I();return T(t)||j(t),V(e,no.createIdentifier(t.value))}function yt(){return X("."),mt()}function gt(){var e;return X("["),e=At(),X("]"),e}function vt(){var e,t,n=P();return J("new"),e=bt(),t=H("(")?ft():[],V(n,no.createNewExpression(e,t))}function Et(){var e,t,n=P();for(e=q("new")?vt():dt();H(".")||H("[")||H("(")||ro.type===Fr.Template;)H("(")?(t=ft(),e=V(n,no.createCallExpression(e,t))):e=H("[")?V(n,no.createMemberExpression("[",e,gt())):H(".")?V(n,no.createMemberExpression(".",e,yt())):V(n,no.createTaggedTemplateExpression(e,ct()));return e}function bt(){var e,t=P();for(e=q("new")?vt():dt();H(".")||H("[")||ro.type===Fr.Template;)e=H("[")?V(t,no.createMemberExpression("[",e,gt())):H(".")?V(t,no.createMemberExpression(".",e,yt())):V(t,no.createTaggedTemplateExpression(e,ct()));return e}function Ct(){var e,t=P(),n=Et();return ro.type!==Fr.Punctuator?n:(!H("++")&&!H("--")||U()||($r&&n.type===Jr.Identifier&&p(n.name)&&F({},Hr.StrictLHSPostfix),Z(n)||B({},Hr.InvalidLHSInAssignment),e=I(),n=V(t,no.createPostfixExpression(e.value,n))),n)}function wt(){var e,t,n;return ro.type!==Fr.Punctuator&&ro.type!==Fr.Keyword?Ct():H("++")||H("--")?(e=P(),t=I(),n=wt(),$r&&n.type===Jr.Identifier&&p(n.name)&&F({},Hr.StrictLHSPrefix),Z(n)||B({},Hr.InvalidLHSInAssignment),V(e,no.createUnaryExpression(t.value,n))):H("+")||H("-")||H("~")||H("!")?(e=P(),t=I(),n=wt(),V(e,no.createUnaryExpression(t.value,n))):q("delete")||q("void")||q("typeof")?(e=P(),t=I(),n=wt(),n=V(e,no.createUnaryExpression(t.value,n)),$r&&"delete"===n.operator&&n.argument.type===Jr.Identifier&&F({},Hr.StrictDelete),n):Ct()}function St(e,t){var n=0;if(e.type!==Fr.Punctuator&&e.type!==Fr.Keyword)return 0;switch(e.value){case"||":n=1;break;case"&&":n=2;break;case"|":n=3;break;case"^":n=4;break;case"&":n=5;break;case"==":case"!=":case"===":case"!==":n=6;break;case"<":case">":case"<=":case">=":case"instanceof":n=7;break;case"in":n=t?7:0;break;case"<<":case">>":case">>>":n=8;break;case"+":case"-":n=9;break;case"*":case"/":case"%":n=11}return n}function Nt(){var e,t,n,r,o,a,i,s,u,c,l; -if(r=oo.allowIn,oo.allowIn=!0,c=P(),s=wt(),t=ro,n=St(t,r),0===n)return s;for(t.prec=n,I(),l=[c,P()],a=wt(),o=[s,t,a];(n=St(ro,r))>0;){for(;o.length>2&&n<=o[o.length-2].prec;)a=o.pop(),i=o.pop().value,s=o.pop(),e=no.createBinaryExpression(i,s,a),l.pop(),c=l.pop(),V(c,e),o.push(e),l.push(c);t=I(),t.prec=n,o.push(t),l.push(P()),e=wt(),o.push(e)}for(oo.allowIn=r,u=o.length-1,e=o[u],l.pop();u>1;)e=no.createBinaryExpression(o[u-1].value,o[u-2],e),u-=2,c=l.pop(),V(c,e);return e}function xt(){var e,t,n,r,o=P();return e=Nt(),H("?")&&(I(),t=oo.allowIn,oo.allowIn=!0,n=It(),oo.allowIn=t,X(":"),r=It(),e=V(o,no.createConditionalExpression(e,n,r))),e}function _t(e){var t,n,r,o;if(e.type===Jr.ObjectExpression)for(e.type=Jr.ObjectPattern,t=0,n=e.properties.length;n>t;t+=1)r=e.properties[t],r.type===Jr.SpreadProperty?(n-1>t&&B({},Hr.PropertyAfterSpreadProperty),_t(r.argument)):("init"!==r.kind&&B({},Hr.InvalidLHSInAssignment),_t(r.value));else if(e.type===Jr.ArrayExpression)for(e.type=Jr.ArrayPattern,t=0,n=e.elements.length;n>t;t+=1)o=e.elements[t],o&&_t(o);else e.type===Jr.Identifier?p(e.name)&&B({},Hr.InvalidLHSInAssignment):e.type===Jr.SpreadElement?(_t(e.argument),e.argument.type===Jr.ObjectPattern&&B({},Hr.ObjectPatternAsSpread)):e.type!==Jr.MemberExpression&&e.type!==Jr.CallExpression&&e.type!==Jr.NewExpression&&B({},Hr.InvalidLHSInAssignment)}function Tt(e,t){var n,r,o,a;if(t.type===Jr.ObjectExpression)for(t.type=Jr.ObjectPattern,n=0,r=t.properties.length;r>n;n+=1)o=t.properties[n],o.type===Jr.SpreadProperty?(r-1>n&&B({},Hr.PropertyAfterSpreadProperty),Tt(e,o.argument)):("init"!==o.kind&&B({},Hr.InvalidLHSInFormalsList),Tt(e,o.value));else if(t.type===Jr.ArrayExpression)for(t.type=Jr.ArrayPattern,n=0,r=t.elements.length;r>n;n+=1)a=t.elements[n],a&&Tt(e,a);else t.type===Jr.Identifier?Ln(e,t,t.name):t.type!==Jr.MemberExpression&&B({},Hr.InvalidLHSInFormalsList)}function Dt(e){var n,r,o,a,i,s,u,c;for(a=[],i=[],s=0,c=null,u={paramSet:{}},n=0,r=e.length;r>n;n+=1)if(o=e[n],o.type===Jr.Identifier)a.push(o),i.push(null),Ln(u,o,o.name);else if(o.type===Jr.ObjectExpression||o.type===Jr.ArrayExpression)Tt(u,o),a.push(o),i.push(null);else if(o.type===Jr.SpreadElement)t(n===r-1,"It is guaranteed that SpreadElement is last element by parseExpression"),Tt(u,o.argument),c=o.argument;else{if(o.type!==Jr.AssignmentExpression)return null;a.push(o.left),i.push(o.right),++s,Ln(u,o.left,o.left.name)}return u.message===Hr.StrictParamDupe&&B($r?u.stricted:u.firstRestricted,u.message),0===s&&(i=[]),{params:a,defaults:i,rest:c,stricted:u.stricted,firstRestricted:u.firstRestricted,message:u.message}}function Ot(e,t){var n,r,o,a;return X("=>"),n=$r,r=oo.yieldAllowed,oo.yieldAllowed=!1,o=oo.awaitAllowed,oo.awaitAllowed=!!e.async,a=Pn(),$r&&e.firstRestricted&&B(e.firstRestricted,e.message),$r&&e.stricted&&F(e.stricted,e.message),$r=n,oo.yieldAllowed=r,oo.awaitAllowed=o,V(t,no.createArrowFunctionExpression(e.params,e.defaults,a,e.rest,a.type!==Jr.BlockStatement,!!e.async))}function It(){var e,t,n,r,o,a=ro,i=!1;return Y()?jn():$()?Xn():(o=oo.parenthesizedCount,e=P(),pt()?Fn():(z()&&(i=!0,I()),H("(")&&(n=M(),n.type===Fr.Punctuator&&")"===n.value||"..."===n.value)?(r=Un(),H("=>")||j(I()),r.async=i,Ot(r,e)):(n=ro,i&&!H("(")&&n.type!==Fr.Identifier&&(i=!1,k(a)),t=xt(),H("=>")&&(oo.parenthesizedCount===o||oo.parenthesizedCount===o+1)&&(t.type===Jr.Identifier?r=Dt([t]):t.type===Jr.SequenceExpression&&(r=Dt(t.expressions)),r)?(r.async=i,Ot(r,e)):(i&&(i=!1,k(a),t=xt()),K()&&($r&&t.type===Jr.Identifier&&p(t.name)&&F(n,Hr.StrictLHSAssignment),!H("=")||t.type!==Jr.ObjectExpression&&t.type!==Jr.ArrayExpression?Z(t)||B({},Hr.InvalidLHSInAssignment):_t(t),t=V(e,no.createAssignmentExpression(I().value,t,It()))),t))))}function At(){var e,t,n,r,o,a,i;if(i=oo.parenthesizedCount,e=P(),t=It(),n=[t],H(",")){for(;to>Qr&&H(",");)if(I(),t=ht(),n.push(t),t.type===Jr.SpreadElement){a=!0,H(")")||B({},Hr.ElementAfterSpreadElement);break}r=V(e,no.createSequenceExpression(n))}if(H("=>")){if((oo.parenthesizedCount===i||oo.parenthesizedCount===i+1)&&(t=t.type===Jr.SequenceExpression?t.expressions:n,o=Dt(t)))return Ot(o,e);j(I())}return a&&"=>"!==M().value&&B({},Hr.IllegalSpread),r||t}function Mt(){for(var e,t=[];to>Qr&&!H("}")&&(e=zn(),"undefined"!=typeof e);)t.push(e);return t}function kt(){var e,t=P();return X("{"),e=Mt(),X("}"),V(t,no.createBlockStatement(e))}function Pt(){var e=P(),t=[];for(X("<");!H(">");)t.push(en()),H(">")||X(",");return X(">"),V(e,no.createTypeParameterDeclaration(t))}function Rt(){var e=P(),t=oo.inType,n=[];for(oo.inType=!0,X("<");!H(">");)n.push(Qt()),H(">")||X(",");return X(">"),oo.inType=t,V(e,no.createTypeParameterInstantiation(n))}function Lt(e,t){var n,r,o;return X("["),n=ot(),X(":"),r=Qt(),X("]"),X(":"),o=Qt(),V(e,no.createObjectTypeIndexer(n,r,o,t))}function Vt(e){var t,n=[],r=null,o=null;for(H("<")&&(o=Pt()),X("(");ro.type===Fr.Identifier;)n.push(Ht()),H(")")||X(",");return H("...")&&(I(),r=Ht()),X(")"),X(":"),t=Qt(),V(e,no.createFunctionTypeAnnotation(n,t,r,o))}function Ut(e,t,n){var r,o=!1;return r=Vt(e),V(e,no.createObjectTypeProperty(n,r,o,t))}function Bt(e,t){var n=P();return V(e,no.createObjectTypeCallProperty(Vt(n),t))}function Ft(e){var t,n,r,o,a,i=[],s=[],u=!1,c=[];for(X("{");!H("}");)t=P(),e&&G("static")&&(o=I(),a=!0),H("[")?s.push(Lt(t,a)):H("(")||H("<")?i.push(Bt(t,e)):(a&&H(":")?(n=V(t,no.createIdentifier(o)),F(o,Hr.StrictReservedWord)):n=ot(),H("<")||H("(")?c.push(Ut(t,a,n)):(H("?")&&(I(),u=!0),X(":"),r=Qt(),c.push(V(t,no.createObjectTypeProperty(n,r,u,a))))),H(";")?I():H("}")||j(ro);return X("}"),no.createObjectTypeAnnotation(c,s,i)}function jt(){var e,t=P(),n=null;for(e=en();H(".");)X("."),e=V(t,no.createQualifiedTypeIdentifier(e,en()));return H("<")&&(n=Rt()),V(t,no.createGenericTypeAnnotation(e,n))}function Xt(){var e=P();return J("void"),V(e,no.createVoidTypeAnnotation())}function Jt(){var e,t=P();return J("typeof"),e=Gt(),V(t,no.createTypeofTypeAnnotation(e))}function Wt(){var e=P(),t=[];for(X("[");to>Qr&&!H("]")&&(t.push(Qt()),!H("]"));)X(",");return X("]"),V(e,no.createTupleTypeAnnotation(t))}function Ht(){var e,t,n=P(),r=!1;return e=en(),H("?")&&(I(),r=!0),X(":"),t=Qt(),V(n,no.createFunctionTypeParam(e,t,r))}function qt(){for(var e={params:[],rest:null};ro.type===Fr.Identifier;)e.params.push(Ht()),H(")")||X(",");return H("...")&&(I(),e.rest=Ht()),e}function Gt(){var e,t,n,r,o=null,a=null,i=P(),s=null,u=!1;switch(ro.type){case Fr.Identifier:switch(ro.value){case"any":return I(),V(i,no.createAnyTypeAnnotation());case"bool":case"boolean":return I(),V(i,no.createBooleanTypeAnnotation());case"number":return I(),V(i,no.createNumberTypeAnnotation());case"string":return I(),V(i,no.createStringTypeAnnotation())}return V(i,jt());case Fr.Punctuator:switch(ro.value){case"{":return V(i,Ft());case"[":return Wt();case"<":return t=Pt(),X("("),e=qt(),o=e.params,s=e.rest,X(")"),X("=>"),a=Qt(),V(i,no.createFunctionTypeAnnotation(o,a,s,t));case"(":return I(),H(")")||H("...")||(ro.type===Fr.Identifier?(n=M(),u="?"!==n.value&&":"!==n.value):u=!0),u?(r=Qt(),X(")"),H("=>")&&B({},Hr.ConfusedAboutFunctionType),r):(e=qt(),o=e.params,s=e.rest,X(")"),X("=>"),a=Qt(),V(i,no.createFunctionTypeAnnotation(o,a,s,null)))}break;case Fr.Keyword:switch(ro.value){case"void":return V(i,Xt());case"typeof":return V(i,Jt())}break;case Fr.StringLiteral:return n=I(),n.octal&&B(n,Hr.StrictOctalLiteral),V(i,no.createStringLiteralTypeAnnotation(n))}j(ro)}function Kt(){var e=P(),t=Gt();return H("[")?(X("["),X("]"),V(e,no.createArrayTypeAnnotation(t))):t}function Yt(){var e=P();return H("?")?(I(),V(e,no.createNullableTypeAnnotation(Yt()))):Kt()}function zt(){var e,t,n=P();for(e=Yt(),t=[e];H("&");)I(),t.push(Yt());return 1===t.length?e:V(n,no.createIntersectionTypeAnnotation(t))}function $t(){var e,t,n=P();for(e=zt(),t=[e];H("|");)I(),t.push(zt());return 1===t.length?e:V(n,no.createUnionTypeAnnotation(t))}function Qt(){var e,t=oo.inType;return oo.inType=!0,e=$t(),oo.inType=t,e}function Zt(){var e,t=P();return X(":"),e=Qt(),V(t,no.createTypeAnnotation(e))}function en(){var e=P(),t=I();return t.type!==Fr.Identifier&&j(t),V(e,no.createIdentifier(t.value))}function tn(e,t){var n=P(),r=en(),o=!1;return t&&H("?")&&(X("?"),o=!0),(e||H(":"))&&(r.typeAnnotation=Zt(),r=V(n,r)),o&&(r.optional=!0,r=V(n,r)),r}function nn(e){var t,n=P(),r=null,o=P();return H("{")?(t=st(),_t(t),H(":")&&(t.typeAnnotation=Zt(),V(o,t))):H("[")?(t=tt(),_t(t),H(":")&&(t.typeAnnotation=Zt(),V(o,t))):(t=oo.allowKeyword?mt():tn(),$r&&p(t.name)&&F({},Hr.StrictVarName)),"const"===e?(H("=")||B({},Hr.NoUnintializedConst),X("="),r=It()):H("=")&&(I(),r=It()),V(n,no.createVariableDeclarator(t,r))}function rn(e){var t=[];do{if(t.push(nn(e)),!H(","))break;I()}while(to>Qr);return t}function on(){var e,t=P();return J("var"),e=rn(),Q(),V(t,no.createVariableDeclaration(e,"var"))}function an(e){var t,n=P();return J(e),t=rn(e),Q(),V(n,no.createVariableDeclaration(t,e))}function sn(){var e,t=P();return ro.type!==Fr.StringLiteral&&B({},Hr.InvalidModuleSpecifier),e=no.createModuleSpecifier(ro),I(),V(t,e)}function un(){var e=P();return X("*"),V(e,no.createExportBatchSpecifier())}function cn(){var e,t=null,n=P();return q("default")?(I(),e=V(n,no.createIdentifier("default"))):e=en(),G("as")&&(I(),t=mt()),V(n,no.createExportSpecifier(e,t))}function ln(){var e,t,n,r=null,o=null,a=[],i=P();if(J("export"),q("default")){if(I(),q("function")||q("class")){if(e=ro,I(),T(ro))return t=mt(),k(e),V(i,no.createExportDeclaration(!0,zn(),[t],null));switch(k(e),ro.value){case"class":return V(i,no.createExportDeclaration(!0,Kn(),[],null));case"function":return V(i,no.createExportDeclaration(!0,Fn(),[],null))}}return G("from")&&B({},Hr.UnexpectedToken,ro.value),r=H("{")?st():H("[")?tt():It(),Q(),V(i,no.createExportDeclaration(!0,r,[],null))}if(ro.type===Fr.Keyword)switch(ro.value){case"let":case"const":case"var":case"class":case"function":return V(i,no.createExportDeclaration(!1,zn(),a,null))}if(H("*"))return a.push(un()),G("from")||B({},ro.value?Hr.UnexpectedToken:Hr.MissingFromClause,ro.value),I(),o=sn(),Q(),V(i,no.createExportDeclaration(!1,null,a,o));X("{");do n=n||q("default"),a.push(cn());while(H(",")&&I());return X("}"),G("from")?(I(),o=sn(),Q()):n?B({},ro.value?Hr.UnexpectedToken:Hr.MissingFromClause,ro.value):Q(),V(i,no.createExportDeclaration(!1,r,a,o))}function pn(){var e,t=null,n=P();return e=mt(),G("as")&&(I(),t=en()),V(n,no.createImportSpecifier(e,t))}function dn(){var e=[];X("{");do e.push(pn());while(H(",")&&I());return X("}"),e}function fn(){var e,t=P();return e=mt(),V(t,no.createImportDefaultSpecifier(e))}function hn(){var e,t=P();return X("*"),G("as")||B({},Hr.NoAsAfterImportNamespace),I(),e=mt(),V(t,no.createImportNamespaceSpecifier(e))}function mn(){var e,t,n=P();return J("import"),e=[],ro.type===Fr.StringLiteral?(t=sn(),Q(),V(n,no.createImportDeclaration(e,t))):(!q("default")&&T(ro)&&(e.push(fn()),H(",")&&I()),H("*")?e.push(hn()):H("{")&&(e=e.concat(dn())),G("from")||B({},ro.value?Hr.UnexpectedToken:Hr.MissingFromClause,ro.value),I(),t=sn(),Q(),V(n,no.createImportDeclaration(e,t)))}function yn(){var e=P();return X(";"),V(e,no.createEmptyStatement())}function gn(){var e=P(),t=At();return Q(),V(e,no.createExpressionStatement(t))}function vn(){var e,t,n,r=P();return J("if"),X("("),e=At(),X(")"),t=kn(),q("else")?(I(),n=kn()):n=null,V(r,no.createIfStatement(e,t,n))}function En(){var e,t,n,r=P();return J("do"),n=oo.inIteration,oo.inIteration=!0,e=kn(),oo.inIteration=n,J("while"),X("("),t=At(),X(")"),H(";")&&I(),V(r,no.createDoWhileStatement(e,t))}function bn(){var e,t,n,r=P();return J("while"),X("("),e=At(),X(")"),n=oo.inIteration,oo.inIteration=!0,t=kn(),oo.inIteration=n,V(r,no.createWhileStatement(e,t))}function Cn(){var e=P(),t=I(),n=rn();return V(e,no.createVariableDeclaration(n,t.value))}function wn(e){var t,n,r,o,a,i,s,u,c=P();return t=n=r=null,J("for"),G("each")&&B({},Hr.EachNotAllowed),X("("),H(";")?I():(q("var")||q("let")||q("const")?(oo.allowIn=!1,t=Cn(),oo.allowIn=!0,1===t.declarations.length&&(q("in")||G("of"))&&(s=ro,("in"!==s.value&&"var"===t.kind||!t.declarations[0].init)&&(I(),o=t,a=At(),t=null))):(oo.allowIn=!1,t=At(),oo.allowIn=!0,G("of")?(s=I(),o=t,a=At(),t=null):q("in")&&(et(t)||B({},Hr.InvalidLHSInForIn),s=I(),o=t,a=At(),t=null)),"undefined"==typeof o&&X(";")),"undefined"==typeof o&&(H(";")||(n=At()),X(";"),H(")")||(r=At())),X(")"),u=oo.inIteration,oo.inIteration=!0,void 0!==e&&e.ignoreBody||(i=kn()),oo.inIteration=u,"undefined"==typeof o?V(c,no.createForStatement(t,n,r,i)):"in"===s.value?V(c,no.createForInStatement(o,a,i)):V(c,no.createForOfStatement(o,a,i))}function Sn(){var e,t=null,n=P();return J("continue"),59===zr.charCodeAt(Qr)?(I(),oo.inIteration||B({},Hr.IllegalContinue),V(n,no.createContinueStatement(null))):U()?(oo.inIteration||B({},Hr.IllegalContinue),V(n,no.createContinueStatement(null))):(ro.type===Fr.Identifier&&(t=en(),e="$"+t.name,Object.prototype.hasOwnProperty.call(oo.labelSet,e)||B({},Hr.UnknownLabel,t.name)),Q(),null!==t||oo.inIteration||B({},Hr.IllegalContinue),V(n,no.createContinueStatement(t)))}function Nn(){var e,t=null,n=P();return J("break"),59===zr.charCodeAt(Qr)?(I(),oo.inIteration||oo.inSwitch||B({},Hr.IllegalBreak),V(n,no.createBreakStatement(null))):U()?(oo.inIteration||oo.inSwitch||B({},Hr.IllegalBreak),V(n,no.createBreakStatement(null))):(ro.type===Fr.Identifier&&(t=en(),e="$"+t.name,Object.prototype.hasOwnProperty.call(oo.labelSet,e)||B({},Hr.UnknownLabel,t.name)),Q(),null!==t||oo.inIteration||oo.inSwitch||B({},Hr.IllegalBreak),V(n,no.createBreakStatement(t)))}function xn(){var e=null,t=P();return J("return"),oo.inFunctionBody||F({},Hr.IllegalReturn),32===zr.charCodeAt(Qr)&&s(zr.charCodeAt(Qr+1))?(e=At(),Q(),V(t,no.createReturnStatement(e))):U()?V(t,no.createReturnStatement(null)):(H(";")||H("}")||ro.type===Fr.EOF||(e=At()),Q(),V(t,no.createReturnStatement(e)))}function _n(){var e,t,n=P();return $r&&F({},Hr.StrictModeWith),J("with"),X("("),e=At(),X(")"),t=kn(),V(n,no.createWithStatement(e,t))}function Tn(){var e,t,n=[],r=P();for(q("default")?(I(),e=null):(J("case"),e=At()),X(":");to>Qr&&!(H("}")||q("default")||q("case"))&&(t=zn(),"undefined"!=typeof t);)n.push(t);return V(r,no.createSwitchCase(e,n))}function Dn(){var e,t,n,r,o,a=P();if(J("switch"),X("("),e=At(),X(")"),X("{"),t=[],H("}"))return I(),V(a,no.createSwitchStatement(e,t));for(r=oo.inSwitch,oo.inSwitch=!0,o=!1;to>Qr&&!H("}");)n=Tn(),null===n.test&&(o&&B({},Hr.MultipleDefaultsInSwitch),o=!0),t.push(n);return oo.inSwitch=r,X("}"),V(a,no.createSwitchStatement(e,t))}function On(){var e,t=P();return J("throw"),U()&&B({},Hr.NewlineAfterThrow),e=At(),Q(),V(t,no.createThrowStatement(e))}function In(){var e,t,n=P();return J("catch"),X("("),H(")")&&j(ro),e=At(),$r&&e.type===Jr.Identifier&&p(e.name)&&F({},Hr.StrictCatchVariable),X(")"),t=kt(),V(n,no.createCatchClause(e,t))}function An(){var e,t=[],n=null,r=P();return J("try"),e=kt(),q("catch")&&t.push(In()),q("finally")&&(I(),n=kt()),0!==t.length||n||B({},Hr.NoCatchOrFinally),V(r,no.createTryStatement(e,[],t,n))}function Mn(){var e=P();return J("debugger"),Q(),V(e,no.createDebuggerStatement())}function kn(){var e,t,n,r,o=ro.type;if(o===Fr.EOF&&j(ro),o===Fr.Punctuator)switch(ro.value){case";":return yn();case"{":return kt();case"(":return gn()}if(o===Fr.Keyword)switch(ro.value){case"break":return Nn();case"continue":return Sn();case"debugger":return Mn();case"do":return En();case"for":return wn();case"function":return Bn();case"class":return Yn();case"if":return vn();case"return":return xn();case"switch":return Dn();case"throw":return On();case"try":return An();case"var":return on();case"while":return bn();case"with":return _n()}return pt()?Bn():(e=P(),t=At(),t.type===Jr.Identifier&&H(":")?(I(),r="$"+t.name,Object.prototype.hasOwnProperty.call(oo.labelSet,r)&&B({},Hr.Redeclaration,"Label",t.name),oo.labelSet[r]=!0,n=kn(),delete oo.labelSet[r],V(e,no.createLabeledStatement(t,n))):(Q(),V(e,no.createExpressionStatement(t))))}function Pn(){return H("{")?Rn():It()}function Rn(){var e,t,n,r,o,a,i,s,u,c=[],l=P();for(X("{");to>Qr&&ro.type===Fr.StringLiteral&&(t=ro,e=zn(),c.push(e),e.expression.type===Jr.Literal);)n=zr.slice(t.range[0]+1,t.range[1]-1),"use strict"===n?($r=!0,r&&F(r,Hr.StrictOctalLiteral)):!r&&t.octal&&(r=t);for(o=oo.labelSet,a=oo.inIteration,i=oo.inSwitch,s=oo.inFunctionBody,u=oo.parenthesizedCount,oo.labelSet={},oo.inIteration=!1,oo.inSwitch=!1,oo.inFunctionBody=!0,oo.parenthesizedCount=0;to>Qr&&!H("}")&&(e=zn(),"undefined"!=typeof e);)c.push(e);return X("}"),oo.labelSet=o,oo.inIteration=a,oo.inSwitch=i,oo.inFunctionBody=s,oo.parenthesizedCount=u,V(l,no.createBlockStatement(c))}function Ln(e,t,n){var r="$"+n;$r?(p(n)&&(e.stricted=t,e.message=Hr.StrictParamName),Object.prototype.hasOwnProperty.call(e.paramSet,r)&&(e.stricted=t,e.message=Hr.StrictParamDupe)):e.firstRestricted||(p(n)?(e.firstRestricted=t,e.message=Hr.StrictParamName):l(n)?(e.firstRestricted=t,e.message=Hr.StrictReservedWord):Object.prototype.hasOwnProperty.call(e.paramSet,r)&&(e.firstRestricted=t,e.message=Hr.StrictParamDupe)),e.paramSet[r]=!0}function Vn(e){var t,n,r,o,a;return n=ro,"..."===n.value&&(n=I(),r=!0),H("[")?(t=P(),o=tt(),Tt(e,o),H(":")&&(o.typeAnnotation=Zt(),V(t,o))):H("{")?(t=P(),r&&B({},Hr.ObjectPatternAsRestParameter),o=st(),Tt(e,o),H(":")&&(o.typeAnnotation=Zt(),V(t,o))):(o=r?tn(!1,!1):tn(!1,!0),Ln(e,n,n.value)),H("=")&&(r&&F(ro,Hr.DefaultRestParameter),I(),a=It(),++e.defaultCount),r?(H(")")||B({},Hr.ParameterAfterRestParameter),e.rest=o,!1):(e.params.push(o),e.defaults.push(a),!H(")"))}function Un(e){var t,n=P();if(t={params:[],defaultCount:0,defaults:[],rest:null,firstRestricted:e},X("("),!H(")"))for(t.paramSet={};to>Qr&&Vn(t);)X(",");return X(")"),0===t.defaultCount&&(t.defaults=[]),H(":")&&(t.returnType=Zt()),V(n,t)}function Bn(){var e,t,n,r,o,a,i,s,u,c,d,f,h=P();return s=!1,z()&&(I(),s=!0),J("function"),i=!1,H("*")&&(I(),i=!0),n=ro,e=en(),H("<")&&(f=Pt()),$r?p(n.value)&&F(n,Hr.StrictFunctionName):p(n.value)?(o=n,a=Hr.StrictFunctionName):l(n.value)&&(o=n,a=Hr.StrictReservedWord),r=Un(o),o=r.firstRestricted,r.message&&(a=r.message),u=$r,c=oo.yieldAllowed,oo.yieldAllowed=i,d=oo.awaitAllowed,oo.awaitAllowed=s,t=Rn(),$r&&o&&B(o,a),$r&&r.stricted&&F(r.stricted,a),$r=u,oo.yieldAllowed=c,oo.awaitAllowed=d,V(h,no.createFunctionDeclaration(e,r.params,r.defaults,t,r.rest,i,!1,s,r.returnType,f))}function Fn(){var e,t,n,r,o,a,i,s,u,c,d,f=null,h=P();return i=!1,z()&&(I(),i=!0),J("function"),a=!1,H("*")&&(I(),a=!0),H("(")||(H("<")||(e=ro,f=en(),$r?p(e.value)&&F(e,Hr.StrictFunctionName):p(e.value)?(t=e,n=Hr.StrictFunctionName):l(e.value)&&(t=e,n=Hr.StrictReservedWord)),H("<")&&(d=Pt())),r=Un(t),t=r.firstRestricted,r.message&&(n=r.message),s=$r,u=oo.yieldAllowed,oo.yieldAllowed=a,c=oo.awaitAllowed,oo.awaitAllowed=i,o=Rn(),$r&&t&&B(t,n),$r&&r.stricted&&F(r.stricted,n),$r=s,oo.yieldAllowed=u,oo.awaitAllowed=c,V(h,no.createFunctionExpression(f,r.params,r.defaults,o,r.rest,a,!1,i,r.returnType,d))}function jn(){var e,t,n=P();return J("yield",!$r),e=!1,H("*")&&(I(),e=!0),t=It(),V(n,no.createYieldExpression(t,e))}function Xn(){var e,t=P();return W("await"),e=It(),V(t,no.createAwaitExpression(e))}function Jn(e,t,n,r){var o,a,i,s,u,c,l,p=!1;return i=n?Yr["static"]:Yr.prototype,r?no.createMethodDefinition(i,"",t,rt({generator:!0})):(c="Identifier"===t.type&&t.name,"get"!==c||H("(")?"set"!==c||H("(")?(H("<")&&(u=Pt()),s="async"===c&&!H("("),s&&(t=ot()),e[i].hasOwnProperty(t.name)?B(t,Hr.IllegalDuplicateClassProperty):e[i][t.name]={},e[i][t.name].data=!0,no.createMethodDefinition(i,"",t,rt({generator:!1,async:s,typeParameters:u}))):(t=ot(),e[i].hasOwnProperty(t.name)?(p=void 0===e[i][t.name].set&&void 0===e[i][t.name].data&&void 0!==e[i][t.name].get,p||B(t,Hr.IllegalDuplicateClassProperty)):e[i][t.name]={},e[i][t.name].set=!0,X("("),o=ro,a=[tn()],X(")"),H(":")&&(l=Zt()),no.createMethodDefinition(i,"set",t,nt({params:a,generator:!1,name:o,returnType:l}))):(t=ot(),e[i].hasOwnProperty(t.name)?(p=void 0===e[i][t.name].get&&void 0===e[i][t.name].data&&void 0!==e[i][t.name].set,p||B(t,Hr.IllegalDuplicateClassProperty)):e[i][t.name]={},e[i][t.name].get=!0,X("("),X(")"),H(":")&&(l=Zt()),no.createMethodDefinition(i,"get",t,nt({generator:!1,returnType:l}))))}function Wn(e,t,n,r){var o;return o=Zt(),X(";"),no.createClassProperty(t,o,n,r)}function Hn(e){var t,n,r=!1,o=P(),a=!1;return H(";")?void I():("static"===ro.value&&(I(),a=!0),H("*")&&(I(),r=!0),t="["===ro.value,n=ot(),r||":"!==ro.value?V(o,Jn(e,n,a,r,t)):V(o,Wn(e,n,t,a)))}function qn(){var e,t=[],n={},r=P();for(n[Yr["static"]]={},n[Yr.prototype]={},X("{");to>Qr&&!H("}");)e=Hn(n),"undefined"!=typeof e&&t.push(e);return X("}"),V(r,no.createClassBody(t))}function Gn(){var e,t,n,r=[];for(W("implements");to>Qr&&(t=P(),e=en(),n=H("<")?Rt():null,r.push(V(t,no.createClassImplements(e,n))),H(","));)X(",");return r}function Kn(){var e,t,n,r,o,a=null,i=P();return J("class"),q("extends")||G("implements")||H("{")||(e=en()),H("<")&&(o=Pt()),q("extends")&&(J("extends"),n=oo.yieldAllowed,oo.yieldAllowed=!1,a=Et(),H("<")&&(r=Rt()),oo.yieldAllowed=n),G("implements")&&(t=Gn()),V(i,no.createClassExpression(e,a,qn(),o,r,t))}function Yn(){var e,t,n,r,o,a=null,i=P();return J("class"),e=en(),H("<")&&(o=Pt()),q("extends")&&(J("extends"),n=oo.yieldAllowed,oo.yieldAllowed=!1,a=Et(),H("<")&&(r=Rt()),oo.yieldAllowed=n),G("implements")&&(t=Gn()),V(i,no.createClassDeclaration(e,a,qn(),o,r,t))}function zn(){var e;if(ro.type===Fr.Keyword)switch(ro.value){case"const":case"let":return an(ro.value);case"function":return Bn();default:return kn()}if(G("type")&&M().type===Fr.Identifier)return Nr();if(G("interface")&&M().type===Fr.Identifier)return Tr();if(G("declare"))if(e=M(),e.type===Fr.Keyword)switch(e.value){case"class":return Dr();case"function":return Or();case"var":return Ir()}else if(e.type===Fr.Identifier&&"module"===e.value)return Ar();return ro.type!==Fr.EOF?kn():void 0}function $n(){if(ro.type===Fr.Keyword)switch(ro.value){case"export":return ln();case"import":return mn()}return zn()}function Qn(){for(var e,t,n,r,o=[];to>Qr&&(t=ro,t.type===Fr.StringLiteral)&&(e=$n(),o.push(e),e.expression.type===Jr.Literal);)n=zr.slice(t.range[0]+1,t.range[1]-1),"use strict"===n?($r=!0,r&&F(r,Hr.StrictOctalLiteral)):!r&&t.octal&&(r=t);for(;to>Qr&&(e=$n(),"undefined"!=typeof e);)o.push(e);return o}function Zn(){var e,t=P();return $r=!1,A(),e=Qn(),V(t,no.createProgram(e))}function er(e,n,r,o,a){var i;t("number"==typeof r,"Comment must have valid position"),oo.lastCommentStart>=r||(oo.lastCommentStart=r,i={type:e,value:n},ao.range&&(i.range=[r,o]),ao.loc&&(i.loc=a),ao.comments.push(i),ao.attachComment&&(ao.leadingComments.push(i),ao.trailingComments.push(i)))}function tr(){var e,t,n,r,o,s;for(e="",o=!1,s=!1;to>Qr;)if(t=zr[Qr],s)t=zr[Qr++],i(t.charCodeAt(0))?(n.end={line:Zr,column:Qr-eo-1},s=!1,er("Line",e,r,Qr-1,n),"\r"===t&&"\n"===zr[Qr]&&++Qr,++Zr,eo=Qr,e=""):Qr>=to?(s=!1,e+=t,n.end={line:Zr,column:to-eo},er("Line",e,r,to,n)):e+=t;else if(o)i(t.charCodeAt(0))?("\r"===t&&(++Qr,e+="\r"),("\r"!==t||"\n"===zr[Qr])&&(e+=zr[Qr],++Zr,++Qr,eo=Qr,Qr>=to&&B({},Hr.UnexpectedToken,"ILLEGAL"))):(t=zr[Qr++],Qr>=to&&B({},Hr.UnexpectedToken,"ILLEGAL"),e+=t,"*"===t&&(t=zr[Qr],"/"===t&&(e=e.substr(0,e.length-1),o=!1,++Qr,n.end={line:Zr,column:Qr-eo},er("Block",e,r,Qr,n),e="")));else if("/"===t)if(t=zr[Qr+1],"/"===t)n={start:{line:Zr,column:Qr-eo}},r=Qr,Qr+=2,s=!0,Qr>=to&&(n.end={line:Zr,column:Qr-eo},s=!1,er("Line",e,r,Qr,n));else{if("*"!==t)break;r=Qr,Qr+=2,o=!0,n={start:{line:Zr,column:Qr-eo-2}},Qr>=to&&B({},Hr.UnexpectedToken,"ILLEGAL")}else if(a(t.charCodeAt(0)))++Qr;else{if(!i(t.charCodeAt(0)))break;++Qr,"\r"===t&&"\n"===zr[Qr]&&++Qr,++Zr,eo=Qr}}function nr(e){return e.type===Jr.XJSIdentifier?e.name:e.type===Jr.XJSNamespacedName?e.namespace.name+":"+e.name.name:e.type===Jr.XJSMemberExpression?nr(e.object)+"."+nr(e.property):void 0}function rr(e){return 92!==e&&s(e)}function or(e){return 92!==e&&(45===e||u(e))}function ar(){var e,t,n="";for(t=Qr;to>Qr&&(e=zr.charCodeAt(Qr),or(e));)n+=zr[Qr++];return{type:Fr.XJSIdentifier,value:n,lineNumber:Zr,lineStart:eo,range:[t,Qr]}}function ir(){var e,n,r="",o=Qr,a=0;for(e=zr[Qr],t("&"===e,"Entity must start with an ampersand"),Qr++;to>Qr&&a++<10&&(e=zr[Qr++],";"!==e);)r+=e;if(";"===e)if("#"===r[0]){if(n="x"===r[1]?+("0"+r.substr(1)):+r.substr(1).replace(qr.LeadingZeros,""),!isNaN(n))return String.fromCharCode(n)}else if(Kr[r])return Kr[r];return Qr=o+1,"&"}function sr(e){var t,n,r="";for(n=Qr;to>Qr&&(t=zr[Qr],-1===e.indexOf(t));)"&"===t?r+=ir():(Qr++,"\r"===t&&"\n"===zr[Qr]&&(r+=t,t=zr[Qr],Qr++),i(t.charCodeAt(0))&&(++Zr,eo=Qr),r+=t);return{type:Fr.XJSText,value:r,lineNumber:Zr,lineStart:eo,range:[n,Qr]}}function ur(){var e,n,r;return n=zr[Qr],t("'"===n||'"'===n,"String literal must starts with a quote"),r=Qr,++Qr,e=sr([n]),n!==zr[Qr]&&B({},Hr.UnexpectedToken,"ILLEGAL"),++Qr,e.range=[r,Qr],e}function cr(){var e=zr.charCodeAt(Qr);return 123!==e&&60!==e?sr(["<","{"]):E()}function lr(){var e,t=P();return ro.type!==Fr.XJSIdentifier&&j(ro),e=I(),V(t,no.createXJSIdentifier(e.value))}function pr(){var e,t,n=P();return e=lr(),X(":"),t=lr(),V(n,no.createXJSNamespacedName(e,t))}function dr(){for(var e=P(),t=lr();H(".");)I(),t=V(e,no.createXJSMemberExpression(t,lr()));return t}function fr(){return":"===M().value?pr():"."===M().value?dr():lr()}function hr(){return":"===M().value?pr():lr()}function mr(){var e,t;return H("{")?(e=gr(),e.expression.type===Jr.XJSEmptyExpression&&B(e,"XJS attributes must only be assigned a non-empty expression")):H("<")?e=Sr():ro.type===Fr.XJSText?(t=P(),e=V(t,no.createLiteral(I()))):B({},Hr.InvalidXJSAttributeValue),e}function yr(){for(var e=R();"}"!==zr.charAt(Qr);)Qr++;return V(e,no.createXJSEmptyExpression())}function gr(){var e,t,n,r=P();return t=oo.inXJSChild,n=oo.inXJSTag,oo.inXJSChild=!1,oo.inXJSTag=!1,X("{"),e=H("}")?yr():At(),oo.inXJSChild=t,oo.inXJSTag=n,X("}"),V(r,no.createXJSExpressionContainer(e))}function vr(){var e,t,n,r=P();return t=oo.inXJSChild,n=oo.inXJSTag,oo.inXJSChild=!1,oo.inXJSTag=!1,X("{"),X("..."),e=It(),oo.inXJSChild=t,oo.inXJSTag=n,X("}"),V(r,no.createXJSSpreadAttribute(e))}function Er(){var e,t;return H("{")?vr():(t=P(),e=hr(),H("=")?(I(),V(t,no.createXJSAttribute(e,mr()))):V(t,no.createXJSAttribute(e)))}function br(){var e,t;return H("{")?e=gr():ro.type===Fr.XJSText?(t=R(),e=V(t,no.createLiteral(I()))):e=Sr(),e}function Cr(){var e,t,n,r=P();return t=oo.inXJSChild,n=oo.inXJSTag,oo.inXJSChild=!1,oo.inXJSTag=!0,X("<"),X("/"),e=fr(),oo.inXJSChild=t,oo.inXJSTag=n,X(">"),V(r,no.createXJSClosingElement(e))}function wr(){var e,t,n,r=[],o=!1,a=P();for(t=oo.inXJSChild,n=oo.inXJSTag,oo.inXJSChild=!1,oo.inXJSTag=!0,X("<"),e=fr();to>Qr&&"/"!==ro.value&&">"!==ro.value;)r.push(Er());return oo.inXJSTag=n,"/"===ro.value?(X("/"),oo.inXJSChild=t,X(">"),o=!0):(oo.inXJSChild=!0,X(">")),V(a,no.createXJSOpeningElement(e,r,o))}function Sr(){var e,t,n,r=null,o=[],a=P();if(t=oo.inXJSChild,n=oo.inXJSTag,e=wr(),!e.selfClosing){for(;to>Qr&&(oo.inXJSChild=!1,"<"!==ro.value||"/"!==M().value);)oo.inXJSChild=!0,o.push(br());oo.inXJSChild=t,oo.inXJSTag=n,r=Cr(),nr(r.name)!==nr(e.name)&&B({},Hr.ExpectedXJSClosingTag,nr(e.name))}return!t&&H("<")&&B(ro,Hr.AdjacentXJSElements),V(a,no.createXJSElement(e,r,o))}function Nr(){var e,t,n=P(),r=null;return W("type"),e=en(),H("<")&&(r=Pt()),X("="),t=Qt(),Q(),V(n,no.createTypeAlias(e,r,t))}function xr(){var e,t=P(),n=null;return e=en(),H("<")&&(n=Rt()),V(t,no.createInterfaceExtends(e,n))}function _r(e,t){var n,r,o,a=[],i=null;if(o=en(),H("<")&&(i=Pt()),q("extends"))for(J("extends");to>Qr&&(a.push(xr()),H(","));)X(",");return r=P(),n=V(r,Ft(t)),V(e,no.createInterface(o,i,n,a))}function Tr(){var e=P();return W("interface"),_r(e,!1)}function Dr(){var e,t=P();return W("declare"),J("class"),e=_r(t,!0),e.type=Jr.DeclareClass,e}function Or(){var e,t,n,r,o,a,i,s,u=P(),c=null;return W("declare"),J("function"),t=P(),e=en(),s=P(),H("<")&&(c=Pt()),X("("),a=qt(),n=a.params,o=a.rest,X(")"),X(":"),r=Qt(),i=V(s,no.createFunctionTypeAnnotation(n,r,o,c)),e.typeAnnotation=V(s,no.createTypeAnnotation(i)),V(t,e),Q(),V(u,no.createDeclareFunction(e))}function Ir(){var e,t=P();return W("declare"),J("var"),e=tn(),Q(),V(t,no.createDeclareVariable(e))}function Ar(){var e,t,n,r,o=[],a=P();for(W("declare"),W("module"),ro.type===Fr.StringLiteral?($r&&ro.octal&&F(ro,Hr.StrictOctalLiteral),n=P(),t=V(n,no.createLiteral(I()))):t=en(),e=P(),X("{");to>Qr&&!H("}");)switch(r=M(),r.value){case"class":o.push(Dr());break;case"function":o.push(Or());break;case"var":o.push(Ir());break;default:j(ro)}return X("}"),V(a,no.createDeclareModule(t,V(e,no.createBlockStatement(o))))}function Mr(){var e,t,n,r,o,a;return oo.inXJSChild||f(),e=Qr,t={start:{line:Zr,column:Qr-eo}},n=ao.advance(),t.end={line:Zr,column:Qr-eo},n.type!==Fr.EOF&&(r=[n.range[0],n.range[1]],o=zr.slice(n.range[0],n.range[1]),a={type:jr[n.type],value:o,range:r,loc:t},n.regex&&(a.regex={pattern:n.regex.pattern,flags:n.regex.flags}),ao.tokens.push(a)),n}function kr(){var e,t,n,r;return f(),e=Qr,t={start:{line:Zr,column:Qr-eo}},n=ao.scanRegExp(),t.end={line:Zr,column:Qr-eo},ao.tokenize||(ao.tokens.length>0&&(r=ao.tokens[ao.tokens.length-1],r.range[0]===e&&"Punctuator"===r.type&&("/"===r.value||"/="===r.value)&&ao.tokens.pop()),ao.tokens.push({type:"RegularExpression",value:n.literal,regex:n.regex,range:[e,Qr],loc:t})),n}function Pr(){var e,t,n,r=[];for(e=0;e0?1:0,eo=0,to=zr.length,ro=null,oo={allowKeyword:!0,allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},ao={},t=t||{},t.tokens=!0,ao.tokens=[],ao.tokenize=!0,ao.openParenToken=-1,ao.openCurlyToken=-1,ao.range="boolean"==typeof t.range&&t.range,ao.loc="boolean"==typeof t.loc&&t.loc,"boolean"==typeof t.comment&&t.comment&&(ao.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(ao.errors=[]),to>0&&"undefined"==typeof zr[0]&&e instanceof String&&(zr=e.valueOf()),Rr();try{if(A(),ro.type===Fr.EOF)return ao.tokens;for(r=I();ro.type!==Fr.EOF;)try{r=I()}catch(a){if(r=ro,ao.errors){ao.errors.push(a);break}throw a}Pr(),o=ao.tokens,"undefined"!=typeof ao.comments&&(o.comments=ao.comments),"undefined"!=typeof ao.errors&&(o.errors=ao.errors)}catch(i){throw i}finally{Lr(),ao={}}return o}function Br(e,t){var n,r;r=String,"string"==typeof e||e instanceof String||(e=r(e)),no=Gr,zr=e,Qr=0,Zr=zr.length>0?1:0,eo=0,to=zr.length,ro=null,oo={allowKeyword:!1,allowIn:!0,labelSet:{},parenthesizedCount:0,inFunctionBody:!1,inIteration:!1,inSwitch:!1,inXJSChild:!1,inXJSTag:!1,inType:!1,lastCommentStart:-1,yieldAllowed:!1,awaitAllowed:!1},ao={},"undefined"!=typeof t&&(ao.range="boolean"==typeof t.range&&t.range,ao.loc="boolean"==typeof t.loc&&t.loc,ao.attachComment="boolean"==typeof t.attachComment&&t.attachComment,ao.loc&&null!==t.source&&void 0!==t.source&&(no=Vr(no,{postProcess:function(e){return e.loc.source=r(t.source),e}})),"boolean"==typeof t.tokens&&t.tokens&&(ao.tokens=[]),"boolean"==typeof t.comment&&t.comment&&(ao.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(ao.errors=[]),ao.attachComment&&(ao.range=!0,ao.comments=[],ao.bottomRightStack=[],ao.trailingComments=[],ao.leadingComments=[])),to>0&&"undefined"==typeof zr[0]&&e instanceof String&&(zr=e.valueOf()),Rr();try{n=Zn(),"undefined"!=typeof ao.comments&&(n.comments=ao.comments),"undefined"!=typeof ao.tokens&&(Pr(),n.tokens=ao.tokens),"undefined"!=typeof ao.errors&&(n.errors=ao.errors) -}catch(o){throw o}finally{Lr(),ao={}}return n}var Fr,jr,Xr,Jr,Wr,Hr,qr,Gr,Kr,Yr,zr,$r,Qr,Zr,eo,to,no,ro,oo,ao;Fr={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9,Template:10,XJSIdentifier:11,XJSText:12},jr={},jr[Fr.BooleanLiteral]="Boolean",jr[Fr.EOF]="",jr[Fr.Identifier]="Identifier",jr[Fr.Keyword]="Keyword",jr[Fr.NullLiteral]="Null",jr[Fr.NumericLiteral]="Numeric",jr[Fr.Punctuator]="Punctuator",jr[Fr.StringLiteral]="String",jr[Fr.XJSIdentifier]="XJSIdentifier",jr[Fr.XJSText]="XJSText",jr[Fr.RegularExpression]="RegularExpression",Xr=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],Jr={AnyTypeAnnotation:"AnyTypeAnnotation",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrayTypeAnnotation:"ArrayTypeAnnotation",ArrowFunctionExpression:"ArrowFunctionExpression",AssignmentExpression:"AssignmentExpression",BinaryExpression:"BinaryExpression",BlockStatement:"BlockStatement",BooleanTypeAnnotation:"BooleanTypeAnnotation",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ClassImplements:"ClassImplements",ClassProperty:"ClassProperty",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DeclareClass:"DeclareClass",DeclareFunction:"DeclareFunction",DeclareModule:"DeclareModule",DeclareVariable:"DeclareVariable",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportDeclaration:"ExportDeclaration",ExportBatchSpecifier:"ExportBatchSpecifier",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",ForStatement:"ForStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",FunctionTypeAnnotation:"FunctionTypeAnnotation",FunctionTypeParam:"FunctionTypeParam",GenericTypeAnnotation:"GenericTypeAnnotation",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",InterfaceDeclaration:"InterfaceDeclaration",InterfaceExtends:"InterfaceExtends",IntersectionTypeAnnotation:"IntersectionTypeAnnotation",LabeledStatement:"LabeledStatement",Literal:"Literal",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",NullableTypeAnnotation:"NullableTypeAnnotation",NumberTypeAnnotation:"NumberTypeAnnotation",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",ObjectTypeAnnotation:"ObjectTypeAnnotation",ObjectTypeCallProperty:"ObjectTypeCallProperty",ObjectTypeIndexer:"ObjectTypeIndexer",ObjectTypeProperty:"ObjectTypeProperty",Program:"Program",Property:"Property",QualifiedTypeIdentifier:"QualifiedTypeIdentifier",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",SpreadProperty:"SpreadProperty",StringLiteralTypeAnnotation:"StringLiteralTypeAnnotation",StringTypeAnnotation:"StringTypeAnnotation",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TupleTypeAnnotation:"TupleTypeAnnotation",TryStatement:"TryStatement",TypeAlias:"TypeAlias",TypeAnnotation:"TypeAnnotation",TypeofTypeAnnotation:"TypeofTypeAnnotation",TypeParameterDeclaration:"TypeParameterDeclaration",TypeParameterInstantiation:"TypeParameterInstantiation",UnaryExpression:"UnaryExpression",UnionTypeAnnotation:"UnionTypeAnnotation",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",VoidTypeAnnotation:"VoidTypeAnnotation",WhileStatement:"WhileStatement",WithStatement:"WithStatement",XJSIdentifier:"XJSIdentifier",XJSNamespacedName:"XJSNamespacedName",XJSMemberExpression:"XJSMemberExpression",XJSEmptyExpression:"XJSEmptyExpression",XJSExpressionContainer:"XJSExpressionContainer",XJSElement:"XJSElement",XJSClosingElement:"XJSClosingElement",XJSOpeningElement:"XJSOpeningElement",XJSAttribute:"XJSAttribute",XJSSpreadAttribute:"XJSSpreadAttribute",XJSText:"XJSText",YieldExpression:"YieldExpression",AwaitExpression:"AwaitExpression"},Wr={Data:1,Get:2,Set:4},Yr={"static":"static",prototype:"prototype"},Hr={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInFormalsList:"Invalid left-hand side in formals list",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalDuplicateClassProperty:"Illegal duplicate property in class definition",IllegalReturn:"Illegal return statement",IllegalSpread:"Illegal spread element",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",ParameterAfterRestParameter:"Rest parameter must be final parameter of an argument list",DefaultRestParameter:"Rest parameter can not have a default value",ElementAfterSpreadElement:"Spread must be the final element of an element list",PropertyAfterSpreadProperty:"A rest property must be the final property of an object literal",ObjectPatternAsRestParameter:"Invalid rest parameter",ObjectPatternAsSpread:"Invalid spread argument",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",MissingFromClause:"Missing from clause",NoAsAfterImportNamespace:"Missing as after import *",InvalidModuleSpecifier:"Invalid module specifier",NoUnintializedConst:"Const must be initialized",ComprehensionRequiresBlock:"Comprehension must have at least one block",ComprehensionError:"Comprehension Error",EachNotAllowed:"Each is not supported",InvalidXJSAttributeValue:"XJS value should be either an expression or a quoted XJS text",ExpectedXJSClosingTag:"Expected corresponding XJS closing tag for %0",AdjacentXJSElements:"Adjacent XJS elements must be wrapped in an enclosing tag",ConfusedAboutFunctionType:"Unexpected token =>. It looks like you are trying to write a function type, but you ended up writing a grouped type followed by an =>, which is a syntax error. Remember, function type parameters are named so function types look like (name1: type1, name2: type2) => returnType. You probably wrote (type1) => returnType"},qr={NonAsciiIdentifierStart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),NonAsciiIdentifierPart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),LeadingZeros:new RegExp("^0+(?!$)")},Gr={name:"SyntaxTree",postProcess:function(e){return e},createArrayExpression:function(e){return{type:Jr.ArrayExpression,elements:e}},createAssignmentExpression:function(e,t,n){return{type:Jr.AssignmentExpression,operator:e,left:t,right:n}},createBinaryExpression:function(e,t,n){var r="||"===e||"&&"===e?Jr.LogicalExpression:Jr.BinaryExpression;return{type:r,operator:e,left:t,right:n}},createBlockStatement:function(e){return{type:Jr.BlockStatement,body:e}},createBreakStatement:function(e){return{type:Jr.BreakStatement,label:e}},createCallExpression:function(e,t){return{type:Jr.CallExpression,callee:e,arguments:t}},createCatchClause:function(e,t){return{type:Jr.CatchClause,param:e,body:t}},createConditionalExpression:function(e,t,n){return{type:Jr.ConditionalExpression,test:e,consequent:t,alternate:n}},createContinueStatement:function(e){return{type:Jr.ContinueStatement,label:e}},createDebuggerStatement:function(){return{type:Jr.DebuggerStatement}},createDoWhileStatement:function(e,t){return{type:Jr.DoWhileStatement,body:e,test:t}},createEmptyStatement:function(){return{type:Jr.EmptyStatement}},createExpressionStatement:function(e){return{type:Jr.ExpressionStatement,expression:e}},createForStatement:function(e,t,n,r){return{type:Jr.ForStatement,init:e,test:t,update:n,body:r}},createForInStatement:function(e,t,n){return{type:Jr.ForInStatement,left:e,right:t,body:n,each:!1}},createForOfStatement:function(e,t,n){return{type:Jr.ForOfStatement,left:e,right:t,body:n}},createFunctionDeclaration:function(e,t,n,r,o,a,i,s,u,c){var l={type:Jr.FunctionDeclaration,id:e,params:t,defaults:n,body:r,rest:o,generator:a,expression:i,returnType:u,typeParameters:c};return s&&(l.async=!0),l},createFunctionExpression:function(e,t,n,r,o,a,i,s,u,c){var l={type:Jr.FunctionExpression,id:e,params:t,defaults:n,body:r,rest:o,generator:a,expression:i,returnType:u,typeParameters:c};return s&&(l.async=!0),l},createIdentifier:function(e){return{type:Jr.Identifier,name:e,typeAnnotation:void 0,optional:void 0}},createTypeAnnotation:function(e){return{type:Jr.TypeAnnotation,typeAnnotation:e}},createFunctionTypeAnnotation:function(e,t,n,r){return{type:Jr.FunctionTypeAnnotation,params:e,returnType:t,rest:n,typeParameters:r}},createFunctionTypeParam:function(e,t,n){return{type:Jr.FunctionTypeParam,name:e,typeAnnotation:t,optional:n}},createNullableTypeAnnotation:function(e){return{type:Jr.NullableTypeAnnotation,typeAnnotation:e}},createArrayTypeAnnotation:function(e){return{type:Jr.ArrayTypeAnnotation,elementType:e}},createGenericTypeAnnotation:function(e,t){return{type:Jr.GenericTypeAnnotation,id:e,typeParameters:t}},createQualifiedTypeIdentifier:function(e,t){return{type:Jr.QualifiedTypeIdentifier,qualification:e,id:t}},createTypeParameterDeclaration:function(e){return{type:Jr.TypeParameterDeclaration,params:e}},createTypeParameterInstantiation:function(e){return{type:Jr.TypeParameterInstantiation,params:e}},createAnyTypeAnnotation:function(){return{type:Jr.AnyTypeAnnotation}},createBooleanTypeAnnotation:function(){return{type:Jr.BooleanTypeAnnotation}},createNumberTypeAnnotation:function(){return{type:Jr.NumberTypeAnnotation}},createStringTypeAnnotation:function(){return{type:Jr.StringTypeAnnotation}},createStringLiteralTypeAnnotation:function(e){return{type:Jr.StringLiteralTypeAnnotation,value:e.value,raw:zr.slice(e.range[0],e.range[1])}},createVoidTypeAnnotation:function(){return{type:Jr.VoidTypeAnnotation}},createTypeofTypeAnnotation:function(e){return{type:Jr.TypeofTypeAnnotation,argument:e}},createTupleTypeAnnotation:function(e){return{type:Jr.TupleTypeAnnotation,types:e}},createObjectTypeAnnotation:function(e,t,n){return{type:Jr.ObjectTypeAnnotation,properties:e,indexers:t,callProperties:n}},createObjectTypeIndexer:function(e,t,n,r){return{type:Jr.ObjectTypeIndexer,id:e,key:t,value:n,"static":r}},createObjectTypeCallProperty:function(e,t){return{type:Jr.ObjectTypeCallProperty,value:e,"static":t}},createObjectTypeProperty:function(e,t,n,r){return{type:Jr.ObjectTypeProperty,key:e,value:t,optional:n,"static":r}},createUnionTypeAnnotation:function(e){return{type:Jr.UnionTypeAnnotation,types:e}},createIntersectionTypeAnnotation:function(e){return{type:Jr.IntersectionTypeAnnotation,types:e}},createTypeAlias:function(e,t,n){return{type:Jr.TypeAlias,id:e,typeParameters:t,right:n}},createInterface:function(e,t,n,r){return{type:Jr.InterfaceDeclaration,id:e,typeParameters:t,body:n,"extends":r}},createInterfaceExtends:function(e,t){return{type:Jr.InterfaceExtends,id:e,typeParameters:t}},createDeclareFunction:function(e){return{type:Jr.DeclareFunction,id:e}},createDeclareVariable:function(e){return{type:Jr.DeclareVariable,id:e}},createDeclareModule:function(e,t){return{type:Jr.DeclareModule,id:e,body:t}},createXJSAttribute:function(e,t){return{type:Jr.XJSAttribute,name:e,value:t||null}},createXJSSpreadAttribute:function(e){return{type:Jr.XJSSpreadAttribute,argument:e}},createXJSIdentifier:function(e){return{type:Jr.XJSIdentifier,name:e}},createXJSNamespacedName:function(e,t){return{type:Jr.XJSNamespacedName,namespace:e,name:t}},createXJSMemberExpression:function(e,t){return{type:Jr.XJSMemberExpression,object:e,property:t}},createXJSElement:function(e,t,n){return{type:Jr.XJSElement,openingElement:e,closingElement:t,children:n}},createXJSEmptyExpression:function(){return{type:Jr.XJSEmptyExpression}},createXJSExpressionContainer:function(e){return{type:Jr.XJSExpressionContainer,expression:e}},createXJSOpeningElement:function(e,t,n){return{type:Jr.XJSOpeningElement,name:e,selfClosing:n,attributes:t}},createXJSClosingElement:function(e){return{type:Jr.XJSClosingElement,name:e}},createIfStatement:function(e,t,n){return{type:Jr.IfStatement,test:e,consequent:t,alternate:n}},createLabeledStatement:function(e,t){return{type:Jr.LabeledStatement,label:e,body:t}},createLiteral:function(e){var t={type:Jr.Literal,value:e.value,raw:zr.slice(e.range[0],e.range[1])};return e.regex&&(t.regex=e.regex),t},createMemberExpression:function(e,t,n){return{type:Jr.MemberExpression,computed:"["===e,object:t,property:n}},createNewExpression:function(e,t){return{type:Jr.NewExpression,callee:e,arguments:t}},createObjectExpression:function(e){return{type:Jr.ObjectExpression,properties:e}},createPostfixExpression:function(e,t){return{type:Jr.UpdateExpression,operator:e,argument:t,prefix:!1}},createProgram:function(e){return{type:Jr.Program,body:e}},createProperty:function(e,t,n,r,o,a){return{type:Jr.Property,key:t,value:n,kind:e,method:r,shorthand:o,computed:a}},createReturnStatement:function(e){return{type:Jr.ReturnStatement,argument:e}},createSequenceExpression:function(e){return{type:Jr.SequenceExpression,expressions:e}},createSwitchCase:function(e,t){return{type:Jr.SwitchCase,test:e,consequent:t}},createSwitchStatement:function(e,t){return{type:Jr.SwitchStatement,discriminant:e,cases:t}},createThisExpression:function(){return{type:Jr.ThisExpression}},createThrowStatement:function(e){return{type:Jr.ThrowStatement,argument:e}},createTryStatement:function(e,t,n,r){return{type:Jr.TryStatement,block:e,guardedHandlers:t,handlers:n,finalizer:r}},createUnaryExpression:function(e,t){return"++"===e||"--"===e?{type:Jr.UpdateExpression,operator:e,argument:t,prefix:!0}:{type:Jr.UnaryExpression,operator:e,argument:t,prefix:!0}},createVariableDeclaration:function(e,t){return{type:Jr.VariableDeclaration,declarations:e,kind:t}},createVariableDeclarator:function(e,t){return{type:Jr.VariableDeclarator,id:e,init:t}},createWhileStatement:function(e,t){return{type:Jr.WhileStatement,test:e,body:t}},createWithStatement:function(e,t){return{type:Jr.WithStatement,object:e,body:t}},createTemplateElement:function(e,t){return{type:Jr.TemplateElement,value:e,tail:t}},createTemplateLiteral:function(e,t){return{type:Jr.TemplateLiteral,quasis:e,expressions:t}},createSpreadElement:function(e){return{type:Jr.SpreadElement,argument:e}},createSpreadProperty:function(e){return{type:Jr.SpreadProperty,argument:e}},createTaggedTemplateExpression:function(e,t){return{type:Jr.TaggedTemplateExpression,tag:e,quasi:t}},createArrowFunctionExpression:function(e,t,n,r,o,a){var i={type:Jr.ArrowFunctionExpression,id:null,params:e,defaults:t,body:n,rest:r,generator:!1,expression:o};return a&&(i.async=!0),i},createMethodDefinition:function(e,t,n,r){return{type:Jr.MethodDefinition,key:n,value:r,kind:t,"static":e===Yr["static"]}},createClassProperty:function(e,t,n,r){return{type:Jr.ClassProperty,key:e,typeAnnotation:t,computed:n,"static":r}},createClassBody:function(e){return{type:Jr.ClassBody,body:e}},createClassImplements:function(e,t){return{type:Jr.ClassImplements,id:e,typeParameters:t}},createClassExpression:function(e,t,n,r,o,a){return{type:Jr.ClassExpression,id:e,superClass:t,body:n,typeParameters:r,superTypeParameters:o,"implements":a}},createClassDeclaration:function(e,t,n,r,o,a){return{type:Jr.ClassDeclaration,id:e,superClass:t,body:n,typeParameters:r,superTypeParameters:o,"implements":a}},createModuleSpecifier:function(e){return{type:Jr.ModuleSpecifier,value:e.value,raw:zr.slice(e.range[0],e.range[1])}},createExportSpecifier:function(e,t){return{type:Jr.ExportSpecifier,id:e,name:t}},createExportBatchSpecifier:function(){return{type:Jr.ExportBatchSpecifier}},createImportDefaultSpecifier:function(e){return{type:Jr.ImportDefaultSpecifier,id:e}},createImportNamespaceSpecifier:function(e){return{type:Jr.ImportNamespaceSpecifier,id:e}},createExportDeclaration:function(e,t,n,r){return{type:Jr.ExportDeclaration,"default":!!e,declaration:t,specifiers:n,source:r}},createImportSpecifier:function(e,t){return{type:Jr.ImportSpecifier,id:e,name:t}},createImportDeclaration:function(e,t){return{type:Jr.ImportDeclaration,specifiers:e,source:t}},createYieldExpression:function(e,t){return{type:Jr.YieldExpression,argument:e,delegate:t}},createAwaitExpression:function(e){return{type:Jr.AwaitExpression,argument:e}},createComprehensionExpression:function(e,t,n){return{type:Jr.ComprehensionExpression,filter:e,blocks:t,body:n}}},Kr={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪","int":"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},e.version="8001.1001.0-dev-harmony-fb",e.tokenize=Ur,e.parse=Br,e.Syntax=function(){var e,t={};"function"==typeof Object.create&&(t=Object.create(null));for(e in Jr)Jr.hasOwnProperty(e)&&(t[e]=Jr[e]);return"function"==typeof Object.freeze&&Object.freeze(t),t}()})},function(e,t,n){"use strict";var r=n(27),o=r({bubbled:null,captured:null}),a=r({topBlur:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topError:null,topFocus:null,topInput:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topReset:null,topScroll:null,topSelectionChange:null,topSubmit:null,topTextInput:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topWheel:null}),i={topLevelTypes:a,PropagationPhases:o};e.exports=i},function(e,t,n){(function(t){"use strict";function r(e){var t=e._owner||null;return t&&t.constructor&&t.constructor.displayName?" Check the render method of `"+t.constructor.displayName+"`.":""}function o(e,n,r){for(var o in n)n.hasOwnProperty(o)&&("production"!==t.env.NODE_ENV?D("function"==typeof n[o],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e.displayName||"ReactCompositeComponent",N[r],o):D("function"==typeof n[o]))}function a(e,n){var r=U.hasOwnProperty(n)?U[n]:null;j.hasOwnProperty(n)&&("production"!==t.env.NODE_ENV?D(r===L.OVERRIDE_BASE,"ReactCompositeComponentInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",n):D(r===L.OVERRIDE_BASE)),e.hasOwnProperty(n)&&("production"!==t.env.NODE_ENV?D(r===L.DEFINE_MANY||r===L.DEFINE_MANY_MERGED,"ReactCompositeComponentInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n):D(r===L.DEFINE_MANY||r===L.DEFINE_MANY_MERGED))}function i(e){var n=e._compositeLifeCycleState;"production"!==t.env.NODE_ENV?D(e.isMounted()||n===F.MOUNTING,"replaceState(...): Can only update a mounted or mounting component."):D(e.isMounted()||n===F.MOUNTING),"production"!==t.env.NODE_ENV?D(null==h.current,"replaceState(...): Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."):D(null==h.current),"production"!==t.env.NODE_ENV?D(n!==F.UNMOUNTING,"replaceState(...): Cannot update while unmounting component. This usually means you called setState() on an unmounted component."):D(n!==F.UNMOUNTING)}function s(e,n){if(n){"production"!==t.env.NODE_ENV?D(!E.isValidFactory(n),"ReactCompositeComponent: You're attempting to use a component class as a mixin. Instead, just use a regular object."):D(!E.isValidFactory(n)),"production"!==t.env.NODE_ENV?D(!m.isValidElement(n),"ReactCompositeComponent: You're attempting to use a component as a mixin. Instead, just use a regular object."):D(!m.isValidElement(n));var r=e.prototype;n.hasOwnProperty(R)&&B.mixins(e,n.mixins);for(var o in n)if(n.hasOwnProperty(o)&&o!==R){var i=n[o];if(a(r,o),B.hasOwnProperty(o))B[o](e,i);else{var s=U.hasOwnProperty(o),u=r.hasOwnProperty(o),c=i&&i.__reactDontBind,d="function"==typeof i,f=d&&!s&&!u&&!c;if(f)r.__reactAutoBindMap||(r.__reactAutoBindMap={}),r.__reactAutoBindMap[o]=i,r[o]=i;else if(u){var h=U[o];"production"!==t.env.NODE_ENV?D(s&&(h===L.DEFINE_MANY_MERGED||h===L.DEFINE_MANY),"ReactCompositeComponent: Unexpected spec policy %s for key %s when mixing in component specs.",h,o):D(s&&(h===L.DEFINE_MANY_MERGED||h===L.DEFINE_MANY)),h===L.DEFINE_MANY_MERGED?r[o]=l(r[o],i):h===L.DEFINE_MANY&&(r[o]=p(r[o],i))}else r[o]=i,"production"!==t.env.NODE_ENV&&"function"==typeof i&&n.displayName&&(r[o].displayName=n.displayName+"_"+o)}}}}function u(e,n){if(n)for(var r in n){var o=n[r];if(n.hasOwnProperty(r)){var a=r in B;"production"!==t.env.NODE_ENV?D(!a,'ReactCompositeComponent: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',r):D(!a);var i=r in e;"production"!==t.env.NODE_ENV?D(!i,"ReactCompositeComponent: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",r):D(!i),e[r]=o}}}function c(e,n){return"production"!==t.env.NODE_ENV?D(e&&n&&"object"==typeof e&&"object"==typeof n,"mergeObjectsWithNoDuplicateKeys(): Cannot merge non-objects"):D(e&&n&&"object"==typeof e&&"object"==typeof n),M(n,function(n,r){"production"!==t.env.NODE_ENV?D(void 0===e[r],"mergeObjectsWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",r):D(void 0===e[r]),e[r]=n}),e}function l(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);return null==n?r:null==r?n:c(n,r)}}function p(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}var d=n(25),f=n(45),h=n(20),m=n(4),y=n(46),g=n(35),v=n(139),E=n(30),b=n(71),C=n(13),w=n(143),S=n(73),N=n(72),x=n(14),_=n(3),T=n(38),D=n(2),O=n(27),I=n(16),A=n(39),M=n(86),k=n(57),P=n(6),R=I({mixins:null}),L=O({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),V=[],U={mixins:L.DEFINE_MANY,statics:L.DEFINE_MANY,propTypes:L.DEFINE_MANY,contextTypes:L.DEFINE_MANY,childContextTypes:L.DEFINE_MANY,getDefaultProps:L.DEFINE_MANY_MERGED,getInitialState:L.DEFINE_MANY_MERGED,getChildContext:L.DEFINE_MANY_MERGED,render:L.DEFINE_ONCE,componentWillMount:L.DEFINE_MANY,componentDidMount:L.DEFINE_MANY,componentWillReceiveProps:L.DEFINE_MANY,shouldComponentUpdate:L.DEFINE_ONCE,componentWillUpdate:L.DEFINE_MANY,componentDidUpdate:L.DEFINE_MANY,componentWillUnmount:L.DEFINE_MANY,updateComponent:L.OVERRIDE_BASE},B={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;ns;s++)i.push(arguments[s]);if(t!==n&&null!==t)A("react_bind_warning",{component:o}),console.warn("bind(): React component methods may only be bound to the component instance. See "+o);else if(!i.length)return A("react_bind_warning",{component:o}),console.warn("bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See "+o),r;var c=a.apply(r,arguments);return c.__reactBoundContext=n,c.__reactBoundMethod=e,c.__reactBoundArguments=i,c}}return r}},X=function(){};_(X.prototype,d.Mixin,b.Mixin,w.Mixin,j);var J={LifeCycle:F,Base:X,createClass:function(e){var n=function(){};n.prototype=new X,n.prototype.constructor=n,V.forEach(s.bind(null,n)),s(n,e),n.getDefaultProps&&(n.defaultProps=n.getDefaultProps()),"production"!==t.env.NODE_ENV?D(n.prototype.render,"createClass(...): Class specification must implement a `render` method."):D(n.prototype.render),"production"!==t.env.NODE_ENV&&n.prototype.componentShouldUpdate&&(A("react_component_should_update_warning",{component:e.displayName}),console.warn((e.displayName||"A component")+" has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value."));for(var r in U)n.prototype[r]||(n.prototype[r]=null);return E.wrapFactory("production"!==t.env.NODE_ENV?y.createFactory(n):m.createFactory(n))},injection:{injectMixin:function(e){V.push(e)}}};e.exports=J}).call(t,n(1))},function(e,t,n){(function(t){"use strict";function r(e){var t=C(e);return t&&V.getID(t)}function o(e){var n=a(e);if(n)if(O.hasOwnProperty(n)){var r=O[n];r!==e&&("production"!==t.env.NODE_ENV?S(!u(r,n),"ReactMount: Two valid but unequal nodes with the same `%s`: %s",D,n):S(!u(r,n)),O[n]=e)}else O[n]=e;return n}function a(e){return e&&e.getAttribute&&e.getAttribute(D)||""}function i(e,t){var n=a(e);n!==t&&delete O[n],e.setAttribute(D,t),O[t]=e}function s(e){return O.hasOwnProperty(e)&&u(O[e],e)||(O[e]=V.findReactNodeByID(e)),O[e]}function u(e,n){if(e){"production"!==t.env.NODE_ENV?S(a(e)===n,"ReactMount: Unexpected modification of `%s`",D):S(a(e)===n);var r=V.findReactContainerForID(n);if(r&&E(r,e))return!0}return!1}function c(e){delete O[e]}function l(e){var t=O[e];return t&&u(t,e)?void(L=t):!1}function p(e){L=null,g.traverseAncestors(e,l);var t=L;return L=null,t}var d=n(19),f=n(24),h=n(20),m=n(4),y=n(30),g=n(26),v=n(13),E=n(79),b=n(49),C=n(83),w=n(38),S=n(2),N=n(57),x=n(6),_=y.wrapCreateElement(m.createElement),T=g.SEPARATOR,D=d.ID_ATTRIBUTE_NAME,O={},I=1,A=9,M={},k={};if("production"!==t.env.NODE_ENV)var P={};var R=[],L=null,V={_instancesByReactRootID:M,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,n,o,a){var i=n.props;return V.scrollMonitor(o,function(){e.replaceProps(i,a)}),"production"!==t.env.NODE_ENV&&(P[r(o)]=C(o)),e},_registerComponent:function(e,n){"production"!==t.env.NODE_ENV?S(n&&(n.nodeType===I||n.nodeType===A),"_registerComponent(...): Target container is not a DOM element."):S(n&&(n.nodeType===I||n.nodeType===A)),f.ensureScrollValueMonitoring();var r=V.registerContainer(n);return M[r]=e,r},_renderNewRootComponent:v.measure("ReactMount","_renderNewRootComponent",function(e,n,r){"production"!==t.env.NODE_ENV?x(null==h.current,"_renderNewRootComponent(): Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate."):null;var o=w(e,null),a=V._registerComponent(o,n);return o.mountComponentIntoNode(a,n,r),"production"!==t.env.NODE_ENV&&(P[a]=C(n)),o}),render:function(e,n,o){"production"!==t.env.NODE_ENV?S(m.isValidElement(e),"renderComponent(): Invalid component element.%s","string"==typeof e?" Instead of passing an element string, make sure to instantiate it by passing it to React.createElement.":y.isValidFactory(e)?" Instead of passing a component class, make sure to instantiate it by passing it to React.createElement.":"undefined"!=typeof e.props?" This may be caused by unintentionally loading two independent copies of React.":""):S(m.isValidElement(e));var a=M[r(n)];if(a){var i=a._currentElement;if(N(i,e))return V._updateRootComponent(a,e,n,o);V.unmountComponentAtNode(n)}var s=C(n),u=s&&V.isRenderedByReact(s),c=u&&!a,l=V._renderNewRootComponent(e,n,c);return o&&o.call(l),l},constructAndRenderComponent:function(e,t,n){var r=_(e,t);return V.render(r,n)},constructAndRenderComponentByID:function(e,n,r){var o=document.getElementById(r);return"production"!==t.env.NODE_ENV?S(o,'Tried to get element with id of "%s" but it is not present on the page.',r):S(o),V.constructAndRenderComponent(e,n,o)},registerContainer:function(e){var t=r(e);return t&&(t=g.getReactRootIDFromNodeID(t)),t||(t=g.createReactRootID()),k[t]=e,t},unmountComponentAtNode:function(e){"production"!==t.env.NODE_ENV?x(null==h.current,"unmountComponentAtNode(): Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate."):null;var n=r(e),o=M[n];return o?(V.unmountComponentFromNode(o,e),delete M[n],delete k[n],"production"!==t.env.NODE_ENV&&delete P[n],!0):!1},unmountComponentFromNode:function(e,t){for(e.unmountComponent(),t.nodeType===A&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)},findReactContainerForID:function(e){var n=g.getReactRootIDFromNodeID(e),r=k[n];if("production"!==t.env.NODE_ENV){var o=P[n];if(o&&o.parentNode!==r){"production"!==t.env.NODE_ENV?S(a(o)===n,"ReactMount: Root element ID differed from reactRootID."):S(a(o)===n);var i=r.firstChild;i&&n===a(i)?P[n]=i:console.warn("ReactMount: Root element has been removed from its original container. New container:",o.parentNode)}}return r},findReactNodeByID:function(e){var t=V.findReactContainerForID(e);return V.findComponentRoot(t,e)},isRenderedByReact:function(e){if(1!==e.nodeType)return!1;var t=V.getID(e);return t?t.charAt(0)===T:!1},getFirstReactDOM:function(e){for(var t=e;t&&t.parentNode!==t;){if(V.isRenderedByReact(t))return t;t=t.parentNode}return null},findComponentRoot:function(e,n){var r=R,o=0,a=p(n)||e;for(r[0]=a.firstChild,r.length=1;o when using tables, nesting tags like
,

, or , or using non-SVG elements in an parent. Try inspecting the child nodes of the element with React ID `%s`.",n,V.getID(e)):S(!1)},getReactRootID:r,getID:o,setID:i,getNode:s,purgeID:c};V.renderComponent=b("ReactMount","renderComponent","render",this,V.render),e.exports=V}).call(t,n(1))},function(e,t,n){(function(t){"use strict";var r=n(35),o=n(11),a=n(2),i={getDOMNode:function(){return"production"!==t.env.NODE_ENV?a(this.isMounted(),"getDOMNode(): A component must be mounted to have a DOM node."):a(this.isMounted()),r.isNullComponentID(this._rootNodeID)?null:o.getNode(this._rootNodeID)}};e.exports=i}).call(t,n(1))},function(e,t,n){(function(t){"use strict";function n(e,t,n){return n}var r={enableMeasure:!1,storedMeasure:n,measure:function(e,n,o){if("production"!==t.env.NODE_ENV){var a=null,i=function(){return r.enableMeasure?(a||(a=r.storedMeasure(e,n,o)),a.apply(this,arguments)):o.apply(this,arguments)};return i.displayName=e+"_"+n,i}return o},injection:{injectMeasure:function(e){r.storedMeasure=e}}};e.exports=r}).call(t,n(1))},function(e,t,n){(function(t){"use strict";function r(){"production"!==t.env.NODE_ENV?y(T.ReactReconcileTransaction&&C,"ReactUpdates: must inject a reconcile transaction class and batching strategy"):y(T.ReactReconcileTransaction&&C)}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=l.getPooled(),this.reconcileTransaction=T.ReactReconcileTransaction.getPooled()}function a(e,t,n){r(),C.batchedUpdates(e,t,n)}function i(e,t){return e._mountDepth-t._mountDepth}function s(e){var n=e.dirtyComponentsLength;"production"!==t.env.NODE_ENV?y(n===v.length,"Expected flush transaction's stored dirty-components length (%s) to match dirty-components array length (%s).",n,v.length):y(n===v.length),v.sort(i);for(var r=0;n>r;r++){var o=v[r];if(o.isMounted()){var a=o._pendingCallbacks;if(o._pendingCallbacks=null,o.performUpdateIfNecessary(e.reconcileTransaction),a)for(var s=0;st||o.hasOverloadedBooleanValue[e]&&t===!1}var o=n(19),a=n(50),i=n(87),s=n(6),u=i(function(e){return a(e)+'="'});if("production"!==t.env.NODE_ENV)var c={children:!0,dangerouslySetInnerHTML:!0,key:!0,ref:!0},l={},p=function(e){if(!(c.hasOwnProperty(e)&&c[e]||l.hasOwnProperty(e)&&l[e])){l[e]=!0;var n=e.toLowerCase(),r=o.isCustomAttribute(n)?n:o.getPossibleStandardName.hasOwnProperty(n)?o.getPossibleStandardName[n]:null;"production"!==t.env.NODE_ENV?s(null==r,"Unknown DOM property "+e+". Did you mean "+r+"?"):null}};var d={createMarkupForID:function(e){return u(o.ID_ATTRIBUTE_NAME)+a(e)+'"'},createMarkupForProperty:function(e,n){if(o.isStandardName.hasOwnProperty(e)&&o.isStandardName[e]){if(r(e,n))return"";var i=o.getAttributeName[e];return o.hasBooleanValue[e]||o.hasOverloadedBooleanValue[e]&&n===!0?a(i):u(i)+a(n)+'"'}return o.isCustomAttribute(e)?null==n?"":u(e)+a(n)+'"':("production"!==t.env.NODE_ENV&&p(e),null)},setValueForProperty:function(e,n,a){if(o.isStandardName.hasOwnProperty(n)&&o.isStandardName[n]){var i=o.getMutationMethod[n];if(i)i(e,a);else if(r(n,a))this.deleteValueForProperty(e,n);else if(o.mustUseAttribute[n])e.setAttribute(o.getAttributeName[n],""+a);else{var s=o.getPropertyName[n];o.hasSideEffects[n]&&""+e[s]==""+a||(e[s]=a)}}else o.isCustomAttribute(n)?null==a?e.removeAttribute(n):e.setAttribute(n,""+a):"production"!==t.env.NODE_ENV&&p(n)},deleteValueForProperty:function(e,n){if(o.isStandardName.hasOwnProperty(n)&&o.isStandardName[n]){var r=o.getMutationMethod[n];if(r)r(e,void 0);else if(o.mustUseAttribute[n])e.removeAttribute(o.getAttributeName[n]);else{var a=o.getPropertyName[n],i=o.getDefaultValueForProperty(e.nodeName,a);o.hasSideEffects[n]&&""+e[a]===i||(e[a]=i)}}else o.isCustomAttribute(n)?e.removeAttribute(n):"production"!==t.env.NODE_ENV&&p(n)}};e.exports=d}).call(t,n(1))},function(e,t,n){(function(t){"use strict";function r(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return y(e,r)}function o(e,n,o){if("production"!==t.env.NODE_ENV&&!e)throw new Error("Dispatching id must not be null");var a=n?m.bubbled:m.captured,i=r(e,o,a);i&&(o._dispatchListeners=f(o._dispatchListeners,i),o._dispatchIDs=f(o._dispatchIDs,e))}function a(e){e&&e.dispatchConfig.phasedRegistrationNames&&d.injection.getInstanceHandle().traverseTwoPhase(e.dispatchMarker,o,e)}function i(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=y(e,r);o&&(n._dispatchListeners=f(n._dispatchListeners,o),n._dispatchIDs=f(n._dispatchIDs,e))}}function s(e){e&&e.dispatchConfig.registrationName&&i(e.dispatchMarker,null,e)}function u(e){h(e,a)}function c(e,t,n,r){d.injection.getInstanceHandle().traverseEnterLeave(n,r,i,e,t)}function l(e){h(e,s)}var p=n(9),d=n(29),f=n(48),h=n(51),m=p.PropagationPhases,y=d.getListener,g={accumulateTwoPhaseDispatches:u,accumulateDirectDispatches:l,accumulateEnterLeaveDispatches:c};e.exports=g}).call(t,n(1))},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,m)||(e[m]=f++,p[e[m]]={}),p[e[m]]}var o=n(9),a=n(29),i=n(64),s=n(140),u=n(78),c=n(3),l=n(56),p={},d=!1,f=0,h={topBlur:"blur",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topScroll:"scroll",topSelectionChange:"selectionchange",topTextInput:"textInput",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topWheel:"wheel"},m="_reactListenersID"+String(Math.random()).slice(2),y=c({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(y.handleTopLevel),y.ReactEventListener=e}},setEnabled:function(e){y.ReactEventListener&&y.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!y.ReactEventListener||!y.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,a=r(n),s=i.registrationNameDependencies[e],u=o.topLevelTypes,c=0,p=s.length;p>c;c++){var d=s[c];a.hasOwnProperty(d)&&a[d]||(d===u.topWheel?l("wheel")?y.ReactEventListener.trapBubbledEvent(u.topWheel,"wheel",n):l("mousewheel")?y.ReactEventListener.trapBubbledEvent(u.topWheel,"mousewheel",n):y.ReactEventListener.trapBubbledEvent(u.topWheel,"DOMMouseScroll",n):d===u.topScroll?l("scroll",!0)?y.ReactEventListener.trapCapturedEvent(u.topScroll,"scroll",n):y.ReactEventListener.trapBubbledEvent(u.topScroll,"scroll",y.ReactEventListener.WINDOW_HANDLE):d===u.topFocus||d===u.topBlur?(l("focus",!0)?(y.ReactEventListener.trapCapturedEvent(u.topFocus,"focus",n),y.ReactEventListener.trapCapturedEvent(u.topBlur,"blur",n)):l("focusin")&&(y.ReactEventListener.trapBubbledEvent(u.topFocus,"focusin",n),y.ReactEventListener.trapBubbledEvent(u.topBlur,"focusout",n)),a[u.topBlur]=!0,a[u.topFocus]=!0):h.hasOwnProperty(d)&&y.ReactEventListener.trapBubbledEvent(d,h[d],n),a[d]=!0)}},trapBubbledEvent:function(e,t,n){return y.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return y.ReactEventListener.trapCapturedEvent(e,t,n)},ensureScrollValueMonitoring:function(){if(!d){var e=u.refreshScrollValues;y.ReactEventListener.monitorScrollValue(e),d=!0}},eventNameDispatchConfigs:a.eventNameDispatchConfigs,registrationNameModules:a.registrationNameModules,putListener:a.putListener,getListener:a.getListener,deleteListener:a.deleteListener,deleteAllListeners:a.deleteAllListeners});e.exports=y},function(e,t,n){(function(t){"use strict";var r=n(4),o=n(71),a=n(14),i=n(3),s=n(2),u=n(27),c=u({MOUNTED:null,UNMOUNTED:null}),l=!1,p=null,d=null,f={injection:{injectEnvironment:function(e){"production"!==t.env.NODE_ENV?s(!l,"ReactComponent: injectEnvironment() can only be called once."):s(!l),d=e.mountImageIntoNode,p=e.unmountIDFromEnvironment,f.BackendIDOperations=e.BackendIDOperations,l=!0}},LifeCycle:c,BackendIDOperations:null,Mixin:{isMounted:function(){return this._lifeCycleState===c.MOUNTED},setProps:function(e,t){var n=this._pendingElement||this._currentElement;this.replaceProps(i({},n.props,e),t)},replaceProps:function(e,n){"production"!==t.env.NODE_ENV?s(this.isMounted(),"replaceProps(...): Can only update a mounted component."):s(this.isMounted()),"production"!==t.env.NODE_ENV?s(0===this._mountDepth,"replaceProps(...): You called `setProps` or `replaceProps` on a component with a parent. This is an anti-pattern since props will get reactively updated when rendered. Instead, change the owner's `render` method to pass the correct value as props to the component where it is created."):s(0===this._mountDepth),this._pendingElement=r.cloneAndReplaceProps(this._pendingElement||this._currentElement,e),a.enqueueUpdate(this,n)},_setPropsInternal:function(e,t){var n=this._pendingElement||this._currentElement;this._pendingElement=r.cloneAndReplaceProps(n,i({},n.props,e)),a.enqueueUpdate(this,t)},construct:function(e){this.props=e.props,this._owner=e._owner,this._lifeCycleState=c.UNMOUNTED,this._pendingCallbacks=null,this._currentElement=e,this._pendingElement=null},mountComponent:function(e,n,r){"production"!==t.env.NODE_ENV?s(!this.isMounted(),"mountComponent(%s, ...): Can only mount an unmounted component. Make sure to avoid storing components between renders or reusing a single component instance in multiple places.",e):s(!this.isMounted()); +!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(module,exports,__webpack_require__){(function(global){"use strict";function applyBodyDiff(){Reactize.applyDiff(document.body,document.body),global.document.removeEventListener("DOMContentLoaded",applyBodyDiff)}var HTMLtoJSX=__webpack_require__(92),JSXTransformer=__webpack_require__(93),React=__webpack_require__(180),Turbolinks=__webpack_require__(91);Turbolinks.pagesCached(0);var converter=new HTMLtoJSX({createClass:!1}),nextDocument,Reactize={version:"0.7.0",applyDiff:function(e,t){try{var n=Reactize.reactize(e);React.render(n,t)}catch(r){void 0!==nextDocument&&void 0!==nextDocument.URL&&(global.location.href=nextDocument.URL)}},reactize:function(element){var code=JSXTransformer.transform(converter.convert(element.innerHTML));return eval(code)}};global.document.addEventListener("page:before-unload",function(e){nextDocument=e.target}),global.document.addEventListener("DOMContentLoaded",applyBodyDiff),global.document.documentElement.replaceChild=Reactize.applyDiff,global.Turbolinks=Turbolinks,global.Reactize=Reactize,module.exports=Reactize}).call(exports,function(){return this}())},function(e){function t(){}var n=e.exports={};n.nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.MutationObserver,n="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};var r=[];if(t){var o=document.createElement("div"),a=new MutationObserver(function(){var e=r.slice();r.length=0,e.forEach(function(e){e()})});return a.observe(o,{attributes:!0}),function(e){r.length||o.setAttribute("yes","no"),r.push(e)}}return n?(window.addEventListener("message",function(e){var t=e.source;if((t===window||null===t)&&"process-tick"===e.data&&(e.stopPropagation(),r.length>0)){var n=r.shift();n()}},!0),function(e){r.push(e),window.postMessage("process-tick","*")}):function(e){setTimeout(e,0)}}(),n.title="browser",n.browser=!0,n.env={},n.argv=[],n.on=t,n.addListener=t,n.once=t,n.off=t,n.removeListener=t,n.removeAllListeners=t,n.emit=t,n.binding=function(){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(){throw new Error("process.chdir is not supported")}},function(e,t,n){(function(t){"use strict";var n=function(e,n,r,o,a,i,s,u){if("production"!==t.env.NODE_ENV&&void 0===n)throw new Error("invariant requires an error message argument");if(!e){var c;if(void 0===n)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,o,a,i,s,u],p=0;c=new Error("Invariant Violation: "+n.replace(/%s/g,function(){return l[p++]}))}throw c.framesToPop=1,c}};e.exports=n}).call(t,n(1))},function(e){function t(e){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");for(var t=Object(e),n=Object.prototype.hasOwnProperty,r=1;r1){for(var h=Array(f),m=0;f>m;m++)h[m]=arguments[m+2];c.children=h}if(e&&e.defaultProps){var y=e.defaultProps;for(o in y)"undefined"==typeof c[o]&&(c[o]=y[o])}return new l(e,p,d,i.current,a.current,c)},l.createFactory=function(e){var t=l.createElement.bind(null,e);return t.type=e,t},l.cloneAndReplaceProps=function(e,n){var r=new l(e.type,e.key,e.ref,e._owner,e._context,n);return"production"!==t.env.NODE_ENV&&(r._store.validated=e._store.validated),r},l.isValidElement=function(e){var t=!(!e||!e._isReactElement);return t},e.exports=l}).call(t,n(1))},function(e){"use strict";var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},function(e,t,n){(function(t){"use strict";var r=n(15),o=r;"production"!==t.env.NODE_ENV&&(o=function(e,t){for(var n=[],r=2,o=arguments.length;o>r;r++)n.push(arguments[r]);if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){var a=0;console.warn("Warning: "+t.replace(/%s/g,function(){return n[a++]}))}}),e.exports=o}).call(t,n(1))},function(e,t,n){function r(e,t,n){return{localScope:{parentNode:t,parentScope:null,identifiers:{},tempVarIndex:0},superClass:null,mungeNamespace:"",methodNode:null,methodFuncNode:null,className:null,scopeIsStrict:null,indentBy:0,g:{opts:n,position:0,extra:{},buffer:"",source:e,docblock:null,tagNamespaceUsed:!1,isBolt:void 0,sourceMap:null,sourceMapFilename:"source.js",sourceLine:1,bufferLine:1,originalProgramAST:null,sourceColumn:0,bufferColumn:0}}}function o(e,t){var n=Object.create(e);return Object.keys(t).forEach(function(e){n[e]=t[e]}),n}function a(e,t,n){if(!(e1&&(t.g.sourceLine++,t.g.bufferLine++,t.g.sourceColumn=0,t.g.bufferColumn=0),t.g.sourceColumn+=a[a.length-1].length,t.g.bufferColumn+=i[i.length-1].length}t.g.buffer+=n?n(o):o,t.g.position=e}}function i(e,t){return t.g.source.substring(e.range[0],e.range[1])}function s(e){return e.replace(k," ")}function u(e){return e.replace(k,"")}function c(e,t){a(e,t,s)}function l(e,t){a(e,t,u)}function p(e){return e.replace(P,function(){return""})}function d(e,t){a(e,t,p)}function f(e,t){if(t.g.sourceMap){e1&&(t.g.sourceLine+=r.length-1,t.g.sourceColumn=0),t.g.sourceColumn+=r[r.length-1].length}t.g.position=e}function h(e,t){if(t.g.sourceMap&&e){t.g.sourceMap.addMapping({generated:{line:t.g.bufferLine,column:t.g.bufferColumn},original:{line:t.g.sourceLine,column:t.g.sourceColumn},source:t.g.sourceMapFilename});var n=e.split("\n");n.length>1&&(t.g.bufferLine+=n.length-1,t.g.bufferColumn=0),t.g.bufferColumn+=n[n.length-1].length}t.g.buffer+=e}function m(e,t){var n=t.indentBy;if(0>n)for(var r=0;-n>r;r++)e=e.replace(M,"$1");else for(var r=0;n>r;r++)e=e.replace(M,"$1$2$2");return e}function y(e,t){var n=e;for(e-=1;e>0&&"\n"!=t.g.source[e];)t.g.source[e].match(/[ \t]/)||(n=e),e--;return t.g.source.substring(e+1,n)}function g(e){if(!e.g.docblock){var t=n(100);e.g.docblock=t.parseAsObject(t.extract(e.g.source))}return e.g.docblock}function v(e,t,n){for(var r=t.localScope;r;){if(void 0!==r.identifiers[e])return!0;if(n&&r.parentNode===n)break;r=r.parentScope}return!1}function E(e,t){return void 0!==t.localScope.identifiers[e]}function b(e,t,n){return{boundaryNode:e,bindingPath:t,bindingNode:n}}function C(e,t,n){n.localScope.identifiers[e]={boundaryNode:t.boundaryNode,path:t.bindingPath,node:t.bindingNode,state:Object.create(n)}}function S(e,t){return t.localScope.identifiers[e]}function w(e,t,n,r,o){if(n.type){if(e(n,r,o)===!1)return;r.unshift(n)}N(n).forEach(function(e){t(e,r,o)}),n.type&&r.shift()}function N(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&x(t,e[n]);return t.sort(function(e,t){return e[1]-t[1]}),t.map(function(e){return e[0]})}function x(e,t){if("object"==typeof t&&null!==t)if(t.range)e.push([t,t.range[0]]);else if(Array.isArray(t))for(var n=0;n=48&&57>=e}function r(e){return"0123456789abcdefABCDEF".indexOf(e)>=0}function o(e){return"01234567".indexOf(e)>=0}function a(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&" ᠎              ".indexOf(String.fromCharCode(e))>0}function i(e){return 10===e||13===e||8232===e||8233===e}function s(e){return 36===e||95===e||e>=65&&90>=e||e>=97&&122>=e||92===e||e>=128&&qr.NonAsciiIdentifierStart.test(String.fromCharCode(e))}function u(e){return 36===e||95===e||e>=65&&90>=e||e>=97&&122>=e||e>=48&&57>=e||92===e||e>=128&&qr.NonAsciiIdentifierPart.test(String.fromCharCode(e))}function c(e){switch(e){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function l(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function p(e){return"eval"===e||"arguments"===e}function d(e){if($r&&l(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e||"let"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function f(){var e,t,n;for(t=!1,n=!1;to>Qr;)if(e=zr.charCodeAt(Qr),n)++Qr,i(e)&&(n=!1,13===e&&10===zr.charCodeAt(Qr)&&++Qr,++Zr,eo=Qr);else if(t)i(e)?(13===e&&++Qr,(13!==e||10===zr.charCodeAt(Qr))&&(++Zr,++Qr,eo=Qr,Qr>=to&&B({},Hr.UnexpectedToken,"ILLEGAL"))):(e=zr.charCodeAt(Qr++),Qr>=to&&B({},Hr.UnexpectedToken,"ILLEGAL"),42===e&&(e=zr.charCodeAt(Qr),47===e&&(++Qr,t=!1)));else if(47===e)if(e=zr.charCodeAt(Qr+1),47===e)Qr+=2,n=!0;else{if(42!==e)break;Qr+=2,t=!0,Qr>=to&&B({},Hr.UnexpectedToken,"ILLEGAL")}else if(a(e))++Qr;else{if(!i(e))break;++Qr,13===e&&10===zr.charCodeAt(Qr)&&++Qr,++Zr,eo=Qr}}function h(e){var t,n,o,a=0;for(n="u"===e?4:2,t=0;n>t;++t){if(!(to>Qr&&r(zr[Qr])))return"";o=zr[Qr++],a=16*a+"0123456789abcdef".indexOf(o.toLowerCase())}return String.fromCharCode(a)}function m(){var e,t,n,o;for(e=zr[Qr],t=0,"}"===e&&B({},Hr.UnexpectedToken,"ILLEGAL");to>Qr&&(e=zr[Qr++],r(e));)t=16*t+"0123456789abcdef".indexOf(e.toLowerCase());return(t>1114111||"}"!==e)&&B({},Hr.UnexpectedToken,"ILLEGAL"),65535>=t?String.fromCharCode(t):(n=(t-65536>>10)+55296,o=(t-65536&1023)+56320,String.fromCharCode(n,o))}function y(){var e,t;for(e=zr.charCodeAt(Qr++),t=String.fromCharCode(e),92===e&&(117!==zr.charCodeAt(Qr)&&B({},Hr.UnexpectedToken,"ILLEGAL"),++Qr,e=h("u"),e&&"\\"!==e&&s(e.charCodeAt(0))||B({},Hr.UnexpectedToken,"ILLEGAL"),t=e);to>Qr&&(e=zr.charCodeAt(Qr),u(e));)++Qr,t+=String.fromCharCode(e),92===e&&(t=t.substr(0,t.length-1),117!==zr.charCodeAt(Qr)&&B({},Hr.UnexpectedToken,"ILLEGAL"),++Qr,e=h("u"),e&&"\\"!==e&&u(e.charCodeAt(0))||B({},Hr.UnexpectedToken,"ILLEGAL"),t+=e);return t}function g(){var e,t;for(e=Qr++;to>Qr;){if(t=zr.charCodeAt(Qr),92===t)return Qr=e,y();if(!u(t))break;++Qr}return zr.slice(e,Qr)}function v(){var e,t,n;return e=Qr,t=92===zr.charCodeAt(Qr)?y():g(),n=1===t.length?Fr.Identifier:d(t)?Fr.Keyword:"null"===t?Fr.NullLiteral:"true"===t||"false"===t?Fr.BooleanLiteral:Fr.Identifier,{type:n,value:t,lineNumber:Zr,lineStart:eo,range:[e,Qr]}}function E(){var e,t,n,r,o=Qr,a=zr.charCodeAt(Qr),i=zr[Qr];switch(a){case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:return++Qr,ao.tokenize&&(40===a?ao.openParenToken=ao.tokens.length:123===a&&(ao.openCurlyToken=ao.tokens.length)),{type:Fr.Punctuator,value:String.fromCharCode(a),lineNumber:Zr,lineStart:eo,range:[o,Qr]};default:if(e=zr.charCodeAt(Qr+1),61===e)switch(a){case 37:case 38:case 42:case 43:case 45:case 47:case 60:case 62:case 94:case 124:return Qr+=2,{type:Fr.Punctuator,value:String.fromCharCode(a)+String.fromCharCode(e),lineNumber:Zr,lineStart:eo,range:[o,Qr]};case 33:case 61:return Qr+=2,61===zr.charCodeAt(Qr)&&++Qr,{type:Fr.Punctuator,value:zr.slice(o,Qr),lineNumber:Zr,lineStart:eo,range:[o,Qr]}}}return t=zr[Qr+1],n=zr[Qr+2],r=zr[Qr+3],">"===i&&">"===t&&">"===n&&"="===r?(Qr+=4,{type:Fr.Punctuator,value:">>>=",lineNumber:Zr,lineStart:eo,range:[o,Qr]}):">"===i&&">"===t&&">"===n?(Qr+=3,{type:Fr.Punctuator,value:">>>",lineNumber:Zr,lineStart:eo,range:[o,Qr]}):"<"===i&&"<"===t&&"="===n?(Qr+=3,{type:Fr.Punctuator,value:"<<=",lineNumber:Zr,lineStart:eo,range:[o,Qr]}):">"===i&&">"===t&&"="===n?(Qr+=3,{type:Fr.Punctuator,value:">>=",lineNumber:Zr,lineStart:eo,range:[o,Qr]}):"."===i&&"."===t&&"."===n?(Qr+=3,{type:Fr.Punctuator,value:"...",lineNumber:Zr,lineStart:eo,range:[o,Qr]}):i===t&&"+-<>&|".indexOf(i)>=0&&!oo.inType?(Qr+=2,{type:Fr.Punctuator,value:i+t,lineNumber:Zr,lineStart:eo,range:[o,Qr]}):"="===i&&">"===t?(Qr+=2,{type:Fr.Punctuator,value:"=>",lineNumber:Zr,lineStart:eo,range:[o,Qr]}):"<>=!+-*%&|^/".indexOf(i)>=0?(++Qr,{type:Fr.Punctuator,value:i,lineNumber:Zr,lineStart:eo,range:[o,Qr]}):"."===i?(++Qr,{type:Fr.Punctuator,value:i,lineNumber:Zr,lineStart:eo,range:[o,Qr]}):void B({},Hr.UnexpectedToken,"ILLEGAL")}function b(e){for(var t="";to>Qr&&r(zr[Qr]);)t+=zr[Qr++];return 0===t.length&&B({},Hr.UnexpectedToken,"ILLEGAL"),s(zr.charCodeAt(Qr))&&B({},Hr.UnexpectedToken,"ILLEGAL"),{type:Fr.NumericLiteral,value:parseInt("0x"+t,16),lineNumber:Zr,lineStart:eo,range:[e,Qr]}}function C(e,t){var r,a;for(o(e)?(a=!0,r="0"+zr[Qr++]):(a=!1,++Qr,r="");to>Qr&&o(zr[Qr]);)r+=zr[Qr++];return a||0!==r.length||B({},Hr.UnexpectedToken,"ILLEGAL"),(s(zr.charCodeAt(Qr))||n(zr.charCodeAt(Qr)))&&B({},Hr.UnexpectedToken,"ILLEGAL"),{type:Fr.NumericLiteral,value:parseInt(r,8),octal:a,lineNumber:Zr,lineStart:eo,range:[t,Qr]}}function S(){var e,r,a;if(a=zr[Qr],t(n(a.charCodeAt(0))||"."===a,"Numeric literal must start with a decimal digit or a decimal point"),r=Qr,e="","."!==a){if(e=zr[Qr++],a=zr[Qr],"0"===e){if("x"===a||"X"===a)return++Qr,b(r);if("b"===a||"B"===a){for(++Qr,e="";to>Qr&&(a=zr[Qr],"0"===a||"1"===a);)e+=zr[Qr++];return 0===e.length&&B({},Hr.UnexpectedToken,"ILLEGAL"),to>Qr&&(a=zr.charCodeAt(Qr),(s(a)||n(a))&&B({},Hr.UnexpectedToken,"ILLEGAL")),{type:Fr.NumericLiteral,value:parseInt(e,2),lineNumber:Zr,lineStart:eo,range:[r,Qr]}}if("o"===a||"O"===a||o(a))return C(a,r);a&&n(a.charCodeAt(0))&&B({},Hr.UnexpectedToken,"ILLEGAL")}for(;n(zr.charCodeAt(Qr));)e+=zr[Qr++];a=zr[Qr]}if("."===a){for(e+=zr[Qr++];n(zr.charCodeAt(Qr));)e+=zr[Qr++];a=zr[Qr]}if("e"===a||"E"===a)if(e+=zr[Qr++],a=zr[Qr],("+"===a||"-"===a)&&(e+=zr[Qr++]),n(zr.charCodeAt(Qr)))for(;n(zr.charCodeAt(Qr));)e+=zr[Qr++];else B({},Hr.UnexpectedToken,"ILLEGAL");return s(zr.charCodeAt(Qr))&&B({},Hr.UnexpectedToken,"ILLEGAL"),{type:Fr.NumericLiteral,value:parseFloat(e),lineNumber:Zr,lineStart:eo,range:[r,Qr]}}function w(){var e,n,r,a,s,u,c="",l=!1;for(e=zr[Qr],t("'"===e||'"'===e,"String literal must starts with a quote"),n=Qr,++Qr;to>Qr;){if(r=zr[Qr++],r===e){e="";break}if("\\"===r)if(r=zr[Qr++],r&&i(r.charCodeAt(0)))++Zr,"\r"===r&&"\n"===zr[Qr]&&++Qr,eo=Qr;else switch(r){case"n":c+="\n";break;case"r":c+="\r";break;case"t":c+=" ";break;case"u":case"x":"{"===zr[Qr]?(++Qr,c+=m()):(u=Qr,s=h(r),s?c+=s:(Qr=u,c+=r));break;case"b":c+="\b";break;case"f":c+="\f";break;case"v":c+=" ";break;default:o(r)?(a="01234567".indexOf(r),0!==a&&(l=!0),to>Qr&&o(zr[Qr])&&(l=!0,a=8*a+"01234567".indexOf(zr[Qr++]),"0123".indexOf(r)>=0&&to>Qr&&o(zr[Qr])&&(a=8*a+"01234567".indexOf(zr[Qr++]))),c+=String.fromCharCode(a)):c+=r}else{if(i(r.charCodeAt(0)))break;c+=r}}return""!==e&&B({},Hr.UnexpectedToken,"ILLEGAL"),{type:Fr.StringLiteral,value:c,octal:l,lineNumber:Zr,lineStart:eo,range:[n,Qr]}}function N(){var e,t,n,r,a,s,u,c,l="";for(n=!1,r=!1,t=Qr,++Qr;to>Qr;){if(e=zr[Qr++],"`"===e){r=!0,n=!0;break}if("$"===e){if("{"===zr[Qr]){++Qr,n=!0;break}l+=e}else if("\\"===e)if(e=zr[Qr++],i(e.charCodeAt(0)))++Zr,"\r"===e&&"\n"===zr[Qr]&&++Qr,eo=Qr;else switch(e){case"n":l+="\n";break;case"r":l+="\r";break;case"t":l+=" ";break;case"u":case"x":"{"===zr[Qr]?(++Qr,l+=m()):(a=Qr,s=h(e),s?l+=s:(Qr=a,l+=e));break;case"b":l+="\b";break;case"f":l+="\f";break;case"v":l+=" ";break;default:o(e)?(u="01234567".indexOf(e),0!==u&&(c=!0),to>Qr&&o(zr[Qr])&&(c=!0,u=8*u+"01234567".indexOf(zr[Qr++]),"0123".indexOf(e)>=0&&to>Qr&&o(zr[Qr])&&(u=8*u+"01234567".indexOf(zr[Qr++]))),l+=String.fromCharCode(u)):l+=e}else i(e.charCodeAt(0))?(++Zr,"\r"===e&&"\n"===zr[Qr]&&++Qr,eo=Qr,l+="\n"):l+=e}return n||B({},Hr.UnexpectedToken,"ILLEGAL"),{type:Fr.Template,value:{cooked:l,raw:zr.slice(t+1,Qr-(r?1:2))},tail:r,octal:c,lineNumber:Zr,lineStart:eo,range:[t,Qr]}}function x(e){var t,n;return ro=null,f(),t=e.head?"`":"}",zr[Qr]!==t&&B({},Hr.UnexpectedToken,"ILLEGAL"),n=N(),A(),n}function _(){var e,n,r,o,a,s,c,l,p=!1,d=!1;for(ro=null,f(),r=Qr,n=zr[Qr],t("/"===n,"Regular expression literal must start with a slash"),e=zr[Qr++];to>Qr;)if(n=zr[Qr++],e+=n,p)"]"===n&&(p=!1);else if("\\"===n)n=zr[Qr++],i(n.charCodeAt(0))&&B({},Hr.UnterminatedRegExp),e+=n;else{if("/"===n){d=!0;break}"["===n?p=!0:i(n.charCodeAt(0))&&B({},Hr.UnterminatedRegExp)}for(d||B({},Hr.UnterminatedRegExp),o=e.substr(1,e.length-2),a="";to>Qr&&(n=zr[Qr],u(n.charCodeAt(0)));)if(++Qr,"\\"===n&&to>Qr)if(n=zr[Qr],"u"===n)if(++Qr,c=Qr,n=h("u"))for(a+=n,e+="\\u";Qr>c;++c)e+=zr[c];else Qr=c,a+="u",e+="\\u";else e+="\\";else a+=n,e+=n;l=o,a.indexOf("u")>=0&&(l=l.replace(/\\u\{([0-9a-fA-F]{5,6})\}/g,"x").replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x"));try{s=new RegExp(l)}catch(m){B({},Hr.InvalidRegExp)}try{s=new RegExp(o,a)}catch(y){s=null}return A(),ao.tokenize?{type:Fr.RegularExpression,value:s,regex:{pattern:o,flags:a},lineNumber:Zr,lineStart:eo,range:[r,Qr]}:{literal:e,value:s,regex:{pattern:o,flags:a},range:[r,Qr]}}function T(e){return e.type===Fr.Identifier||e.type===Fr.Keyword||e.type===Fr.BooleanLiteral||e.type===Fr.NullLiteral}function D(){var e,t;if(e=ao.tokens[ao.tokens.length-1],!e)return _();if("Punctuator"===e.type){if(")"===e.value)return t=ao.tokens[ao.openParenToken-1],!t||"Keyword"!==t.type||"if"!==t.value&&"while"!==t.value&&"for"!==t.value&&"with"!==t.value?E():_();if("}"===e.value){if(ao.tokens[ao.openCurlyToken-3]&&"Keyword"===ao.tokens[ao.openCurlyToken-3].type){if(t=ao.tokens[ao.openCurlyToken-4],!t)return E()}else{if(!ao.tokens[ao.openCurlyToken-4]||"Keyword"!==ao.tokens[ao.openCurlyToken-4].type)return E();if(t=ao.tokens[ao.openCurlyToken-5],!t)return _()}return Xr.indexOf(t.value)>=0?E():_()}return _()}return"Keyword"===e.type?_():E()}function O(){var e;return oo.inXJSChild||f(),Qr>=to?{type:Fr.EOF,lineNumber:Zr,lineStart:eo,range:[Qr,Qr]}:oo.inXJSChild?cr():(e=zr.charCodeAt(Qr),40===e||41===e||58===e?E():39===e||34===e?oo.inXJSTag?ur():w():oo.inXJSTag&&rr(e)?ar():96===e?N():s(e)?v():46===e?n(zr.charCodeAt(Qr+1))?S():E():n(e)?S():ao.tokenize&&47===e?D():E())}function I(){var e;return e=ro,Qr=e.range[1],Zr=e.lineNumber,eo=e.lineStart,ro=O(),Qr=e.range[1],Zr=e.lineNumber,eo=e.lineStart,e}function A(){var e,t,n;e=Qr,t=Zr,n=eo,ro=O(),Qr=e,Zr=t,eo=n}function M(){var e,t,n,r,o;return e="function"==typeof ao.advance?ao.advance:O,t=Qr,n=Zr,r=eo,null===ro&&(ro=e()),Qr=ro.range[1],Zr=ro.lineNumber,eo=ro.lineStart,o=e(),Qr=t,Zr=n,eo=r,o}function k(e){Qr=e.range[0],Zr=e.lineNumber,eo=e.lineStart,ro=e}function P(){return ao.loc||ao.range?(f(),{offset:Qr,line:Zr,col:Qr-eo}):void 0}function R(){return ao.loc||ao.range?{offset:Qr,line:Zr,col:Qr-eo}:void 0}function L(e){var t,n,r=ao.bottomRightStack,o=r[r.length-1];if(!(e.type===Jr.Program&&e.body.length>0)){if(ao.trailingComments.length>0?ao.trailingComments[0].range[0]>=e.range[1]?(n=ao.trailingComments,ao.trailingComments=[]):ao.trailingComments.length=0:o&&o.trailingComments&&o.trailingComments[0].range[0]>=e.range[1]&&(n=o.trailingComments,delete o.trailingComments),o)for(;o&&o.range[0]>=e.range[0];)t=o,o=r.pop();t?t.leadingComments&&t.leadingComments[t.leadingComments.length-1].range[1]<=e.range[0]&&(e.leadingComments=t.leadingComments,delete t.leadingComments):ao.leadingComments.length>0&&ao.leadingComments[ao.leadingComments.length-1].range[1]<=e.range[0]&&(e.leadingComments=ao.leadingComments,ao.leadingComments=[]),n&&(e.trailingComments=n),r.push(e)}}function V(e,t){return ao.range&&(t.range=[e.offset,Qr]),ao.loc&&(t.loc={start:{line:e.line,column:e.col},end:{line:Zr,column:Qr-eo}},t=no.postProcess(t)),ao.attachComment&&L(t),t}function U(){var e,t,n,r;return e=Qr,t=Zr,n=eo,f(),r=Zr!==t,Qr=e,Zr=t,eo=n,r}function B(e,n){var r,o=Array.prototype.slice.call(arguments,2),a=n.replace(/%(\d)/g,function(e,n){return t(n>="===e||">>>="===e||"&="===e||"^="===e||"|="===e)}function Y(){return oo.yieldAllowed&&q("yield",!$r)}function z(){var e=ro,t=!1;return G("async")&&(I(),t=!U(),k(e)),t}function $(){return oo.awaitAllowed&&G("await")}function Q(){var e,t=Qr,n=Zr,r=eo,o=ro;return 59===zr.charCodeAt(Qr)?void I():(e=Zr,f(),Zr!==e?(Qr=t,Zr=n,eo=r,void(ro=o)):H(";")?void I():void(ro.type===Fr.EOF||H("}")||j(ro)))}function Z(e){return e.type===Jr.Identifier||e.type===Jr.MemberExpression}function et(e){return Z(e)||e.type===Jr.ObjectPattern||e.type===Jr.ArrayPattern}function tt(){var e,t=[],n=[],r=null,o=!0,a=P();for(X("[");!H("]");)"for"===ro.value&&ro.type===Fr.Keyword?(o||B({},Hr.ComprehensionError),q("for"),e=Sn({ignoreBody:!0}),e.of=e.type===Jr.ForOfStatement,e.type=Jr.ComprehensionBlock,e.left.kind&&B({},Hr.ComprehensionError),n.push(e)):"if"===ro.value&&ro.type===Fr.Keyword?(o||B({},Hr.ComprehensionError),J("if"),X("("),r=At(),X(")")):","===ro.value&&ro.type===Fr.Punctuator?(o=!1,I(),t.push(null)):(e=ht(),t.push(e),e&&e.type===Jr.SpreadElement?H("]")||B({},Hr.ElementAfterSpreadElement):H("]")||q("for")||q("if")||(X(","),o=!1));return X("]"),r&&!n.length&&B({},Hr.ComprehensionRequiresBlock),n.length?(1!==t.length&&B({},Hr.ComprehensionError),V(a,no.createComprehensionExpression(r,n,t[0]))):V(a,no.createArrayExpression(t))}function nt(e){var t,n,r,o,a,i,s=P();return t=$r,n=oo.yieldAllowed,oo.yieldAllowed=e.generator,r=oo.awaitAllowed,oo.awaitAllowed=e.async,o=e.params||[],a=e.defaults||[],i=Pn(),e.name&&$r&&p(o[0].name)&&F(e.name,Hr.StrictParamName),$r=t,oo.yieldAllowed=n,oo.awaitAllowed=r,V(s,no.createFunctionExpression(null,o,a,i,e.rest||null,e.generator,i.type!==Jr.BlockStatement,e.async,e.returnType,e.typeParameters))}function rt(e){var t,n,r;return t=$r,$r=!0,n=Un(),n.stricted&&F(n.stricted,n.message),r=nt({params:n.params,defaults:n.defaults,rest:n.rest,generator:e.generator,async:e.async,returnType:n.returnType,typeParameters:e.typeParameters}),$r=t,r}function ot(){var e,t,n=P(),r=I();return r.type===Fr.StringLiteral||r.type===Fr.NumericLiteral?($r&&r.octal&&F(r,Hr.StrictOctalLiteral),V(n,no.createLiteral(r))):r.type===Fr.Punctuator&&"["===r.value?(n=P(),e=It(),t=V(n,e),X("]"),t):V(n,no.createIdentifier(r.value))}function at(){var e,t,n,r,o,a,i=P();return e=ro,o="["===e.value,e.type===Fr.Identifier||o||z()?(n=ot(),H(":")?(I(),V(i,no.createProperty("init",n,It(),!1,!1,o))):H("(")?V(i,no.createProperty("init",n,rt({generator:!1,async:!1}),!0,!1,o)):"get"===e.value?(o="["===ro.value,t=ot(),X("("),X(")"),H(":")&&(a=Zt()),V(i,no.createProperty("get",t,nt({generator:!1,async:!1,returnType:a}),!1,!1,o))):"set"===e.value?(o="["===ro.value,t=ot(),X("("),e=ro,r=[tn()],X(")"),H(":")&&(a=Zt()),V(i,no.createProperty("set",t,nt({params:r,generator:!1,async:!1,name:e,returnType:a}),!1,!1,o))):"async"===e.value?(o="["===ro.value,t=ot(),V(i,no.createProperty("init",t,rt({generator:!1,async:!0}),!0,!1,o))):(o&&j(ro),V(i,no.createProperty("init",n,n,!1,!0,!1)))):e.type===Fr.EOF||e.type===Fr.Punctuator?(H("*")||j(e),I(),o=ro.type===Fr.Punctuator&&"["===ro.value,n=ot(),H("(")||j(I()),V(i,no.createProperty("init",n,rt({generator:!0}),!0,!1,o))):(t=ot(),H(":")?(I(),V(i,no.createProperty("init",t,It(),!1,!1,!1))):H("(")?V(i,no.createProperty("init",t,rt({generator:!1}),!0,!1,!1)):void j(I()))}function it(){var e=P();return X("..."),V(e,no.createSpreadProperty(It()))}function st(){var e,t,n,r,o=[],a={},i=String,s=P();for(X("{");!H("}");)H("...")?e=it():(e=at(),t=e.key.type===Jr.Identifier?e.key.name:i(e.key.value),r="init"===e.kind?Wr.Data:"get"===e.kind?Wr.Get:Wr.Set,n="$"+t,Object.prototype.hasOwnProperty.call(a,n)?(a[n]===Wr.Data?$r&&r===Wr.Data?F({},Hr.StrictDuplicateProperty):r!==Wr.Data&&F({},Hr.AccessorDataProperty):r===Wr.Data?F({},Hr.AccessorDataProperty):a[n]&r&&F({},Hr.AccessorGetSet),a[n]|=r):a[n]=r),o.push(e),H("}")||X(",");return X("}"),V(s,no.createObjectExpression(o))}function ut(e){var t=P(),n=x(e);return $r&&n.octal&&B(n,Hr.StrictOctalLiteral),V(t,no.createTemplateElement({raw:n.value.raw,cooked:n.value.cooked},n.tail))}function ct(){var e,t,n,r=P();for(e=ut({head:!0}),t=[e],n=[];!e.tail;)n.push(At()),e=ut({head:!1}),t.push(e);return V(r,no.createTemplateLiteral(t,n))}function lt(){var e;return X("("),++oo.parenthesizedCount,e=At(),X(")"),e}function pt(){var e;return z()&&(e=M(),e.type===Fr.Keyword&&"function"===e.value)?!0:!1}function dt(){var e,t,n;if(t=ro.type,t===Fr.Identifier)return e=P(),V(e,no.createIdentifier(I().value));if(t===Fr.StringLiteral||t===Fr.NumericLiteral)return $r&&ro.octal&&F(ro,Hr.StrictOctalLiteral),e=P(),V(e,no.createLiteral(I()));if(t===Fr.Keyword){if(q("this"))return e=P(),I(),V(e,no.createThisExpression());if(q("function"))return Fn();if(q("class"))return Kn();if(q("super"))return e=P(),I(),V(e,no.createIdentifier("super"))}return t===Fr.BooleanLiteral?(e=P(),n=I(),n.value="true"===n.value,V(e,no.createLiteral(n))):t===Fr.NullLiteral?(e=P(),n=I(),n.value=null,V(e,no.createLiteral(n))):H("[")?tt():H("{")?st():H("(")?lt():H("/")||H("/=")?(e=P(),V(e,no.createLiteral(_()))):t===Fr.Template?ct():H("<")?wr():void j(I())}function ft(){var e,t=[];if(X("("),!H(")"))for(;to>Qr&&(e=ht(),t.push(e),!H(")"));)e.type===Jr.SpreadElement&&B({},Hr.ElementAfterSpreadElement),X(",");return X(")"),t}function ht(){if(H("...")){var e=P();return I(),V(e,no.createSpreadElement(It()))}return It()}function mt(){var e=P(),t=I();return T(t)||j(t),V(e,no.createIdentifier(t.value))}function yt(){return X("."),mt()}function gt(){var e;return X("["),e=At(),X("]"),e}function vt(){var e,t,n=P();return J("new"),e=bt(),t=H("(")?ft():[],V(n,no.createNewExpression(e,t))}function Et(){var e,t,n=P();for(e=q("new")?vt():dt();H(".")||H("[")||H("(")||ro.type===Fr.Template;)H("(")?(t=ft(),e=V(n,no.createCallExpression(e,t))):e=H("[")?V(n,no.createMemberExpression("[",e,gt())):H(".")?V(n,no.createMemberExpression(".",e,yt())):V(n,no.createTaggedTemplateExpression(e,ct()));return e}function bt(){var e,t=P();for(e=q("new")?vt():dt();H(".")||H("[")||ro.type===Fr.Template;)e=H("[")?V(t,no.createMemberExpression("[",e,gt())):H(".")?V(t,no.createMemberExpression(".",e,yt())):V(t,no.createTaggedTemplateExpression(e,ct()));return e}function Ct(){var e,t=P(),n=Et();return ro.type!==Fr.Punctuator?n:(!H("++")&&!H("--")||U()||($r&&n.type===Jr.Identifier&&p(n.name)&&F({},Hr.StrictLHSPostfix),Z(n)||B({},Hr.InvalidLHSInAssignment),e=I(),n=V(t,no.createPostfixExpression(e.value,n))),n)}function St(){var e,t,n;return ro.type!==Fr.Punctuator&&ro.type!==Fr.Keyword?Ct():H("++")||H("--")?(e=P(),t=I(),n=St(),$r&&n.type===Jr.Identifier&&p(n.name)&&F({},Hr.StrictLHSPrefix),Z(n)||B({},Hr.InvalidLHSInAssignment),V(e,no.createUnaryExpression(t.value,n))):H("+")||H("-")||H("~")||H("!")?(e=P(),t=I(),n=St(),V(e,no.createUnaryExpression(t.value,n))):q("delete")||q("void")||q("typeof")?(e=P(),t=I(),n=St(),n=V(e,no.createUnaryExpression(t.value,n)),$r&&"delete"===n.operator&&n.argument.type===Jr.Identifier&&F({},Hr.StrictDelete),n):Ct()}function wt(e,t){var n=0;if(e.type!==Fr.Punctuator&&e.type!==Fr.Keyword)return 0;switch(e.value){case"||":n=1;break;case"&&":n=2;break;case"|":n=3;break;case"^":n=4;break;case"&":n=5;break;case"==":case"!=":case"===":case"!==":n=6;break;case"<":case">":case"<=":case">=":case"instanceof":n=7;break;case"in":n=t?7:0;break;case"<<":case">>":case">>>":n=8;break;case"+":case"-":n=9;break;case"*":case"/":case"%":n=11 +}return n}function Nt(){var e,t,n,r,o,a,i,s,u,c,l;if(r=oo.allowIn,oo.allowIn=!0,c=P(),s=St(),t=ro,n=wt(t,r),0===n)return s;for(t.prec=n,I(),l=[c,P()],a=St(),o=[s,t,a];(n=wt(ro,r))>0;){for(;o.length>2&&n<=o[o.length-2].prec;)a=o.pop(),i=o.pop().value,s=o.pop(),e=no.createBinaryExpression(i,s,a),l.pop(),c=l.pop(),V(c,e),o.push(e),l.push(c);t=I(),t.prec=n,o.push(t),l.push(P()),e=St(),o.push(e)}for(oo.allowIn=r,u=o.length-1,e=o[u],l.pop();u>1;)e=no.createBinaryExpression(o[u-1].value,o[u-2],e),u-=2,c=l.pop(),V(c,e);return e}function xt(){var e,t,n,r,o=P();return e=Nt(),H("?")&&(I(),t=oo.allowIn,oo.allowIn=!0,n=It(),oo.allowIn=t,X(":"),r=It(),e=V(o,no.createConditionalExpression(e,n,r))),e}function _t(e){var t,n,r,o;if(e.type===Jr.ObjectExpression)for(e.type=Jr.ObjectPattern,t=0,n=e.properties.length;n>t;t+=1)r=e.properties[t],r.type===Jr.SpreadProperty?(n-1>t&&B({},Hr.PropertyAfterSpreadProperty),_t(r.argument)):("init"!==r.kind&&B({},Hr.InvalidLHSInAssignment),_t(r.value));else if(e.type===Jr.ArrayExpression)for(e.type=Jr.ArrayPattern,t=0,n=e.elements.length;n>t;t+=1)o=e.elements[t],o&&_t(o);else e.type===Jr.Identifier?p(e.name)&&B({},Hr.InvalidLHSInAssignment):e.type===Jr.SpreadElement?(_t(e.argument),e.argument.type===Jr.ObjectPattern&&B({},Hr.ObjectPatternAsSpread)):e.type!==Jr.MemberExpression&&e.type!==Jr.CallExpression&&e.type!==Jr.NewExpression&&B({},Hr.InvalidLHSInAssignment)}function Tt(e,t){var n,r,o,a;if(t.type===Jr.ObjectExpression)for(t.type=Jr.ObjectPattern,n=0,r=t.properties.length;r>n;n+=1)o=t.properties[n],o.type===Jr.SpreadProperty?(r-1>n&&B({},Hr.PropertyAfterSpreadProperty),Tt(e,o.argument)):("init"!==o.kind&&B({},Hr.InvalidLHSInFormalsList),Tt(e,o.value));else if(t.type===Jr.ArrayExpression)for(t.type=Jr.ArrayPattern,n=0,r=t.elements.length;r>n;n+=1)a=t.elements[n],a&&Tt(e,a);else t.type===Jr.Identifier?Ln(e,t,t.name):t.type!==Jr.MemberExpression&&B({},Hr.InvalidLHSInFormalsList)}function Dt(e){var n,r,o,a,i,s,u,c;for(a=[],i=[],s=0,c=null,u={paramSet:{}},n=0,r=e.length;r>n;n+=1)if(o=e[n],o.type===Jr.Identifier)a.push(o),i.push(null),Ln(u,o,o.name);else if(o.type===Jr.ObjectExpression||o.type===Jr.ArrayExpression)Tt(u,o),a.push(o),i.push(null);else if(o.type===Jr.SpreadElement)t(n===r-1,"It is guaranteed that SpreadElement is last element by parseExpression"),Tt(u,o.argument),c=o.argument;else{if(o.type!==Jr.AssignmentExpression)return null;a.push(o.left),i.push(o.right),++s,Ln(u,o.left,o.left.name)}return u.message===Hr.StrictParamDupe&&B($r?u.stricted:u.firstRestricted,u.message),0===s&&(i=[]),{params:a,defaults:i,rest:c,stricted:u.stricted,firstRestricted:u.firstRestricted,message:u.message}}function Ot(e,t){var n,r,o,a;return X("=>"),n=$r,r=oo.yieldAllowed,oo.yieldAllowed=!1,o=oo.awaitAllowed,oo.awaitAllowed=!!e.async,a=Pn(),$r&&e.firstRestricted&&B(e.firstRestricted,e.message),$r&&e.stricted&&F(e.stricted,e.message),$r=n,oo.yieldAllowed=r,oo.awaitAllowed=o,V(t,no.createArrowFunctionExpression(e.params,e.defaults,a,e.rest,a.type!==Jr.BlockStatement,!!e.async))}function It(){var e,t,n,r,o,a=ro,i=!1;return Y()?jn():$()?Xn():(o=oo.parenthesizedCount,e=P(),pt()?Fn():(z()&&(i=!0,I()),H("(")&&(n=M(),n.type===Fr.Punctuator&&")"===n.value||"..."===n.value)?(r=Un(),H("=>")||j(I()),r.async=i,Ot(r,e)):(n=ro,i&&!H("(")&&n.type!==Fr.Identifier&&(i=!1,k(a)),t=xt(),H("=>")&&(oo.parenthesizedCount===o||oo.parenthesizedCount===o+1)&&(t.type===Jr.Identifier?r=Dt([t]):t.type===Jr.SequenceExpression&&(r=Dt(t.expressions)),r)?(r.async=i,Ot(r,e)):(i&&(i=!1,k(a),t=xt()),K()&&($r&&t.type===Jr.Identifier&&p(t.name)&&F(n,Hr.StrictLHSAssignment),!H("=")||t.type!==Jr.ObjectExpression&&t.type!==Jr.ArrayExpression?Z(t)||B({},Hr.InvalidLHSInAssignment):_t(t),t=V(e,no.createAssignmentExpression(I().value,t,It()))),t))))}function At(){var e,t,n,r,o,a,i;if(i=oo.parenthesizedCount,e=P(),t=It(),n=[t],H(",")){for(;to>Qr&&H(",");)if(I(),t=ht(),n.push(t),t.type===Jr.SpreadElement){a=!0,H(")")||B({},Hr.ElementAfterSpreadElement);break}r=V(e,no.createSequenceExpression(n))}if(H("=>")){if((oo.parenthesizedCount===i||oo.parenthesizedCount===i+1)&&(t=t.type===Jr.SequenceExpression?t.expressions:n,o=Dt(t)))return Ot(o,e);j(I())}return a&&"=>"!==M().value&&B({},Hr.IllegalSpread),r||t}function Mt(){for(var e,t=[];to>Qr&&!H("}")&&(e=zn(),"undefined"!=typeof e);)t.push(e);return t}function kt(){var e,t=P();return X("{"),e=Mt(),X("}"),V(t,no.createBlockStatement(e))}function Pt(){var e=P(),t=[];for(X("<");!H(">");)t.push(en()),H(">")||X(",");return X(">"),V(e,no.createTypeParameterDeclaration(t))}function Rt(){var e=P(),t=oo.inType,n=[];for(oo.inType=!0,X("<");!H(">");)n.push(Qt()),H(">")||X(",");return X(">"),oo.inType=t,V(e,no.createTypeParameterInstantiation(n))}function Lt(e,t){var n,r,o;return X("["),n=ot(),X(":"),r=Qt(),X("]"),X(":"),o=Qt(),V(e,no.createObjectTypeIndexer(n,r,o,t))}function Vt(e){var t,n=[],r=null,o=null;for(H("<")&&(o=Pt()),X("(");ro.type===Fr.Identifier;)n.push(Ht()),H(")")||X(",");return H("...")&&(I(),r=Ht()),X(")"),X(":"),t=Qt(),V(e,no.createFunctionTypeAnnotation(n,t,r,o))}function Ut(e,t,n){var r,o=!1;return r=Vt(e),V(e,no.createObjectTypeProperty(n,r,o,t))}function Bt(e,t){var n=P();return V(e,no.createObjectTypeCallProperty(Vt(n),t))}function Ft(e){var t,n,r,o,a,i=[],s=[],u=!1,c=[];for(X("{");!H("}");)t=P(),e&&G("static")&&(o=I(),a=!0),H("[")?s.push(Lt(t,a)):H("(")||H("<")?i.push(Bt(t,e)):(a&&H(":")?(n=V(t,no.createIdentifier(o)),F(o,Hr.StrictReservedWord)):n=ot(),H("<")||H("(")?c.push(Ut(t,a,n)):(H("?")&&(I(),u=!0),X(":"),r=Qt(),c.push(V(t,no.createObjectTypeProperty(n,r,u,a))))),H(";")?I():H("}")||j(ro);return X("}"),no.createObjectTypeAnnotation(c,s,i)}function jt(){var e,t=P(),n=null;for(e=en();H(".");)X("."),e=V(t,no.createQualifiedTypeIdentifier(e,en()));return H("<")&&(n=Rt()),V(t,no.createGenericTypeAnnotation(e,n))}function Xt(){var e=P();return J("void"),V(e,no.createVoidTypeAnnotation())}function Jt(){var e,t=P();return J("typeof"),e=Gt(),V(t,no.createTypeofTypeAnnotation(e))}function Wt(){var e=P(),t=[];for(X("[");to>Qr&&!H("]")&&(t.push(Qt()),!H("]"));)X(",");return X("]"),V(e,no.createTupleTypeAnnotation(t))}function Ht(){var e,t,n=P(),r=!1;return e=en(),H("?")&&(I(),r=!0),X(":"),t=Qt(),V(n,no.createFunctionTypeParam(e,t,r))}function qt(){for(var e={params:[],rest:null};ro.type===Fr.Identifier;)e.params.push(Ht()),H(")")||X(",");return H("...")&&(I(),e.rest=Ht()),e}function Gt(){var e,t,n,r,o=null,a=null,i=P(),s=null,u=!1;switch(ro.type){case Fr.Identifier:switch(ro.value){case"any":return I(),V(i,no.createAnyTypeAnnotation());case"bool":case"boolean":return I(),V(i,no.createBooleanTypeAnnotation());case"number":return I(),V(i,no.createNumberTypeAnnotation());case"string":return I(),V(i,no.createStringTypeAnnotation())}return V(i,jt());case Fr.Punctuator:switch(ro.value){case"{":return V(i,Ft());case"[":return Wt();case"<":return t=Pt(),X("("),e=qt(),o=e.params,s=e.rest,X(")"),X("=>"),a=Qt(),V(i,no.createFunctionTypeAnnotation(o,a,s,t));case"(":return I(),H(")")||H("...")||(ro.type===Fr.Identifier?(n=M(),u="?"!==n.value&&":"!==n.value):u=!0),u?(r=Qt(),X(")"),H("=>")&&B({},Hr.ConfusedAboutFunctionType),r):(e=qt(),o=e.params,s=e.rest,X(")"),X("=>"),a=Qt(),V(i,no.createFunctionTypeAnnotation(o,a,s,null)))}break;case Fr.Keyword:switch(ro.value){case"void":return V(i,Xt());case"typeof":return V(i,Jt())}break;case Fr.StringLiteral:return n=I(),n.octal&&B(n,Hr.StrictOctalLiteral),V(i,no.createStringLiteralTypeAnnotation(n))}j(ro)}function Kt(){var e=P(),t=Gt();return H("[")?(X("["),X("]"),V(e,no.createArrayTypeAnnotation(t))):t}function Yt(){var e=P();return H("?")?(I(),V(e,no.createNullableTypeAnnotation(Yt()))):Kt()}function zt(){var e,t,n=P();for(e=Yt(),t=[e];H("&");)I(),t.push(Yt());return 1===t.length?e:V(n,no.createIntersectionTypeAnnotation(t))}function $t(){var e,t,n=P();for(e=zt(),t=[e];H("|");)I(),t.push(zt());return 1===t.length?e:V(n,no.createUnionTypeAnnotation(t))}function Qt(){var e,t=oo.inType;return oo.inType=!0,e=$t(),oo.inType=t,e}function Zt(){var e,t=P();return X(":"),e=Qt(),V(t,no.createTypeAnnotation(e))}function en(){var e=P(),t=I();return t.type!==Fr.Identifier&&j(t),V(e,no.createIdentifier(t.value))}function tn(e,t){var n=P(),r=en(),o=!1;return t&&H("?")&&(X("?"),o=!0),(e||H(":"))&&(r.typeAnnotation=Zt(),r=V(n,r)),o&&(r.optional=!0,r=V(n,r)),r}function nn(e){var t,n=P(),r=null,o=P();return H("{")?(t=st(),_t(t),H(":")&&(t.typeAnnotation=Zt(),V(o,t))):H("[")?(t=tt(),_t(t),H(":")&&(t.typeAnnotation=Zt(),V(o,t))):(t=oo.allowKeyword?mt():tn(),$r&&p(t.name)&&F({},Hr.StrictVarName)),"const"===e?(H("=")||B({},Hr.NoUnintializedConst),X("="),r=It()):H("=")&&(I(),r=It()),V(n,no.createVariableDeclarator(t,r))}function rn(e){var t=[];do{if(t.push(nn(e)),!H(","))break;I()}while(to>Qr);return t}function on(){var e,t=P();return J("var"),e=rn(),Q(),V(t,no.createVariableDeclaration(e,"var"))}function an(e){var t,n=P();return J(e),t=rn(e),Q(),V(n,no.createVariableDeclaration(t,e))}function sn(){var e,t=P();return ro.type!==Fr.StringLiteral&&B({},Hr.InvalidModuleSpecifier),e=no.createModuleSpecifier(ro),I(),V(t,e)}function un(){var e=P();return X("*"),V(e,no.createExportBatchSpecifier())}function cn(){var e,t=null,n=P();return q("default")?(I(),e=V(n,no.createIdentifier("default"))):e=en(),G("as")&&(I(),t=mt()),V(n,no.createExportSpecifier(e,t))}function ln(){var e,t,n,r=null,o=null,a=[],i=P();if(J("export"),q("default")){if(I(),q("function")||q("class")){if(e=ro,I(),T(ro))return t=mt(),k(e),V(i,no.createExportDeclaration(!0,zn(),[t],null));switch(k(e),ro.value){case"class":return V(i,no.createExportDeclaration(!0,Kn(),[],null));case"function":return V(i,no.createExportDeclaration(!0,Fn(),[],null))}}return G("from")&&B({},Hr.UnexpectedToken,ro.value),r=H("{")?st():H("[")?tt():It(),Q(),V(i,no.createExportDeclaration(!0,r,[],null))}if(ro.type===Fr.Keyword)switch(ro.value){case"let":case"const":case"var":case"class":case"function":return V(i,no.createExportDeclaration(!1,zn(),a,null))}if(H("*"))return a.push(un()),G("from")||B({},ro.value?Hr.UnexpectedToken:Hr.MissingFromClause,ro.value),I(),o=sn(),Q(),V(i,no.createExportDeclaration(!1,null,a,o));X("{");do n=n||q("default"),a.push(cn());while(H(",")&&I());return X("}"),G("from")?(I(),o=sn(),Q()):n?B({},ro.value?Hr.UnexpectedToken:Hr.MissingFromClause,ro.value):Q(),V(i,no.createExportDeclaration(!1,r,a,o))}function pn(){var e,t=null,n=P();return e=mt(),G("as")&&(I(),t=en()),V(n,no.createImportSpecifier(e,t))}function dn(){var e=[];X("{");do e.push(pn());while(H(",")&&I());return X("}"),e}function fn(){var e,t=P();return e=mt(),V(t,no.createImportDefaultSpecifier(e))}function hn(){var e,t=P();return X("*"),G("as")||B({},Hr.NoAsAfterImportNamespace),I(),e=mt(),V(t,no.createImportNamespaceSpecifier(e))}function mn(){var e,t,n=P();return J("import"),e=[],ro.type===Fr.StringLiteral?(t=sn(),Q(),V(n,no.createImportDeclaration(e,t))):(!q("default")&&T(ro)&&(e.push(fn()),H(",")&&I()),H("*")?e.push(hn()):H("{")&&(e=e.concat(dn())),G("from")||B({},ro.value?Hr.UnexpectedToken:Hr.MissingFromClause,ro.value),I(),t=sn(),Q(),V(n,no.createImportDeclaration(e,t)))}function yn(){var e=P();return X(";"),V(e,no.createEmptyStatement())}function gn(){var e=P(),t=At();return Q(),V(e,no.createExpressionStatement(t))}function vn(){var e,t,n,r=P();return J("if"),X("("),e=At(),X(")"),t=kn(),q("else")?(I(),n=kn()):n=null,V(r,no.createIfStatement(e,t,n))}function En(){var e,t,n,r=P();return J("do"),n=oo.inIteration,oo.inIteration=!0,e=kn(),oo.inIteration=n,J("while"),X("("),t=At(),X(")"),H(";")&&I(),V(r,no.createDoWhileStatement(e,t))}function bn(){var e,t,n,r=P();return J("while"),X("("),e=At(),X(")"),n=oo.inIteration,oo.inIteration=!0,t=kn(),oo.inIteration=n,V(r,no.createWhileStatement(e,t))}function Cn(){var e=P(),t=I(),n=rn();return V(e,no.createVariableDeclaration(n,t.value))}function Sn(e){var t,n,r,o,a,i,s,u,c=P();return t=n=r=null,J("for"),G("each")&&B({},Hr.EachNotAllowed),X("("),H(";")?I():(q("var")||q("let")||q("const")?(oo.allowIn=!1,t=Cn(),oo.allowIn=!0,1===t.declarations.length&&(q("in")||G("of"))&&(s=ro,("in"!==s.value&&"var"===t.kind||!t.declarations[0].init)&&(I(),o=t,a=At(),t=null))):(oo.allowIn=!1,t=At(),oo.allowIn=!0,G("of")?(s=I(),o=t,a=At(),t=null):q("in")&&(et(t)||B({},Hr.InvalidLHSInForIn),s=I(),o=t,a=At(),t=null)),"undefined"==typeof o&&X(";")),"undefined"==typeof o&&(H(";")||(n=At()),X(";"),H(")")||(r=At())),X(")"),u=oo.inIteration,oo.inIteration=!0,void 0!==e&&e.ignoreBody||(i=kn()),oo.inIteration=u,"undefined"==typeof o?V(c,no.createForStatement(t,n,r,i)):"in"===s.value?V(c,no.createForInStatement(o,a,i)):V(c,no.createForOfStatement(o,a,i))}function wn(){var e,t=null,n=P();return J("continue"),59===zr.charCodeAt(Qr)?(I(),oo.inIteration||B({},Hr.IllegalContinue),V(n,no.createContinueStatement(null))):U()?(oo.inIteration||B({},Hr.IllegalContinue),V(n,no.createContinueStatement(null))):(ro.type===Fr.Identifier&&(t=en(),e="$"+t.name,Object.prototype.hasOwnProperty.call(oo.labelSet,e)||B({},Hr.UnknownLabel,t.name)),Q(),null!==t||oo.inIteration||B({},Hr.IllegalContinue),V(n,no.createContinueStatement(t)))}function Nn(){var e,t=null,n=P();return J("break"),59===zr.charCodeAt(Qr)?(I(),oo.inIteration||oo.inSwitch||B({},Hr.IllegalBreak),V(n,no.createBreakStatement(null))):U()?(oo.inIteration||oo.inSwitch||B({},Hr.IllegalBreak),V(n,no.createBreakStatement(null))):(ro.type===Fr.Identifier&&(t=en(),e="$"+t.name,Object.prototype.hasOwnProperty.call(oo.labelSet,e)||B({},Hr.UnknownLabel,t.name)),Q(),null!==t||oo.inIteration||oo.inSwitch||B({},Hr.IllegalBreak),V(n,no.createBreakStatement(t)))}function xn(){var e=null,t=P();return J("return"),oo.inFunctionBody||F({},Hr.IllegalReturn),32===zr.charCodeAt(Qr)&&s(zr.charCodeAt(Qr+1))?(e=At(),Q(),V(t,no.createReturnStatement(e))):U()?V(t,no.createReturnStatement(null)):(H(";")||H("}")||ro.type===Fr.EOF||(e=At()),Q(),V(t,no.createReturnStatement(e)))}function _n(){var e,t,n=P();return $r&&F({},Hr.StrictModeWith),J("with"),X("("),e=At(),X(")"),t=kn(),V(n,no.createWithStatement(e,t))}function Tn(){var e,t,n=[],r=P();for(q("default")?(I(),e=null):(J("case"),e=At()),X(":");to>Qr&&!(H("}")||q("default")||q("case"))&&(t=zn(),"undefined"!=typeof t);)n.push(t);return V(r,no.createSwitchCase(e,n))}function Dn(){var e,t,n,r,o,a=P();if(J("switch"),X("("),e=At(),X(")"),X("{"),t=[],H("}"))return I(),V(a,no.createSwitchStatement(e,t));for(r=oo.inSwitch,oo.inSwitch=!0,o=!1;to>Qr&&!H("}");)n=Tn(),null===n.test&&(o&&B({},Hr.MultipleDefaultsInSwitch),o=!0),t.push(n);return oo.inSwitch=r,X("}"),V(a,no.createSwitchStatement(e,t))}function On(){var e,t=P();return J("throw"),U()&&B({},Hr.NewlineAfterThrow),e=At(),Q(),V(t,no.createThrowStatement(e))}function In(){var e,t,n=P();return J("catch"),X("("),H(")")&&j(ro),e=At(),$r&&e.type===Jr.Identifier&&p(e.name)&&F({},Hr.StrictCatchVariable),X(")"),t=kt(),V(n,no.createCatchClause(e,t))}function An(){var e,t=[],n=null,r=P();return J("try"),e=kt(),q("catch")&&t.push(In()),q("finally")&&(I(),n=kt()),0!==t.length||n||B({},Hr.NoCatchOrFinally),V(r,no.createTryStatement(e,[],t,n))}function Mn(){var e=P();return J("debugger"),Q(),V(e,no.createDebuggerStatement())}function kn(){var e,t,n,r,o=ro.type;if(o===Fr.EOF&&j(ro),o===Fr.Punctuator)switch(ro.value){case";":return yn();case"{":return kt();case"(":return gn()}if(o===Fr.Keyword)switch(ro.value){case"break":return Nn();case"continue":return wn();case"debugger":return Mn();case"do":return En();case"for":return Sn();case"function":return Bn();case"class":return Yn();case"if":return vn();case"return":return xn();case"switch":return Dn();case"throw":return On();case"try":return An();case"var":return on();case"while":return bn();case"with":return _n()}return pt()?Bn():(e=P(),t=At(),t.type===Jr.Identifier&&H(":")?(I(),r="$"+t.name,Object.prototype.hasOwnProperty.call(oo.labelSet,r)&&B({},Hr.Redeclaration,"Label",t.name),oo.labelSet[r]=!0,n=kn(),delete oo.labelSet[r],V(e,no.createLabeledStatement(t,n))):(Q(),V(e,no.createExpressionStatement(t))))}function Pn(){return H("{")?Rn():It()}function Rn(){var e,t,n,r,o,a,i,s,u,c=[],l=P();for(X("{");to>Qr&&ro.type===Fr.StringLiteral&&(t=ro,e=zn(),c.push(e),e.expression.type===Jr.Literal);)n=zr.slice(t.range[0]+1,t.range[1]-1),"use strict"===n?($r=!0,r&&F(r,Hr.StrictOctalLiteral)):!r&&t.octal&&(r=t);for(o=oo.labelSet,a=oo.inIteration,i=oo.inSwitch,s=oo.inFunctionBody,u=oo.parenthesizedCount,oo.labelSet={},oo.inIteration=!1,oo.inSwitch=!1,oo.inFunctionBody=!0,oo.parenthesizedCount=0;to>Qr&&!H("}")&&(e=zn(),"undefined"!=typeof e);)c.push(e);return X("}"),oo.labelSet=o,oo.inIteration=a,oo.inSwitch=i,oo.inFunctionBody=s,oo.parenthesizedCount=u,V(l,no.createBlockStatement(c))}function Ln(e,t,n){var r="$"+n;$r?(p(n)&&(e.stricted=t,e.message=Hr.StrictParamName),Object.prototype.hasOwnProperty.call(e.paramSet,r)&&(e.stricted=t,e.message=Hr.StrictParamDupe)):e.firstRestricted||(p(n)?(e.firstRestricted=t,e.message=Hr.StrictParamName):l(n)?(e.firstRestricted=t,e.message=Hr.StrictReservedWord):Object.prototype.hasOwnProperty.call(e.paramSet,r)&&(e.firstRestricted=t,e.message=Hr.StrictParamDupe)),e.paramSet[r]=!0}function Vn(e){var t,n,r,o,a;return n=ro,"..."===n.value&&(n=I(),r=!0),H("[")?(t=P(),o=tt(),Tt(e,o),H(":")&&(o.typeAnnotation=Zt(),V(t,o))):H("{")?(t=P(),r&&B({},Hr.ObjectPatternAsRestParameter),o=st(),Tt(e,o),H(":")&&(o.typeAnnotation=Zt(),V(t,o))):(o=r?tn(!1,!1):tn(!1,!0),Ln(e,n,n.value)),H("=")&&(r&&F(ro,Hr.DefaultRestParameter),I(),a=It(),++e.defaultCount),r?(H(")")||B({},Hr.ParameterAfterRestParameter),e.rest=o,!1):(e.params.push(o),e.defaults.push(a),!H(")"))}function Un(e){var t,n=P();if(t={params:[],defaultCount:0,defaults:[],rest:null,firstRestricted:e},X("("),!H(")"))for(t.paramSet={};to>Qr&&Vn(t);)X(",");return X(")"),0===t.defaultCount&&(t.defaults=[]),H(":")&&(t.returnType=Zt()),V(n,t)}function Bn(){var e,t,n,r,o,a,i,s,u,c,d,f,h=P();return s=!1,z()&&(I(),s=!0),J("function"),i=!1,H("*")&&(I(),i=!0),n=ro,e=en(),H("<")&&(f=Pt()),$r?p(n.value)&&F(n,Hr.StrictFunctionName):p(n.value)?(o=n,a=Hr.StrictFunctionName):l(n.value)&&(o=n,a=Hr.StrictReservedWord),r=Un(o),o=r.firstRestricted,r.message&&(a=r.message),u=$r,c=oo.yieldAllowed,oo.yieldAllowed=i,d=oo.awaitAllowed,oo.awaitAllowed=s,t=Rn(),$r&&o&&B(o,a),$r&&r.stricted&&F(r.stricted,a),$r=u,oo.yieldAllowed=c,oo.awaitAllowed=d,V(h,no.createFunctionDeclaration(e,r.params,r.defaults,t,r.rest,i,!1,s,r.returnType,f))}function Fn(){var e,t,n,r,o,a,i,s,u,c,d,f=null,h=P();return i=!1,z()&&(I(),i=!0),J("function"),a=!1,H("*")&&(I(),a=!0),H("(")||(H("<")||(e=ro,f=en(),$r?p(e.value)&&F(e,Hr.StrictFunctionName):p(e.value)?(t=e,n=Hr.StrictFunctionName):l(e.value)&&(t=e,n=Hr.StrictReservedWord)),H("<")&&(d=Pt())),r=Un(t),t=r.firstRestricted,r.message&&(n=r.message),s=$r,u=oo.yieldAllowed,oo.yieldAllowed=a,c=oo.awaitAllowed,oo.awaitAllowed=i,o=Rn(),$r&&t&&B(t,n),$r&&r.stricted&&F(r.stricted,n),$r=s,oo.yieldAllowed=u,oo.awaitAllowed=c,V(h,no.createFunctionExpression(f,r.params,r.defaults,o,r.rest,a,!1,i,r.returnType,d))}function jn(){var e,t,n=P();return J("yield",!$r),e=!1,H("*")&&(I(),e=!0),t=It(),V(n,no.createYieldExpression(t,e))}function Xn(){var e,t=P();return W("await"),e=It(),V(t,no.createAwaitExpression(e))}function Jn(e,t,n,r){var o,a,i,s,u,c,l,p=!1;return i=n?Yr["static"]:Yr.prototype,r?no.createMethodDefinition(i,"",t,rt({generator:!0})):(c="Identifier"===t.type&&t.name,"get"!==c||H("(")?"set"!==c||H("(")?(H("<")&&(u=Pt()),s="async"===c&&!H("("),s&&(t=ot()),e[i].hasOwnProperty(t.name)?B(t,Hr.IllegalDuplicateClassProperty):e[i][t.name]={},e[i][t.name].data=!0,no.createMethodDefinition(i,"",t,rt({generator:!1,async:s,typeParameters:u}))):(t=ot(),e[i].hasOwnProperty(t.name)?(p=void 0===e[i][t.name].set&&void 0===e[i][t.name].data&&void 0!==e[i][t.name].get,p||B(t,Hr.IllegalDuplicateClassProperty)):e[i][t.name]={},e[i][t.name].set=!0,X("("),o=ro,a=[tn()],X(")"),H(":")&&(l=Zt()),no.createMethodDefinition(i,"set",t,nt({params:a,generator:!1,name:o,returnType:l}))):(t=ot(),e[i].hasOwnProperty(t.name)?(p=void 0===e[i][t.name].get&&void 0===e[i][t.name].data&&void 0!==e[i][t.name].set,p||B(t,Hr.IllegalDuplicateClassProperty)):e[i][t.name]={},e[i][t.name].get=!0,X("("),X(")"),H(":")&&(l=Zt()),no.createMethodDefinition(i,"get",t,nt({generator:!1,returnType:l}))))}function Wn(e,t,n,r){var o;return o=Zt(),X(";"),no.createClassProperty(t,o,n,r)}function Hn(e){var t,n,r=!1,o=P(),a=!1;return H(";")?void I():("static"===ro.value&&(I(),a=!0),H("*")&&(I(),r=!0),t="["===ro.value,n=ot(),r||":"!==ro.value?V(o,Jn(e,n,a,r,t)):V(o,Wn(e,n,t,a)))}function qn(){var e,t=[],n={},r=P();for(n[Yr["static"]]={},n[Yr.prototype]={},X("{");to>Qr&&!H("}");)e=Hn(n),"undefined"!=typeof e&&t.push(e);return X("}"),V(r,no.createClassBody(t))}function Gn(){var e,t,n,r=[];for(W("implements");to>Qr&&(t=P(),e=en(),n=H("<")?Rt():null,r.push(V(t,no.createClassImplements(e,n))),H(","));)X(",");return r}function Kn(){var e,t,n,r,o,a=null,i=P();return J("class"),q("extends")||G("implements")||H("{")||(e=en()),H("<")&&(o=Pt()),q("extends")&&(J("extends"),n=oo.yieldAllowed,oo.yieldAllowed=!1,a=Et(),H("<")&&(r=Rt()),oo.yieldAllowed=n),G("implements")&&(t=Gn()),V(i,no.createClassExpression(e,a,qn(),o,r,t))}function Yn(){var e,t,n,r,o,a=null,i=P();return J("class"),e=en(),H("<")&&(o=Pt()),q("extends")&&(J("extends"),n=oo.yieldAllowed,oo.yieldAllowed=!1,a=Et(),H("<")&&(r=Rt()),oo.yieldAllowed=n),G("implements")&&(t=Gn()),V(i,no.createClassDeclaration(e,a,qn(),o,r,t))}function zn(){var e;if(ro.type===Fr.Keyword)switch(ro.value){case"const":case"let":return an(ro.value);case"function":return Bn();default:return kn()}if(G("type")&&M().type===Fr.Identifier)return Nr();if(G("interface")&&M().type===Fr.Identifier)return Tr();if(G("declare"))if(e=M(),e.type===Fr.Keyword)switch(e.value){case"class":return Dr();case"function":return Or();case"var":return Ir()}else if(e.type===Fr.Identifier&&"module"===e.value)return Ar();return ro.type!==Fr.EOF?kn():void 0}function $n(){if(ro.type===Fr.Keyword)switch(ro.value){case"export":return ln();case"import":return mn()}return zn()}function Qn(){for(var e,t,n,r,o=[];to>Qr&&(t=ro,t.type===Fr.StringLiteral)&&(e=$n(),o.push(e),e.expression.type===Jr.Literal);)n=zr.slice(t.range[0]+1,t.range[1]-1),"use strict"===n?($r=!0,r&&F(r,Hr.StrictOctalLiteral)):!r&&t.octal&&(r=t);for(;to>Qr&&(e=$n(),"undefined"!=typeof e);)o.push(e);return o}function Zn(){var e,t=P();return $r=!1,A(),e=Qn(),V(t,no.createProgram(e))}function er(e,n,r,o,a){var i;t("number"==typeof r,"Comment must have valid position"),oo.lastCommentStart>=r||(oo.lastCommentStart=r,i={type:e,value:n},ao.range&&(i.range=[r,o]),ao.loc&&(i.loc=a),ao.comments.push(i),ao.attachComment&&(ao.leadingComments.push(i),ao.trailingComments.push(i)))}function tr(){var e,t,n,r,o,s;for(e="",o=!1,s=!1;to>Qr;)if(t=zr[Qr],s)t=zr[Qr++],i(t.charCodeAt(0))?(n.end={line:Zr,column:Qr-eo-1},s=!1,er("Line",e,r,Qr-1,n),"\r"===t&&"\n"===zr[Qr]&&++Qr,++Zr,eo=Qr,e=""):Qr>=to?(s=!1,e+=t,n.end={line:Zr,column:to-eo},er("Line",e,r,to,n)):e+=t;else if(o)i(t.charCodeAt(0))?("\r"===t&&(++Qr,e+="\r"),("\r"!==t||"\n"===zr[Qr])&&(e+=zr[Qr],++Zr,++Qr,eo=Qr,Qr>=to&&B({},Hr.UnexpectedToken,"ILLEGAL"))):(t=zr[Qr++],Qr>=to&&B({},Hr.UnexpectedToken,"ILLEGAL"),e+=t,"*"===t&&(t=zr[Qr],"/"===t&&(e=e.substr(0,e.length-1),o=!1,++Qr,n.end={line:Zr,column:Qr-eo},er("Block",e,r,Qr,n),e="")));else if("/"===t)if(t=zr[Qr+1],"/"===t)n={start:{line:Zr,column:Qr-eo}},r=Qr,Qr+=2,s=!0,Qr>=to&&(n.end={line:Zr,column:Qr-eo},s=!1,er("Line",e,r,Qr,n));else{if("*"!==t)break;r=Qr,Qr+=2,o=!0,n={start:{line:Zr,column:Qr-eo-2}},Qr>=to&&B({},Hr.UnexpectedToken,"ILLEGAL")}else if(a(t.charCodeAt(0)))++Qr;else{if(!i(t.charCodeAt(0)))break;++Qr,"\r"===t&&"\n"===zr[Qr]&&++Qr,++Zr,eo=Qr}}function nr(e){return e.type===Jr.XJSIdentifier?e.name:e.type===Jr.XJSNamespacedName?e.namespace.name+":"+e.name.name:e.type===Jr.XJSMemberExpression?nr(e.object)+"."+nr(e.property):void 0}function rr(e){return 92!==e&&s(e)}function or(e){return 92!==e&&(45===e||u(e))}function ar(){var e,t,n="";for(t=Qr;to>Qr&&(e=zr.charCodeAt(Qr),or(e));)n+=zr[Qr++];return{type:Fr.XJSIdentifier,value:n,lineNumber:Zr,lineStart:eo,range:[t,Qr]}}function ir(){var e,n,r="",o=Qr,a=0;for(e=zr[Qr],t("&"===e,"Entity must start with an ampersand"),Qr++;to>Qr&&a++<10&&(e=zr[Qr++],";"!==e);)r+=e;if(";"===e)if("#"===r[0]){if(n="x"===r[1]?+("0"+r.substr(1)):+r.substr(1).replace(qr.LeadingZeros,""),!isNaN(n))return String.fromCharCode(n)}else if(Kr[r])return Kr[r];return Qr=o+1,"&"}function sr(e){var t,n,r="";for(n=Qr;to>Qr&&(t=zr[Qr],-1===e.indexOf(t));)"&"===t?r+=ir():(Qr++,"\r"===t&&"\n"===zr[Qr]&&(r+=t,t=zr[Qr],Qr++),i(t.charCodeAt(0))&&(++Zr,eo=Qr),r+=t);return{type:Fr.XJSText,value:r,lineNumber:Zr,lineStart:eo,range:[n,Qr]}}function ur(){var e,n,r;return n=zr[Qr],t("'"===n||'"'===n,"String literal must starts with a quote"),r=Qr,++Qr,e=sr([n]),n!==zr[Qr]&&B({},Hr.UnexpectedToken,"ILLEGAL"),++Qr,e.range=[r,Qr],e}function cr(){var e=zr.charCodeAt(Qr);return 123!==e&&60!==e?sr(["<","{"]):E()}function lr(){var e,t=P();return ro.type!==Fr.XJSIdentifier&&j(ro),e=I(),V(t,no.createXJSIdentifier(e.value))}function pr(){var e,t,n=P();return e=lr(),X(":"),t=lr(),V(n,no.createXJSNamespacedName(e,t))}function dr(){for(var e=P(),t=lr();H(".");)I(),t=V(e,no.createXJSMemberExpression(t,lr()));return t}function fr(){return":"===M().value?pr():"."===M().value?dr():lr()}function hr(){return":"===M().value?pr():lr()}function mr(){var e,t;return H("{")?(e=gr(),e.expression.type===Jr.XJSEmptyExpression&&B(e,"XJS attributes must only be assigned a non-empty expression")):H("<")?e=wr():ro.type===Fr.XJSText?(t=P(),e=V(t,no.createLiteral(I()))):B({},Hr.InvalidXJSAttributeValue),e}function yr(){for(var e=R();"}"!==zr.charAt(Qr);)Qr++;return V(e,no.createXJSEmptyExpression())}function gr(){var e,t,n,r=P();return t=oo.inXJSChild,n=oo.inXJSTag,oo.inXJSChild=!1,oo.inXJSTag=!1,X("{"),e=H("}")?yr():At(),oo.inXJSChild=t,oo.inXJSTag=n,X("}"),V(r,no.createXJSExpressionContainer(e))}function vr(){var e,t,n,r=P();return t=oo.inXJSChild,n=oo.inXJSTag,oo.inXJSChild=!1,oo.inXJSTag=!1,X("{"),X("..."),e=It(),oo.inXJSChild=t,oo.inXJSTag=n,X("}"),V(r,no.createXJSSpreadAttribute(e))}function Er(){var e,t;return H("{")?vr():(t=P(),e=hr(),H("=")?(I(),V(t,no.createXJSAttribute(e,mr()))):V(t,no.createXJSAttribute(e)))}function br(){var e,t;return H("{")?e=gr():ro.type===Fr.XJSText?(t=R(),e=V(t,no.createLiteral(I()))):e=wr(),e}function Cr(){var e,t,n,r=P();return t=oo.inXJSChild,n=oo.inXJSTag,oo.inXJSChild=!1,oo.inXJSTag=!0,X("<"),X("/"),e=fr(),oo.inXJSChild=t,oo.inXJSTag=n,X(">"),V(r,no.createXJSClosingElement(e))}function Sr(){var e,t,n,r=[],o=!1,a=P();for(t=oo.inXJSChild,n=oo.inXJSTag,oo.inXJSChild=!1,oo.inXJSTag=!0,X("<"),e=fr();to>Qr&&"/"!==ro.value&&">"!==ro.value;)r.push(Er());return oo.inXJSTag=n,"/"===ro.value?(X("/"),oo.inXJSChild=t,X(">"),o=!0):(oo.inXJSChild=!0,X(">")),V(a,no.createXJSOpeningElement(e,r,o))}function wr(){var e,t,n,r=null,o=[],a=P();if(t=oo.inXJSChild,n=oo.inXJSTag,e=Sr(),!e.selfClosing){for(;to>Qr&&(oo.inXJSChild=!1,"<"!==ro.value||"/"!==M().value);)oo.inXJSChild=!0,o.push(br());oo.inXJSChild=t,oo.inXJSTag=n,r=Cr(),nr(r.name)!==nr(e.name)&&B({},Hr.ExpectedXJSClosingTag,nr(e.name))}return!t&&H("<")&&B(ro,Hr.AdjacentXJSElements),V(a,no.createXJSElement(e,r,o))}function Nr(){var e,t,n=P(),r=null;return W("type"),e=en(),H("<")&&(r=Pt()),X("="),t=Qt(),Q(),V(n,no.createTypeAlias(e,r,t))}function xr(){var e,t=P(),n=null;return e=en(),H("<")&&(n=Rt()),V(t,no.createInterfaceExtends(e,n))}function _r(e,t){var n,r,o,a=[],i=null;if(o=en(),H("<")&&(i=Pt()),q("extends"))for(J("extends");to>Qr&&(a.push(xr()),H(","));)X(",");return r=P(),n=V(r,Ft(t)),V(e,no.createInterface(o,i,n,a))}function Tr(){var e=P();return W("interface"),_r(e,!1)}function Dr(){var e,t=P();return W("declare"),J("class"),e=_r(t,!0),e.type=Jr.DeclareClass,e}function Or(){var e,t,n,r,o,a,i,s,u=P(),c=null;return W("declare"),J("function"),t=P(),e=en(),s=P(),H("<")&&(c=Pt()),X("("),a=qt(),n=a.params,o=a.rest,X(")"),X(":"),r=Qt(),i=V(s,no.createFunctionTypeAnnotation(n,r,o,c)),e.typeAnnotation=V(s,no.createTypeAnnotation(i)),V(t,e),Q(),V(u,no.createDeclareFunction(e))}function Ir(){var e,t=P();return W("declare"),J("var"),e=tn(),Q(),V(t,no.createDeclareVariable(e))}function Ar(){var e,t,n,r,o=[],a=P();for(W("declare"),W("module"),ro.type===Fr.StringLiteral?($r&&ro.octal&&F(ro,Hr.StrictOctalLiteral),n=P(),t=V(n,no.createLiteral(I()))):t=en(),e=P(),X("{");to>Qr&&!H("}");)switch(r=M(),r.value){case"class":o.push(Dr());break;case"function":o.push(Or());break;case"var":o.push(Ir());break;default:j(ro)}return X("}"),V(a,no.createDeclareModule(t,V(e,no.createBlockStatement(o))))}function Mr(){var e,t,n,r,o,a;return oo.inXJSChild||f(),e=Qr,t={start:{line:Zr,column:Qr-eo}},n=ao.advance(),t.end={line:Zr,column:Qr-eo},n.type!==Fr.EOF&&(r=[n.range[0],n.range[1]],o=zr.slice(n.range[0],n.range[1]),a={type:jr[n.type],value:o,range:r,loc:t},n.regex&&(a.regex={pattern:n.regex.pattern,flags:n.regex.flags}),ao.tokens.push(a)),n}function kr(){var e,t,n,r;return f(),e=Qr,t={start:{line:Zr,column:Qr-eo}},n=ao.scanRegExp(),t.end={line:Zr,column:Qr-eo},ao.tokenize||(ao.tokens.length>0&&(r=ao.tokens[ao.tokens.length-1],r.range[0]===e&&"Punctuator"===r.type&&("/"===r.value||"/="===r.value)&&ao.tokens.pop()),ao.tokens.push({type:"RegularExpression",value:n.literal,regex:n.regex,range:[e,Qr],loc:t})),n}function Pr(){var e,t,n,r=[];for(e=0;e0?1:0,eo=0,to=zr.length,ro=null,oo={allowKeyword:!0,allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},ao={},t=t||{},t.tokens=!0,ao.tokens=[],ao.tokenize=!0,ao.openParenToken=-1,ao.openCurlyToken=-1,ao.range="boolean"==typeof t.range&&t.range,ao.loc="boolean"==typeof t.loc&&t.loc,"boolean"==typeof t.comment&&t.comment&&(ao.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(ao.errors=[]),to>0&&"undefined"==typeof zr[0]&&e instanceof String&&(zr=e.valueOf()),Rr();try{if(A(),ro.type===Fr.EOF)return ao.tokens;for(r=I();ro.type!==Fr.EOF;)try{r=I()}catch(a){if(r=ro,ao.errors){ao.errors.push(a);break}throw a}Pr(),o=ao.tokens,"undefined"!=typeof ao.comments&&(o.comments=ao.comments),"undefined"!=typeof ao.errors&&(o.errors=ao.errors)}catch(i){throw i}finally{Lr(),ao={}}return o}function Br(e,t){var n,r;r=String,"string"==typeof e||e instanceof String||(e=r(e)),no=Gr,zr=e,Qr=0,Zr=zr.length>0?1:0,eo=0,to=zr.length,ro=null,oo={allowKeyword:!1,allowIn:!0,labelSet:{},parenthesizedCount:0,inFunctionBody:!1,inIteration:!1,inSwitch:!1,inXJSChild:!1,inXJSTag:!1,inType:!1,lastCommentStart:-1,yieldAllowed:!1,awaitAllowed:!1},ao={},"undefined"!=typeof t&&(ao.range="boolean"==typeof t.range&&t.range,ao.loc="boolean"==typeof t.loc&&t.loc,ao.attachComment="boolean"==typeof t.attachComment&&t.attachComment,ao.loc&&null!==t.source&&void 0!==t.source&&(no=Vr(no,{postProcess:function(e){return e.loc.source=r(t.source),e}})),"boolean"==typeof t.tokens&&t.tokens&&(ao.tokens=[]),"boolean"==typeof t.comment&&t.comment&&(ao.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(ao.errors=[]),ao.attachComment&&(ao.range=!0,ao.comments=[],ao.bottomRightStack=[],ao.trailingComments=[],ao.leadingComments=[])),to>0&&"undefined"==typeof zr[0]&&e instanceof String&&(zr=e.valueOf()),Rr();try{n=Zn(),"undefined"!=typeof ao.comments&&(n.comments=ao.comments),"undefined"!=typeof ao.tokens&&(Pr(),n.tokens=ao.tokens),"undefined"!=typeof ao.errors&&(n.errors=ao.errors) +}catch(o){throw o}finally{Lr(),ao={}}return n}var Fr,jr,Xr,Jr,Wr,Hr,qr,Gr,Kr,Yr,zr,$r,Qr,Zr,eo,to,no,ro,oo,ao;Fr={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9,Template:10,XJSIdentifier:11,XJSText:12},jr={},jr[Fr.BooleanLiteral]="Boolean",jr[Fr.EOF]="",jr[Fr.Identifier]="Identifier",jr[Fr.Keyword]="Keyword",jr[Fr.NullLiteral]="Null",jr[Fr.NumericLiteral]="Numeric",jr[Fr.Punctuator]="Punctuator",jr[Fr.StringLiteral]="String",jr[Fr.XJSIdentifier]="XJSIdentifier",jr[Fr.XJSText]="XJSText",jr[Fr.RegularExpression]="RegularExpression",Xr=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],Jr={AnyTypeAnnotation:"AnyTypeAnnotation",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrayTypeAnnotation:"ArrayTypeAnnotation",ArrowFunctionExpression:"ArrowFunctionExpression",AssignmentExpression:"AssignmentExpression",BinaryExpression:"BinaryExpression",BlockStatement:"BlockStatement",BooleanTypeAnnotation:"BooleanTypeAnnotation",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ClassImplements:"ClassImplements",ClassProperty:"ClassProperty",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DeclareClass:"DeclareClass",DeclareFunction:"DeclareFunction",DeclareModule:"DeclareModule",DeclareVariable:"DeclareVariable",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportDeclaration:"ExportDeclaration",ExportBatchSpecifier:"ExportBatchSpecifier",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",ForStatement:"ForStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",FunctionTypeAnnotation:"FunctionTypeAnnotation",FunctionTypeParam:"FunctionTypeParam",GenericTypeAnnotation:"GenericTypeAnnotation",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",InterfaceDeclaration:"InterfaceDeclaration",InterfaceExtends:"InterfaceExtends",IntersectionTypeAnnotation:"IntersectionTypeAnnotation",LabeledStatement:"LabeledStatement",Literal:"Literal",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",NullableTypeAnnotation:"NullableTypeAnnotation",NumberTypeAnnotation:"NumberTypeAnnotation",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",ObjectTypeAnnotation:"ObjectTypeAnnotation",ObjectTypeCallProperty:"ObjectTypeCallProperty",ObjectTypeIndexer:"ObjectTypeIndexer",ObjectTypeProperty:"ObjectTypeProperty",Program:"Program",Property:"Property",QualifiedTypeIdentifier:"QualifiedTypeIdentifier",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",SpreadProperty:"SpreadProperty",StringLiteralTypeAnnotation:"StringLiteralTypeAnnotation",StringTypeAnnotation:"StringTypeAnnotation",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TupleTypeAnnotation:"TupleTypeAnnotation",TryStatement:"TryStatement",TypeAlias:"TypeAlias",TypeAnnotation:"TypeAnnotation",TypeofTypeAnnotation:"TypeofTypeAnnotation",TypeParameterDeclaration:"TypeParameterDeclaration",TypeParameterInstantiation:"TypeParameterInstantiation",UnaryExpression:"UnaryExpression",UnionTypeAnnotation:"UnionTypeAnnotation",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",VoidTypeAnnotation:"VoidTypeAnnotation",WhileStatement:"WhileStatement",WithStatement:"WithStatement",XJSIdentifier:"XJSIdentifier",XJSNamespacedName:"XJSNamespacedName",XJSMemberExpression:"XJSMemberExpression",XJSEmptyExpression:"XJSEmptyExpression",XJSExpressionContainer:"XJSExpressionContainer",XJSElement:"XJSElement",XJSClosingElement:"XJSClosingElement",XJSOpeningElement:"XJSOpeningElement",XJSAttribute:"XJSAttribute",XJSSpreadAttribute:"XJSSpreadAttribute",XJSText:"XJSText",YieldExpression:"YieldExpression",AwaitExpression:"AwaitExpression"},Wr={Data:1,Get:2,Set:4},Yr={"static":"static",prototype:"prototype"},Hr={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInFormalsList:"Invalid left-hand side in formals list",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalDuplicateClassProperty:"Illegal duplicate property in class definition",IllegalReturn:"Illegal return statement",IllegalSpread:"Illegal spread element",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",ParameterAfterRestParameter:"Rest parameter must be final parameter of an argument list",DefaultRestParameter:"Rest parameter can not have a default value",ElementAfterSpreadElement:"Spread must be the final element of an element list",PropertyAfterSpreadProperty:"A rest property must be the final property of an object literal",ObjectPatternAsRestParameter:"Invalid rest parameter",ObjectPatternAsSpread:"Invalid spread argument",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",MissingFromClause:"Missing from clause",NoAsAfterImportNamespace:"Missing as after import *",InvalidModuleSpecifier:"Invalid module specifier",NoUnintializedConst:"Const must be initialized",ComprehensionRequiresBlock:"Comprehension must have at least one block",ComprehensionError:"Comprehension Error",EachNotAllowed:"Each is not supported",InvalidXJSAttributeValue:"XJS value should be either an expression or a quoted XJS text",ExpectedXJSClosingTag:"Expected corresponding XJS closing tag for %0",AdjacentXJSElements:"Adjacent XJS elements must be wrapped in an enclosing tag",ConfusedAboutFunctionType:"Unexpected token =>. It looks like you are trying to write a function type, but you ended up writing a grouped type followed by an =>, which is a syntax error. Remember, function type parameters are named so function types look like (name1: type1, name2: type2) => returnType. You probably wrote (type1) => returnType"},qr={NonAsciiIdentifierStart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),NonAsciiIdentifierPart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),LeadingZeros:new RegExp("^0+(?!$)")},Gr={name:"SyntaxTree",postProcess:function(e){return e},createArrayExpression:function(e){return{type:Jr.ArrayExpression,elements:e}},createAssignmentExpression:function(e,t,n){return{type:Jr.AssignmentExpression,operator:e,left:t,right:n}},createBinaryExpression:function(e,t,n){var r="||"===e||"&&"===e?Jr.LogicalExpression:Jr.BinaryExpression;return{type:r,operator:e,left:t,right:n}},createBlockStatement:function(e){return{type:Jr.BlockStatement,body:e}},createBreakStatement:function(e){return{type:Jr.BreakStatement,label:e}},createCallExpression:function(e,t){return{type:Jr.CallExpression,callee:e,arguments:t}},createCatchClause:function(e,t){return{type:Jr.CatchClause,param:e,body:t}},createConditionalExpression:function(e,t,n){return{type:Jr.ConditionalExpression,test:e,consequent:t,alternate:n}},createContinueStatement:function(e){return{type:Jr.ContinueStatement,label:e}},createDebuggerStatement:function(){return{type:Jr.DebuggerStatement}},createDoWhileStatement:function(e,t){return{type:Jr.DoWhileStatement,body:e,test:t}},createEmptyStatement:function(){return{type:Jr.EmptyStatement}},createExpressionStatement:function(e){return{type:Jr.ExpressionStatement,expression:e}},createForStatement:function(e,t,n,r){return{type:Jr.ForStatement,init:e,test:t,update:n,body:r}},createForInStatement:function(e,t,n){return{type:Jr.ForInStatement,left:e,right:t,body:n,each:!1}},createForOfStatement:function(e,t,n){return{type:Jr.ForOfStatement,left:e,right:t,body:n}},createFunctionDeclaration:function(e,t,n,r,o,a,i,s,u,c){var l={type:Jr.FunctionDeclaration,id:e,params:t,defaults:n,body:r,rest:o,generator:a,expression:i,returnType:u,typeParameters:c};return s&&(l.async=!0),l},createFunctionExpression:function(e,t,n,r,o,a,i,s,u,c){var l={type:Jr.FunctionExpression,id:e,params:t,defaults:n,body:r,rest:o,generator:a,expression:i,returnType:u,typeParameters:c};return s&&(l.async=!0),l},createIdentifier:function(e){return{type:Jr.Identifier,name:e,typeAnnotation:void 0,optional:void 0}},createTypeAnnotation:function(e){return{type:Jr.TypeAnnotation,typeAnnotation:e}},createFunctionTypeAnnotation:function(e,t,n,r){return{type:Jr.FunctionTypeAnnotation,params:e,returnType:t,rest:n,typeParameters:r}},createFunctionTypeParam:function(e,t,n){return{type:Jr.FunctionTypeParam,name:e,typeAnnotation:t,optional:n}},createNullableTypeAnnotation:function(e){return{type:Jr.NullableTypeAnnotation,typeAnnotation:e}},createArrayTypeAnnotation:function(e){return{type:Jr.ArrayTypeAnnotation,elementType:e}},createGenericTypeAnnotation:function(e,t){return{type:Jr.GenericTypeAnnotation,id:e,typeParameters:t}},createQualifiedTypeIdentifier:function(e,t){return{type:Jr.QualifiedTypeIdentifier,qualification:e,id:t}},createTypeParameterDeclaration:function(e){return{type:Jr.TypeParameterDeclaration,params:e}},createTypeParameterInstantiation:function(e){return{type:Jr.TypeParameterInstantiation,params:e}},createAnyTypeAnnotation:function(){return{type:Jr.AnyTypeAnnotation}},createBooleanTypeAnnotation:function(){return{type:Jr.BooleanTypeAnnotation}},createNumberTypeAnnotation:function(){return{type:Jr.NumberTypeAnnotation}},createStringTypeAnnotation:function(){return{type:Jr.StringTypeAnnotation}},createStringLiteralTypeAnnotation:function(e){return{type:Jr.StringLiteralTypeAnnotation,value:e.value,raw:zr.slice(e.range[0],e.range[1])}},createVoidTypeAnnotation:function(){return{type:Jr.VoidTypeAnnotation}},createTypeofTypeAnnotation:function(e){return{type:Jr.TypeofTypeAnnotation,argument:e}},createTupleTypeAnnotation:function(e){return{type:Jr.TupleTypeAnnotation,types:e}},createObjectTypeAnnotation:function(e,t,n){return{type:Jr.ObjectTypeAnnotation,properties:e,indexers:t,callProperties:n}},createObjectTypeIndexer:function(e,t,n,r){return{type:Jr.ObjectTypeIndexer,id:e,key:t,value:n,"static":r}},createObjectTypeCallProperty:function(e,t){return{type:Jr.ObjectTypeCallProperty,value:e,"static":t}},createObjectTypeProperty:function(e,t,n,r){return{type:Jr.ObjectTypeProperty,key:e,value:t,optional:n,"static":r}},createUnionTypeAnnotation:function(e){return{type:Jr.UnionTypeAnnotation,types:e}},createIntersectionTypeAnnotation:function(e){return{type:Jr.IntersectionTypeAnnotation,types:e}},createTypeAlias:function(e,t,n){return{type:Jr.TypeAlias,id:e,typeParameters:t,right:n}},createInterface:function(e,t,n,r){return{type:Jr.InterfaceDeclaration,id:e,typeParameters:t,body:n,"extends":r}},createInterfaceExtends:function(e,t){return{type:Jr.InterfaceExtends,id:e,typeParameters:t}},createDeclareFunction:function(e){return{type:Jr.DeclareFunction,id:e}},createDeclareVariable:function(e){return{type:Jr.DeclareVariable,id:e}},createDeclareModule:function(e,t){return{type:Jr.DeclareModule,id:e,body:t}},createXJSAttribute:function(e,t){return{type:Jr.XJSAttribute,name:e,value:t||null}},createXJSSpreadAttribute:function(e){return{type:Jr.XJSSpreadAttribute,argument:e}},createXJSIdentifier:function(e){return{type:Jr.XJSIdentifier,name:e}},createXJSNamespacedName:function(e,t){return{type:Jr.XJSNamespacedName,namespace:e,name:t}},createXJSMemberExpression:function(e,t){return{type:Jr.XJSMemberExpression,object:e,property:t}},createXJSElement:function(e,t,n){return{type:Jr.XJSElement,openingElement:e,closingElement:t,children:n}},createXJSEmptyExpression:function(){return{type:Jr.XJSEmptyExpression}},createXJSExpressionContainer:function(e){return{type:Jr.XJSExpressionContainer,expression:e}},createXJSOpeningElement:function(e,t,n){return{type:Jr.XJSOpeningElement,name:e,selfClosing:n,attributes:t}},createXJSClosingElement:function(e){return{type:Jr.XJSClosingElement,name:e}},createIfStatement:function(e,t,n){return{type:Jr.IfStatement,test:e,consequent:t,alternate:n}},createLabeledStatement:function(e,t){return{type:Jr.LabeledStatement,label:e,body:t}},createLiteral:function(e){var t={type:Jr.Literal,value:e.value,raw:zr.slice(e.range[0],e.range[1])};return e.regex&&(t.regex=e.regex),t},createMemberExpression:function(e,t,n){return{type:Jr.MemberExpression,computed:"["===e,object:t,property:n}},createNewExpression:function(e,t){return{type:Jr.NewExpression,callee:e,arguments:t}},createObjectExpression:function(e){return{type:Jr.ObjectExpression,properties:e}},createPostfixExpression:function(e,t){return{type:Jr.UpdateExpression,operator:e,argument:t,prefix:!1}},createProgram:function(e){return{type:Jr.Program,body:e}},createProperty:function(e,t,n,r,o,a){return{type:Jr.Property,key:t,value:n,kind:e,method:r,shorthand:o,computed:a}},createReturnStatement:function(e){return{type:Jr.ReturnStatement,argument:e}},createSequenceExpression:function(e){return{type:Jr.SequenceExpression,expressions:e}},createSwitchCase:function(e,t){return{type:Jr.SwitchCase,test:e,consequent:t}},createSwitchStatement:function(e,t){return{type:Jr.SwitchStatement,discriminant:e,cases:t}},createThisExpression:function(){return{type:Jr.ThisExpression}},createThrowStatement:function(e){return{type:Jr.ThrowStatement,argument:e}},createTryStatement:function(e,t,n,r){return{type:Jr.TryStatement,block:e,guardedHandlers:t,handlers:n,finalizer:r}},createUnaryExpression:function(e,t){return"++"===e||"--"===e?{type:Jr.UpdateExpression,operator:e,argument:t,prefix:!0}:{type:Jr.UnaryExpression,operator:e,argument:t,prefix:!0}},createVariableDeclaration:function(e,t){return{type:Jr.VariableDeclaration,declarations:e,kind:t}},createVariableDeclarator:function(e,t){return{type:Jr.VariableDeclarator,id:e,init:t}},createWhileStatement:function(e,t){return{type:Jr.WhileStatement,test:e,body:t}},createWithStatement:function(e,t){return{type:Jr.WithStatement,object:e,body:t}},createTemplateElement:function(e,t){return{type:Jr.TemplateElement,value:e,tail:t}},createTemplateLiteral:function(e,t){return{type:Jr.TemplateLiteral,quasis:e,expressions:t}},createSpreadElement:function(e){return{type:Jr.SpreadElement,argument:e}},createSpreadProperty:function(e){return{type:Jr.SpreadProperty,argument:e}},createTaggedTemplateExpression:function(e,t){return{type:Jr.TaggedTemplateExpression,tag:e,quasi:t}},createArrowFunctionExpression:function(e,t,n,r,o,a){var i={type:Jr.ArrowFunctionExpression,id:null,params:e,defaults:t,body:n,rest:r,generator:!1,expression:o};return a&&(i.async=!0),i},createMethodDefinition:function(e,t,n,r){return{type:Jr.MethodDefinition,key:n,value:r,kind:t,"static":e===Yr["static"]}},createClassProperty:function(e,t,n,r){return{type:Jr.ClassProperty,key:e,typeAnnotation:t,computed:n,"static":r}},createClassBody:function(e){return{type:Jr.ClassBody,body:e}},createClassImplements:function(e,t){return{type:Jr.ClassImplements,id:e,typeParameters:t}},createClassExpression:function(e,t,n,r,o,a){return{type:Jr.ClassExpression,id:e,superClass:t,body:n,typeParameters:r,superTypeParameters:o,"implements":a}},createClassDeclaration:function(e,t,n,r,o,a){return{type:Jr.ClassDeclaration,id:e,superClass:t,body:n,typeParameters:r,superTypeParameters:o,"implements":a}},createModuleSpecifier:function(e){return{type:Jr.ModuleSpecifier,value:e.value,raw:zr.slice(e.range[0],e.range[1])}},createExportSpecifier:function(e,t){return{type:Jr.ExportSpecifier,id:e,name:t}},createExportBatchSpecifier:function(){return{type:Jr.ExportBatchSpecifier}},createImportDefaultSpecifier:function(e){return{type:Jr.ImportDefaultSpecifier,id:e}},createImportNamespaceSpecifier:function(e){return{type:Jr.ImportNamespaceSpecifier,id:e}},createExportDeclaration:function(e,t,n,r){return{type:Jr.ExportDeclaration,"default":!!e,declaration:t,specifiers:n,source:r}},createImportSpecifier:function(e,t){return{type:Jr.ImportSpecifier,id:e,name:t}},createImportDeclaration:function(e,t){return{type:Jr.ImportDeclaration,specifiers:e,source:t}},createYieldExpression:function(e,t){return{type:Jr.YieldExpression,argument:e,delegate:t}},createAwaitExpression:function(e){return{type:Jr.AwaitExpression,argument:e}},createComprehensionExpression:function(e,t,n){return{type:Jr.ComprehensionExpression,filter:e,blocks:t,body:n}}},Kr={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪","int":"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},e.version="8001.1001.0-dev-harmony-fb",e.tokenize=Ur,e.parse=Br,e.Syntax=function(){var e,t={};"function"==typeof Object.create&&(t=Object.create(null));for(e in Jr)Jr.hasOwnProperty(e)&&(t[e]=Jr[e]);return"function"==typeof Object.freeze&&Object.freeze(t),t}()})},function(e,t,n){"use strict";var r=n(27),o=r({bubbled:null,captured:null}),a=r({topBlur:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topError:null,topFocus:null,topInput:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topReset:null,topScroll:null,topSelectionChange:null,topSubmit:null,topTextInput:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topWheel:null}),i={topLevelTypes:a,PropagationPhases:o};e.exports=i},function(e,t,n){(function(t){"use strict";function r(e){var t=e._owner||null;return t&&t.constructor&&t.constructor.displayName?" Check the render method of `"+t.constructor.displayName+"`.":""}function o(e,n,r){for(var o in n)n.hasOwnProperty(o)&&("production"!==t.env.NODE_ENV?D("function"==typeof n[o],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e.displayName||"ReactCompositeComponent",N[r],o):D("function"==typeof n[o]))}function a(e,n){var r=U.hasOwnProperty(n)?U[n]:null;j.hasOwnProperty(n)&&("production"!==t.env.NODE_ENV?D(r===L.OVERRIDE_BASE,"ReactCompositeComponentInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",n):D(r===L.OVERRIDE_BASE)),e.hasOwnProperty(n)&&("production"!==t.env.NODE_ENV?D(r===L.DEFINE_MANY||r===L.DEFINE_MANY_MERGED,"ReactCompositeComponentInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n):D(r===L.DEFINE_MANY||r===L.DEFINE_MANY_MERGED))}function i(e){var n=e._compositeLifeCycleState;"production"!==t.env.NODE_ENV?D(e.isMounted()||n===F.MOUNTING,"replaceState(...): Can only update a mounted or mounting component."):D(e.isMounted()||n===F.MOUNTING),"production"!==t.env.NODE_ENV?D(null==h.current,"replaceState(...): Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."):D(null==h.current),"production"!==t.env.NODE_ENV?D(n!==F.UNMOUNTING,"replaceState(...): Cannot update while unmounting component. This usually means you called setState() on an unmounted component."):D(n!==F.UNMOUNTING)}function s(e,n){if(n){"production"!==t.env.NODE_ENV?D(!E.isValidFactory(n),"ReactCompositeComponent: You're attempting to use a component class as a mixin. Instead, just use a regular object."):D(!E.isValidFactory(n)),"production"!==t.env.NODE_ENV?D(!m.isValidElement(n),"ReactCompositeComponent: You're attempting to use a component as a mixin. Instead, just use a regular object."):D(!m.isValidElement(n));var r=e.prototype;n.hasOwnProperty(R)&&B.mixins(e,n.mixins);for(var o in n)if(n.hasOwnProperty(o)&&o!==R){var i=n[o];if(a(r,o),B.hasOwnProperty(o))B[o](e,i);else{var s=U.hasOwnProperty(o),u=r.hasOwnProperty(o),c=i&&i.__reactDontBind,d="function"==typeof i,f=d&&!s&&!u&&!c;if(f)r.__reactAutoBindMap||(r.__reactAutoBindMap={}),r.__reactAutoBindMap[o]=i,r[o]=i;else if(u){var h=U[o];"production"!==t.env.NODE_ENV?D(s&&(h===L.DEFINE_MANY_MERGED||h===L.DEFINE_MANY),"ReactCompositeComponent: Unexpected spec policy %s for key %s when mixing in component specs.",h,o):D(s&&(h===L.DEFINE_MANY_MERGED||h===L.DEFINE_MANY)),h===L.DEFINE_MANY_MERGED?r[o]=l(r[o],i):h===L.DEFINE_MANY&&(r[o]=p(r[o],i))}else r[o]=i,"production"!==t.env.NODE_ENV&&"function"==typeof i&&n.displayName&&(r[o].displayName=n.displayName+"_"+o)}}}}function u(e,n){if(n)for(var r in n){var o=n[r];if(n.hasOwnProperty(r)){var a=r in B;"production"!==t.env.NODE_ENV?D(!a,'ReactCompositeComponent: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',r):D(!a);var i=r in e;"production"!==t.env.NODE_ENV?D(!i,"ReactCompositeComponent: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",r):D(!i),e[r]=o}}}function c(e,n){return"production"!==t.env.NODE_ENV?D(e&&n&&"object"==typeof e&&"object"==typeof n,"mergeObjectsWithNoDuplicateKeys(): Cannot merge non-objects"):D(e&&n&&"object"==typeof e&&"object"==typeof n),M(n,function(n,r){"production"!==t.env.NODE_ENV?D(void 0===e[r],"mergeObjectsWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",r):D(void 0===e[r]),e[r]=n}),e}function l(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);return null==n?r:null==r?n:c(n,r)}}function p(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}var d=n(25),f=n(45),h=n(20),m=n(4),y=n(46),g=n(35),v=n(139),E=n(30),b=n(71),C=n(13),S=n(143),w=n(73),N=n(72),x=n(14),_=n(3),T=n(38),D=n(2),O=n(27),I=n(16),A=n(39),M=n(86),k=n(57),P=n(6),R=I({mixins:null}),L=O({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),V=[],U={mixins:L.DEFINE_MANY,statics:L.DEFINE_MANY,propTypes:L.DEFINE_MANY,contextTypes:L.DEFINE_MANY,childContextTypes:L.DEFINE_MANY,getDefaultProps:L.DEFINE_MANY_MERGED,getInitialState:L.DEFINE_MANY_MERGED,getChildContext:L.DEFINE_MANY_MERGED,render:L.DEFINE_ONCE,componentWillMount:L.DEFINE_MANY,componentDidMount:L.DEFINE_MANY,componentWillReceiveProps:L.DEFINE_MANY,shouldComponentUpdate:L.DEFINE_ONCE,componentWillUpdate:L.DEFINE_MANY,componentDidUpdate:L.DEFINE_MANY,componentWillUnmount:L.DEFINE_MANY,updateComponent:L.OVERRIDE_BASE},B={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;ns;s++)i.push(arguments[s]);if(t!==n&&null!==t)A("react_bind_warning",{component:o}),console.warn("bind(): React component methods may only be bound to the component instance. See "+o);else if(!i.length)return A("react_bind_warning",{component:o}),console.warn("bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See "+o),r;var c=a.apply(r,arguments);return c.__reactBoundContext=n,c.__reactBoundMethod=e,c.__reactBoundArguments=i,c}}return r}},X=function(){};_(X.prototype,d.Mixin,b.Mixin,S.Mixin,j);var J={LifeCycle:F,Base:X,createClass:function(e){var n=function(){};n.prototype=new X,n.prototype.constructor=n,V.forEach(s.bind(null,n)),s(n,e),n.getDefaultProps&&(n.defaultProps=n.getDefaultProps()),"production"!==t.env.NODE_ENV?D(n.prototype.render,"createClass(...): Class specification must implement a `render` method."):D(n.prototype.render),"production"!==t.env.NODE_ENV&&n.prototype.componentShouldUpdate&&(A("react_component_should_update_warning",{component:e.displayName}),console.warn((e.displayName||"A component")+" has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value."));for(var r in U)n.prototype[r]||(n.prototype[r]=null);return E.wrapFactory("production"!==t.env.NODE_ENV?y.createFactory(n):m.createFactory(n))},injection:{injectMixin:function(e){V.push(e)}}};e.exports=J}).call(t,n(1))},function(e,t,n){(function(t){"use strict";function r(e){var t=C(e);return t&&V.getID(t)}function o(e){var n=a(e);if(n)if(O.hasOwnProperty(n)){var r=O[n];r!==e&&("production"!==t.env.NODE_ENV?w(!u(r,n),"ReactMount: Two valid but unequal nodes with the same `%s`: %s",D,n):w(!u(r,n)),O[n]=e)}else O[n]=e;return n}function a(e){return e&&e.getAttribute&&e.getAttribute(D)||""}function i(e,t){var n=a(e);n!==t&&delete O[n],e.setAttribute(D,t),O[t]=e}function s(e){return O.hasOwnProperty(e)&&u(O[e],e)||(O[e]=V.findReactNodeByID(e)),O[e]}function u(e,n){if(e){"production"!==t.env.NODE_ENV?w(a(e)===n,"ReactMount: Unexpected modification of `%s`",D):w(a(e)===n);var r=V.findReactContainerForID(n);if(r&&E(r,e))return!0}return!1}function c(e){delete O[e]}function l(e){var t=O[e];return t&&u(t,e)?void(L=t):!1}function p(e){L=null,g.traverseAncestors(e,l);var t=L;return L=null,t}var d=n(19),f=n(24),h=n(20),m=n(4),y=n(30),g=n(26),v=n(13),E=n(79),b=n(49),C=n(83),S=n(38),w=n(2),N=n(57),x=n(6),_=y.wrapCreateElement(m.createElement),T=g.SEPARATOR,D=d.ID_ATTRIBUTE_NAME,O={},I=1,A=9,M={},k={};if("production"!==t.env.NODE_ENV)var P={};var R=[],L=null,V={_instancesByReactRootID:M,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,n,o,a){var i=n.props;return V.scrollMonitor(o,function(){e.replaceProps(i,a)}),"production"!==t.env.NODE_ENV&&(P[r(o)]=C(o)),e},_registerComponent:function(e,n){"production"!==t.env.NODE_ENV?w(n&&(n.nodeType===I||n.nodeType===A),"_registerComponent(...): Target container is not a DOM element."):w(n&&(n.nodeType===I||n.nodeType===A)),f.ensureScrollValueMonitoring();var r=V.registerContainer(n);return M[r]=e,r},_renderNewRootComponent:v.measure("ReactMount","_renderNewRootComponent",function(e,n,r){"production"!==t.env.NODE_ENV?x(null==h.current,"_renderNewRootComponent(): Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate."):null;var o=S(e,null),a=V._registerComponent(o,n);return o.mountComponentIntoNode(a,n,r),"production"!==t.env.NODE_ENV&&(P[a]=C(n)),o}),render:function(e,n,o){"production"!==t.env.NODE_ENV?w(m.isValidElement(e),"renderComponent(): Invalid component element.%s","string"==typeof e?" Instead of passing an element string, make sure to instantiate it by passing it to React.createElement.":y.isValidFactory(e)?" Instead of passing a component class, make sure to instantiate it by passing it to React.createElement.":"undefined"!=typeof e.props?" This may be caused by unintentionally loading two independent copies of React.":""):w(m.isValidElement(e));var a=M[r(n)];if(a){var i=a._currentElement;if(N(i,e))return V._updateRootComponent(a,e,n,o);V.unmountComponentAtNode(n)}var s=C(n),u=s&&V.isRenderedByReact(s),c=u&&!a,l=V._renderNewRootComponent(e,n,c);return o&&o.call(l),l},constructAndRenderComponent:function(e,t,n){var r=_(e,t);return V.render(r,n)},constructAndRenderComponentByID:function(e,n,r){var o=document.getElementById(r);return"production"!==t.env.NODE_ENV?w(o,'Tried to get element with id of "%s" but it is not present on the page.',r):w(o),V.constructAndRenderComponent(e,n,o)},registerContainer:function(e){var t=r(e);return t&&(t=g.getReactRootIDFromNodeID(t)),t||(t=g.createReactRootID()),k[t]=e,t},unmountComponentAtNode:function(e){"production"!==t.env.NODE_ENV?x(null==h.current,"unmountComponentAtNode(): Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate."):null;var n=r(e),o=M[n];return o?(V.unmountComponentFromNode(o,e),delete M[n],delete k[n],"production"!==t.env.NODE_ENV&&delete P[n],!0):!1},unmountComponentFromNode:function(e,t){for(e.unmountComponent(),t.nodeType===A&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)},findReactContainerForID:function(e){var n=g.getReactRootIDFromNodeID(e),r=k[n];if("production"!==t.env.NODE_ENV){var o=P[n];if(o&&o.parentNode!==r){"production"!==t.env.NODE_ENV?w(a(o)===n,"ReactMount: Root element ID differed from reactRootID."):w(a(o)===n);var i=r.firstChild;i&&n===a(i)?P[n]=i:console.warn("ReactMount: Root element has been removed from its original container. New container:",o.parentNode)}}return r},findReactNodeByID:function(e){var t=V.findReactContainerForID(e);return V.findComponentRoot(t,e)},isRenderedByReact:function(e){if(1!==e.nodeType)return!1;var t=V.getID(e);return t?t.charAt(0)===T:!1},getFirstReactDOM:function(e){for(var t=e;t&&t.parentNode!==t;){if(V.isRenderedByReact(t))return t;t=t.parentNode}return null},findComponentRoot:function(e,n){var r=R,o=0,a=p(n)||e;for(r[0]=a.firstChild,r.length=1;o when using tables, nesting tags like
,

, or , or using non-SVG elements in an parent. Try inspecting the child nodes of the element with React ID `%s`.",n,V.getID(e)):w(!1)},getReactRootID:r,getID:o,setID:i,getNode:s,purgeID:c};V.renderComponent=b("ReactMount","renderComponent","render",this,V.render),e.exports=V}).call(t,n(1))},function(e,t,n){(function(t){"use strict";var r=n(35),o=n(11),a=n(2),i={getDOMNode:function(){return"production"!==t.env.NODE_ENV?a(this.isMounted(),"getDOMNode(): A component must be mounted to have a DOM node."):a(this.isMounted()),r.isNullComponentID(this._rootNodeID)?null:o.getNode(this._rootNodeID)}};e.exports=i}).call(t,n(1))},function(e,t,n){(function(t){"use strict";function n(e,t,n){return n}var r={enableMeasure:!1,storedMeasure:n,measure:function(e,n,o){if("production"!==t.env.NODE_ENV){var a=null,i=function(){return r.enableMeasure?(a||(a=r.storedMeasure(e,n,o)),a.apply(this,arguments)):o.apply(this,arguments)};return i.displayName=e+"_"+n,i}return o},injection:{injectMeasure:function(e){r.storedMeasure=e}}};e.exports=r}).call(t,n(1))},function(e,t,n){(function(t){"use strict";function r(){"production"!==t.env.NODE_ENV?y(T.ReactReconcileTransaction&&C,"ReactUpdates: must inject a reconcile transaction class and batching strategy"):y(T.ReactReconcileTransaction&&C)}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=l.getPooled(),this.reconcileTransaction=T.ReactReconcileTransaction.getPooled()}function a(e,t,n){r(),C.batchedUpdates(e,t,n)}function i(e,t){return e._mountDepth-t._mountDepth}function s(e){var n=e.dirtyComponentsLength;"production"!==t.env.NODE_ENV?y(n===v.length,"Expected flush transaction's stored dirty-components length (%s) to match dirty-components array length (%s).",n,v.length):y(n===v.length),v.sort(i);for(var r=0;n>r;r++){var o=v[r];if(o.isMounted()){var a=o._pendingCallbacks;if(o._pendingCallbacks=null,o.performUpdateIfNecessary(e.reconcileTransaction),a)for(var s=0;st||o.hasOverloadedBooleanValue[e]&&t===!1}var o=n(19),a=n(50),i=n(87),s=n(6),u=i(function(e){return a(e)+'="'});if("production"!==t.env.NODE_ENV)var c={children:!0,dangerouslySetInnerHTML:!0,key:!0,ref:!0},l={},p=function(e){if(!(c.hasOwnProperty(e)&&c[e]||l.hasOwnProperty(e)&&l[e])){l[e]=!0;var n=e.toLowerCase(),r=o.isCustomAttribute(n)?n:o.getPossibleStandardName.hasOwnProperty(n)?o.getPossibleStandardName[n]:null;"production"!==t.env.NODE_ENV?s(null==r,"Unknown DOM property "+e+". Did you mean "+r+"?"):null}};var d={createMarkupForID:function(e){return u(o.ID_ATTRIBUTE_NAME)+a(e)+'"'},createMarkupForProperty:function(e,n){if(o.isStandardName.hasOwnProperty(e)&&o.isStandardName[e]){if(r(e,n))return"";var i=o.getAttributeName[e];return o.hasBooleanValue[e]||o.hasOverloadedBooleanValue[e]&&n===!0?a(i):u(i)+a(n)+'"'}return o.isCustomAttribute(e)?null==n?"":u(e)+a(n)+'"':("production"!==t.env.NODE_ENV&&p(e),null)},setValueForProperty:function(e,n,a){if(o.isStandardName.hasOwnProperty(n)&&o.isStandardName[n]){var i=o.getMutationMethod[n];if(i)i(e,a);else if(r(n,a))this.deleteValueForProperty(e,n);else if(o.mustUseAttribute[n])e.setAttribute(o.getAttributeName[n],""+a);else{var s=o.getPropertyName[n];o.hasSideEffects[n]&&""+e[s]==""+a||(e[s]=a)}}else o.isCustomAttribute(n)?null==a?e.removeAttribute(n):e.setAttribute(n,""+a):"production"!==t.env.NODE_ENV&&p(n)},deleteValueForProperty:function(e,n){if(o.isStandardName.hasOwnProperty(n)&&o.isStandardName[n]){var r=o.getMutationMethod[n];if(r)r(e,void 0);else if(o.mustUseAttribute[n])e.removeAttribute(o.getAttributeName[n]);else{var a=o.getPropertyName[n],i=o.getDefaultValueForProperty(e.nodeName,a);o.hasSideEffects[n]&&""+e[a]===i||(e[a]=i)}}else o.isCustomAttribute(n)?e.removeAttribute(n):"production"!==t.env.NODE_ENV&&p(n)}};e.exports=d}).call(t,n(1))},function(e,t,n){(function(t){"use strict";function r(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return y(e,r)}function o(e,n,o){if("production"!==t.env.NODE_ENV&&!e)throw new Error("Dispatching id must not be null");var a=n?m.bubbled:m.captured,i=r(e,o,a);i&&(o._dispatchListeners=f(o._dispatchListeners,i),o._dispatchIDs=f(o._dispatchIDs,e))}function a(e){e&&e.dispatchConfig.phasedRegistrationNames&&d.injection.getInstanceHandle().traverseTwoPhase(e.dispatchMarker,o,e)}function i(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=y(e,r);o&&(n._dispatchListeners=f(n._dispatchListeners,o),n._dispatchIDs=f(n._dispatchIDs,e))}}function s(e){e&&e.dispatchConfig.registrationName&&i(e.dispatchMarker,null,e)}function u(e){h(e,a)}function c(e,t,n,r){d.injection.getInstanceHandle().traverseEnterLeave(n,r,i,e,t)}function l(e){h(e,s)}var p=n(9),d=n(29),f=n(48),h=n(51),m=p.PropagationPhases,y=d.getListener,g={accumulateTwoPhaseDispatches:u,accumulateDirectDispatches:l,accumulateEnterLeaveDispatches:c};e.exports=g}).call(t,n(1))},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,m)||(e[m]=f++,p[e[m]]={}),p[e[m]]}var o=n(9),a=n(29),i=n(64),s=n(140),u=n(78),c=n(3),l=n(56),p={},d=!1,f=0,h={topBlur:"blur",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topScroll:"scroll",topSelectionChange:"selectionchange",topTextInput:"textInput",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topWheel:"wheel"},m="_reactListenersID"+String(Math.random()).slice(2),y=c({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(y.handleTopLevel),y.ReactEventListener=e}},setEnabled:function(e){y.ReactEventListener&&y.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!y.ReactEventListener||!y.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,a=r(n),s=i.registrationNameDependencies[e],u=o.topLevelTypes,c=0,p=s.length;p>c;c++){var d=s[c];a.hasOwnProperty(d)&&a[d]||(d===u.topWheel?l("wheel")?y.ReactEventListener.trapBubbledEvent(u.topWheel,"wheel",n):l("mousewheel")?y.ReactEventListener.trapBubbledEvent(u.topWheel,"mousewheel",n):y.ReactEventListener.trapBubbledEvent(u.topWheel,"DOMMouseScroll",n):d===u.topScroll?l("scroll",!0)?y.ReactEventListener.trapCapturedEvent(u.topScroll,"scroll",n):y.ReactEventListener.trapBubbledEvent(u.topScroll,"scroll",y.ReactEventListener.WINDOW_HANDLE):d===u.topFocus||d===u.topBlur?(l("focus",!0)?(y.ReactEventListener.trapCapturedEvent(u.topFocus,"focus",n),y.ReactEventListener.trapCapturedEvent(u.topBlur,"blur",n)):l("focusin")&&(y.ReactEventListener.trapBubbledEvent(u.topFocus,"focusin",n),y.ReactEventListener.trapBubbledEvent(u.topBlur,"focusout",n)),a[u.topBlur]=!0,a[u.topFocus]=!0):h.hasOwnProperty(d)&&y.ReactEventListener.trapBubbledEvent(d,h[d],n),a[d]=!0)}},trapBubbledEvent:function(e,t,n){return y.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return y.ReactEventListener.trapCapturedEvent(e,t,n)},ensureScrollValueMonitoring:function(){if(!d){var e=u.refreshScrollValues;y.ReactEventListener.monitorScrollValue(e),d=!0}},eventNameDispatchConfigs:a.eventNameDispatchConfigs,registrationNameModules:a.registrationNameModules,putListener:a.putListener,getListener:a.getListener,deleteListener:a.deleteListener,deleteAllListeners:a.deleteAllListeners});e.exports=y},function(e,t,n){(function(t){"use strict";var r=n(4),o=n(71),a=n(14),i=n(3),s=n(2),u=n(27),c=u({MOUNTED:null,UNMOUNTED:null}),l=!1,p=null,d=null,f={injection:{injectEnvironment:function(e){"production"!==t.env.NODE_ENV?s(!l,"ReactComponent: injectEnvironment() can only be called once."):s(!l),d=e.mountImageIntoNode,p=e.unmountIDFromEnvironment,f.BackendIDOperations=e.BackendIDOperations,l=!0}},LifeCycle:c,BackendIDOperations:null,Mixin:{isMounted:function(){return this._lifeCycleState===c.MOUNTED},setProps:function(e,t){var n=this._pendingElement||this._currentElement;this.replaceProps(i({},n.props,e),t)},replaceProps:function(e,n){"production"!==t.env.NODE_ENV?s(this.isMounted(),"replaceProps(...): Can only update a mounted component."):s(this.isMounted()),"production"!==t.env.NODE_ENV?s(0===this._mountDepth,"replaceProps(...): You called `setProps` or `replaceProps` on a component with a parent. This is an anti-pattern since props will get reactively updated when rendered. Instead, change the owner's `render` method to pass the correct value as props to the component where it is created."):s(0===this._mountDepth),this._pendingElement=r.cloneAndReplaceProps(this._pendingElement||this._currentElement,e),a.enqueueUpdate(this,n)},_setPropsInternal:function(e,t){var n=this._pendingElement||this._currentElement;this._pendingElement=r.cloneAndReplaceProps(n,i({},n.props,e)),a.enqueueUpdate(this,t)},construct:function(e){this.props=e.props,this._owner=e._owner,this._lifeCycleState=c.UNMOUNTED,this._pendingCallbacks=null,this._currentElement=e,this._pendingElement=null},mountComponent:function(e,n,r){"production"!==t.env.NODE_ENV?s(!this.isMounted(),"mountComponent(%s, ...): Can only mount an unmounted component. Make sure to avoid storing components between renders or reusing a single component instance in multiple places.",e):s(!this.isMounted()); var a=this._currentElement.ref;if(null!=a){var i=this._currentElement._owner;o.addComponentAsRefTo(this,a,i)}this._rootNodeID=e,this._lifeCycleState=c.MOUNTED,this._mountDepth=r},unmountComponent:function(){"production"!==t.env.NODE_ENV?s(this.isMounted(),"unmountComponent(): Can only unmount a mounted component."):s(this.isMounted());var e=this._currentElement.ref;null!=e&&o.removeComponentAsRefFrom(this,e,this._owner),p(this._rootNodeID),this._rootNodeID=null,this._lifeCycleState=c.UNMOUNTED},receiveComponent:function(e,n){"production"!==t.env.NODE_ENV?s(this.isMounted(),"receiveComponent(...): Can only update a mounted component."):s(this.isMounted()),this._pendingElement=e,this.performUpdateIfNecessary(n)},performUpdateIfNecessary:function(e){if(null!=this._pendingElement){var t=this._currentElement,n=this._pendingElement;this._currentElement=n,this.props=n.props,this._owner=n._owner,this._pendingElement=null,this.updateComponent(e,t)}},updateComponent:function(e,t){var n=this._currentElement;(n._owner!==t._owner||n.ref!==t.ref)&&(null!=t.ref&&o.removeComponentAsRefFrom(this,t.ref,t._owner),null!=n.ref&&o.addComponentAsRefTo(this,n.ref,n._owner))},mountComponentIntoNode:function(e,t,n){var r=a.ReactReconcileTransaction.getPooled();r.perform(this._mountComponentIntoNode,this,e,t,r,n),a.ReactReconcileTransaction.release(r)},_mountComponentIntoNode:function(e,t,n,r){var o=this.mountComponent(e,n,0);d(o,t,r)},isOwnedBy:function(e){return this._owner===e},getSiblingByRef:function(e){var t=this._owner;return t&&t.refs?t.refs[e]:null}}};e.exports=f}).call(t,n(1))},function(e,t,n){(function(t){"use strict";function r(e){return f+e.toString(36)}function o(e,t){return e.charAt(t)===f||t===e.length}function a(e){return""===e||e.charAt(0)===f&&e.charAt(e.length-1)!==f}function i(e,t){return 0===t.indexOf(e)&&o(t,e.length)}function s(e){return e?e.substr(0,e.lastIndexOf(f)):""}function u(e,n){if("production"!==t.env.NODE_ENV?d(a(e)&&a(n),"getNextDescendantID(%s, %s): Received an invalid React DOM ID.",e,n):d(a(e)&&a(n)),"production"!==t.env.NODE_ENV?d(i(e,n),"getNextDescendantID(...): React has made an invalid assumption about the DOM hierarchy. Expected `%s` to be an ancestor of `%s`.",e,n):d(i(e,n)),e===n)return e;for(var r=e.length+h,s=r;s=s;s++)if(o(e,s)&&o(n,s))i=s;else if(e.charAt(s)!==n.charAt(s))break;var u=e.substr(0,i);return"production"!==t.env.NODE_ENV?d(a(u),"getFirstCommonAncestorID(%s, %s): Expected a valid React DOM ID: %s",e,n,u):d(a(u)),u}function l(e,n,r,o,a,c){e=e||"",n=n||"","production"!==t.env.NODE_ENV?d(e!==n,"traverseParentPath(...): Cannot traverse from and to the same ID, `%s`.",e):d(e!==n);var l=i(n,e);"production"!==t.env.NODE_ENV?d(l||i(e,n),"traverseParentPath(%s, %s, ...): Cannot traverse from two IDs that do not have a parent path.",e,n):d(l||i(e,n));for(var p=0,f=l?s:u,h=e;;h=f(h,n)){var y;if(a&&h===e||c&&h===n||(y=r(h,l,o)),y===!1||h===n)break;"production"!==t.env.NODE_ENV?d(p++1){var t=e.indexOf(f,1);return t>-1?e.substr(0,t):e}return null},traverseEnterLeave:function(e,t,n,r,o){var a=c(e,t);a!==e&&l(e,a,n,r,!1,!0),a!==t&&l(a,t,n,o,!0,!1)},traverseTwoPhase:function(e,t,n){e&&(l("",e,t,n,!0,!1),l(e,"",t,n,!1,!0))},traverseAncestors:function(e,t,n){l("",e,t,n,!0,!1)},_getFirstCommonAncestorID:c,_getNextDescendantID:u,isAncestorIDOf:i,SEPARATOR:f};e.exports=y}).call(t,n(1))},function(e,t,n){(function(t){"use strict";var r=n(2),o=function(e){var n,o={};"production"!==t.env.NODE_ENV?r(e instanceof Object&&!Array.isArray(e),"keyMirror(...): Argument must be an object."):r(e instanceof Object&&!Array.isArray(e));for(n in e)e.hasOwnProperty(n)&&(o[n]=n);return o};e.exports=o}).call(t,n(1))},function(e,t,n){"use strict";function r(e,t,n,r,o){var a=e.value.split(/\r\n|\n|\r/);r&&u.append(r,n);var i=0;a.forEach(function(e,t){e.match(/[^ \t]/)&&(i=t)}),a.forEach(function(e,r){var s=0===r,c=r===a.length-1,l=r===i,p=e.replace(/\t/g," ");s||(p=p.replace(/^[ ]+/,"")),c||(p=p.replace(/[ ]+$/,"")),s||u.append(e.match(/^[ \t]*/)[0],n),(p||l)&&(u.append(JSON.stringify(p)+(l?"":" + ' ' +"),n),l&&(o&&u.append(o,n),t||u.append(", ",n)),p&&!c&&u.append(e.match(/[ \t]*$/)[0],n)),c||u.append("\n",n)}),u.move(e.range[1],n)}function o(e,t,n,r,o){return u.move(t.range[0]+1,o),e(t.expression,r,o),n||t.expression.type===s.XJSEmptyExpression||(u.catchup(t.expression.range[1],o,i),u.append(", ",o)),u.catchup(t.range[1]-1,o,i),u.move(t.range[1],o),!1}function a(e){return/^[a-z_$][a-z\d_$]*$/i.test(e)?e:'"'+e+'"'}function i(e){return e.replace(/^[ ]+/,"")}var s=n(33).Syntax,u=n(7),c={a:!0,abbr:!0,address:!0,applet:!0,area:!0,article:!0,aside:!0,audio:!0,b:!0,base:!0,bdi:!0,bdo:!0,big:!0,blockquote:!0,body:!0,br:!0,button:!0,canvas:!0,caption:!0,circle:!0,cite:!0,code:!0,col:!0,colgroup:!0,command:!0,data:!0,datalist:!0,dd:!0,defs:!0,del:!0,details:!0,dfn:!0,dialog:!0,div:!0,dl:!0,dt:!0,ellipse:!0,em:!0,embed:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,g:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,head:!0,header:!0,hgroup:!0,hr:!0,html:!0,i:!0,iframe:!0,img:!0,input:!0,ins:!0,kbd:!0,keygen:!0,label:!0,legend:!0,li:!0,line:!0,linearGradient:!0,link:!0,main:!0,map:!0,mark:!0,marquee:!0,mask:!1,menu:!0,menuitem:!0,meta:!0,meter:!0,nav:!0,noscript:!0,object:!0,ol:!0,optgroup:!0,option:!0,output:!0,p:!0,param:!0,path:!0,pattern:!1,picture:!0,polygon:!0,polyline:!0,pre:!0,progress:!0,q:!0,radialGradient:!0,rect:!0,rp:!0,rt:!0,ruby:!0,s:!0,samp:!0,script:!0,section:!0,select:!0,small:!0,source:!0,span:!0,stop:!0,strong:!0,style:!0,sub:!0,summary:!0,sup:!0,svg:!0,table:!0,tbody:!0,td:!0,text:!0,textarea:!0,tfoot:!0,th:!0,thead:!0,time:!0,title:!0,tr:!0,track:!0,tspan:!0,u:!0,ul:!0,"var":!0,video:!0,wbr:!0};t.knownTags=c,t.renderXJSExpressionContainer=o,t.renderXJSLiteral=r,t.quoteAttrName=a,t.trimLeft=i},function(e,t,n){(function(t){"use strict";function r(){var e=!d||!d.traverseTwoPhase||!d.traverseEnterLeave;if(e)throw new Error("InstanceHandle not injected before use!")}var o=n(64),a=n(43),i=n(48),s=n(51),u=n(2),c={},l=null,p=function(e){if(e){var t=a.executeDispatch,n=o.getPluginModuleForEvent(e);n&&n.executeDispatch&&(t=n.executeDispatch),a.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e)}},d=null,f={injection:{injectMount:a.injection.injectMount,injectInstanceHandle:function(e){d=e,"production"!==t.env.NODE_ENV&&r()},getInstanceHandle:function(){return"production"!==t.env.NODE_ENV&&r(),d},injectEventPluginOrder:o.injectEventPluginOrder,injectEventPluginsByName:o.injectEventPluginsByName},eventNameDispatchConfigs:o.eventNameDispatchConfigs,registrationNameModules:o.registrationNameModules,putListener:function(e,n,r){"production"!==t.env.NODE_ENV?u(!r||"function"==typeof r,"Expected %s listener to be a function, instead got type %s",n,typeof r):u(!r||"function"==typeof r);var o=c[n]||(c[n]={});o[e]=r},getListener:function(e,t){var n=c[t];return n&&n[e]},deleteListener:function(e,t){var n=c[t];n&&delete n[e]},deleteAllListeners:function(e){for(var t in c)delete c[t][e]},extractEvents:function(e,t,n,r){for(var a,s=o.plugins,u=0,c=s.length;c>u;u++){var l=s[u];if(l){var p=l.extractEvents(e,t,n,r);p&&(a=i(a,p))}}return a},enqueueEvents:function(e){e&&(l=i(l,e))},processEventQueue:function(){var e=l;l=null,s(e,p),"production"!==t.env.NODE_ENV?u(!l,"processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented."):u(!l)},__purge:function(){c={}},__getListenerBank:function(){return c}};e.exports=f}).call(t,n(1))},function(e,t,n){(function(t){"use strict";function r(){if(h._isLegacyCallWarningEnabled){var e=s.current,n=e&&e.constructor?e.constructor.displayName:"";n||(n="Something"),p.hasOwnProperty(n)||(p[n]=!0,"production"!==t.env.NODE_ENV?l(!1,n+" is calling a React component directly. Use a factory or JSX instead. See: http://fb.me/react-legacyfactory"):null,c("react_legacy_factory_call",{version:3,name:n}))}}function o(e){var n=e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent;if(n)"production"!==t.env.NODE_ENV?l(!1,"Did not expect to get a React class here. Use `Component` instead of `Component.type` or `this.constructor`."):null;else{if(!e._reactWarnedForThisType){try{e._reactWarnedForThisType=!0}catch(r){}c("react_non_component_in_jsx",{version:3,name:e.name})}"production"!==t.env.NODE_ENV?l(!1,"This JSX uses a plain function. Only React components are valid in React's JSX transform."):null}}function a(e){"production"!==t.env.NODE_ENV?l(!1,"Do not pass React.DOM."+e.type+' to JSX or createFactory. Use the string "'+e.type+'" instead.'):null}function i(e,t){if("function"==typeof t)for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];if("function"==typeof r){var o=r.bind(t);for(var a in r)r.hasOwnProperty(a)&&(o[a]=r[a]);e[n]=o}else e[n]=r}}var s=n(20),u=n(2),c=n(39),l=n(6),p={},d={},f={},h={};h.wrapCreateFactory=function(e){var n=function(n){return"function"!=typeof n?e(n):n.isReactNonLegacyFactory?("production"!==t.env.NODE_ENV&&a(n),e(n.type)):n.isReactLegacyFactory?e(n.type):("production"!==t.env.NODE_ENV&&o(n),n)};return n},h.wrapCreateElement=function(e){var n=function(n){if("function"!=typeof n)return e.apply(this,arguments);var r;return n.isReactNonLegacyFactory?("production"!==t.env.NODE_ENV&&a(n),r=Array.prototype.slice.call(arguments,0),r[0]=n.type,e.apply(this,r)):n.isReactLegacyFactory?(n._isMockFunction&&(n.type._mockedReactClassConstructor=n),r=Array.prototype.slice.call(arguments,0),r[0]=n.type,e.apply(this,r)):("production"!==t.env.NODE_ENV&&o(n),n.apply(null,Array.prototype.slice.call(arguments,1)))};return n},h.wrapFactory=function(e){"production"!==t.env.NODE_ENV?u("function"==typeof e,"This is suppose to accept a element factory"):u("function"==typeof e);var n=function(){return"production"!==t.env.NODE_ENV&&r(),e.apply(this,arguments)};return i(n,e.type),n.isReactLegacyFactory=d,n.type=e.type,n},h.markNonLegacyFactory=function(e){return e.isReactNonLegacyFactory=f,e},h.isValidFactory=function(e){return"function"==typeof e&&e.isReactLegacyFactory===d},h.isValidClass=function(e){return"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?l(!1,"isValidClass is deprecated and will be removed in a future release. Use a more specific validator instead."):null),h.isValidFactory(e)},h._isLegacyCallWarningEnabled=!0,e.exports=h}).call(t,n(1))},function(e,t,n){"use strict";function r(e,t,n){o.call(this,e,t,n)}var o=n(21),a=n(54),i={view:function(e){if(e.view)return e.view;var t=a(e);if(null!=t&&t.window===t)return t;var n=t.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||0}};o.augmentClass(r,i),e.exports=r},function(e,t,n){var r;r=function(e,t){function n(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')}function r(e){var t=e.match(d);return t?{scheme:t[1],auth:t[3],host:t[4],port:t[6],path:t[7]}:null}function o(e){var t=e.scheme+"://";return e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function a(e,t){var n;return t.match(d)||t.match(f)?t:"/"===t.charAt(0)&&(n=r(e))?(n.path=t,o(n)):e.replace(/\/$/,"")+"/"+t}function i(e){return"$"+e}function s(e){return e.substr(1)}function u(e,t){e=e.replace(/\/$/,"");var n=r(e);return"/"==t.charAt(0)&&n&&"/"==n.path?t.slice(1):0===t.indexOf(e+"/")?t.substr(e.length+1):t}function c(e,t){var n=e||"",r=t||"";return(n>r)-(r>n)}function l(e,t,n){var r;return(r=c(e.source,t.source))?r:(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,r||n?r:(r=c(e.name,t.name))?r:(r=e.generatedLine-t.generatedLine,r?r:e.generatedColumn-t.generatedColumn))}function p(e,t,n){var r;return(r=e.generatedLine-t.generatedLine)?r:(r=e.generatedColumn-t.generatedColumn,r||n?r:(r=c(e.source,t.source))?r:(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,r?r:c(e.name,t.name)))}t.getArg=n;var d=/([\w+\-.]+):\/\/((\w+:\w+)@)?([\w.]+)?(:(\d+))?(\S+)?/,f=/^data:.+\,.+/;t.urlParse=r,t.urlGenerate=o,t.join=a,t.toSetString=i,t.fromSetString=s,t.relative=u,t.compareByOriginalPositions=l,t.compareByGeneratedPositions=p}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){"use strict";function r(e,t){if(e.type===g.Program)return!0;var n=t.type===g.FunctionDeclaration||t.type===g.FunctionExpression||t.type===g.ArrowFunctionExpression;return e.type===g.BlockStatement&&n}function o(e,t){return e.type===g.Program?!1:e.type===g.BlockStatement&&t.type===g.CatchClause}function a(e,t,n){function u(e,t,n){e.range&&f.catchup(e.range[0],n),a(e,t,n),e.range&&f.catchup(e.range[1],n)}var c=t[0];if(!Array.isArray(e)&&n.localScope.parentNode!==c){if(r(e,c)){var p=n.scopeIsStrict||e.body.length>0&&e.body[0].type===g.ExpressionStatement&&e.body[0].expression.type===g.Literal&&"use strict"===e.body[0].expression.value;if(e.type===g.Program)n=f.updateState(n,{scopeIsStrict:p});else{if(n=f.updateState(n,{localScope:{parentNode:c,parentScope:n.localScope,identifiers:{},tempVarIndex:0},scopeIsStrict:p}),m("arguments",y(e),n),c.params.length>0)for(var d,h=0;hr;r++)e[r].call(n[r]);e.length=0,n.length=0}},reset:function(){this._callbacks=null,this._contexts=null},destructor:function(){this.reset()}}),o.addPoolingTo(r),e.exports=r}).call(t,n(1))},function(e,t,n){(function(t){"use strict";function r(e){return e===g.topMouseUp||e===g.topTouchEnd||e===g.topTouchCancel}function o(e){return e===g.topMouseMove||e===g.topTouchMove}function a(e){return e===g.topMouseDown||e===g.topTouchStart}function i(e,n){var r=e._dispatchListeners,o=e._dispatchIDs;if("production"!==t.env.NODE_ENV&&f(e),Array.isArray(r))for(var a=0;a.";var c=null;n._owner&&n._owner!==d.current&&(c=n._owner.constructor.displayName,t+=" It was passed a child from "+c+"."),t+=" See http://fb.me/react-warning-keys for more information.",f(e,{component:s,componentOwner:c}),console.warn(t)}}function s(){var e=r()||"";y.hasOwnProperty(e)||(y[e]=!0,f("react_object_map_children"))}function u(e,t){if(Array.isArray(e))for(var n=0;n":">","<":"<",'"':""","'":"'"},o=/[&><"']/g;e.exports=n},function(e){"use strict";var t=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)};e.exports=t},function(e){"use strict";function t(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}e.exports=t},function(e){"use strict";function t(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var o=r[e];return o?!!n[o]:!1}function n(){return t}var r={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=n},function(e){"use strict";function t(e){var t=e.target||e.srcElement||window;return 3===t.nodeType?t.parentNode:t}e.exports=t},function(e,t,n){"use strict";function r(){return!a&&o.canUseDOM&&(a="textContent"in document.documentElement?"textContent":"innerText"),a}var o=n(5),a=null;e.exports=r},function(e,t,n){"use strict";/** * Checks if an event is supported in the current execution environment. * @@ -16,14 +16,14 @@ var a=this._currentElement.ref;if(null!=a){var i=this._currentElement._owner;o.a * @internal * @license Modernizr 3.0.0pre (Custom Build) | MIT */ -function r(e,t){if(!a.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var i=document.createElement("div");i.setAttribute(n,"return;"),r="function"==typeof i[n]}return!r&&o&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,a=n(5);a.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e){"use strict";function t(e,t){return e&&t&&e.type===t.type&&e.key===t.key&&e._owner===t._owner?!0:!1}e.exports=t},function(e,t,n){var r;r=function(e,t){function r(){this._array=[],this._set={}}var o=n(32);r.fromArray=function(e,t){for(var n=new r,o=0,a=e.length;a>o;o++)n.add(e[o],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[o.toSetString(e)]=r)},r.prototype.has=function(e){return Object.prototype.hasOwnProperty.call(this._set,o.toSetString(e))},r.prototype.indexOf=function(e){if(this.has(e))return this._set[o.toSetString(e)];throw new Error('"'+e+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&ee?(-e<<1)+1:(e<<1)+0}function o(e){var t=1===(1&e),n=e>>1;return t?-n:n}var a=n(96),i=5,s=1<>>=i,o>0&&(t|=c),n+=a.encode(t);while(o>0);return n},t.decode=function(e){var t,n,r=0,s=e.length,l=0,p=0;do{if(r>=s)throw new Error("Expected more digits in base 64 VLQ value.");n=a.decode(e.charAt(r++)),t=!!(n&c),n&=u,l+=n<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,orginal:t,name:r}))},r.prototype._serializeMappings=function(){var e,t=0,n=1,r=0,i=0,s=0,u=0,c="";this._mappings.sort(a.compareByGeneratedPositions);for(var l=0,p=this._mappings.length;p>l;l++){if(e=this._mappings[l],e.generatedLine!==n)for(t=0;e.generatedLine!==n;)c+=";",n++;else if(l>0){if(!a.compareByGeneratedPositions(e,this._mappings[l-1]))continue;c+=","}c+=o.encode(e.generatedColumn-t),t=e.generatedColumn,e.source&&(c+=o.encode(this._sources.indexOf(e.source)-u),u=this._sources.indexOf(e.source),c+=o.encode(e.originalLine-1-i),i=e.originalLine-1,c+=o.encode(e.originalColumn-r),r=e.originalColumn,e.name&&(c+=o.encode(this._names.indexOf(e.name)-s),s=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=a.relative(t,e));var n=a.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}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){function r(e,t,n,r){return y.append(y.getTempVar(r.localScope.tempVarIndex)+"=",r),y.catchupWhiteSpace(t.init.range[0],r),e(t.init,n,r),y.catchup(t.init.range[1],r),y.append(","+a(t.id,r),r),r.localScope.tempVarIndex++,!1}function o(e){return e.type===m.ObjectPattern||e.type===m.ArrayPattern}function a(e,t){for(var n=t.localScope.tempVarIndex,r=[],o=i(e),c=0;c-1&&f(r);var o=e[r];null!=o&&(n+=l(r)+":",n+=i(r,o)+";")}return n||null},setValueForStyles:function(e,n){var o=e.style;for(var a in n)if(n.hasOwnProperty(a)){"production"!==t.env.NODE_ENV&&a.indexOf("-")>-1&&f(a);var s=i(a,n[a]);if("float"===a&&(a=p),s)o[a]=s;else{var u=r.shorthandPropertyExpansions[a];if(u)for(var c in u)o[c]="";else o[a]=""}}}};e.exports=h}).call(t,n(1))},function(e,t,n){(function(t){"use strict";function r(){if(s)for(var e in u){var n=u[e],r=s.indexOf(e);if("production"!==t.env.NODE_ENV?i(r>-1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e):i(r>-1),!c.plugins[r]){"production"!==t.env.NODE_ENV?i(n.extractEvents,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e):i(n.extractEvents),c.plugins[r]=n;var a=n.eventTypes;for(var l in a)"production"!==t.env.NODE_ENV?i(o(a[l],n,l),"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",l,e):i(o(a[l],n,l))}}}function o(e,n,r){"production"!==t.env.NODE_ENV?i(!c.eventNameDispatchConfigs.hasOwnProperty(r),"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",r):i(!c.eventNameDispatchConfigs.hasOwnProperty(r)),c.eventNameDispatchConfigs[r]=e;var o=e.phasedRegistrationNames;if(o){for(var s in o)if(o.hasOwnProperty(s)){var u=o[s];a(u,n,r)}return!0}return e.registrationName?(a(e.registrationName,n,r),!0):!1}function a(e,n,r){"production"!==t.env.NODE_ENV?i(!c.registrationNameModules[e],"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e):i(!c.registrationNameModules[e]),c.registrationNameModules[e]=n,c.registrationNameDependencies[e]=n.eventTypes[r].dependencies}var i=n(2),s=null,u={},c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){"production"!==t.env.NODE_ENV?i(!s,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."):i(!s),s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var n=!1;for(var o in e)if(e.hasOwnProperty(o)){var a=e[o];u.hasOwnProperty(o)&&u[o]===a||("production"!==t.env.NODE_ENV?i(!u[o],"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",o):i(!u[o]),u[o]=a,n=!0)}n&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return c.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=c.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){s=null;for(var e in u)u.hasOwnProperty(e)&&delete u[e];c.plugins.length=0;var t=c.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=c.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};e.exports=c}).call(t,n(1))},function(e,t,n){(function(t){"use strict";function r(e){e.remove()}var o=n(24),a=n(48),i=n(51),s=n(2),u={trapBubbledEvent:function(e,n){"production"!==t.env.NODE_ENV?s(this.isMounted(),"Must be mounted to trap events"):s(this.isMounted());var r=o.trapBubbledEvent(e,n,this.getDOMNode());this._localEventListeners=a(this._localEventListeners,r)},componentWillUnmount:function(){this._localEventListeners&&i(this._localEventListeners,r)}};e.exports=u}).call(t,n(1))},function(e,t,n){(function(t){"use strict";function r(e){e&&("production"!==t.env.NODE_ENV?v(null==e.children||null==e.dangerouslySetInnerHTML,"Can only set one of `children` or `props.dangerouslySetInnerHTML`."):v(null==e.children||null==e.dangerouslySetInnerHTML),"production"!==t.env.NODE_ENV&&e.contentEditable&&null!=e.children&&console.warn("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),"production"!==t.env.NODE_ENV?v(null==e.style||"object"==typeof e.style,"The `style` prop expects a mapping from style properties to values, not a string."):v(null==e.style||"object"==typeof e.style))}function o(e,n,r,o){"production"!==t.env.NODE_ENV&&("onScroll"!==n||E("scroll",!0)||(C("react_no_scroll_event"),console.warn("This browser doesn't support the `onScroll` event")));var a=f.findReactContainerForID(e);if(a){var i=a.nodeType===T?a.ownerDocument:a;S(n,i)}o.getPutListenerQueue().enqueuePutListener(e,n,r)}function a(e){A.call(I,e)||("production"!==t.env.NODE_ENV?v(O.test(e),"Invalid tag: %s",e):v(O.test(e)),I[e]=!0)}function i(e){a(e),this._tag=e,this.tagName=e.toUpperCase()}var s=n(63),u=n(19),c=n(22),l=n(12),p=n(25),d=n(24),f=n(11),h=n(68),m=n(13),y=n(3),g=n(50),v=n(2),E=n(56),b=n(16),C=n(39),w=d.deleteListener,S=d.listenTo,N=d.registrationNameModules,x={string:!0,number:!0},_=b({style:null}),T=1,D={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},O=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,I={},A={}.hasOwnProperty;i.displayName="ReactDOMComponent",i.Mixin={mountComponent:m.measure("ReactDOMComponent","mountComponent",function(e,t,n){p.Mixin.mountComponent.call(this,e,t,n),r(this.props);var o=D[this._tag]?"":"";return this._createOpenTagMarkupAndPutListeners(t)+this._createContentMarkup(t)+o}),_createOpenTagMarkupAndPutListeners:function(e){var t=this.props,n="<"+this._tag;for(var r in t)if(t.hasOwnProperty(r)){var a=t[r];if(null!=a)if(N.hasOwnProperty(r))o(this._rootNodeID,r,a,e);else{r===_&&(a&&(a=t.style=y({},t.style)),a=s.createMarkupForStyles(a));var i=c.createMarkupForProperty(r,a);i&&(n+=" "+i)}}if(e.renderToStaticMarkup)return n+">";var u=c.createMarkupForID(this._rootNodeID);return n+" "+u+">"},_createContentMarkup:function(e){var t=this.props.dangerouslySetInnerHTML;if(null!=t){if(null!=t.__html)return t.__html}else{var n=x[typeof this.props.children]?this.props.children:null,r=null!=n?null:this.props.children;if(null!=n)return g(n);if(null!=r){var o=this.mountChildren(r,e);return o.join("")}}return""},receiveComponent:function(e,t){(e!==this._currentElement||null==e._owner)&&p.Mixin.receiveComponent.call(this,e,t)},updateComponent:m.measure("ReactDOMComponent","updateComponent",function(e,t){r(this._currentElement.props),p.Mixin.updateComponent.call(this,e,t),this._updateDOMProperties(t.props,e),this._updateDOMChildren(t.props,e)}),_updateDOMProperties:function(e,t){var n,r,a,i=this.props;for(n in e)if(!i.hasOwnProperty(n)&&e.hasOwnProperty(n))if(n===_){var s=e[n];for(r in s)s.hasOwnProperty(r)&&(a=a||{},a[r]="")}else N.hasOwnProperty(n)?w(this._rootNodeID,n):(u.isStandardName[n]||u.isCustomAttribute(n))&&p.BackendIDOperations.deletePropertyByID(this._rootNodeID,n);for(n in i){var c=i[n],l=e[n];if(i.hasOwnProperty(n)&&c!==l)if(n===_)if(c&&(c=i.style=y({},c)),l){for(r in l)!l.hasOwnProperty(r)||c&&c.hasOwnProperty(r)||(a=a||{},a[r]="");for(r in c)c.hasOwnProperty(r)&&l[r]!==c[r]&&(a=a||{},a[r]=c[r])}else a=c;else N.hasOwnProperty(n)?o(this._rootNodeID,n,c,t):(u.isStandardName[n]||u.isCustomAttribute(n))&&p.BackendIDOperations.updatePropertyByID(this._rootNodeID,n,c)}a&&p.BackendIDOperations.updateStylesByID(this._rootNodeID,a)},_updateDOMChildren:function(e,t){var n=this.props,r=x[typeof e.children]?e.children:null,o=x[typeof n.children]?n.children:null,a=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,i=n.dangerouslySetInnerHTML&&n.dangerouslySetInnerHTML.__html,s=null!=r?null:e.children,u=null!=o?null:n.children,c=null!=r||null!=a,l=null!=o||null!=i;null!=s&&null==u?this.updateChildren(null,t):c&&!l&&this.updateTextContent(""),null!=o?r!==o&&this.updateTextContent(""+o):null!=i?a!==i&&p.BackendIDOperations.updateInnerHTMLByID(this._rootNodeID,i):null!=u&&this.updateChildren(u,t)},unmountComponent:function(){this.unmountChildren(),d.deleteAllListeners(this._rootNodeID),p.Mixin.unmountComponent.call(this)}},y(i.prototype,p.Mixin,i.Mixin,h.Mixin,l),e.exports=i}).call(t,n(1))},function(e,t,n){"use strict";var r=n(159),o={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return e.replace(">"," "+o.CHECKSUM_ATTR_NAME+'="'+t+'">')},canReuseMarkup:function(e,t){var n=t.getAttribute(o.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var a=r(e);return a===n}};e.exports=o},function(e,t,n){"use strict";function r(e,t,n){m.push({parentID:e,parentNode:null,type:l.INSERT_MARKUP,markupIndex:y.push(t)-1,textContent:null,fromIndex:null,toIndex:n})}function o(e,t,n){m.push({parentID:e,parentNode:null,type:l.MOVE_EXISTING,markupIndex:null,textContent:null,fromIndex:t,toIndex:n})}function a(e,t){m.push({parentID:e,parentNode:null,type:l.REMOVE_NODE,markupIndex:null,textContent:null,fromIndex:t,toIndex:null})}function i(e,t){m.push({parentID:e,parentNode:null,type:l.TEXT_CONTENT,markupIndex:null,textContent:t,fromIndex:null,toIndex:null})}function s(){m.length&&(c.BackendIDOperations.dangerouslyProcessChildrenUpdates(m,y),u())}function u(){m.length=0,y.length=0}var c=n(25),l=n(69),p=n(167),d=n(38),f=n(57),h=0,m=[],y=[],g={Mixin:{mountChildren:function(e,t){var n=p(e),r=[],o=0;this._renderedChildren=n;for(var a in n){var i=n[a];if(n.hasOwnProperty(a)){var s=d(i,null);n[a]=s;var u=this._rootNodeID+a,c=s.mountComponent(u,t,this._mountDepth+1);s._mountIndex=o,r.push(c),o++}}return r},updateTextContent:function(e){h++;var t=!0;try{var n=this._renderedChildren;for(var r in n)n.hasOwnProperty(r)&&this._unmountChildByName(n[r],r);this.setTextContent(e),t=!1}finally{h--,h||(t?u():s())}},updateChildren:function(e,t){h++;var n=!0;try{this._updateChildren(e,t),n=!1}finally{h--,h||(n?u():s())}},_updateChildren:function(e,t){var n=p(e),r=this._renderedChildren;if(n||r){var o,a=0,i=0;for(o in n)if(n.hasOwnProperty(o)){var s=r&&r[o],u=s&&s._currentElement,c=n[o];if(f(u,c))this.moveChild(s,i,a),a=Math.max(s._mountIndex,a),s.receiveComponent(c,t),s._mountIndex=i;else{s&&(a=Math.max(s._mountIndex,a),this._unmountChildByName(s,o));var l=d(c,null);this._mountChildByNameAtIndex(l,o,i,t)}i++}for(o in r)!r.hasOwnProperty(o)||n&&n[o]||this._unmountChildByName(r[o],o)}},unmountChildren:function(){var e=this._renderedChildren;for(var t in e){var n=e[t];n.unmountComponent&&n.unmountComponent()}this._renderedChildren=null},moveChild:function(e,t,n){e._mountIndex>",w=s(),S=d(),N={array:o("array"),bool:o("boolean"),func:o("function"),number:o("number"),object:o("object"),string:o("string"),any:a(),arrayOf:i,element:w,instanceOf:u,node:S,objectOf:l,oneOf:c,oneOfType:p,shape:f,component:E("React.PropTypes","component","element",this,w),renderable:E("React.PropTypes","renderable","node",this,S)};e.exports=N},function(e,t,n){"use strict";function r(){this.listenersToPut=[]}var o=n(17),a=n(24),i=n(3);i(r.prototype,{enqueuePutListener:function(e,t,n){this.listenersToPut.push({rootNodeID:e,propKey:t,propValue:n})},putListeners:function(){for(var e=0;e"+a+""},receiveComponent:function(e){var t=e.props;t!==this.props&&(this.props=t,o.BackendIDOperations.updateTextContentByID(this._rootNodeID,t))}});var c=function(e){return new a(u,null,null,null,null,e)};c.type=u,e.exports=c},function(e,t,n){"use strict";var r=n(84),o={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(){var e=r(window);o.currentScrollLeft=e.x,o.currentScrollTop=e.y}};e.exports=o},function(e,t,n){function r(e,t){return e&&t?e===t?!0:o(e)?!1:o(t)?r(e,t.parentNode):e.contains?e.contains(t):e.compareDocumentPosition?!!(16&e.compareDocumentPosition(t)):!1:!1}var o=n(173);e.exports=r},function(e){"use strict";function t(e){try{e.focus()}catch(t){}}e.exports=t},function(e){function t(){try{return document.activeElement||document.body}catch(e){return document.body}}e.exports=t},function(e,t,n){(function(t){function r(e){return"production"!==t.env.NODE_ENV?a(!!i,"Markup wrapping node not initialized"):a(!!i),d.hasOwnProperty(e)||(e="*"),s.hasOwnProperty(e)||(i.innerHTML="*"===e?"":"<"+e+">",s[e]=!i.firstChild),s[e]?d[e]:null}var o=n(5),a=n(2),i=o.canUseDOM?document.createElement("div"):null,s={circle:!0,defs:!0,ellipse:!0,g:!0,line:!0,linearGradient:!0,path:!0,polygon:!0,polyline:!0,radialGradient:!0,rect:!0,stop:!0,text:!0},u=[1,'"],c=[1,"","
"],l=[3,"","
"],p=[1,"",""],d={"*":[1,"?

"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:u,option:u,caption:c,colgroup:c,tbody:c,tfoot:c,thead:c,td:l,th:l,circle:p,defs:p,ellipse:p,g:p,line:p,linearGradient:p,path:p,polygon:p,polyline:p,radialGradient:p,rect:p,stop:p,text:p};e.exports=r}).call(t,n(1))},function(e){"use strict";function t(e){return e?e.nodeType===n?e.documentElement:e.firstChild:null}var n=9;e.exports=t},function(e){"use strict";function t(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=t},function(e){"use strict";function t(e){return e&&("INPUT"===e.nodeName&&n[e.type]||"TEXTAREA"===e.nodeName)}var n={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};e.exports=t},function(e){"use strict";function t(e,t,r){if(!e)return null;var o={};for(var a in e)n.call(e,a)&&(o[a]=t.call(r,e[a],a,e));return o}var n=Object.prototype.hasOwnProperty;e.exports=t},function(e){"use strict";function t(e){var t={};return function(n){return t.hasOwnProperty(n)?t[n]:t[n]=e.call(this,n)}}e.exports=t},function(e,t,n){"use strict";var r=n(5),o=/^[ \r\n\t\f]/,a=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,i=function(e,t){e.innerHTML=t};if(r.canUseDOM){var s=document.createElement("div");s.innerHTML=" ",""===s.innerHTML&&(i=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),o.test(t)||"<"===t[0]&&a.test(t)){e.innerHTML=""+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t})}e.exports=i},function(e,t,n){(function(t){"use strict";function r(e){return f[e]}function o(e,t){return e&&null!=e.key?i(e.key):t.toString(36)}function a(e){return(""+e).replace(h,r)}function i(e){return"$"+a(e)}function s(e,t,n){return null==e?0:m(e,"",0,t,n)}var u=n(4),c=n(26),l=n(2),p=c.SEPARATOR,d=":",f={"=":"=0",".":"=1",":":"=2"},h=/[=.:]/g,m=function(e,n,r,a,s){var c,f,h=0;if(Array.isArray(e))for(var y=0;y0?t>>>0:0;else if("string"===a)"base64"===n&&(t=w(t)),o=e.byteLength(t,n);else{if("object"!==a||null===t)throw new TypeError("must start with number, buffer, array or string");"Buffer"===t.type&&P(t.data)&&(t=t.data),o=+t.length>0?Math.floor(+t.length):0}if(this.length>R)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+R.toString(16)+" bytes");var i;e.TYPED_ARRAY_SUPPORT?i=e._augment(new Uint8Array(o)):(i=this,i.length=o,i._isBuffer=!0); -var s;if(e.TYPED_ARRAY_SUPPORT&&"number"==typeof t.byteLength)i._set(t);else if(N(t))if(e.isBuffer(t))for(s=0;o>s;s++)i[s]=t.readUInt8(s);else for(s=0;o>s;s++)i[s]=(t[s]%256+256)%256;else if("string"===a)i.write(t,0,n);else if("number"===a&&!e.TYPED_ARRAY_SUPPORT&&!r)for(s=0;o>s;s++)i[s]=0;return i}function r(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r),r>o&&(r=o)):r=o;var a=t.length;if(a%2!==0)throw new Error("Invalid hex string");r>a/2&&(r=a/2);for(var i=0;r>i;i++){var s=parseInt(t.substr(2*i,2),16);if(isNaN(s))throw new Error("Invalid hex string");e[n+i]=s}return i}function o(e,t,n,r){var o=I(_(t),e,n,r);return o}function a(e,t,n,r){var o=I(T(t),e,n,r);return o}function i(e,t,n,r){return a(e,t,n,r)}function s(e,t,n,r){var o=I(O(t),e,n,r);return o}function u(e,t,n,r){var o=I(D(t),e,n,r,2);return o}function c(e,t,n){return M.fromByteArray(0===t&&n===e.length?e:e.slice(t,n))}function l(e,t,n){var r="",o="";n=Math.min(e.length,n);for(var a=t;n>a;a++)e[a]<=127?(r+=A(o)+String.fromCharCode(e[a]),o=""):o+="%"+e[a].toString(16);return r+A(o)}function p(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;n>o;o++)r+=String.fromCharCode(e[o]);return r}function d(e,t,n){return p(e,t,n)}function f(e,t,n){var r=e.length;(!t||0>t)&&(t=0),(!n||0>n||n>r)&&(n=r);for(var o="",a=t;n>a;a++)o+=x(e[a]);return o}function h(e,t,n){for(var r=e.slice(t,n),o="",a=0;ae)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function y(t,n,r,o,a,i){if(!e.isBuffer(t))throw new TypeError("buffer must be a Buffer instance");if(n>a||i>n)throw new TypeError("value is out of bounds");if(r+o>t.length)throw new TypeError("index out of range")}function g(e,t,n,r){0>t&&(t=65535+t+1);for(var o=0,a=Math.min(e.length-n,2);a>o;o++)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function v(e,t,n,r){0>t&&(t=4294967295+t+1);for(var o=0,a=Math.min(e.length-n,4);a>o;o++)e[n+o]=t>>>8*(r?o:3-o)&255}function E(e,t,n,r,o,a){if(t>o||a>t)throw new TypeError("value is out of bounds");if(n+r>e.length)throw new TypeError("index out of range")}function b(e,t,n,r,o){return o||E(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),k.write(e,t,n,r,23,4),n+4}function C(e,t,n,r,o){return o||E(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),k.write(e,t,n,r,52,8),n+8}function w(e){for(e=S(e).replace(V,"");e.length%4!==0;)e+="=";return e}function S(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function N(t){return P(t)||e.isBuffer(t)||t&&"object"==typeof t&&"number"==typeof t.length}function x(e){return 16>e?"0"+e.toString(16):e.toString(16)}function _(e){for(var t=[],n=0;n=r)t.push(r);else{var o=n;r>=55296&&57343>=r&&n++;for(var a=encodeURIComponent(e.slice(o,n+1)).substr(1).split("%"),i=0;i>8,r=t%256,o.push(r),o.push(n);return o}function O(e){return M.toByteArray(e)}function I(e,t,n,r,o){o&&(r-=r%o);for(var a=0;r>a&&!(a+n>=t.length||a>=e.length);a++)t[a+n]=e[a];return a}function A(e){try{return decodeURIComponent(e)}catch(t){return String.fromCharCode(65533)}}/*! +function r(e,t){if(!a.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var i=document.createElement("div");i.setAttribute(n,"return;"),r="function"==typeof i[n]}return!r&&o&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,a=n(5);a.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e){"use strict";function t(e,t){return e&&t&&e.type===t.type&&e.key===t.key&&e._owner===t._owner?!0:!1}e.exports=t},function(e,t,n){var r;r=function(e,t){function r(){this._array=[],this._set={}}var o=n(32);r.fromArray=function(e,t){for(var n=new r,o=0,a=e.length;a>o;o++)n.add(e[o],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[o.toSetString(e)]=r)},r.prototype.has=function(e){return Object.prototype.hasOwnProperty.call(this._set,o.toSetString(e))},r.prototype.indexOf=function(e){if(this.has(e))return this._set[o.toSetString(e)];throw new Error('"'+e+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&ee?(-e<<1)+1:(e<<1)+0}function o(e){var t=1===(1&e),n=e>>1;return t?-n:n}var a=n(96),i=5,s=1<>>=i,o>0&&(t|=c),n+=a.encode(t);while(o>0);return n},t.decode=function(e){var t,n,r=0,s=e.length,l=0,p=0;do{if(r>=s)throw new Error("Expected more digits in base 64 VLQ value.");n=a.decode(e.charAt(r++)),t=!!(n&c),n&=u,l+=n<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,orginal:t,name:r}))},r.prototype._serializeMappings=function(){var e,t=0,n=1,r=0,i=0,s=0,u=0,c="";this._mappings.sort(a.compareByGeneratedPositions);for(var l=0,p=this._mappings.length;p>l;l++){if(e=this._mappings[l],e.generatedLine!==n)for(t=0;e.generatedLine!==n;)c+=";",n++;else if(l>0){if(!a.compareByGeneratedPositions(e,this._mappings[l-1]))continue;c+=","}c+=o.encode(e.generatedColumn-t),t=e.generatedColumn,e.source&&(c+=o.encode(this._sources.indexOf(e.source)-u),u=this._sources.indexOf(e.source),c+=o.encode(e.originalLine-1-i),i=e.originalLine-1,c+=o.encode(e.originalColumn-r),r=e.originalColumn,e.name&&(c+=o.encode(this._names.indexOf(e.name)-s),s=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=a.relative(t,e));var n=a.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}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){function r(e,t,n,r){return y.append(y.getTempVar(r.localScope.tempVarIndex)+"=",r),y.catchupWhiteSpace(t.init.range[0],r),e(t.init,n,r),y.catchup(t.init.range[1],r),y.append(","+a(t.id,r),r),r.localScope.tempVarIndex++,!1}function o(e){return e.type===m.ObjectPattern||e.type===m.ArrayPattern}function a(e,t){for(var n=t.localScope.tempVarIndex,r=[],o=i(e),c=0;c-1&&f(r);var o=e[r];null!=o&&(n+=l(r)+":",n+=i(r,o)+";")}return n||null},setValueForStyles:function(e,n){var o=e.style;for(var a in n)if(n.hasOwnProperty(a)){"production"!==t.env.NODE_ENV&&a.indexOf("-")>-1&&f(a);var s=i(a,n[a]);if("float"===a&&(a=p),s)o[a]=s;else{var u=r.shorthandPropertyExpansions[a];if(u)for(var c in u)o[c]="";else o[a]=""}}}};e.exports=h}).call(t,n(1))},function(e,t,n){(function(t){"use strict";function r(){if(s)for(var e in u){var n=u[e],r=s.indexOf(e);if("production"!==t.env.NODE_ENV?i(r>-1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e):i(r>-1),!c.plugins[r]){"production"!==t.env.NODE_ENV?i(n.extractEvents,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e):i(n.extractEvents),c.plugins[r]=n;var a=n.eventTypes;for(var l in a)"production"!==t.env.NODE_ENV?i(o(a[l],n,l),"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",l,e):i(o(a[l],n,l))}}}function o(e,n,r){"production"!==t.env.NODE_ENV?i(!c.eventNameDispatchConfigs.hasOwnProperty(r),"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",r):i(!c.eventNameDispatchConfigs.hasOwnProperty(r)),c.eventNameDispatchConfigs[r]=e;var o=e.phasedRegistrationNames;if(o){for(var s in o)if(o.hasOwnProperty(s)){var u=o[s];a(u,n,r)}return!0}return e.registrationName?(a(e.registrationName,n,r),!0):!1}function a(e,n,r){"production"!==t.env.NODE_ENV?i(!c.registrationNameModules[e],"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e):i(!c.registrationNameModules[e]),c.registrationNameModules[e]=n,c.registrationNameDependencies[e]=n.eventTypes[r].dependencies}var i=n(2),s=null,u={},c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){"production"!==t.env.NODE_ENV?i(!s,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."):i(!s),s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var n=!1;for(var o in e)if(e.hasOwnProperty(o)){var a=e[o];u.hasOwnProperty(o)&&u[o]===a||("production"!==t.env.NODE_ENV?i(!u[o],"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",o):i(!u[o]),u[o]=a,n=!0)}n&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return c.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=c.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){s=null;for(var e in u)u.hasOwnProperty(e)&&delete u[e];c.plugins.length=0;var t=c.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=c.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};e.exports=c}).call(t,n(1))},function(e,t,n){(function(t){"use strict";function r(e){e.remove()}var o=n(24),a=n(48),i=n(51),s=n(2),u={trapBubbledEvent:function(e,n){"production"!==t.env.NODE_ENV?s(this.isMounted(),"Must be mounted to trap events"):s(this.isMounted());var r=o.trapBubbledEvent(e,n,this.getDOMNode());this._localEventListeners=a(this._localEventListeners,r)},componentWillUnmount:function(){this._localEventListeners&&i(this._localEventListeners,r)}};e.exports=u}).call(t,n(1))},function(e,t,n){(function(t){"use strict";function r(e){e&&("production"!==t.env.NODE_ENV?v(null==e.children||null==e.dangerouslySetInnerHTML,"Can only set one of `children` or `props.dangerouslySetInnerHTML`."):v(null==e.children||null==e.dangerouslySetInnerHTML),"production"!==t.env.NODE_ENV&&e.contentEditable&&null!=e.children&&console.warn("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),"production"!==t.env.NODE_ENV?v(null==e.style||"object"==typeof e.style,"The `style` prop expects a mapping from style properties to values, not a string."):v(null==e.style||"object"==typeof e.style))}function o(e,n,r,o){"production"!==t.env.NODE_ENV&&("onScroll"!==n||E("scroll",!0)||(C("react_no_scroll_event"),console.warn("This browser doesn't support the `onScroll` event")));var a=f.findReactContainerForID(e);if(a){var i=a.nodeType===T?a.ownerDocument:a;w(n,i)}o.getPutListenerQueue().enqueuePutListener(e,n,r)}function a(e){A.call(I,e)||("production"!==t.env.NODE_ENV?v(O.test(e),"Invalid tag: %s",e):v(O.test(e)),I[e]=!0)}function i(e){a(e),this._tag=e,this.tagName=e.toUpperCase()}var s=n(63),u=n(19),c=n(22),l=n(12),p=n(25),d=n(24),f=n(11),h=n(68),m=n(13),y=n(3),g=n(50),v=n(2),E=n(56),b=n(16),C=n(39),S=d.deleteListener,w=d.listenTo,N=d.registrationNameModules,x={string:!0,number:!0},_=b({style:null}),T=1,D={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},O=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,I={},A={}.hasOwnProperty;i.displayName="ReactDOMComponent",i.Mixin={mountComponent:m.measure("ReactDOMComponent","mountComponent",function(e,t,n){p.Mixin.mountComponent.call(this,e,t,n),r(this.props);var o=D[this._tag]?"":"";return this._createOpenTagMarkupAndPutListeners(t)+this._createContentMarkup(t)+o}),_createOpenTagMarkupAndPutListeners:function(e){var t=this.props,n="<"+this._tag;for(var r in t)if(t.hasOwnProperty(r)){var a=t[r];if(null!=a)if(N.hasOwnProperty(r))o(this._rootNodeID,r,a,e);else{r===_&&(a&&(a=t.style=y({},t.style)),a=s.createMarkupForStyles(a));var i=c.createMarkupForProperty(r,a);i&&(n+=" "+i)}}if(e.renderToStaticMarkup)return n+">";var u=c.createMarkupForID(this._rootNodeID);return n+" "+u+">"},_createContentMarkup:function(e){var t=this.props.dangerouslySetInnerHTML;if(null!=t){if(null!=t.__html)return t.__html}else{var n=x[typeof this.props.children]?this.props.children:null,r=null!=n?null:this.props.children;if(null!=n)return g(n);if(null!=r){var o=this.mountChildren(r,e);return o.join("")}}return""},receiveComponent:function(e,t){(e!==this._currentElement||null==e._owner)&&p.Mixin.receiveComponent.call(this,e,t)},updateComponent:m.measure("ReactDOMComponent","updateComponent",function(e,t){r(this._currentElement.props),p.Mixin.updateComponent.call(this,e,t),this._updateDOMProperties(t.props,e),this._updateDOMChildren(t.props,e)}),_updateDOMProperties:function(e,t){var n,r,a,i=this.props;for(n in e)if(!i.hasOwnProperty(n)&&e.hasOwnProperty(n))if(n===_){var s=e[n];for(r in s)s.hasOwnProperty(r)&&(a=a||{},a[r]="")}else N.hasOwnProperty(n)?S(this._rootNodeID,n):(u.isStandardName[n]||u.isCustomAttribute(n))&&p.BackendIDOperations.deletePropertyByID(this._rootNodeID,n);for(n in i){var c=i[n],l=e[n];if(i.hasOwnProperty(n)&&c!==l)if(n===_)if(c&&(c=i.style=y({},c)),l){for(r in l)!l.hasOwnProperty(r)||c&&c.hasOwnProperty(r)||(a=a||{},a[r]="");for(r in c)c.hasOwnProperty(r)&&l[r]!==c[r]&&(a=a||{},a[r]=c[r])}else a=c;else N.hasOwnProperty(n)?o(this._rootNodeID,n,c,t):(u.isStandardName[n]||u.isCustomAttribute(n))&&p.BackendIDOperations.updatePropertyByID(this._rootNodeID,n,c)}a&&p.BackendIDOperations.updateStylesByID(this._rootNodeID,a)},_updateDOMChildren:function(e,t){var n=this.props,r=x[typeof e.children]?e.children:null,o=x[typeof n.children]?n.children:null,a=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,i=n.dangerouslySetInnerHTML&&n.dangerouslySetInnerHTML.__html,s=null!=r?null:e.children,u=null!=o?null:n.children,c=null!=r||null!=a,l=null!=o||null!=i;null!=s&&null==u?this.updateChildren(null,t):c&&!l&&this.updateTextContent(""),null!=o?r!==o&&this.updateTextContent(""+o):null!=i?a!==i&&p.BackendIDOperations.updateInnerHTMLByID(this._rootNodeID,i):null!=u&&this.updateChildren(u,t)},unmountComponent:function(){this.unmountChildren(),d.deleteAllListeners(this._rootNodeID),p.Mixin.unmountComponent.call(this)}},y(i.prototype,p.Mixin,i.Mixin,h.Mixin,l),e.exports=i}).call(t,n(1))},function(e,t,n){"use strict";var r=n(159),o={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return e.replace(">"," "+o.CHECKSUM_ATTR_NAME+'="'+t+'">')},canReuseMarkup:function(e,t){var n=t.getAttribute(o.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var a=r(e);return a===n}};e.exports=o},function(e,t,n){"use strict";function r(e,t,n){m.push({parentID:e,parentNode:null,type:l.INSERT_MARKUP,markupIndex:y.push(t)-1,textContent:null,fromIndex:null,toIndex:n})}function o(e,t,n){m.push({parentID:e,parentNode:null,type:l.MOVE_EXISTING,markupIndex:null,textContent:null,fromIndex:t,toIndex:n})}function a(e,t){m.push({parentID:e,parentNode:null,type:l.REMOVE_NODE,markupIndex:null,textContent:null,fromIndex:t,toIndex:null})}function i(e,t){m.push({parentID:e,parentNode:null,type:l.TEXT_CONTENT,markupIndex:null,textContent:t,fromIndex:null,toIndex:null})}function s(){m.length&&(c.BackendIDOperations.dangerouslyProcessChildrenUpdates(m,y),u())}function u(){m.length=0,y.length=0}var c=n(25),l=n(69),p=n(167),d=n(38),f=n(57),h=0,m=[],y=[],g={Mixin:{mountChildren:function(e,t){var n=p(e),r=[],o=0;this._renderedChildren=n;for(var a in n){var i=n[a];if(n.hasOwnProperty(a)){var s=d(i,null);n[a]=s;var u=this._rootNodeID+a,c=s.mountComponent(u,t,this._mountDepth+1);s._mountIndex=o,r.push(c),o++}}return r},updateTextContent:function(e){h++;var t=!0;try{var n=this._renderedChildren;for(var r in n)n.hasOwnProperty(r)&&this._unmountChildByName(n[r],r);this.setTextContent(e),t=!1}finally{h--,h||(t?u():s())}},updateChildren:function(e,t){h++;var n=!0;try{this._updateChildren(e,t),n=!1}finally{h--,h||(n?u():s())}},_updateChildren:function(e,t){var n=p(e),r=this._renderedChildren;if(n||r){var o,a=0,i=0;for(o in n)if(n.hasOwnProperty(o)){var s=r&&r[o],u=s&&s._currentElement,c=n[o];if(f(u,c))this.moveChild(s,i,a),a=Math.max(s._mountIndex,a),s.receiveComponent(c,t),s._mountIndex=i;else{s&&(a=Math.max(s._mountIndex,a),this._unmountChildByName(s,o));var l=d(c,null);this._mountChildByNameAtIndex(l,o,i,t)}i++}for(o in r)!r.hasOwnProperty(o)||n&&n[o]||this._unmountChildByName(r[o],o)}},unmountChildren:function(){var e=this._renderedChildren;for(var t in e){var n=e[t];n.unmountComponent&&n.unmountComponent()}this._renderedChildren=null},moveChild:function(e,t,n){e._mountIndex>",S=s(),w=d(),N={array:o("array"),bool:o("boolean"),func:o("function"),number:o("number"),object:o("object"),string:o("string"),any:a(),arrayOf:i,element:S,instanceOf:u,node:w,objectOf:l,oneOf:c,oneOfType:p,shape:f,component:E("React.PropTypes","component","element",this,S),renderable:E("React.PropTypes","renderable","node",this,w)};e.exports=N},function(e,t,n){"use strict";function r(){this.listenersToPut=[]}var o=n(17),a=n(24),i=n(3);i(r.prototype,{enqueuePutListener:function(e,t,n){this.listenersToPut.push({rootNodeID:e,propKey:t,propValue:n})},putListeners:function(){for(var e=0;e"+a+""},receiveComponent:function(e){var t=e.props;t!==this.props&&(this.props=t,o.BackendIDOperations.updateTextContentByID(this._rootNodeID,t))}});var c=function(e){return new a(u,null,null,null,null,e)};c.type=u,e.exports=c},function(e,t,n){"use strict";var r=n(84),o={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(){var e=r(window);o.currentScrollLeft=e.x,o.currentScrollTop=e.y}};e.exports=o},function(e,t,n){function r(e,t){return e&&t?e===t?!0:o(e)?!1:o(t)?r(e,t.parentNode):e.contains?e.contains(t):e.compareDocumentPosition?!!(16&e.compareDocumentPosition(t)):!1:!1}var o=n(173);e.exports=r},function(e){"use strict";function t(e){try{e.focus()}catch(t){}}e.exports=t},function(e){function t(){try{return document.activeElement||document.body}catch(e){return document.body}}e.exports=t},function(e,t,n){(function(t){function r(e){return"production"!==t.env.NODE_ENV?a(!!i,"Markup wrapping node not initialized"):a(!!i),d.hasOwnProperty(e)||(e="*"),s.hasOwnProperty(e)||(i.innerHTML="*"===e?"":"<"+e+">",s[e]=!i.firstChild),s[e]?d[e]:null}var o=n(5),a=n(2),i=o.canUseDOM?document.createElement("div"):null,s={circle:!0,defs:!0,ellipse:!0,g:!0,line:!0,linearGradient:!0,path:!0,polygon:!0,polyline:!0,radialGradient:!0,rect:!0,stop:!0,text:!0},u=[1,'"],c=[1,"","
"],l=[3,"","
"],p=[1,"",""],d={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:u,option:u,caption:c,colgroup:c,tbody:c,tfoot:c,thead:c,td:l,th:l,circle:p,defs:p,ellipse:p,g:p,line:p,linearGradient:p,path:p,polygon:p,polyline:p,radialGradient:p,rect:p,stop:p,text:p};e.exports=r}).call(t,n(1))},function(e){"use strict";function t(e){return e?e.nodeType===n?e.documentElement:e.firstChild:null}var n=9;e.exports=t},function(e){"use strict";function t(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=t},function(e){"use strict";function t(e){return e&&("INPUT"===e.nodeName&&n[e.type]||"TEXTAREA"===e.nodeName)}var n={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};e.exports=t},function(e){"use strict";function t(e,t,r){if(!e)return null;var o={};for(var a in e)n.call(e,a)&&(o[a]=t.call(r,e[a],a,e));return o}var n=Object.prototype.hasOwnProperty;e.exports=t},function(e){"use strict";function t(e){var t={};return function(n){return t.hasOwnProperty(n)?t[n]:t[n]=e.call(this,n)}}e.exports=t},function(e,t,n){"use strict";var r=n(5),o=/^[ \r\n\t\f]/,a=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,i=function(e,t){e.innerHTML=t};if(r.canUseDOM){var s=document.createElement("div");s.innerHTML=" ",""===s.innerHTML&&(i=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),o.test(t)||"<"===t[0]&&a.test(t)){e.innerHTML=""+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t})}e.exports=i},function(e,t,n){(function(t){"use strict";function r(e){return f[e]}function o(e,t){return e&&null!=e.key?i(e.key):t.toString(36)}function a(e){return(""+e).replace(h,r)}function i(e){return"$"+a(e)}function s(e,t,n){return null==e?0:m(e,"",0,t,n)}var u=n(4),c=n(26),l=n(2),p=c.SEPARATOR,d=":",f={"=":"=0",".":"=1",":":"=2"},h=/[=.:]/g,m=function(e,n,r,a,s){var c,f,h=0;if(Array.isArray(e))for(var y=0;y0?t>>>0:0;else if("string"===a)"base64"===n&&(t=S(t)),o=e.byteLength(t,n);else{if("object"!==a||null===t)throw new TypeError("must start with number, buffer, array or string");"Buffer"===t.type&&P(t.data)&&(t=t.data),o=+t.length>0?Math.floor(+t.length):0}if(this.length>R)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+R.toString(16)+" bytes");var i;e.TYPED_ARRAY_SUPPORT?i=e._augment(new Uint8Array(o)):(i=this,i.length=o,i._isBuffer=!0); +var s;if(e.TYPED_ARRAY_SUPPORT&&"number"==typeof t.byteLength)i._set(t);else if(N(t))if(e.isBuffer(t))for(s=0;o>s;s++)i[s]=t.readUInt8(s);else for(s=0;o>s;s++)i[s]=(t[s]%256+256)%256;else if("string"===a)i.write(t,0,n);else if("number"===a&&!e.TYPED_ARRAY_SUPPORT&&!r)for(s=0;o>s;s++)i[s]=0;return i}function r(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r),r>o&&(r=o)):r=o;var a=t.length;if(a%2!==0)throw new Error("Invalid hex string");r>a/2&&(r=a/2);for(var i=0;r>i;i++){var s=parseInt(t.substr(2*i,2),16);if(isNaN(s))throw new Error("Invalid hex string");e[n+i]=s}return i}function o(e,t,n,r){var o=I(_(t),e,n,r);return o}function a(e,t,n,r){var o=I(T(t),e,n,r);return o}function i(e,t,n,r){return a(e,t,n,r)}function s(e,t,n,r){var o=I(O(t),e,n,r);return o}function u(e,t,n,r){var o=I(D(t),e,n,r,2);return o}function c(e,t,n){return M.fromByteArray(0===t&&n===e.length?e:e.slice(t,n))}function l(e,t,n){var r="",o="";n=Math.min(e.length,n);for(var a=t;n>a;a++)e[a]<=127?(r+=A(o)+String.fromCharCode(e[a]),o=""):o+="%"+e[a].toString(16);return r+A(o)}function p(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;n>o;o++)r+=String.fromCharCode(e[o]);return r}function d(e,t,n){return p(e,t,n)}function f(e,t,n){var r=e.length;(!t||0>t)&&(t=0),(!n||0>n||n>r)&&(n=r);for(var o="",a=t;n>a;a++)o+=x(e[a]);return o}function h(e,t,n){for(var r=e.slice(t,n),o="",a=0;ae)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function y(t,n,r,o,a,i){if(!e.isBuffer(t))throw new TypeError("buffer must be a Buffer instance");if(n>a||i>n)throw new TypeError("value is out of bounds");if(r+o>t.length)throw new TypeError("index out of range")}function g(e,t,n,r){0>t&&(t=65535+t+1);for(var o=0,a=Math.min(e.length-n,2);a>o;o++)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function v(e,t,n,r){0>t&&(t=4294967295+t+1);for(var o=0,a=Math.min(e.length-n,4);a>o;o++)e[n+o]=t>>>8*(r?o:3-o)&255}function E(e,t,n,r,o,a){if(t>o||a>t)throw new TypeError("value is out of bounds");if(n+r>e.length)throw new TypeError("index out of range")}function b(e,t,n,r,o){return o||E(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),k.write(e,t,n,r,23,4),n+4}function C(e,t,n,r,o){return o||E(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),k.write(e,t,n,r,52,8),n+8}function S(e){for(e=w(e).replace(V,"");e.length%4!==0;)e+="=";return e}function w(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function N(t){return P(t)||e.isBuffer(t)||t&&"object"==typeof t&&"number"==typeof t.length}function x(e){return 16>e?"0"+e.toString(16):e.toString(16)}function _(e){for(var t=[],n=0;n=r)t.push(r);else{var o=n;r>=55296&&57343>=r&&n++;for(var a=encodeURIComponent(e.slice(o,n+1)).substr(1).split("%"),i=0;i>8,r=t%256,o.push(r),o.push(n);return o}function O(e){return M.toByteArray(e)}function I(e,t,n,r,o){o&&(r-=r%o);for(var a=0;r>a&&!(a+n>=t.length||a>=e.length);a++)t[a+n]=e[a];return a}function A(e){try{return decodeURIComponent(e)}catch(t){return String.fromCharCode(65533)}}/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ -var M=n(181),k=n(182),P=n(183);t.Buffer=e,t.SlowBuffer=e,t.INSPECT_MAX_BYTES=50,e.poolSize=8192;var R=1073741823;e.TYPED_ARRAY_SUPPORT=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray&&0===new Uint8Array(1).subarray(1,1).byteLength}catch(n){return!1}}(),e.isBuffer=function(e){return!(null==e||!e._isBuffer)},e.compare=function(t,n){if(!e.isBuffer(t)||!e.isBuffer(n))throw new TypeError("Arguments must be Buffers");for(var r=t.length,o=n.length,a=0,i=Math.min(r,o);i>a&&t[a]===n[a];a++);return a!==i&&(r=t[a],o=n[a]),o>r?-1:r>o?1:0},e.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},e.concat=function(t,n){if(!P(t))throw new TypeError("Usage: Buffer.concat(list[, length])");if(0===t.length)return new e(0);if(1===t.length)return t[0];var r;if(void 0===n)for(n=0,r=0;r>>1;break;case"utf8":case"utf-8":n=_(e).length;break;case"base64":n=O(e).length;break;default:n=e.length}return n},e.prototype.length=void 0,e.prototype.parent=void 0,e.prototype.toString=function(e,t,n){var r=!1;if(t>>>=0,n=void 0===n||1/0===n?this.length:n>>>0,e||(e="utf8"),0>t&&(t=0),n>this.length&&(n=this.length),t>=n)return"";for(;;)switch(e){case"hex":return f(this,t,n);case"utf8":case"utf-8":return l(this,t,n);case"ascii":return p(this,t,n);case"binary":return d(this,t,n);case"base64":return c(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}},e.prototype.equals=function(t){if(!e.isBuffer(t))throw new TypeError("Argument must be a Buffer");return 0===e.compare(this,t)},e.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},e.prototype.compare=function(t){if(!e.isBuffer(t))throw new TypeError("Argument must be a Buffer");return e.compare(this,t)},e.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},e.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},e.prototype.write=function(e,t,n,c){if(isFinite(t))isFinite(n)||(c=n,n=void 0);else{var l=c;c=t,t=n,n=l}t=Number(t)||0;var p=this.length-t;n?(n=Number(n),n>p&&(n=p)):n=p,c=String(c||"utf8").toLowerCase();var d;switch(c){case"hex":d=r(this,e,t,n);break;case"utf8":case"utf-8":d=o(this,e,t,n);break;case"ascii":d=a(this,e,t,n);break;case"binary":d=i(this,e,t,n);break;case"base64":d=s(this,e,t,n);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":d=u(this,e,t,n);break;default:throw new TypeError("Unknown encoding: "+c)}return d},e.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},e.prototype.slice=function(t,n){var r=this.length;if(t=~~t,n=void 0===n?r:~~n,0>t?(t+=r,0>t&&(t=0)):t>r&&(t=r),0>n?(n+=r,0>n&&(n=0)):n>r&&(n=r),t>n&&(n=t),e.TYPED_ARRAY_SUPPORT)return e._augment(this.subarray(t,n));for(var o=n-t,a=new e(o,void 0,!0),i=0;o>i;i++)a[i]=this[i+t];return a},e.prototype.readUInt8=function(e,t){return t||m(e,1,this.length),this[e]},e.prototype.readUInt16LE=function(e,t){return t||m(e,2,this.length),this[e]|this[e+1]<<8},e.prototype.readUInt16BE=function(e,t){return t||m(e,2,this.length),this[e]<<8|this[e+1]},e.prototype.readUInt32LE=function(e,t){return t||m(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},e.prototype.readUInt32BE=function(e,t){return t||m(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},e.prototype.readInt8=function(e,t){return t||m(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},e.prototype.readInt16LE=function(e,t){t||m(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},e.prototype.readInt16BE=function(e,t){t||m(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},e.prototype.readInt32LE=function(e,t){return t||m(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},e.prototype.readInt32BE=function(e,t){return t||m(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},e.prototype.readFloatLE=function(e,t){return t||m(e,4,this.length),k.read(this,e,!0,23,4)},e.prototype.readFloatBE=function(e,t){return t||m(e,4,this.length),k.read(this,e,!1,23,4)},e.prototype.readDoubleLE=function(e,t){return t||m(e,8,this.length),k.read(this,e,!0,52,8)},e.prototype.readDoubleBE=function(e,t){return t||m(e,8,this.length),k.read(this,e,!1,52,8)},e.prototype.writeUInt8=function(t,n,r){return t=+t,n>>>=0,r||y(this,t,n,1,255,0),e.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[n]=t,n+1},e.prototype.writeUInt16LE=function(t,n,r){return t=+t,n>>>=0,r||y(this,t,n,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[n]=t,this[n+1]=t>>>8):g(this,t,n,!0),n+2},e.prototype.writeUInt16BE=function(t,n,r){return t=+t,n>>>=0,r||y(this,t,n,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=t):g(this,t,n,!1),n+2},e.prototype.writeUInt32LE=function(t,n,r){return t=+t,n>>>=0,r||y(this,t,n,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[n+3]=t>>>24,this[n+2]=t>>>16,this[n+1]=t>>>8,this[n]=t):v(this,t,n,!0),n+4},e.prototype.writeUInt32BE=function(t,n,r){return t=+t,n>>>=0,r||y(this,t,n,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=t):v(this,t,n,!1),n+4},e.prototype.writeInt8=function(t,n,r){return t=+t,n>>>=0,r||y(this,t,n,1,127,-128),e.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),0>t&&(t=255+t+1),this[n]=t,n+1},e.prototype.writeInt16LE=function(t,n,r){return t=+t,n>>>=0,r||y(this,t,n,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[n]=t,this[n+1]=t>>>8):g(this,t,n,!0),n+2},e.prototype.writeInt16BE=function(t,n,r){return t=+t,n>>>=0,r||y(this,t,n,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=t):g(this,t,n,!1),n+2},e.prototype.writeInt32LE=function(t,n,r){return t=+t,n>>>=0,r||y(this,t,n,4,2147483647,-2147483648),e.TYPED_ARRAY_SUPPORT?(this[n]=t,this[n+1]=t>>>8,this[n+2]=t>>>16,this[n+3]=t>>>24):v(this,t,n,!0),n+4},e.prototype.writeInt32BE=function(t,n,r){return t=+t,n>>>=0,r||y(this,t,n,4,2147483647,-2147483648),0>t&&(t=4294967295+t+1),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=t):v(this,t,n,!1),n+4},e.prototype.writeFloatLE=function(e,t,n){return b(this,e,t,!0,n)},e.prototype.writeFloatBE=function(e,t,n){return b(this,e,t,!1,n)},e.prototype.writeDoubleLE=function(e,t,n){return C(this,e,t,!0,n)},e.prototype.writeDoubleBE=function(e,t,n){return C(this,e,t,!1,n)},e.prototype.copy=function(t,n,r,o){var a=this;if(r||(r=0),o||0===o||(o=this.length),n||(n=0),o!==r&&0!==t.length&&0!==a.length){if(r>o)throw new TypeError("sourceEnd < sourceStart");if(0>n||n>=t.length)throw new TypeError("targetStart out of bounds");if(0>r||r>=a.length)throw new TypeError("sourceStart out of bounds");if(0>o||o>a.length)throw new TypeError("sourceEnd out of bounds");o>this.length&&(o=this.length),t.length-ni||!e.TYPED_ARRAY_SUPPORT)for(var s=0;i>s;s++)t[s+n]=this[s+r];else t._set(this.subarray(r,r+i),n)}},e.prototype.fill=function(e,t,n){if(e||(e=0),t||(t=0),n||(n=this.length),t>n)throw new TypeError("end < start");if(n!==t&&0!==this.length){if(0>t||t>=this.length)throw new TypeError("start out of bounds");if(0>n||n>this.length)throw new TypeError("end out of bounds");var r;if("number"==typeof e)for(r=t;n>r;r++)this[r]=e;else{var o=_(e.toString()),a=o.length;for(r=t;n>r;r++)this[r]=o[r%a]}return this}},e.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(e.TYPED_ARRAY_SUPPORT)return new e(this).buffer;for(var t=new Uint8Array(this.length),n=0,r=t.length;r>n;n+=1)t[n]=this[n];return t.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var L=e.prototype;e._augment=function(t){return t.constructor=e,t._isBuffer=!0,t._get=t.get,t._set=t.set,t.get=L.get,t.set=L.set,t.write=L.write,t.toString=L.toString,t.toLocaleString=L.toString,t.toJSON=L.toJSON,t.equals=L.equals,t.compare=L.compare,t.copy=L.copy,t.slice=L.slice,t.readUInt8=L.readUInt8,t.readUInt16LE=L.readUInt16LE,t.readUInt16BE=L.readUInt16BE,t.readUInt32LE=L.readUInt32LE,t.readUInt32BE=L.readUInt32BE,t.readInt8=L.readInt8,t.readInt16LE=L.readInt16LE,t.readInt16BE=L.readInt16BE,t.readInt32LE=L.readInt32LE,t.readInt32BE=L.readInt32BE,t.readFloatLE=L.readFloatLE,t.readFloatBE=L.readFloatBE,t.readDoubleLE=L.readDoubleLE,t.readDoubleBE=L.readDoubleBE,t.writeUInt8=L.writeUInt8,t.writeUInt16LE=L.writeUInt16LE,t.writeUInt16BE=L.writeUInt16BE,t.writeUInt32LE=L.writeUInt32LE,t.writeUInt32BE=L.writeUInt32BE,t.writeInt8=L.writeInt8,t.writeInt16LE=L.writeInt16LE,t.writeInt16BE=L.writeInt16BE,t.writeInt32LE=L.writeInt32LE,t.writeInt32BE=L.writeInt32BE,t.writeFloatLE=L.writeFloatLE,t.writeFloatBE=L.writeFloatBE,t.writeDoubleLE=L.writeDoubleLE,t.writeDoubleBE=L.writeDoubleBE,t.fill=L.fill,t.inspect=L.inspect,t.toArrayBuffer=L.toArrayBuffer,t};var V=/[^+\/0-9A-z]/g}).call(t,n(90).Buffer)},function(e){var t,n,r,o,a,i,s,u,c,l,p,d,f,h,m,y,g,v,E,b,C,w,S,N,x,_,T,D,O,I,A,M,k,P,R,L,V,U,B,F,j,X,J,W,H,q,G,K,Y,z,$,Q,Z,et,tt,nt,rt=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1},ot=function(e,t){function n(){this.constructor=e}for(var r in t)at.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},at={}.hasOwnProperty,it=[].slice,st=function(e,t){return function(){return e.apply(t,arguments)}};P={},f=10,$=!1,B=null,E=null,M=null,j=null,tt=null,o={BEFORE_CHANGE:"page:before-change",FETCH:"page:fetch",RECEIVE:"page:receive",CHANGE:"page:change",UPDATE:"page:update",LOAD:"page:load",RESTORE:"page:restore",BEFORE_UNLOAD:"page:before-unload",EXPIRE:"page:expire"},N=function(e){var t;return e=new r(e),q(),d(),null!=B&&B.start(),$&&(t=Q(e.absolute))?(x(t),_(e,null,!1)):_(e,Y)},Q=function(e){var t;return t=P[e],t&&!t.transitionCacheDisabled?t:void 0},C=function(e){return null==e&&(e=!0),$=e},b=function(e){return null==e&&(e=!0),l?e?null!=B?B:B=new i("html"):(null!=B&&B.uninstall(),B=null):void 0},_=function(e,t,n){return null==n&&(n=!0),Z(o.FETCH,{url:e.absolute}),null!=tt&&tt.abort(),tt=new XMLHttpRequest,tt.open("GET",e.withoutHashForIE10compatibility(),!0),tt.setRequestHeader("Accept","text/html, application/xhtml+xml, application/xml"),tt.setRequestHeader("X-XHR-Referer",j),tt.onload=function(){var n;return Z(o.RECEIVE,{url:e.absolute}),(n=U())?(X(e),J(),h.apply(null,S(n)),k(),"function"==typeof t&&t(),Z(o.LOAD)):(null!=B&&B.done(),document.location.href=v()||e.absolute)},B&&n&&(tt.onprogress=function(){return function(e){var t;return t=e.lengthComputable?e.loaded/e.total*100:B.value+(100-B.value)/10,B.advanceTo(t)}}(this)),tt.onloadend=function(){return tt=null},tt.onerror=function(){return document.location.href=e.absolute},tt.send()},x=function(e){return null!=tt&&tt.abort(),h(e.title,e.body),F(e),Z(o.RESTORE)},d=function(){var e;return e=new r(E.url),P[e.absolute]={url:e.relative,body:document.body,title:document.title,positionY:window.pageYOffset,positionX:window.pageXOffset,cachedAt:(new Date).getTime(),transitionCacheDisabled:null!=document.querySelector("[data-no-transition-cache]")},y(f)},L=function(e){return null==e&&(e=f),/^[\d]+$/.test(e)?f=parseInt(e):void 0},y=function(e){var t,n,r,a,i,s;for(r=Object.keys(P),t=r.map(function(e){return P[e].cachedAt}).sort(function(e,t){return t-e}),s=[],a=0,i=r.length;i>a;a++)n=r[a],P[n].cachedAt<=t[e]&&(Z(o.EXPIRE,P[n]),s.push(delete P[n]));return s},h=function(e,n,r,a){return Z(o.BEFORE_UNLOAD),document.title=e,document.documentElement.replaceChild(n,document.body),null!=r&&t.update(r),z(),a&&w(),E=window.history.state,null!=B&&B.done(),Z(o.CHANGE),Z(o.UPDATE)},w=function(){var e,t,n,r,o,a,i,s,u,c,l,p;for(a=Array.prototype.slice.call(document.body.querySelectorAll('script:not([data-turbolinks-eval="false"])')),i=0,u=a.length;u>i;i++)if(o=a[i],""===(l=o.type)||"text/javascript"===l){for(t=document.createElement("script"),p=o.attributes,s=0,c=p.length;c>s;s++)e=p[s],t.setAttribute(e.name,e.value);o.hasAttribute("async")||(t.async=!1),t.appendChild(document.createTextNode(o.innerHTML)),r=o.parentNode,n=o.nextSibling,r.removeChild(o),r.insertBefore(t,n)}},G=function(e){return e.innerHTML=e.innerHTML.replace(//gi,""),e},z=function(){var e,t;return e=(t=document.querySelectorAll("input[autofocus], textarea[autofocus]"))[t.length-1],e&&document.activeElement!==e?e.focus():void 0},X=function(e){return(e=new r(e)).absolute!==j?window.history.pushState({turbolinks:!0,url:e.absolute},"",e.absolute):void 0},J=function(){var e,t;return(e=tt.getResponseHeader("X-XHR-Redirected-To"))?(e=new r(e),t=e.hasNoHash()?document.location.hash:"",window.history.replaceState(window.history.state,"",e.href+t)):void 0},v=function(){var e;return null!=(e=tt.getResponseHeader("Location"))&&new r(e).crossOrigin()?e:void 0},q=function(){return j=document.location.href},H=function(){return window.history.replaceState({turbolinks:!0,url:document.location.href},"",document.location.href)},W=function(){return E=window.history.state},k=function(){var e;return navigator.userAgent.match(/Firefox/)&&!(e=new r).hasNoHash()?(window.history.replaceState(E,"",e.withoutHash()),document.location.hash=e.hash):void 0},F=function(e){return window.scrollTo(e.positionX,e.positionY)},Y=function(){return document.location.hash?document.location.href=document.location.href:window.scrollTo(0,0)},m=function(e){var t,n,r;if(null==e||"object"!=typeof e)return e;t=new e.constructor;for(n in e)r=e[n],t[n]=m(r);return t},V=function(e){var t,n;return t=(null!=(n=document.cookie.match(new RegExp(e+"=(\\w+)")))?n[1].toUpperCase():void 0)||"",document.cookie=e+"=; expires=Thu, 01-Jan-70 00:00:01 GMT; path=/",t},Z=function(e,t){var n;return"undefined"!=typeof Prototype&&Event.fire(document,e,t,!0),n=document.createEvent("Events"),t&&(n.data=t),n.initEvent(e,!0,!0),document.dispatchEvent(n)},R=function(e){return!Z(o.BEFORE_CHANGE,{url:e})},U=function(){var e,t,n,r,o,a,i;return t=function(){var e;return 400<=(e=tt.status)&&600>e},i=function(){var e;return null!=(e=tt.getResponseHeader("Content-Type"))&&e.match(/^(?:text\/html|application\/xhtml\+xml|application\/xml)(?:;|$)/)},r=function(){var e;return null!=(e=tt.getResponseHeader("Content-Disposition"))&&e.match(/^attachment/)},o=function(e){var t,n,r,o,a;for(o=e.querySelector("head").childNodes,a=[],n=0,r=o.length;r>n;n++)t=o[n],null!=("function"==typeof t.getAttribute?t.getAttribute("data-turbolinks-track"):void 0)&&a.push(t.getAttribute("src")||t.getAttribute("href"));return a},e=function(e){var t;return M||(M=o(document)),t=o(e),t.length!==M.length||a(t,M).length!==M.length},a=function(e,t){var n,r,o,a,i;for(e.length>t.length&&(a=[t,e],e=a[0],t=a[1]),i=[],r=0,o=e.length;o>r;r++)n=e[r],rt.call(t,n)>=0&&i.push(n);return i},t()||!i()||r()||(n=g(tt.responseText),!n||e(n))?void 0:n},S=function(e){var n;return n=e.querySelector("title"),[null!=n?n.textContent:void 0,G(e.querySelector("body")),t.get(e).token,"runScripts"]},t={get:function(e){var t;return null==e&&(e=document),{node:t=e.querySelector('meta[name="csrf-token"]'),token:null!=t&&"function"==typeof t.getAttribute?t.getAttribute("content"):void 0}},update:function(e){var t;return t=this.get(),null!=t.token&&null!=e&&t.token!==e?t.node.setAttribute("content",e):void 0}},g=function(e){var t;return t=document.documentElement.cloneNode(),t.innerHTML=e,t.head=t.querySelector("head"),t.body=t.querySelector("body"),t},r=function(){function e(t){return this.original=null!=t?t:document.location.href,this.original.constructor===e?this.original:void this._parse()}return e.prototype.withoutHash=function(){return this.href.replace(this.hash,"").replace("#","")},e.prototype.withoutHashForIE10compatibility=function(){return this.withoutHash()},e.prototype.hasNoHash=function(){return 0===this.hash.length},e.prototype.crossOrigin=function(){return this.origin!==(new e).origin},e.prototype._parse=function(){var e;return(null!=this.link?this.link:this.link=document.createElement("a")).href=this.original,e=this.link,this.href=e.href,this.protocol=e.protocol,this.host=e.host,this.hostname=e.hostname,this.port=e.port,this.pathname=e.pathname,this.search=e.search,this.hash=e.hash,this.origin=[this.protocol,"//",this.hostname].join(""),0!==this.port.length&&(this.origin+=":"+this.port),this.relative=[this.pathname,this.search,this.hash].join(""),this.absolute=this.href},e}(),a=function(e){function t(e){return this.link=e,this.link.constructor===t?this.link:(this.original=this.link.href,this.originalElement=this.link,this.link=this.link.cloneNode(!1),void t.__super__.constructor.apply(this,arguments))}return ot(t,e),t.HTML_EXTENSIONS=["html"],t.allowExtensions=function(){var e,n,r,o;for(n=1<=arguments.length?it.call(arguments,0):[],r=0,o=n.length;o>r;r++)e=n[r],t.HTML_EXTENSIONS.push(e);return t.HTML_EXTENSIONS},t.prototype.shouldIgnore=function(){return this.crossOrigin()||this._anchored()||this._nonHtml()||this._optOut()||this._target()},t.prototype._anchored=function(){return(this.hash.length>0||"#"===this.href.charAt(this.href.length-1))&&this.withoutHash()===(new r).withoutHash()},t.prototype._nonHtml=function(){return this.pathname.match(/\.[a-z]+$/g)&&!this.pathname.match(new RegExp("\\.(?:"+t.HTML_EXTENSIONS.join("|")+")?$","g"))},t.prototype._optOut=function(){var e,t;for(t=this.originalElement;!e&&t!==document;)e=null!=t.getAttribute("data-no-turbolink"),t=t.parentNode;return e},t.prototype._target=function(){return 0!==this.link.target.length},t}(r),n=function(){function e(e){this.event=e,this.event.defaultPrevented||(this._extractLink(),this._validForTurbolinks()&&(R(this.link.absolute)||et(this.link.href),this.event.preventDefault()))}return e.installHandlerLast=function(t){return t.defaultPrevented?void 0:(document.removeEventListener("click",e.handle,!1),document.addEventListener("click",e.handle,!1))},e.handle=function(t){return new e(t)},e.prototype._extractLink=function(){var e;for(e=this.event.target;e.parentNode&&"A"!==e.nodeName;)e=e.parentNode;return"A"===e.nodeName&&0!==e.href.length?this.link=new a(e):void 0},e.prototype._validForTurbolinks=function(){return null!=this.link&&!(this.link.shouldIgnore()||this._nonStandardClick())},e.prototype._nonStandardClick=function(){return this.event.which>1||this.event.metaKey||this.event.ctrlKey||this.event.shiftKey||this.event.altKey},e}(),i=function(){function e(e){this.elementSelector=e,this._trickle=st(this._trickle,this),this.value=0,this.content="",this.speed=300,this.opacity=.99,this.install()}var t;return t="turbolinks-progress-bar",e.prototype.install=function(){return this.element=document.querySelector(this.elementSelector),this.element.classList.add(t),this.styleElement=document.createElement("style"),document.head.appendChild(this.styleElement),this._updateStyle()},e.prototype.uninstall=function(){return this.element.classList.remove(t),document.head.removeChild(this.styleElement)},e.prototype.start=function(){return this.advanceTo(5)},e.prototype.advanceTo=function(e){var t;if(e>(t=this.value)&&100>=t){if(this.value=e,this._updateStyle(),100===this.value)return this._stopTrickle();if(this.value>0)return this._startTrickle()}},e.prototype.done=function(){return this.value>0?(this.advanceTo(100),this._reset()):void 0},e.prototype._reset=function(){var e;return e=this.opacity,setTimeout(function(e){return function(){return e.opacity=0,e._updateStyle()}}(this),this.speed/2),setTimeout(function(t){return function(){return t.value=0,t.opacity=e,t._withSpeed(0,function(){return t._updateStyle(!0)})}}(this),this.speed)},e.prototype._startTrickle=function(){return this.trickling?void 0:(this.trickling=!0,setTimeout(this._trickle,this.speed))},e.prototype._stopTrickle=function(){return delete this.trickling},e.prototype._trickle=function(){return this.trickling?(this.advanceTo(this.value+Math.random()/2),setTimeout(this._trickle,this.speed)):void 0},e.prototype._withSpeed=function(e,t){var n,r;return n=this.speed,this.speed=e,r=t(),this.speed=n,r},e.prototype._updateStyle=function(e){return null==e&&(e=!1),e&&this._changeContentToForceRepaint(),this.styleElement.textContent=this._createCSSRule()},e.prototype._changeContentToForceRepaint=function(){return this.content=""===this.content?" ":""},e.prototype._createCSSRule=function(){return this.elementSelector+"."+t+"::before {\n content: '"+this.content+"';\n position: fixed;\n top: 0;\n left: 0;\n z-index: 2000;\n background-color: #0076ff;\n height: 3px;\n opacity: "+this.opacity+";\n width: "+this.value+"%;\n transition: width "+this.speed+"ms ease-out, opacity "+this.speed/2+"ms ease-in;\n transform: translate3d(0,0,0);\n}"},e}(),p=function(e){return setTimeout(e,500)},O=function(){return document.addEventListener("DOMContentLoaded",function(){return Z(o.CHANGE),Z(o.UPDATE)},!0)},A=function(){return"undefined"!=typeof jQuery?jQuery(document).on("ajaxSuccess",function(e,t){return jQuery.trim(t.responseText)?Z(o.UPDATE):void 0}):void 0},I=function(e){var t,n;return(null!=(n=e.state)?n.turbolinks:void 0)?(t=P[new r(e.state.url).absolute])?(d(),x(t)):et(e.target.location.href):void 0},D=function(){return H(),W(),document.addEventListener("click",n.installHandlerLast,!0),window.addEventListener("hashchange",function(){return H(),W()},!1),p(function(){return window.addEventListener("popstate",I,!1)})},T=void 0!==window.history.state||navigator.userAgent.match(/Firefox\/2[6|7]/),c=window.history&&window.history.pushState&&window.history.replaceState&&T,s=!navigator.userAgent.match(/CriOS\//),K="GET"===(nt=V("request_method"))||""===nt,l=c&&s&&K,u=document.addEventListener&&document.createEvent,u&&(O(),A()),l?(et=N,D()):et=function(e){return document.location.href=e},this.Turbolinks={visit:et,pagesCached:L,enableTransitionCache:C,enableProgressBar:b,allowLinkExtensions:a.allowExtensions,supported:l,EVENTS:m(o)},e.exports=this.Turbolinks},function(e){/** @preserve +var M=n(181),k=n(182),P=n(183);t.Buffer=e,t.SlowBuffer=e,t.INSPECT_MAX_BYTES=50,e.poolSize=8192;var R=1073741823;e.TYPED_ARRAY_SUPPORT=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray&&0===new Uint8Array(1).subarray(1,1).byteLength}catch(n){return!1}}(),e.isBuffer=function(e){return!(null==e||!e._isBuffer)},e.compare=function(t,n){if(!e.isBuffer(t)||!e.isBuffer(n))throw new TypeError("Arguments must be Buffers");for(var r=t.length,o=n.length,a=0,i=Math.min(r,o);i>a&&t[a]===n[a];a++);return a!==i&&(r=t[a],o=n[a]),o>r?-1:r>o?1:0},e.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},e.concat=function(t,n){if(!P(t))throw new TypeError("Usage: Buffer.concat(list[, length])");if(0===t.length)return new e(0);if(1===t.length)return t[0];var r;if(void 0===n)for(n=0,r=0;r>>1;break;case"utf8":case"utf-8":n=_(e).length;break;case"base64":n=O(e).length;break;default:n=e.length}return n},e.prototype.length=void 0,e.prototype.parent=void 0,e.prototype.toString=function(e,t,n){var r=!1;if(t>>>=0,n=void 0===n||1/0===n?this.length:n>>>0,e||(e="utf8"),0>t&&(t=0),n>this.length&&(n=this.length),t>=n)return"";for(;;)switch(e){case"hex":return f(this,t,n);case"utf8":case"utf-8":return l(this,t,n);case"ascii":return p(this,t,n);case"binary":return d(this,t,n);case"base64":return c(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}},e.prototype.equals=function(t){if(!e.isBuffer(t))throw new TypeError("Argument must be a Buffer");return 0===e.compare(this,t)},e.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},e.prototype.compare=function(t){if(!e.isBuffer(t))throw new TypeError("Argument must be a Buffer");return e.compare(this,t)},e.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},e.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},e.prototype.write=function(e,t,n,c){if(isFinite(t))isFinite(n)||(c=n,n=void 0);else{var l=c;c=t,t=n,n=l}t=Number(t)||0;var p=this.length-t;n?(n=Number(n),n>p&&(n=p)):n=p,c=String(c||"utf8").toLowerCase();var d;switch(c){case"hex":d=r(this,e,t,n);break;case"utf8":case"utf-8":d=o(this,e,t,n);break;case"ascii":d=a(this,e,t,n);break;case"binary":d=i(this,e,t,n);break;case"base64":d=s(this,e,t,n);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":d=u(this,e,t,n);break;default:throw new TypeError("Unknown encoding: "+c)}return d},e.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},e.prototype.slice=function(t,n){var r=this.length;if(t=~~t,n=void 0===n?r:~~n,0>t?(t+=r,0>t&&(t=0)):t>r&&(t=r),0>n?(n+=r,0>n&&(n=0)):n>r&&(n=r),t>n&&(n=t),e.TYPED_ARRAY_SUPPORT)return e._augment(this.subarray(t,n));for(var o=n-t,a=new e(o,void 0,!0),i=0;o>i;i++)a[i]=this[i+t];return a},e.prototype.readUInt8=function(e,t){return t||m(e,1,this.length),this[e]},e.prototype.readUInt16LE=function(e,t){return t||m(e,2,this.length),this[e]|this[e+1]<<8},e.prototype.readUInt16BE=function(e,t){return t||m(e,2,this.length),this[e]<<8|this[e+1]},e.prototype.readUInt32LE=function(e,t){return t||m(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},e.prototype.readUInt32BE=function(e,t){return t||m(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},e.prototype.readInt8=function(e,t){return t||m(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},e.prototype.readInt16LE=function(e,t){t||m(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},e.prototype.readInt16BE=function(e,t){t||m(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},e.prototype.readInt32LE=function(e,t){return t||m(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},e.prototype.readInt32BE=function(e,t){return t||m(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},e.prototype.readFloatLE=function(e,t){return t||m(e,4,this.length),k.read(this,e,!0,23,4)},e.prototype.readFloatBE=function(e,t){return t||m(e,4,this.length),k.read(this,e,!1,23,4)},e.prototype.readDoubleLE=function(e,t){return t||m(e,8,this.length),k.read(this,e,!0,52,8)},e.prototype.readDoubleBE=function(e,t){return t||m(e,8,this.length),k.read(this,e,!1,52,8)},e.prototype.writeUInt8=function(t,n,r){return t=+t,n>>>=0,r||y(this,t,n,1,255,0),e.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[n]=t,n+1},e.prototype.writeUInt16LE=function(t,n,r){return t=+t,n>>>=0,r||y(this,t,n,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[n]=t,this[n+1]=t>>>8):g(this,t,n,!0),n+2},e.prototype.writeUInt16BE=function(t,n,r){return t=+t,n>>>=0,r||y(this,t,n,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=t):g(this,t,n,!1),n+2},e.prototype.writeUInt32LE=function(t,n,r){return t=+t,n>>>=0,r||y(this,t,n,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[n+3]=t>>>24,this[n+2]=t>>>16,this[n+1]=t>>>8,this[n]=t):v(this,t,n,!0),n+4},e.prototype.writeUInt32BE=function(t,n,r){return t=+t,n>>>=0,r||y(this,t,n,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=t):v(this,t,n,!1),n+4},e.prototype.writeInt8=function(t,n,r){return t=+t,n>>>=0,r||y(this,t,n,1,127,-128),e.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),0>t&&(t=255+t+1),this[n]=t,n+1},e.prototype.writeInt16LE=function(t,n,r){return t=+t,n>>>=0,r||y(this,t,n,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[n]=t,this[n+1]=t>>>8):g(this,t,n,!0),n+2},e.prototype.writeInt16BE=function(t,n,r){return t=+t,n>>>=0,r||y(this,t,n,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=t):g(this,t,n,!1),n+2},e.prototype.writeInt32LE=function(t,n,r){return t=+t,n>>>=0,r||y(this,t,n,4,2147483647,-2147483648),e.TYPED_ARRAY_SUPPORT?(this[n]=t,this[n+1]=t>>>8,this[n+2]=t>>>16,this[n+3]=t>>>24):v(this,t,n,!0),n+4},e.prototype.writeInt32BE=function(t,n,r){return t=+t,n>>>=0,r||y(this,t,n,4,2147483647,-2147483648),0>t&&(t=4294967295+t+1),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=t):v(this,t,n,!1),n+4},e.prototype.writeFloatLE=function(e,t,n){return b(this,e,t,!0,n)},e.prototype.writeFloatBE=function(e,t,n){return b(this,e,t,!1,n)},e.prototype.writeDoubleLE=function(e,t,n){return C(this,e,t,!0,n)},e.prototype.writeDoubleBE=function(e,t,n){return C(this,e,t,!1,n)},e.prototype.copy=function(t,n,r,o){var a=this;if(r||(r=0),o||0===o||(o=this.length),n||(n=0),o!==r&&0!==t.length&&0!==a.length){if(r>o)throw new TypeError("sourceEnd < sourceStart");if(0>n||n>=t.length)throw new TypeError("targetStart out of bounds");if(0>r||r>=a.length)throw new TypeError("sourceStart out of bounds");if(0>o||o>a.length)throw new TypeError("sourceEnd out of bounds");o>this.length&&(o=this.length),t.length-ni||!e.TYPED_ARRAY_SUPPORT)for(var s=0;i>s;s++)t[s+n]=this[s+r];else t._set(this.subarray(r,r+i),n)}},e.prototype.fill=function(e,t,n){if(e||(e=0),t||(t=0),n||(n=this.length),t>n)throw new TypeError("end < start");if(n!==t&&0!==this.length){if(0>t||t>=this.length)throw new TypeError("start out of bounds");if(0>n||n>this.length)throw new TypeError("end out of bounds");var r;if("number"==typeof e)for(r=t;n>r;r++)this[r]=e;else{var o=_(e.toString()),a=o.length;for(r=t;n>r;r++)this[r]=o[r%a]}return this}},e.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(e.TYPED_ARRAY_SUPPORT)return new e(this).buffer;for(var t=new Uint8Array(this.length),n=0,r=t.length;r>n;n+=1)t[n]=this[n];return t.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var L=e.prototype;e._augment=function(t){return t.constructor=e,t._isBuffer=!0,t._get=t.get,t._set=t.set,t.get=L.get,t.set=L.set,t.write=L.write,t.toString=L.toString,t.toLocaleString=L.toString,t.toJSON=L.toJSON,t.equals=L.equals,t.compare=L.compare,t.copy=L.copy,t.slice=L.slice,t.readUInt8=L.readUInt8,t.readUInt16LE=L.readUInt16LE,t.readUInt16BE=L.readUInt16BE,t.readUInt32LE=L.readUInt32LE,t.readUInt32BE=L.readUInt32BE,t.readInt8=L.readInt8,t.readInt16LE=L.readInt16LE,t.readInt16BE=L.readInt16BE,t.readInt32LE=L.readInt32LE,t.readInt32BE=L.readInt32BE,t.readFloatLE=L.readFloatLE,t.readFloatBE=L.readFloatBE,t.readDoubleLE=L.readDoubleLE,t.readDoubleBE=L.readDoubleBE,t.writeUInt8=L.writeUInt8,t.writeUInt16LE=L.writeUInt16LE,t.writeUInt16BE=L.writeUInt16BE,t.writeUInt32LE=L.writeUInt32LE,t.writeUInt32BE=L.writeUInt32BE,t.writeInt8=L.writeInt8,t.writeInt16LE=L.writeInt16LE,t.writeInt16BE=L.writeInt16BE,t.writeInt32LE=L.writeInt32LE,t.writeInt32BE=L.writeInt32BE,t.writeFloatLE=L.writeFloatLE,t.writeFloatBE=L.writeFloatBE,t.writeDoubleLE=L.writeDoubleLE,t.writeDoubleBE=L.writeDoubleBE,t.fill=L.fill,t.inspect=L.inspect,t.toArrayBuffer=L.toArrayBuffer,t};var V=/[^+\/0-9A-z]/g}).call(t,n(90).Buffer)},function(e){var t,n,r,o,a,i,s,u,c,l,p,d,f,h,m,y,g,v,E,b,C,S,w,N,x,_,T,D,O,I,A,M,k,P,R,L,V,U,B,F,j,X,J,W,H,q,G,K,Y,z,$,Q,Z,et,tt,nt,rt=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1},ot=function(e,t){function n(){this.constructor=e}for(var r in t)at.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},at={}.hasOwnProperty,it=[].slice,st=function(e,t){return function(){return e.apply(t,arguments)}};P={},f=10,$=!1,B=null,E=null,M=null,j=null,tt=null,o={BEFORE_CHANGE:"page:before-change",FETCH:"page:fetch",RECEIVE:"page:receive",CHANGE:"page:change",UPDATE:"page:update",LOAD:"page:load",RESTORE:"page:restore",BEFORE_UNLOAD:"page:before-unload",EXPIRE:"page:expire"},N=function(e){var t;return e=new r(e),q(),d(),null!=B&&B.start(),$&&(t=Q(e.absolute))?(x(t),_(e,null,!1)):_(e,Y)},Q=function(e){var t;return t=P[e],t&&!t.transitionCacheDisabled?t:void 0},C=function(e){return null==e&&(e=!0),$=e},b=function(e){return null==e&&(e=!0),l?e?null!=B?B:B=new i("html"):(null!=B&&B.uninstall(),B=null):void 0},_=function(e,t,n){return null==n&&(n=!0),Z(o.FETCH,{url:e.absolute}),null!=tt&&tt.abort(),tt=new XMLHttpRequest,tt.open("GET",e.withoutHashForIE10compatibility(),!0),tt.setRequestHeader("Accept","text/html, application/xhtml+xml, application/xml"),tt.setRequestHeader("X-XHR-Referer",j),tt.onload=function(){var n;return Z(o.RECEIVE,{url:e.absolute}),(n=U())?(X(e),J(),h.apply(null,w(n)),k(),"function"==typeof t&&t(),Z(o.LOAD)):(null!=B&&B.done(),document.location.href=v()||e.absolute)},B&&n&&(tt.onprogress=function(){return function(e){var t;return t=e.lengthComputable?e.loaded/e.total*100:B.value+(100-B.value)/10,B.advanceTo(t)}}(this)),tt.onloadend=function(){return tt=null},tt.onerror=function(){return document.location.href=e.absolute},tt.send()},x=function(e){return null!=tt&&tt.abort(),h(e.title,e.body),F(e),Z(o.RESTORE)},d=function(){var e;return e=new r(E.url),P[e.absolute]={url:e.relative,body:document.body,title:document.title,positionY:window.pageYOffset,positionX:window.pageXOffset,cachedAt:(new Date).getTime(),transitionCacheDisabled:null!=document.querySelector("[data-no-transition-cache]")},y(f)},L=function(e){return null==e&&(e=f),/^[\d]+$/.test(e)?f=parseInt(e):void 0},y=function(e){var t,n,r,a,i,s;for(r=Object.keys(P),t=r.map(function(e){return P[e].cachedAt}).sort(function(e,t){return t-e}),s=[],a=0,i=r.length;i>a;a++)n=r[a],P[n].cachedAt<=t[e]&&(Z(o.EXPIRE,P[n]),s.push(delete P[n]));return s},h=function(e,n,r,a){return Z(o.BEFORE_UNLOAD),document.title=e,document.documentElement.replaceChild(n,document.body),null!=r&&t.update(r),z(),a&&S(),E=window.history.state,null!=B&&B.done(),Z(o.CHANGE),Z(o.UPDATE)},S=function(){var e,t,n,r,o,a,i,s,u,c,l,p;for(a=Array.prototype.slice.call(document.body.querySelectorAll('script:not([data-turbolinks-eval="false"])')),i=0,u=a.length;u>i;i++)if(o=a[i],""===(l=o.type)||"text/javascript"===l){for(t=document.createElement("script"),p=o.attributes,s=0,c=p.length;c>s;s++)e=p[s],t.setAttribute(e.name,e.value);o.hasAttribute("async")||(t.async=!1),t.appendChild(document.createTextNode(o.innerHTML)),r=o.parentNode,n=o.nextSibling,r.removeChild(o),r.insertBefore(t,n)}},G=function(e){return e.innerHTML=e.innerHTML.replace(//gi,""),e},z=function(){var e,t;return e=(t=document.querySelectorAll("input[autofocus], textarea[autofocus]"))[t.length-1],e&&document.activeElement!==e?e.focus():void 0},X=function(e){return(e=new r(e)).absolute!==j?window.history.pushState({turbolinks:!0,url:e.absolute},"",e.absolute):void 0},J=function(){var e,t;return(e=tt.getResponseHeader("X-XHR-Redirected-To"))?(e=new r(e),t=e.hasNoHash()?document.location.hash:"",window.history.replaceState(window.history.state,"",e.href+t)):void 0},v=function(){var e;return null!=(e=tt.getResponseHeader("Location"))&&new r(e).crossOrigin()?e:void 0},q=function(){return j=document.location.href},H=function(){return window.history.replaceState({turbolinks:!0,url:document.location.href},"",document.location.href)},W=function(){return E=window.history.state},k=function(){var e;return navigator.userAgent.match(/Firefox/)&&!(e=new r).hasNoHash()?(window.history.replaceState(E,"",e.withoutHash()),document.location.hash=e.hash):void 0},F=function(e){return window.scrollTo(e.positionX,e.positionY)},Y=function(){return document.location.hash?document.location.href=document.location.href:window.scrollTo(0,0)},m=function(e){var t,n,r;if(null==e||"object"!=typeof e)return e;t=new e.constructor;for(n in e)r=e[n],t[n]=m(r);return t},V=function(e){var t,n;return t=(null!=(n=document.cookie.match(new RegExp(e+"=(\\w+)")))?n[1].toUpperCase():void 0)||"",document.cookie=e+"=; expires=Thu, 01-Jan-70 00:00:01 GMT; path=/",t},Z=function(e,t){var n;return"undefined"!=typeof Prototype&&Event.fire(document,e,t,!0),n=document.createEvent("Events"),t&&(n.data=t),n.initEvent(e,!0,!0),document.dispatchEvent(n)},R=function(e){return!Z(o.BEFORE_CHANGE,{url:e})},U=function(){var e,t,n,r,o,a,i;return t=function(){var e;return 400<=(e=tt.status)&&600>e},i=function(){var e;return null!=(e=tt.getResponseHeader("Content-Type"))&&e.match(/^(?:text\/html|application\/xhtml\+xml|application\/xml)(?:;|$)/)},r=function(){var e;return null!=(e=tt.getResponseHeader("Content-Disposition"))&&e.match(/^attachment/)},o=function(e){var t,n,r,o,a;for(o=e.querySelector("head").childNodes,a=[],n=0,r=o.length;r>n;n++)t=o[n],null!=("function"==typeof t.getAttribute?t.getAttribute("data-turbolinks-track"):void 0)&&a.push(t.getAttribute("src")||t.getAttribute("href"));return a},e=function(e){var t;return M||(M=o(document)),t=o(e),t.length!==M.length||a(t,M).length!==M.length},a=function(e,t){var n,r,o,a,i;for(e.length>t.length&&(a=[t,e],e=a[0],t=a[1]),i=[],r=0,o=e.length;o>r;r++)n=e[r],rt.call(t,n)>=0&&i.push(n);return i},t()||!i()||r()||(n=g(tt.responseText),!n||e(n))?void 0:n},w=function(e){var n;return n=e.querySelector("title"),[null!=n?n.textContent:void 0,G(e.querySelector("body")),t.get(e).token,"runScripts"]},t={get:function(e){var t;return null==e&&(e=document),{node:t=e.querySelector('meta[name="csrf-token"]'),token:null!=t&&"function"==typeof t.getAttribute?t.getAttribute("content"):void 0}},update:function(e){var t;return t=this.get(),null!=t.token&&null!=e&&t.token!==e?t.node.setAttribute("content",e):void 0}},g=function(e){var t;return t=document.documentElement.cloneNode(),t.innerHTML=e,t.head=t.querySelector("head"),t.body=t.querySelector("body"),t},r=function(){function e(t){return this.original=null!=t?t:document.location.href,this.original.constructor===e?this.original:void this._parse()}return e.prototype.withoutHash=function(){return this.href.replace(this.hash,"").replace("#","")},e.prototype.withoutHashForIE10compatibility=function(){return this.withoutHash()},e.prototype.hasNoHash=function(){return 0===this.hash.length},e.prototype.crossOrigin=function(){return this.origin!==(new e).origin},e.prototype._parse=function(){var e;return(null!=this.link?this.link:this.link=document.createElement("a")).href=this.original,e=this.link,this.href=e.href,this.protocol=e.protocol,this.host=e.host,this.hostname=e.hostname,this.port=e.port,this.pathname=e.pathname,this.search=e.search,this.hash=e.hash,this.origin=[this.protocol,"//",this.hostname].join(""),0!==this.port.length&&(this.origin+=":"+this.port),this.relative=[this.pathname,this.search,this.hash].join(""),this.absolute=this.href},e}(),a=function(e){function t(e){return this.link=e,this.link.constructor===t?this.link:(this.original=this.link.href,this.originalElement=this.link,this.link=this.link.cloneNode(!1),void t.__super__.constructor.apply(this,arguments))}return ot(t,e),t.HTML_EXTENSIONS=["html"],t.allowExtensions=function(){var e,n,r,o;for(n=1<=arguments.length?it.call(arguments,0):[],r=0,o=n.length;o>r;r++)e=n[r],t.HTML_EXTENSIONS.push(e);return t.HTML_EXTENSIONS},t.prototype.shouldIgnore=function(){return this.crossOrigin()||this._anchored()||this._nonHtml()||this._optOut()||this._target()},t.prototype._anchored=function(){return(this.hash.length>0||"#"===this.href.charAt(this.href.length-1))&&this.withoutHash()===(new r).withoutHash()},t.prototype._nonHtml=function(){return this.pathname.match(/\.[a-z]+$/g)&&!this.pathname.match(new RegExp("\\.(?:"+t.HTML_EXTENSIONS.join("|")+")?$","g"))},t.prototype._optOut=function(){var e,t;for(t=this.originalElement;!e&&t!==document;)e=null!=t.getAttribute("data-no-turbolink"),t=t.parentNode;return e},t.prototype._target=function(){return 0!==this.link.target.length},t}(r),n=function(){function e(e){this.event=e,this.event.defaultPrevented||(this._extractLink(),this._validForTurbolinks()&&(R(this.link.absolute)||et(this.link.href),this.event.preventDefault()))}return e.installHandlerLast=function(t){return t.defaultPrevented?void 0:(document.removeEventListener("click",e.handle,!1),document.addEventListener("click",e.handle,!1))},e.handle=function(t){return new e(t)},e.prototype._extractLink=function(){var e;for(e=this.event.target;e.parentNode&&"A"!==e.nodeName;)e=e.parentNode;return"A"===e.nodeName&&0!==e.href.length?this.link=new a(e):void 0},e.prototype._validForTurbolinks=function(){return null!=this.link&&!(this.link.shouldIgnore()||this._nonStandardClick())},e.prototype._nonStandardClick=function(){return this.event.which>1||this.event.metaKey||this.event.ctrlKey||this.event.shiftKey||this.event.altKey},e}(),i=function(){function e(e){this.elementSelector=e,this._trickle=st(this._trickle,this),this.value=0,this.content="",this.speed=300,this.opacity=.99,this.install()}var t;return t="turbolinks-progress-bar",e.prototype.install=function(){return this.element=document.querySelector(this.elementSelector),this.element.classList.add(t),this.styleElement=document.createElement("style"),document.head.appendChild(this.styleElement),this._updateStyle()},e.prototype.uninstall=function(){return this.element.classList.remove(t),document.head.removeChild(this.styleElement)},e.prototype.start=function(){return this.advanceTo(5)},e.prototype.advanceTo=function(e){var t;if(e>(t=this.value)&&100>=t){if(this.value=e,this._updateStyle(),100===this.value)return this._stopTrickle();if(this.value>0)return this._startTrickle()}},e.prototype.done=function(){return this.value>0?(this.advanceTo(100),this._reset()):void 0},e.prototype._reset=function(){var e;return e=this.opacity,setTimeout(function(e){return function(){return e.opacity=0,e._updateStyle()}}(this),this.speed/2),setTimeout(function(t){return function(){return t.value=0,t.opacity=e,t._withSpeed(0,function(){return t._updateStyle(!0)})}}(this),this.speed)},e.prototype._startTrickle=function(){return this.trickling?void 0:(this.trickling=!0,setTimeout(this._trickle,this.speed))},e.prototype._stopTrickle=function(){return delete this.trickling},e.prototype._trickle=function(){return this.trickling?(this.advanceTo(this.value+Math.random()/2),setTimeout(this._trickle,this.speed)):void 0},e.prototype._withSpeed=function(e,t){var n,r;return n=this.speed,this.speed=e,r=t(),this.speed=n,r},e.prototype._updateStyle=function(e){return null==e&&(e=!1),e&&this._changeContentToForceRepaint(),this.styleElement.textContent=this._createCSSRule()},e.prototype._changeContentToForceRepaint=function(){return this.content=""===this.content?" ":""},e.prototype._createCSSRule=function(){return this.elementSelector+"."+t+"::before {\n content: '"+this.content+"';\n position: fixed;\n top: 0;\n left: 0;\n z-index: 2000;\n background-color: #0076ff;\n height: 3px;\n opacity: "+this.opacity+";\n width: "+this.value+"%;\n transition: width "+this.speed+"ms ease-out, opacity "+this.speed/2+"ms ease-in;\n transform: translate3d(0,0,0);\n}"},e}(),p=function(e){return setTimeout(e,500)},O=function(){return document.addEventListener("DOMContentLoaded",function(){return Z(o.CHANGE),Z(o.UPDATE)},!0)},A=function(){return"undefined"!=typeof jQuery?jQuery(document).on("ajaxSuccess",function(e,t){return jQuery.trim(t.responseText)?Z(o.UPDATE):void 0}):void 0},I=function(e){var t,n;return(null!=(n=e.state)?n.turbolinks:void 0)?(t=P[new r(e.state.url).absolute])?(d(),x(t)):et(e.target.location.href):void 0},D=function(){return H(),W(),document.addEventListener("click",n.installHandlerLast,!0),window.addEventListener("hashchange",function(){return H(),W()},!1),p(function(){return window.addEventListener("popstate",I,!1)})},T=void 0!==window.history.state||navigator.userAgent.match(/Firefox\/2[6|7]/),c=window.history&&window.history.pushState&&window.history.replaceState&&T,s=!navigator.userAgent.match(/CriOS\//),K="GET"===(nt=V("request_method"))||""===nt,l=c&&s&&K,u=document.addEventListener&&document.createEvent,u&&(O(),A()),l?(et=N,D()):et=function(e){return document.location.href=e},this.Turbolinks={visit:et,pagesCached:L,enableTransitionCache:C,enableProgressBar:b,allowLinkExtensions:a.allowExtensions,supported:l,EVENTS:m(o)},e.exports=this.Turbolinks},function(e){/** @preserve * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * @@ -32,6 +32,6 @@ var M=n(181),k=n(182),P=n(183);t.Buffer=e,t.SlowBuffer=e,t.INSPECT_MAX_BYTES=50, * of patent rights can be found in the PATENTS file in the same directory. * */ -"use strict";function t(e,t){if(1===t)return e;if(0>t)throw new Error;for(var n="";t;)1&t&&(n+=e),(t>>=1)&&(e+=e);return n}function n(e,t){return e.slice(-t.length)===t}function r(e,t){return n(e,t)?e.slice(0,-t.length):e}function o(e){return e.replace(/-(.)/g,function(e,t){return t.toUpperCase()})}function a(e){return!/[^\s]/.test(e)}function i(e){return/^\d+px$/.test(e)}function s(e){return void 0!==e&&null!==e&&("number"==typeof e||parseInt(e,10)==e)}function u(e){return f.textContent=e,f.innerHTML}var c,l={ELEMENT:1,TEXT:3,COMMENT:8},p={"for":"htmlFor","class":"className"},d={input:{checked:"defaultChecked",value:"defaultValue"}};c=function(e){return document.createElement(e)};var f=c("div"),h=function(e){this.config=e||{},void 0===this.config.createClass&&(this.config.createClass=!0),this.config.indent||(this.config.indent=" "),this.config.outputClassName||(this.config.outputClassName="NewComponent")};h.prototype={reset:function(){this.output="",this.level=0},convert:function(e){this.reset();var t=c("div");return t.innerHTML="\n"+this._cleanInput(e)+"\n",this.config.createClass&&(this.output=this.config.outputClassName?"var "+this.config.outputClassName+" = React.createClass({\n":"React.createClass({\n",this.output+=this.config.indent+"render: function() {\n",this.output+=this.config.indent+this.config.indent+"return (\n"),this._onlyOneTopLevel(t)?this._traverse(t):(this.output+=this.config.indent+this.config.indent+this.config.indent,this.level++,this._visit(t)),this.output=this.output.trim()+"\n",this.config.createClass&&(this.output+=this.config.indent+this.config.indent+");\n",this.output+=this.config.indent+"}\n",this.output+="});"),this.output},_cleanInput:function(e){return e=e.trim(),e=e.replace(//g,"")},_onlyOneTopLevel:function(e){if(1===e.childNodes.length&&e.childNodes[0].nodeType===l.ELEMENT)return!0;for(var t=!1,n=0,r=e.childNodes.length;r>n;n++){var o=e.childNodes[n];if(o.nodeType===l.ELEMENT){if(t)return!1;t=!0}else if(o.nodeType===l.TEXT&&!a(o.textContent))return!1}return!0},_getIndentedNewline:function(){return"\n"+t(this.config.indent,this.level+2)},_visit:function(e){this._beginVisit(e),this._traverse(e),this._endVisit(e)},_traverse:function(e){this.level++;for(var t=0,n=e.childNodes.length;n>t;t++)this._visit(e.childNodes[t]);this.level--},_beginVisit:function(e){switch(e.nodeType){case l.ELEMENT:this._beginVisitElement(e);break;case l.TEXT:this._visitText(e);break;case l.COMMENT:this._visitComment(e);break;default:console.warn("Unrecognised node type: "+e.nodeType)}},_endVisit:function(e){switch(e.nodeType){case l.ELEMENT:this._endVisitElement(e);break;case l.TEXT:case l.COMMENT:}},_beginVisitElement:function(e){for(var t=e.tagName.toLowerCase(),n=[],r=0,o=e.attributes.length;o>r;r++)n.push(this._getElementAttribute(e,e.attributes[r]));this.output+="<"+t,n.length>0&&(this.output+=" "+n.join(" ")),e.firstChild&&(this.output+=">")},_endVisitElement:function(e){this.output=r(this.output,this.config.indent),this.output+=e.firstChild?"":" />"},_visitText:function(e){var t=e.textContent;t.indexOf("\n")>-1&&(t=e.textContent.replace(/\n\s*/g,this._getIndentedNewline())),this.output+=u(t)},_visitComment:function(e){this.output+="{/*"+e.textContent.replace("*/","* /")+"*/}"},_getElementAttribute:function(e,t){switch(t.name){case"style":return this._getStyleAttribute(t.value);default:var n=e.tagName.toLowerCase(),r=d[n]&&d[n][t.name]||p[t.name]||t.name,o=r;return s(t.value)?o+="={"+t.value+"}":t.value.length>0&&(o+='="'+t.value.replace('"',""")+'"'),o}},_getStyleAttribute:function(e){var t=new m(e).toJSXString();return"style={{"+t+"}}"}};var m=function(e){this.parse(e)};m.prototype={parse:function(e){this.styles={},e.split(";").forEach(function(e){e=e.trim();var t=e.indexOf(":"),n=e.substr(0,t),r=e.substr(t+1).trim();""!==n&&(this.styles[n]=r)},this)},toJSXString:function(){var e=[];for(var t in this.styles)this.styles.hasOwnProperty(t)&&e.push(this.toJSXKey(t)+": "+this.toJSXValue(this.styles[t]));return e.join(", ")},toJSXKey:function(e){return o(e)},toJSXValue:function(e){return s(e)?e:i(e)?r(e,"px"):"'"+e.replace(/'/g,'"')+"'"}},e.exports=h},function(e,t,n){"use strict";function r(e,t){t=t||{};var n=["react"];t.harmony&&n.push("harmony"),t.stripTypes&&(e=i(s.visitorList,e,t).code);var r=a.getVisitorsBySet(n);return i(r,e,t)}function o(e,t,n){var r=e.toJSON();r.sources=[n],r.sourcesContent=[t];var o=u(JSON.stringify(r)).toString("base64");return"//# sourceMappingURL=data:application/json;base64,"+o}var a=n(111),i=n(33).transform,s=n(108),u=n(90).Buffer;e.exports={transform:function(e,t){var n=r(e,t),a=n.code;if(t&&t.sourceMap){var i=o(n.sourceMap,e,t.sourceFilename);a+="\n"+i}return a},transformWithDetails:function(e,t){var n=r(e,t),o={};return o.code=n.code,t&&t.sourceMap&&(o.sourceMap=n.sourceMap.toJSON()),o}}},function(e){var t=function(e){return e.chars=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],e.encode=function(e){if(0===e)return"0";for(var t="";e>0;)t=this.chars[e%62]+t,e=Math.floor(e/62);return t},e.decode=function(e,t,n,r){for(t=n=(e===(/\W|_|^$/.test(e+="")||e))-1;r=e.charCodeAt(n++);)t=62*t+r-[,48,29,87][r>>5];return t},e}({});e.exports=t},function(e,t,n){t.SourceMapGenerator=n(60).SourceMapGenerator,t.SourceMapConsumer=n(98).SourceMapConsumer,t.SourceNode=n(99).SourceNode},function(e,t,n){var r;r=function(e,t){var n={},r={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach(function(e,t){n[e]=t,r[t]=e}),t.encode=function(e){if(e in r)return r[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){if(e in n)return n[e];throw new TypeError("Not a valid base 64 digit: "+e)}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e,t){function n(e,t,r,o,a){var i=Math.floor((t-e)/2)+e,s=a(r,o[i],!0);return 0===s?o[i]:s>0?t-i>1?n(i,t,r,o,a):o[i]:i-e>1?n(e,i,r,o,a):0>e?null:o[e]}t.search=function(e,t,r){return t.length>0?n(-1,t.length,e,t,r):null}}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e,t){function r(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=o.getArg(t,"version"),r=o.getArg(t,"sources"),a=o.getArg(t,"names",[]),s=o.getArg(t,"sourceRoot",null),u=o.getArg(t,"sourcesContent",null),c=o.getArg(t,"mappings"),l=o.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);this._names=i.fromArray(a,!0),this._sources=i.fromArray(r,!0),this.sourceRoot=s,this.sourcesContent=u,this._mappings=c,this.file=l}var o=n(32),a=n(97),i=n(58).ArraySet,s=n(59);r.fromSourceMap=function(e){var t=Object.create(r.prototype);return t._names=i.fromArray(e._names.toArray(),!0),t._sources=i.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(o.compareByGeneratedPositions),t.__originalMappings=e._mappings.slice().sort(o.compareByOriginalPositions),t},r.prototype._version=3,Object.defineProperty(r.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return this.sourceRoot?o.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){for(var t,n,r=1,a=0,i=0,u=0,c=0,l=0,p=/^[,;]/,d=e;d.length>0;)if(";"===d.charAt(0))r++,d=d.slice(1),a=0;else if(","===d.charAt(0))d=d.slice(1);else{if(t={},t.generatedLine=r,n=s.decode(d),t.generatedColumn=a+n.value,a=t.generatedColumn,d=n.rest,d.length>0&&!p.test(d.charAt(0))){if(n=s.decode(d),t.source=this._sources.at(c+n.value),c+=n.value,d=n.rest,0===d.length||p.test(d.charAt(0)))throw new Error("Found a source, but no line and column");if(n=s.decode(d),t.originalLine=i+n.value,i=t.originalLine,t.originalLine+=1,d=n.rest,0===d.length||p.test(d.charAt(0)))throw new Error("Found a source and line, but no column");n=s.decode(d),t.originalColumn=u+n.value,u=t.originalColumn,d=n.rest,d.length>0&&!p.test(d.charAt(0))&&(n=s.decode(d),t.name=this._names.at(l+n.value),l+=n.value,d=n.rest)}this.__generatedMappings.push(t),"number"==typeof t.originalLine&&this.__originalMappings.push(t)}this.__originalMappings.sort(o.compareByOriginalPositions)},r.prototype._findMapping=function(e,t,n,r,o){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 a.search(e,t,o)},r.prototype.originalPositionFor=function(e){var t={generatedLine:o.getArg(e,"line"),generatedColumn:o.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",o.compareByGeneratedPositions);if(n){var r=o.getArg(n,"source",null);return r&&this.sourceRoot&&(r=o.join(this.sourceRoot,r)),{source:r,line:o.getArg(n,"originalLine",null),column:o.getArg(n,"originalColumn",null),name:o.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=o.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var t;if(this.sourceRoot&&(t=o.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:o.getArg(e,"source"),originalLine:o.getArg(e,"line"),originalColumn:o.getArg(e,"column")};this.sourceRoot&&(t.source=o.relative(this.sourceRoot,t.source));var n=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions);return n?{line:o.getArg(n,"generatedLine",null),column:o.getArg(n,"generatedColumn",null)}:{line:null,column:null}},r.GENERATED_ORDER=1,r.ORIGINAL_ORDER=2,r.prototype.eachMapping=function(e,t,n){var a,i=t||null,s=n||r.GENERATED_ORDER;switch(s){case r.GENERATED_ORDER:a=this._generatedMappings;break;case r.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var u=this.sourceRoot;a.map(function(e){var t=e.source;return t&&u&&(t=o.join(u,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name}}).forEach(e,i)},t.SourceMapConsumer=r}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){var r;r=function(e,t){function r(e,t,n,r,o){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===o?null:o,null!=r&&this.add(r)}var o=n(60).SourceMapGenerator,a=n(32);r.fromStringWithSourceMap=function(e,t){function n(e,t){o.add(null===e||void 0===e.source?t:new r(e.originalLine,e.originalColumn,e.source,t,e.name))}var o=new r,a=e.split("\n"),i=1,s=0,u=null;return t.eachMapping(function(e){if(null===u){for(;i=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,o=this.children.length;o>n;n++)t=this.children[n],t 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;r-1>n;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[a.toSetString(e)]=t},r.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;n>t;t++)this.children[t]instanceof r&&this.children[t].walkSourceContents(e);for(var o=Object.keys(this.sourceContents),t=0,n=o.length;n>t;t++)e(a.fromSetString(o[t]),this.sourceContents[o[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 o(e),r=!1,a=null,i=null,s=null,u=null;return this.walk(function(e,o){t.code+=e,null!==o.source&&null!==o.line&&null!==o.column?((a!==o.source||i!==o.line||s!==o.column||u!==o.name)&&n.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:t.line,column:t.column},name:o.name}),a=o.source,i=o.line,s=o.column,u=o.name,r=!0):r&&(n.addMapping({generated:{line:t.line,column:t.column}}),a=null,r=!1),e.split("").forEach(function(e){"\n"===e?(t.line++,t.column=0):t.column++})}),this.walkSourceContents(function(e,t){n.setSourceContent(e,t)}),{code:t.code,map:n}},t.SourceNode=r}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t){function n(e){var t=e.match(a);return t?t[0].replace(i,"")||"":""}function r(e){e=e.replace(s,"").replace(u,"").replace(c," ").replace(l,"$1");for(var t="";t!=e;)t=e,e=e.replace(p,"\n$1 $2\n");e=e.trim();for(var n,r=[];n=d.exec(e);)r.push([n[1],n[2]]);return r}function o(e){for(var t=r(e),n={},o=0;o0){b.catchupNewlines(d[0].range[0],r);for(var f=0;f0&&(b.append(",",r),b.catchupWhiteSpace(t.arguments[0].range[0],r),e(t.arguments,n,r)),b.catchupWhiteSpace(t.range[1],r),b.append(")",r),!1}function g(e,t,n,r){var o=r.superClass.name;b.append(N+o,r),b.move(t.object.range[1],r)}var v=n(94),E=n(8).Syntax,b=n(7),C=n(41),w=b.declareIdentInLocalScope,S=b.initScopeMetadata,N="____SuperProtoOf",x=0,_={};c.test=function(e){return e.type===E.MethodDefinition},l.test=function(e,t){return e.type===E.FunctionExpression&&t[0].type===E.MethodDefinition},p.test=function(e,t){if(t[0]&&t[1]){var n=t[0],r=t[1];return n.type===E.FunctionExpression&&r.type===E.MethodDefinition&&e.type===E.Identifier}},f.test=function(e){return e.type===E.ClassDeclaration},h.test=function(e){return e.type===E.ClassExpression},m.test=function(e,t,n){if(e.type===E.Identifier&&u(e,n)){if(t[0].type===E.MemberExpression&&t[0].object!==e&&t[0].computed===!1)return!0;if(b.identWithinLexicalScope(e.name,n,n.methodFuncNode))return!0;if(t[0].type===E.Property&&t[1].type===E.ObjectExpression)return!0;if(t[0].type===E.FunctionExpression||t[0].type===E.FunctionDeclaration||t[0].type===E.ArrowFunctionExpression)for(var r=0;r0&&!c.tail&&u.append(" + ",r),u.move(c.range[1],r),!c.tail){var l=t.expressions[i];l.type===s.Identifier||l.type===s.MemberExpression||l.type===s.CallExpression?u.catchup(l.range[1],r):(u.append("(",r),e(l,n,r),u.catchup(l.range[1],r),u.append(")",r)),""!==o[i+1].value.cooked&&u.append(" + ",r)}}return u.move(t.range[1],r),u.append(")",r),!1}function o(e,t,n,r){var o=t.quasi,s=o.quasis.length;u.move(t.tag.range[0],r),e(t.tag,n,r),u.catchup(t.tag.range[1],r),u.append("(function() { var siteObj = [",r);for(var c=0;s>c;c++)u.append(a(o.quasis[c]),r),c!==s-1&&u.append(", ",r);for(u.append("]; siteObj.raw = [",r),c=0;s>c;c++)u.append(i(o.quasis[c]),r),c!==s-1&&u.append(", ",r);if(u.append("]; Object.freeze(siteObj.raw); Object.freeze(siteObj); return siteObj; }()",r),s>1)for(c=0;c0){var b;E.forEach(function(e,t){(e.type!==i.XJSExpressionContainer||e.expression.type!==i.XJSEmptyExpression)&&(b=t)}),void 0!==b&&s.append(", ",a),E.forEach(function(t,r){s.catchup(t.range[0],a,d);var o=r>=b;t.type===i.Literal?l(t,o,a):t.type===i.XJSExpressionContainer?c(e,t,o,n,a):(e(t,n,a),o||s.append(", ",a)),s.catchup(t.range[1],a,d)})}return f.selfClosing?(s.catchup(f.range[1]-2,a,d),s.move(f.range[1],a)):(s.catchup(t.closingElement.range[0],a,d),s.move(t.closingElement.range[1],a)),s.append(")",a),!1}var i=n(33).Syntax,s=n(7),u=n(28).knownTags,c=n(28).renderXJSExpressionContainer,l=n(28).renderXJSLiteral,p=n(28).quoteAttrName,d=n(28).trimLeft,f=/([^\s\(\)])/g,h=/^[a-z]|\-/;a.test=function(e){return e.type===i.XJSElement},t.visitorList=[a]},function(e,t,n){"use strict";function r(e,t,n){if(t&&t.type===a.CallExpression&&t.callee.type===a.MemberExpression&&t.callee.object.type===a.Identifier&&"React"===t.callee.object.name&&t.callee.property.type===a.Identifier&&"createClass"===t.callee.property.name&&1===t.arguments.length&&t.arguments[0].type===a.ObjectExpression){var r=t.arguments[0].properties,o=r.every(function(e){var t=e.key.type===a.Identifier?e.key.name:e.key.value;return"displayName"!==t});o&&(i.catchup(t.arguments[0].range[0]+1,n),i.append('displayName: "'+e+'",',n))}}function o(e,t,n,o){var i,s;t.type===a.AssignmentExpression?(i=t.left,s=t.right):t.type===a.Property?(i=t.key,s=t.value):t.type===a.VariableDeclarator&&(i=t.id,s=t.init),i&&i.type===a.MemberExpression&&(i=i.property),i&&i.type===a.Identifier&&r(i.name,s,o)}var a=n(33).Syntax,i=n(7);o.test=function(e){return e.type===a.AssignmentExpression||e.type===a.Property||e.type===a.VariableDeclarator},t.visitorList=[o]},function(e,t,n){function r(e){for(var t=[],n=0,r=g.length;r>n;n++)e&&-1!==e.indexOf(g[n])||(t=t.concat(m[g[n]]));return t}function o(e){for(var t=e.reduce(function(e,t){if(!y.hasOwnProperty(t))throw new Error("Unknown visitor set: "+t);return y[t].forEach(function(t){e[t]=!0 -}),e},{}),n=[],r=0;r8));var P=!1;C.canUseDOM&&(P=N("input")&&(!("documentMode"in document)||document.documentMode>9));var R={get:function(){return M.get.call(this)},set:function(e){A=""+e,M.set.call(this,e)}},L={eventTypes:D,extractEvents:function(e,t,n,o){var a,i;if(r(t)?k?a=u:i=c:x(t)?P?a=f:(a=m,i=h):y(t)&&(a=g),a){var s=a(e,t,n);if(s){var l=S.getPooled(D.change,s,o);return b.accumulateTwoPhaseDispatches(l),l}}i&&i(e,t,n)}};e.exports=L},function(e){"use strict";var t=0,n={createReactRootIndex:function(){return t++}};e.exports=n},function(e,t,n){"use strict";function r(e){switch(e){case v.topCompositionStart:return b.compositionStart;case v.topCompositionEnd:return b.compositionEnd;case v.topCompositionUpdate:return b.compositionUpdate}}function o(e,t){return e===v.topKeyDown&&t.keyCode===m}function a(e,t){switch(e){case v.topKeyUp:return-1!==h.indexOf(t.keyCode);case v.topKeyDown:return t.keyCode!==m;case v.topKeyPress:case v.topMouseDown:case v.topBlur:return!0;default:return!1}}function i(e){this.root=e,this.startSelection=l.getSelection(e),this.startValue=this.getText()}var s=n(9),u=n(23),c=n(5),l=n(47),p=n(152),d=n(55),f=n(16),h=[9,13,27,32],m=229,y=c.canUseDOM&&"CompositionEvent"in window,g=!y||"documentMode"in document&&document.documentMode>8&&document.documentMode<=11,v=s.topLevelTypes,E=null,b={compositionEnd:{phasedRegistrationNames:{bubbled:f({onCompositionEnd:null}),captured:f({onCompositionEndCapture:null})},dependencies:[v.topBlur,v.topCompositionEnd,v.topKeyDown,v.topKeyPress,v.topKeyUp,v.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:f({onCompositionStart:null}),captured:f({onCompositionStartCapture:null})},dependencies:[v.topBlur,v.topCompositionStart,v.topKeyDown,v.topKeyPress,v.topKeyUp,v.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:f({onCompositionUpdate:null}),captured:f({onCompositionUpdateCapture:null})},dependencies:[v.topBlur,v.topCompositionUpdate,v.topKeyDown,v.topKeyPress,v.topKeyUp,v.topMouseDown]}};i.prototype.getText=function(){return this.root.value||this.root[d()]},i.prototype.getData=function(){var e=this.getText(),t=this.startSelection.start,n=this.startValue.length-this.startSelection.end;return e.substr(t,e.length-n-t)};var C={eventTypes:b,extractEvents:function(e,t,n,s){var c,l;if(y?c=r(e):E?a(e,s)&&(c=b.compositionEnd):o(e,s)&&(c=b.compositionStart),g&&(E||c!==b.compositionStart?c===b.compositionEnd&&E&&(l=E.getData(),E=null):E=new i(t)),c){var d=p.getPooled(c,n,s);return l&&(d.data=l),u.accumulateTwoPhaseDispatches(d),d}}};e.exports=C},function(e,t,n){(function(t){"use strict";function r(e,t,n){e.insertBefore(t,e.childNodes[n]||null)}var o,a=n(117),i=n(69),s=n(55),u=n(2),c=s();o="textContent"===c?function(e,t){e.textContent=t}:function(e,t){for(;e.firstChild;)e.removeChild(e.firstChild);if(t){var n=e.ownerDocument||document;e.appendChild(n.createTextNode(t))}};var l={dangerouslyReplaceNodeWithMarkup:a.dangerouslyReplaceNodeWithMarkup,updateTextContent:o,processUpdates:function(e,n){for(var s,c=null,l=null,p=0;s=e[p];p++)if(s.type===i.MOVE_EXISTING||s.type===i.REMOVE_NODE){var d=s.fromIndex,f=s.parentNode.childNodes[d],h=s.parentID;"production"!==t.env.NODE_ENV?u(f,"processUpdates(): Unable to find child %s of element. This probably means the DOM was unexpectedly mutated (e.g., by the browser), usually due to forgetting a when using tables, nesting tags like ,

, or , or using non-SVG elements in an parent. Try inspecting the child nodes of the element with React ID `%s`.",d,h):u(f),c=c||{},c[h]=c[h]||[],c[h][d]=f,l=l||[],l.push(f)}var m=a.dangerouslyRenderMarkup(n);if(l)for(var y=0;y]+)/,l="data-danger-index",p={dangerouslyRenderMarkup:function(e){"production"!==t.env.NODE_ENV?u(o.canUseDOM,"dangerouslyRenderMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use React.renderToString for server rendering."):u(o.canUseDOM);for(var n,p={},d=0;d node. This is because browser quirks make this unreliable and/or slow. If you want to render to the root you must use server rendering. See renderComponentToString()."):u("html"!==e.tagName.toLowerCase());var r=a(n,i)[0];e.parentNode.replaceChild(r,e)}};e.exports=p}).call(t,n(1))},function(e,t,n){"use strict";var r=n(16),o=[r({ResponderEventPlugin:null}),r({SimpleEventPlugin:null}),r({TapEventPlugin:null}),r({EnterLeaveEventPlugin:null}),r({ChangeEventPlugin:null}),r({SelectEventPlugin:null}),r({CompositionEventPlugin:null}),r({BeforeInputEventPlugin:null}),r({AnalyticsEventPlugin:null}),r({MobileSafariClickEventPlugin:null})];e.exports=o},function(e,t,n){"use strict";var r=n(9),o=n(23),a=n(36),i=n(11),s=n(16),u=r.topLevelTypes,c=i.getFirstReactDOM,l={mouseEnter:{registrationName:s({onMouseEnter:null}),dependencies:[u.topMouseOut,u.topMouseOver]},mouseLeave:{registrationName:s({onMouseLeave:null}),dependencies:[u.topMouseOut,u.topMouseOver]}},p=[null,null],d={eventTypes:l,extractEvents:function(e,t,n,r){if(e===u.topMouseOver&&(r.relatedTarget||r.fromElement))return null;if(e!==u.topMouseOut&&e!==u.topMouseOver)return null;var s;if(t.window===t)s=t;else{var d=t.ownerDocument;s=d?d.defaultView||d.parentWindow:window}var f,h;if(e===u.topMouseOut?(f=t,h=c(r.relatedTarget||r.toElement)||s):(f=s,h=t),f===h)return null;var m=f?i.getID(f):"",y=h?i.getID(h):"",g=a.getPooled(l.mouseLeave,m,r);g.type="mouseleave",g.target=f,g.relatedTarget=h;var v=a.getPooled(l.mouseEnter,y,r);return v.type="mouseenter",v.target=h,v.relatedTarget=f,o.accumulateEnterLeaveDispatches(g,v,m,y),p[0]=g,p[1]=v,p}};e.exports=d},function(e,t,n){(function(t){var r=n(15),o={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,n,o){return e.addEventListener?(e.addEventListener(n,o,!0),{remove:function(){e.removeEventListener(n,o,!0)}}):("production"!==t.env.NODE_ENV&&console.error("Attempted to listen to events during the capture phase on a browser that does not support the capture phase. Your application will not receive some events."),{remove:r})},registerDefault:function(){}};e.exports=o}).call(t,n(1))},function(e,t,n){"use strict";var r,o=n(19),a=n(5),i=o.injection.MUST_USE_ATTRIBUTE,s=o.injection.MUST_USE_PROPERTY,u=o.injection.HAS_BOOLEAN_VALUE,c=o.injection.HAS_SIDE_EFFECTS,l=o.injection.HAS_NUMERIC_VALUE,p=o.injection.HAS_POSITIVE_NUMERIC_VALUE,d=o.injection.HAS_OVERLOADED_BOOLEAN_VALUE;if(a.canUseDOM){var f=document.implementation;r=f&&f.hasFeature&&f.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")}var h={isCustomAttribute:RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\d_.\-]*$/),Properties:{accept:null,acceptCharset:null,accessKey:null,action:null,allowFullScreen:i|u,allowTransparency:i,alt:null,async:u,autoComplete:null,autoPlay:u,cellPadding:null,cellSpacing:null,charSet:i,checked:s|u,classID:i,className:r?i:s,cols:i|p,colSpan:null,content:null,contentEditable:null,contextMenu:i,controls:s|u,coords:null,crossOrigin:null,data:null,dateTime:i,defer:u,dir:null,disabled:i|u,download:d,draggable:null,encType:null,form:i,formAction:i,formEncType:i,formMethod:i,formNoValidate:u,formTarget:i,frameBorder:i,height:i,hidden:i|u,href:null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:s,label:null,lang:null,list:i,loop:s|u,manifest:i,marginHeight:null,marginWidth:null,max:null,maxLength:i,media:i,mediaGroup:null,method:null,min:null,multiple:s|u,muted:s|u,name:null,noValidate:u,open:null,pattern:null,placeholder:null,poster:null,preload:null,radioGroup:null,readOnly:s|u,rel:null,required:u,role:i,rows:i|p,rowSpan:null,sandbox:null,scope:null,scrolling:null,seamless:i|u,selected:s|u,shape:null,size:i|p,sizes:i,span:p,spellCheck:null,src:null,srcDoc:s,srcSet:i,start:l,step:null,style:null,tabIndex:null,target:null,title:null,type:null,useMap:null,value:s|c,width:i,wmode:i,autoCapitalize:null,autoCorrect:null,itemProp:i,itemScope:i|u,itemType:i,property:null},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{autoCapitalize:"autocapitalize",autoComplete:"autocomplete",autoCorrect:"autocorrect",autoFocus:"autofocus",autoPlay:"autoplay",encType:"enctype",hrefLang:"hreflang",radioGroup:"radiogroup",spellCheck:"spellcheck",srcDoc:"srcdoc",srcSet:"srcset"}};e.exports=h},function(e,t,n){"use strict";var r=n(9),o=n(15),a=r.topLevelTypes,i={eventTypes:null,extractEvents:function(e,t,n,r){if(e===a.topTouchStart){var i=r.target;i&&!i.onclick&&(i.onclick=o)}}};e.exports=i},function(e,t,n){(function(t){"use strict";var r=n(22),o=n(43),a=n(124),i=n(25),s=n(10),u=n(45),c=n(20),l=n(4),p=n(46),d=n(18),f=n(66),h=n(136),m=n(26),y=n(30),g=n(11),v=n(68),E=n(13),b=n(74),C=n(145),w=n(77),S=n(3),N=n(49),x=n(175);h.inject();var _=l.createElement,T=l.createFactory;"production"!==t.env.NODE_ENV&&(_=p.createElement,T=p.createFactory),_=y.wrapCreateElement(_),T=y.wrapCreateFactory(T);var D=E.measure("React","render",g.render),O={Children:{map:a.map,forEach:a.forEach,count:a.count,only:x},DOM:d,PropTypes:b,initializeTouchEvents:function(e){o.useTouchEvents=e},createClass:s.createClass,createElement:_,createFactory:T,constructAndRenderComponent:g.constructAndRenderComponent,constructAndRenderComponentByID:g.constructAndRenderComponentByID,render:D,renderToString:C.renderToString,renderToStaticMarkup:C.renderToStaticMarkup,unmountComponentAtNode:g.unmountComponentAtNode,isValidClass:y.isValidClass,isValidElement:l.isValidElement,withContext:u.withContext,__spread:S,renderComponent:N("React","renderComponent","render",this,D),renderComponentToString:N("React","renderComponentToString","renderToString",this,C.renderToString),renderComponentToStaticMarkup:N("React","renderComponentToStaticMarkup","renderToStaticMarkup",this,C.renderToStaticMarkup),isValidComponent:N("React","isValidComponent","isValidElement",this,l.isValidElement)};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({Component:i,CurrentOwner:c,DOMComponent:f,DOMPropertyOperations:r,InstanceHandles:m,Mount:g,MultiChild:v,TextComponent:w}),"production"!==t.env.NODE_ENV){var I=n(5);if(I.canUseDOM&&window.top===window.self){navigator.userAgent.indexOf("Chrome")>-1&&"undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&console.debug("Download the React DevTools for a better development experience: http://fb.me/react-devtools");for(var A=[Array.isArray,Array.prototype.every,Array.prototype.forEach,Array.prototype.indexOf,Array.prototype.map,Date.now,Function.prototype.bind,Object.keys,String.prototype.split,String.prototype.trim,Object.create,Object.freeze],M=0;Ml;l++){var m=c[l];if(m!==s&&m.form===s.form){var g=p.getID(m);"production"!==t.env.NODE_ENV?h(g,"ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported."):h(g);var v=y[g];"production"!==t.env.NODE_ENV?h(v,"ReactDOMInput: Unknown radio button ID %s.",g):h(v),d.asap(r,v)}}}return n}});e.exports=g}).call(t,n(1))},function(e,t,n){(function(t){"use strict";var r=n(12),o=n(10),a=n(4),i=n(18),s=n(6),u=a.createFactory(i.option.type),c=o.createClass({displayName:"ReactDOMOption",mixins:[r],componentWillMount:function(){"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?s(null==this.props.selected,"Use the `defaultValue` or `value` props on , and ) reliably and efficiently. To fix this, have a single top-level component that never unmounts render these elements.",this.constructor.displayName):i(!1)},render:function(){return n(this.props)}});return r}var o=n(10),a=n(4),i=n(2);e.exports=r}).call(t,n(1))},function(e,t,n){(function(t){function r(e){var t=e.match(l);return t&&t[1].toLowerCase()}function o(e,n){var o=c;"production"!==t.env.NODE_ENV?u(!!c,"createNodesFromMarkup dummy not initialized"):u(!!c);var a=r(e),l=a&&s(a);if(l){o.innerHTML=l[1]+e+l[2];for(var p=l[0];p--;)o=o.lastChild}else o.innerHTML=e;var d=o.getElementsByTagName("script");d.length&&("production"!==t.env.NODE_ENV?u(n,"createNodesFromMarkup(...): Unexpected