From 2e3c7a1aa5831d93a4e73edf39a877d9985045f0 Mon Sep 17 00:00:00 2001 From: Gabriel Csapo Date: Tue, 24 Oct 2017 02:24:03 -0700 Subject: [PATCH] 1.1.1 - fixes location of bin --- CHANGELOG.md | 4 ++++ dist/bundle.js | 2 +- docs/index.html | 2 +- package.json | 4 ++-- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f02dcf0..8c2d0ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 1.1.1 (10/24/2017) + +- fixes location of bin + # 1.1.0 (10/24/2017) - adds the ability to parse `cobertura`, `golang` and `jacoco` diff --git a/dist/bundle.js b/dist/bundle.js index 832a8a5..01c39df 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -11,7 +11,7 @@ webpackJsonp([0],[,,,,function(e){function t(e,t){var a=e[1]||"",n=e[3];if(!n)re //! authors : Tim Wood, Iskren Chernev, Moment.js contributors //! license : MIT //! momentjs.com -(function(t,o){e.exports=o()})(this,function(){"use strict";function t(){return Rt.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function n(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function r(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function l(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var o=[],a;for(a=0;at.overflow&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&o);if(e._strict&&(a=a&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null==Object.isFrozen||!Object.isFrozen(e))e._isValid=a;else return a}return e._isValid}function m(e){var t=p(NaN);return null==e?b(t).userInvalidated=!0:c(b(t),e),t}function g(e,t){var o,a,n;if(l(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),l(t._i)||(e._i=t._i),l(t._f)||(e._f=t._f),l(t._l)||(e._l=t._l),l(t._strict)||(e._strict=t._strict),l(t._tzm)||(e._tzm=t._tzm),l(t._isUTC)||(e._isUTC=t._isUTC),l(t._offset)||(e._offset=t._offset),l(t._pf)||(e._pf=b(t)),l(t._locale)||(e._locale=t._locale),0e?Dt(e)||0:a(e)}function x(e){var t=+e,o=0;return 0!=t&&isFinite(t)&&(o=_(t)),o}function k(e,t,o){var a=Ct(e.length,t.length),n=Tt(e.length-t.length),r=0,l;for(l=0;ln;++n)l=p([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(l,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(l,"").toLocaleLowerCase();return o?"MMM"===t?(r=xo.call(this._shortMonthsParse,a),-1===r?null:r):(r=xo.call(this._longMonthsParse,a),-1===r?null:r):"MMM"===t?(r=xo.call(this._shortMonthsParse,a),-1!==r)?r:(r=xo.call(this._longMonthsParse,a),-1===r?null:r):(r=xo.call(this._longMonthsParse,a),-1!==r)?r:(r=xo.call(this._shortMonthsParse,a),-1===r?null:r)}function te(e,t){var o;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=x(t);else if(t=e.localeData().monthsParse(t),!s(t))return e;return o=Ct(e.date(),Q(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,o),e}function oe(e){return null==e?J(this,"Month"):(te(this,e),t.updateOffset(this,!0),this)}function ae(){function e(e,t){return t.length-e.length}var t=[],o=[],a=[],n,r;for(n=0;12>n;n++)r=p([2e3,n]),t.push(this.monthsShort(r,"")),o.push(this.months(r,"")),a.push(this.months(r,"")),a.push(this.monthsShort(r,""));for(t.sort(e),o.sort(e),a.sort(e),n=0;12>n;n++)t[n]=z(t[n]),o[n]=z(o[n]);for(n=0;24>n;n++)a[n]=z(a[n]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function ne(e,t,o,a,n,r,l){var i=new Date(e,t,o,a,n,r,l);return 100>e&&0<=e&&isFinite(i.getFullYear())&&i.setFullYear(e),i}function re(e){var t=new Date(Date.UTC.apply(null,arguments));return 100>e&&0<=e&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function le(e,t,o){var a=7+t-o,n=(7+re(e,0,a).getUTCDay()-t)%7;return-n+a-1}function ie(e,t,o,a,n){var r=le(e,a,n),l=1+7*(t-1)+(7+o-a)%7+r,i,s;return 0>=l?(i=e-1,s=G(i)+l):l>G(e)?(i=e+1,s=l-G(e)):(i=e,s=l),{year:i,dayOfYear:s}}function se(e,t,o){var n=le(e.year(),t,o),r=a((e.dayOfYear()-n-1)/7)+1,l,i;return 1>r?(i=e.year()-1,l=r+de(i,t,o)):r>de(e.year(),t,o)?(l=r-de(e.year(),t,o),i=e.year()+1):(i=e.year(),l=r),{week:l,year:i}}function de(e,t,o){var a=le(e,t,o),n=le(e+1,t,o);return(G(e)-a+n)/7}function ue(e,t){return"string"==typeof e?isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10):e}function ce(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function pe(e,t,o){var a=e.toLocaleLowerCase(),n,r,l;if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;7>n;++n)l=p([2000,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(l,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(l,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(l,"").toLocaleLowerCase();return o?"dddd"===t?(r=xo.call(this._weekdaysParse,a),-1===r?null:r):"ddd"===t?(r=xo.call(this._shortWeekdaysParse,a),-1===r?null:r):(r=xo.call(this._minWeekdaysParse,a),-1===r?null:r):"dddd"===t?(r=xo.call(this._weekdaysParse,a),-1!==r)?r:(r=xo.call(this._shortWeekdaysParse,a),-1!==r)?r:(r=xo.call(this._minWeekdaysParse,a),-1===r?null:r):"ddd"===t?(r=xo.call(this._shortWeekdaysParse,a),-1!==r)?r:(r=xo.call(this._weekdaysParse,a),-1!==r)?r:(r=xo.call(this._minWeekdaysParse,a),-1===r?null:r):(r=xo.call(this._minWeekdaysParse,a),-1!==r)?r:(r=xo.call(this._weekdaysParse,a),-1!==r)?r:(r=xo.call(this._shortWeekdaysParse,a),-1===r?null:r)}function fe(){function e(e,t){return t.length-e.length}var t=[],o=[],a=[],n=[],r,l,i,s,d;for(r=0;7>r;r++)l=p([2000,1]).day(r),i=this.weekdaysMin(l,""),s=this.weekdaysShort(l,""),d=this.weekdays(l,""),t.push(i),o.push(s),a.push(d),n.push(i),n.push(s),n.push(d);for(t.sort(e),o.sort(e),a.sort(e),n.sort(e),r=0;7>r;r++)o[r]=z(o[r]),a[r]=z(a[r]),n[r]=z(n[r]);this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function be(){return this.hours()%12||12}function he(e,t){j(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function me(e,t){return t._meridiemParse}function ge(e){return e?e.toLowerCase().replace("_","-"):e}function ye(e){for(var t=0,o,a,n,r;t=o&&k(r,a,!0)>=o-1)break;o--}t++}return null}function ve(t){var o=null;if(!Po[t]&&"undefined"!=typeof e&&e&&e.exports)try{o=Ao._abbr;!function(){var t=new Error("Cannot find module \"./locale\"");throw t.code="MODULE_NOT_FOUND",t}(),_e(o)}catch(t){}return Po[t]}function _e(e,t){var o;return e&&(o=l(t)?ke(e):xe(e,t),o&&(Ao=o)),Ao._abbr}function xe(e,t){if(null!==t){var o=Eo;if(t.abbr=e,null!=Po[e])O("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),o=Po[e]._config;else if(null!=t.parentLocale)if(null!=Po[t.parentLocale])o=Po[t.parentLocale]._config;else return To[t.parentLocale]||(To[t.parentLocale]=[]),To[t.parentLocale].push({name:e,config:t}),null;return Po[e]=new P(E(o,t)),To[e]&&To[e].forEach(function(e){xe(e.name,e.config)}),_e(e),Po[e]}return delete Po[e],null}function ke(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ao;if(!o(e)){if(t=ve(e),t)return t;e=[e]}return ye(e)}function we(e){var t=e._a,o;return t&&-2===b(e).overflow&&(o=0>t[po]||11t[fo]||t[fo]>Q(t[co],t[po])?fo:0>t[bo]||24t[ho]||59t[mo]||59t[go]||999fo)&&(o=fo),b(e)._overflowWeeks&&-1===o&&(o=yo),b(e)._overflowWeekday&&-1===o&&(o=vo),b(e).overflow=o),e}function Se(e,t,o){return null==e?null==t?o:t:e}function Oe(e){var o=new Date(t.now());return e._useUTC?[o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()]:[o.getFullYear(),o.getMonth(),o.getDate()]}function Me(e){var t=[],o,a,n,r;if(!e._d){for(n=Oe(e),e._w&&null==e._a[fo]&&null==e._a[po]&&Ee(e),null!=e._dayOfYear&&(r=Se(e._a[co],n[co]),(e._dayOfYear>G(r)||0===e._dayOfYear)&&(b(e)._overflowDayOfYear=!0),a=re(r,0,e._dayOfYear),e._a[po]=a.getUTCMonth(),e._a[fo]=a.getUTCDate()),o=0;3>o&&null==e._a[o];++o)e._a[o]=t[o]=n[o];for(;7>o;o++)e._a[o]=t[o]=null==e._a[o]?2===o?1:0:e._a[o];24===e._a[bo]&&0===e._a[ho]&&0===e._a[mo]&&0===e._a[go]&&(e._nextDay=!0,e._a[bo]=0),e._d=(e._useUTC?re:ne).apply(null,t),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[bo]=24),e._w&&"undefined"!=typeof e._w.d&&e._w.d!==e._d.getDay()&&(b(e).weekdayMismatch=!0)}}function Ee(e){var t,o,a,n,r,l,i,s;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)r=1,l=4,o=Se(t.GG,e._a[co],se(He(),1,4).year),a=Se(t.W,1),n=Se(t.E,1),(1>n||7t.e||6n||6a||a>de(o,r,l)?b(e)._overflowWeeks=!0:null==s?(i=ie(o,a,n,r,l),e._a[co]=i.year,e._dayOfYear=i.dayOfYear):b(e)._overflowWeekday=!0}function Pe(e){var t=e._i,o=Co.exec(t)||Do.exec(t),a,n,r,l,i,s;if(o){for(b(e).iso=!0,a=0,n=Io.length;a=t?2e3+t:999>=t?1900+t:t}function De(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function Re(e,t,o){if(e){var a=So.indexOf(e),n=new Date(t[0],t[1],t[2]).getDay();if(a!==n)return b(o).weekdayMismatch=!0,o._isValid=!1,!1}return!0}function Ie(e,t,o){if(e)return No[e];if(t)return 0;var a=parseInt(o,10),n=a%100;return 60*((a-n)/100)+n}function Ye(e){var t=Vo.exec(De(e._i));if(t){var o=Te(t[4],t[3],t[2],t[5],t[6],t[7]);if(!Re(t[1],o,e))return;e._a=o,e._tzm=Ie(t[8],t[9],t[10]),e._d=re.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),b(e).rfc2822=!0}else e._isValid=!1}function je(e){var o=jo.exec(e._i);if(null!==o)return void(e._d=new Date(+o[1]));if(Pe(e),!1===e._isValid)delete e._isValid;else return;if(Ye(e),!1===e._isValid)delete e._isValid;else return;t.createFromInputFallback(e)}function Ve(e){if(e._f===t.ISO_8601)return void Pe(e);if(e._f===t.RFC_2822)return void Ye(e);e._a=[],b(e).empty=!0;var o=""+e._i,a=o.length,n=0,r,l,i,s,d;for(i=L(e._f,e._locale).match(Ft)||[],r=0;r=e._a[bo]&&!0===b(e).bigHour&&0t&&(t+=12),a||12!==t||(t=0),t):e.meridiemHour(t,o)}function Ae(e){var t,o,a,n,r;if(0===e._f.length)return b(e).invalidFormat=!0,void(e._d=new Date(NaN));for(n=0;ne?-1*Pt(-1*e):Pt(e)}function Je(e,t){j(e,0,0,function(){var e=this.utcOffset(),o="+";return 0>e&&(e=-e,o="-"),o+Y(~~(e/60),2)+t+Y(~~e%60,2)})}function Xe(e,t){var o=(t||"").match(e);if(null===o)return null;var a=o[o.length-1]||[],n=(a+"").match(Wo)||["-",0,0],r=+(60*n[1])+x(n[2]);return 0===r?0:"+"===n[0]?r:-r}function $e(e,o){var a,n;return o._isUTC?(a=o.clone(),n=(v(e)||i(e)?e.valueOf():He(e).valueOf())-a.valueOf(),a._d.setTime(a._d.valueOf()+n),t.updateOffset(a,!1),a):He(e).local()}function Qe(e){return 15*-Pt(e._d.getTimezoneOffset()/15)}function et(){return!!this.isValid()&&this._isUTC&&0===this._offset}function tt(e,t){var o=e,a=null,n,r,l;return qe(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(o={},t?o[t]=e:o.milliseconds=e):(a=zo.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:x(a[fo])*n,h:x(a[bo])*n,m:x(a[ho])*n,s:x(a[mo])*n,ms:x(Ze(1e3*a[go]))*n}):(a=Ho.exec(e))?(n="-"===a[1]?-1:"+"===a[1]?1:1,o={y:ot(a[2],n),M:ot(a[3],n),w:ot(a[4],n),d:ot(a[5],n),h:ot(a[6],n),m:ot(a[7],n),s:ot(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(l=nt(He(o.from),He(o.to)),o={},o.ms=l.milliseconds,o.M=l.months),r=new Ge(o),qe(e)&&u(e,"_locale")&&(r._locale=e._locale),r}function ot(e,t){var o=e&&parseFloat(e.replace(",","."));return(isNaN(o)?0:o)*t}function at(e,t){var o={milliseconds:0,months:0};return o.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(o.months,"M").isAfter(t)&&--o.months,o.milliseconds=+t-+e.clone().add(o.months,"M"),o}function nt(e,t){var o;return e.isValid()&&t.isValid()?(t=$e(t,e),e.isBefore(t)?o=at(e,t):(o=at(t,e),o.milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0}}function rt(e,t){return function(o,a){var n,r;return null===a||isNaN(+a)||(O(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=o,o=a,a=r),o="string"==typeof o?+o:o,n=tt(o,a),lt(this,n,e),this}}function lt(e,o,a,n){var r=o._milliseconds,l=Ze(o._days),i=Ze(o._months);e.isValid()&&(n=null==n||n,i&&te(e,J(e,"Month")+i*a),l&&X(e,"Date",J(e,"Date")+l*a),r&&e._d.setTime(e._d.valueOf()+r*a),n&&t.updateOffset(e,l||i))}function it(e,t){var o=12*(t.year()-e.year())+(t.month()-e.month()),a=e.clone().add(o,"months"),n,r;return 0>t-a?(n=e.clone().add(o-1,"months"),r=(t-a)/(a-n)):(n=e.clone().add(o+1,"months"),r=(t-a)/(n-a)),-(o+r)||0}function st(e){var t;return void 0===e?this._locale._abbr:(t=ke(e),null!=t&&(this._locale=t),this)}function dt(){return this._locale}function ut(e,t){j(0,[e,e.length],0,t)}function ct(e,t,o,a,n){var r;return null==e?se(this,a,n).year:(r=de(e,a,n),t>r&&(t=r),pt.call(this,e,t,o,a,n))}function pt(e,t,o,a,n){var r=ie(e,t,o,a,n),l=re(r.year,0,r.dayOfYear);return this.year(l.getUTCFullYear()),this.month(l.getUTCMonth()),this.date(l.getUTCDate()),this}function ft(e,t){t[go]=x(1e3*("0."+e))}function bt(e){return e}function ht(e,t,o,a){var n=ke(),r=p().set(a,t);return n[o](r,e)}function mt(e,t,o){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return ht(e,t,o,"month");var a=[],n;for(n=0;12>n;n++)a[n]=ht(e,n,o,"month");return a}function gt(e,t,o,a){"boolean"==typeof e?(s(t)&&(o=t,t=void 0),t=t||""):(t=e,o=t,e=!1,s(t)&&(o=t,t=void 0),t=t||"");var n=ke(),r=e?n._week.dow:0;if(null!=o)return ht(t,(o+r)%7,a,"day");var l=[],d;for(d=0;7>d;d++)l[d]=ht(t,(d+r)%7,a,"day");return l}function yt(e,t,o,a){var n=tt(t,o);return e._milliseconds+=a*n._milliseconds,e._days+=a*n._days,e._months+=a*n._months,e._bubble()}function vt(e){return 0>e?a(e):Dt(e)}function _t(e){return 4800*e/146097}function xt(e){return 146097*e/4800}function kt(e){return function(){return this.as(e)}}function wt(e){return function(){return this.isValid()?this._data[e]:NaN}}function St(e,t,o,a,n){return n.relativeTime(t||1,!!o,e,a)}function Ot(e,t,o){var n=tt(e).abs(),r=ga(n.as("s")),l=ga(n.as("m")),i=ga(n.as("h")),s=ga(n.as("d")),d=ga(n.as("M")),u=ga(n.as("y")),c=r<=ya.ss&&["s",r]||r=l&&["m"]||l=i&&["h"]||i=s&&["d"]||s=d&&["M"]||d=u&&["y"]||["yy",u];return c[2]=t,c[3]=0<+e,c[4]=o,St.apply(null,c)}function Mt(e){return(0e)||+e}function Et(){if(!this.isValid())return this.localeData().invalidDate();var e=va(this._milliseconds)/1e3,t=va(this._days),o=va(this._months),a,n,r;a=_(e/60),n=_(a/60),e%=60,a%=60,r=_(o/12),o%=12;var l=r,i=o,d=t,u=n,c=a,p=e?e.toFixed(3).replace(/\.?0+$/,""):"",s=this.asSeconds();if(!s)return"P0D";var f=0>s?"-":"",b=Mt(this._months)===Mt(s)?"":"-",h=Mt(this._days)===Mt(s)?"":"-",m=Mt(this._milliseconds)===Mt(s)?"":"-";return f+"P"+(l?b+l+"Y":"")+(i?b+i+"M":"")+(d?h+d+"D":"")+(u||c||p?"T":"")+(u?m+u+"H":"")+(c?m+c+"M":"")+(p?m+p+"S":"")}var Pt=Math.round,Tt=Math.abs,Ct=Math.min,Dt=Math.ceil,Rt,It;It=Array.prototype.some?Array.prototype.some:function(e){for(var o=Object(this),t=o.length>>>0,a=0;a=e?""+e:"+"+e}),j(0,["YY",2],0,function(){return this.year()%100}),j(0,["YYYY",4],0,"year"),j(0,["YYYYY",5],0,"year"),j(0,["YYYYYY",6,!0],0,"year"),T("year","y"),R("year",1),U("Y",ao),U("YY",Jt,Kt),U("YYYY",eo,qt),U("YYYYY",to,Zt),U("YYYYYY",to,Zt),H(["YYYYY","YYYYYY"],co),H("YYYY",function(e,o){o[co]=2===e.length?t.parseTwoDigitYear(e):x(e)}),H("YY",function(e,o){o[co]=t.parseTwoDigitYear(e)}),H("Y",function(e,t){t[co]=parseInt(e,10)}),t.parseTwoDigitYear=function(e){return x(e)+(68this?this:e:m()}),Fo=["year","quarter","month","week","day","hour","minute","second","millisecond"];Je("Z",":"),Je("ZZ",""),U("Z",ro),U("ZZ",ro),H(["Z","ZZ"],function(e,t,o){o._useUTC=!0,o._tzm=Xe(ro,e)});var Wo=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var zo=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ho=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;tt.fn=Ge.prototype,tt.invalid=function(){return tt(NaN)};var Bo=rt(1,"add"),Ko=rt(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Go=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});j(0,["gg",2],0,function(){return this.weekYear()%100}),j(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ut("gggg","weekYear"),ut("ggggg","weekYear"),ut("GGGG","isoWeekYear"),ut("GGGGG","isoWeekYear"),T("weekYear","gg"),T("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),U("G",ao),U("g",ao),U("GG",Jt,Kt),U("gg",Jt,Kt),U("GGGG",eo,qt),U("gggg",eo,qt),U("GGGGG",to,Zt),U("ggggg",to,Zt),B(["gggg","ggggg","GGGG","GGGGG"],function(e,t,o,a){t[a.substr(0,2)]=x(e)}),B(["gg","GG"],function(e,o,a,n){o[n]=t.parseTwoDigitYear(e)}),j("Q",0,"Qo","quarter"),T("quarter","Q"),R("quarter",7),U("Q",Bt),H("Q",function(e,t){t[po]=3*(x(e)-1)}),j("D",["DD",2],"Do","date"),T("date","D"),R("date",9),U("D",Jt),U("DD",Jt,Kt),U("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),H(["D","DD"],fo),H("Do",function(e,t){t[fo]=x(e.match(Jt)[0],10)});var qo=Z("Date",!0);j("DDD",["DDDD",3],"DDDo","dayOfYear"),T("dayOfYear","DDD"),R("dayOfYear",4),U("DDD",Qt),U("DDDD",Gt),H(["DDD","DDDD"],function(e,t,o){o._dayOfYear=x(e)}),j("m",["mm",2],0,"minute"),T("minute","m"),R("minute",14),U("m",Jt),U("mm",Jt,Kt),H(["m","mm"],ho);var Zo=Z("Minutes",!1);j("s",["ss",2],0,"second"),T("second","s"),R("second",15),U("s",Jt),U("ss",Jt,Kt),H(["s","ss"],mo);var Jo=Z("Seconds",!1);j("S",0,0,function(){return~~(this.millisecond()/100)}),j(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),j(0,["SSS",3],0,"millisecond"),j(0,["SSSS",4],0,function(){return 10*this.millisecond()}),j(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),j(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),j(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),j(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),j(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),T("millisecond","ms"),R("millisecond",16),U("S",Qt,Bt),U("SS",Qt,Kt),U("SSS",Qt,Gt);var Xo;for(Xo="SSSS";9>=Xo.length;Xo+="S")U(Xo,oo);for(Xo="S";9>=Xo.length;Xo+="S")H(Xo,ft);var $o=Z("Milliseconds",!1);j("z",0,0,"zoneAbbr"),j("zz",0,0,"zoneName");var Qo=y.prototype;Qo.add=Bo,Qo.calendar=function(e,o){var a=e||He(),n=$e(a,this).startOf("day"),r=t.calendarFormat(this,n)||"sameElse",l=o&&(M(o[r])?o[r].call(this,a):o[r]);return this.format(l||this.localeData().calendar(r,this,He(a)))},Qo.clone=function(){return new y(this)},Qo.diff=function(e,t,o){var a,n,r;return this.isValid()?(a=$e(e,this),!a.isValid())?NaN:(n=6e4*(a.utcOffset()-this.utcOffset()),t=C(t),(r="year"===t?it(this,a)/12:"month"===t?it(this,a):"quarter"===t?it(this,a)/3:"second"===t?(this-a)/1e3:"minute"===t?(this-a)/6e4:"hour"===t?(this-a)/36e5:"day"===t?(this-a-n)/864e5:"week"===t?(this-a-n)/6048e5:this-a,o?r:_(r))):NaN},Qo.endOf=function(e){return(e=C(e),void 0===e||"millisecond"===e)?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},Qo.format=function(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var o=A(this,e);return this.localeData().postformat(o)},Qo.from=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||He(e).isValid())?tt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Qo.fromNow=function(e){return this.from(He(),e)},Qo.to=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||He(e).isValid())?tt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Qo.toNow=function(e){return this.to(He(),e)},Qo.get=function(e){return e=C(e),M(this[e])?this[e]():this},Qo.invalidAt=function(){return b(this).overflow},Qo.isAfter=function(e,t){var o=v(e)?e:He(e);return this.isValid()&&o.isValid()&&(t=C(l(t)?"millisecond":t),"millisecond"===t?this.valueOf()>o.valueOf():o.valueOf()e.year()||9999=this.year()?"YYYY":"YYYYYY",n=t+"[\")]";return this.format(o+a+"-MM-DD[T]HH:mm:ss.SSS"+n)},Qo.toJSON=function(){return this.isValid()?this.toISOString():null},Qo.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Qo.unix=function(){return a(this.valueOf()/1e3)},Qo.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Qo.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Qo.year=_o,Qo.isLeapYear=function(){return q(this.year())},Qo.weekYear=function(e){return ct.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Qo.isoWeekYear=function(e){return ct.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Qo.quarter=Qo.quarters=function(e){return null==e?Dt((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Qo.month=oe,Qo.daysInMonth=function(){return Q(this.year(),this.month())},Qo.week=Qo.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},Qo.isoWeek=Qo.isoWeeks=function(e){var t=se(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},Qo.weeksInYear=function(){var e=this.localeData()._week;return de(this.year(),e.dow,e.doy)},Qo.isoWeeksInYear=function(){return de(this.year(),1,4)},Qo.date=qo,Qo.day=Qo.days=function(e){if(!this.isValid())return null==e?NaN:this;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null==e?t:(e=ue(e,this.localeData()),this.add(e-t,"d"))},Qo.weekday=function(e){if(!this.isValid())return null==e?NaN:this;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},Qo.isoWeekday=function(e){if(!this.isValid())return null==e?NaN:this;if(null!=e){var t=ce(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},Qo.dayOfYear=function(e){var t=Pt((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},Qo.hour=Qo.hours=Mo,Qo.minute=Qo.minutes=Zo,Qo.second=Qo.seconds=Jo,Qo.millisecond=Qo.milliseconds=$o,Qo.utcOffset=function(e,o,a){var n=this._offset||0,r;if(!this.isValid())return null==e?NaN:this;if(null!=e){if("string"!=typeof e)16>Tt(e)&&!a&&(e*=60);else if(e=Xe(ro,e),null===e)return this;return!this._isUTC&&o&&(r=Qe(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),n!==e&&(!o||this._changeInProgress?lt(this,tt(e-n,"m"),1,!1):!this._changeInProgress&&(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?n:Qe(this)},Qo.utc=function(e){return this.utcOffset(0,e)},Qo.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Qe(this),"m")),this},Qo.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Xe(no,this._i);null==e?this.utcOffset(0,!0):this.utcOffset(e)}return this},Qo.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?He(e).utcOffset():0,0==(this.utcOffset()-e)%60)},Qo.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Qo.isLocal=function(){return!!this.isValid()&&!this._isUTC},Qo.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Qo.isUtc=et,Qo.isUTC=et,Qo.zoneAbbr=function(){return this._isUTC?"UTC":""},Qo.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Qo.dates=S("dates accessor is deprecated. Use date instead.",qo),Qo.months=S("months accessor is deprecated. Use month instead",oe),Qo.years=S("years accessor is deprecated. Use year instead",_o),Qo.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null==e?-this.utcOffset():("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this)}),Qo.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),e=Fe(e),e._a){var t=e._isUTC?p(e._a):He(e._a);this._isDSTShifted=this.isValid()&&0a;a++){if(n=p([2e3,a]),o&&!this._longMonthsParse[a]&&(this._longMonthsParse[a]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[a]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),o||this._monthsParse[a]||(r="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[a]=new RegExp(r.replace(".",""),"i")),o&&"MMMM"===t&&this._longMonthsParse[a].test(e))return a;if(o&&"MMM"===t&&this._shortMonthsParse[a].test(e))return a;if(!o&&this._monthsParse[a].test(e))return a}},ea.monthsRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||ae.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=io),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},ea.monthsShortRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||ae.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=io),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},ea.week=function(e){return se(e,this._week.dow,this._week.doy).week},ea.firstDayOfYear=function(){return this._week.doy},ea.firstDayOfWeek=function(){return this._week.dow},ea.weekdays=function(e,t){return e?o(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:o(this._weekdays)?this._weekdays:this._weekdays.standalone},ea.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},ea.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},ea.weekdaysParse=function(e,t,o){var a,n,r;if(this._weekdaysParseExact)return pe.call(this,e,t,o);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;7>a;a++){if(n=p([2000,1]).day(a),o&&!this._fullWeekdaysParse[a]&&(this._fullWeekdaysParse[a]=new RegExp("^"+this.weekdays(n,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[a]=new RegExp("^"+this.weekdaysShort(n,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[a]=new RegExp("^"+this.weekdaysMin(n,"").replace(".",".?")+"$","i")),this._weekdaysParse[a]||(r="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[a]=new RegExp(r.replace(".",""),"i")),o&&"dddd"===t&&this._fullWeekdaysParse[a].test(e))return a;if(o&&"ddd"===t&&this._shortWeekdaysParse[a].test(e))return a;if(o&&"dd"===t&&this._minWeekdaysParse[a].test(e))return a;if(!o&&this._weekdaysParse[a].test(e))return a}},ea.weekdaysRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||fe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=io),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},ea.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||fe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=io),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},ea.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||fe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=io),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},ea.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},ea.meridiem=function(e,t,o){return 11=e&&0>=t&&0>=o||(e+=864e5*vt(xt(o)+t),t=0,o=0),a.milliseconds=e%1e3,n=_(e/1e3),a.seconds=n%60,r=_(n/60),a.minutes=r%60,l=_(r/60),a.hours=l%24,t+=_(l/24),s=_(_t(t)),o+=s,t-=vt(xt(s)),i=_(o/12),o%=12,a.days=t,a.months=o,a.years=i,this},_a.clone=function(){return tt(this)},_a.get=function(e){return e=C(e),this.isValid()?this[e+"s"]():NaN},_a.milliseconds=ua,_a.seconds=ca,_a.minutes=pa,_a.hours=fa,_a.days=ba,_a.weeks=function(){return _(this.days()/7)},_a.months=ha,_a.years=ma,_a.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),o=Ot(this,!e,t);return e&&(o=t.pastFuture(+this,o)),t.postformat(o)},_a.toISOString=Et,_a.toString=Et,_a.toJSON=Et,_a.locale=st,_a.localeData=dt,_a.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Et),_a.lang=Go,j("X",0,0,"unix"),j("x",0,0,"valueOf"),U("x",ao),U("X",lo),H("X",function(e,t,o){o._d=new Date(1e3*parseFloat(e,10))}),H("x",function(e,t,o){o._d=new Date(x(e))}),t.version="2.19.1",function(e){Rt=e}(He),t.fn=Qo,t.min=function(){var e=[].slice.call(arguments,0);return Be("isBefore",e)},t.max=function(){var e=[].slice.call(arguments,0);return Be("isAfter",e)},t.now=function(){return Date.now?Date.now():+new Date},t.utc=p,t.unix=function(e){return He(1e3*e)},t.months=function(e,t){return mt(e,t,"months")},t.isDate=i,t.locale=_e,t.invalid=m,t.duration=tt,t.isMoment=v,t.weekdays=function(e,t,o){return gt(e,t,o,"weekdays")},t.parseZone=function(){return He.apply(null,arguments).parseZone()},t.localeData=ke,t.isDuration=qe,t.monthsShort=function(e,t){return mt(e,t,"monthsShort")},t.weekdaysMin=function(e,t,o){return gt(e,t,o,"weekdaysMin")},t.defineLocale=xe,t.updateLocale=function(e,t){if(null!=t){var o=Eo,a;null!=Po[e]&&(o=Po[e]._config),t=E(o,t),a=new P(t),a.parentLocale=Po[e],Po[e]=a,_e(e)}else null!=Po[e]&&(null==Po[e].parentLocale?null!=Po[e]&&delete Po[e]:Po[e]=Po[e].parentLocale);return Po[e]},t.locales=function(){return Nt(Po)},t.weekdaysShort=function(e,t,o){return gt(e,t,o,"weekdaysShort")},t.normalizeUnits=C,t.relativeTimeRounding=function(e){return void 0===e?ga:"function"==typeof e&&(ga=e,!0)},t.relativeTimeThreshold=function(e,t){return void 0!==ya[e]&&(void 0===t?ya[e]:(ya[e]=t,"s"===e&&(ya.ss=t-1),!0))},t.calendarFormat=function(e,t){var o=e.diff(t,"days",!0);return-6>o?"sameElse":-1>o?"lastWeek":0>o?"lastDay":1>o?"sameDay":2>o?"nextDay":7>o?"nextWeek":"sameElse"},t.prototype=Qo,t})}).call(t,o(113)(e))},,,,,,,,,,,function(e){e.exports={name:"lcov-server",version:"1.1.0",description:"\uD83C\uDFAF A simple lcov server & cli parser",main:"index.js",homepage:"https://github.com/gabrielcsapo/lcov-server#readme",repository:{type:"git",url:"git+https://github.com/gabrielcsapo/lcov-server.git"},engines:{node:">= 4"},bugs:{url:"https://github.com/gabrielcsapo/lcov-server/issues"},scripts:{lint:"eslint .",test:"tape test/lib/**/*.js test/index.js",coverage:"tap test/lib/**.js --coverage --coverage-report=lcov",build:"NODE_ENV=production webpack --progress",start:"./bin/lcov-server.js --serve",dev:"NODE_ENV=development webpack-dev-server --hot --port 5000",pack:"pkg bin/lcov-server.js -c package.json -o packed/lcov-server","generate-docs":"tryitout --template=landing --output=./docs && jsdoc -c jsdoc.json",storybook:"start-storybook -p 6006","build-storybook":"build-storybook --output-dir ./docs/storybook"},author:"Gabriel J. Csapo ",bin:{"lcov-server":"./distributed/bin/lcov-server.js"},pkg:{scripts:["index.js","bin/*","lib/**/*"],assets:["src/**/*","dist/**/**","node_modules/openbadge/**/**"],targets:["node8-macos-x64","node8-alpine-x64","node8-linux-x64","node8-win-x64"]},license:"Apache-2.0",dependencies:{"babel-polyfill":"^6.26.0","babel-register":"^6.26.0",commander:"^2.11.0",compression:"^1.7.1",express:"^4.16.2","git-url-parse":"^7.0.1",mongoose:"^4.12.1",openbadge:"^1.0.4",semver:"^5.4.1","serve-static":"^1.13.1","update-notifier":"^2.3.0",xml2js:"^0.4.19"},devDependencies:{"@storybook/addon-knobs":"^3.2.12","@storybook/react":"^3.2.12","babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-minify-webpack-plugin":"^0.2.0","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","body-parser":"^1.18.2","css-loader":"^0.28.7",docdash:"^0.4.0",eslint:"^4.8.0","eslint-plugin-react":"^7.4.0",getstorybook:"^1.7.0","highlight.js":"^9.12.0",jsdoc:"^3.5.4",moment:"^2.19.1",pkg:"^4.2.5","prop-types":"^15.6.0","psychic.css":"0.0.1",react:"^16.0.0","react-dom":"^16.0.0","react-router-dom":"^4.2.2","react-select":"^1.0.0-rc.10",shelljs:"^0.7.8","style-loader":"^0.19.0",tap:"^10.7.2",tape:"^4.8.0",tryitout:"^0.3.4",webpack:"^3.7.1","webpack-dev-server":"^2.9.1","whatwg-fetch":"^2.0.3"}}},function(e,t,o){"use strict";function a(e){if("string"!=typeof e)throw new Error("The url must be a string.");var t=r(e),o=t.resource.split("."),n=null;switch(t.toString=function(e){return a.stringify(this,e)},t.source=2t.overflow&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&o);if(e._strict&&(a=a&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null==Object.isFrozen||!Object.isFrozen(e))e._isValid=a;else return a}return e._isValid}function m(e){var t=p(NaN);return null==e?b(t).userInvalidated=!0:c(b(t),e),t}function g(e,t){var o,a,n;if(l(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),l(t._i)||(e._i=t._i),l(t._f)||(e._f=t._f),l(t._l)||(e._l=t._l),l(t._strict)||(e._strict=t._strict),l(t._tzm)||(e._tzm=t._tzm),l(t._isUTC)||(e._isUTC=t._isUTC),l(t._offset)||(e._offset=t._offset),l(t._pf)||(e._pf=b(t)),l(t._locale)||(e._locale=t._locale),0e?Dt(e)||0:a(e)}function x(e){var t=+e,o=0;return 0!=t&&isFinite(t)&&(o=_(t)),o}function k(e,t,o){var a=Ct(e.length,t.length),n=Tt(e.length-t.length),r=0,l;for(l=0;ln;++n)l=p([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(l,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(l,"").toLocaleLowerCase();return o?"MMM"===t?(r=xo.call(this._shortMonthsParse,a),-1===r?null:r):(r=xo.call(this._longMonthsParse,a),-1===r?null:r):"MMM"===t?(r=xo.call(this._shortMonthsParse,a),-1!==r)?r:(r=xo.call(this._longMonthsParse,a),-1===r?null:r):(r=xo.call(this._longMonthsParse,a),-1!==r)?r:(r=xo.call(this._shortMonthsParse,a),-1===r?null:r)}function te(e,t){var o;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=x(t);else if(t=e.localeData().monthsParse(t),!s(t))return e;return o=Ct(e.date(),Q(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,o),e}function oe(e){return null==e?J(this,"Month"):(te(this,e),t.updateOffset(this,!0),this)}function ae(){function e(e,t){return t.length-e.length}var t=[],o=[],a=[],n,r;for(n=0;12>n;n++)r=p([2e3,n]),t.push(this.monthsShort(r,"")),o.push(this.months(r,"")),a.push(this.months(r,"")),a.push(this.monthsShort(r,""));for(t.sort(e),o.sort(e),a.sort(e),n=0;12>n;n++)t[n]=z(t[n]),o[n]=z(o[n]);for(n=0;24>n;n++)a[n]=z(a[n]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function ne(e,t,o,a,n,r,l){var i=new Date(e,t,o,a,n,r,l);return 100>e&&0<=e&&isFinite(i.getFullYear())&&i.setFullYear(e),i}function re(e){var t=new Date(Date.UTC.apply(null,arguments));return 100>e&&0<=e&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function le(e,t,o){var a=7+t-o,n=(7+re(e,0,a).getUTCDay()-t)%7;return-n+a-1}function ie(e,t,o,a,n){var r=le(e,a,n),l=1+7*(t-1)+(7+o-a)%7+r,i,s;return 0>=l?(i=e-1,s=G(i)+l):l>G(e)?(i=e+1,s=l-G(e)):(i=e,s=l),{year:i,dayOfYear:s}}function se(e,t,o){var n=le(e.year(),t,o),r=a((e.dayOfYear()-n-1)/7)+1,l,i;return 1>r?(i=e.year()-1,l=r+de(i,t,o)):r>de(e.year(),t,o)?(l=r-de(e.year(),t,o),i=e.year()+1):(i=e.year(),l=r),{week:l,year:i}}function de(e,t,o){var a=le(e,t,o),n=le(e+1,t,o);return(G(e)-a+n)/7}function ue(e,t){return"string"==typeof e?isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10):e}function ce(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function pe(e,t,o){var a=e.toLocaleLowerCase(),n,r,l;if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;7>n;++n)l=p([2000,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(l,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(l,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(l,"").toLocaleLowerCase();return o?"dddd"===t?(r=xo.call(this._weekdaysParse,a),-1===r?null:r):"ddd"===t?(r=xo.call(this._shortWeekdaysParse,a),-1===r?null:r):(r=xo.call(this._minWeekdaysParse,a),-1===r?null:r):"dddd"===t?(r=xo.call(this._weekdaysParse,a),-1!==r)?r:(r=xo.call(this._shortWeekdaysParse,a),-1!==r)?r:(r=xo.call(this._minWeekdaysParse,a),-1===r?null:r):"ddd"===t?(r=xo.call(this._shortWeekdaysParse,a),-1!==r)?r:(r=xo.call(this._weekdaysParse,a),-1!==r)?r:(r=xo.call(this._minWeekdaysParse,a),-1===r?null:r):(r=xo.call(this._minWeekdaysParse,a),-1!==r)?r:(r=xo.call(this._weekdaysParse,a),-1!==r)?r:(r=xo.call(this._shortWeekdaysParse,a),-1===r?null:r)}function fe(){function e(e,t){return t.length-e.length}var t=[],o=[],a=[],n=[],r,l,i,s,d;for(r=0;7>r;r++)l=p([2000,1]).day(r),i=this.weekdaysMin(l,""),s=this.weekdaysShort(l,""),d=this.weekdays(l,""),t.push(i),o.push(s),a.push(d),n.push(i),n.push(s),n.push(d);for(t.sort(e),o.sort(e),a.sort(e),n.sort(e),r=0;7>r;r++)o[r]=z(o[r]),a[r]=z(a[r]),n[r]=z(n[r]);this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function be(){return this.hours()%12||12}function he(e,t){j(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function me(e,t){return t._meridiemParse}function ge(e){return e?e.toLowerCase().replace("_","-"):e}function ye(e){for(var t=0,o,a,n,r;t=o&&k(r,a,!0)>=o-1)break;o--}t++}return null}function ve(t){var o=null;if(!Po[t]&&"undefined"!=typeof e&&e&&e.exports)try{o=Ao._abbr;!function(){var t=new Error("Cannot find module \"./locale\"");throw t.code="MODULE_NOT_FOUND",t}(),_e(o)}catch(t){}return Po[t]}function _e(e,t){var o;return e&&(o=l(t)?ke(e):xe(e,t),o&&(Ao=o)),Ao._abbr}function xe(e,t){if(null!==t){var o=Eo;if(t.abbr=e,null!=Po[e])O("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),o=Po[e]._config;else if(null!=t.parentLocale)if(null!=Po[t.parentLocale])o=Po[t.parentLocale]._config;else return To[t.parentLocale]||(To[t.parentLocale]=[]),To[t.parentLocale].push({name:e,config:t}),null;return Po[e]=new P(E(o,t)),To[e]&&To[e].forEach(function(e){xe(e.name,e.config)}),_e(e),Po[e]}return delete Po[e],null}function ke(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ao;if(!o(e)){if(t=ve(e),t)return t;e=[e]}return ye(e)}function we(e){var t=e._a,o;return t&&-2===b(e).overflow&&(o=0>t[po]||11t[fo]||t[fo]>Q(t[co],t[po])?fo:0>t[bo]||24t[ho]||59t[mo]||59t[go]||999fo)&&(o=fo),b(e)._overflowWeeks&&-1===o&&(o=yo),b(e)._overflowWeekday&&-1===o&&(o=vo),b(e).overflow=o),e}function Se(e,t,o){return null==e?null==t?o:t:e}function Oe(e){var o=new Date(t.now());return e._useUTC?[o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()]:[o.getFullYear(),o.getMonth(),o.getDate()]}function Me(e){var t=[],o,a,n,r;if(!e._d){for(n=Oe(e),e._w&&null==e._a[fo]&&null==e._a[po]&&Ee(e),null!=e._dayOfYear&&(r=Se(e._a[co],n[co]),(e._dayOfYear>G(r)||0===e._dayOfYear)&&(b(e)._overflowDayOfYear=!0),a=re(r,0,e._dayOfYear),e._a[po]=a.getUTCMonth(),e._a[fo]=a.getUTCDate()),o=0;3>o&&null==e._a[o];++o)e._a[o]=t[o]=n[o];for(;7>o;o++)e._a[o]=t[o]=null==e._a[o]?2===o?1:0:e._a[o];24===e._a[bo]&&0===e._a[ho]&&0===e._a[mo]&&0===e._a[go]&&(e._nextDay=!0,e._a[bo]=0),e._d=(e._useUTC?re:ne).apply(null,t),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[bo]=24),e._w&&"undefined"!=typeof e._w.d&&e._w.d!==e._d.getDay()&&(b(e).weekdayMismatch=!0)}}function Ee(e){var t,o,a,n,r,l,i,s;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)r=1,l=4,o=Se(t.GG,e._a[co],se(He(),1,4).year),a=Se(t.W,1),n=Se(t.E,1),(1>n||7t.e||6n||6a||a>de(o,r,l)?b(e)._overflowWeeks=!0:null==s?(i=ie(o,a,n,r,l),e._a[co]=i.year,e._dayOfYear=i.dayOfYear):b(e)._overflowWeekday=!0}function Pe(e){var t=e._i,o=Co.exec(t)||Do.exec(t),a,n,r,l,i,s;if(o){for(b(e).iso=!0,a=0,n=Io.length;a=t?2e3+t:999>=t?1900+t:t}function De(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function Re(e,t,o){if(e){var a=So.indexOf(e),n=new Date(t[0],t[1],t[2]).getDay();if(a!==n)return b(o).weekdayMismatch=!0,o._isValid=!1,!1}return!0}function Ie(e,t,o){if(e)return No[e];if(t)return 0;var a=parseInt(o,10),n=a%100;return 60*((a-n)/100)+n}function Ye(e){var t=Vo.exec(De(e._i));if(t){var o=Te(t[4],t[3],t[2],t[5],t[6],t[7]);if(!Re(t[1],o,e))return;e._a=o,e._tzm=Ie(t[8],t[9],t[10]),e._d=re.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),b(e).rfc2822=!0}else e._isValid=!1}function je(e){var o=jo.exec(e._i);if(null!==o)return void(e._d=new Date(+o[1]));if(Pe(e),!1===e._isValid)delete e._isValid;else return;if(Ye(e),!1===e._isValid)delete e._isValid;else return;t.createFromInputFallback(e)}function Ve(e){if(e._f===t.ISO_8601)return void Pe(e);if(e._f===t.RFC_2822)return void Ye(e);e._a=[],b(e).empty=!0;var o=""+e._i,a=o.length,n=0,r,l,i,s,d;for(i=L(e._f,e._locale).match(Ft)||[],r=0;r=e._a[bo]&&!0===b(e).bigHour&&0t&&(t+=12),a||12!==t||(t=0),t):e.meridiemHour(t,o)}function Ae(e){var t,o,a,n,r;if(0===e._f.length)return b(e).invalidFormat=!0,void(e._d=new Date(NaN));for(n=0;ne?-1*Pt(-1*e):Pt(e)}function Je(e,t){j(e,0,0,function(){var e=this.utcOffset(),o="+";return 0>e&&(e=-e,o="-"),o+Y(~~(e/60),2)+t+Y(~~e%60,2)})}function Xe(e,t){var o=(t||"").match(e);if(null===o)return null;var a=o[o.length-1]||[],n=(a+"").match(Wo)||["-",0,0],r=+(60*n[1])+x(n[2]);return 0===r?0:"+"===n[0]?r:-r}function $e(e,o){var a,n;return o._isUTC?(a=o.clone(),n=(v(e)||i(e)?e.valueOf():He(e).valueOf())-a.valueOf(),a._d.setTime(a._d.valueOf()+n),t.updateOffset(a,!1),a):He(e).local()}function Qe(e){return 15*-Pt(e._d.getTimezoneOffset()/15)}function et(){return!!this.isValid()&&this._isUTC&&0===this._offset}function tt(e,t){var o=e,a=null,n,r,l;return qe(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(o={},t?o[t]=e:o.milliseconds=e):(a=zo.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:x(a[fo])*n,h:x(a[bo])*n,m:x(a[ho])*n,s:x(a[mo])*n,ms:x(Ze(1e3*a[go]))*n}):(a=Ho.exec(e))?(n="-"===a[1]?-1:"+"===a[1]?1:1,o={y:ot(a[2],n),M:ot(a[3],n),w:ot(a[4],n),d:ot(a[5],n),h:ot(a[6],n),m:ot(a[7],n),s:ot(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(l=nt(He(o.from),He(o.to)),o={},o.ms=l.milliseconds,o.M=l.months),r=new Ge(o),qe(e)&&u(e,"_locale")&&(r._locale=e._locale),r}function ot(e,t){var o=e&&parseFloat(e.replace(",","."));return(isNaN(o)?0:o)*t}function at(e,t){var o={milliseconds:0,months:0};return o.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(o.months,"M").isAfter(t)&&--o.months,o.milliseconds=+t-+e.clone().add(o.months,"M"),o}function nt(e,t){var o;return e.isValid()&&t.isValid()?(t=$e(t,e),e.isBefore(t)?o=at(e,t):(o=at(t,e),o.milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0}}function rt(e,t){return function(o,a){var n,r;return null===a||isNaN(+a)||(O(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=o,o=a,a=r),o="string"==typeof o?+o:o,n=tt(o,a),lt(this,n,e),this}}function lt(e,o,a,n){var r=o._milliseconds,l=Ze(o._days),i=Ze(o._months);e.isValid()&&(n=null==n||n,i&&te(e,J(e,"Month")+i*a),l&&X(e,"Date",J(e,"Date")+l*a),r&&e._d.setTime(e._d.valueOf()+r*a),n&&t.updateOffset(e,l||i))}function it(e,t){var o=12*(t.year()-e.year())+(t.month()-e.month()),a=e.clone().add(o,"months"),n,r;return 0>t-a?(n=e.clone().add(o-1,"months"),r=(t-a)/(a-n)):(n=e.clone().add(o+1,"months"),r=(t-a)/(n-a)),-(o+r)||0}function st(e){var t;return void 0===e?this._locale._abbr:(t=ke(e),null!=t&&(this._locale=t),this)}function dt(){return this._locale}function ut(e,t){j(0,[e,e.length],0,t)}function ct(e,t,o,a,n){var r;return null==e?se(this,a,n).year:(r=de(e,a,n),t>r&&(t=r),pt.call(this,e,t,o,a,n))}function pt(e,t,o,a,n){var r=ie(e,t,o,a,n),l=re(r.year,0,r.dayOfYear);return this.year(l.getUTCFullYear()),this.month(l.getUTCMonth()),this.date(l.getUTCDate()),this}function ft(e,t){t[go]=x(1e3*("0."+e))}function bt(e){return e}function ht(e,t,o,a){var n=ke(),r=p().set(a,t);return n[o](r,e)}function mt(e,t,o){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return ht(e,t,o,"month");var a=[],n;for(n=0;12>n;n++)a[n]=ht(e,n,o,"month");return a}function gt(e,t,o,a){"boolean"==typeof e?(s(t)&&(o=t,t=void 0),t=t||""):(t=e,o=t,e=!1,s(t)&&(o=t,t=void 0),t=t||"");var n=ke(),r=e?n._week.dow:0;if(null!=o)return ht(t,(o+r)%7,a,"day");var l=[],d;for(d=0;7>d;d++)l[d]=ht(t,(d+r)%7,a,"day");return l}function yt(e,t,o,a){var n=tt(t,o);return e._milliseconds+=a*n._milliseconds,e._days+=a*n._days,e._months+=a*n._months,e._bubble()}function vt(e){return 0>e?a(e):Dt(e)}function _t(e){return 4800*e/146097}function xt(e){return 146097*e/4800}function kt(e){return function(){return this.as(e)}}function wt(e){return function(){return this.isValid()?this._data[e]:NaN}}function St(e,t,o,a,n){return n.relativeTime(t||1,!!o,e,a)}function Ot(e,t,o){var n=tt(e).abs(),r=ga(n.as("s")),l=ga(n.as("m")),i=ga(n.as("h")),s=ga(n.as("d")),d=ga(n.as("M")),u=ga(n.as("y")),c=r<=ya.ss&&["s",r]||r=l&&["m"]||l=i&&["h"]||i=s&&["d"]||s=d&&["M"]||d=u&&["y"]||["yy",u];return c[2]=t,c[3]=0<+e,c[4]=o,St.apply(null,c)}function Mt(e){return(0e)||+e}function Et(){if(!this.isValid())return this.localeData().invalidDate();var e=va(this._milliseconds)/1e3,t=va(this._days),o=va(this._months),a,n,r;a=_(e/60),n=_(a/60),e%=60,a%=60,r=_(o/12),o%=12;var l=r,i=o,d=t,u=n,c=a,p=e?e.toFixed(3).replace(/\.?0+$/,""):"",s=this.asSeconds();if(!s)return"P0D";var f=0>s?"-":"",b=Mt(this._months)===Mt(s)?"":"-",h=Mt(this._days)===Mt(s)?"":"-",m=Mt(this._milliseconds)===Mt(s)?"":"-";return f+"P"+(l?b+l+"Y":"")+(i?b+i+"M":"")+(d?h+d+"D":"")+(u||c||p?"T":"")+(u?m+u+"H":"")+(c?m+c+"M":"")+(p?m+p+"S":"")}var Pt=Math.round,Tt=Math.abs,Ct=Math.min,Dt=Math.ceil,Rt,It;It=Array.prototype.some?Array.prototype.some:function(e){for(var o=Object(this),t=o.length>>>0,a=0;a=e?""+e:"+"+e}),j(0,["YY",2],0,function(){return this.year()%100}),j(0,["YYYY",4],0,"year"),j(0,["YYYYY",5],0,"year"),j(0,["YYYYYY",6,!0],0,"year"),T("year","y"),R("year",1),U("Y",ao),U("YY",Jt,Kt),U("YYYY",eo,qt),U("YYYYY",to,Zt),U("YYYYYY",to,Zt),H(["YYYYY","YYYYYY"],co),H("YYYY",function(e,o){o[co]=2===e.length?t.parseTwoDigitYear(e):x(e)}),H("YY",function(e,o){o[co]=t.parseTwoDigitYear(e)}),H("Y",function(e,t){t[co]=parseInt(e,10)}),t.parseTwoDigitYear=function(e){return x(e)+(68this?this:e:m()}),Fo=["year","quarter","month","week","day","hour","minute","second","millisecond"];Je("Z",":"),Je("ZZ",""),U("Z",ro),U("ZZ",ro),H(["Z","ZZ"],function(e,t,o){o._useUTC=!0,o._tzm=Xe(ro,e)});var Wo=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var zo=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ho=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;tt.fn=Ge.prototype,tt.invalid=function(){return tt(NaN)};var Bo=rt(1,"add"),Ko=rt(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Go=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});j(0,["gg",2],0,function(){return this.weekYear()%100}),j(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ut("gggg","weekYear"),ut("ggggg","weekYear"),ut("GGGG","isoWeekYear"),ut("GGGGG","isoWeekYear"),T("weekYear","gg"),T("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),U("G",ao),U("g",ao),U("GG",Jt,Kt),U("gg",Jt,Kt),U("GGGG",eo,qt),U("gggg",eo,qt),U("GGGGG",to,Zt),U("ggggg",to,Zt),B(["gggg","ggggg","GGGG","GGGGG"],function(e,t,o,a){t[a.substr(0,2)]=x(e)}),B(["gg","GG"],function(e,o,a,n){o[n]=t.parseTwoDigitYear(e)}),j("Q",0,"Qo","quarter"),T("quarter","Q"),R("quarter",7),U("Q",Bt),H("Q",function(e,t){t[po]=3*(x(e)-1)}),j("D",["DD",2],"Do","date"),T("date","D"),R("date",9),U("D",Jt),U("DD",Jt,Kt),U("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),H(["D","DD"],fo),H("Do",function(e,t){t[fo]=x(e.match(Jt)[0],10)});var qo=Z("Date",!0);j("DDD",["DDDD",3],"DDDo","dayOfYear"),T("dayOfYear","DDD"),R("dayOfYear",4),U("DDD",Qt),U("DDDD",Gt),H(["DDD","DDDD"],function(e,t,o){o._dayOfYear=x(e)}),j("m",["mm",2],0,"minute"),T("minute","m"),R("minute",14),U("m",Jt),U("mm",Jt,Kt),H(["m","mm"],ho);var Zo=Z("Minutes",!1);j("s",["ss",2],0,"second"),T("second","s"),R("second",15),U("s",Jt),U("ss",Jt,Kt),H(["s","ss"],mo);var Jo=Z("Seconds",!1);j("S",0,0,function(){return~~(this.millisecond()/100)}),j(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),j(0,["SSS",3],0,"millisecond"),j(0,["SSSS",4],0,function(){return 10*this.millisecond()}),j(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),j(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),j(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),j(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),j(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),T("millisecond","ms"),R("millisecond",16),U("S",Qt,Bt),U("SS",Qt,Kt),U("SSS",Qt,Gt);var Xo;for(Xo="SSSS";9>=Xo.length;Xo+="S")U(Xo,oo);for(Xo="S";9>=Xo.length;Xo+="S")H(Xo,ft);var $o=Z("Milliseconds",!1);j("z",0,0,"zoneAbbr"),j("zz",0,0,"zoneName");var Qo=y.prototype;Qo.add=Bo,Qo.calendar=function(e,o){var a=e||He(),n=$e(a,this).startOf("day"),r=t.calendarFormat(this,n)||"sameElse",l=o&&(M(o[r])?o[r].call(this,a):o[r]);return this.format(l||this.localeData().calendar(r,this,He(a)))},Qo.clone=function(){return new y(this)},Qo.diff=function(e,t,o){var a,n,r;return this.isValid()?(a=$e(e,this),!a.isValid())?NaN:(n=6e4*(a.utcOffset()-this.utcOffset()),t=C(t),(r="year"===t?it(this,a)/12:"month"===t?it(this,a):"quarter"===t?it(this,a)/3:"second"===t?(this-a)/1e3:"minute"===t?(this-a)/6e4:"hour"===t?(this-a)/36e5:"day"===t?(this-a-n)/864e5:"week"===t?(this-a-n)/6048e5:this-a,o?r:_(r))):NaN},Qo.endOf=function(e){return(e=C(e),void 0===e||"millisecond"===e)?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},Qo.format=function(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var o=A(this,e);return this.localeData().postformat(o)},Qo.from=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||He(e).isValid())?tt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Qo.fromNow=function(e){return this.from(He(),e)},Qo.to=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||He(e).isValid())?tt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Qo.toNow=function(e){return this.to(He(),e)},Qo.get=function(e){return e=C(e),M(this[e])?this[e]():this},Qo.invalidAt=function(){return b(this).overflow},Qo.isAfter=function(e,t){var o=v(e)?e:He(e);return this.isValid()&&o.isValid()&&(t=C(l(t)?"millisecond":t),"millisecond"===t?this.valueOf()>o.valueOf():o.valueOf()e.year()||9999=this.year()?"YYYY":"YYYYYY",n=t+"[\")]";return this.format(o+a+"-MM-DD[T]HH:mm:ss.SSS"+n)},Qo.toJSON=function(){return this.isValid()?this.toISOString():null},Qo.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Qo.unix=function(){return a(this.valueOf()/1e3)},Qo.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Qo.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Qo.year=_o,Qo.isLeapYear=function(){return q(this.year())},Qo.weekYear=function(e){return ct.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Qo.isoWeekYear=function(e){return ct.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Qo.quarter=Qo.quarters=function(e){return null==e?Dt((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Qo.month=oe,Qo.daysInMonth=function(){return Q(this.year(),this.month())},Qo.week=Qo.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},Qo.isoWeek=Qo.isoWeeks=function(e){var t=se(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},Qo.weeksInYear=function(){var e=this.localeData()._week;return de(this.year(),e.dow,e.doy)},Qo.isoWeeksInYear=function(){return de(this.year(),1,4)},Qo.date=qo,Qo.day=Qo.days=function(e){if(!this.isValid())return null==e?NaN:this;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null==e?t:(e=ue(e,this.localeData()),this.add(e-t,"d"))},Qo.weekday=function(e){if(!this.isValid())return null==e?NaN:this;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},Qo.isoWeekday=function(e){if(!this.isValid())return null==e?NaN:this;if(null!=e){var t=ce(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},Qo.dayOfYear=function(e){var t=Pt((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},Qo.hour=Qo.hours=Mo,Qo.minute=Qo.minutes=Zo,Qo.second=Qo.seconds=Jo,Qo.millisecond=Qo.milliseconds=$o,Qo.utcOffset=function(e,o,a){var n=this._offset||0,r;if(!this.isValid())return null==e?NaN:this;if(null!=e){if("string"!=typeof e)16>Tt(e)&&!a&&(e*=60);else if(e=Xe(ro,e),null===e)return this;return!this._isUTC&&o&&(r=Qe(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),n!==e&&(!o||this._changeInProgress?lt(this,tt(e-n,"m"),1,!1):!this._changeInProgress&&(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?n:Qe(this)},Qo.utc=function(e){return this.utcOffset(0,e)},Qo.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Qe(this),"m")),this},Qo.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Xe(no,this._i);null==e?this.utcOffset(0,!0):this.utcOffset(e)}return this},Qo.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?He(e).utcOffset():0,0==(this.utcOffset()-e)%60)},Qo.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Qo.isLocal=function(){return!!this.isValid()&&!this._isUTC},Qo.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Qo.isUtc=et,Qo.isUTC=et,Qo.zoneAbbr=function(){return this._isUTC?"UTC":""},Qo.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Qo.dates=S("dates accessor is deprecated. Use date instead.",qo),Qo.months=S("months accessor is deprecated. Use month instead",oe),Qo.years=S("years accessor is deprecated. Use year instead",_o),Qo.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null==e?-this.utcOffset():("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this)}),Qo.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),e=Fe(e),e._a){var t=e._isUTC?p(e._a):He(e._a);this._isDSTShifted=this.isValid()&&0a;a++){if(n=p([2e3,a]),o&&!this._longMonthsParse[a]&&(this._longMonthsParse[a]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[a]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),o||this._monthsParse[a]||(r="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[a]=new RegExp(r.replace(".",""),"i")),o&&"MMMM"===t&&this._longMonthsParse[a].test(e))return a;if(o&&"MMM"===t&&this._shortMonthsParse[a].test(e))return a;if(!o&&this._monthsParse[a].test(e))return a}},ea.monthsRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||ae.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=io),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},ea.monthsShortRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||ae.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=io),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},ea.week=function(e){return se(e,this._week.dow,this._week.doy).week},ea.firstDayOfYear=function(){return this._week.doy},ea.firstDayOfWeek=function(){return this._week.dow},ea.weekdays=function(e,t){return e?o(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:o(this._weekdays)?this._weekdays:this._weekdays.standalone},ea.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},ea.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},ea.weekdaysParse=function(e,t,o){var a,n,r;if(this._weekdaysParseExact)return pe.call(this,e,t,o);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;7>a;a++){if(n=p([2000,1]).day(a),o&&!this._fullWeekdaysParse[a]&&(this._fullWeekdaysParse[a]=new RegExp("^"+this.weekdays(n,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[a]=new RegExp("^"+this.weekdaysShort(n,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[a]=new RegExp("^"+this.weekdaysMin(n,"").replace(".",".?")+"$","i")),this._weekdaysParse[a]||(r="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[a]=new RegExp(r.replace(".",""),"i")),o&&"dddd"===t&&this._fullWeekdaysParse[a].test(e))return a;if(o&&"ddd"===t&&this._shortWeekdaysParse[a].test(e))return a;if(o&&"dd"===t&&this._minWeekdaysParse[a].test(e))return a;if(!o&&this._weekdaysParse[a].test(e))return a}},ea.weekdaysRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||fe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=io),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},ea.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||fe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=io),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},ea.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||fe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=io),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},ea.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},ea.meridiem=function(e,t,o){return 11=e&&0>=t&&0>=o||(e+=864e5*vt(xt(o)+t),t=0,o=0),a.milliseconds=e%1e3,n=_(e/1e3),a.seconds=n%60,r=_(n/60),a.minutes=r%60,l=_(r/60),a.hours=l%24,t+=_(l/24),s=_(_t(t)),o+=s,t-=vt(xt(s)),i=_(o/12),o%=12,a.days=t,a.months=o,a.years=i,this},_a.clone=function(){return tt(this)},_a.get=function(e){return e=C(e),this.isValid()?this[e+"s"]():NaN},_a.milliseconds=ua,_a.seconds=ca,_a.minutes=pa,_a.hours=fa,_a.days=ba,_a.weeks=function(){return _(this.days()/7)},_a.months=ha,_a.years=ma,_a.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),o=Ot(this,!e,t);return e&&(o=t.pastFuture(+this,o)),t.postformat(o)},_a.toISOString=Et,_a.toString=Et,_a.toJSON=Et,_a.locale=st,_a.localeData=dt,_a.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Et),_a.lang=Go,j("X",0,0,"unix"),j("x",0,0,"valueOf"),U("x",ao),U("X",lo),H("X",function(e,t,o){o._d=new Date(1e3*parseFloat(e,10))}),H("x",function(e,t,o){o._d=new Date(x(e))}),t.version="2.19.1",function(e){Rt=e}(He),t.fn=Qo,t.min=function(){var e=[].slice.call(arguments,0);return Be("isBefore",e)},t.max=function(){var e=[].slice.call(arguments,0);return Be("isAfter",e)},t.now=function(){return Date.now?Date.now():+new Date},t.utc=p,t.unix=function(e){return He(1e3*e)},t.months=function(e,t){return mt(e,t,"months")},t.isDate=i,t.locale=_e,t.invalid=m,t.duration=tt,t.isMoment=v,t.weekdays=function(e,t,o){return gt(e,t,o,"weekdays")},t.parseZone=function(){return He.apply(null,arguments).parseZone()},t.localeData=ke,t.isDuration=qe,t.monthsShort=function(e,t){return mt(e,t,"monthsShort")},t.weekdaysMin=function(e,t,o){return gt(e,t,o,"weekdaysMin")},t.defineLocale=xe,t.updateLocale=function(e,t){if(null!=t){var o=Eo,a;null!=Po[e]&&(o=Po[e]._config),t=E(o,t),a=new P(t),a.parentLocale=Po[e],Po[e]=a,_e(e)}else null!=Po[e]&&(null==Po[e].parentLocale?null!=Po[e]&&delete Po[e]:Po[e]=Po[e].parentLocale);return Po[e]},t.locales=function(){return Nt(Po)},t.weekdaysShort=function(e,t,o){return gt(e,t,o,"weekdaysShort")},t.normalizeUnits=C,t.relativeTimeRounding=function(e){return void 0===e?ga:"function"==typeof e&&(ga=e,!0)},t.relativeTimeThreshold=function(e,t){return void 0!==ya[e]&&(void 0===t?ya[e]:(ya[e]=t,"s"===e&&(ya.ss=t-1),!0))},t.calendarFormat=function(e,t){var o=e.diff(t,"days",!0);return-6>o?"sameElse":-1>o?"lastWeek":0>o?"lastDay":1>o?"sameDay":2>o?"nextDay":7>o?"nextWeek":"sameElse"},t.prototype=Qo,t})}).call(t,o(113)(e))},,,,,,,,,,,function(e){e.exports={name:"lcov-server",version:"1.1.1",description:"\uD83C\uDFAF A simple lcov server & cli parser",main:"index.js",homepage:"https://github.com/gabrielcsapo/lcov-server#readme",repository:{type:"git",url:"git+https://github.com/gabrielcsapo/lcov-server.git"},engines:{node:">= 4"},bugs:{url:"https://github.com/gabrielcsapo/lcov-server/issues"},scripts:{lint:"eslint .",test:"tape test/lib/**/*.js test/index.js",coverage:"tap test/lib/**.js --coverage --coverage-report=lcov",build:"NODE_ENV=production webpack --progress",start:"./bin/lcov-server.js --serve",dev:"NODE_ENV=development webpack-dev-server --hot --port 5000",pack:"pkg bin/lcov-server.js -c package.json -o packed/lcov-server","generate-docs":"tryitout --template=landing --output=./docs && jsdoc -c jsdoc.json",storybook:"start-storybook -p 6006","build-storybook":"build-storybook --output-dir ./docs/storybook"},author:"Gabriel J. Csapo ",bin:{"lcov-server":"./bin/lcov-server.js"},pkg:{scripts:["index.js","bin/*","lib/**/*"],assets:["src/**/*","dist/**/**","node_modules/openbadge/**/**"],targets:["node8-macos-x64","node8-alpine-x64","node8-linux-x64","node8-win-x64"]},license:"Apache-2.0",dependencies:{"babel-polyfill":"^6.26.0","babel-register":"^6.26.0",commander:"^2.11.0",compression:"^1.7.1",express:"^4.16.2","git-url-parse":"^7.0.1",mongoose:"^4.12.1",openbadge:"^1.0.4",semver:"^5.4.1","serve-static":"^1.13.1","update-notifier":"^2.3.0",xml2js:"^0.4.19"},devDependencies:{"@storybook/addon-knobs":"^3.2.12","@storybook/react":"^3.2.12","babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-minify-webpack-plugin":"^0.2.0","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","body-parser":"^1.18.2","css-loader":"^0.28.7",docdash:"^0.4.0",eslint:"^4.8.0","eslint-plugin-react":"^7.4.0",getstorybook:"^1.7.0","highlight.js":"^9.12.0",jsdoc:"^3.5.4",moment:"^2.19.1",pkg:"^4.2.5","prop-types":"^15.6.0","psychic.css":"0.0.1",react:"^16.0.0","react-dom":"^16.0.0","react-router-dom":"^4.2.2","react-select":"^1.0.0-rc.10",shelljs:"^0.7.8","style-loader":"^0.19.0",tap:"^10.7.2",tape:"^4.8.0",tryitout:"^0.3.4",webpack:"^3.7.1","webpack-dev-server":"^2.9.1","whatwg-fetch":"^2.0.3"}}},function(e,t,o){"use strict";function a(e){if("string"!=typeof e)throw new Error("The url must be a string.");var t=r(e),o=t.resource.split("."),n=null;switch(t.toString=function(e){return a.stringify(this,e)},t.source=2n;n++)t['_'+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if('0123456789'!==r.join(''))return!1;var o={};return['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t'].forEach(function(e){o[e]=e}),'abcdefghijklmnopqrst'===Object.keys(Object.assign({},o)).join('')}catch(e){return!1}}()?Object.assign:function(e){for(var a=t(e),l=1,s,d;ls.index&&this.lastIndex--}return s},!o&&(RegExp.prototype.test=function(e){var t=n.exec.call(this,e);return t&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t}))}),ace.define('ace/lib/es5-shim',['require','exports','module'],function(){function e(){}function t(e){try{return Object.defineProperty(e,'sentinel',{}),'sentinel'in e}catch(e){}}function n(e){return e=+e,e===e?0!==e&&e!==1/0&&e!==-(1/0)&&(e=(0>>0;if('[object Function]'!=p(e))throw new TypeError;for(;++o>>0,o=Array(r),a=arguments[1];if('[object Function]'!=p(e))throw new TypeError(e+' is not a function');for(var s=0;s>>0,o=[],a=arguments[1],s;if('[object Function]'!=p(e))throw new TypeError(e+' is not a function');for(var l=0;l>>0,o=arguments[1];if('[object Function]'!=p(e))throw new TypeError(e+' is not a function');for(var a=0;a>>0,o=arguments[1];if('[object Function]'!=p(e))throw new TypeError(e+' is not a function');for(var a=0;a>>0;if('[object Function]'!=p(e))throw new TypeError(e+' is not a function');if(!r&&1==arguments.length)throw new TypeError('reduce of empty array with no initial value');var o=0,a;if(2<=arguments.length)a=arguments[1];else do{if(o in n){a=n[o++];break}if(++o>=r)throw new TypeError('reduce of empty array with no initial value')}while(!0);for(;o>>0;if('[object Function]'!=p(e))throw new TypeError(e+' is not a function');if(!r&&1==arguments.length)throw new TypeError('reduceRight of empty array with no initial value');var o=r-1,a;if(2<=arguments.length)a=arguments[1];else do{if(o in n){a=n[o--];break}if(0>--o)throw new TypeError('reduceRight of empty array with no initial value')}while(!0);do o in this&&(a=e.call(void 0,a,n[o],o,t));while(o--);return a}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(e){var t=v&&'[object String]'==p(this)?this.split(''):B(this),r=t.length>>>0;if(!r)return-1;var o=0;for(1>>0;if(!r)return-1;var o=r-1;for(1t.isIE,t.isGecko=t.isMozilla=(window.Controllers||window.controllers)&&'Gecko'===window.navigator.product,t.isOldGecko=t.isGecko&&4>parseInt((r.match(/rv:(\d+)/)||[])[1],10),t.isOpera=window.opera&&'[object Opera]'==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(r.split('WebKit/')[1])||void 0,t.isChrome=parseFloat(r.split(' Chrome/')[1])||void 0,t.isAIR=0<=r.indexOf('AdobeAIR'),t.isIPad=0<=r.indexOf('iPad'),t.isTouchPad=0<=r.indexOf('TouchPad'),t.isChromeOS=0<=r.indexOf(' CrOS ')}}),ace.define('ace/lib/event',['require','exports','module','ace/lib/keys','ace/lib/useragent'],function(e,t){'use strict';function n(t,n,e){var r=d(n);if(!a.isMac&&i){if(n.getModifierState&&(n.getModifierState('OS')||n.getModifierState('Win'))&&(r|=8),i.altGr)if(3!=(3&r))i.altGr=0;else return;if(18===e||17===e){var l='location'in n?n.location:n.keyLocation;if(17===e&&1===l)1==i[e]&&(s=n.timeStamp);else if(18===e&&3===r&&2===l){var c=n.timeStamp-s;50>c&&(i.altGr=!0)}}}if(e in o.MODIFIER_KEYS&&(e=-1),8&r&&91<=e&&93>=e&&(e=-1),!r&&13===e){var l='location'in n?n.location:n.keyLocation;if(3===l&&(t(n,r,-e),n.defaultPrevented))return}if(a.isChromeOS&&8&r){if(t(n,r,e),n.defaultPrevented)return;r&=-9}return(r||e in o.FUNCTION_KEYS||e in o.PRINTABLE_KEYS)&&t(n,r,e)}function r(){i=Object.create(null)}var o=e('./keys'),a=e('./useragent'),i=null,s=0;t.addListener=function(e,t,n){if(e.addEventListener)return e.addEventListener(t,n,!1);if(e.attachEvent){var r=function(){n.call(e,window.event)};n._wrapper=r,e.attachEvent('on'+t,r)}},t.removeListener=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):void(e.detachEvent&&e.detachEvent('on'+t,n._wrapper||n))},t.stopEvent=function(n){return t.stopPropagation(n),t.preventDefault(n),!1},t.stopPropagation=function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},t.preventDefault=function(t){t.preventDefault?t.preventDefault():t.returnValue=!1},t.getButton=function(t){return'dblclick'==t.type?0:'contextmenu'==t.type||a.isMac&&t.ctrlKey&&!t.altKey&&!t.shiftKey?2:t.preventDefault?t.button:{1:0,2:2,4:1}[t.button]},t.capture=function(e,n,r){function o(a){n&&n(a),r&&r(a),t.removeListener(document,'mousemove',n,!0),t.removeListener(document,'mouseup',o,!0),t.removeListener(document,'dragstart',o,!0)}return t.addListener(document,'mousemove',n,!0),t.addListener(document,'mouseup',o,!0),t.addListener(document,'dragstart',o,!0),o},t.addTouchMoveListener=function(e,n){if('ontouchmove'in e){var r,o;t.addListener(e,'touchstart',function(t){var e=t.changedTouches[0];r=e.clientX,o=e.clientY}),t.addListener(e,'touchmove',function(t){var e=1,a=t.changedTouches[0];t.wheelX=-(a.clientX-r)/e,t.wheelY=-(a.clientY-o)/e,r=a.clientX,o=a.clientY,n(t)})}},t.addMouseWheelListener=function(e,n){'onmousewheel'in e?t.addListener(e,'mousewheel',function(t){var e=8;void 0===t.wheelDeltaX?(t.wheelX=0,t.wheelY=-t.wheelDelta/e):(t.wheelX=-t.wheelDeltaX/e,t.wheelY=-t.wheelDeltaY/e),n(t)}):'onwheel'in e?t.addListener(e,'wheel',function(t){var e=0.35;switch(t.deltaMode){case t.DOM_DELTA_PIXEL:t.wheelX=t.deltaX*e||0,t.wheelY=t.deltaY*e||0;break;case t.DOM_DELTA_LINE:case t.DOM_DELTA_PAGE:t.wheelX=5*(t.deltaX||0),t.wheelY=5*(t.deltaY||0);}n(t)}):t.addListener(e,'DOMMouseScroll',function(t){t.axis&&t.axis==t.HORIZONTAL_AXIS?(t.wheelX=5*(t.detail||0),t.wheelY=0):(t.wheelX=0,t.wheelY=5*(t.detail||0)),n(t)})},t.addMultiMouseDownListener=function(e,n,r,o){function i(i){if(0===t.getButton(i)?1>=1)&&(e+=e);return n};var n=/^\s\s*/,r=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(n,'')},t.stringTrimRight=function(e){return e.replace(r,'')},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){for(var t=[],n=0,r=e.length;nr.isChrome,s=r.isIE;t.TextInput=function(e,t){function l(e){if(!m){if(m=!0,S)t=0,n=e?0:p.value.length-1;else var t=e?2:1,n=2;try{p.setSelectionRange(t,n)}catch(t){}m=!1}}function u(){m||(p.value=g,r.isWebKit&&x.schedule())}function c(){clearTimeout(W),W=setTimeout(function(){b&&(p.style.cssText=b,b=''),null==t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())},r.isOldIE?200:0)}var p=o.createElement('textarea');p.className='ace_text-input',r.isTouchPad&&p.setAttribute('x-palm-disable-auto-cap',!0),p.setAttribute('wrap','off'),p.setAttribute('autocorrect','off'),p.setAttribute('autocapitalize','off'),p.setAttribute('spellcheck',!1),p.style.opacity='0',r.isOldIE&&(p.style.top='-1000px'),e.insertBefore(p,e.firstChild);var g='\x01\x01',f=!1,h=!1,m=!1,b='',y=!0;try{var k=document.activeElement===p}catch(t){}n.addListener(p,'blur',function(n){t.onBlur(n),k=!1}),n.addListener(p,'focus',function(n){k=!0,t.onFocus(n),l()}),this.focus=function(){if(b)return p.focus();var e=p.style.top;p.style.position='fixed',p.style.top='0px',p.focus(),setTimeout(function(){p.style.position='','0px'==p.style.top&&(p.style.top=e)},0)},this.blur=function(){p.blur()},this.isFocused=function(){return k};var v=a.delayedCall(function(){k&&l(y)}),x=a.delayedCall(function(){m||(p.value=g,k&&l())});r.isWebKit||t.addEventListener('changeSelection',function(){t.selection.isEmpty()!=y&&(y=!y,v.schedule())}),u(),k&&t.onFocus();var w=function(e){return 0===e.selectionStart&&e.selectionEnd===e.value.length};if(!p.setSelectionRange&&p.createTextRange&&(p.setSelectionRange=function(e,t){var n=this.createTextRange();n.collapse(!0),n.moveStart('character',e),n.moveEnd('character',t),n.select()},w=function(e){try{var t=e.ownerDocument.selection.createRange()}catch(t){}return t&&t.parentElement()==e&&t.text==e.value}),r.isOldIE){var C=!1,A=function(t){if(!C){var e=p.value;return m||!e||e==g?void 0:t&&e==g[0]?E.schedule():void(L(e),C=!0,u(),C=!1)}},E=a.delayedCall(A);n.addListener(p,'propertychange',A);var F={13:1,27:1};n.addListener(p,'keyup',function(t){return m&&(!p.value||F[t.keyCode])&&setTimeout(N,0),129>(p.value.charCodeAt(0)||0)?E.call():void(m?O():P())}),n.addListener(p,'keydown',function(){E.schedule(50)})}var S=null;this.setInputHandler=function(e){S=e},this.getInputHandler=function(){return S};var _=!1,L=function(e){S&&(e=S(e),S=null),h?(l(),e&&t.onPaste(e),h=!1):e==g.charAt(0)?_?t.execCommand('del',{source:'ace'}):t.execCommand('backspace',{source:'ace'}):(e.substring(0,2)==g?e=e.substr(2):e.charAt(0)==g.charAt(0)?e=e.substr(1):e.charAt(e.length-1)==g.charAt(0)&&(e=e.slice(0,-1)),e.charAt(e.length-1)==g.charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),_&&(_=!1)},T=function(){if(!m){var e=p.value;L(e),u()}},D=function(t,n,r){var e=t.clipboardData||window.clipboardData;if(e&&!i){var o=s||r?'Text':'text/plain';try{return n?!1!==e.setData(o,n):e.getData(o)}catch(t){if(!r)return D(t,n,!0)}}},B=function(r,e){var o=t.getCopyText();return o?void(D(r,o)?(e?t.onCut():t.onCopy(),n.preventDefault(r)):(f=!0,p.value=o,p.select(),setTimeout(function(){f=!1,u(),l(),e?t.onCut():t.onCopy()}))):n.preventDefault(r)},$=function(t){B(t,!0)},R=function(t){B(t,!1)},M=function(o){var e=D(o);'string'==typeof e?(e&&t.onPaste(e,o),r.isIE&&setTimeout(l),n.preventDefault(o)):(p.value='',h=!0)};n.addCommandKeyListener(p,t.onCommandKey.bind(t)),n.addListener(p,'select',function(){f?f=!1:w(p)?(t.selectAll(),l()):S&&l(t.selection.isEmpty())}),n.addListener(p,'input',T),n.addListener(p,'cut',$),n.addListener(p,'copy',R),n.addListener(p,'paste',M),'oncut'in p&&'oncopy'in p&&'onpaste'in p||n.addListener(e,'keydown',function(t){if((!r.isMac||t.metaKey)&&t.ctrlKey)switch(t.keyCode){case 67:R(t);break;case 86:M(t);break;case 88:$(t);}});var P=function(){m||!t.onCompositionStart||t.$readOnly||(m={},m.canUndo=t.session.$undoManager,t.onCompositionStart(),setTimeout(O,0),t.on('mousedown',N),m.canUndo&&!t.selection.isEmpty()&&(t.insert(''),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())},O=function(){if(m&&t.onCompositionUpdate&&!t.$readOnly){var e=p.value.replace(/\x01/g,'');if(m.lastValue!==e&&(t.onCompositionUpdate(e),m.lastValue&&t.undo(),m.canUndo&&(m.lastValue=e),m.lastValue)){var n=t.selection.getRange();t.insert(m.lastValue),t.session.markUndoGroup(),m.range=t.selection.getRange(),t.selection.setRange(n),t.selection.clearSelection()}}},N=function(n){if(t.onCompositionEnd&&!t.$readOnly){var e=m;m=!1;var o=setTimeout(function(){o=null;var t=p.value.replace(/\x01/g,'');m||(t==e.lastValue?u():!e.lastValue&&t&&(u(),L(t)))});S=function(n){return(o&&clearTimeout(o),n=n.replace(/\x01/g,''),n==e.lastValue)?'':(e.lastValue&&o&&t.undo(),n)},t.onCompositionEnd(),t.removeListener('mousedown',N),'compositionend'==n.type&&e.range&&t.selection.setRange(e.range),r.isChrome&&53<=r.isChrome&&T()}},I=a.delayedCall(O,50);n.addListener(p,'compositionstart',P),r.isGecko?n.addListener(p,'text',function(){I.schedule()}):(n.addListener(p,'keyup',function(){I.schedule()}),n.addListener(p,'keydown',function(){I.schedule()})),n.addListener(p,'compositionend',N),this.getElement=function(){return p},this.setReadOnly=function(e){p.readOnly=e},this.onContextMenu=function(n){_=!0,l(t.selection.isEmpty()),t._emit('nativecontextmenu',{target:t,domEvent:n}),this.moveToMouse(n,!0)},this.moveToMouse=function(a,e){if(e||!r.isOldIE){b||(b=p.style.cssText),p.style.cssText=(e?'z-index:100000;':'')+'height:'+p.style.height+';'+(r.isIE?'opacity:0.1;':'');var i=t.container.getBoundingClientRect(),s=o.computedStyle(t.container),l=i.top+(parseInt(s.borderTopWidth)||0),u=i.left+(parseInt(i.borderLeftWidth)||0),g=i.bottom-l-p.clientHeight-2,f=function(t){p.style.left=t.clientX-u-2+'px',p.style.top=d(t.clientY-l-2,g)+'px'};f(a),'mousedown'!=a.type||(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),clearTimeout(W),r.isWin&&!r.isOldIE&&n.capture(t.container,f,c))}},this.onContextMenuClose=c;var j=function(n){t.textInput.onContextMenu(n),c()},W;n.addListener(p,'mouseup',j),n.addListener(p,'mousedown',function(t){t.preventDefault(),c()}),n.addListener(t.renderer.scroller,'contextmenu',j),n.addListener(p,'contextmenu',j)}}),ace.define('ace/mouse/default_handlers',['require','exports','module','ace/lib/dom','ace/lib/event','ace/lib/useragent'],function(e,t){'use strict';function n(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler('mousedown',this.onMouseDown.bind(e)),t.setDefaultHandler('dblclick',this.onDoubleClick.bind(e)),t.setDefaultHandler('tripleclick',this.onTripleClick.bind(e)),t.setDefaultHandler('quadclick',this.onQuadClick.bind(e)),t.setDefaultHandler('mousewheel',this.onMouseWheel.bind(e)),t.setDefaultHandler('touchmove',this.onTouchMove.bind(e));['select','startSelect','selectEnd','selectAllEnd','selectByWordsEnd','selectByLinesEnd','dragWait','dragWaitEnd','focusWait'].forEach(function(t){e[t]=this[t]},this),e.selectByLines=this.extendSelectionBy.bind(e,'getLineRange'),e.selectByWords=this.extendSelectionBy.bind(e,'getWordRange')}function r(e,t,n,r){return a(s(n-e,2)+s(r-t,2))}function o(e,t){if(e.start.row==e.end.row)var n=2*t.column-e.start.column-e.end.column;else if(e.start.row==e.end.row-1&&!e.start.column&&!e.end.column)var n=t.column-4;else var n=2*t.row-e.start.row-e.end.row;return 0>n?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}var i=e('../lib/dom'),l=e('../lib/event'),d=e('../lib/useragent');(function(){this.onMouseDown=function(e){var t=e.inSelection(),n=e.getDocumentPosition();this.mousedownEvent=e;var r=this.editor,o=e.getButton();if(0!==o){var a=r.getSelectionRange(),i=a.isEmpty();return r.$blockScrolling++,(i||1==o)&&r.selection.moveToPosition(n),r.$blockScrolling--,void(2==o&&r.textInput.onContextMenu(e.domEvent))}return(this.mousedownEvent.time=Date.now(),t&&!r.isFocused()&&(r.focus(),this.$focusTimout&&!this.$clickSelection&&!r.inMultiSelectMode))?(this.setState('focusWait'),void this.captureMouse(e)):(this.captureMouse(e),this.startSelect(n,1=s)a=this.$clickSelection.end,(r.end.row!=n.row||r.end.column!=n.column)&&(n=r.start);else if(1==s&&0<=i)a=this.$clickSelection.start,(r.start.row!=n.row||r.start.column!=n.column)&&(n=r.end);else if(-1==i&&1==s)n=r.end,a=r.start;else{var l=o(this.$clickSelection,n);n=l.cursor,a=l.anchor}t.selection.setSelectionAnchor(a.row,a.column)}t.selection.selectToPosition(n),t.$blockScrolling--,t.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle('ace_selecting'),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var e=r(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),t=Date.now();(e>0||t-this.mousedownEvent.time>this.$focusTimout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(e){var t=e.getDocumentPosition(),n=this.editor,r=n.session,o=r.getBracketRange(t);o?(o.isEmpty()&&(o.start.column--,o.end.column++),this.setState('select')):(o=n.selection.getWordRange(t.row,t.column),this.setState('selectByWords')),this.$clickSelection=o,this.select()},this.onTripleClick=function(e){var t=e.getDocumentPosition(),n=this.editor;this.setState('selectByLines');var r=n.getSelectionRange();r.isMultiLine()&&r.contains(t.row,t.column)?(this.$clickSelection=n.selection.getLineRange(r.start.row),this.$clickSelection.end=n.selection.getLineRange(r.end.row).end):this.$clickSelection=n.selection.getLineRange(t.row),this.select()},this.onQuadClick=function(){var e=this.editor;e.selectAll(),this.$clickSelection=e.getSelectionRange(),this.setState('selectAll')},this.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var n=e.domEvent.timeStamp,t=n-(this.$lastScrollTime||0),r=this.editor,o=r.renderer.isScrollableBy(e.wheelX*e.speed,e.wheelY*e.speed);if(o||200>t)return this.$lastScrollTime=n,r.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()}},this.onTouchMove=function(e){var n=e.domEvent.timeStamp,t=n-(this.$lastScrollTime||0),r=this.editor,o=r.renderer.isScrollableBy(e.wheelX*e.speed,e.wheelY*e.speed);if(o||200>t)return this.$lastScrollTime=n,r.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()}}).call(n.prototype),t.DefaultHandlers=n}),ace.define('ace/tooltip',['require','exports','module','ace/lib/oop','ace/lib/dom'],function(e,t){'use strict';function n(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}var r=e('./lib/oop'),o=e('./lib/dom');(function(){this.$init=function(){return this.$element=o.createElement('div'),this.$element.className='ace_tooltip',this.$element.style.display='none',this.$parentNode.appendChild(this.$element),this.$element},this.getElement=function(){return this.$element||this.$init()},this.setText=function(e){o.setInnerText(this.getElement(),e)},this.setHtml=function(e){this.getElement().innerHTML=e},this.setPosition=function(e,t){this.getElement().style.left=e+'px',this.getElement().style.top=t+'px'},this.setClassName=function(e){o.addCssClass(this.getElement(),e)},this.show=function(e,t,n){null!=e&&this.setText(e),null!=t&&null!=n&&this.setPosition(t,n),this.isOpen||(this.getElement().style.display='block',this.isOpen=!0)},this.hide=function(){this.isOpen&&(this.getElement().style.display='none',this.isOpen=!1)},this.getHeight=function(){return this.getElement().offsetHeight},this.getWidth=function(){return this.getElement().offsetWidth}}).call(n.prototype),t.Tooltip=n}),ace.define('ace/mouse/default_gutter_handler',['require','exports','module','ace/lib/dom','ace/lib/oop','ace/lib/event','ace/tooltip'],function(e,t){'use strict';function n(e){i.call(this,e)}var r=e('../lib/dom'),o=e('../lib/oop'),a=e('../lib/event'),i=e('../tooltip').Tooltip;o.inherits(n,i),function(){this.setPosition=function(e,t){var n=window.innerWidth||document.documentElement.clientWidth,r=window.innerHeight||document.documentElement.clientHeight,o=this.getWidth(),a=this.getHeight();e+=15,t+=15,e+o>n&&(e-=e+o-n),t+a>r&&(t-=20+a),i.prototype.setPosition.call(this,e,t)}}.call(n.prototype),t.GutterHandler=function(t){function e(){var e=u.getDocumentPosition().row,n=l.$annotations[e];if(!n)return o();var r=s.session.getLength();if(e==r){var a=s.renderer.pixelToScreenCoordinates(0,u.y).row,c=u.$pos;if(a>s.session.documentToScreenRow(c.row,c.column))return o()}if(p!=n)if(p=n.text.join('
'),d.setHtml(p),d.show(),s._signal('showGutterTooltip',d),s.on('mousewheel',o),t.$tooltipFollowsMouse)i(u);else{var g=u.domEvent.target,f=g.getBoundingClientRect(),h=d.getElement().style;h.left=f.right+'px',h.top=f.bottom+'px'}}function o(){c&&(c=clearTimeout(c)),p&&(d.hide(),p=null,s._signal('hideGutterTooltip',d),s.removeEventListener('mousewheel',o))}function i(t){d.setPosition(t.x,t.y)}var s=t.editor,l=s.renderer.$gutterLayer,d=new n(s.container);t.editor.setDefaultHandler('guttermousedown',function(n){if(s.isFocused()&&0==n.getButton()){var e=l.getRegion(n);if('foldWidgets'!=e){var r=n.getDocumentPosition().row,o=s.session.selection;if(n.getShiftKey())o.selectTo(r,0);else{if(2==n.domEvent.detail)return s.selectAll(),n.preventDefault();t.$clickSelection=s.selection.getLineRange(r)}return t.setState('selectByLines'),t.captureMouse(n),n.preventDefault()}}});var c,u,p;t.editor.setDefaultHandler('guttermousemove',function(n){var a=n.domEvent.target||n.domEvent.srcElement;if(r.hasCssClass(a,'ace_fold-widget'))return o();p&&t.$tooltipFollowsMouse&&i(n),u=n;c||(c=setTimeout(function(){c=null,u&&!t.isMousePressed?e():o()},50))}),a.addListener(s.renderer.$gutter,'mouseout',function(){u=null;!p||c||(c=setTimeout(function(){c=null,o()},50))}),s.on('changeSession',o)}}),ace.define('ace/mouse/mouse_event',['require','exports','module','ace/lib/event','ace/lib/useragent'],function(e,t){'use strict';var n=e('../lib/event'),r=e('../lib/useragent'),o=t.MouseEvent=function(e,t){this.domEvent=e,this.editor=t,this.x=this.clientX=e.clientX,this.y=this.clientY=e.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){n.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){n.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos?this.$pos:(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY),this.$pos)},this.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var e=this.editor,t=e.getSelectionRange();if(t.isEmpty())this.$inSelection=!1;else{var n=this.getDocumentPosition();this.$inSelection=t.contains(n.row,n.column)}return this.$inSelection},this.getButton=function(){return n.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=r.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(o.prototype)}),ace.define('ace/mouse/dragdrop_handler',['require','exports','module','ace/lib/dom','ace/lib/event','ace/lib/useragent'],function(e,t){'use strict';function n(e){function t(e,t){var n=Date.now(),o=!t||e.row!=t.row,a=!t||e.column!=t.column;if(!B||o||a)b.$blockScrolling+=1,b.moveCursorToPosition(e),b.$blockScrolling-=1,B=n,$={x:A,y:E};else{var i=r($.x,$.y,A,E);i>p?B=null:n-B>=u&&(b.renderer.scrollCursorIntoView(),B=null)}}function n(e,t){var n=Date.now(),r=b.renderer.layerConfig.lineHeight,o=b.renderer.layerConfig.characterWidth,a=b.renderer.scroller.getBoundingClientRect(),i={x:{left:A-a.left,right:a.right-A},y:{top:E-a.top,bottom:a.bottom-E}},s=d(i.x.left,i.x.right),l=d(i.y.top,i.y.bottom),u={row:e.row,column:e.column};2>=s/o&&(u.column+=i.x.left=l/r&&(u.row+=i.y.top=c&&b.renderer.scrollCursorIntoView(u):D=n:D=null}function a(){var e=_;_=b.renderer.screenToTextCoordinates(A,E),t(_,e),n(_,e)}function s(){S=b.selection.toOrientedRange(),C=b.session.addMarker(S,'ace_selection',b.getSelectionStyle()),b.clearSelection(),b.isFocused()&&b.renderer.$cursorLayer.setBlinking(!1),clearInterval(F),a(),F=setInterval(a,20),w=0,i.addListener(document,'mousemove',f)}function g(){clearInterval(F),b.session.removeMarker(C),C=null,b.$blockScrolling+=1,b.selection.fromOrientedRange(S),b.$blockScrolling-=1,b.isFocused()&&!T&&b.renderer.$cursorLayer.setBlinking(!b.getReadOnly()),S=null,_=null,w=0,D=null,B=null,i.removeListener(document,'mousemove',f)}function f(){null==R&&(R=setTimeout(function(){null!=R&&C&&g()},20))}function h(e){var t=e.types;return!t||Array.prototype.some.call(t,function(e){return'text/plain'==e||'Text'==e})}function m(t){var e=['copy','copymove','all','uninitialized'],n=l.isMac?t.altKey:t.ctrlKey,r='uninitialized';try{r=t.dataTransfer.effectAllowed.toLowerCase()}catch(t){}var o='none';return n&&0<=e.indexOf(r)?o='copy':0<=['move','copymove','linkmove','all','uninitialized'].indexOf(r)?o='move':0<=e.indexOf(r)&&(o='copy'),o}var b=e.editor,k=o.createElement('img');k.src='data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==',l.isOpera&&(k.style.cssText='width:1px;height:1px;position:fixed;top:0;left:0;z-index:2147483647;opacity:0;');['dragWait','dragWaitEnd','startDrag','dragReadyEnd','onMouseDrag'].forEach(function(t){e[t]=this[t]},this),b.addEventListener('mousedown',this.onMouseDown.bind(e));var v=b.container,w=0,C,A,E,F,S,_,L,T,D,B,$;this.onDragStart=function(t){if(this.cancelDrag||!v.draggable){var e=this;return setTimeout(function(){e.startSelect(),e.captureMouse(t)},0),t.preventDefault()}S=b.getSelectionRange();var n=t.dataTransfer;n.effectAllowed=b.getReadOnly()?'copy':'copyMove',l.isOpera&&(b.container.appendChild(k),k.scrollTop=0),n.setDragImage&&n.setDragImage(k,0,0),l.isOpera&&b.container.removeChild(k),n.clearData(),n.setData('Text',b.session.getTextRange()),T=!0,this.setState('drag')},this.onDragEnd=function(t){if(v.draggable=!1,T=!1,this.setState(null),!b.getReadOnly()){var e=t.dataTransfer.dropEffect;L||'move'!=e||b.session.remove(b.getSelectionRange()),b.renderer.$cursorLayer.setBlinking(!0)}this.editor.unsetStyle('ace_dragging'),this.editor.renderer.setCursorStyle('')},this.onDragEnter=function(t){if(!b.getReadOnly()&&h(t.dataTransfer))return A=t.clientX,E=t.clientY,C||s(),w++,t.dataTransfer.dropEffect=L=m(t),i.preventDefault(t)},this.onDragOver=function(t){if(!b.getReadOnly()&&h(t.dataTransfer))return A=t.clientX,E=t.clientY,C||(s(),w++),null!==R&&(R=null),t.dataTransfer.dropEffect=L=m(t),i.preventDefault(t)},this.onDragLeave=function(t){if(w--,0>=w&&C)return g(),L=null,i.preventDefault(t)},this.onDrop=function(t){if(_){var e=t.dataTransfer;if(T)'move'===L?S=S.contains(_.row,_.column)?{start:_,end:_}:b.moveText(S,_):'copy'===L?S=b.moveText(S,_,!0):void 0;else{var n=e.getData('Text');S={start:_,end:b.session.insert(_,n)},b.focus(),L=null}return g(),i.preventDefault(t)}},i.addListener(v,'dragstart',this.onDragStart.bind(e)),i.addListener(v,'dragend',this.onDragEnd.bind(e)),i.addListener(v,'dragenter',this.onDragEnter.bind(e)),i.addListener(v,'dragover',this.onDragOver.bind(e)),i.addListener(v,'dragleave',this.onDragLeave.bind(e)),i.addListener(v,'drop',this.onDrop.bind(e));var R=null}function r(e,t,n,r){return a(s(n-e,2)+s(r-t,2))}var o=e('../lib/dom'),i=e('../lib/event'),l=e('../lib/useragent'),c=200,u=200,p=5;(function(){this.dragWait=function(){var e=Date.now()-this.mousedownEvent.time;e>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){var e=this.editor.container;e.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(){this.editor.renderer.$cursorLayer.setBlinking(!this.editor.getReadOnly()),this.editor.unsetStyle('ace_dragging'),this.editor.renderer.setCursorStyle(''),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor,t=e.container;t.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle('ace_dragging');var n=l.isWin?'default':'move';e.renderer.setCursorStyle(n),this.setState('dragReady')},this.onMouseDrag=function(){var e=this.editor.container;if(l.isIE&&'dragReady'==this.state){var t=r(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);3 ['+this.end.row+'/'+this.end.column+']'},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t=e.end,n=e.start,r;return r=this.compare(t.row,t.column),1==r?(r=this.compare(n.row,n.column),1==r?2:0==r?1:0):-1==r?-2:(r=this.compare(n.row,n.column),-1==r?-1:1==r?42:0)},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){'object'==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){'object'==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return!(0!=this.compare(e,t))&&(this.isEnd(e,t)||this.isStart(e,t)?!1:!0)},this.insideStart=function(e,t){return!(0!=this.compare(e,t))&&!this.isEnd(e,t)},this.insideEnd=function(e,t){return!(0!=this.compare(e,t))&&!this.isStart(e,t)},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?ethis.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:tthis.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var r={row:t+1,column:0};else if(this.end.rowt)var o={row:t+1,column:0};else if(this.start.rowt.row||e.row==t.row&&e.column>t.column},this.getRange=function(){var e=this.anchor,t=this.lead;return this.isEmpty()?a.fromPoints(t,t):this.isBackwards()?a.fromPoints(t,e):a.fromPoints(e,t)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit('changeSelection'))},this.selectAll=function(){var e=this.doc.getLength()-1;this.setSelectionAnchor(0,0),this.moveCursorTo(e,this.doc.getLine(e).length)},this.setRange=this.setSelectionRange=function(e,t){t?(this.setSelectionAnchor(e.end.row,e.end.column),this.selectTo(e.start.row,e.start.column)):(this.setSelectionAnchor(e.start.row,e.start.column),this.selectTo(e.end.row,e.end.column)),this.getRange().isEmpty()&&(this.$isEmpty=!0),this.$desiredColumn=null},this.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},this.selectTo=function(e,t){this.$moveSelection(function(){this.moveCursorTo(e,t)})},this.selectToPosition=function(e){this.$moveSelection(function(){this.moveCursorToPosition(e)})},this.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},this.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(e,t){if('undefined'==typeof t){var n=e||this.lead;e=n.row,t=n.column}return this.session.getWordRange(e,t)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},this.getLineRange=function(e,t){var n='number'==typeof e?e:this.lead.row,r=this.session.getFoldLine(n),o;return r?(n=r.start.row,o=r.end.row):o=n,!0===t?new a(n,0,o,this.session.getLine(o).length):new a(n,0,o+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.moveCursorLeft=function(){var e=this.lead.getPosition(),t;if(t=this.session.getFoldAt(e.row,e.column,-1))this.moveCursorTo(t.start.row,t.start.column);else if(0===e.column)0=n.length?(this.moveCursorTo(e,n.length),this.moveCursorRight(),void(e=t?(this.moveCursorTo(e,0),this.moveCursorLeft(),void(0t)for(r.lastIndex=0;(a=e[t])&&!r.test(a);)if(r.lastIndex=0,t++,n.test(a))if(2c){var y=e.substring(c,b-m.length);p.type==f?p.value+=y:(p.type&&d.push(p),p={type:f,value:y})}for(var k=0;kr){for(u>2*e.length&&this.reportError('infinite loop with in ace tokenizer',{startState:t,line:e});cthis.$tokenIndex;){if(this.$row-=1,0>this.$row)return this.$row=0,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=this.$rowTokens.length-1}return this.$rowTokens[this.$tokenIndex]},this.stepForward=function(){this.$tokenIndex+=1;for(var e;this.$tokenIndex>=this.$rowTokens.length;){if(this.$row+=1,e||(e=this.$session.getLength()),this.$row>=e)return this.$row=e-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},this.getCurrentTokenRow=function(){return this.$row},this.getCurrentTokenColumn=function(){var e=this.$rowTokens,t=this.$tokenIndex,n=e[t].start;if(n!==void 0)return n;for(n=0;0e.length&&(x=e.length):(nthis.row)){var n=t(e,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},this.setPosition=function(e,t,n){var r;if(r=n?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=r.row||this.column!=r.column){var o={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._signal('change',{old:o,value:r})}},this.detach=function(){this.document.removeEventListener('change',this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on('change',this.$onChange)},this.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=c(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):0>e?(n.row=0,n.column=0):(n.row=e,n.column=d(this.document.getLine(n.row).length,c(0,t))),0>t&&(n.column=0),n}}).call(o.prototype)}),ace.define('ace/document',['require','exports','module','ace/lib/oop','ace/apply_delta','ace/lib/event_emitter','ace/range','ace/anchor'],function(e,t){'use strict';var n=e('./lib/oop'),r=e('./apply_delta').applyDelta,o=e('./lib/event_emitter').EventEmitter,a=e('./range').Range,i=e('./anchor').Anchor,s=function(e){this.$lines=[''],0===e.length?this.$lines=['']:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){n.implement(this,o),this.setValue=function(e){var t=this.getLength()-1;this.remove(new a(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new i(this,e,t)},this.$split=0==='aaa'.split(/a/).length?function(e){return e.replace(/\r\n|\r/g,'\n').split('\n')}:function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:'\n',this._signal('changeNewLineMode')},this.getNewLineCharacter=function(){switch(this.$newLineMode){case'windows':return'\r\n';case'unix':return'\n';default:return this.$autoNewLine||'\n';}},this.$autoNewLine='',this.$newLineMode='auto',this.setNewLineMode=function(e){this.$newLineMode===e||(this.$newLineMode=e,this._signal('changeNewLineMode'))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return'\r\n'==e||'\r'==e||'\n'==e},this.getLine=function(e){return this.$lines[e]||''},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{t=this.getLines(e.start.row,e.end.row),t[0]=(t[0]||'').substring(e.start.column);var n=t.length-1;e.end.row-e.start.row==n&&(t[n]=t[n].substring(0,e.end.column))}return t},this.insertLines=function(e,t){return console.warn('Use of document.insertLines is deprecated. Use the insertFullLines method instead.'),this.insertFullLines(e,t)},this.removeLines=function(e,t){return console.warn('Use of document.removeLines is deprecated. Use the removeFullLines method instead.'),this.removeFullLines(e,t)},this.insertNewLine=function(e){return console.warn('Use of document.insertNewLine is deprecated. Use insertMergedLines(position, [\'\', \'\']) instead.'),this.insertMergedLines(e,['',''])},this.insert=function(e,t){return 1>=this.getLength()&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},this.insertInLine=function(e,t){var n=this.clippedPos(e.row,e.column),r=this.pos(e.row,e.column+t.length);return this.applyDelta({start:n,end:r,action:'insert',lines:[t]},!0),this.clonePos(r)},this.clippedPos=function(e,t){var n=this.getLength();void 0===e?e=n:0>e?e=0:e>=n&&(e=n-1,t=void 0);var r=this.getLine(e);return void 0==t&&(t=r.length),t=d(c(t,0),r.length),{row:e,column:t}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,t){return{row:e,column:t}},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=c(0,t-1),e.column=this.getLine(t-1).length):(e.row=c(0,e.row),e.column=d(c(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,t){e=d(c(e,0),this.getLength());var n=0;e=e.lines.length&&!e.lines[0]:!a.comparePoints(e.start,e.end))||(n&&2e4r){e.lines=l,e.start.row=o+i,e.start.column=a;break}l.push(''),this.applyDelta({start:this.pos(o+i,a),end:this.pos(o+s,a=0),action:e.action,lines:l},!0)}while(!0)},this.revertDelta=function(e){this.applyDelta({start:this.clonePos(e.start),end:this.clonePos(e.end),action:'insert'==e.action?'remove':'insert',lines:e.lines.slice()})},this.indexToPosition=function(e,t){for(var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,o=t||0,a=n.length;oe)return{row:o,column:e+n[o].length+r};return{row:a-1,column:n[a-1].length}},this.positionToIndex=function(e,t){for(var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,o=0,a=d(e.row,n.length),s=t||0;se+1&&(this.currentLine=e+1)),this.lines[e]=r.tokens}}).call(o.prototype),t.BackgroundTokenizer=o}),ace.define('ace/search_highlight',['require','exports','module','ace/lib/lang','ace/lib/oop','ace/range'],function(e,t){'use strict';var n=e('./lib/lang'),r=e('./lib/oop'),o=e('./range').Range,a=function(e,t,n){this.setRegexp(e),this.clazz=t,this.type=n||'text'};(function(){this.MAX_RANGES=500,this.setRegexp=function(e){this.regExp+''==e+''||(this.regExp=e,this.cache=[])},this.update=function(e,t,r,a){if(this.regExp)for(var s=a.firstRow,l=a.lastRow,d=s,i;d<=l;d++){i=this.cache[d],null==i&&(i=n.getMatchOffsets(r.getLine(d),this.regExp),i.length>this.MAX_RANGES&&(i=i.slice(0,this.MAX_RANGES)),i=i.map(function(e){return new o(d,e.offset,d,e.offset+e.length)}),this.cache[d]=i.length?i:'');for(var c=i.length;c--;)t.drawSingleLineMarker(e,i[c].toScreenRange(r),this.clazz,a)}}}).call(a.prototype),t.SearchHighlight=a}),ace.define('ace/edit_session/fold_line',['require','exports','module','ace/range'],function(e,t){'use strict';function n(e,t){this.foldData=e,Array.isArray(t)?this.folds=t:t=this.folds=[t];var n=t[t.length-1];this.range=new r(t[0].start.row,t[0].start.column,n.end.row,n.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach(function(e){e.setFoldLine(this)},this)}var r=e('../range').Range;(function(){this.shiftRow=function(e){this.start.row+=e,this.end.row+=e,this.folds.forEach(function(t){t.start.row+=e,t.end.row+=e})},this.addFold=function(e){if(e.sameRow){if(e.start.rowthis.endRow)throw new Error('Can\'t add a fold to this FoldLine as it has no connection');this.folds.push(e),this.folds.sort(function(e,t){return-e.range.compareEnd(t.start.row,t.start.column)}),0this.range.compareStart(e.end.row,e.end.column)&&(this.start.row=e.start.row,this.start.column=e.start.column)}else if(e.start.row==this.end.row)this.folds.push(e),this.end.row=e.end.row,this.end.column=e.end.column;else if(e.end.row==this.start.row)this.folds.unshift(e),this.start.row=e.start.row,this.start.column=e.start.column;else throw new Error('Trying to add fold to FoldRow that doesn\'t have a matching row');e.foldLine=this},this.containsRow=function(e){return e>=this.start.row&&e<=this.end.row},this.walk=function(e,t,n){var r=0,o=this.folds,a=!0,s,l,d;null==t&&(t=this.end.row,n=this.end.column);for(var c=0;ce)return{row:r.start.row,column:r.start.column+e};if(e-=r.placeholder.length,0>e)return r.start;t=r.end.column}return{row:this.end.row,column:this.end.column+e}}}).call(n.prototype),t.FoldLine=n}),ace.define('ace/range_list',['require','exports','module','ace/range'],function(e,t){'use strict';var n=e('./range').Range,r=n.comparePoints,o=function(){this.ranges=[]};(function(){this.comparePoints=r,this.pointIndex=function(e,t,n){for(var o=this.ranges,a=n||0;an&&(n=-n-1);var r=this.pointIndex(e.end,t,n);return 0>r?r=-r-1:r++,this.ranges.splice(n,r-n,e)},this.addList=function(e){for(var t=[],n=e.length;n--;)t.push.apply(t,this.add(e[n]));return t},this.substractPoint=function(e){var t=this.pointIndex(e);if(0<=t)return this.ranges.splice(t,1)},this.merge=function(){var e=[],t=this.ranges;t=t.sort(function(e,t){return r(e.start,t.start)});for(var n=t[0],o=1,a;oi||0==i&&!a.isEmpty()&&!n.isEmpty()||(0>r(a.end,n.end)&&(a.end.row=n.end.row,a.end.column=n.end.column),t.splice(o,1),e.push(n),n=a,o--)}return this.ranges=t,e},this.contains=function(e,t){return 0<=this.pointIndex({row:e,column:t})},this.containsPoint=function(e){return 0<=this.pointIndex(e)},this.rangeAtPoint=function(e){var t=this.pointIndex(e);if(0<=t)return this.ranges[t]},this.clipRows=function(e,t){var n=this.ranges;if(n[0].start.row>t||n[n.length-1].start.rowr&&(r=-r-1);var o=this.pointIndex({row:t,column:0},r);0>o&&(o=-o-1);for(var a=[],s=r;sa)break;if(n.start.row==a&&n.start.column>=t.column&&(n.start.column==t.column&&this.$insertRight||(n.start.column+=d,n.start.row+=l)),n.end.row==a&&n.end.column>=t.column){if(n.end.column==t.column&&this.$insertRight)continue;n.end.column==t.column&&0n.start.column&&n.end.column==c[u+1].start.column&&(n.end.column-=d),n.end.column+=d,n.end.row+=l}}if(0!=l&&u=e)return o;if(o.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var n=this.$foldData,r=0;for(t&&(r=n.indexOf(t)),-1==r&&(r=0),r;r=e)return o}return null},this.getFoldedRowCount=function(e,t){for(var n=this.$foldData,r=t-e+1,o=0;o=t){s=e?r-=t-s:r=0);break}else i>=e&&(r-=s>=e?i-s:i-e+1)}return r},this.$addFoldLine=function(e){return this.$foldData.push(e),this.$foldData.sort(function(e,t){return e.start.row-t.start.row}),e},this.addFold=function(e,t){var n=this.$foldData,a=!1,s;e instanceof o?s=e:(s=new o(t,e),s.collapseChildren=t.collapseChildren),this.$clipRangeToDocument(s.range);var l=s.start.row,d=s.start.column,c=s.end.row,u=s.end.column;if(!(ls.length)return;s=s.trim().substring(0,2)+'..'}this.addFold(s,n)},this.getCommentFoldRange=function(e,t,r){var o=new a(this,e,t),i=o.getCurrentToken();if(i&&/^comment|string/.test(i.type)){var s=new n,l=new RegExp(i.type.replace(/\..*/,'\\.'));if(1!=r){do i=o.stepBackward();while(i&&l.test(i.type));o.stepForward()}if(s.start.row=o.getCurrentTokenRow(),s.start.column=o.getCurrentTokenColumn()+2,o=new a(this,e,t),-1!=r){do i=o.stepForward();while(i&&l.test(i.type));i=o.stepBackward()}else i=o.getCurrentToken();return s.end.row=o.getCurrentTokenRow(),s.end.column=o.getCurrentTokenColumn()+i.value.length-2,s}},this.foldAll=function(e,t,n){n==void 0&&(n=1e5);var r=this.foldWidgets;if(r){t=t||this.getLength(),e=e||0;for(var o=e;o=e){o=a.end.row;try{var i=this.addFold('...',a);i&&(i.collapseChildren=n)}catch(t){}}}}},this.$foldStyles={manual:1,markbegin:1,markbeginend:1},this.$foldStyle='markbegin',this.setFoldStyle=function(e){if(!this.$foldStyles[e])throw new Error('invalid fold style: '+e+'['+Object.keys(this.$foldStyles).join(', ')+']');if(this.$foldStyle!=e){this.$foldStyle=e,'manual'==e&&this.unfold();var t=this.$foldMode;this.$setFolding(null),this.$setFolding(t)}},this.$setFolding=function(e){if(this.$foldMode!=e)return this.$foldMode=e,this.off('change',this.$updateFoldWidgets),this.off('tokenizerUpdate',this.$tokenizerUpdateFoldWidgets),this._signal('changeAnnotation'),e&&'manual'!=this.$foldStyle?void(this.foldWidgets=[],this.getFoldWidget=e.getFoldWidget.bind(e,this,this.$foldStyle),this.getFoldWidgetRange=e.getFoldWidgetRange.bind(e,this,this.$foldStyle),this.$updateFoldWidgets=this.updateFoldWidgets.bind(this),this.$tokenizerUpdateFoldWidgets=this.tokenizerUpdateFoldWidgets.bind(this),this.on('change',this.$updateFoldWidgets),this.on('tokenizerUpdate',this.$tokenizerUpdateFoldWidgets)):void(this.foldWidgets=null)},this.getParentFoldRangeData=function(e,t){var n=this.foldWidgets;if(!n||t&&n[e])return{};for(var r=e-1,o,a;0<=r;){if(a=n[r],null==a&&(a=n[r]=this.getFoldWidget(r)),'start'==a){var i=this.getFoldWidgetRange(r);if(o||(o=i),i&&i.end.row>=e)break}r--}return{range:-1!=r&&i,firstRange:o}},this.onFoldWidgetClick=function(t,n){n=n.domEvent;var e={children:n.shiftKey,all:n.ctrlKey||n.metaKey,siblings:n.altKey},r=this.$toggleFoldWidget(t,e);if(!r){var o=n.target||n.srcElement;o&&/ace_fold-widget/.test(o.className)&&(o.className+=' ace_invalid')}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var n=this.getFoldWidget(e),r=this.getLine(e),o='end'===n?-1:1,a=this.getFoldAt(e,-1==o?0:r.length,o);if(a)return t.children||t.all?this.removeFold(a):this.expandFold(a),a;var i=this.getFoldWidgetRange(e,!0);if(i&&!i.isMultiLine()&&(a=this.getFoldAt(i.start.row,i.start.column,1),a&&i.isEqual(a.range)))return this.removeFold(a),a;if(t.siblings){var s=this.getParentFoldRangeData(e);if(s.range)var l=s.range.start.row+1,d=s.range.end.row;this.foldAll(l,d,t.all?1e4:0)}else t.children?(d=i?i.end.row:this.getLength(),this.foldAll(e+1,d,t.all?1e4:0)):i&&(t.all&&(i.collapseChildren=1e4),this.addFold('...',i));return i}},this.toggleFoldWidget=function(){var e=this.selection.getCursor().row;e=this.getRowFoldStart(e);var t=this.$toggleFoldWidget(e,{});if(!t){var n=this.getParentFoldRangeData(e,!0);if(t=n.range||n.firstRange,t){e=t.start.row;var r=this.getFoldAt(e,this.getLine(e).length,1);r?this.removeFold(r):this.addFold('...',t)}}},this.updateFoldWidgets=function(e){var t=e.start.row,n=e.end.row-t;if(0==n)this.foldWidgets[t]=null;else if('remove'==e.action)this.foldWidgets.splice(t,n+1,null);else{var r=Array(n+1);r.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,r)}},this.tokenizerUpdateFoldWidgets=function(t){var e=t.data;e.first!=e.last&&this.foldWidgets.length>e.first&&this.foldWidgets.splice(e.first,this.foldWidgets.length)}}}),ace.define('ace/edit_session/bracket_match',['require','exports','module','ace/token_iterator','ace/range'],function(e,t){'use strict';var n=e('../token_iterator').TokenIterator,r=e('../range').Range;t.BracketMatch=function(){this.findMatchingBracket=function(e,t){if(0==e.column)return null;var n=t||this.getLine(e.row).charAt(e.column-1);if(''==n)return null;var r=n.match(/([\(\[\{])|([\)\]\}])/);return r?r[1]?this.$findClosingBracket(r[1],e):this.$findOpeningBracket(r[2],e):null},this.getBracketRange=function(e){var t=this.getLine(e.row),n=!0,o=t.charAt(e.column-1),a=o&&o.match(/([\(\[\{])|([\)\]\}])/),i;if(a||(o=t.charAt(e.column),e={row:e.row,column:e.column+1},a=o&&o.match(/([\(\[\{])|([\)\]\}])/),n=!1),!a)return null;if(a[1]){var s=this.$findClosingBracket(a[1],e);if(!s)return null;i=r.fromPoints(e,s),n||(i.end.column++,i.start.column--),i.cursor=i.end}else{var s=this.$findOpeningBracket(a[2],e);if(!s)return null;i=r.fromPoints(s,e),n||(i.start.column++,i.end.column--),i.cursor=i.start}return i},this.$brackets={")":'(',"(":')',"]":'[',"[":']',"{":'}',"}":'{'},this.$findOpeningBracket=function(e,t,r){var o=this.$brackets[e],a=1,i=new n(this,t.row,t.column),s=i.getCurrentToken();if(s||(s=i.stepForward()),!!s){r||(r=new RegExp('(\\.?'+s.type.replace('.','\\.').replace('rparen','.paren').replace(/\b(?:end)\b/,'(?:start|begin|end)')+')+'));for(var l=t.column-i.getCurrentTokenColumn()-2,d=s.value;;){for(;0<=l;){var c=d.charAt(l);if(c!=o)c==e&&(a+=1);else if(a-=1,0==a)return{row:i.getCurrentTokenRow(),column:l+i.getCurrentTokenColumn()};l-=1}do s=i.stepBackward();while(s&&!r.test(s.type));if(null==s)break;d=s.value,l=d.length-1}return null}},this.$findClosingBracket=function(e,t,r){var o=this.$brackets[e],a=1,i=new n(this,t.row,t.column),s=i.getCurrentToken();if(s||(s=i.stepForward()),!!s){r||(r=new RegExp('(\\.?'+s.type.replace('.','\\.').replace('lparen','.paren').replace(/\b(?:start|begin)\b/,'(?:start|begin|end)')+')+'));for(var l=t.column-i.getCurrentTokenColumn();;){for(var d=s.value,c=d.length,u;le)&&(4352<=e&&4447>=e||4515<=e&&4519>=e||4602<=e&&4607>=e||9001<=e&&9002>=e||11904<=e&&11929>=e||11931<=e&&12019>=e||12032<=e&&12245>=e||12272<=e&&12283>=e||12288<=e&&12350>=e||12353<=e&&12438>=e||12441<=e&&12543>=e||12549<=e&&12589>=e||12593<=e&&12686>=e||12688<=e&&12730>=e||12736<=e&&12771>=e||12784<=e&&12830>=e||12832<=e&&12871>=e||12880<=e&&13054>=e||13056<=e&&19903>=e||19968<=e&&42124>=e||42128<=e&&42182>=e||43360<=e&&43388>=e||44032<=e&&55203>=e||55216<=e&&55238>=e||55243<=e&&55291>=e||63744<=e&&64255>=e||65040<=e&&65049>=e||65072<=e&&65106>=e||65108<=e&&65126>=e||65128<=e&&65131>=e||65281<=e&&65376>=e||65504<=e&&65510>=e)}n.implement(this,s),this.setDocument=function(e){this.doc&&this.doc.removeListener('change',this.$onChange),this.doc=e,e.on('change',this.$onChange),this.bgTokenizer&&this.bgTokenizer.setDocument(this.getDocument()),this.resetCaches()},this.getDocument=function(){return this.doc},this.$resetRowCache=function(e){if(!e)return this.$docRowCache=[],void(this.$screenRowCache=[]);var t=this.$docRowCache.length,n=this.$getRowCacheIndex(this.$docRowCache,e)+1;t>n&&(this.$docRowCache.splice(n,t),this.$screenRowCache.splice(n,t))},this.$getRowCacheIndex=function(e,t){for(var n=0,r=e.length-1;n<=r;){var o=n+r>>1,a=e[o];if(t>a)n=o+1;else if(t=t));a++);return(o=n[a],!o)?null:(o.index=a,o.start=r-o.value.length,o)},this.setUndoManager=function(e){if(this.$undoManager=e,this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.$informUndoManager&&this.$informUndoManager.cancel(),e){var t=this;this.$syncInformUndoManager=function(){t.$informUndoManager.cancel(),t.$deltasFold.length&&(t.$deltas.push({group:'fold',deltas:t.$deltasFold}),t.$deltasFold=[]),t.$deltasDoc.length&&(t.$deltas.push({group:'doc',deltas:t.$deltasDoc}),t.$deltasDoc=[]),0e&&(e=t.screenWidth)}),this.lineWidgetWidth=e},this.$computeWidth=function(e){if(this.$modified||e){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var t=this.doc.getAllLines(),n=this.$rowLengthCache,r=0,o=0,a=this.$foldData[o],s=a?a.start.row:Infinity,l=t.length,d=0;ds){if(d=a.end.row+1,d>=l)break;a=this.$foldData[o++],s=a?a.start.row:Infinity}null==n[d]&&(n[d]=this.$getStringScreenWidth(t[d])[0]),n[d]>r&&(r=n[d])}this.screenWidth=r}},this.getLine=function(e){return this.doc.getLine(e)},this.getLines=function(e,t){return this.doc.getLines(e,t)},this.getLength=function(){return this.doc.getLength()},this.getTextRange=function(e){return this.doc.getTextRange(e||this.selection.getRange())},this.insert=function(e,t){return this.doc.insert(e,t)},this.remove=function(e){return this.doc.remove(e)},this.removeFullLines=function(e,t){return this.doc.removeFullLines(e,t)},this.undoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=null,r=e.length-1,o;-1!=r;r--)o=e[r],'doc'==o.group?(this.doc.revertDeltas(o.deltas),n=this.$getUndoSelection(o.deltas,!0,n)):o.deltas.forEach(function(e){this.addFolds(e.folds)},this);return this.$fromUndo=!1,n&&this.$undoSelect&&!t&&this.selection.setSelectionRange(n),n}},this.redoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=null,r=0,o;re.end.column&&(a.start.column+=s),a.end.row==e.end.row&&a.end.column>e.end.column&&(a.end.column+=s)),i&&a.start.row>=e.end.row&&(a.start.row+=i,a.end.row+=i)}if(a.end=this.insert(a.start,r),o.length){var l=e.start,d=a.start,i=d.row-l.row,s=d.column-l.column;this.addFolds(o.map(function(e){return e=e.clone(),e.start.row==l.row&&(e.start.column+=s),e.end.row==l.row&&(e.end.column+=s),e.start.row+=i,e.end.row+=i,e}))}return a},this.indentRows=function(e,t,n){n=n.replace(/\t/g,this.getTabString());for(var r=e;r<=t;r++)this.doc.insertInLine({row:r,column:0},n)},this.outdentRows=function(e){for(var t=e.collapseRows(),n=new g(0,0,0,0),r=this.getTabSize(),o=t.start.row,a;o<=t.end.row;++o){a=this.getLine(o),n.start.row=o,n.end.row=o;for(var i=0;in){var r=this.getRowFoldStart(e+n);if(0>r)return 0;var a=r-e}else if(0this.doc.getLength()-1)return 0;var a=r-t}else{e=this.$clipRowToDocument(e),t=this.$clipRowToDocument(t);var a=t-e+1}var i=new g(e,0,t,o),s=this.getFoldsInRange(i).map(function(e){return e=e.clone(),e.start.row+=a,e.end.row+=a,e}),l=0==n?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+a,l),s.length&&this.addFolds(s),a},this.moveLinesUp=function(e,t){return this.$moveLines(e,t,-1)},this.moveLinesDown=function(e,t){return this.$moveLines(e,t,1)},this.duplicateLines=function(e,t){return this.$moveLines(e,t,0)},this.$clipRowToDocument=function(e){return c(0,d(e,this.doc.getLength()-1))},this.$clipColumnToRow=function(e,t){return 0>t?0:d(this.doc.getLine(e).length,t)},this.$clipPositionToDocument=function(e,t){if(t=c(0,t),0>e)e=0,t=0;else{var n=this.doc.getLength();e>=n?(e=n-1,t=this.doc.getLine(n-1).length):t=d(this.doc.getLine(e).length,t)}return{row:e,column:t}},this.$clipRangeToDocument=function(e){0>e.start.row?(e.start.row=0,e.start.column=0):e.start.column=this.$clipColumnToRow(e.start.row,e.start.column);var t=this.doc.getLength()-1;return e.end.row>t?(e.end.row=t,e.end.column=this.doc.getLine(t).length):e.end.column=this.$clipColumnToRow(e.end.row,e.end.column),e},this.$wrapLimit=80,this.$useWrapMode=!1,this.$wrapLimitRange={min:null,max:null},this.setUseWrapMode=function(e){if(e!=this.$useWrapMode){if(this.$useWrapMode=e,this.$modified=!0,this.$resetRowCache(0),e){var t=this.getLength();this.$wrapData=Array(t),this.$updateWrapData(0,t-1)}this._signal('changeWrapMode')}},this.getUseWrapMode=function(){return this.$useWrapMode},this.setWrapLimitRange=function(e,t){(this.$wrapLimitRange.min!==e||this.$wrapLimitRange.max!==t)&&(this.$wrapLimitRange={min:e,max:t},this.$modified=!0,this.$useWrapMode&&this._signal('changeWrapMode'))},this.adjustWrapLimit=function(e,t){var n=this.$wrapLimitRange;0>n.max&&(n={min:t,max:t});var r=this.$constrainWrapLimit(e,n.min,n.max);return r!=this.$wrapLimit&&1=o.row&&c.shiftRow(-s)}i=a}else{var f=Array(s);f.unshift(a,0);var h=t?this.$wrapData:this.$rowLengthCache;h.splice.apply(h,f);var u=this.$foldData,c=this.getFoldLine(a),p=0;if(c){var m=c.range.compareInside(r.row,r.column);0==m?(c=c.split(r.row,r.column),c&&(c.shiftRow(s),c.addRemoveChars(i,0,o.column-r.column))):-1==m&&(c.addRemoveChars(a,0,o.column-r.column),c.shiftRow(s)),p=u.indexOf(c)+1}for(p;p=a&&c.shiftRow(s)}}return t&&this.$wrapData.length!=this.doc.getLength()&&console.error('doc.getLength() and $wrapData.length have to be the same!'),this.$updating=!1,t?this.$updateWrapData(a,i):this.$updateRowLengthCache(a,i),d},this.$updateRowLengthCache=function(e,t){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},this.$updateWrapData=function(e,t){var n=this.doc.getAllLines(),r=this.getTabSize(),o=this.$wrapData,a=this.$wrapLimit,i=e,s,l;for(t=d(t,n.length-1);i<=t;)l=this.getFoldLine(i,l),l?(s=[],l.walk(function(e,t,r,o){var a;if(null!=e){a=this.$getDisplayTokens(e,s.length),a[0]=f;for(var l=1;lt-w;){var C=l+t-w;if(e[C-1]>=k&&e[C]>=k){o(C);continue}if(e[C]==f||e[C]==b){for(C;C!=l-1&&e[C]!=f;C--);if(C>l){o(C);continue}for(C=l+t,C;C>2)),l-1);C>A&&e[C]A&&e[C]A&&e[C]==y;)C--}else for(;C>A&&e[C]A){o(++C);continue}C=l+t,e[C]==u&&C--,o(C-w)}return a},this.$getDisplayTokens=function(r,o){var a=[],s;o=o||0;for(var l=0,i;li||57i?a.push(y):4352<=i&&e(i)?a.push(t,u):a.push(t);return a},this.$getStringScreenWidth=function(t,n,r){if(0==n)return[0,0];null==n&&(n=Infinity),r=r||0;var o,a;for(a=0;an));a++);return[r,a]},this.lineWidgets=null,this.getRowLength=function(e){if(this.lineWidgets)var t=this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0;else t=0;return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.getRowLineCount=function(e){return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1:1},this.getRowWrapIndent=function(e){if(this.$useWrapMode){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE),n=this.$wrapData[t.row];return n.length&&n[0]e)return{row:0,column:0};var n=0,r=0,o=0,a=0,s=this.$screenRowCache,d=this.$getRowCacheIndex(s,e),c=s.length,u,p;if(c&&0<=d)var o=s[d],n=this.$docRowCache[d],g=e>s[c-1];else var g=!c;for(var f=this.getLength()-1,h=this.getNextFoldLine(n),m=h?h.start.row:Infinity;o<=e&&(a=this.getRowLength(n),!(o+a>e||n>=f));)o+=a,n++,n>m&&(n=h.end.row+1,h=this.getNextFoldLine(n,h),m=h?h.start.row:Infinity),g&&(this.$docRowCache.push(n),this.$screenRowCache.push(o));if(h&&h.start.row<=n)u=this.getFoldDisplayLine(h),n=h.start.row;else{if(o+a<=e||n>f)return{row:f,column:this.getLine(f).length};u=this.getLine(n),h=null}var b=0;if(this.$useWrapMode){var y=this.$wrapData[n];if(y){var k=i(e-o);p=y[k],0=p&&(r=p-1),h?h.idxToPosition(r):{row:n,column:r}},this.documentToScreenPosition=function(e,t){if('undefined'==typeof t)var n=this.$clipPositionToDocument(e.row,e.column);else n=this.$clipPositionToDocument(e,t);e=n.row,t=n.column;var r=0,o=null,a=null;a=this.getFoldAt(e,t,1),a&&(e=a.start.row,t=a.start.column);var s=0,d=this.$docRowCache,c=this.$getRowCacheIndex(d,e),i=d.length,u;if(i&&0<=c)var s=d[c],r=this.$screenRowCache[c],p=e>d[i-1];else var p=!i;for(var g=this.getNextFoldLine(s),f=g?g.start.row:Infinity;s=f){if(u=g.end.row+1,u>e)break;g=this.getNextFoldLine(u,g),f=g?g.start.row:Infinity}else u=s+1;r+=this.getRowLength(s),s=u,p&&(this.$docRowCache.push(s),this.$screenRowCache.push(r))}var h='';g&&s>=f?(h=this.getFoldDisplayLine(g,e,t),o=g.start.row):(h=this.getLine(e).substring(0,t),o=e);var m=0;if(this.$useWrapMode){var b=this.$wrapData[o];if(b){for(var y=0;h.length>=b[y];)r++,y++;h=h.substring(b[y-1]||0,h.length),m=0i&&(a=t.end.row+1,t=this.$foldData[r++],i=t?t.start.row:Infinity);return this.lineWidgets&&(e+=this.$getWidgetScreenLength()),e},this.$setFontMetrics=function(e){this.$enableVarChar&&(this.$getStringScreenWidth=function(t,n,r){if(0===n)return[0,0];n||(n=Infinity),r=r||0;var o,a;for(a=0;an));a++);return[r,a]})},this.destroy=function(){this.bgTokenizer&&(this.bgTokenizer.setDocument(null),this.bgTokenizer=null),this.$stopWorker()}}).call(b.prototype),e('./edit_session/folding').Folding.call(b.prototype),e('./edit_session/bracket_match').BracketMatch.call(b.prototype),a.defineOptions(b.prototype,'session',{wrap:{set:function(e){if(e&&'off'!=e?'free'==e?e=!0:'printMargin'==e?e=-1:'string'==typeof e&&(e=parseInt(e,10)||!1):e=!1,this.$wrap!=e)if(this.$wrap=e,!e)this.setUseWrapMode(!1);else{var t='number'==typeof e?e:null;this.setWrapLimitRange(t,t),this.setUseWrapMode(!0)}},get:function(){return this.getUseWrapMode()?-1==this.$wrap?'printMargin':this.getWrapLimitRange().min?this.$wrap:'free':'off'},handlesSet:!0},wrapMethod:{set:function(e){e='auto'==e?'text'!=this.$mode.type:'text'!=e,e!=this.$wrapAsCode&&(this.$wrapAsCode=e,this.$useWrapMode&&(this.$modified=!0,this.$resetRowCache(0),this.$updateWrapData(0,this.getLength()-1)))},initialValue:'auto'},indentedSoftWrap:{initialValue:!0},firstLineNumber:{set:function(){this._signal('changeBreakpoint')},initialValue:1},useWorker:{set:function(e){this.$useWorker=e,this.$stopWorker(),e&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(e){isNaN(e)||this.$tabSize===e||(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=e,this._signal('changeTabSize'))},initialValue:4,handlesSet:!0},overwrite:{set:function(){this._signal('changeOverwrite')},initialValue:!1},newLineMode:{set:function(e){this.doc.setNewLineMode(e)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(e){this.setMode(e)},get:function(){return this.$modeId}}}),t.EditSession=b}),ace.define('ace/search',['require','exports','module','ace/lib/lang','ace/lib/oop','ace/range'],function(e,t){'use strict';function n(e,t){function n(e){return /\w/.test(e)||t.regExp?'\\b':''}return n(e[0])+e+n(e[e.length-1])}var r=e('./lib/lang'),a=e('./lib/oop'),s=e('./range').Range,i=function(){this.$options={}};(function(){this.set=function(e){return a.mixin(this.$options,e),this},this.getOptions=function(){return r.copyObject(this.$options)},this.setOptions=function(e){this.$options=e},this.find=function(e){var t=this.$options,n=this.$matchIterator(e,t);if(!n)return!1;var r=null;return n.forEach(function(e,n,o){if(!e.start){var a=e.offset+(o||0);if(r=new s(n,a,n,a+e.length),!e.length&&t.start&&t.start.start&&!1!=t.skipCurrent&&r.isEqual(t.start))return r=null,!1}else r=e;return!0}),r},this.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var n=t.range,o=n?e.getLines(n.start.row,n.end.row):e.doc.getAllLines(),a=[],l=t.re;if(t.$isMultiLine){var d=l.length,c=o.length-d,u;outer:for(var p=l.offset||0;p<=c;p++){for(var g=0;gm||(a.push(u=new s(p,m,p+d-1,b)),2x&&a[g].end.row==n.end.row;)g--;for(a=a.slice(y,g+1),y=0,g=a.length;y=i;r--)if(n(e.getLine(r),r))return;if(!1!=t.wrap)for(r=s,i=a.row;r>=i;r--)if(n(e.getLine(r),r))return}}:function(n){var r=a.row,o=e.getLine(r).substr(a.column);if(!n(o,r,a.column)){for(++r;r<=s;r++)if(n(e.getLine(r),r))return;if(!1!=t.wrap)for(r=i,s=a.row;r<=s;r++)if(n(e.getLine(r),r))return}};return{forEach:l}}}).call(i.prototype),t.Search=i}),ace.define('ace/keyboard/hash_handler',['require','exports','module','ace/lib/keys','ace/lib/useragent'],function(e,t){'use strict';function n(e,t){this.platform=t||(a.isMac?'mac':'win'),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=!0}function r(e,t){n.call(this,e,t),this.$singleCommand=!1}var o=e('../lib/keys'),a=e('../lib/useragent'),i=o.KEY_MODS;r.prototype=n.prototype,function(){function e(e){return'object'==typeof e&&e.bindKey&&e.bindKey.position||0}this.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},this.removeCommand=function(e,t){var n=e&&('string'==typeof e?e:e.name);e=this.commands[n],t||delete this.commands[n];var r=this.commandKeyBinding;for(var o in r){var a=r[o];if(a==e)delete r[o];else if(Array.isArray(a)){var s=a.indexOf(e);-1!=s&&(a.splice(s,1),1==a.length&&(r[o]=a[0]))}}},this.bindKey=function(e,t,n){return'object'==typeof e&&e&&(void 0==n&&(n=e.position),e=e[this.platform]),e?'function'==typeof t?this.addCommand({exec:t,bindKey:e,name:t.name||e}):void e.split('|').forEach(function(e){var r='';if(-1!=e.indexOf(' ')){var o=e.split(/\s+/);e=o.pop(),o.forEach(function(e){var t=this.parseKeys(e),n=i[t.hashId]+t.key;r+=(r?' ':'')+n,this._addCommandToBinding(r,'chainKeys')},this),r+=' '}var a=this.parseKeys(e),s=i[a.hashId]+a.key;this._addCommandToBinding(r+s,t,n)},this):void 0},this._addCommandToBinding=function(t,n,r){var o=this.commandKeyBinding,a;if(!n)delete o[t];else if(!o[t]||this.$singleCommand)o[t]=n;else{Array.isArray(o[t])?-1!=(a=o[t].indexOf(n))&&o[t].splice(a,1):o[t]=[o[t]],'number'!=typeof r&&(r||n.isDefault?r=-100:r=e(n));var i=o[t];for(a=0;ar)break}i.splice(a,0,n)}},this.addCommands=function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];if(n){if('string'==typeof n)return this.bindKey(n,t);'function'==typeof n&&(n={exec:n}),'object'!=typeof n||(!n.name&&(n.name=t),this.addCommand(n))}},this)},this.removeCommands=function(e){Object.keys(e).forEach(function(t){this.removeCommand(e[t])},this)},this.bindKeys=function(e){Object.keys(e).forEach(function(t){this.bindKey(t,e[t])},this)},this._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},this.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(e){return e}),n=t.pop(),r=o[n];if(o.FUNCTION_KEYS[r])n=o.FUNCTION_KEYS[r].toLowerCase();else{if(!t.length)return{key:n,hashId:-1};if(1==t.length&&'shift'==t[0])return{key:n.toUpperCase(),hashId:-1}}for(var a=0,s=t.length,i;s--;){if(i=o.KEY_MODS[t[s]],null==i)return'undefined'!=typeof console&&console.error('invalid modifier '+t[s]+' in '+e),!1;a|=i}return{key:n,hashId:a}},this.findKeyCommand=function(e,t){var n=i[e]+t;return this.commandKeyBinding[n]},this.handleKeyboard=function(e,t,n,r){if(!(0>r)){var o=i[t]+n,a=this.commandKeyBinding[o];return(e.$keyChain&&(e.$keyChain+=' '+o,a=this.commandKeyBinding[e.$keyChain]||a),a&&('chainKeys'==a||'chainKeys'==a[a.length-1]))?(e.$keyChain=e.$keyChain||o,{command:'null'}):(e.$keyChain&&(t&&4!=t||1!=n.length?(-1==t||0s?s+1:s,e.selection.moveCursorTo(n.row,s))},multiSelectAction:'forEach',readOnly:!0},{name:'invertSelection',bindKey:n(null,null),exec:function(e){var t=e.session.doc.getLength()-1,n=e.session.doc.getLine(t).length,r=e.selection.rangeList.ranges,o=[];1>r.length&&(r=[e.selection.getRange()]);for(var s=0;s=o.lastRow||r.end.row<=o.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead);break;default:}'animate'==n&&this.renderer.animateScrolling(this.curOp.scrollTop)}this.prevOp=this.curOp,this.curOp=null}},this.$mergeableCommands=['backspace','del','insertstring'],this.$historyTracker=function(t){if(this.$mergeUndoDeltas){var e=this.prevOp,n=this.$mergeableCommands,r=e.command&&t.command.name==e.command.name;if('insertstring'==t.command.name){var o=t.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),r=r&&this.mergeNextCommand&&(!/\s/.test(o)||/\s/.test(e.args)),this.mergeNextCommand=!0}else r=r&&-1!==n.indexOf(t.command.name);'always'!=this.$mergeUndoDeltas&&2e3=i);r.stepForward()}if(!o)return t.removeMarker(t.$tagHighlight),void(t.$tagHighlight=null);var l=r.getCurrentTokenRow(),d=r.getCurrentTokenColumn(),c=new b(l,d,l,d+o.value.length),u=t.$backMarkers[t.$tagHighlight];t.$tagHighlight&&void 0!=u&&0!==c.compareRange(u.range)&&(t.removeMarker(t.$tagHighlight),t.$tagHighlight=null),c&&!t.$tagHighlight&&(t.$tagHighlight=t.addMarker(c,'ace_bracket','text'))}}},50)}},this.focus=function(){var e=this;setTimeout(function(){e.textInput.focus()}),this.textInput.focus()},this.isFocused=function(){return this.textInput.isFocused()},this.blur=function(){this.textInput.blur()},this.onFocus=function(t){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit('focus',t))},this.onBlur=function(t){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit('blur',t))},this.$cursorChange=function(){this.renderer.updateCursor()},this.onDocumentChange=function(e){var t=this.session.$useWrapMode,n=e.start.row==e.end.row?e.end.row:Infinity;this.renderer.updateLines(e.start.row,n,t),this._signal('change',e),this.$cursorChange(),this.$updateHighlightActiveLine()},this.onTokenizerUpdate=function(t){var e=t.data;this.renderer.updateLines(e.first,e.last)},this.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},this.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},this.onCursorChange=function(){this.$cursorChange(),this.$blockScrolling||(x.warn('Automatically scrolling cursor into view after selection change','this will be disabled in the next version','set editor.$blockScrolling = Infinity to disable this message'),this.renderer.scrollCursorIntoView()),this.$highlightBrackets(),this.$highlightTags(),this.$updateHighlightActiveLine(),this._signal('changeSelection')},this.$updateHighlightActiveLine=function(){var e=this.getSession(),t;if(this.$highlightActiveLine&&(('line'!=this.$selectionStyle||!this.selection.isMultiLine())&&(t=this.getCursorPosition()),this.renderer.$maxLines&&1===this.session.getLength()&&!(1o.length||2>r.length||!r[1])return this.commands.exec('insertstring',this,n);for(var a=o.length,i;a--;)i=o[a],i.isEmpty()||this.session.remove(i),this.session.insert(i.start,r[a])}},this.execCommand=function(e,t){return this.commands.exec(e,this,t)},this.insert=function(e,t){var n=this.session,r=n.getMode(),o=this.getCursorPosition();if(this.getBehavioursEnabled()&&!t){var a=r.transformAction(n.getState(o.row),'insertion',this,n,e);a&&(e!==a.text&&(this.session.mergeUndoDeltas=!1,this.$mergeNextCommand=!1),e=a.text)}if('\t'==e&&(e=this.session.getTabString()),!this.selection.isEmpty()){var i=this.getSelectionRange();o=this.session.remove(i),this.clearSelection()}else if(this.session.getOverwrite()){var i=new b.fromPoints(o,o);i.end.column+=e.length,this.session.remove(i)}if('\n'==e||'\r\n'==e){var s=n.getLine(o.row);if(o.column>s.search(/\S|$/)){var l=s.substr(o.column).search(/\S|$/);n.doc.removeInLine(o.row,o.column,o.column+l)}}this.clearSelection();var d=o.column,c=n.getState(o.row),s=n.getLine(o.row),u=r.checkOutdent(c,s,e),p=n.insert(o,e);if(a&&a.selection&&(2==a.selection.length?this.selection.setSelectionRange(new b(o.row,d+a.selection[0],o.row,d+a.selection[1])):this.selection.setSelectionRange(new b(o.row+a.selection[0],a.selection[1],o.row+a.selection[2],a.selection[3]))),n.getDocument().isNewLine(e)){var g=r.getNextLineIndent(c,s.slice(0,o.column),n.getTabString());n.insert({row:o.row+1,column:0},g)}u&&r.autoOutdent(c,n,o.row)},this.onTextInput=function(e){this.keyBinding.onTextInput(e)},this.onCommandKey=function(t,e,n){this.keyBinding.onCommandKey(t,e,n)},this.setOverwrite=function(e){this.session.setOverwrite(e)},this.getOverwrite=function(){return this.session.getOverwrite()},this.toggleOverwrite=function(){this.session.toggleOverwrite()},this.setScrollSpeed=function(e){this.setOption('scrollSpeed',e)},this.getScrollSpeed=function(){return this.getOption('scrollSpeed')},this.setDragDelay=function(e){this.setOption('dragDelay',e)},this.getDragDelay=function(){return this.getOption('dragDelay')},this.setSelectionStyle=function(e){this.setOption('selectionStyle',e)},this.getSelectionStyle=function(){return this.getOption('selectionStyle')},this.setHighlightActiveLine=function(e){this.setOption('highlightActiveLine',e)},this.getHighlightActiveLine=function(){return this.getOption('highlightActiveLine')},this.setHighlightGutterLine=function(e){this.setOption('highlightGutterLine',e)},this.getHighlightGutterLine=function(){return this.getOption('highlightGutterLine')},this.setHighlightSelectedWord=function(e){this.setOption('highlightSelectedWord',e)},this.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},this.setAnimatedScroll=function(e){this.renderer.setAnimatedScroll(e)},this.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},this.setShowInvisibles=function(e){this.renderer.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},this.setDisplayIndentGuides=function(e){this.renderer.setDisplayIndentGuides(e)},this.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},this.setShowPrintMargin=function(e){this.renderer.setShowPrintMargin(e)},this.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},this.setPrintMarginColumn=function(e){this.renderer.setPrintMarginColumn(e)},this.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},this.setReadOnly=function(e){this.setOption('readOnly',e)},this.getReadOnly=function(){return this.getOption('readOnly')},this.setBehavioursEnabled=function(e){this.setOption('behavioursEnabled',e)},this.getBehavioursEnabled=function(){return this.getOption('behavioursEnabled')},this.setWrapBehavioursEnabled=function(e){this.setOption('wrapBehavioursEnabled',e)},this.getWrapBehavioursEnabled=function(){return this.getOption('wrapBehavioursEnabled')},this.setShowFoldWidgets=function(e){this.setOption('showFoldWidgets',e)},this.getShowFoldWidgets=function(){return this.getOption('showFoldWidgets')},this.setFadeFoldWidgets=function(e){this.setOption('fadeFoldWidgets',e)},this.getFadeFoldWidgets=function(){return this.getOption('fadeFoldWidgets')},this.remove=function(e){this.selection.isEmpty()&&('left'==e?this.selection.selectLeft():this.selection.selectRight());var t=this.getSelectionRange();if(this.getBehavioursEnabled()){var n=this.session,r=n.getState(t.start.row),o=n.getMode().transformAction(r,'deletion',this,n,t);if(0===t.end.column){var a=n.getTextRange(t);if('\n'==a[a.length-1]){var i=n.getLine(t.end.row);/^\s+$/.test(i)&&(t.end.column=i.length)}}o&&(t=o)}this.session.remove(t),this.clearSelection()},this.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var e=this.getSelectionRange();e.start.column==e.end.column&&e.start.row==e.end.row&&(e.end.column=0,e.end.row++),this.session.remove(e),this.clearSelection()},this.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var e=this.getCursorPosition();this.insert('\n'),this.moveCursorToPosition(e)},this.transposeLetters=function(){if(this.selection.isEmpty()){var e=this.getCursorPosition(),t=e.column;if(0!==t){var n=this.session.getLine(e.row),r,o;tt.toLowerCase()?1:0});for(var r=new b(0,0,0,0),o=e.first,a;o<=e.last;o++)a=t.getLine(o),r.start.row=o,r.end.row=o,r.end.column=a.length,t.replace(r,n[o-e.first])},this.toggleCommentLines=function(){var e=this.session.getState(this.getCursorPosition().row),t=this.$getSelectedRows();this.session.getMode().toggleCommentLines(e,this.session,t.first,t.last)},this.toggleBlockComment=function(){var e=this.getCursorPosition(),t=this.session.getState(e.row),n=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,n,e)},this.getNumberAt=function(e,t){var n=/[\-]?[0-9]+(?:\.[0-9]+)?/g;n.lastIndex=0;for(var r=this.session.getLine(e);n.lastIndex=t){var a={value:o[0],start:o.index,end:o.index+o[0].length};return a}}return null},this.modifyNumber=function(e){var n=this.selection.getCursor().row,r=this.selection.getCursor().column,o=new b(n,r-1,n,r),a=this.session.getTextRange(o);if(!isNaN(parseFloat(a))&&isFinite(a)){var i=this.getNumberAt(n,r);if(i){var l=0<=i.value.indexOf('.')?i.start+i.value.indexOf('.')+1:i.end,d=i.start+i.value.length-l,u=parseFloat(i.value);u*=s(10,d),e*=l!==i.end&&rg+1)break;g=f.last}for(l--,d=this.session.$moveLines(p,g,t?0:e),t&&-1==e&&(i=l+1);i<=l;)s[i].moveBy(d,0),i++;t||(d=0),c+=d}n.fromOrientedRange(n.ranges[0]),n.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},this.$getSelectedRows=function(e){return e=(e||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(e.start.row),last:this.session.getRowFoldEnd(e.end.row)}},this.onCompositionStart=function(){this.renderer.showComposition(this.getCursorPosition())},this.onCompositionUpdate=function(e){this.renderer.setCompositionText(e)},this.onCompositionEnd=function(){this.renderer.hideComposition()},this.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},this.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},this.isRowVisible=function(e){return e>=this.getFirstVisibleRow()&&e<=this.getLastVisibleRow()},this.isRowFullyVisible=function(e){return e>=this.renderer.getFirstFullyVisibleRow()&&e<=this.renderer.getLastFullyVisibleRow()},this.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},this.$moveByPage=function(e,t){var n=this.renderer,r=this.renderer.layerConfig,o=e*i(r.height/r.lineHeight);this.$blockScrolling++,!0===t?this.selection.$moveSelection(function(){this.moveCursorBy(o,0)}):!1===t&&(this.selection.moveCursorBy(o,0),this.selection.clearSelection()),this.$blockScrolling--;var a=n.scrollTop;n.scrollBy(0,o*r.lineHeight),null!=t&&n.scrollCursorIntoView(null,0.5),n.animateScrolling(a)},this.selectPageDown=function(){this.$moveByPage(1,!0)},this.selectPageUp=function(){this.$moveByPage(-1,!0)},this.gotoPageDown=function(){this.$moveByPage(1,!1)},this.gotoPageUp=function(){this.$moveByPage(-1,!1)},this.scrollPageDown=function(){this.$moveByPage(1)},this.scrollPageUp=function(){this.$moveByPage(-1)},this.scrollToRow=function(e){this.renderer.scrollToRow(e)},this.scrollToLine=function(e,t,n,r){this.renderer.scrollToLine(e,t,n,r)},this.centerSelection=function(){var e=this.getSelectionRange(),t={row:i(e.start.row+(e.end.row-e.start.row)/2),column:i(e.start.column+(e.end.column-e.start.column)/2)};this.renderer.alignCursor(t,0.5)},this.getCursorPosition=function(){return this.selection.getCursor()},this.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},this.getSelectionRange=function(){return this.selection.getRange()},this.selectAll=function(){this.$blockScrolling+=1,this.selection.selectAll(),this.$blockScrolling-=1},this.clearSelection=function(){this.selection.clearSelection()},this.moveCursorTo=function(e,t){this.selection.moveCursorTo(e,t)},this.moveCursorToPosition=function(e){this.selection.moveCursorToPosition(e)},this.jumpToMatching=function(e,t){var n=this.getCursorPosition(),r=new w(this.session,n.row,n.column),o=r.getCurrentToken(),a=o||r.stepForward();if(a){var s=!1,d={},c=n.column-a.start,i={")":'(',"(":'(',"]":'[',"[":'[',"{":'{',"}":'{'},u,p;do{if(a.value.match(/[{}()\[\]]/g)){for(;cl(f.column-n.column))&&(g=this.session.getBracketRange(f)));else if('tag'===u){if(a&&-1!==a.type.indexOf('tag-name'))var h=a.value;else return;if(g=new b(r.getCurrentTokenRow(),r.getCurrentTokenColumn()-2,r.getCurrentTokenRow(),r.getCurrentTokenColumn()-2),0===g.compare(n.row,n.column)){s=!1;do a=o,o=r.stepBackward(),o&&(-1!==o.type.indexOf('tag-close')&&g.setEnd(r.getCurrentTokenRow(),r.getCurrentTokenColumn()+1),a.value===h&&-1!==a.type.indexOf('tag-name')&&('<'===o.value?d[h]++:'l(f.column-n.column)&&(f=g.end))}f=g&&g.cursor||f,f&&(e?g&&t?this.selection.setRange(g):g&&g.isEqual(this.getSelectionRange())?this.clearSelection():this.selection.selectTo(f.row,f.column):this.selection.moveTo(f.row,f.column))}}},this.gotoLine=function(e,t,n){this.selection.clearSelection(),this.session.unfold({row:e-1,column:t||0}),this.$blockScrolling+=1,this.exitMultiSelectMode&&this.exitMultiSelectMode(),this.moveCursorTo(e-1,t||0),this.$blockScrolling-=1,this.isRowFullyVisible(e-1)||this.scrollToLine(e-1,!0,n)},this.navigateTo=function(e,t){this.selection.moveTo(e,t)},this.navigateUp=function(e){if(this.selection.isMultiLine()&&!this.selection.isBackwards()){var t=this.selection.anchor.getPosition();return this.moveCursorToPosition(t)}this.selection.clearSelection(),this.selection.moveCursorBy(-e||-1,0)},this.navigateDown=function(e){if(this.selection.isMultiLine()&&this.selection.isBackwards()){var t=this.selection.anchor.getPosition();return this.moveCursorToPosition(t)}this.selection.clearSelection(),this.selection.moveCursorBy(e||1,0)},this.navigateLeft=function(e){if(!this.selection.isEmpty()){var t=this.getSelectionRange().start;this.moveCursorToPosition(t)}else for(e=e||1;e--;)this.selection.moveCursorLeft();this.clearSelection()},this.navigateRight=function(e){if(!this.selection.isEmpty()){var t=this.getSelectionRange().end;this.moveCursorToPosition(t)}else for(e=e||1;e--;)this.selection.moveCursorRight();this.clearSelection()},this.navigateLineStart=function(){this.selection.moveCursorLineStart(),this.clearSelection()},this.navigateLineEnd=function(){this.selection.moveCursorLineEnd(),this.clearSelection()},this.navigateFileEnd=function(){this.selection.moveCursorFileEnd(),this.clearSelection()},this.navigateFileStart=function(){this.selection.moveCursorFileStart(),this.clearSelection()},this.navigateWordRight=function(){this.selection.moveCursorWordRight(),this.clearSelection()},this.navigateWordLeft=function(){this.selection.moveCursorWordLeft(),this.clearSelection()},this.replace=function(e,t){t&&this.$search.set(t);var n=this.$search.find(this.session),r=0;return n?(this.$tryReplace(n,e)&&(r=1),null!==n&&(this.selection.setSelectionRange(n),this.renderer.scrollSelectionIntoView(n.start,n.end)),r):r},this.replaceAll=function(e,t){t&&this.$search.set(t);var n=this.$search.findAll(this.session),r=0;if(!n.length)return r;this.$blockScrolling+=1;var o=this.getSelectionRange();this.selection.moveTo(0,0);for(var a=n.length-1;0<=a;--a)this.$tryReplace(n[a],e)&&r++;return this.selection.setSelectionRange(o),this.$blockScrolling-=1,r},this.$tryReplace=function(e,t){var n=this.session.getTextRange(e);return t=this.$search.replace(n,t),null===t?null:(e.end=this.session.replace(e,t),e)},this.getLastSearchOptions=function(){return this.$search.getOptions()},this.find=function(e,t,r){t||(t={}),'string'==typeof e||e instanceof RegExp?t.needle=e:'object'==typeof e&&n.mixin(t,e);var o=this.selection.getRange();null==t.needle&&(e=this.session.getTextRange(o)||this.$search.$options.needle,!e&&(o=this.session.getWordRange(o.start.row,o.start.column),e=this.session.getTextRange(o)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:o});var a=this.$search.find(this.session);return t.preventScroll?a:a?(this.revealRange(a,r),a):void(t.backwards?o.start=o.end:o.end=o.start,this.selection.setRange(o))},this.findNext=function(e,t){this.find({skipCurrent:!0,backwards:!1},e,t)},this.findPrevious=function(e,t){this.find(e,{skipCurrent:!0,backwards:!0},t)},this.revealRange=function(e,t){this.$blockScrolling+=1,this.session.unfold(e),this.selection.setSelectionRange(e),this.$blockScrolling-=1;var n=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(e.start,e.end,0.5),!1!==t&&this.renderer.animateScrolling(n)},this.undo=function(){this.$blockScrolling++,this.session.getUndoManager().undo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,0.5)},this.redo=function(){this.$blockScrolling++,this.session.getUndoManager().redo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,0.5)},this.destroy=function(){this.renderer.destroy(),this._signal('destroy',this),this.session&&this.session.destroy()},this.setAutoScrollEditorIntoView=function(e){if(e){var t=this,n=!1,r;this.$scrollAnchor||(this.$scrollAnchor=document.createElement('div'));var o=this.$scrollAnchor;o.style.cssText='position:absolute',this.container.insertBefore(o,this.container.firstChild);var a=this.on('changeSelection',function(){n=!0}),i=this.renderer.on('beforeRender',function(){n&&(r=t.renderer.container.getBoundingClientRect())}),s=this.renderer.on('afterRender',function(){if(n&&r&&(t.isFocused()||t.searchBox&&t.searchBox.isFocused())){var e=t.renderer,a=e.$cursorLayer.$pixelPos,i=e.layerConfig,s=a.top-i.offset;n=0<=a.top&&0>s+r.top||(a.topwindow.innerHeight?!1:null),null!=n&&(o.style.top=s+'px',o.style.left=a.left+'px',o.style.height=i.lineHeight+'px',o.scrollIntoView(n)),n=r=null}});this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off('changeSelection',a),this.renderer.off('afterRender',s),this.renderer.off('beforeRender',i))}}},this.$resetCursorStyle=function(){var e=this.$cursorStyle||'ace',t=this.renderer.$cursorLayer;t&&(t.setSmoothBlinking(/smooth/.test(e)),t.isBlinking=!this.$readOnly&&'wide'!=e,r.setCssClass(t.element,'ace_slim-cursors',/slim/.test(e)))}}).call(C.prototype),x.defineOptions(C.prototype,'editor',{selectionStyle:{set:function(e){this.onSelectionChange(),this._signal('changeSelectionStyle',{data:e})},initialValue:'line'},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(){this.$resetCursorStyle()},initialValue:!1},cursorStyle:{set:function(){this.$resetCursorStyle()},values:['ace','slim','smooth','wide'],initialValue:'ace'},mergeUndoDeltas:{values:[!1,!0,'always'],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},autoScrollEditorIntoView:{set:function(e){this.setAutoScrollEditorIntoView(e)}},keyboardHandler:{set:function(e){this.setKeyboardHandler(e)},get:function(){return this.keybindingId},handlesSet:!0},hScrollBarAlwaysVisible:'renderer',vScrollBarAlwaysVisible:'renderer',highlightGutterLine:'renderer',animatedScroll:'renderer',showInvisibles:'renderer',showPrintMargin:'renderer',printMarginColumn:'renderer',printMargin:'renderer',fadeFoldWidgets:'renderer',showFoldWidgets:'renderer',showLineNumbers:'renderer',showGutter:'renderer',displayIndentGuides:'renderer',fontSize:'renderer',fontFamily:'renderer',maxLines:'renderer',minLines:'renderer',scrollPastEnd:'renderer',fixedWidthGutter:'renderer',theme:'renderer',scrollSpeed:'$mouseHandler',dragDelay:'$mouseHandler',dragEnabled:'$mouseHandler',focusTimout:'$mouseHandler',tooltipFollowsMouse:'$mouseHandler',firstLineNumber:'session',overwrite:'session',newLineMode:'session',useWorker:'session',useSoftTabs:'session',tabSize:'session',wrap:'session',indentedSoftWrap:'session',foldStyle:'session',mode:'session'}),t.Editor=C}),ace.define('ace/undomanager',['require','exports','module'],function(e,t){'use strict';var n=function(){this.reset()};(function(){function e(e){return{action:e.action,start:e.start,end:e.end,lines:1==e.lines.length?null:e.lines,text:1==e.lines.length?e.lines[0]:null}}function t(e){return{action:e.action,start:e.start,end:e.end,lines:e.lines||[e.text]}}function n(e,t){for(var n=Array(e.length),r=0;rthis.dirtyCounter&&(this.dirtyCounter=NaN),this.dirtyCounter++},this.undo=function(e){var t=this.$undoStack.pop(),n=null;return t&&(n=this.$doc.undoChanges(t,e),this.$redoStack.push(t),this.dirtyCounter--),n},this.redo=function(e){var t=this.$redoStack.pop(),n=null;return t&&(n=this.$doc.redoChanges(this.$deserializeDeltas(t),e),this.$undoStack.push(t),this.dirtyCounter++),n},this.reset=function(){this.$undoStack=[],this.$redoStack=[],this.dirtyCounter=0},this.hasUndo=function(){return 0s&&(y=i.end.row+1,i=t.getNextFoldLine(y,i),s=i?i.start.row:Infinity),y>a){for(;this.$cells.length>b+1;)m=this.$cells.pop(),this.element.removeChild(m.element);break}m=this.$cells[++b],m||(m={element:null,textNode:null,foldWidget:null},m.element=n.createElement('div'),m.textNode=document.createTextNode(''),m.element.appendChild(m.textNode),this.element.appendChild(m.element),this.$cells[b]=m);var k='ace_gutter-cell ';u[y]&&(k+=u[y]),p[y]&&(k+=p[y]),this.$annotations[y]&&(k+=this.$annotations[y].className),m.element.className!=k&&(m.element.className=k);var v=t.getRowLength(y)*e.lineHeight+'px';if(v!=m.element.style.height&&(m.element.style.height=v),l){var x=l[y];null==x&&(x=l[y]=t.getFoldWidget(y))}if(x){m.foldWidget||(m.foldWidget=n.createElement('span'),m.element.appendChild(m.foldWidget));var k='ace_fold-widget ace_'+x;k+='start'==x&&y==s&&yn.right-t.right?'foldWidgets':void 0}}).call(s.prototype),t.Gutter=s}),ace.define('ace/layer/marker',['require','exports','module','ace/range','ace/lib/dom'],function(e,t){'use strict';var n=e('../range').Range,r=e('../lib/dom'),o=function(e){this.element=r.createElement('div'),this.element.className='ace_layer ace_marker-layer',e.appendChild(this.element)};(function(){function e(e,t,n,r){return(e?1:0)|(t?2:0)|(n?4:0)|(r?8:0)}this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setMarkers=function(e){this.markers=e},this.update=function(e){var e=e||this.config;if(e){this.config=e;var t=[];for(var n in this.markers){var r=this.markers[n];if(!r.range){r.update(t,this,this.session,e);continue}var o=r.range.clipRows(e.firstRow,e.lastRow);if(!o.isEmpty())if(o=o.toScreenRange(this.session),r.renderer){var a=this.$getTop(o.start.row,e),i=this.$padding+o.start.column*e.characterWidth;r.renderer(t,o,i,a,e)}else'fullLine'==r.type?this.drawFullLineMarker(t,o,r.clazz,e):'screenLine'==r.type?this.drawScreenLineMarker(t,o,r.clazz,e):o.isMultiLine()?'text'==r.type?this.drawTextMarker(t,o,r.clazz,e):this.drawMultiLineMarker(t,o,r.clazz,e):this.drawSingleLineMarker(t,o,r.clazz+' ace_start ace_br15',e)}this.element.innerHTML=t.join('')}},this.$getTop=function(e,t){return(e-t.firstRowScreen)*t.lineHeight},this.drawTextMarker=function(t,r,o,a,i){for(var s=this.session,l=r.start.row,d=r.end.row,c=l,u=0,p=0,g=s.getScreenLastRowColumn(c),f=new n(c,r.start.column,c,p);c<=d;c++)f.start.row=f.end.row=c,f.start.column=c==l?r.start.column:s.getRowWrapIndent(c),f.end.column=g,u=p,p=g,g=c+1g,c==d),a,c==d?0:1,i)},this.drawMultiLineMarker=function(e,t,n,r,o){var a=this.$padding,i=r.lineHeight,s=this.$getTop(t.start.row,r),l=a+t.start.column*r.characterWidth;o=o||'',e.push('
'),s=this.$getTop(t.end.row,r);var d=t.end.column*r.characterWidth;if(e.push('
'),i=(t.end.row-t.start.row-1)*r.lineHeight,!(0>=i)){s=this.$getTop(t.start.row+1,r);var c=(t.start.column?1:0)|(t.end.column?0:8);e.push('
')}},this.drawSingleLineMarker=function(e,t,n,r,o,a){var i=r.lineHeight,s=(t.end.column+(o||0)-t.start.column)*r.characterWidth,l=this.$getTop(t.start.row,r),d=this.$padding+t.start.column*r.characterWidth;e.push('
')},this.drawFullLineMarker=function(e,t,n,r,o){var a=this.$getTop(t.start.row,r),i=r.lineHeight;t.start.row!=t.end.row&&(i+=this.$getTop(t.end.row,r)-a),e.push('
')},this.drawScreenLineMarker=function(e,t,n,r,o){var a=this.$getTop(t.start.row,r),i=r.lineHeight;e.push('
')}}).call(o.prototype),t.Marker=o}),ace.define('ace/layer/text',['require','exports','module','ace/lib/oop','ace/lib/dom','ace/lib/lang','ace/lib/useragent','ace/lib/event_emitter'],function(e,t){'use strict';var n=e('../lib/oop'),r=e('../lib/dom'),s=e('../lib/lang'),a=e('../lib/useragent'),i=e('../lib/event_emitter').EventEmitter,l=function(e){this.element=r.createElement('div'),this.element.className='ace_layer ace_text-layer',e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this)};(function(){n.implement(this,i),this.EOF_CHAR='\xB6',this.EOL_CHAR_LF='\xAC',this.EOL_CHAR_CRLF='\xA4',this.EOL_CHAR=this.EOL_CHAR_LF,this.TAB_CHAR='\u2014',this.SPACE_CHAR='\xB7',this.$padding=0,this.$updateEolChar=function(){var e='\n'==this.session.doc.getNewLineCharacter()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=e)return this.EOL_CHAR=e,!0},this.setPadding=function(e){this.$padding=e,this.element.style.padding='0 '+e+'px'},this.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},this.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},this.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on('changeCharacterSize',function(t){this._signal('changeCharacterSize',t)}.bind(this)),this.$pollSizeChanges()},this.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},this.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},this.setSession=function(e){this.session=e,e&&this.$computeTabString()},this.showInvisibles=!1,this.setShowInvisibles=function(e){return this.showInvisibles!=e&&(this.showInvisibles=e,this.$computeTabString(),!0)},this.displayIndentGuides=!0,this.setDisplayIndentGuides=function(e){return this.displayIndentGuides!=e&&(this.displayIndentGuides=e,this.$computeTabString(),!0)},this.$tabStrings=[],this.onChangeTabSize=this.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var t=this.$tabStrings=[0],n=1;n'+s.stringRepeat(this.TAB_CHAR,n)+''):t.push(s.stringRepeat(' ',n));if(this.displayIndentGuides){this.$indentGuideRe=/\s\S| \t|\t |\s$/;var r='ace_indent-guide',o='',a='';if(this.showInvisibles){r+=' ace_invisible',o=' ace_invisible_space',a=' ace_invisible_tab';var i=s.stringRepeat(this.SPACE_CHAR,this.tabSize),l=s.stringRepeat(this.TAB_CHAR,this.tabSize)}else var i=s.stringRepeat(' ',this.tabSize),l=i;this.$tabStrings[' ']=''+i+'',this.$tabStrings['\t']=''+l+''}},this.updateLines=function(e,t,n){(this.config.lastRow!=e.lastRow||this.config.firstRow!=e.firstRow)&&this.scrollLines(e),this.config=e;for(var r=c(t,e.firstRow),o=d(n,e.lastRow),a=this.element.childNodes,i=0,s=e.firstRow,l;su&&(s=l.end.row+1,l=this.session.getNextFoldLine(s,l),u=l?l.start.row:Infinity),!(s>o);){if(p=a[i++],p){var g=[];this.$renderLine(g,s,!this.$useLineGroups(),s==u&&l),p.style.height=e.lineHeight*this.session.getRowLength(s)+'px',p.innerHTML=g.join('')}s++}},this.scrollLines=function(e){var t=this.config;if(this.config=e,!t||t.lastRowe.lastRow)for(var r=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);0t.lastRow){var o=this.$renderLinesFragment(e,t.lastRow+1,e.lastRow);n.appendChild(o)}},this.$renderLinesFragment=function(e,t,n){for(var o=this.element.ownerDocument.createDocumentFragment(),a=t,i=this.session.getNextFoldLine(a),s=i?i.start.row:Infinity;a>s&&(a=i.end.row+1,i=this.session.getNextFoldLine(a,i),s=i?i.start.row:Infinity),!(a>n);){var l=r.createElement('div'),d=[];if(this.$renderLine(d,a,!1,a==s&&i),l.innerHTML=d.join(''),this.$useLineGroups())l.className='ace_line_group',o.appendChild(l),l.style.height=e.lineHeight*this.session.getRowLength(a)+'px';else for(;l.firstChild;)o.appendChild(l.firstChild);a++}return o},this.update=function(e){this.config=e;for(var t=[],n=e.firstRow,r=e.lastRow,o=n,a=this.session.getNextFoldLine(o),i=a?a.start.row:Infinity;o>i&&(o=a.end.row+1,a=this.session.getNextFoldLine(o,a),i=a?a.start.row:Infinity),!(o>r);)this.$useLineGroups()&&t.push('
'),this.$renderLine(t,o,!1,o==i&&a),this.$useLineGroups()&&t.push('
'),o++;this.element.innerHTML=t.join('')},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderToken=function(e,t,n,r){var o=this,a=/\t|&|<|>|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\u3000\uFEFF\uFFF9-\uFFFC])|[\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3000-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]/g,i=r.replace(a,function(e,n,r,a){if(n)return o.showInvisibles?''+s.stringRepeat(o.SPACE_CHAR,e.length)+'':e;if('&'==e)return'&';if('<'==e)return'<';if('>'==e)return'>';if('\t'==e){var i=o.session.getScreenTabSize(t+a);return t+=i-1,o.$tabStrings[i]}if('\u3000'==e){var l=o.showInvisibles?'ace_cjk ace_invisible ace_invisible_space':'ace_cjk',d=o.showInvisibles?o.SPACE_CHAR:'';return t+=1,''+d+''}return r?''+o.SPACE_CHAR+'':(t+=1,''+e+'')});if(!this.$textToken[n.type]){var l='ace_'+n.type.replace(/\./g,' ace_'),d='';'fold'==n.type&&(d=' style=\'width:'+n.value.length*this.config.characterWidth+'px;\' '),e.push('',i,'')}else e.push(i);return t+r.length},this.renderIndentGuide=function(e,t,n){var r=t.search(this.$indentGuideRe);return 0>=r||r>=n?t:' '==t[0]?(r-=r%this.tabSize,e.push(s.stringRepeat(this.$tabStrings[' '],r/this.tabSize)),t.substr(r)):'\t'==t[0]?(e.push(s.stringRepeat(this.$tabStrings['\t'],r)),t.substr(r)):t},this.$renderWrappedLine=function(e,t,n,r){for(var a=0,l=0,d=n[0],c=0,u=0;u=d;)c=this.$renderToken(e,c,i,p.substring(0,d-a)),p=p.substring(d-a),a=d,r||e.push('','
'),e.push(s.stringRepeat('\xA0',n.indent)),l++,c=0,d=n[l]||o;0!=p.length&&(a+=p.length,c=this.$renderToken(e,c,i,p))}}},this.$renderSimpleLine=function(e,t){var n=0,r=t[0],o=r.value;this.displayIndentGuides&&(o=this.renderIndentGuide(e,o)),o&&(n=this.$renderToken(e,n,r,o));for(var a=1;a'),o.length){var a=this.session.getRowSplitData(t);a&&a.length?this.$renderWrappedLine(e,o,a,n):this.$renderSimpleLine(e,o)}this.showInvisibles&&(r&&(t=r.end.row),e.push('',t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,'')),n||e.push('
')},this.$getFoldLineTokens=function(e,t){function n(e,t,n){for(var r=0,a=0;a+e[r].value.lengthn-t&&(i=i.substring(0,n-t)),o.push({type:e[r].type,value:i}),a=t+i.length,r+=1}for(;an?o.push({type:e[r].type,value:i.substring(0,n-a)}):o.push(e[r]),a+=i.length,r+=1}}var r=this.session,o=[],a=r.getTokens(e);return t.walk(function(e,t,i,s,l){null==e?(l&&(a=r.getTokens(t)),a.length&&n(a,s,i)):o.push({type:'fold',value:e})},t.end.row,this.session.getLine(t.end.row).length),o},this.$useLineGroups=function(){return this.session.getUseWrapMode()},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$measureNode&&this.$measureNode.parentNode.removeChild(this.$measureNode),delete this.$measureNode}}).call(l.prototype),t.Text=l}),ace.define('ace/layer/cursor',['require','exports','module','ace/lib/dom'],function(e,t){'use strict';var n=e('../lib/dom'),r=function(e){this.element=n.createElement('div'),this.element.className='ace_layer ace_cursor-layer',e.appendChild(this.element),o==void 0&&(o=!('opacity'in this.element.style)),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),n.addCssClass(this.element,'ace_hidden-cursors'),this.$updateCursors=(o?this.$updateVisibility:this.$updateOpacity).bind(this)},o;(function(){this.$updateVisibility=function(e){for(var t=this.cursors,n=t.length;n--;)t[n].style.visibility=e?'':'hidden'},this.$updateOpacity=function(e){for(var t=this.cursors,n=t.length;n--;)t[n].style.opacity=e?'':'0'},this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setBlinking=function(e){e!=this.isBlinking&&(this.isBlinking=e,this.restartTimer())},this.setBlinkInterval=function(e){e!=this.blinkInterval&&(this.blinkInterval=e,this.restartTimer())},this.setSmoothBlinking=function(e){e==this.smoothBlinking||o||(this.smoothBlinking=e,n.setCssClass(this.element,'ace_smooth-blinking',e),this.$updateCursors(!0),this.$updateCursors=this.$updateOpacity.bind(this),this.restartTimer())},this.addCursor=function(){var e=n.createElement('div');return e.className='ace_cursor',this.element.appendChild(e),this.cursors.push(e),e},this.removeCursor=function(){if(1e.height+e.offset||0>n.top)&&1o;)this.removeCursor();var s=this.session.getOverwrite();this.$setOverwrite(s),this.$pixelPos=n,this.restartTimer()},this.drawCursor=null,this.$setOverwrite=function(e){e!=this.overwrite&&(this.overwrite=e,e?n.addCssClass(this.element,'ace_overwrite-cursors'):n.removeCssClass(this.element,'ace_overwrite-cursors'))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(r.prototype),t.Cursor=r}),ace.define('ace/scrollbar',['require','exports','module','ace/lib/oop','ace/lib/dom','ace/lib/event','ace/lib/event_emitter'],function(e,t){'use strict';var n=e('./lib/oop'),r=e('./lib/dom'),o=e('./lib/event'),a=e('./lib/event_emitter').EventEmitter,i=32768,s=function(e){this.element=r.createElement('div'),this.element.className='ace_scrollbar ace_scrollbar'+this.classSuffix,this.inner=r.createElement('div'),this.inner.className='ace_scrollbar-inner',this.element.appendChild(this.inner),e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,o.addListener(this.element,'scroll',this.onScroll.bind(this)),o.addListener(this.element,'mousedown',o.preventDefault)};(function(){n.implement(this,a),this.setVisible=function(e){this.element.style.display=e?'':'none',this.isVisible=e,this.coeff=1}}).call(s.prototype);var l=function(e,t){s.call(this,e),this.scrollTop=0,this.scrollHeight=0,t.$scrollbarWidth=this.width=r.scrollbarWidth(e.ownerDocument),this.inner.style.width=this.element.style.width=(this.width||15)+5+'px'};n.inherits(l,s),function(){this.classSuffix='-v',this.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var e=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-e)/(this.coeff-e)}this._emit('scroll',{data:this.scrollTop})}this.skipEvent=!1},this.getWidth=function(){return this.isVisible?this.width:0},this.setHeight=function(e){this.element.style.height=e+'px'},this.setInnerHeight=this.setScrollHeight=function(e){this.scrollHeight=e,e>i?(this.coeff=i/e,e=i):1!=this.coeff&&(this.coeff=1),this.inner.style.height=e+'px'},this.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=e,this.element.scrollTop=e*this.coeff)}}.call(l.prototype);var d=function(e,t){s.call(this,e),this.scrollLeft=0,this.height=t.$scrollbarWidth,this.inner.style.height=this.element.style.height=(this.height||15)+5+'px'};n.inherits(d,s),function(){this.classSuffix='-h',this.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit('scroll',{data:this.scrollLeft})),this.skipEvent=!1},this.getHeight=function(){return this.isVisible?this.height:0},this.setWidth=function(e){this.element.style.width=e+'px'},this.setInnerWidth=function(e){this.inner.style.width=e+'px'},this.setScrollWidth=function(e){this.inner.style.width=e+'px'},this.setScrollLeft=function(e){this.scrollLeft!=e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=e)}}.call(d.prototype),t.ScrollBar=l,t.ScrollBarV=l,t.ScrollBarH=d,t.VScrollBar=l,t.HScrollBar=d}),ace.define('ace/renderloop',['require','exports','module','ace/lib/event'],function(e,t){'use strict';var n=e('./lib/event'),r=function(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.window=t||window};(function(){this.schedule=function(e){if(this.changes|=e,!this.pending&&this.changes){this.pending=!0;var t=this;n.nextFrame(function(){t.pending=!1;for(var e;e=t.changes;)t.changes=0,t.onRender(e)},this.window)}}}).call(r.prototype),t.RenderLoop=r}),ace.define('ace/layer/font_metrics',['require','exports','module','ace/lib/oop','ace/lib/dom','ace/lib/lang','ace/lib/useragent','ace/lib/event_emitter'],function(e,t){var n=e('../lib/oop'),r=e('../lib/dom'),o=e('../lib/lang'),a=e('../lib/useragent'),i=e('../lib/event_emitter').EventEmitter,s=0,l=t.FontMetrics=function(e){this.el=r.createElement('div'),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=r.createElement('div'),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=r.createElement('div'),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),s||this.$testFractionalRect(),this.$measureNode.innerHTML=o.stringRepeat('X',s),this.$characterSize={width:0,height:0},this.checkForSizeChanges()};(function(){n.implement(this,i),this.$characterSize={width:0,height:0},this.$testFractionalRect=function(){var e=r.createElement('div');this.$setMeasureNodeStyles(e.style),e.style.width='0.2px',document.documentElement.appendChild(e);var t=e.getBoundingClientRect().width;s=0t?50:100,e.parentNode.removeChild(e)},this.$setMeasureNodeStyles=function(e,t){e.width=e.height='auto',e.left=e.top='0px',e.visibility='hidden',e.position='absolute',e.whiteSpace='pre',8>a.isIE?e['font-family']='inherit':e.font='inherit',e.overflow=t?'hidden':'visible'},this.checkForSizeChanges=function(){var e=this.$measureSizes();if(e&&(this.$characterSize.width!==e.width||this.$characterSize.height!==e.height)){this.$measureNode.style.fontWeight='bold';var t=this.$measureSizes();this.$measureNode.style.fontWeight='',this.$characterSize=e,this.charSizes=Object.create(null),this.allowBoldFonts=t&&t.width===e.width&&t.height===e.height,this._emit('changeCharacterSize',{data:e})}},this.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer)return this.$pollSizeChangesTimer;var e=this;return this.$pollSizeChangesTimer=setInterval(function(){e.checkForSizeChanges()},500)},this.setPolling=function(e){e?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},this.$measureSizes=function(){if(50==s){var e=null;try{e=this.$measureNode.getBoundingClientRect()}catch(t){e={width:0,height:0}}var t={height:e.height,width:e.width/s}}else var t={height:this.$measureNode.clientHeight,width:this.$measureNode.clientWidth/s};return 0===t.width||0===t.height?null:t},this.$measureCharWidth=function(e){this.$main.innerHTML=o.stringRepeat(e,s);var t=this.$main.getBoundingClientRect();return t.width/s},this.getCharacterWidth=function(e){var t=this.charSizes[e];return void 0===t&&(t=this.charSizes[e]=this.$measureCharWidth(e)/this.$characterSize.width),t},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)}}).call(l.prototype)}),ace.define('ace/virtual_renderer',['require','exports','module','ace/lib/oop','ace/lib/dom','ace/config','ace/lib/useragent','ace/layer/gutter','ace/layer/marker','ace/layer/text','ace/layer/cursor','ace/scrollbar','ace/scrollbar','ace/renderloop','ace/layer/font_metrics','ace/lib/event_emitter'],function(e,t){'use strict';var n=e('./lib/oop'),o=e('./lib/dom'),a=e('./config'),l=e('./lib/useragent'),u=e('./layer/gutter').Gutter,p=e('./layer/marker').Marker,g=e('./layer/text').Text,f=e('./layer/cursor').Cursor,h=e('./scrollbar').HScrollBar,m=e('./scrollbar').VScrollBar,b=e('./renderloop').RenderLoop,y=e('./layer/font_metrics').FontMetrics,k=e('./lib/event_emitter').EventEmitter;o.importCssString('.ace_editor {position: relative;overflow: hidden;font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'source-code-pro\', monospace;direction: ltr;text-align: left;}.ace_scroller {position: absolute;overflow: hidden;top: 0;bottom: 0;background-color: inherit;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;cursor: text;}.ace_content {position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;min-width: 100%;}.ace_dragging .ace_scroller:before{position: absolute;top: 0;left: 0;right: 0;bottom: 0;content: \'\';background: rgba(250, 250, 250, 0.01);z-index: 1000;}.ace_dragging.ace_dark .ace_scroller:before{background: rgba(0, 0, 0, 0.01);}.ace_selecting, .ace_selecting * {cursor: text !important;}.ace_gutter {position: absolute;overflow : hidden;width: auto;top: 0;bottom: 0;left: 0;cursor: default;z-index: 4;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;}.ace_gutter-active-line {position: absolute;left: 0;right: 0;}.ace_scroller.ace_scroll-left {box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;}.ace_gutter-cell {padding-left: 19px;padding-right: 6px;background-repeat: no-repeat;}.ace_gutter-cell.ace_error {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: 2px center;}.ace_gutter-cell.ace_warning {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");background-position: 2px center;}.ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");background-position: 2px center;}.ace_dark .ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");}.ace_scrollbar {position: absolute;right: 0;bottom: 0;z-index: 6;}.ace_scrollbar-inner {position: absolute;cursor: text;left: 0;top: 0;}.ace_scrollbar-v{overflow-x: hidden;overflow-y: scroll;top: 0;}.ace_scrollbar-h {overflow-x: scroll;overflow-y: hidden;left: 0;}.ace_print-margin {position: absolute;height: 100%;}.ace_text-input {position: absolute;z-index: 0;width: 0.5em;height: 1em;opacity: 0;background: transparent;-moz-appearance: none;appearance: none;border: none;resize: none;outline: none;overflow: hidden;font: inherit;padding: 0 1px;margin: 0 -1px;text-indent: -1em;-ms-user-select: text;-moz-user-select: text;-webkit-user-select: text;user-select: text;white-space: pre!important;}.ace_text-input.ace_composition {background: inherit;color: inherit;z-index: 1000;opacity: 1;text-indent: 0;}.ace_layer {z-index: 1;position: absolute;overflow: hidden;word-wrap: normal;white-space: pre;height: 100%;width: 100%;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;pointer-events: none;}.ace_gutter-layer {position: relative;width: auto;text-align: right;pointer-events: auto;}.ace_text-layer {font: inherit !important;}.ace_cjk {display: inline-block;text-align: center;}.ace_cursor-layer {z-index: 4;}.ace_cursor {z-index: 4;position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;border-left: 2px solid;transform: translatez(0);}.ace_slim-cursors .ace_cursor {border-left-width: 1px;}.ace_overwrite-cursors .ace_cursor {border-left-width: 0;border-bottom: 1px solid;}.ace_hidden-cursors .ace_cursor {opacity: 0.2;}.ace_smooth-blinking .ace_cursor {-webkit-transition: opacity 0.18s;transition: opacity 0.18s;}.ace_editor.ace_multiselect .ace_cursor {border-left-width: 1px;}.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {position: absolute;z-index: 3;}.ace_marker-layer .ace_selection {position: absolute;z-index: 5;}.ace_marker-layer .ace_bracket {position: absolute;z-index: 6;}.ace_marker-layer .ace_active-line {position: absolute;z-index: 2;}.ace_marker-layer .ace_selected-word {position: absolute;z-index: 4;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}.ace_line .ace_fold {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;display: inline-block;height: 11px;margin-top: -2px;vertical-align: middle;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");background-repeat: no-repeat, repeat-x;background-position: center center, top left;color: transparent;border: 1px solid black;border-radius: 2px;cursor: pointer;pointer-events: auto;}.ace_dark .ace_fold {}.ace_fold:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");}.ace_tooltip {background-color: #FFF;background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));border: 1px solid gray;border-radius: 1px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);color: black;max-width: 100%;padding: 3px 4px;position: fixed;z-index: 999999;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;cursor: default;white-space: pre;word-wrap: break-word;line-height: normal;font-style: normal;font-weight: normal;letter-spacing: normal;pointer-events: none;}.ace_folding-enabled > .ace_gutter-cell {padding-right: 13px;}.ace_fold-widget {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0 -12px 0 1px;display: none;width: 11px;vertical-align: top;background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: center;border-radius: 3px;border: 1px solid transparent;cursor: pointer;}.ace_folding-enabled .ace_fold-widget {display: inline-block; }.ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");}.ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");}.ace_fold-widget:hover {border: 1px solid rgba(0, 0, 0, 0.3);background-color: rgba(255, 255, 255, 0.2);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);}.ace_fold-widget:active {border: 1px solid rgba(0, 0, 0, 0.4);background-color: rgba(0, 0, 0, 0.05);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);}.ace_dark .ace_fold-widget {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");}.ace_dark .ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget:hover {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);background-color: rgba(255, 255, 255, 0.1);}.ace_dark .ace_fold-widget:active {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);}.ace_fold-widget.ace_invalid {background-color: #FFB4B4;border-color: #DE5555;}.ace_fade-fold-widgets .ace_fold-widget {-webkit-transition: opacity 0.4s ease 0.05s;transition: opacity 0.4s ease 0.05s;opacity: 0;}.ace_fade-fold-widgets:hover .ace_fold-widget {-webkit-transition: opacity 0.05s ease 0.05s;transition: opacity 0.05s ease 0.05s;opacity:1;}.ace_underline {text-decoration: underline;}.ace_bold {font-weight: bold;}.ace_nobold .ace_bold {font-weight: normal;}.ace_italic {font-style: italic;}.ace_error-marker {background-color: rgba(255, 0, 0,0.2);position: absolute;z-index: 9;}.ace_highlight-marker {background-color: rgba(255, 255, 0,0.2);position: absolute;z-index: 8;}.ace_br1 {border-top-left-radius : 3px;}.ace_br2 {border-top-right-radius : 3px;}.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}.ace_br4 {border-bottom-right-radius: 3px;}.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}.ace_br8 {border-bottom-left-radius : 3px;}.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}','ace_editor.css');var v=function(e,t){var n=this;this.container=e||o.createElement('div'),this.$keepTextAreaAtCursor=!l.isOldIE,o.addCssClass(this.container,'ace_editor'),this.setTheme(t),this.$gutter=o.createElement('div'),this.$gutter.className='ace_gutter',this.container.appendChild(this.$gutter),this.scroller=o.createElement('div'),this.scroller.className='ace_scroller',this.container.appendChild(this.scroller),this.content=o.createElement('div'),this.content.className='ace_content',this.scroller.appendChild(this.content),this.$gutterLayer=new u(this.$gutter),this.$gutterLayer.on('changeGutterWidth',this.onGutterResize.bind(this)),this.$markerBack=new p(this.content);var r=this.$textLayer=new g(this.content);this.canvas=r.element,this.$markerFront=new p(this.content),this.$cursorLayer=new f(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new m(this.container,this),this.scrollBarH=new h(this.container,this),this.scrollBarV.addEventListener('scroll',function(t){n.$scrollAnimation||n.session.setScrollTop(t.data-n.scrollMargin.top)}),this.scrollBarH.addEventListener('scroll',function(t){n.$scrollAnimation||n.session.setScrollLeft(t.data-n.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new y(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.addEventListener('changeCharacterSize',function(t){n.updateCharacterSize(),n.onResize(!0,n.gutterWidth,n.$size.width,n.$size.height),n._signal('changeCharacterSize',t)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$loop=new b(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),a.resetOptions(this),a._emit('renderer',this)};(function(){var e=Math.round;this.CHANGE_CURSOR=1,this.CHANGE_MARKER=2,this.CHANGE_GUTTER=4,this.CHANGE_SCROLL=8,this.CHANGE_LINES=16,this.CHANGE_TEXT=32,this.CHANGE_SIZE=64,this.CHANGE_MARKER_BACK=128,this.CHANGE_MARKER_FRONT=256,this.CHANGE_FULL=512,this.CHANGE_H_SCROLL=1024,n.implement(this,k),this.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle('ace_nobold',!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin()},this.setSession=function(e){this.session&&this.session.doc.off('changeNewLineMode',this.onChangeNewLineMode),this.session=e,e&&this.scrollMargin.top&&0>=e.getScrollTop()&&e.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(e),this.$markerBack.setSession(e),this.$markerFront.setSession(e),this.$gutterLayer.setSession(e),this.$textLayer.setSession(e);e&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarV.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on('changeNewLineMode',this.onChangeNewLineMode))},this.updateLines=function(e,t,n){if(void 0===t&&(t=Infinity),this.$changedLines?(this.$changedLines.firstRow>e&&(this.$changedLines.firstRow=e),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},this.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar()},this.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},this.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},this.updateFull=function(e){e?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},this.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},this.$changes=0,this.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},this.onResize=function(e,t,n,r){if(!(2t||t>e.height-o)return void(r.top=r.left='0');var a=this.characterWidth;if(this.$composition){var i=this.textarea.value.replace(/^\x01+/,'');a*=this.session.$getStringScreenWidth(i)[0]+2,o+=2}n-=this.scrollLeft,n>this.$size.scrollerWidth-a&&(n=this.$size.scrollerWidth-a),n+=this.gutterWidth,r.height=o+'px',r.width=a+'px',r.left=d(n,this.$size.scrollerWidth-a)+'px',r.top=d(t,this.$size.height-o)+'px'}},this.getFirstVisibleRow=function(){return this.layerConfig.firstRow},this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},this.getLastFullyVisibleRow=function(){var e=this.layerConfig,t=e.lastRow,n=this.session.documentToScreenRow(t,0)*e.lineHeight;return n-this.session.getScrollTop()>e.height-e.lineHeight?t-1:t},this.getLastVisibleRow=function(){return this.layerConfig.lastRow},this.$padding=null,this.setPadding=function(e){this.$padding=e,this.$textLayer.setPadding(e),this.$cursorLayer.setPadding(e),this.$markerFront.setPadding(e),this.$markerBack.setPadding(e),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},this.setScrollMargin=function(e,t,n,r){var o=this.scrollMargin;o.top=0|e,o.bottom=0|t,o.right=0|r,o.left=0|n,o.v=o.top+o.bottom,o.h=o.left+o.right,o.top&&0>=this.scrollTop&&this.session&&this.session.setScrollTop(-o.top),this.updateFull()},this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setHScrollBarAlwaysVisible=function(e){this.setOption('hScrollBarAlwaysVisible',e)},this.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},this.setVScrollBarAlwaysVisible=function(e){this.setOption('vScrollBarAlwaysVisible',e)},this.$updateScrollBarV=function(){var e=this.layerConfig.maxHeight,t=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(e-=(t-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>e-t&&(e=this.scrollTop+t,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(e+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},this.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},this.$frozen=!1,this.freeze=function(){this.$frozen=!0},this.unfreeze=function(){this.$frozen=!1},this.$renderChanges=function(e,t){if(this.$changes&&(e|=this.$changes,this.$changes=0),!this.session||!this.container.offsetWidth||this.$frozen||!e&&!t)return void(this.$changes|=e);if(this.$size.$dirty)return this.$changes|=e,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal('beforeRender');var n=this.layerConfig;if(e&this.CHANGE_FULL||e&this.CHANGE_SIZE||e&this.CHANGE_TEXT||e&this.CHANGE_LINES||e&this.CHANGE_SCROLL||e&this.CHANGE_H_SCROLL){if(e|=this.$computeLayerConfig(),n.firstRow!=this.layerConfig.firstRow&&n.firstRowScreen==this.layerConfig.firstRowScreen){var r=this.scrollTop+(n.firstRow-this.layerConfig.firstRow)*this.lineHeight;0=this.scrollLeft?'ace_scroller':'ace_scroller ace_scroll-left'),e&this.CHANGE_FULL?(this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),void this._signal('afterRender')):e&this.CHANGE_SCROLL?(e&this.CHANGE_TEXT||e&this.CHANGE_LINES?this.$textLayer.update(n):this.$textLayer.scrollLines(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),this.$moveTextAreaToCursor(),void this._signal('afterRender')):void(e&this.CHANGE_TEXT?(this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n)):e&this.CHANGE_LINES?(this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(n):(e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER)&&this.$showGutter&&this.$gutterLayer.update(n),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(n),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(n),this._signal('afterRender'))},this.$autosize=function(){var e=this.session.getScreenLength()*this.lineHeight,t=this.$maxLines*this.lineHeight,n=d(t,c((this.$minLines||1)*this.lineHeight,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(n+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&n>this.$maxPixelHeight&&(n=this.$maxPixelHeight);var r=e>t;if(n!=this.desiredHeight||this.$size.height!=this.desiredHeight||r!=this.$vScroll){r!=this.$vScroll&&(this.$vScroll=r,this.scrollBarV.setVisible(r));var o=this.container.clientWidth;this.container.style.height=n+'px',this.$updateCachedSize(!0,this.$gutterWidth,o,n),this.desiredHeight=n,this._signal('autosize')}},this.$computeLayerConfig=function(){var t=this.session,n=this.$size,o=n.height<=2*this.lineHeight,a=this.session.getScreenLength(),i=a*this.lineHeight,s=this.$getLongestLine(),l=!o&&(this.$hScrollBarAlwaysVisible||0>n.scrollerWidth-s-2*this.$padding),u=this.$horizScroll!==l;u&&(this.$horizScroll=l,this.scrollBarH.setVisible(l));var p=this.$vScroll;this.$maxLines&&1n.scrollerHeight-i+h||this.scrollTop>m.top),y=p!==b;y&&(this.$vScroll=b,this.scrollBarV.setVisible(b));var k=r(f/this.lineHeight)-1,v=c(0,e((this.scrollTop-g)/this.lineHeight)),x=v+k,w=this.lineHeight,C,A;v=t.screenToDocumentRow(v,0);var E=t.getFoldLine(v);E&&(v=E.start.row),C=t.documentToScreenRow(v,0),A=t.getRowLength(v)*w,x=d(t.screenToDocumentRow(x,0),t.getLength()-1),f=n.scrollerHeight+t.getRowLength(x)*w+A,g=this.scrollTop-C*w;var F=0;return this.layerConfig.width!=s&&(F=this.CHANGE_H_SCROLL),(u||y)&&(F=this.$updateCachedSize(!0,this.gutterWidth,n.width,n.height),this._signal('scrollbarVisibilityChanged'),y&&(s=this.$getLongestLine())),this.layerConfig={width:s,padding:this.$padding,firstRow:v,firstRowScreen:C,lastRow:x,lineHeight:w,characterWidth:this.characterWidth,minHeight:f,maxHeight:i,offset:g,gutterOffset:w?c(0,r((g+n.height-n.scrollerHeight)/w)):0,height:this.$size.scrollerHeight},F},this.$updateLines=function(){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var n=this.layerConfig;if(!(e>n.lastRow+1))return ti?(n&&d+s>i+this.lineHeight&&(i-=n*this.$size.scrollerHeight),0===i&&(i=-this.scrollMargin.top),this.session.setScrollTop(i)):d+this.$size.scrollerHeight-la?(at&&this.session.getScrollTop()>=1-this.scrollMargin.top||0e&&this.session.getScrollLeft()>=1-this.scrollMargin.left||0this.$doc.getLength()>>1?this.call('setValue',[this.$doc.getValue()]):this.emit('change',{data:e}))},this.$workerBlob=function(e){var t='importScripts(\''+o.qualifyURL(e)+'\');';try{return new Blob([t],{type:'application/javascript'})}catch(o){var n=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder,r=new n;return r.append(t),r.getBlob('application/javascript')}}}).call(s.prototype);var l=function(e,t,n){this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.callbackId=1,this.callbacks={},this.messageBuffer=[];var r=null,o=!1,s=Object.create(a),l=this;this.$worker={},this.$worker.terminate=function(){},this.$worker.postMessage=function(t){l.messageBuffer.push(t),r&&(o?setTimeout(d):d())},this.setEmitSync=function(e){o=e};var d=function(){var e=l.messageBuffer.shift();e.command?r[e.command].apply(r,e.args):e.event&&s._signal(e.event,e.data)};s.postMessage=function(e){l.onMessage({data:e})},s.callback=function(e,t){this.postMessage({type:'call',id:t,data:e})},s.emit=function(e,t){this.postMessage({type:'event',name:e,data:t})},i.loadModule(['worker',t],function(e){for(r=new e[n](s);l.messageBuffer.length;)d()})};l.prototype=s.prototype,t.UIWorkerClient=l,t.WorkerClient=s}),ace.define('ace/placeholder',['require','exports','module','ace/range','ace/lib/event_emitter','ace/lib/oop'],function(e,t){'use strict';var n=e('./range').Range,r=e('./lib/event_emitter').EventEmitter,o=e('./lib/oop'),a=function(e,t,n,r,o,a){var i=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=o,this.othersClass=a,this.$onUpdate=this.onUpdate.bind(this),this.doc.on('change',this.$onUpdate),this.$others=r,this.$onCursorChange=function(){setTimeout(function(){i.onCursorChange()})},this.$pos=n;var s=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=s.length,this.setup(),e.selection.on('changeCursor',this.$onCursorChange)};(function(){o.implement(this,r),this.setup=function(){var e=this,t=this.doc,r=this.session;this.selectionBefore=r.selection.toJSON(),r.selection.inMultiSelectMode&&r.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var o=this.pos;o.$insertRight=!0,o.detach(),o.markerId=r.addMarker(new n(o.row,o.column,o.row,o.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(n){var r=t.createAnchor(n.row,n.column);r.$insertRight=!0,r.detach(),e.others.push(r)}),r.setUndoSelect(!1)},this.showOtherMarkers=function(){if(!this.othersActive){var e=this.session,t=this;this.othersActive=!0,this.others.forEach(function(r){r.markerId=e.addMarker(new n(r.row,r.column,r.row,r.column+t.length),t.othersClass,null,!1)})}},this.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var e=0;e=this.pos.column&&t.start.column<=this.pos.column+this.length+1,a=t.start.column-this.pos.column;if(this.updateAnchors(e),o&&(this.length+=r),o&&!this.session.$fromUndo)if('insert'===e.action)for(var s=this.others.length-1;0<=s;s--){var i=this.others[s],l={row:i.row,column:i.column+a};this.doc.insertMergedLines(l,e.lines)}else if('remove'===e.action)for(var s=this.others.length-1;0<=s;s--){var i=this.others[s],l={row:i.row,column:i.column+a};this.doc.remove(new n(l.row,l.column,l.row,l.column-r))}this.$updating=!1,this.updateMarkers()}},this.updateAnchors=function(e){this.pos.onChange(e);for(var t=this.others.length;t--;)this.others[t].onChange(e);this.updateMarkers()},this.updateMarkers=function(){if(!this.$updating){var e=this,t=this.session,r=function(r,o){t.removeMarker(r.markerId),r.markerId=t.addMarker(new n(r.row,r.column,r.row,r.column+e.length),o,null,!1)};r(this.pos,this.mainClass);for(var o=this.others.length;o--;)r(this.others[o],this.othersClass)}},this.onCursorChange=function(e){if(!this.$updating&&this.session){var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit('cursorEnter',e)):(this.hideOtherMarkers(),this._emit('cursorLeave',e))}},this.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.removeEventListener('change',this.$onUpdate),this.session.selection.removeEventListener('changeCursor',this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},this.cancel=function(){if(-1!==this.$undoStackDepth){for(var e=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth,n=0;nl&&(l=0),0>u&&(u=0),u==p&&(n=!0);for(var g=u,f;g<=p;g++){if(f=s.fromPoints(this.session.screenToDocumentPosition(g,l),this.session.screenToDocumentPosition(g,d)),f.isEmpty()){if(h&&r(f.end,h))break;var h=f.end}f.cursor=a?f.start:f.end,o.push(f)}if(c&&o.reverse(),!n){for(var m=o.length-1;o[m].isEmpty()&&0=b;y--)o[y].isEmpty()&&o.splice(y,1)}return o}}.call(l.prototype);var m=e('./editor').Editor;(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(e){e.cursor||(e.cursor=e.end);var t=this.getSelectionStyle();return e.marker=this.session.addMarker(e,'ace_selection',t),this.session.$selectionMarkers.push(e),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,e},this.removeSelectionMarker=function(e){if(e.marker){this.session.removeMarker(e.marker);var t=this.session.$selectionMarkers.indexOf(e);-1!=t&&this.session.$selectionMarkers.splice(t,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(e){for(var t=this.session.$selectionMarkers,n=e.length,r;n--;)if(r=e[n],r.marker){this.session.removeMarker(r.marker);var o=t.indexOf(r);-1!=o&&t.splice(o,1)}this.session.selectionMarkerCount=t.length},this.$onAddRange=function(t){this.addSelectionMarker(t.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(t){this.removeSelectionMarkers(t.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle('ace_multiselect'),this.keyBinding.addKeyboardHandler(p.keyboardHandler),this.commands.setDefaultHandler('exec',this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle('ace_multiselect'),this.keyBinding.removeKeyboardHandler(p.keyboardHandler),this.commands.removeDefaultHandler('exec',this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit('changeSelection'))},this.$onMultiSelectExec=function(t){var e=t.command,n=t.editor;if(n.multiSelect){if(!e.multiSelectAction){var r=e.exec(n,t.args||{});n.multiSelect.addRange(n.multiSelect.toOrientedRange()),n.multiSelect.mergeOverlappingRanges()}else'forEach'==e.multiSelectAction?r=n.forEachSelection(e,t.args):'forEachLine'==e.multiSelectAction?r=n.forEachSelection(e,t.args,!0):'single'==e.multiSelectAction?(n.exitMultiSelectMode(),r=e.exec(n,t.args||{})):r=e.multiSelectAction(n,t.args||{});return r}},this.forEachSelection=function(e,t,n){if(!this.inVirtualSelectionMode){var r=n&&n.keepOrder,o=!0==n||n&&n.$byLines,a=this.session,s=this.selection,d=s.rangeList,c=(r?s:d).ranges,u;if(!c.length)return e.exec?e.exec(this,t||{}):e(this,t||{});var p=s._eventRegistry;s._eventRegistry={};var g=new l(a);this.inVirtualSelectionMode=!0;for(var f=c.length;f--;){if(o)for(;0e?s.unshift(s.pop()):s.push(s.shift());for(var o=r.length;o--;){var a=r[o],i=a.clone();t.replace(a,s[o]),a.start.row=i.start.row,a.start.column=i.start.column}},this.selectMore=function(e,t,r){var o=this.session,a=o.multiSelect,i=a.toOrientedRange();if(!(i.isEmpty()&&(i=o.getWordRange(i.start.row,i.start.column),i.cursor=-1==e?i.start:i.end,this.multiSelect.addRange(i),r))){var s=o.getTextRange(i),l=n(o,s,e);l&&(l.cursor=-1==e?l.start:l.end,this.$blockScrolling+=1,this.session.unfold(l),this.multiSelect.addRange(l),this.$blockScrolling-=1,this.renderer.scrollCursorIntoView(null,0.5)),t&&this.multiSelect.substractPoint(i.cursor)}},this.alignCursors=function(){var e=this.session,t=e.multiSelect,n=t.ranges,o=-1,r=n.filter(function(e){return!(e.cursor.row!=o)||void(o=e.cursor.row)});if(!n.length||r.length==n.length-1){var a=this.selection.getRange(),i=a.start.row,l=a.end.row,d=i==l;if(d){var c=this.session.getLength(),p;do p=this.session.getLine(l);while(/[=:]/.test(p)&&++li&&(i=0),l>=c&&(l=c-1)}var g=this.session.removeFullLines(i,l);g=this.$reAlignText(g,d),this.session.insert({row:i,column:0},g.join('\n')+'\n'),d||(a.start.column=0,a.end.column=g[g.length-1].length),this.selection.setRange(a)}else{r.forEach(function(e){t.substractPoint(e.cursor)});var f=0,h=Infinity,m=n.map(function(t){var n=t.cursor,r=e.getLine(n.row),o=r.substr(n.column).search(/\S/g);return-1==o&&(o=0),n.column>f&&(f=n.column),oa?e.insert(r,u.stringRepeat(' ',o-a)):e.remove(new s(r.row,r.column,r.row,r.column-o+a)),t.start.column=t.end.column=f,t.start.row=t.end.row=r.row,t.cursor=t.end}),t.fromOrientedRange(n[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}},this.$reAlignText=function(e,t){function n(e){return u.stringRepeat(' ',e)}function r(e){return e[2]?n(i)+e[2]+n(s-e[2].length+l)+e[4].replace(/^([=:])\s+/,'$1 '):e[0]}var o=!0,a=!0,i,s,l;return e.map(function(e){var t=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return t?null==i?(i=t[1].length,s=t[2].length,l=t[3].length,t):(i+s+l!=t[1].length+t[2].length+t[3].length&&(a=!1),i!=t[1].length&&(o=!1),i>t[1].length&&(i=t[1].length),st[3].length&&(l=t[3].length),t):[e]}).map(t?r:o?a?function(e){return e[2]?n(i+s-e[2].length)+e[2]+n(l,' ')+e[4].replace(/^([=:])\s+/,'$1 '):e[0]}:r:function(e){return e[2]?n(i)+e[2]+n(l)+e[4].replace(/^([=:])\s+/,'$1 '):e[0]})}}).call(m.prototype),t.onSessionChange=function(t){var e=t.session;e&&!e.multiSelect&&(e.$selectionMarkers=[],e.selection.$initRangeList(),e.multiSelect=e.selection),this.multiSelect=e&&e.multiSelect;var n=t.oldSession;n&&(n.multiSelect.off('addRange',this.$onAddRange),n.multiSelect.off('removeRange',this.$onRemoveRange),n.multiSelect.off('multiSelect',this.$onMultiSelect),n.multiSelect.off('singleSelect',this.$onSingleSelect),n.multiSelect.lead.off('change',this.$checkMultiselectChange),n.multiSelect.anchor.off('change',this.$checkMultiselectChange)),e&&(e.multiSelect.on('addRange',this.$onAddRange),e.multiSelect.on('removeRange',this.$onRemoveRange),e.multiSelect.on('multiSelect',this.$onMultiSelect),e.multiSelect.on('singleSelect',this.$onSingleSelect),e.multiSelect.lead.on('change',this.$checkMultiselectChange),e.multiSelect.anchor.on('change',this.$checkMultiselectChange)),e&&this.inMultiSelectMode!=e.selection.inMultiSelectMode&&(e.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},t.MultiSelect=o,e('./config').defineOptions(m.prototype,'editor',{enableMultiselect:{set:function(e){o(this),e?(this.on('changeSession',this.$multiselectOnSessionChange),this.on('mousedown',d)):(this.off('changeSession',this.$multiselectOnSessionChange),this.off('mousedown',d))},value:!0},enableBlockSelect:{set:function(e){this.$blockSelectEnabled=e},value:!0}})}),ace.define('ace/mode/folding/fold_mode',['require','exports','module','ace/range'],function(e,t){'use strict';var n=e('../../range').Range,r=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);return this.foldingStartMarker.test(r)?'start':'markbeginend'==t&&this.foldingStopMarker&&this.foldingStopMarker.test(r)?'end':''},this.getFoldWidgetRange=function(){return null},this.indentationBlock=function(e,t,r){var o=/\S/,a=e.getLine(t),i=a.search(o);if(-1!=i){for(var s=r||a.length,l=e.getLength(),d=t,c=t,u;++td){var p=e.getLine(c).length;return new n(d,s,c,p)}}},this.openingBracketBlock=function(e,t,r,o,a){var i={row:r,column:o+1},s=e.$findClosingBracket(t,i,a);if(s){var l=e.foldWidgets[s.row];return null==l&&(l=e.getFoldWidget(s.row)),'start'==l&&s.row>i.row&&(s.row--,s.column=e.getLine(s.row).length),n.fromPoints(i,s)}},this.closingBracketBlock=function(e,t,r,o){var a={row:r,column:o},i=e.$findOpeningBracket(t,a);if(i)return i.column++,a.column--,n.fromPoints(i,a)}}).call(r.prototype)}),ace.define('ace/theme/textmate',['require','exports','module','ace/lib/dom'],function(e,t){'use strict';t.isDark=!1,t.cssClass='ace-tm',t.cssText='.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var n=e('../lib/dom');n.importCssString(t.cssText,t.cssClass)}),ace.define('ace/line_widgets',['require','exports','module','ace/lib/oop','ace/lib/dom','ace/range'],function(e,t){'use strict';function n(e){this.session=e,this.session.widgetManager=this,this.session.getRowLength=this.getRowLength,this.session.$getWidgetScreenLength=this.$getWidgetScreenLength,this.updateOnChange=this.updateOnChange.bind(this),this.renderWidgets=this.renderWidgets.bind(this),this.measureWidgets=this.measureWidgets.bind(this),this.session._changedWidgets=[],this.$onChangeEditor=this.$onChangeEditor.bind(this),this.session.on('change',this.updateOnChange),this.session.on('changeFold',this.updateOnFold),this.session.on('changeEditor',this.$onChangeEditor)}var o=e('./lib/oop'),a=e('./lib/dom'),i=e('./range').Range;(function(){this.getRowLength=function(e){var t;return t=this.lineWidgets?this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0:0,this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.$getWidgetScreenLength=function(){var e=0;return this.lineWidgets.forEach(function(t){t&&t.rowCount&&!t.hidden&&(e+=t.rowCount)}),e},this.$onChangeEditor=function(t){this.attach(t.editor)},this.attach=function(e){e&&e.widgetManager&&e.widgetManager!=this&&e.widgetManager.detach();this.editor==e||(this.detach(),this.editor=e,e&&(e.widgetManager=this,e.renderer.on('beforeRender',this.measureWidgets),e.renderer.on('afterRender',this.renderWidgets)))},this.detach=function(){var e=this.editor;if(e){this.editor=null,e.widgetManager=null,e.renderer.off('beforeRender',this.measureWidgets),e.renderer.off('afterRender',this.renderWidgets);var t=this.session.lineWidgets;t&&t.forEach(function(e){e&&e.el&&e.el.parentNode&&(e._inDocument=!1,e.el.parentNode.removeChild(e.el))})}},this.updateOnFold=function(t,e){var n=e.lineWidgets;if(n&&t.action){for(var r=t.data,o=r.start.row,a=r.end.row,s='add'==t.action,l=o+1;ll&&(l=0)),i.rowCount!=l&&(i.rowCount=l,i.row>1,i=n(t,e[a]);if(0i)o=a-1;else return a}return-(r+1)}function r(e,t,r){var o=e.getAnnotations().sort(s.comparePoints);if(o.length){var a=n(o,{row:t,column:-1},s.comparePoints);0>a&&(a=-a-1),a>=o.length?a=0r&&(a=o.length-1);var l=o[a];if(l&&r){if(l.row===t){do l=o[a+=r];while(l&&l.row===t);if(!l)return o.slice()}var d=[];t=l.row;do d[0>r?'unshift':'push'](l),l=o[a+=r];while(l&&l.row==t);return d.length&&d}}}var o=e('../line_widgets').LineWidgets,a=e('../lib/dom'),s=e('../range').Range;t.showErrorMarker=function(e,t){var n=e.session;n.widgetManager||(n.widgetManager=new o(n),n.widgetManager.attach(e));var i=e.getCursorPosition(),s=i.row,l=n.widgetManager.getWidgetsAtRow(s).filter(function(e){return'errorMarker'==e.type})[0];l?l.destroy():s-=t;var d=r(n,s,t),c;if(d){var u=d[0];i.column=(u.pos&&'number'!=typeof u.column?u.pos.sc:u.column)||0,i.row=u.row,c=e.renderer.$gutterLayer.$annotations[i.row]}else{if(l)return;c={text:['Looks good!'],className:'ace_ok'}}e.session.unfold(i.row),e.selection.moveToPosition(i);var p={row:i.row,fixedWidth:!0,coverGutter:!0,el:a.createElement('div'),type:'errorMarker'},g=p.el.appendChild(a.createElement('div')),f=p.el.appendChild(a.createElement('div'));f.className='error_widget_arrow '+c.className;var h=e.renderer.$cursorLayer.getPixelPosition(i).left;f.style.left=h+e.renderer.gutterWidth-5+'px',p.el.className='error_widget_wrapper',g.className='error_widget '+c.className,g.innerHTML=c.text.join('
'),g.appendChild(a.createElement('div'));var m=function(e,t,n){if(0===t&&('esc'===n||'return'===n))return p.destroy(),{command:'null'}};p.destroy=function(){e.$mouseHandler.isMousePressed||(e.keyBinding.removeKeyboardHandler(m),n.widgetManager.removeLineWidget(p),e.off('changeSelection',p.destroy),e.off('changeSession',p.destroy),e.off('mouseup',p.destroy),e.off('change',p.destroy))},e.keyBinding.addKeyboardHandler(m),e.on('changeSelection',p.destroy),e.on('changeSession',p.destroy),e.on('mouseup',p.destroy),e.on('change',p.destroy),e.session.widgetManager.addLineWidget(p),p.el.onmousedown=e.focus.bind(e),e.renderer.scrollCursorIntoView(null,0.5,{bottom:p.el.offsetHeight})},a.importCssString(' .error_widget_wrapper { background: inherit; color: inherit; border:none } .error_widget { border-top: solid 2px; border-bottom: solid 2px; margin: 5px 0; padding: 10px 40px; white-space: pre-wrap; } .error_widget.ace_error, .error_widget_arrow.ace_error{ border-color: #ff5a5a } .error_widget.ace_warning, .error_widget_arrow.ace_warning{ border-color: #F1D817 } .error_widget.ace_info, .error_widget_arrow.ace_info{ border-color: #5a5a5a } .error_widget.ace_ok, .error_widget_arrow.ace_ok{ border-color: #5aaa5a } .error_widget_arrow { position: absolute; border: solid 5px; border-top-color: transparent!important; border-right-color: transparent!important; border-left-color: transparent!important; top: -5px; }','')}),ace.define('ace/ace',['require','exports','module','ace/lib/fixoldbrowsers','ace/lib/dom','ace/lib/event','ace/editor','ace/edit_session','ace/undomanager','ace/virtual_renderer','ace/worker/worker_client','ace/keyboard/hash_handler','ace/placeholder','ace/multi_select','ace/mode/folding/fold_mode','ace/theme/textmate','ace/ext/error_marker','ace/config'],function(e,t){'use strict';e('./lib/fixoldbrowsers');var r=e('./lib/dom'),o=e('./lib/event'),a=e('./editor').Editor,i=e('./edit_session').EditSession,s=e('./undomanager').UndoManager,l=e('./virtual_renderer').VirtualRenderer;e('./worker/worker_client'),e('./keyboard/hash_handler'),e('./placeholder'),e('./multi_select'),e('./mode/folding/fold_mode'),e('./theme/textmate'),e('./ext/error_marker'),t.config=e('./config'),t.acequire=e,t.define=n(11),t.edit=function(e){if('string'==typeof e){var n=e;if(e=document.getElementById(n),!e)throw new Error('ace.edit can\'t find div #'+n)}if(e&&e.env&&e.env.editor instanceof a)return e.env.editor;var i='';if(e&&/input|textarea/i.test(e.tagName)){var s=e;i=s.value,e=r.createElement('pre'),s.parentNode.replaceChild(e,s)}else e&&(i=r.getInnerText(e),e.innerHTML='');var d=t.createEditSession(i),c=new a(new l(e));c.setSession(d);var u={document:d,editor:c,onResize:c.resize.bind(c,null)};return s&&(u.textarea=s),o.addListener(window,'resize',u.onResize),c.on('destroy',function(){o.removeListener(window,'resize',u.onResize),u.editor.container.env=null}),c.container.env=c.env=u,c},t.createEditSession=function(e,t){var n=new i(e,t);return n.setUndoManager(new s),n},t.EditSession=i,t.UndoManager=s,t.version='1.2.6'}),function(){ace.acequire(['ace/ace'],function(e){for(var t in e&&(e.config.init(!0),e.define=ace.define),window.ace||(window.ace=e),e)e.hasOwnProperty(t)&&(window.ace[t]=e[t])})}(),e.exports=window.ace.acequire('ace/ace')},function(e){e.exports=function(){throw new Error('define cannot be used indirect')}},function(e,t,n){(function(e,n){function r(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++nd))return!1;var u=i.get(e);if(u&&i.get(t))return u==t;var p=-1,g=!0,h=n&q?new f:void 0;for(i.set(e,t),i.set(t,e);++pn)return!1;var r=t.length-1;return n==r?t.pop():Ve.call(t,n,1),--this.size,!0},p.prototype.get=function(e){var t=this.__data__,n=b(t,e);return 0>n?void 0:t[n][1]},p.prototype.has=function(e){return-1r?(++this.size,n.push([e,t])):n[r][1]=t,this},g.prototype.clear=function(){this.size=0,this.__data__={hash:new u,map:new(Ye||p),string:new u}},g.prototype['delete']=function(e){var t=L(this,e)['delete'](e);return this.size-=t?1:0,t},g.prototype.get=function(e){return L(this,e).get(e)},g.prototype.has=function(e){return L(this,e).has(e)},g.prototype.set=function(e,t){var n=L(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},f.prototype.add=f.prototype.push=function(e){return this.__data__.set(e,z),this},f.prototype.has=function(e){return this.__data__.has(e)},h.prototype.clear=function(){this.__data__=new p,this.size=0},h.prototype['delete']=function(e){var t=this.__data__,n=t['delete'](e);return this.size=t.size,n},h.prototype.get=function(e){return this.__data__.get(e)},h.prototype.has=function(e){return this.__data__.has(e)},h.prototype.set=function(e,t){var n=this.__data__;if(n instanceof p){var r=n.__data__;if(!Ye||r.length<200-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new g(r)}return n.set(e,t),this.size=n.size,this};var st=ze?function(e){return null==e?[]:(e=Object(e),r(ze(e),function(t){return He.call(e,t)}))}:function(){return[]},lt=k;(Ke&<(new Ke(new ArrayBuffer(1)))!=me||Ye&<(new Ye)!=re||Xe&<(Xe.resolve())!=se||Qe&<(new Qe)!=ce||Je&<(new Je)!=fe)&&(lt=function(e){var t=k(e),n=t==ie?e.constructor:void 0,r=n?O(n):'';if(r)switch(r){case et:return me;case tt:return re;case nt:return se;case rt:return ce;case ot:return fe;}return t});var dt=v(function(){return arguments}())?v:function(e){return V(e)&&Me.call(e,'callee')&&!He.call(e,'callee')},ct=Array.isArray,ut=Ge||function(){return!1},pt=Le?function(e){return function(t){return e(t)}}(Le):function(e){return V(e)&&W(e.length)&&!!ve[k(e)]};n.exports=function(e,t){return x(e,t)}}).call(t,n(4),n(42)(e))},function(e,t){'use strict';Object.defineProperty(t,'__esModule',{value:!0});t.editorOptions=['minLines','maxLines','readOnly','highlightActiveLine','tabSize','enableBasicAutocompletion','enableLiveAutocompletion','enableSnippets'],t.editorEvents=['onChange','onFocus','onBlur','onCopy','onPaste','onSelectionChange','onScroll','handleOptions','updateRef']},function(e,t,n){'use strict';function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return t&&('object'==typeof t||'function'==typeof t)?t:e}function i(e,t){if('function'!=typeof t&&null!==t)throw new TypeError('Super expression must either be null or a function, not '+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0,r;n\n body,\n html {\n height: 100%;\n width: 100%;\n }\n * {\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n }\n .footer {\n position: absolute;\n bottom: 0;\n }\n pre {\n display: inline-block;\n background: black;\n color: white !important;\n }\n code {\n display: inline-block;\n padding: 0;\n margin: 0;\n color: grey;\n }\n \n
\n

lcov-server

\n

\uD83C\uDFAF A simple lcov server & cli parser

\n v1.1.0\n
\n
\n \n
npm install -g lcov-server
\n
\n
\n  $ lcov-server  this will startup the lcov-server \n  $ tap test/**/*.js --coverage-report=text-lcov | lcov-server --upload https://localhost:8080
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Lines\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Branches\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Functions\n \n \n \n \n
\n
\n ',options:{width:'100%'},footer:{author:'Made with \uD83D\uDC12 by @gabrielcsapo',website:'http://www.gabrielcsapo.com'},path:'/Users/gabrielcsapo/Documents/lcov-server/tryitout.js'}){var m=window&&window.source||{title:'lcov-server',nav:{Source:'https://github.com/gabrielcsapo/lcov-server',Storybook:'./storybook/index.html'},body:'\n \n
\n

lcov-server

\n

\uD83C\uDFAF A simple lcov server & cli parser

\n v1.1.0\n
\n
\n \n
npm install -g lcov-server
\n
\n
\n  $ lcov-server  this will startup the lcov-server \n  $ tap test/**/*.js --coverage-report=text-lcov | lcov-server --upload https://localhost:8080
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Lines\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Branches\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Functions\n \n \n \n \n
\n
\n ',options:{width:'100%'},footer:{author:'Made with \uD83D\uDC12 by @gabrielcsapo',website:'http://www.gabrielcsapo.com'},path:'/Users/gabrielcsapo/Documents/lcov-server/tryitout.js'};(0,p.render)(d.default.createElement(h,m),document.getElementById('root')),!1}else e.exports=h},function(e,t,n){var r=n(16);'string'==typeof r&&(r=[[e.i,r,'']]);var o={hmr:!0},a;o.transform=a;n(7)(r,o);r.locals&&(e.exports=r.locals),!1},function(e,t,n){t=e.exports=n(6)(void 0),t.push([e.i,'/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}hr{display:block;box-sizing:content-box;text-align:center;border:0;height:0;border-top:1px solid #cfcfc4;border-bottom:1px solid rgba(255,255,255,.3)}hr.ellipsis{border-top:0;border-bottom:0}hr.ellipsis:before{font-weight:400;font-style:italic;font-size:28px;letter-spacing:.6em;font-size:13px;content:\'...\';display:inline-block;margin-left:.6em;color:#000;position:relative}pre{display:block;padding:10px;font-size:13px;line-height:1.42857143;word-break:break-all;word-wrap:break-word;white-space:normal;background-color:#f5f5f5;border-radius:5px;border-left:.3rem solid transparent}blockquote{padding:10px 20px;font-size:17.5px;border-left:5px solid #eee}code{border-radius:0;display:block;padding:1rem 1.5rem;white-space:pre;max-width:100%}a{color:#0079ad;text-decoration:none;font-weight:300}small{color:inherit;font-size:75%;font-weight:400}.alert{padding:10px 0 10px 10px;border-radius:5px;border:1px solid #cfcfc4;position:relative}.alert>.alert-close{font-size:25px;line-height:15px;position:absolute;right:10px;top:10px}.alert.alert-white{background-color:#fff;border:1px solid #e6e6e6}.alert.alert-white *{color:#000}.alert.alert-black{background-color:#000;border:1px solid #000}.alert.alert-black *{color:#fff}.alert.alert-default{background-color:#cfcfc4;border:1px solid #bdbdae}.alert.alert-default *{color:#fff}.alert.alert-primary{background-color:#779ecb;border:1px solid #608dc2}.alert.alert-primary *{color:#fff}.alert.alert-success{background-color:#7d7;border:1px solid #5cd65c}.alert.alert-success *{color:#fff}.alert.alert-info{background-color:#9bddff;border:1px solid #72cfff}.alert.alert-info *{color:#fff}.alert.alert-warning{background-color:#ffb347;border:1px solid #ffa626}.alert.alert-warning *{color:#fff}.alert.alert-danger{background-color:#ff6961;border:1px solid #ff483e}.alert.alert-danger *{color:#fff}.badge{display:table-cell;padding:8px 8px 8px 8px;border-radius:100px;border:1px solid #cfcfc4;text-align:center;vertical-align:middle}.badge.badge-white{background-color:#fff;color:#000}.badge.border-white{color:#000}.badge.badge-black{background-color:#000;color:#fff}.badge.border-black{color:#000}.badge.badge-default{background-color:#cfcfc4;color:#fff}.badge.border-default{color:#cfcfc4}.badge.badge-primary{background-color:#779ecb;color:#fff}.badge.border-primary{color:#779ecb}.badge.badge-success{background-color:#7d7;color:#fff}.badge.border-success{color:#7d7}.badge.badge-info{background-color:#9bddff;color:#fff}.badge.border-info{color:#9bddff}.badge.badge-warning{background-color:#ffb347;color:#fff}.badge.border-warning{color:#ffb347}.badge.badge-danger{background-color:#ff6961;color:#fff}.badge.border-danger{color:#ff6961}label{display:inline-block;margin-bottom:.5rem}input,select,textarea{display:block;padding:.375rem 1% .375rem 1%;line-height:1.5}select{background:url("data:image/svg+xml;utf8,");background-color:#fff;border:1px solid #cfcfc4;background-repeat:no-repeat;background-position:right 10px top 5px;background-size:16px 16px;padding:5px 30px 5px 15px;width:auto;text-align:center;border-radius:5px;appearance:none;-webkit-appearance:none;outline:0}select:active,select:focus{outline:0}select.input-white{border-color:#fff}select.input-black{border-color:#a6a6a6}select.input-default{border-color:#eeeeea}select.input-primary{border-color:#cfdded}select.input-success{border-color:#cff3cf}select.input-info{border-color:#dcf3ff}select.input-warning{border-color:#ffe4bf}select.input-danger{border-color:#ffcbc8}input,textarea{width:98%;margin:0;padding:.375rem 1% .375rem 1%;background-color:#fff;background-image:none;border:1px solid #cfcfc4;border-radius:.25rem}input:focus,textarea:focus{border-color:#779ecb;outline:0}input.input-white,textarea.input-white{border-color:#fff}input.input-white:focus,textarea.input-white:focus{border-color:#bfbfbf}input.input-black,textarea.input-black{border-color:#a6a6a6}input.input-black:focus,textarea.input-black:focus{border-color:#000}input.input-default,textarea.input-default{border-color:#eeeeea}input.input-default:focus,textarea.input-default:focus{border-color:#a2a28c}input.input-primary,textarea.input-primary{border-color:#cfdded}input.input-primary:focus,textarea.input-primary:focus{border-color:#4375af}input.input-success,textarea.input-success{border-color:#cff3cf}input.input-success:focus,textarea.input-success:focus{border-color:#3c3}input.input-info,textarea.input-info{border-color:#dcf3ff}input.input-info:focus,textarea.input-info:focus{border-color:#35baff}input.input-warning,textarea.input-warning{border-color:#ffe4bf}input.input-warning:focus,textarea.input-warning:focus{border-color:#f49000}input.input-danger,textarea.input-danger{border-color:#ffcbc8}input.input-danger:focus,textarea.input-danger:focus{border-color:#ff1509}.btn-group{margin:10px;display:inline-block}.btn-group>.btn{margin:-3px;border-radius:0}.btn-group>.btn:first-child{border-radius:5px 0 0 5px}.btn-group>.btn:last-child{border-radius:0 5px 5px 0}.btn{padding:12px 18px;margin:10px;cursor:pointer;display:inline-block;text-align:center;background-color:#fff;border-radius:5px;border:1px solid #cfcfc4;color:#655d5d}.btn:hover{border-color:#d6d6cd}.btn:active{opacity:.5}.btn:focus{outline:0}.btn.btn-block{width:100%}.btn.border-white{color:#fff}.btn.border-white:active,.btn.border-white:hover{border-color:#fff}.btn.border-white:active{border-color:#d9d9d9;opacity:.5}.btn.btn-white{color:#000;border:1px solid #d9d9d9;background-color:#fff}.btn.btn-white:active,.btn.btn-white:hover{border-color:#d9d9d9}.btn.btn-white:hover{background-color:#fff}.btn.btn-white:active{background-color:#d9d9d9;opacity:.5}.btn.border-black{color:#000}.btn.border-black:active,.btn.border-black:hover{border-color:#262626}.btn.border-black:active{border-color:#000;opacity:.5}.btn.btn-black{color:#fff;border:1px solid #000;background-color:#000}.btn.btn-black:active,.btn.btn-black:hover{border-color:#000}.btn.btn-black:hover{background-color:#262626}.btn.btn-black:active{background-color:#000;opacity:.5}.btn.border-default{color:#cfcfc4}.btn.border-default:active,.btn.border-default:hover{border-color:#d6d6cd}.btn.border-default:active{border-color:#b4b4a3;opacity:.5}.btn.btn-default{color:#fff;border:1px solid #b4b4a3;background-color:#cfcfc4}.btn.btn-default:active,.btn.btn-default:hover{border-color:#b4b4a3}.btn.btn-default:hover{background-color:#d6d6cd}.btn.btn-default:active{background-color:#b4b4a3;opacity:.5}.btn.border-primary{color:#779ecb}.btn.border-primary:active,.btn.border-primary:hover{border-color:#8badd3}.btn.border-primary:active{border-color:#5485be;opacity:.5}.btn.btn-primary{color:#fff;border:1px solid #5485be;background-color:#779ecb}.btn.btn-primary:active,.btn.btn-primary:hover{border-color:#5485be}.btn.btn-primary:hover{background-color:#8badd3}.btn.btn-primary:active{background-color:#5485be;opacity:.5}.btn.border-success{color:#7d7}.btn.border-success:active,.btn.border-success:hover{border-color:#8be28b}.btn.border-success:active{border-color:#4ed34e;opacity:.5}.btn.btn-success{color:#fff;border:1px solid #4ed34e;background-color:#7d7}.btn.btn-success:active,.btn.btn-success:hover{border-color:#4ed34e}.btn.btn-success:hover{background-color:#8be28b}.btn.btn-success:active{background-color:#4ed34e;opacity:.5}.btn.border-info{color:#9bddff}.btn.border-info:active,.btn.border-info:hover{border-color:#aae2ff}.btn.border-info:active{border-color:#5dc8ff;opacity:.5}.btn.btn-info{color:#fff;border:1px solid #5dc8ff;background-color:#9bddff}.btn.btn-info:active,.btn.btn-info:hover{border-color:#5dc8ff}.btn.btn-info:hover{background-color:#aae2ff}.btn.btn-info:active{background-color:#5dc8ff;opacity:.5}.btn.border-warning{color:#ffb347}.btn.border-warning:active,.btn.border-warning:hover{border-color:#ffbe63}.btn.border-warning:active{border-color:#ff9f16;opacity:.5}.btn.btn-warning{color:#fff;border:1px solid #ff9f16;background-color:#ffb347}.btn.btn-warning:active,.btn.btn-warning:hover{border-color:#ff9f16}.btn.btn-warning:hover{background-color:#ffbe63}.btn.btn-warning:active{background-color:#ff9f16;opacity:.5}.btn.border-danger{color:#ff6961}.btn.border-danger:active,.btn.border-danger:hover{border-color:#ff7f79}.btn.border-danger:active{border-color:#ff372c;opacity:.5}.btn.btn-danger{color:#fff;border:1px solid #ff372c;background-color:#ff6961}.btn.btn-danger:active,.btn.btn-danger:hover{border-color:#ff372c}.btn.btn-danger:hover{background-color:#ff7f79}.btn.btn-danger:active{background-color:#ff372c;opacity:.5}.grid{width:100%}.grid:after{clear:both;visibility:hidden;display:block;font-size:0;content:\' \';height:0}.grid>*>*{word-wrap:break-word}.grid>div{float:left;box-sizing:border-box;min-height:1px}.grid>.col-0-12{display:none}.grid>.col-1-12{width:8.333333333333332%;margin-left:0;margin-right:0}.grid>.col-2-12{width:16.666666666666664%;margin-left:0;margin-right:0}.grid>.col-3-12{width:25%;margin-left:0;margin-right:0}.grid>.col-4-12{width:33.33333333333333%;margin-left:0;margin-right:0}.grid>.col-5-12{width:41.66666666666667%;margin-left:0;margin-right:0}.grid>.col-6-12{width:50%;margin-left:0;margin-right:0}.grid>.col-7-12{width:58.333333333333336%;margin-left:0;margin-right:0}.grid>.col-8-12{width:66.66666666666666%;margin-left:0;margin-right:0}.grid>.col-9-12{width:75%;margin-left:0;margin-right:0}.grid>.col-10-12{width:83.33333333333334%;margin-left:0;margin-right:0}.grid>.col-11-12{width:91.66666666666666%;margin-left:0;margin-right:0}.grid>.col-12-12{width:100%;margin-left:0;margin-right:0}@media screen and (min-width:16em){.grid>.col-xs-0-12{display:none}.grid>.col-xs-1-12{width:8.3333%;margin-left:0;margin-right:0}.grid>.col-xs-2-12{width:16.6666%;margin-left:0;margin-right:0}.grid>.col-xs-3-12{width:25%;margin-left:0;margin-right:0}.grid>.col-xs-4-12{width:33.3333%;margin-left:0;margin-right:0}.grid>.col-xs-5-12{width:41.6666%;margin-left:0;margin-right:0}.grid>.col-xs-6-12{width:50%;margin-left:0;margin-right:0}.grid>.col-xs-7-12{width:58.3333%;margin-left:0;margin-right:0}.grid>.col-xs-8-12{width:66.6666%;margin-left:0;margin-right:0}.grid>.col-xs-9-12{width:75%;margin-left:0;margin-right:0}.grid>.col-xs-10-12{width:83.3333%;margin-left:0;margin-right:0}.grid>.col-xs-11-12{width:91.6666%;margin-left:0;margin-right:0}.grid>.col-xs-12-12{width:100%;margin-left:0;margin-right:0}}@media screen and (min-width:32em){.grid>.col-sm-0-12{display:none}.grid>.col-sm-1-12{width:8.3333%;margin-left:0;margin-right:0}.grid>.col-sm-2-12{width:16.6666%;margin-left:0;margin-right:0}.grid>.col-sm-3-12{width:25%;margin-left:0;margin-right:0}.grid>.col-sm-4-12{width:33.3333%;margin-left:0;margin-right:0}.grid>.col-sm-5-12{width:41.6666%;margin-left:0;margin-right:0}.grid>.col-sm-6-12{width:50%;margin-left:0;margin-right:0}.grid>.col-sm-7-12{width:58.3333%;margin-left:0;margin-right:0}.grid>.col-sm-8-12{width:66.6666%;margin-left:0;margin-right:0}.grid>.col-sm-9-12{width:75%;margin-left:0;margin-right:0}.grid>.col-sm-10-12{width:83.3333%;margin-left:0;margin-right:0}.grid>.col-sm-11-12{width:91.6666%;margin-left:0;margin-right:0}.grid>.col-sm-12-12{width:100%;margin-left:0;margin-right:0}}@media screen and (min-width:48em){.grid>.col-md-0-12{display:none}.grid>.col-md-1-12{width:8.3333%;margin-left:0;margin-right:0}.grid>.col-md-2-12{width:16.6666%;margin-left:0;margin-right:0}.grid>.col-md-3-12{width:25%;margin-left:0;margin-right:0}.grid>.col-md-4-12{width:33.3333%;margin-left:0;margin-right:0}.grid>.col-md-5-12{width:41.6666%;margin-left:0;margin-right:0}.grid>.col-md-6-12{width:50%;margin-left:0;margin-right:0}.grid>.col-md-7-12{width:58.3333%;margin-left:0;margin-right:0}.grid>.col-md-8-12{width:66.6666%;margin-left:0;margin-right:0}.grid>.col-md-9-12{width:75%;margin-left:0;margin-right:0}.grid>.col-md-10-12{width:83.3333%;margin-left:0;margin-right:0}.grid>.col-md-11-12{width:91.6666%;margin-left:0;margin-right:0}.grid>.col-md-12-12{width:100%;margin-left:0;margin-right:0}}@media screen and (min-width:64em){.grid>.col-lg-0-12{display:none}.grid>.col-lg-1-12{width:8.3333%;margin-left:0;margin-right:0}.grid>.col-lg-2-12{width:16.6666%;margin-left:0;margin-right:0}.grid>.col-lg-3-12{width:25%;margin-left:0;margin-right:0}.grid>.col-lg-4-12{width:33.3333%;margin-left:0;margin-right:0}.grid>.col-lg-5-12{width:41.6666%;margin-left:0;margin-right:0}.grid>.col-lg-6-12{width:50%;margin-left:0;margin-right:0}.grid>.col-lg-7-12{width:58.3333%;margin-left:0;margin-right:0}.grid>.col-lg-8-12{width:66.6666%;margin-left:0;margin-right:0}.grid>.col-lg-9-12{width:75%;margin-left:0;margin-right:0}.grid>.col-lg-10-12{width:83.3333%;margin-left:0;margin-right:0}.grid>.col-lg-11-12{width:91.6666%;margin-left:0;margin-right:0}.grid>.col-lg-12-12{width:100%;margin-left:0;margin-right:0}}@media screen and (min-width:80em){.grid>.col-xl-0-12{display:none}.grid>.col-xl-1-12{width:8.3333%;margin-left:0;margin-right:0}.grid>.col-xl-2-12{width:16.6666%;margin-left:0;margin-right:0}.grid>.col-xl-3-12{width:25%;margin-left:0;margin-right:0}.grid>.col-xl-4-12{width:33.3333%;margin-left:0;margin-right:0}.grid>.col-xl-5-12{width:41.6666%;margin-left:0;margin-right:0}.grid>.col-xl-6-12{width:50%;margin-left:0;margin-right:0}.grid>.col-xl-7-12{width:58.3333%;margin-left:0;margin-right:0}.grid>.col-xl-8-12{width:66.6666%;margin-left:0;margin-right:0}.grid>.col-xl-9-12{width:75%;margin-left:0;margin-right:0}.grid>.col-xl-10-12{width:83.3333%;margin-left:0;margin-right:0}.grid>.col-xl-11-12{width:91.6666%;margin-left:0;margin-right:0}.grid>.col-xl-12-12{width:100%;margin-left:0;margin-right:0}}body{margin:0}.text-white,.text-white>*{color:#fff!important}.background-white{background-color:#fff!important}.border-white{border-color:#fff!important}.text-black,.text-black>*{color:#000!important}.background-black{background-color:#000!important}.border-black{border-color:#000!important}.text-default,.text-default>*{color:#cfcfc4!important}.background-default{background-color:#cfcfc4!important}.border-default{border-color:#cfcfc4!important}.text-primary,.text-primary>*{color:#779ecb!important}.background-primary{background-color:#779ecb!important}.border-primary{border-color:#779ecb!important}.text-success,.text-success>*{color:#7d7!important}.background-success{background-color:#7d7!important}.border-success{border-color:#7d7!important}.text-info,.text-info>*{color:#9bddff!important}.background-info{background-color:#9bddff!important}.border-info{border-color:#9bddff!important}.text-warning,.text-warning>*{color:#ffb347!important}.background-warning{background-color:#ffb347!important}.border-warning{border-color:#ffb347!important}.text-danger,.text-danger>*{color:#ff6961!important}.background-danger{background-color:#ff6961!important}.border-danger{border-color:#ff6961!important}.responsive{width:100%;height:auto}.text-right{text-align:right}.text-left{text-align:left}.text-center{text-align:center}.list{list-style:none;margin:0;padding:0}.list>.list-item{clear:both;min-height:30px;height:auto;line-height:30px;overflow:auto;padding:10px;border:1px solid #cfcfc4;border-bottom:0 solid transparent}.list>.list-item>.badge{float:right;line-height:20px}.list>.list-item.list-item-white{color:#000;border-color:#fff;background-color:#fff}.list>.list-item.list-item-white *{color:#000}.list>.list-item.list-item-black{color:#fff;border-color:#333;background-color:#000}.list>.list-item.list-item-black *{color:#fff}.list>.list-item.list-item-default{color:#fff;border-color:#d9d9d0;background-color:#cfcfc4}.list>.list-item.list-item-default *{color:#fff}.list>.list-item.list-item-primary{color:#fff;border-color:#92b1d5;background-color:#779ecb}.list>.list-item.list-item-primary *{color:#fff}.list>.list-item.list-item-success{color:#fff;border-color:#92e492;background-color:#7d7}.list>.list-item.list-item-success *{color:#fff}.list>.list-item.list-item-info{color:#fff;border-color:#afe4ff;background-color:#9bddff}.list>.list-item.list-item-info *{color:#fff}.list>.list-item.list-item-warning{color:#fff;border-color:#ffc26c;background-color:#ffb347}.list>.list-item.list-item-warning *{color:#fff}.list>.list-item.list-item-danger{color:#fff;border-color:#ff8781;background-color:#ff6961}.list>.list-item.list-item-danger *{color:#fff}.list>.list-item:first-child{border-radius:5px 5px 0 0}.list>.list-item:last-child{border-bottom:1px solid #cfcfc4;border-radius:0 0 5px 5px}.list>.list-item:only-child{border-radius:5px}.list>.list-item>.list-item-right{float:right}.list>.list-item>.list-item-left{float:left}.modal{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(50,50,50,.6);z-index:99999;opacity:0;pointer-events:none}.modal.active,.modal.modal-active,.modal:target{opacity:1;pointer-events:auto}.modal.modal-absolute{position:absolute;z-index:1}.modal.modal-absolute>div{position:absolute}.modal>div{min-width:400px;max-width:90%;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:5px 20px 13px 20px;border-radius:0;background:#fff}.modal.modal-white>div{border-left:10px solid #fff;color:#000}.modal.modal-black>div{border-left:10px solid #000;color:#000}.modal.modal-default>div{border-left:10px solid #cfcfc4;color:#000}.modal.modal-primary>div{border-left:10px solid #779ecb;color:#000}.modal.modal-success>div{border-left:10px solid #7d7;color:#000}.modal.modal-info>div{border-left:10px solid #9bddff;color:#000}.modal.modal-warning>div{border-left:10px solid #ffb347;color:#000}.modal.modal-danger>div{border-left:10px solid #ff6961;color:#000}.modal-close{line-height:25px;position:absolute;right:5px;text-align:center;top:5px;width:24px;text-decoration:none}.navbar *{font-weight:300;display:inline-block;text-decoration:none}.navbar{position:relative;min-height:50px;width:100%;display:table}.navbar>.container{border-width:0 0 1px 0}.navbar.navbar-fixed{position:fixed;z-index:100000}.navbar.navbar-center>.container{border-width:0 1px 1px 1px;margin:0 auto;width:50%;position:relative}.navbar.navbar-center>.container>.navbar-content{margin:0}.navbar.border-white>.container{border-style:solid}.navbar.navbar-white>.container{background-color:#fff}.navbar.navbar-white>.container>.nav a.active,.navbar.navbar-white>.container>.nav a:hover,.navbar.navbar-white>.container>.nav a:target{background-color:#fff}.navbar.border-black>.container{border-style:solid}.navbar.navbar-black>.container{background-color:#000}.navbar.navbar-black>.container>.nav a.active,.navbar.navbar-black>.container>.nav a:hover,.navbar.navbar-black>.container>.nav a:target{background-color:#a6a6a6}.navbar.border-default>.container{border-style:solid}.navbar.navbar-default>.container{background-color:#cfcfc4}.navbar.navbar-default>.container>.nav a.active,.navbar.navbar-default>.container>.nav a:hover,.navbar.navbar-default>.container>.nav a:target{background-color:#eeeeea}.navbar.border-primary>.container{border-style:solid}.navbar.navbar-primary>.container{background-color:#779ecb}.navbar.navbar-primary>.container>.nav a.active,.navbar.navbar-primary>.container>.nav a:hover,.navbar.navbar-primary>.container>.nav a:target{background-color:#cfdded}.navbar.border-success>.container{border-style:solid}.navbar.navbar-success>.container{background-color:#7d7}.navbar.navbar-success>.container>.nav a.active,.navbar.navbar-success>.container>.nav a:hover,.navbar.navbar-success>.container>.nav a:target{background-color:#cff3cf}.navbar.border-info>.container{border-style:solid}.navbar.navbar-info>.container{background-color:#9bddff}.navbar.navbar-info>.container>.nav a.active,.navbar.navbar-info>.container>.nav a:hover,.navbar.navbar-info>.container>.nav a:target{background-color:#dcf3ff}.navbar.border-warning>.container{border-style:solid}.navbar.navbar-warning>.container{background-color:#ffb347}.navbar.navbar-warning>.container>.nav a.active,.navbar.navbar-warning>.container>.nav a:hover,.navbar.navbar-warning>.container>.nav a:target{background-color:#ffe4bf}.navbar.border-danger>.container{border-style:solid}.navbar.navbar-danger>.container{background-color:#ff6961}.navbar.navbar-danger>.container>.nav a.active,.navbar.navbar-danger>.container>.nav a:hover,.navbar.navbar-danger>.container>.nav a:target{background-color:#ffcbc8}.navbar>.container{clear:both;margin:0 auto 0 auto;display:table;width:100%;height:60px}.navbar>.container>.nav{float:right;margin:0 20px 0 0;display:inline-block}.navbar>.container>.nav>select{background-color:transparent}.navbar>.container>.nav>a{padding:20px 10px 22px 10px}.navbar>.container>.nav>a:active,.navbar>.container>.nav>a:hover,.navbar>.container>.nav>a:target{opacity:.6}.navbar .navbar-title{float:left;display:inline-block;margin:20px 0 0 20px}.panel{border:1px solid #cfcfc4;border-radius:5px}.panel.panel-white{border:1px solid #fff}.panel.panel-white .panel-footer,.panel.panel-white>.panel-heading{background-color:#fff;color:#000}.panel.panel-black{border:1px solid #000}.panel.panel-black .panel-footer,.panel.panel-black>.panel-heading{background-color:#000;color:#fff}.panel.panel-default{border:1px solid #cfcfc4}.panel.panel-default .panel-footer,.panel.panel-default>.panel-heading{background-color:#cfcfc4;color:#fff}.panel.panel-primary{border:1px solid #779ecb}.panel.panel-primary .panel-footer,.panel.panel-primary>.panel-heading{background-color:#779ecb;color:#fff}.panel.panel-success{border:1px solid #7d7}.panel.panel-success .panel-footer,.panel.panel-success>.panel-heading{background-color:#7d7;color:#fff}.panel.panel-info{border:1px solid #9bddff}.panel.panel-info .panel-footer,.panel.panel-info>.panel-heading{background-color:#9bddff;color:#fff}.panel.panel-warning{border:1px solid #ffb347}.panel.panel-warning .panel-footer,.panel.panel-warning>.panel-heading{background-color:#ffb347;color:#fff}.panel.panel-danger{border:1px solid #ff6961}.panel.panel-danger .panel-footer,.panel.panel-danger>.panel-heading{background-color:#ff6961;color:#fff}.panel .panel-footer,.panel .panel-heading,.panel>.panel-body{padding:15px}.panel>.panel-heading{top:0}.panel>.panel-footer{bottom:0}.tooltip,[data-tooltip]{position:relative;cursor:pointer}.tooltip:after,.tooltip:before,[data-tooltip]:after,[data-tooltip]:before{position:absolute;visibility:hidden;opacity:0;-webkit-transition:opacity .2s ease-in-out,visibility .2s ease-in-out,-webkit-transform .2s cubic-bezier(.71,1.7,.77,1.24);transition:opacity .2s ease-in-out,visibility .2s ease-in-out,-webkit-transform .2s cubic-bezier(.71,1.7,.77,1.24);transition:opacity .2s ease-in-out,visibility .2s ease-in-out,transform .2s cubic-bezier(.71,1.7,.77,1.24);transition:opacity .2s ease-in-out,visibility .2s ease-in-out,transform .2s cubic-bezier(.71,1.7,.77,1.24),-webkit-transform .2s cubic-bezier(.71,1.7,.77,1.24);-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);pointer-events:none}.tooltip:focus:after,.tooltip:focus:before,.tooltip:hover:after,.tooltip:hover:before,[data-tooltip]:focus:after,[data-tooltip]:focus:before,[data-tooltip]:hover:after,[data-tooltip]:hover:before{visibility:visible;opacity:1}.tooltip:before,[data-tooltip]:before{z-index:1001;border:6px solid transparent;background:0 0;content:""}.tooltip:after,[data-tooltip]:after{z-index:1000;padding:8px;min-width:160px;width:auto;background-color:#000;background-color:rgba(51,51,51,.9);color:#fff;content:attr(data-tooltip);font-size:14px;line-height:1.2}.tooltip-top:after,.tooltip-top:before,.tooltip:after,.tooltip:before,[data-tooltip]:after,[data-tooltip]:before{bottom:100%;left:50%}.tooltip-top:before,.tooltip:before,[data-tooltip]:before{margin-left:-6px;margin-bottom:-12px;border-top-color:#000;border-top-color:rgba(51,51,51,.9)}.tooltip-top:after,.tooltip:after,[data-tooltip]:after{margin-left:-80px}.tooltip-top:focus:after,.tooltip-top:focus:before,.tooltip-top:hover:after,.tooltip-top:hover:before,.tooltip:focus:after,.tooltip:focus:before,.tooltip:hover:after,.tooltip:hover:before,[data-tooltip]:focus:after,[data-tooltip]:focus:before,[data-tooltip]:hover:after,[data-tooltip]:hover:before{-webkit-transform:translateY(-12px);transform:translateY(-12px)}.tooltip-left:after,.tooltip-left:before{right:100%;bottom:50%;left:auto}.tooltip-left:before{margin-left:0;margin-right:-12px;margin-bottom:0;border-top-color:transparent;border-left-color:#000;border-left-color:rgba(51,51,51,.9)}.tooltip-left:focus:after,.tooltip-left:focus:before,.tooltip-left:hover:after,.tooltip-left:hover:before{-webkit-transform:translateX(-12px);transform:translateX(-12px)}.tooltip-bottom:after,.tooltip-bottom:before{top:100%;bottom:auto;left:50%}.tooltip-bottom:before{margin-top:-12px;margin-bottom:0;border-top-color:transparent;border-bottom-color:#000;border-bottom-color:rgba(51,51,51,.9)}.tooltip-bottom:focus:after,.tooltip-bottom:focus:before,.tooltip-bottom:hover:after,.tooltip-bottom:hover:before{-webkit-transform:translateY(12px);transform:translateY(12px)}.tooltip-right:after,.tooltip-right:before{bottom:50%;left:100%}.tooltip-right:before{margin-bottom:0;margin-left:-12px;border-top-color:transparent;border-right-color:#000;border-right-color:rgba(51,51,51,.9)}.tooltip-right:focus:after,.tooltip-right:focus:before,.tooltip-right:hover:after,.tooltip-right:hover:before{-webkit-transform:translateX(12px);transform:translateX(12px)}.tooltip-left:before,.tooltip-right:before{top:3px}.tooltip-left:after,.tooltip-right:after{margin-left:0;margin-bottom:-16px}[class^=tooltip-]{border-bottom:1px dotted #000;text-decoration:none}.progress{width:100%;border:1px solid #cfcfc4;text-align:center}.progress .progress-fill{font-size:16px;height:15px;padding:10px 0 10px 0;background-color:#779ecb}.progress .progress-fill.progress-fill-white{background-color:#fff;color:#000}.progress .progress-fill.progress-fill-white:hover{background-color:#fff}.progress .progress-fill.progress-fill-black{background-color:#000;color:#fff}.progress .progress-fill.progress-fill-black:hover{background-color:#404040}.progress .progress-fill.progress-fill-default{background-color:#cfcfc4;color:#fff}.progress .progress-fill.progress-fill-default:hover{background-color:#dbdbd3}.progress .progress-fill.progress-fill-primary{background-color:#779ecb;color:#fff}.progress .progress-fill.progress-fill-primary:hover{background-color:#99b6d8}.progress .progress-fill.progress-fill-success{background-color:#7d7;color:#fff}.progress .progress-fill.progress-fill-success:hover{background-color:#99e599}.progress .progress-fill.progress-fill-info{background-color:#9bddff;color:#fff}.progress .progress-fill.progress-fill-info:hover{background-color:#b4e6ff}.progress .progress-fill.progress-fill-warning{background-color:#ffb347;color:#fff}.progress .progress-fill.progress-fill-warning:hover{background-color:#ffc675}.progress .progress-fill.progress-fill-danger{background-color:#ff6961;color:#fff}.progress .progress-fill.progress-fill-danger:hover{background-color:#ff8f89}.spinner-overlay{position:relative;top:0;left:0;width:100%;height:100%;z-index:3}.spinner-wrapper{text-align:center;position:relative;top:calc(50% - 50px)}.spinner-wrapper>.spinner{min-height:30px;min-width:30px}.spinner-message{box-sizing:border-box;width:100%;margin-top:30px;text-align:center;font-weight:400;z-index:100;outline:0}.spinner{display:inline-block;min-height:20px;height:auto;min-width:20px;width:auto;background-color:transparent;animation:rotation .7s infinite linear;border-left:3px solid transparent;border-right:3px solid transparent;border-bottom:3px solid transparent;border-top:3px solid #2180c0;border-radius:100%}.spinner.spinner-absolute{position:absolute}.spinner.spinner-white{border-top:3px solid #fff}.spinner.spinner-white.spinner-done{border-color:#fff;border-width:3px 3px 3px 3px}.spinner.spinner-white.done:after{border-width:0 3px 0 3px}.spinner.spinner-black{border-top:3px solid #000}.spinner.spinner-black.spinner-done{border-color:#000;border-width:3px 3px 3px 3px}.spinner.spinner-black.done:after{border-width:0 3px 0 3px}.spinner.spinner-default{border-top:3px solid #cfcfc4}.spinner.spinner-default.spinner-done{border-color:#cfcfc4;border-width:3px 3px 3px 3px}.spinner.spinner-default.done:after{border-width:0 3px 0 3px}.spinner.spinner-primary{border-top:3px solid #779ecb}.spinner.spinner-primary.spinner-done{border-color:#779ecb;border-width:3px 3px 3px 3px}.spinner.spinner-primary.done:after{border-width:0 3px 0 3px}.spinner.spinner-success{border-top:3px solid #7d7}.spinner.spinner-success.spinner-done{border-color:#7d7;border-width:3px 3px 3px 3px}.spinner.spinner-success.done:after{border-width:0 3px 0 3px}.spinner.spinner-info{border-top:3px solid #9bddff}.spinner.spinner-info.spinner-done{border-color:#9bddff;border-width:3px 3px 3px 3px}.spinner.spinner-info.done:after{border-width:0 3px 0 3px}.spinner.spinner-warning{border-top:3px solid #ffb347}.spinner.spinner-warning.spinner-done{border-color:#ffb347;border-width:3px 3px 3px 3px}.spinner.spinner-warning.done:after{border-width:0 3px 0 3px}.spinner.spinner-danger{border-top:3px solid #ff6961}.spinner.spinner-danger.spinner-done{border-color:#ff6961;border-width:3px 3px 3px 3px}.spinner.spinner-danger.done:after{border-width:0 3px 0 3px}@-moz-keyframes rotation{from{transform:rotate(0)}to{transform:rotate(359deg)}}@-webkit-keyframes rotation{from{transform:rotate(0)}to{transform:rotate(359deg)}}@-o-keyframes rotation{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes rotation{from{transform:rotate(0)}to{transform:rotate(359deg)}}.table{text-align:center;word-break:break-all}.table.table-white{border:none}.table.table-white thead>tr>th{color:#fff}.table.table-white td,.table.table-white th{color:#fff;border-bottom:.1rem solid #fff}.table.table-black{border:none}.table.table-black thead>tr>th{color:#000}.table.table-black td,.table.table-black th{color:#0d0d0d;border-bottom:.1rem solid #000}.table.table-default{border:none}.table.table-default thead>tr>th{color:#cfcfc4}.table.table-default td,.table.table-default th{color:#d1d1c7;border-bottom:.1rem solid #cfcfc4}.table.table-primary{border:none}.table.table-primary thead>tr>th{color:#779ecb}.table.table-primary td,.table.table-primary th{color:#7ea3ce;border-bottom:.1rem solid #779ecb}.table.table-success{border:none}.table.table-success thead>tr>th{color:#7d7}.table.table-success td,.table.table-success th{color:#7edf7e;border-bottom:.1rem solid #7d7}.table.table-info{border:none}.table.table-info thead>tr>th{color:#9bddff}.table.table-info td,.table.table-info th{color:#a0dfff;border-bottom:.1rem solid #9bddff}.table.table-warning{border:none}.table.table-warning thead>tr>th{color:#ffb347}.table.table-warning td,.table.table-warning th{color:#ffb750;border-bottom:.1rem solid #ffb347}.table.table-danger{border:none}.table.table-danger thead>tr>th{color:#ff6961}.table.table-danger td,.table.table-danger th{color:#ff7069;border-bottom:.1rem solid #ff6961}.table thead>tr>th{font-weight:700}.table tbody tr:last-child>th{border-bottom:0}.table tfoot td:empty{padding:0}.table td,.table th{border-bottom:.1rem solid #e1e1e1;text-align:left;padding:10px}.table.responsive{border-collapse:collapse;border-spacing:0;display:table}',''])},function(e){e.exports=function(e){var t='undefined'!=typeof window&&window.location;if(!t)throw new Error('fixUrls requires window.location');if(!e||'string'!=typeof e)return e;var n=t.protocol+'//'+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,'/'),o=e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var o=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(o))return e;var a;return a=0===o.indexOf('//')?o:0===o.indexOf('/')?n+o:r+o.replace(/^\.\//,''),'url('+JSON.stringify(a)+')'});return o}},function(e,t,n){var r=n(19);'string'==typeof r&&(r=[[e.i,r,'']]);var o={hmr:!0},a;o.transform=a;n(7)(r,o);r.locals&&(e.exports=r.locals),!1},function(e,t,n){t=e.exports=n(6)(void 0),t.push([e.i,'html, body {\n margin: 0;\n padding: 0;\n font-family: \'Open Sans\', Helvetica, sans-serif;\n width: 100%;\n height: 100%;\n}\n#root {\n height: 100%;\n width: 100%;\n}\n.wrapper {\n min-height: 100%;\n margin-bottom: -50px;\n}\n.footer,\n.push {\n height: 50px;\n}\n\n.footer {\n padding-top: 25px;\n width: 100%;\n}\n',''])},function(e,n,o){'use strict';function i(t){for(var n=arguments.length-1,r='Minified React error #'+t+'; visit http://facebook.github.io/react/docs/error-decoder.html?invariant='+t,o=0;oO.length&&O.push(e)}function _(t,n,r,o){var e=typeof t;if(('undefined'==e||'boolean'==e)&&(t=null),null===t||'string'==e||'number'==e||'object'==e&&t.$$typeof===M)return r(o,t,''===n?'.'+L(t,0):n),1;var s=0;if(n=''===n?'.':n+':',Array.isArray(t))for(var l=0;l=lt(e.last.priorityLevel,t))n=e.last;else for(e=e.first;null!==e&&0>=lt(e.priorityLevel,t);)n=e,e=e.next;return n}function pt(t,n){var r=t.alternate,o=t.updateQueue;null===o&&(o=t.updateQueue=dt()),null===r?t=null:(t=r.updateQueue,null===t&&(t=r.updateQueue=dt())),ie=o,ca=t===o?null:t;var a=ie;r=ca;var e=ut(a,n),i=null===e?a.first:e.next;return null===r?(ct(a,n,e,i),null):(o=ut(r,n),t=null===o?r.first:o.next,ct(a,n,e,i),i===t&&null!==i||e===o&&null!==e)?(null===o&&(r.first=n),null===t&&(r.last=null),null):(n={priorityLevel:n.priorityLevel,partialState:n.partialState,callback:n.callback,isReplace:n.isReplace,isForced:n.isForced,isTopLevelUnmount:n.isTopLevelUnmount,next:null},ct(r,n,o,t),n)}function gt(e,t,n,r){return e=e.partialState,'function'==typeof e?e.call(t,n,r):e}function ft(e,t,n){e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=n}function ht(e){return e.tag===Ho&&null!=e.type.childContextTypes}function mt(t,n){var r=t.stateNode,a=t.type.childContextTypes;if('function'!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext(),r)i in a?void 0:o('108',y(t)||'Unknown',i);return l({},n,r)}function bt(e,t,n){this.tag=e,this.key=t,this.stateNode=this.type=null,this.sibling=this.child=this['return']=null,this.index=0,this.memoizedState=this.updateQueue=this.memoizedProps=this.pendingProps=this.ref=null,this.internalContextTag=n,this.effectTag=da,this.lastEffect=this.firstEffect=this.nextEffect=null,this.pendingWorkPriority=ia,this.alternate=null}function be(e,t,n){var r;return'function'==typeof e?(r=e.prototype&&e.prototype.isReactComponent?new bt(Jo,t,n):new bt(Qo,t,n),r.type=e):'string'==typeof e?(r=new bt(ea,t,n),r.type=e):'object'==typeof e&&null!==e&&'number'==typeof e.tag?r=e:o('130',null==e?e:typeof e,''),r}function yt(e){return null===e||'undefined'==typeof e?null:(e=Ie&&e[Ie]||e['@@iterator'],'function'==typeof e?e:null)}function Le(t,n){var r=n.ref;if(null!==r&&'function'!=typeof r){if(n._owner){n=n._owner;var i;n&&('number'==typeof n.tag?(n.tag===ze?void 0:o('110'),i=n.stateNode):i=n.getPublicInstance()),i?void 0:o('147',r);var s=''+r;return null!==t&&null!==t.ref&&t.ref._stringRef===s?t.ref:(t=function(e){var t=i.refs===Bn?i.refs={}:i.refs;null===e?delete t[s]:t[s]=e},t._stringRef=s,t)}'string'==typeof r?void 0:o('148'),n._owner?void 0:o('149',r)}return r}function Me(e,t){'textarea'!==e.type&&o('31','[object Object]'===Object.prototype.toString.call(t)?'object with keys {'+Object.keys(t).join(', ')+'}':t,'')}function Ne(t,n){function i(e,r){if(n){if(!t){if(null===r.alternate)return;r=r.alternate}var o=e.lastEffect;null===o?e.firstEffect=e.lastEffect=r:(o.nextEffect=r,e.lastEffect=r),r.nextEffect=null,r.effectTag=He}}function s(e,t){if(!n)return null;for(;null!==t;)i(e,t),t=t.sibling;return null}function l(e,t){for(e=new Map;null!==t;)null===t.key?e.set(t.index,t):e.set(t.key,t),t=t.sibling;return e}function u(e,n){return t?(e=qe(e,n),e.index=0,e.sibling=null,e):(e.pendingWorkPriority=n,e.effectTag=Fe,e.index=0,e.sibling=null,e)}function e(e,t,r){return(e.index=r,!n)?t:(r=e.alternate,null!==r)?(r=r.index,rh?(r=t,t=null):r=t.sibling;var p=y(o,t,d[h],u);if(null===p){null===t&&(t=r);break}n&&t&&null===p.alternate&&i(o,t),a=e(p,a,h),null==f?g=p:f.sibling=p,f=p,t=r}if(h===d.length)return s(o,t),g;if(null===t){for(;hb?(k=t,t=null):k=t.sibling;var v=y(d,t,p.value,g);if(null===v){t||(t=k);break}n&&t&&null===v.alternate&&i(d,t),a=e(v,a,b),null==h?f=v:h.sibling=v,h=v,t=k}if(p.done)return s(d,t),f;if(null===t){for(;!p.done;b++,p=u.next())p=c(d,p.value,g),null!==p&&(a=e(p,a,b),null===h?f=p:h.sibling=p,h=p);return f}for(t=l(d,t);!p.done;b++,p=u.next())(p=x(t,d,b,p.value,g),null!==p)&&(n&&null!==p.alternate&&t['delete'](null===p.key?b:p.key),a=e(p,a,b),null===h?f=p:h.sibling=p,h=p);return n&&t.forEach(function(e){return i(d,e)}),f}return function(t,n,r,a){var l='object'==typeof r&&null!==r;if(l)switch(r.$$typeof){case Je:a:{var c=r.key;for(l=n;null!==l;){if(l.key!==c)i(t,l);else if(l.type===r.type){s(t,l.sibling),n=u(l,a),n.ref=Le(l,r),n.pendingProps=r.props,n['return']=t,t=n;break a}else{s(t,l);break}l=l.sibling}a=re(r,t.internalContextTag,a),a.ref=Le(n,r),a['return']=t,t=a}return d(t);case ne:a:{for(l=r.key;null!==n;){if(n.key!==l)i(t,n);else if(n.tag===Ce){s(t,n.sibling),n=u(n,a),n.pendingProps=r,n['return']=t,t=n;break a}else{s(t,n);break}n=n.sibling}r=ue(r,t.internalContextTag,a),r['return']=t,t=r}return d(t);case oe:a:{if(null!==n)if(n.tag===De){s(t,n.sibling),n=u(n,a),n.type=r.value,n['return']=t,t=n;break a}else s(t,n);n=ve(r,t.internalContextTag,a),n.type=r.value,n['return']=t,t=n}return d(t);case pe:a:{for(l=r.key;null!==n;){if(n.key!==l)i(t,n);else if(n.tag===Be&&n.stateNode.containerInfo===r.containerInfo&&n.stateNode.implementation===r.implementation){s(t,n.sibling),n=u(n,a),n.pendingProps=r.children||[],n['return']=t,t=n;break a}else{s(t,n);break}n=n.sibling}r=we(r,t.internalContextTag,a),r['return']=t,t=r}return d(t);}if('string'==typeof r||'number'==typeof r)return r=''+r,null!==n&&n.tag===Ae?(s(t,n.sibling),n=u(n,a),n.pendingProps=r,n['return']=t,t=n):(s(t,n),r=te(r,t.internalContextTag,a),r['return']=t,t=r),d(t);if(xe(r))return v(t,n,r,a);if(yt(r))return w(t,n,r,a);if(l&&Me(t,r),'undefined'==typeof r)switch(t.tag){case ze:case ye:r=t.type,o('152',r.displayName||r.name||'Component');}return s(t,n)}}function Oe(t,n,r,i){function s(e,t){t.updater=l,e.stateNode=t,tr.set(t,e)}var l={isMounted:va,enqueueSetState:function(r,o,a){r=tr.get(r);var e=n(r,!1);Ye(r,o,void 0===a?null:a,e),t(r,e)},enqueueReplaceState:function(r,o,a){r=tr.get(r);var e=n(r,!1);Ze(r,o,void 0===a?null:a,e),t(r,e)},enqueueForceUpdate:function(r,o){r=tr.get(r);var a=n(r,!1);$e(r,void 0===o?null:o,a),t(r,a)}};return{adoptClassInstance:s,constructClassInstance:function(e,t){var n=e.type,r=We(e),o=Xe(e),a=o?Ve(e,r):Bn;return t=new n(t,a),s(e,t),o&&Ue(e,r,a),t},mountClassInstance:function(t,n){var r=t.alternate,a=t.stateNode,i=a.state||null,e=t.pendingProps;e?void 0:o('158');var s=We(t);a.props=e,a.state=i,a.refs=Bn,a.context=Ve(t,s),To.enableAsyncSubtreeAPI&&null!=t.type&&null!=t.type.prototype&&!0===t.type.prototype.unstable_isAsyncReactComponent&&(t.internalContextTag|=Te),'function'==typeof a.componentWillMount&&(s=a.state,a.componentWillMount(),s!==a.state&&l.enqueueReplaceState(a,a.state,null),s=t.updateQueue,null!==s&&(a.state=ya(r,t,s,a,i,e,n))),'function'==typeof a.componentDidMount&&(t.effectTag|=Se)},updateClassInstance:function(t,n,a){var e=n.stateNode;e.props=n.memoizedProps,e.state=n.memoizedState;var s=n.memoizedProps,d=n.pendingProps;d||(d=s,null==d?o('159'):void 0);var c=e.context,u=We(n);if(u=Ve(n,u),'function'!=typeof e.componentWillReceiveProps||s===d&&c===u||(c=e.state,e.componentWillReceiveProps(d,u),e.state!==c&&l.enqueueReplaceState(e,e.state,null)),c=n.memoizedState,a=null===n.updateQueue?c:ya(t,n,n.updateQueue,e,c,d,a),!(s!==d||c!==a||ka()||null!==n.updateQueue&&n.updateQueue.hasForceUpdate))return'function'!=typeof e.componentDidUpdate||s===t.memoizedProps&&c===t.memoizedState||(n.effectTag|=Se),!1;var p=d;if(null===s||null!==n.updateQueue&&n.updateQueue.hasForceUpdate)p=!0;else{var g=n.stateNode,f=n.type;p='function'==typeof g.shouldComponentUpdate?g.shouldComponentUpdate(p,a,u):f.prototype&&f.prototype.isPureReactComponent?!$n(s,p)||!$n(c,a):!0}return p?('function'==typeof e.componentWillUpdate&&e.componentWillUpdate(d,a,u),'function'==typeof e.componentDidUpdate&&(n.effectTag|=Se)):('function'!=typeof e.componentDidUpdate||s===t.memoizedProps&&c===t.memoizedState||(n.effectTag|=Se),r(n,d),i(n,a)),e.props=d,e.state=a,e.context=u,p}}}function kt(n,a,i,s,l){function u(t,n,r){e(t,n,r,n.pendingWorkPriority)}function e(e,t,n,r){t.child=null===e?xa(t,t.child,n,r):e.child===t.child?Aa(t,t.child,n,r):Ea(t,t.child,n,r)}function f(e,t){var n=t.ref;null===n||e&&e.ref===n||(t.effectTag|=ti)}function h(t,n,r,o){if(f(t,n),!r)return o&&Ba(n,!1),p(t,n);r=n.stateNode,ni.current=n;var a=r.render();return n.effectTag|=Xa,u(t,n,a),n.memoizedState=r.state,n.memoizedProps=r.props,o&&Ba(n,!0),n.child}function k(e){var t=e.stateNode;t.pendingContext?Da(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Da(e,t.context,!1),d(e,t.containerInfo)}function p(e,t){return Ca(e,t),t.child}function x(e,t){switch(t.tag){case Ia:k(t);break;case Pa:Ta(t);break;case Va:d(t,t.stateNode.containerInfo);}return null}var w=n.shouldSetTextContent,A=n.useSyncScheduling,E=n.shouldDeprioritizeSubtree,F=a.pushHostContext,d=a.pushHostContainer,C=i.enterHydrationState,S=i.resetHydrationState,r=i.tryToClaimNextHydratableInstance;n=Oe(s,l,function(e,t){e.memoizedProps=t},function(e,t){e.memoizedState=t});var m=n.adoptClassInstance,t=n.constructClassInstance,v=n.mountClassInstance,_=n.updateClassInstance;return{beginWork:function(n,a,i){if(a.pendingWorkPriority===Ka||a.pendingWorkPriority>i)return x(n,a);switch(a.tag){case $a:null===n?void 0:o('155');var s=a.type,l=a.pendingProps,e=_a(a);return e=Sa(a,e),s=s(l,e),a.effectTag|=Xa,'object'==typeof s&&null!==s&&'function'==typeof s.render?(a.tag=Pa,l=Ta(a),m(a,s),v(a,i),a=h(n,a,!0,l)):(a.tag=Ra,u(n,a,s),a.memoizedProps=l,a=a.child),a;case Ra:a:{if(l=a.type,i=a.pendingProps,s=a.memoizedProps,La())null===i&&(i=s);else if(null===i||s===i){a=p(n,a);break a}s=_a(a),s=Sa(a,s),l=l(i,s),a.effectTag|=Xa,u(n,a,l),a.memoizedProps=i,a=a.child}return a;case Pa:return l=Ta(a),s=void 0,null===n?a.stateNode?o('153'):(t(a,a.pendingProps),v(a,i),s=!0):s=_(n,a,i),h(n,a,s,l);case Ia:return k(a),s=a.updateQueue,null===s?(S(),a=p(n,a)):(l=a.memoizedState,s=Fa(n,a,s,null,l,null,i),l===s?(S(),a=p(n,a)):(l=s.element,(null===n||null===n.child)&&C(a)?(a.effectTag|=Qa,a.child=xa(a,a.child,l,i)):(S(),u(n,a,l)),a.memoizedState=s,a=a.child)),a;case Wa:F(a),null===n&&r(a),l=a.type;var c=a.memoizedProps;return s=a.pendingProps,null===s&&(s=c,null===s?o('154'):void 0),e=null===n?null:n.memoizedProps,La()||null!==s&&c!==s?(c=s.children,w(l,s)?c=null:e&&w(l,e)&&(a.effectTag|=Ja),f(n,a),i!==Ya&&!A&&E(l,s)?(a.pendingWorkPriority=Ya,a=null):(u(n,a,c),a.memoizedProps=s,a=a.child)):a=p(n,a),a;case Ha:return null===n&&r(a),n=a.pendingProps,null===n&&(n=a.memoizedProps),a.memoizedProps=n,null;case za:a.tag=Ua;case Ua:return i=a.pendingProps,La()?null===i&&(i=n&&n.memoizedProps,null===i?o('154'):void 0):(null===i||a.memoizedProps===i)&&(i=a.memoizedProps),l=i.children,s=a.pendingWorkPriority,a.stateNode=null===n?xa(a,a.stateNode,l,s):n.child===a.child?Aa(a,a.stateNode,l,s):Ea(a,a.stateNode,l,s),a.memoizedProps=i,a.stateNode;case Ga:return null;case Va:a:{if(d(a,a.stateNode.containerInfo),i=a.pendingWorkPriority,l=a.pendingProps,La())null===l&&(l=n&&n.memoizedProps,null==l?o('154'):void 0);else if(null===l||a.memoizedProps===l){a=p(n,a);break a}null===n?a.child=Ea(a,a.child,l,i):u(n,a,l),a.memoizedProps=l,a=a.child}return a;case qa:a:{if(i=a.pendingProps,La())null===i&&(i=a.memoizedProps);else if(null===i||a.memoizedProps===i){a=p(n,a);break a}u(n,a,i),a.memoizedProps=i,a=a.child}return a;default:o('156');}},beginFailedWork:function(t,n,r){switch(n.tag){case Pa:Ta(n);break;case Ia:k(n);break;default:o('157');}return(n.effectTag|=Za,null===t?n.child=null:n.child!==t.child&&(n.child=t.child),n.pendingWorkPriority===Ka||n.pendingWorkPriority>r)?x(t,n):(n.firstEffect=null,n.lastEffect=null,e(t,n,null,r),n.tag===Pa&&(t=n.stateNode,n.memoizedProps=t.props,n.memoizedState=t.state),n.child)}}}function vt(t,n,r){var i=t.createInstance,s=t.createTextInstance,e=t.appendInitialChild,l=t.finalizeInitialChildren,d=t.prepareUpdate,u=n.getRootHostContainer,g=n.popHostContext,p=n.getHostContext,f=n.popHostContainer,h=r.prepareToHydrateHostInstance,m=r.prepareToHydrateHostTextInstance,y=r.popHydrationState;return{completeWork:function(n,a,b){var c=a.pendingProps;switch(null===c?c=a.memoizedProps:(a.pendingWorkPriority!==Hi||b===Hi)&&(a.pendingProps=null),a.tag){case bi:return null;case yi:return ai(a),null;case vi:return f(a),pi(a),c=a.stateNode,c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(null===n||null===n.child)&&(y(a),a.effectTag&=~Pi),null;case Ci:g(a),b=u();var k=a.type;if(null!==n&&null!=a.stateNode){var v=n.memoizedProps,t=a.stateNode,x=p();c=d(t,k,v,c,b,x),(a.updateQueue=c)&&(a.effectTag|=Wi),n.ref!==a.ref&&(a.effectTag|=Ni)}else{if(!c)return null===a.stateNode?o('166'):void 0,null;if(n=p(),y(a))h(a,b,n)&&(a.effectTag|=Wi);else{n=i(k,c,b,n,a);a:for(v=a.child;null!==v;){if(v.tag===Ci||v.tag===Ai)e(n,v.stateNode);else if(v.tag!==Ei&&null!==v.child){v=v.child;continue}if(v===a)break a;for(;null===v.sibling;){if(null===v['return']||v['return']===a)break a;v=v['return']}v=v.sibling}l(n,k,c,b)&&(a.effectTag|=Wi),a.stateNode=n}null!==a.ref&&(a.effectTag|=Ni)}return null;case Ai:if(n&&null!=a.stateNode)n.memoizedProps!==c&&(a.effectTag|=Wi);else{if('string'!=typeof c)return null===a.stateNode?o('166'):void 0,null;n=u(),b=p(),y(a)?m(a)&&(a.effectTag|=Wi):a.stateNode=s(c,n,b,a)}return null;case Fi:(c=a.memoizedProps)?void 0:o('165'),a.tag=_i,b=[];a:for((k=a.stateNode)&&(k['return']=a);null!==k;){if(k.tag===Ci||k.tag===Ai||k.tag===Ei)o('164');else if(k.tag===Li)b.push(k.type);else if(null!==k.child){k.child['return']=k,k=k.child;continue}for(;null===k.sibling;){if(null===k['return']||k['return']===a)break a;k=k['return']}k.sibling['return']=k['return'],k=k.sibling}return k=c.handler,c=k(c.props,b),a.child=ri(a,null===n?null:n.child,c,a.pendingWorkPriority),a.child;case _i:return a.tag=Fi,null;case Li:return null;case Di:return null;case Ei:return a.effectTag|=Wi,f(a),null;case mi:o('167');default:o('156');}}}}function xt(e){return function(t){try{return e(t)}catch(e){}}}function wt(t,n){function r(e){var t=e.ref;if(null!==t)try{t(null)}catch(r){n(e,r)}}function a(e){return e.tag===Yi||e.tag===qi||e.tag===Ji}function i(e){for(var t=e;;)if(s(t),null!==t.child&&t.tag!==Ji)t.child['return']=t,t=t.child;else{if(t===e)break;for(;null===t.sibling;){if(null===t['return']||t['return']===e)return;t=t['return']}t.sibling['return']=t['return'],t=t.sibling}}function e(e){for(var t=e,n=!1,r=void 0,a=void 0;;){if(!n){n=t['return'];a:for(;;){switch(null===n?o('160'):void 0,n.tag){case Yi:r=n.stateNode,a=!1;break a;case qi:r=n.stateNode.containerInfo,a=!0;break a;case Ji:r=n.stateNode.containerInfo,a=!0;break a;}n=n['return']}n=!0}if(t.tag===Yi||t.tag===Xi)i(t),a?v(r,t.stateNode):k(r,t.stateNode);else if(t.tag===Ji?r=t.stateNode.containerInfo:s(t),null!==t.child){t.child['return']=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t['return']||t['return']===e)return;t=t['return'],t.tag===Ji&&(n=!1)}t.sibling['return']=t['return'],t=t.sibling}}function s(o){switch('function'==typeof ns&&ns(o),o.tag){case Gi:r(o);var t=o.stateNode;if('function'==typeof t.componentWillUnmount)try{t.props=o.memoizedProps,t.state=o.memoizedState,t.componentWillUnmount()}catch(e){n(o,e)}break;case Yi:r(o);break;case es:i(o.stateNode);break;case Ji:e(o);}}var l=t.commitMount,u=t.commitUpdate,d=t.resetTextContent,p=t.commitTextUpdate,g=t.appendChild,h=t.appendChildToContainer,m=t.insertBefore,y=t.insertInContainerBefore,k=t.removeChild,v=t.removeChildFromContainer,f=t.getPublicInstance;return{commitPlacement:function(t){a:{for(var n=t['return'];null!==n;){if(a(n)){var r=n;break a}n=n['return']}o('160'),r=void 0}var i=n=void 0;switch(r.tag){case Yi:n=r.stateNode,i=!1;break;case qi:n=r.stateNode.containerInfo,i=!0;break;case Ji:n=r.stateNode.containerInfo,i=!0;break;default:o('161');}r.effectTag&is&&(d(n),r.effectTag&=~is);a:b:for(r=t;;){for(;null===r.sibling;){if(null===r['return']||a(r['return'])){r=null;break a}r=r['return']}for(r.sibling['return']=r['return'],r=r.sibling;r.tag!==Yi&&r.tag!==Xi;){if(r.effectTag&rs)continue b;if(null===r.child||r.tag===Ji)continue b;else r.child['return']=r,r=r.child}if(!(r.effectTag&rs)){r=r.stateNode;break a}}for(var e=t;;){if(e.tag===Yi||e.tag===Xi)r?i?y(n,e.stateNode,r):m(n,e.stateNode,r):i?h(n,e.stateNode):g(n,e.stateNode);else if(e.tag!==Ji&&null!==e.child){e.child['return']=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e['return']||e['return']===t)return;e=e['return']}e.sibling['return']=e['return'],e=e.sibling}},commitDeletion:function(t){e(t),t['return']=null,t.child=null,t.alternate&&(t.alternate.child=null,t.alternate['return']=null)},commitWork:function(t,n){switch(n.tag){case Gi:break;case Yi:var r=n.stateNode;if(null!=r){var a=n.memoizedProps;t=null===t?a:t.memoizedProps;var i=n.type,e=n.updateQueue;n.updateQueue=null,null!==e&&u(r,e,i,t,a,n)}break;case Xi:null===n.stateNode?o('162'):void 0,r=n.memoizedProps,p(n.stateNode,null===t?r:t.memoizedProps,r);break;case qi:break;case Ji:break;default:o('163');}},commitLifeCycles:function(e,t){switch(t.tag){case Gi:var n=t.stateNode;if(t.effectTag&os)if(null===e)n.props=t.memoizedProps,n.state=t.memoizedState,n.componentDidMount();else{var r=e.memoizedProps;e=e.memoizedState,n.props=t.memoizedProps,n.state=t.memoizedState,n.componentDidUpdate(r,e)}t.effectTag&as&&null!==t.updateQueue&&ts(t,t.updateQueue,n);break;case qi:e=t.updateQueue,null!==e&&ts(t,e,t.child&&t.child.stateNode);break;case Yi:n=t.stateNode,null===e&&t.effectTag&os&&l(n,t.type,t.memoizedProps,t);break;case Xi:break;case Ji:break;default:o('163');}},commitAttachRef:function(e){var t=e.ref;if(null!==t){var n=e.stateNode;switch(e.tag){case Yi:t(f(n));break;default:t(n);}}},commitDetachRef:function(e){e=e.ref,null!==e&&e(null)}}}function Ct(t){function n(e){return e===cs?o('174'):void 0,e}var r=t.getChildHostContext,i=t.getRootHostContext,s=ss(cs),e=ss(cs),l=ss(cs);return{getHostContext:function(){return n(s.current)},getRootHostContainer:function(){return n(l.current)},popHostContainer:function(t){ls(s,t),ls(e,t),ls(l,t)},popHostContext:function(t){e.current===t&&(ls(s,t),ls(e,t))},pushHostContainer:function(t,n){ds(l,n,t),n=i(n),ds(e,t,t),ds(s,n,t)},pushHostContext:function(t){var o=n(l.current),a=n(s.current);o=r(a,t.type,o),a!==o&&(ds(e,t,t),ds(s,o,t))},resetHostContainer:function(){s.current=cs,l.current=cs}}}function At(t){function n(e,t){var n=ms();n.stateNode=t,n['return']=e,n.effectTag=fs,null===e.lastEffect?e.firstEffect=e.lastEffect=n:(e.lastEffect.nextEffect=n,e.lastEffect=n)}function r(t,n){switch(t.tag){case us:return e(n,t.type,t.pendingProps);case ps:return l(n,t.pendingProps);default:return!1;}}function i(e){for(e=e['return'];null!==e&&e.tag!==us&&e.tag!==gs;)e=e['return'];f=e}var s=t.shouldSetTextContent,e=t.canHydrateInstance,l=t.canHydrateTextInstance,u=t.getNextHydratableSibling,c=t.getFirstHydratableChild,d=t.hydrateInstance,p=t.hydrateTextInstance,a=t.didNotHydrateInstance,g=t.didNotFindHydratableInstance;if(t=t.didNotFindHydratableTextInstance,!(e&&l&&u&&c&&d&&p&&a&&g&&t))return{enterHydrationState:function(){return!1},resetHydrationState:function(){},tryToClaimNextHydratableInstance:function(){},prepareToHydrateHostInstance:function(){o('175')},prepareToHydrateHostTextInstance:function(){o('176')},popHydrationState:function(){return!1}};var f=null,h=null,m=!1;return{enterHydrationState:function(e){return h=c(e.stateNode.containerInfo),f=e,m=!0},resetHydrationState:function(){h=f=null,m=!1},tryToClaimNextHydratableInstance:function(e){if(m){var t=h;if(t){if(!r(e,t)){if(t=u(t),!t||!r(e,t))return e.effectTag|=hs,m=!1,void(f=e);n(f,h)}e.stateNode=t,f=e,h=c(t)}else e.effectTag|=hs,m=!1,f=e}},prepareToHydrateHostInstance:function(e,t,n){return t=d(e.stateNode,e.type,e.memoizedProps,t,n,e),e.updateQueue=t,null!==t},prepareToHydrateHostTextInstance:function(e){return p(e.stateNode,e.memoizedProps,e)},popHydrationState:function(e){if(e!==f)return!1;if(!m)return i(e),m=!0,!1;var t=e.type;if(e.tag!==us||'head'!==t&&'body'!==t&&!s(t,e.memoizedProps))for(t=h;t;)n(e,t),t=u(t);return i(e),h=f?u(e.stateNode):null,!0}}}function Et(n){function i(){for(;null!==Q&&Q.current.pendingWorkPriority===Cs;){Q.isScheduled=!1;var e=Q.nextScheduledRoot;if(Q.nextScheduledRoot=null,Q===J)return J=Q=null,I=Cs,null;Q=e}e=Q;for(var t=null,n=Cs;null!==e;)e.current.pendingWorkPriority!==Cs&&(n===Cs||n>e.current.pendingWorkPriority)&&(n=e.current.pendingWorkPriority,t=e),e=e.nextScheduledRoot;null===t?(I=Cs,de=X=null):(I=n,ys(),Hs(),m(),X=vs(t.current,n),t!==de&&(le=0,de=t))}function s(t){ae=!0,u=null;var r=t.stateNode;if(r.current===t?o('177'):void 0,I!==T&&I!==As||le++,ks.current=null,!(t.effectTag>_s))a=t.firstEffect;else if(null!==t.lastEffect){t.lastEffect.nextEffect=t;var a=t.firstEffect}else a=t;for(V(),z=a;null!==z;){var e=!1,s=void 0;try{for(;null!==z;){var l=z.effectTag;if(l&$s&&n.resetTextContent(z.stateNode),l&Ps){var d=z.alternate;null!==d&&N(d)}switch(l&~(Rs|Ms|$s|Ps|_s)){case Ls:_(z),z.effectTag&=~Ls;break;case Ds:_(z),z.effectTag&=~Ls,$(z.alternate,z);break;case Ts:$(z.alternate,z);break;case Bs:ie=!0,L(z),ie=!1;}z=z.nextEffect}}catch(t){e=!0,s=t}e&&(null===z?o('178'):void 0,A(z,s),null!==z&&(z=z.nextEffect))}for(G(),r.current=t,z=a;null!==z;){r=!1,a=void 0;try{for(;null!==z;){var p=z.effectTag;if(p&(Ts|Rs)&&R(z.alternate,z),p&Ps&&M(z),p&Ms)switch(e=z,s=void 0,null!==te&&(s=te.get(e),te['delete'](e),null==s&&null!==e.alternate&&(e=e.alternate,s=te.get(e),te['delete'](e))),null==s?o('184'):void 0,e.tag){case js:e.stateNode.componentDidCatch(s.error,{componentStack:s.componentStack});break;case Os:null===re&&(re=s.error);break;default:o('157');}var g=z.nextEffect;z.nextEffect=null,z=g}}catch(e){r=!0,a=e}r&&(null===z?o('178'):void 0,A(z,a),null!==z&&(z=z.nextEffect))}ae=!1,'function'==typeof ws&&ws(t.stateNode),ne&&(ne.forEach(E),ne=null),i()}function l(t){for(;;){var n=S(t.alternate,t,I),r=t['return'],o=t.sibling,a=t;if(!(a.pendingWorkPriority!==Cs&&a.pendingWorkPriority>I)){for(var e=Ws(a),i=a.child;null!==i;)e=xs(e,i.pendingWorkPriority),i=i.sibling;a.pendingWorkPriority=e}if(null!==n)return n;if(null!==r&&(null===r.firstEffect&&(r.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==r.lastEffect&&(r.lastEffect.nextEffect=t.firstEffect),r.lastEffect=t.lastEffect),t.effectTag>_s&&(null===r.lastEffect?r.firstEffect=t:r.lastEffect.nextEffect=t,r.lastEffect=t)),null!==o)return o;if(null!==r)t=r;else{u=t;break}}return null}function c(e){var t=v(e.alternate,e,I);return null===t&&(t=l(e)),ks.current=null,t}function w(e){var t=F(e.alternate,e,I);return null===t&&(t=l(e)),ks.current=null,t}function f(e){h(Fs,e)}function e(){if(null!==te&&0t)){K=I;a:do{if(I<=As)for(;null!==X&&(X=c(X),!(null===X&&(null===u?o('179'):void 0,K=As,s(u),K=I,e(),I===Cs||I>t||I>As))););else if(null!==n)for(;null!==X&&!Y;)if(!(1t||IAs&&!Z&&(j(f),Z=!0),t=re,oe=Y=O=!1,de=P=te=re=null,le=0,null!==t)throw t}function A(t,n){var r=ks.current=null,o=!1,i=!1,s=null;if(t.tag===Os)r=t,x(t)&&(oe=!0);else for(var l=t['return'];null!==l&&null==r;){if(l.tag===js?'function'==typeof l.stateNode.componentDidCatch&&(o=!0,s=y(l),r=l,i=!0):l.tag===Os&&(r=l),x(l)){if(ie||null!=ne&&(ne.has(l)||null!==l.alternate&&ne.has(l.alternate)))return null;r=null,i=!1}l=l['return']}if(null!==r){null==P&&(P=new Set),P.add(r);var c='';l=t;do{a:switch(l.tag){case ee:case fe:case ge:case he:var u=l._debugOwner,h=l._debugSource,m=y(l),p=null;u&&(p=y(u)),u=h,m='\n in '+(m||'Unknown')+(u?' (at '+u.fileName.replace(/^.*[\\\/]/,'')+':'+u.lineNumber+')':p?' (created by '+p+')':'');break a;default:m='';}c+=m,l=l['return']}while(l);l=c,t=y(t),null==te&&(te=new Map),n={componentName:t,componentStack:l,error:n,errorBoundary:o?r.stateNode:null,errorBoundaryFound:o,errorBoundaryName:s,willRetry:i},te.set(r,n);try{console.error(n.error)}catch(e){console.error(e)}return ae?(null==ne&&(ne=new Set),ne.add(r)):E(r),r}return null===re&&(re=n),null}function x(e){return null!==P&&(P.has(e)||null!==e.alternate&&P.has(e.alternate))}function a(e,t){return d(e,t,!1)}function d(e,t){le>se&&(oe=!0,o('185')),!O&&t<=I&&(X=null);for(var n=!0;null!==e&&n;){if(n=!1,(e.pendingWorkPriority===Cs||e.pendingWorkPriority>t)&&(n=!0,e.pendingWorkPriority=t),null!==e.alternate&&(e.alternate.pendingWorkPriority===Cs||e.alternate.pendingWorkPriority>t)&&(n=!0,e.alternate.pendingWorkPriority=t),null===e['return'])if(e.tag===Os){var r=e.stateNode;t===Cs||r.isScheduled||(r.isScheduled=!0,J?J.nextScheduledRoot=r:Q=r,J=r),O||(t===T?W?h(T,null):h(As,null):t===As?q?void 0:o('186'):Z||(j(f),Z=!0))}else break;e=e['return']}}function p(e,t){var n=K;return n===Cs&&(n=!H||e.internalContextTag&Ss||t?Es:T),n===T&&(O||q)?As:n}function E(e){d(e,As,!0)}var b=Ct(n),k=At(n),C=b.popHostContainer,r=b.popHostContext,m=b.resetHostContainer,t=kt(n,b,k,a,p),v=t.beginWork,F=t.beginFailedWork,S=vt(n,b,k).completeWork;b=wt(n,A);var _=b.commitPlacement,L=b.commitDeletion,$=b.commitWork,R=b.commitLifeCycles,M=b.commitAttachRef,N=b.commitDetachRef,j=n.scheduleDeferredCallback,H=n.useSyncScheduling,V=n.prepareForCommit,G=n.resetAfterCommit,K=Cs,O=!1,Y=!1,q=!1,W=!1,X=null,I=Cs,z=null,u=null,Q=null,J=null,Z=!1,te=null,P=null,ne=null,re=null,oe=!1,ae=!1,ie=!1,se=1E3,le=0,de=null;return{scheduleUpdate:a,getPriorityContext:p,batchedUpdates:function(e,t){var n=q;q=!0;try{return e(t)}finally{q=n,O||q||h(As,null)}},unbatchedUpdates:function(e){var t=W,n=q;W=q,q=!1;try{return e()}finally{q=n,W=t}},flushSync:function(e){var t=q,n=K;q=!0,K=T;try{return e()}finally{q=t,K=n,O?o('187'):void 0,h(As,null)}},deferredUpdates:function(e){var t=K;K=Es;try{return e()}finally{K=t}}}}function Ft(){o('196')}function St(e){return e?(e=tr.get(e),'number'==typeof e.tag?Ft(e):e._processChildContext(e._context)):Bn}function _t(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lt(e,t){var n=_t(e);e=0;for(var r;n;){if(n.nodeType===Xs){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=_t(n)}}function Tt(){return!Qs&&Tn.canUseDOM&&(Qs='textContent'in document.documentElement?'textContent':'innerText'),Qs}function Dt(){o('211')}function Bt(){o('212')}function $t(e){if(null==e)return null;if(e.nodeType===nl)return e;var t=tr.get(e);return t?'number'==typeof t.tag?Dt(t):Bt(t):void('function'==typeof e.render?o('188'):o('213',Object.keys(e)))}function Rt(e){if(void 0!==e._hostParent)return e._hostParent;if('number'==typeof e.tag){do e=e['return'];while(e&&e.tag!==rl);if(e)return e}return null}function Mt(t,n){for(var r=0,o=t;o;o=Rt(o))r++;o=0;for(var a=n;a;a=Rt(a))o++;for(;0this.eventPool.length&&this.eventPool.push(e)}function Vt(e){e.eventPool=[],e.getPooled=Y,e.release=Ht}function Ut(e,t,n,r){return Wt.call(this,e,t,n,r)}function zt(e,t,n,r){return Wt.call(this,e,t,n,r)}function Gt(e,t){return'topKeyUp'===e?-1!==ul.indexOf(t.keyCode):'topKeyDown'===e?229!==t.keyCode:'topKeyPress'==e||'topMouseDown'==e||'topBlur'==e}function qt(e){return e=e.detail,'object'==typeof e&&'data'in e?e.data:null}function Kt(e,t){return'topCompositionEnd'===e?qt(t):'topKeyPress'===e?32===t.which?(hl=!0,ii):null:'topTextInput'===e?(e=t.data,e===ii&&hl?null:e):null}function Yt(e,t){if(li)return'topCompositionEnd'===e||!ci&&Gt(e,t)?(e=ll.getData(),ll.reset(),li=!1,e):null;switch(e){case'topPaste':return null;case'topKeyPress':if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=s.hasBooleanValue+s.hasNumericValue+s.hasOverloadedBooleanValue?void 0:o('50',e),i.hasOwnProperty(e)&&(s.attributeName=i[e]),a.hasOwnProperty(e)&&(s.attributeNamespace=a[e]),t.hasOwnProperty(e)&&(s.mutationMethod=t[e]),Un.properties[e]=s}}},Un={ID_ATTRIBUTE_NAME:'data-reactid',ROOT_ATTRIBUTE_NAME:'data-reactroot',ATTRIBUTE_NAME_START_CHAR:':A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD',ATTRIBUTE_NAME_CHAR:':A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040',properties:{},shouldSetAttribute:function(e,t){if(Un.isReservedProp(e)||('o'===e[0]||'O'===e[0])&&('n'===e[1]||'N'===e[1]))return!1;if(null===t)return!0;switch(typeof t){case'boolean':return Un.shouldAttributeAcceptBooleanValue(e);case'undefined':case'number':case'string':case'object':return!0;default:return!1;}},getPropertyInfo:function(e){return Un.properties.hasOwnProperty(e)?Un.properties[e]:null},shouldAttributeAcceptBooleanValue:function(e){if(Un.isReservedProp(e))return!0;var t=Un.getPropertyInfo(e);return t?t.hasBooleanValue||t.hasStringBooleanValue||t.hasOverloadedBooleanValue:(e=e.toLowerCase().slice(0,5),'data-'===e||'aria-'===e)},isReservedProp:function(e){return Hn.hasOwnProperty(e)},injection:Vn},zn=Un,A={IndeterminateComponent:0,FunctionalComponent:1,ClassComponent:2,HostRoot:3,HostPortal:4,HostComponent:5,HostText:6,CoroutineComponent:7,CoroutineHandlerPhase:8,YieldComponent:9,Fragment:10},E={ELEMENT_NODE:1,TEXT_NODE:3,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_FRAGMENT_NODE:11},F=A.HostComponent,Gn=A.HostText,qn=E.ELEMENT_NODE,Kn=E.COMMENT_NODE,Yn=zn.ID_ATTRIBUTE_NAME,Xn={hasCachedChildNodes:1},Qn=Math.random().toString(36).slice(2),Jn='__reactInternalInstance$'+Qn,Zn='__reactEventHandlers$'+Qn,er={getClosestInstanceFromNode:c,getInstanceFromNode:function(e){var t=e[Jn];return t?t.tag===F||t.tag===Gn?t:t._hostNode===e?t:null:(t=c(e),null!=t&&t._hostNode===e?t:null)},getNodeFromInstance:function(e){if(e.tag===F||e.tag===Gn)return e.stateNode;if(void 0===e._hostNode?o('33'):void 0,e._hostNode)return e._hostNode;for(var t=[];!e._hostNode;)t.push(e),e._hostParent?void 0:o('34'),e=e._hostParent;for(;t.length;e=t.pop())d(e,e._hostNode);return e._hostNode},precacheChildNodes:d,precacheNode:a,uncacheNode:function(e){var t=e._hostNode;t&&(delete t[Jn],e._hostNode=null)},precacheFiberNode:function(e,t){t[Jn]=e},getFiberCurrentPropsFromNode:function(e){return e[Zn]||null},updateFiberProps:function(e,t){e[Zn]=t}},tr={remove:function(e){e._reactInternalFiber=void 0},get:function(e){return e._reactInternalFiber},has:function(e){return void 0!==e._reactInternalFiber},set:function(e,t){e._reactInternalFiber=t}},nr={ReactCurrentOwner:Ln.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner},rr={NoEffect:0,PerformedWork:1,Placement:2,Update:4,PlacementAndUpdate:6,Deletion:8,ContentReset:16,Callback:32,Err:64,Ref:128},J=A.HostComponent,or=A.HostRoot,ar=A.HostPortal,ir=A.HostText,sr=rr.NoEffect,lr=rr.Placement,dr={isFiberMounted:function(e){return 2===k(e)},isMounted:function(e){return!!(e=tr.get(e))&&2===k(e)},findCurrentFiberUsingSlowPath:g,findCurrentHostFiber:function(e){if(e=g(e),!e)return null;for(var t=e;;){if(t.tag===J||t.tag===ir)return t;if(t.child)t.child['return']=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t['return']||t['return']===e)return null;t=t['return']}t.sibling['return']=t['return'],t=t.sibling}}return null},findCurrentHostFiberWithNoPortals:function(e){if(e=g(e),!e)return null;for(var t=e;;){if(t.tag===J||t.tag===ir)return t;if(t.child&&t.tag!==ar)t.child['return']=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t['return']||t['return']===e)return null;t=t['return']}t.sibling['return']=t['return'],t=t.sibling}}return null}},cr={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,injection:{injectErrorUtils:function(e){'function'==typeof e.invokeGuardedCallback?void 0:o('197'),h=e.invokeGuardedCallback}},invokeGuardedCallback:function(){h.apply(cr,arguments)},invokeGuardedCallbackAndCatchFirstError:function(){if(cr.invokeGuardedCallback.apply(this,arguments),cr.hasCaughtError()){var e=cr.clearCaughtError();cr._hasRethrowError||(cr._hasRethrowError=!0,cr._rethrowError=e)}},rethrowCaughtError:function(){return b.apply(cr,arguments)},hasCaughtError:function(){return cr._hasCaughtError},clearCaughtError:function(){if(cr._hasCaughtError){var e=cr._caughtError;return cr._caughtError=null,cr._hasCaughtError=!1,e}o('198')}},K=cr,ur={isEndish:function(e){return'topMouseUp'===e||'topTouchEnd'===e||'topTouchCancel'===e},isMoveish:function(e){return'topMouseMove'===e||'topTouchMove'===e},isStartish:function(e){return'topMouseDown'===e||'topTouchStart'===e},executeDirectDispatch:function(e){var t=e._dispatchListeners,n=e._dispatchInstances;return Array.isArray(t)?o('103'):void 0,e.currentTarget=t?ur.getNodeFromInstance(n):null,t=t?t(e):null,e.currentTarget=null,e._dispatchListeners=null,e._dispatchInstances=null,t},executeDispatchesInOrder:function(t,n){var r=t._dispatchListeners,o=t._dispatchInstances;if(Array.isArray(r))for(var a=0;axr.length&&xr.push(e)}}}},Cr=wr,Ar=null,Er={injection:{injectEventPluginOrder:Wn.injectEventPluginOrder,injectEventPluginsByName:Wn.injectEventPluginsByName},getListener:function(e,t){if('number'==typeof e.tag){var n=e.stateNode;if(!n)return null;var r=pr.getFiberCurrentPropsFromNode(n);if(!r)return null;if(n=r[t],j(t,e.type,r))return null}else{if(r=e._currentElement,'string'==typeof r||'number'==typeof r||!e._rootNodeID)return null;if(e=r.props,n=e[t],j(t,r.type,e))return null}return n&&'function'!=typeof n?o('231',t,typeof n):void 0,n},extractEvents:function(t,n,r,o){for(var a=Wn.plugins,i=0,s,e;ir||o.hasOverloadedBooleanValue&&!1===r?zr.deleteValueForProperty(t,n):o.mustUseProperty?t[o.propertyName]=r:(n=o.attributeName,(a=o.attributeNamespace)?t.setAttributeNS(a,n,''+r):o.hasBooleanValue||o.hasOverloadedBooleanValue&&!0===r?t.setAttribute(n,''):t.setAttribute(n,''+r))}else zr.setValueForAttribute(t,n,zn.shouldSetAttribute(n,r)?r:null)},setValueForAttribute:function(e,t,n){q(t)&&(null==n?e.removeAttribute(t):e.setAttribute(t,''+n))},deleteValueForAttribute:function(e,t){e.removeAttribute(t)},deleteValueForProperty:function(e,t){var n=zn.getPropertyInfo(t);n?(t=n.mutationMethod)?t(e,void 0):n.mustUseProperty?e[n.propertyName]=!n.hasBooleanValue&&'':e.removeAttribute(n.attributeName):e.removeAttribute(t)}},Gr=zr,qr=nr.ReactDebugCurrentFrame,Kr={current:null,phase:null,resetCurrentFiber:function(){qr.getCurrentStack=null,Kr.current=null,Kr.phase=null},setCurrentFiber:function(e,t){qr.getCurrentStack=_e,Kr.current=e,Kr.phase=t},getCurrentFiberOwnerName:function(){return null},getCurrentFiberStackAddendum:_e},Yr={getHostProps:function(e,t){var n=t.value,r=t.checked;return l({type:void 0,step:void 0,min:void 0,max:void 0},t,{defaultChecked:void 0,defaultValue:void 0,value:null==n?e._wrapperState.initialValue:n,checked:null==r?e._wrapperState.initialChecked:r})},initWrapperState:function(e,t){var n=t.defaultValue;e._wrapperState={initialChecked:null==t.checked?t.defaultChecked:t.checked,initialValue:null==t.value?n:t.value,controlled:'checkbox'===t.type||'radio'===t.type?null!=t.checked:null!=t.value}},updateWrapper:function(e,t){var n=t.checked;null!=n&&Gr.setValueForProperty(e,'checked',n||!1),n=t.value,null==n?(null==t.value&&null!=t.defaultValue&&e.defaultValue!==''+t.defaultValue&&(e.defaultValue=''+t.defaultValue),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)):0===n&&''===e.value?e.value='0':'number'===t.type?(t=parseFloat(e.value)||0,n!=t||n==t&&e.value!=n)&&(e.value=''+n):e.value!==''+n&&(e.value=''+n)},postMountWrapper:function(e,t){switch(t.type){case'submit':case'reset':break;case'color':case'date':case'datetime':case'datetime-local':case'month':case'time':case'week':e.value='',e.value=e.defaultValue;break;default:e.value=e.value;}t=e.name,''!==t&&(e.name=''),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!e.defaultChecked,''!==t&&(e.name=t)},restoreControlledState:function(t,n){Yr.updateWrapper(t,n);var r=n.name;if('radio'===n.type&&null!=r){for(n=t;n.parentNode;)n=n.parentNode;for(r=n.querySelectorAll('input[name='+JSON.stringify(''+r)+'][type="radio"]'),n=0;n=t.length?void 0:o('93'),t=t[0]),n=''+t),null==n&&(n=''),r=n),e._wrapperState={initialValue:''+r}},updateWrapper:function(e,t){var n=t.value;null!=n&&(n=''+n,n!==e.value&&(e.value=n),null==t.defaultValue&&(e.defaultValue=n)),null!=t.defaultValue&&(e.defaultValue=t.defaultValue)},postMountWrapper:function(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)},restoreControlledState:function(e,t){Zr.updateWrapper(e,t)}},eo=Zr,to=l({menuitem:!0},{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}),no={_getTrackerFromNode:function(e){return e._valueTracker},track:function(e){e._valueTracker||(e._valueTracker=ot(e))},updateValueIfChanged:function(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r='';return e&&(r=rt(e)?e.checked?'true':'false':e.value),e=r,e!==n&&(t.setValue(e),!0)},stopTracking:function(e){(e=e._valueTracker)&&e.stopTracking()}},ro=On.Namespaces,oo=function(t){return'undefined'!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(n,r,o,a){MSApp.execUnsafeLocalFunction(function(){return t(n,r,o,a)})}:t}(function(e,t){if(e.namespaceURI!==ro.svg||'innerHTML'in e)e.innerHTML=t;else for(so=so||document.createElement('div'),so.innerHTML=''+t+'',t=so.firstChild;t.firstChild;)e.appendChild(t.firstChild)}),ao=/["'&<>]/,io=E.TEXT_NODE,so;Tn.canUseDOM&&('textContent'in document.documentElement||(it=function(t,n){if(t.nodeType===io)t.nodeValue=n;else{if('boolean'==typeof n||'number'==typeof n)n=''+n;else{n=''+n;var r=ao.exec(n);if(r){var o='',a=0,i;for(i=r.index;i\x3C/script>',e=e.removeChild(e.firstChild)):e='string'==typeof t.is?n.createElement(e,{is:t.is}):n.createElement(e):e=n.createElementNS(r,e),e},createTextNode:function(e,t){return(t.nodeType===uo?t:t.ownerDocument).createTextNode(e)},setInitialProperties:function(t,n,r,o){var a=at(n,r);switch(n){case'iframe':case'object':Mr.trapBubbledEvent('topLoad','load',t);var e=r;break;case'video':case'audio':for(e in bo)bo.hasOwnProperty(e)&&Mr.trapBubbledEvent(e,bo[e],t);e=r;break;case'source':Mr.trapBubbledEvent('topError','error',t),e=r;break;case'img':case'image':Mr.trapBubbledEvent('topError','error',t),Mr.trapBubbledEvent('topLoad','load',t),e=r;break;case'form':Mr.trapBubbledEvent('topReset','reset',t),Mr.trapBubbledEvent('topSubmit','submit',t),e=r;break;case'details':Mr.trapBubbledEvent('topToggle','toggle',t),e=r;break;case'input':Xr.initWrapperState(t,r),e=Xr.getHostProps(t,r),Mr.trapBubbledEvent('topInvalid','invalid',t),st(o,'onChange');break;case'option':Qr.validateProps(t,r),e=Qr.getHostProps(t,r);break;case'select':Jr.initWrapperState(t,r),e=Jr.getHostProps(t,r),Mr.trapBubbledEvent('topInvalid','invalid',t),st(o,'onChange');break;case'textarea':eo.initWrapperState(t,r),e=eo.getHostProps(t,r),Mr.trapBubbledEvent('topInvalid','invalid',t),st(o,'onChange');break;default:e=r;}nt(n,e,co);var i=e,s;for(s in i)if(i.hasOwnProperty(s)){var l=i[s];'style'===s?Wr.setValueForStyles(t,l):'dangerouslySetInnerHTML'===s?(l=l?l.__html:void 0,null!=l&&oo(t,l)):'children'===s?'string'==typeof l?lo(t,l):'number'==typeof l&&lo(t,''+l):'suppressContentEditableWarning'!=s&&(fo.hasOwnProperty(s)?null!=l&&st(o,s):a?Gr.setValueForAttribute(t,s,l):null!=l&&Gr.setValueForProperty(t,s,l))}'input'===n?(no.track(t),Xr.postMountWrapper(t,r)):'textarea'===n?(no.track(t),eo.postMountWrapper(t,r)):'option'===n?Qr.postMountWrapper(t,r):'select'===n?Jr.postMountWrapper(t,r):'function'==typeof e.onClick&&(t.onclick=Dn)},diffProperties:function(t,n,r,o,a){var e=null;'input'===n?(r=Xr.getHostProps(t,r),o=Xr.getHostProps(t,o),e=[]):'option'===n?(r=Qr.getHostProps(t,r),o=Qr.getHostProps(t,o),e=[]):'select'===n?(r=Jr.getHostProps(t,r),o=Jr.getHostProps(t,o),e=[]):'textarea'===n?(r=eo.getHostProps(t,r),o=eo.getHostProps(t,o),e=[]):'function'!=typeof r.onClick&&'function'==typeof o.onClick&&(t.onclick=Dn),nt(n,o,co);var i,s;for(i in t=null,r)if(!o.hasOwnProperty(i)&&r.hasOwnProperty(i)&&null!=r[i])if('style'===i)for(s in n=r[i],n)n.hasOwnProperty(s)&&(t||(t={}),t[s]='');else'dangerouslySetInnerHTML'!=i&&'children'!=i&&'suppressContentEditableWarning'!=i&&(fo.hasOwnProperty(i)?e||(e=[]):(e=e||[]).push(i,null));for(i in o){var l=o[i];if(n=null==r?void 0:r[i],o.hasOwnProperty(i)&&l!==n&&(null!=l||null!=n))if('style'!==i)'dangerouslySetInnerHTML'===i?(l=l?l.__html:void 0,n=n?n.__html:void 0,null!=l&&n!==l&&(e=e||[]).push(i,''+l)):'children'===i?n===l||'string'!=typeof l&&'number'!=typeof l||(e=e||[]).push(i,''+l):'suppressContentEditableWarning'!=i&&(fo.hasOwnProperty(i)?(null!=l&&st(a,i),e||n===l||(e=[])):(e=e||[]).push(i,l));else if(n){for(s in n)!n.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(t||(t={}),t[s]='');for(s in l)l.hasOwnProperty(s)&&n[s]!==l[s]&&(t||(t={}),t[s]=l[s])}else t||(e||(e=[]),e.push(i,t)),t=l}return t&&(e=e||[]).push('style',t),e},updateProperties:function(t,n,r,o,a){at(r,o),o=at(r,a);for(var e=0;et&&(t=8),Eo=t=lt(c.priorityLevel,i);){r.first=c.next,null===r.first&&(r.last=null);var u;c.isReplace?(a=gt(c,o,a,e),d=!0):(u=gt(c,o,a,e))&&(a=d?l({},a,u):l(a,u),d=!1),c.isForced&&(s=!0),null===c.callback||c.isTopLevelUnmount&&null!==c.next||(t=null===t?[]:t,t.push(c.callback),n.effectTag|=Q),c=c.next}return r.callbackList=t,r.hasForceUpdate=s,null!==r.first||null!==t||s||(n.updateQueue=null),a},commitCallbacks:function(e,t,n){if(e=t.callbackList,null!==e)for(t.callbackList=null,t=0;tIo||(e.current=No[Io],No[Io]=null,Io--)},push:function(e,t){Io++,No[Io]=e.current,e.current=t},reset:function(){for(;-1e)?e:t}},de=ae.createHostRootFiber,ee=A.IndeterminateComponent,fe=A.FunctionalComponent,ge=A.ClassComponent,he=A.HostComponent,ie,ca,ua,pa;'function'==typeof Symbol&&Symbol['for']?(ua=Symbol['for']('react.coroutine'),pa=Symbol['for']('react.yield')):(ua=60104,pa=60105);var ga={createCoroutine:function(e,t,n){var r=3n&&(o=n,n=a,a=o),o=Lt(t,a),t=Lt(t,n),o&&t){var e=document.createRange();e.setStart(o.node,o.offset),r.removeAllRanges(),a>n?(r.addRange(e),r.extend(t.node,t.offset)):(e.setEnd(t.node,t.offset),r.addRange(e))}}}},Zs=E.ELEMENT_NODE,el={hasSelectionCapabilities:function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&('input'===t&&'text'===e.type||'textarea'===t||'true'===e.contentEditable)},getSelectionInformation:function(){var e=Pn();return{focusedElem:e,selectionRange:el.hasSelectionCapabilities(e)?el.getSelection(e):null}},restoreSelection:function(e){var t=Pn(),n=e.focusedElem;if(e=e.selectionRange,t!==n&&Rn(document.documentElement,n)){for(el.hasSelectionCapabilities(n)&&el.setSelection(n,e),t=[],e=n;e=e.parentNode;)e.nodeType===Zs&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(Mn(n),n=0;n=parseInt(fi.version(),10))}var fl=gl,hi=Tn.canUseDOM&&(!ci||pl&&8=pl),ii=' ',ji={beforeInput:{phasedRegistrationNames:{bubbled:'onBeforeInput',captured:'onBeforeInputCapture'},dependencies:['topCompositionEnd','topKeyPress','topTextInput','topPaste']},compositionEnd:{phasedRegistrationNames:{bubbled:'onCompositionEnd',captured:'onCompositionEndCapture'},dependencies:['topBlur','topCompositionEnd','topKeyDown','topKeyPress','topKeyUp','topMouseDown']},compositionStart:{phasedRegistrationNames:{bubbled:'onCompositionStart',captured:'onCompositionStartCapture'},dependencies:['topBlur','topCompositionStart','topKeyDown','topKeyPress','topKeyUp','topMouseDown']},compositionUpdate:{phasedRegistrationNames:{bubbled:'onCompositionUpdate',captured:'onCompositionUpdateCapture'},dependencies:['topBlur','topCompositionUpdate','topKeyDown','topKeyPress','topKeyUp','topMouseDown']}},hl=!1,li=!1,oi={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},si={change:{phasedRegistrationNames:{bubbled:'onChange',captured:'onChangeCapture'},dependencies:['topBlur','topChange','topClick','topFocus','topInput','topKeyDown','topKeyUp','topSelectionChange']}},ml=null,wi=null,xi=!1;Tn.canUseDOM&&(xi=W('input')&&(!document.documentMode||9=document.documentMode,Ri={select:{phasedRegistrationNames:{bubbled:'onSelect',captured:'onSelectCapture'},dependencies:['topBlur','topContextMenu','topFocus','topKeyDown','topKeyUp','topMouseDown','topMouseUp','topSelectionChange']}},vl=null,Ti=null,Zi=null,$i=!1,xl=Mr.isListeningToAllDependencies;Wt.augmentClass(gn,{animationName:null,elapsedTime:null,pseudoElement:null}),Wt.augmentClass(fn,{clipboardData:function(e){return'clipboardData'in e?e.clipboardData:window.clipboardData}}),ln.augmentClass(hn,{relatedTarget:null});var wl={Esc:'Escape',Spacebar:' ',Left:'ArrowLeft',Up:'ArrowUp',Right:'ArrowRight',Down:'ArrowDown',Del:'Delete',Win:'OS',Menu:'ContextMenu',Apps:'ContextMenu',Scroll:'ScrollLock',MozPrintableKey:'Unidentified'},Cl={8:'Backspace',9:'Tab',12:'Clear',13:'Enter',16:'Shift',17:'Control',18:'Alt',19:'Pause',20:'CapsLock',27:'Escape',32:' ',33:'PageUp',34:'PageDown',35:'End',36:'Home',37:'ArrowLeft',38:'ArrowUp',39:'ArrowRight',40:'ArrowDown',45:'Insert',46:'Delete',112:'F1',113:'F2',114:'F3',115:'F4',116:'F5',117:'F6',118:'F7',119:'F8',120:'F9',121:'F10',122:'F11',123:'F12',144:'NumLock',145:'ScrollLock',224:'Meta'};ln.augmentClass(bn,{key:function(e){if(e.key){var t=wl[e.key]||e.key;if('Unidentified'!==t)return t}return'keypress'===e.type?(e=mn(e),13===e?'Enter':_n(e)):'keydown'===e.type||'keyup'===e.type?Cl[e.keyCode]||'Unidentified':''},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:cn,charCode:function(e){return'keypress'===e.type?mn(e):0},keyCode:function(e){return'keydown'===e.type||'keyup'===e.type?e.keyCode:0},which:function(e){return'keypress'===e.type?mn(e):'keydown'===e.type||'keyup'===e.type?e.keyCode:0}}),un.augmentClass(yn,{dataTransfer:null}),ln.augmentClass(kn,{touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:cn}),Wt.augmentClass(vn,{propertyName:null,elapsedTime:null,pseudoElement:null}),un.augmentClass(xn,{deltaX:function(e){return'deltaX'in e?e.deltaX:'wheelDeltaX'in e?-e.wheelDeltaX:0},deltaY:function(e){return'deltaY'in e?e.deltaY:'wheelDeltaY'in e?-e.wheelDeltaY:'wheelDelta'in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null});var Al={},El={};['abort','animationEnd','animationIteration','animationStart','blur','cancel','canPlay','canPlayThrough','click','close','contextMenu','copy','cut','doubleClick','drag','dragEnd','dragEnter','dragExit','dragLeave','dragOver','dragStart','drop','durationChange','emptied','encrypted','ended','error','focus','input','invalid','keyDown','keyPress','keyUp','load','loadedData','loadedMetadata','loadStart','mouseDown','mouseMove','mouseOut','mouseOver','mouseUp','paste','pause','play','playing','progress','rateChange','reset','scroll','seeked','seeking','stalled','submit','suspend','timeUpdate','toggle','touchCancel','touchEnd','touchMove','touchStart','transitionEnd','volumeChange','waiting','wheel'].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n='on'+t;t='top'+t,n={phasedRegistrationNames:{bubbled:n,captured:n+'Capture'},dependencies:[t]},Al[e]=n,El[t]=n});Cr.setHandleTopLevel(Mr.handleTopLevel),Er.injection.injectEventPluginOrder(['ResponderEventPlugin','SimpleEventPlugin','TapEventPlugin','EnterLeaveEventPlugin','ChangeEventPlugin','SelectEventPlugin','BeforeInputEventPlugin']),pr.injection.injectComponentTree(er),Er.injection.injectEventPluginsByName({SimpleEventPlugin:{eventTypes:Al,extractEvents:function(t,n,r,a){var i=El[t];if(!i)return null;switch(t){case'topAbort':case'topCancel':case'topCanPlay':case'topCanPlayThrough':case'topClose':case'topDurationChange':case'topEmptied':case'topEncrypted':case'topEnded':case'topError':case'topInput':case'topInvalid':case'topLoad':case'topLoadedData':case'topLoadedMetadata':case'topLoadStart':case'topPause':case'topPlay':case'topPlaying':case'topProgress':case'topRateChange':case'topReset':case'topSeeked':case'topSeeking':case'topStalled':case'topSubmit':case'topSuspend':case'topTimeUpdate':case'topToggle':case'topVolumeChange':case'topWaiting':var s=Wt;break;case'topKeyPress':if(0===mn(r))return null;case'topKeyDown':case'topKeyUp':s=bn;break;case'topBlur':case'topFocus':s=hn;break;case'topClick':if(2===r.button)return null;case'topDoubleClick':case'topMouseDown':case'topMouseMove':case'topMouseUp':case'topMouseOut':case'topMouseOver':case'topContextMenu':s=un;break;case'topDrag':case'topDragEnd':case'topDragEnter':case'topDragExit':case'topDragLeave':case'topDragOver':case'topDragStart':case'topDrop':s=yn;break;case'topTouchCancel':case'topTouchEnd':case'topTouchMove':case'topTouchStart':s=kn;break;case'topAnimationEnd':case'topAnimationIteration':case'topAnimationStart':s=gn;break;case'topTransitionEnd':s=vn;break;case'topScroll':s=ln;break;case'topWheel':s=xn;break;case'topCopy':case'topCut':case'topPaste':s=fn;}return s?void 0:o('86',t),t=s.getPooled(i,n,r,a),il.accumulateTwoPhaseDispatches(t),t}},EnterLeaveEventPlugin:{eventTypes:Ki,extractEvents:function(t,n,r,o){if('topMouseOver'===t&&(r.relatedTarget||r.fromElement)||'topMouseOut'!==t&&'topMouseOver'!==t)return null;var a=o.window===o?o:(a=o.ownerDocument)?a.defaultView||a.parentWindow:window;if('topMouseOut'===t?(t=n,n=(n=r.relatedTarget||r.toElement)?er.getClosestInstanceFromNode(n):null):t=null,t===n)return null;var e=null==t?a:er.getNodeFromInstance(t);a=null==n?a:er.getNodeFromInstance(n);var i=un.getPooled(Ki.mouseLeave,t,r,o);return i.type='mouseleave',i.target=e,i.relatedTarget=a,r=un.getPooled(Ki.mouseEnter,n,r,o),r.type='mouseenter',r.target=a,r.relatedTarget=e,il.accumulateEnterLeaveDispatches(i,r,t,n),[i,r]}},ChangeEventPlugin:bl,SelectEventPlugin:{eventTypes:Ri,extractEvents:function(t,n,r,o){var a=o.window===o?o.document:o.nodeType===kl?o:o.ownerDocument;if(!a||!xl('onSelect',a))return null;switch(a=n?er.getNodeFromInstance(n):window,t){case'topFocus':(Xt(a)||'true'===a.contentEditable)&&(vl=a,Ti=n,Zi=null);break;case'topBlur':Zi=Ti=vl=null;break;case'topMouseDown':$i=!0;break;case'topContextMenu':case'topMouseUp':return $i=!1,pn(r,o);case'topSelectionChange':if(Qi)break;case'topKeyDown':case'topKeyUp':return pn(r,o);}return null}},BeforeInputEventPlugin:{eventTypes:ji,extractEvents:function(t,n,r,o){var a;if(ci)b:{switch(t){case'topCompositionStart':var e=ji.compositionStart;break b;case'topCompositionEnd':e=ji.compositionEnd;break b;case'topCompositionUpdate':e=ji.compositionUpdate;break b;}e=void 0}else li?Gt(t,r)&&(e=ji.compositionEnd):'topKeyDown'===t&&229===r.keyCode&&(e=ji.compositionStart);return e?(hi&&(li||e!==ji.compositionStart?e===ji.compositionEnd&&li&&(a=ll.getData()):li=ll.initialize(o)),e=Ut.getPooled(e,n,r,o),a?e.data=a:(a=qt(r),null!==a&&(e.data=a)),il.accumulateTwoPhaseDispatches(e),a=e):a=null,(t=fl?Kt(t,r):Yt(t,r))?(n=zt.getPooled(ji.beforeInput,n,r,o),n.data=t,il.accumulateTwoPhaseDispatches(n)):n=null,[a,n]}}});var Fl=zn.injection.MUST_USE_PROPERTY,Sl=zn.injection.HAS_BOOLEAN_VALUE,_l=zn.injection.HAS_NUMERIC_VALUE,Ll=zn.injection.HAS_POSITIVE_NUMERIC_VALUE,Tl=zn.injection.HAS_STRING_BOOLEAN_VALUE,Dl={Properties:{allowFullScreen:Sl,allowTransparency:Tl,async:Sl,autoPlay:Sl,capture:Sl,checked:Fl|Sl,cols:Ll,contentEditable:Tl,controls:Sl,default:Sl,defer:Sl,disabled:Sl,download:zn.injection.HAS_OVERLOADED_BOOLEAN_VALUE,draggable:Tl,formNoValidate:Sl,hidden:Sl,loop:Sl,multiple:Fl|Sl,muted:Fl|Sl,noValidate:Sl,open:Sl,playsInline:Sl,readOnly:Sl,required:Sl,reversed:Sl,rows:Ll,rowSpan:_l,scoped:Sl,seamless:Sl,selected:Fl|Sl,size:Ll,start:_l,span:Ll,spellCheck:Tl,style:0,itemScope:Sl,acceptCharset:0,className:0,htmlFor:0,httpEquiv:0,value:Tl},DOMAttributeNames:{acceptCharset:'accept-charset',className:'class',htmlFor:'for',httpEquiv:'http-equiv'},DOMMutationMethods:{value:function(e,t){return null==t?e.removeAttribute('value'):void('number'!==e.type||!1===e.hasAttribute('value')?e.setAttribute('value',''+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute('value',''+t))}}},Bl=zn.injection.HAS_STRING_BOOLEAN_VALUE,$l={xlink:'http://www.w3.org/1999/xlink',xml:'http://www.w3.org/XML/1998/namespace'},Rl={Properties:{autoReverse:Bl,externalResourcesRequired:Bl,preserveAlpha:Bl},DOMAttributeNames:{autoReverse:'autoReverse',externalResourcesRequired:'externalResourcesRequired',preserveAlpha:'preserveAlpha'},DOMAttributeNamespaces:{xlinkActuate:$l.xlink,xlinkArcrole:$l.xlink,xlinkHref:$l.xlink,xlinkRole:$l.xlink,xlinkShow:$l.xlink,xlinkTitle:$l.xlink,xlinkType:$l.xlink,xmlBase:$l.xml,xmlLang:$l.xml,xmlSpace:$l.xml}},Ml=/[\-\:]([a-z])/g;['accent-height','alignment-baseline','arabic-form','baseline-shift','cap-height','clip-path','clip-rule','color-interpolation','color-interpolation-filters','color-profile','color-rendering','dominant-baseline','enable-background','fill-opacity','fill-rule','flood-color','flood-opacity','font-family','font-size','font-size-adjust','font-stretch','font-style','font-variant','font-weight','glyph-name','glyph-orientation-horizontal','glyph-orientation-vertical','horiz-adv-x','horiz-origin-x','image-rendering','letter-spacing','lighting-color','marker-end','marker-mid','marker-start','overline-position','overline-thickness','paint-order','panose-1','pointer-events','rendering-intent','shape-rendering','stop-color','stop-opacity','strikethrough-position','strikethrough-thickness','stroke-dasharray','stroke-dashoffset','stroke-linecap','stroke-linejoin','stroke-miterlimit','stroke-opacity','stroke-width','text-anchor','text-decoration','text-rendering','underline-position','underline-thickness','unicode-bidi','unicode-range','units-per-em','v-alphabetic','v-hanging','v-ideographic','v-mathematical','vector-effect','vert-adv-y','vert-origin-x','vert-origin-y','word-spacing','writing-mode','x-height','xlink:actuate','xlink:arcrole','xlink:href','xlink:role','xlink:show','xlink:title','xlink:type','xml:base','xmlns:xlink','xml:lang','xml:space'].forEach(function(e){var t=e.replace(Ml,wn);Rl.Properties[t]=0,Rl.DOMAttributeNames[t]=e}),zn.injection.injectDOMPropertyConfig(Dl),zn.injection.injectDOMPropertyConfig(Rl);var Pl=zi.injectInternals,Ol=E.ELEMENT_NODE,Nl=E.TEXT_NODE,Il=E.COMMENT_NODE,jl=E.DOCUMENT_NODE,Wl=E.DOCUMENT_FRAGMENT_NODE,Hl=zn.ROOT_ATTRIBUTE_NAME,Vl=On.getChildNamespace,Ul=yo.createElement,zl=yo.createTextNode,Gl=yo.setInitialProperties,ql=yo.diffProperties,Kl=yo.updateProperties,Yl=yo.diffHydratedProperties,Xl=yo.diffHydratedText,Ql=yo.warnForDeletedHydratableElement,Jl=yo.warnForDeletedHydratableText,Zl=yo.warnForInsertedHydratedElement,ed=yo.warnForInsertedHydratedText,td=er.precacheFiberNode,nd=er.updateFiberProps;mr.injection.injectFiberControlledHostComponent(yo),$t._injectFiber(function(e){return ad.findHostInstance(e)});var rd=null,od=null,ad=function(e){var t=e.getPublicInstance;e=Et(e);var n=e.scheduleUpdate,r=e.getPriorityContext;return{createContainer:function(e){var t=de();return e={current:t,containerInfo:e,isScheduled:!1,nextScheduledRoot:null,context:null,pendingContext:null},t.stateNode=e},updateContainer:function(t,o,i,s){var l=o.current;i=St(i),null===o.context?o.context=i:o.pendingContext=i,o=s,s=r(l,To.enableAsyncSubtreeAPI&&null!=t&&null!=t.type&&null!=t.type.prototype&&!0===t.type.prototype.unstable_isAsyncReactComponent),t={element:t},Vs(l,t,void 0===o?null:o,s),n(l,s)},batchedUpdates:e.batchedUpdates,unbatchedUpdates:e.unbatchedUpdates,deferredUpdates:e.deferredUpdates,flushSync:e.flushSync,getPublicRootInstance:function(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case qs:return t(e.child.stateNode);default:return e.child.stateNode;}},findHostInstance:function(e){return e=Ks(e),null===e?null:e.stateNode},findHostInstanceWithNoPortals:function(e){return e=Ys(e),null===e?null:e.stateNode}}}({getRootHostContext:function(e){if(e.nodeType===jl)e=(e=e.documentElement)?e.namespaceURI:Vl(null,'');else{var t=e.nodeType===Il?e.parentNode:e;e=t.namespaceURI||null,t=t.tagName,e=Vl(e,t)}return e},getChildHostContext:function(e,t){return Vl(e,t)},getPublicInstance:function(e){return e},prepareForCommit:function(){rd=Mr.isEnabled(),od=tl.getSelectionInformation(),Mr.setEnabled(!1)},resetAfterCommit:function(){tl.restoreSelection(od),od=null,Mr.setEnabled(rd),rd=null},createInstance:function(t,n,r,o,a){return t=Ul(t,n,r,o),td(a,t),nd(t,n),t},appendInitialChild:function(e,t){e.appendChild(t)},finalizeInitialChildren:function(e,t,n,r){Gl(e,t,n,r);a:'button'===t||'input'===t||'select'===t||'textarea'===t?e=!!n.autoFocus:void 0,e=!1;return e},prepareUpdate:function(t,n,r,o,a){return ql(t,n,r,o,a)},commitMount:function(e){e.focus()},commitUpdate:function(t,n,r,o,a){nd(t,a),Kl(t,n,r,o,a)},shouldSetTextContent:function(e,t){return'textarea'===e||'string'==typeof t.children||'number'==typeof t.children||'object'==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&'string'==typeof t.dangerouslySetInnerHTML.__html},resetTextContent:function(e){e.textContent=''},shouldDeprioritizeSubtree:function(e,t){return!!t.hidden},createTextInstance:function(e,t,n,r){return e=zl(e,t),td(r,e),e},commitTextUpdate:function(e,t,n){e.nodeValue=n},appendChild:function(e,t){e.appendChild(t)},appendChildToContainer:function(e,t){e.nodeType===Il?e.parentNode.insertBefore(t,e):e.appendChild(t)},insertBefore:function(e,t,n){e.insertBefore(t,n)},insertInContainerBefore:function(e,t,n){e.nodeType===Il?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},removeChildFromContainer:function(e,t){e.nodeType===Il?e.parentNode.removeChild(t):e.removeChild(t)},canHydrateInstance:function(e,t){return e.nodeType===Ol&&t===e.nodeName.toLowerCase()},canHydrateTextInstance:function(e,t){return''!==t&&e.nodeType===Nl},getNextHydratableSibling:function(e){for(e=e.nextSibling;e&&e.nodeType!==Ol&&e.nodeType!==Nl;)e=e.nextSibling;return e},getFirstHydratableChild:function(e){for(e=e.firstChild;e&&e.nodeType!==Ol&&e.nodeType!==Nl;)e=e.nextSibling;return e},hydrateInstance:function(t,n,r,o,a,e){return td(e,t),nd(t,r),Yl(t,n,r,a,o)},hydrateTextInstance:function(e,t,n){return td(n,e),Xl(e,t)},didNotHydrateInstance:function(e,t){1===t.nodeType?Ql(e,t):Jl(e,t)},didNotFindHydratableInstance:function(e,t,n){Zl(e,t,n)},didNotFindHydratableTextInstance:function(e,t){ed(e,t)},scheduleDeferredCallback:Lo.rIC,useSyncScheduling:!0});yr.injection.injectFiberBatchedUpdates(ad.batchedUpdates);var id={createPortal:Fn,hydrate:function(e,t,n){return En(null,e,t,!0,n)},render:function(e,t,n){return En(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){return null!=e&&tr.has(e)?void 0:o('38'),En(e,t,n,!1,r)},unmountComponentAtNode:function(e){return Cn(e)?void 0:o('40'),!!e._reactRootContainer&&(ad.unbatchedUpdates(function(){En(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},findDOMNode:$t,unstable_createPortal:Fn,unstable_batchedUpdates:yr.batchedUpdates,unstable_deferredUpdates:ad.deferredUpdates,flushSync:ad.flushSync,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{EventPluginHub:Er,EventPluginRegistry:Wn,EventPropagators:il,ReactControlledComponent:mr,ReactDOMComponentTree:er,ReactDOMEventListener:Cr}};Pl({findFiberByHostInstance:er.getClosestInstanceFromNode,findHostInstanceByFiber:ad.findHostInstance,bundleType:0,version:'16.0.0',rendererPackageName:'react-dom'}),e.exports=id},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){'use strict';var r=n(2);e.exports={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,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):(!1,{remove:r})},registerDefault:function(){}}},function(e){'use strict';function t(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}var n=Object.prototype.hasOwnProperty;e.exports=function(e,r){if(t(e,r))return!0;if('object'!=typeof e||null===e||'object'!=typeof r||null===r)return!1;var o=Object.keys(e),a=Object.keys(r);if(o.length!==a.length)return!1;for(var s=0;s=arguments.length?0:arguments.length-1)&&(n+=arguments.length<=r+1?void 0:arguments[r+1]);var o=n.split('\n'),a=null;return o.forEach(function(e){var t=e.match(/^(\s+)\S+/);if(t){var n=t[1].length;a=a?Math.min(a,n):n}}),null!==a&&(n=o.map(function(e){return' '===e[0]?e.slice(a):e}).join('\n')),n=n.trim(),n.replace(/\\n/g,'\n')}},function(e,t,n){'use strict';function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return t&&('object'==typeof t||'function'==typeof t)?t:e}function i(e,t){if('function'!=typeof t&&null!==t)throw new TypeError('Super expression must either be null or a function, not '+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0,r;n/g,'>').replace(/"/g,'"').replace(/'/g,''')}function s(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/g,function(e,t){return t=t.toLowerCase(),'colon'===t?':':'#'===t.charAt(0)?'x'===t.charAt(1)?r(parseInt(t.substring(2),16)):r(+t.substring(1)):''})}function l(e,t){return e=e.source,t=t||'',function n(r,o){return r?(o=o.source||o,o=o.replace(/(^|[^\[])\^/g,'$1'),e=e.replace(r,o),n):new RegExp(e,t)}}function d(){}function c(e){for(var t=1,n,r;to.length)return p();if(delete n.highlight,!d)return p();for(;sAn error occured:

'+i(t.message+'',!0)+'
';throw t}}var p={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:d,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:d,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:d,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};p.bullet=/(?:[*+-]|\d+\.)/,p.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,p.item=l(p.item,'gm')(/bull/g,p.bullet)(),p.list=l(p.list)(/bull/g,p.bullet)('hr','\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))')('def','\\n+(?='+p.def.source+')')(),p.blockquote=l(p.blockquote)('def',p.def)(),p._tag='(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b',p.html=l(p.html)('comment',//)('closed',/<(tag)[\s\S]+?<\/\1>/)('closing',/])*?>/)(/tag/g,p._tag)(),p.paragraph=l(p.paragraph)('hr',p.hr)('heading',p.heading)('lheading',p.lheading)('blockquote',p.blockquote)('tag','<'+p._tag)('def',p.def)(),p.normal=c({},p),p.gfm=c({},p.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),p.gfm.paragraph=l(p.paragraph)('(?!','(?!'+p.gfm.fences.source.replace('\\1','\\2')+'|'+p.list.source.replace('\\1','\\3')+'|')(),p.tables=c({},p.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),t.rules=p,t.lex=function(e,n){var r=new t(n);return r.lex(e)},t.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,'\n').replace(/\t/g,' ').replace(/\u00a0/g,' ').replace(/\u2424/g,'\n'),this.token(e,!0)},t.prototype.token=function(e,t,n){for(var e=e.replace(/^ +$/gm,''),r,o,a,s,d,c,u,g,i;e;){if((a=this.rules.newline.exec(e))&&(e=e.substring(a[0].length),1 ?/gm,''),this.token(a,t,!0),this.tokens.push({type:'blockquote_end'});continue}if(a=this.rules.list.exec(e)){for(e=e.substring(a[0].length),s=a[2],this.tokens.push({type:'list_start',ordered:1])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:d,tag:/^|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:d,text:/^[\s\S]+?(?=[\\?(?:\s+['"]([\s\S]*?)['"])?\s*/,g.link=l(g.link)('inside',g._inside)('href',g._href)(),g.reflink=l(g.reflink)('inside',g._inside)(),g.normal=c({},g),g.pedantic=c({},g.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),g.gfm=c({},g.normal,{escape:l(g.escape)('])','~|])')(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:l(g.text)(']|','~]|')('|','|https?://|')()}),g.breaks=c({},g.gfm,{br:l(g.br)('{2,}','*')(),text:l(g.gfm.text)('{2,}','*')()}),n.rules=g,n.output=function(e,t,r){var o=new n(t,r);return o.output(e)},n.prototype.output=function(e){for(var t='',n,r,o,a;e;){if(a=this.rules.escape.exec(e)){e=e.substring(a[0].length),t+=a[1];continue}if(a=this.rules.autolink.exec(e)){e=e.substring(a[0].length),'@'===a[2]?(r=':'===a[1].charAt(6)?this.mangle(a[1].substring(7)):this.mangle(a[1]),o=this.mangle('mailto:')+r):(r=i(a[1]),o=r),t+=this.renderer.link(o,null,r);continue}if(!this.inLink&&(a=this.rules.url.exec(e))){e=e.substring(a[0].length),r=i(a[1]),o=r,t+=this.renderer.link(o,null,r);continue}if(a=this.rules.tag.exec(e)){!this.inLink&&/^/i.test(a[0])&&(this.inLink=!1),e=e.substring(a[0].length),t+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):i(a[0]):a[0];continue}if(a=this.rules.link.exec(e)){e=e.substring(a[0].length),this.inLink=!0,t+=this.outputLink(a,{href:a[2],title:a[3]}),this.inLink=!1;continue}if((a=this.rules.reflink.exec(e))||(a=this.rules.nolink.exec(e))){if(e=e.substring(a[0].length),n=(a[2]||a[1]).replace(/\s+/g,' '),n=this.links[n.toLowerCase()],!n||!n.href){t+=a[0].charAt(0),e=a[0].substring(1)+e;continue}this.inLink=!0,t+=this.outputLink(a,n),this.inLink=!1;continue}if(a=this.rules.strong.exec(e)){e=e.substring(a[0].length),t+=this.renderer.strong(this.output(a[2]||a[1]));continue}if(a=this.rules.em.exec(e)){e=e.substring(a[0].length),t+=this.renderer.em(this.output(a[2]||a[1]));continue}if(a=this.rules.code.exec(e)){e=e.substring(a[0].length),t+=this.renderer.codespan(i(a[2],!0));continue}if(a=this.rules.br.exec(e)){e=e.substring(a[0].length),t+=this.renderer.br();continue}if(a=this.rules.del.exec(e)){e=e.substring(a[0].length),t+=this.renderer.del(this.output(a[1]));continue}if(a=this.rules.text.exec(e)){e=e.substring(a[0].length),t+=this.renderer.text(i(this.smartypants(a[0])));continue}if(e)throw new Error('Infinite loop on byte: '+e.charCodeAt(0))}return t},n.prototype.outputLink=function(e,t){var n=i(t.href),r=t.title?i(t.title):null;return'!'===e[0].charAt(0)?this.renderer.image(n,r,i(e[1])):this.renderer.link(n,r,this.output(e[1]))},n.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,'\u2014').replace(/--/g,'\u2013').replace(/(^|[-\u2014/(\[{"\s])'/g,'$1\u2018').replace(/'/g,'\u2019').replace(/(^|[-\u2014/(\[{\u2018\s])"/g,'$1\u201C').replace(/"/g,'\u201D').replace(/\.{3}/g,'\u2026'):e},n.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t='',n=e.length,r=0,o;r'+(n?e:i(e,!0))+'\n\n':'
'+(n?e:i(e,!0))+'\n
'},o.prototype.blockquote=function(e){return'
\n'+e+'
\n'},o.prototype.html=function(e){return e},o.prototype.heading=function(e,t,n){return''+e+'\n'},o.prototype.hr=function(){return this.options.xhtml?'
\n':'
\n'},o.prototype.list=function(e,t){var n=t?'ol':'ul';return'<'+n+'>\n'+e+'\n'},o.prototype.listitem=function(e){return'
  • '+e+'
  • \n'},o.prototype.paragraph=function(e){return'

    '+e+'

    \n'},o.prototype.table=function(e,t){return'\n\n'+e+'\n\n'+t+'\n
    \n'},o.prototype.tablerow=function(e){return'\n'+e+'\n'},o.prototype.tablecell=function(e,t){var n=t.header?'th':'td',r=t.align?'<'+n+' style="text-align:'+t.align+'">':'<'+n+'>';return r+e+'\n'},o.prototype.strong=function(e){return''+e+''},o.prototype.em=function(e){return''+e+''},o.prototype.codespan=function(e){return''+e+''},o.prototype.br=function(){return this.options.xhtml?'
    ':'
    '},o.prototype.del=function(e){return''+e+''},o.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(s(e)).replace(/[^\w:]/g,'').toLowerCase()}catch(t){return''}if(0===r.indexOf('javascript:')||0===r.indexOf('vbscript:'))return''}var o='
    ',o},o.prototype.image=function(e,t,n){var r=''+n+'':'>',r},o.prototype.text=function(e){return e},a.parse=function(e,t,n){var r=new a(t,n);return r.parse(e)},a.prototype.parse=function(e){this.inline=new n(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var t='';this.next();)t+=this.tok();return t},a.prototype.next=function(){return this.token=this.tokens.pop()},a.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},a.prototype.parseText=function(){for(var e=this.token.text;'text'===this.peek().type;)e+='\n'+this.next().text;return this.inline.output(e)},a.prototype.tok=function(){switch(this.token.type){case'space':return'';case'hr':return this.renderer.hr();case'heading':return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case'code':return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case'table':{var e='',t='',n,r,o,a,i;for(o='',n=0;n ',l,' ',d.default.createElement('br',null),' '):'',s&&0n)return!1;var r=t.length-1;return n==r?t.pop():J.call(t,n,1),!0},a.prototype.get=function(e){var t=this.__data__,n=s(t,e);return 0>n?void 0:t[n][1]},a.prototype.has=function(e){return-1r?n.push([e,t]):n[r][1]=t,this},i.prototype.clear=function(){this.__data__={hash:new o,map:new(Z||a),string:new o}},i.prototype['delete']=function(e){return p(this,e)['delete'](e)},i.prototype.get=function(e){return p(this,e).get(e)},i.prototype.has=function(e){return p(this,e).has(e)},i.prototype.set=function(e,t){return p(this,e).set(e,t),this};var re=k(function(e){e=E(e);var t=[];return R.test(e)&&t.push(''),e.replace(M,function(e,n,r,o){t.push(r?o.replace(O,'$1'):n||e)}),t});k.Cache=i;var oe=Array.isArray;e.exports=function(e,t,n){var r=null==e?void 0:l(e,t);return r===void 0?n:r}}).call(t,n(4))},function(){ace.define('ace/split',['require','exports','module','ace/lib/oop','ace/lib/lang','ace/lib/event_emitter','ace/editor','ace/virtual_renderer','ace/edit_session'],function(e,t){'use strict';function n(e,t){this.$u=e,this.$doc=t}var r=e('./lib/oop'),o=e('./lib/lang'),a=e('./lib/event_emitter').EventEmitter,i=e('./editor').Editor,s=e('./virtual_renderer').VirtualRenderer,l=e('./edit_session').EditSession,d=function(e,t,n){this.BELOW=1,this.BESIDE=0,this.$container=e,this.$theme=t,this.$splits=0,this.$editorCSS='',this.$editors=[],this.$orientation=this.BESIDE,this.setSplits(n||1),this.$cEditor=this.$editors[0],this.on('focus',function(e){this.$cEditor=e}.bind(this))};(function(){r.implement(this,a),this.$createEditor=function(){var e=document.createElement('div');e.className=this.$editorCSS,e.style.cssText='position: absolute; top:0px; bottom:0px',this.$container.appendChild(e);var t=new i(new s(e,this.$theme));return t.on('focus',function(){this._emit('focus',t)}.bind(this)),this.$editors.push(t),t.setFontSize(this.$fontSize),t},this.setSplits=function(e){var t;if(1>e)throw'The number of splits have to be > 0!';if(e!=this.$splits){if(e>this.$splits){for(;this.$splitse;)t=this.$editors[this.$splits-1],this.$container.removeChild(t.container),this.$splits--;this.resize()}},this.getSplits=function(){return this.$splits},this.getEditor=function(e){return this.$editors[e]},this.getCurrentEditor=function(){return this.$cEditor},this.focus=function(){this.$cEditor.focus()},this.blur=function(){this.$cEditor.blur()},this.setTheme=function(e){this.$editors.forEach(function(t){t.setTheme(e)})},this.setKeyboardHandler=function(e){this.$editors.forEach(function(t){t.setKeyboardHandler(e)})},this.forEach=function(e,t){this.$editors.forEach(e,t)},this.$fontSize='',this.setFontSize=function(e){this.$fontSize=e,this.forEach(function(t){t.setFontSize(e)})},this.$cloneSession=function(e){var t=new l(e.getDocument(),e.getMode()),r=e.getUndoManager();if(r){var a=new n(r,t);t.setUndoManager(a)}return t.$informUndoManager=o.delayedCall(function(){t.$deltas=[]}),t.setTabSize(e.getTabSize()),t.setUseSoftTabs(e.getUseSoftTabs()),t.setOverwrite(e.getOverwrite()),t.setBreakpoints(e.getBreakpoints()),t.setUseWrapMode(e.getUseWrapMode()),t.setUseWorker(e.getUseWorker()),t.setWrapLimitRange(e.$wrapLimitRange.min,e.$wrapLimitRange.max),t.$foldData=e.$cloneFoldData(),t},this.setSession=function(e,t){var n=null==t?this.$cEditor:this.$editors[t];var r=this.$editors.some(function(t){return t.session===e});return r&&(e=this.$cloneSession(e)),n.setSession(e),e},this.getOrientation=function(){return this.$orientation},this.setOrientation=function(e){this.$orientation==e||(this.$orientation=e,this.resize())},this.resize=function(){var e=this.$container.clientWidth,t=this.$container.clientHeight,n;if(this.$orientation==this.BESIDE)for(var r=e/this.$splits,o=0;on[1])&&(n.shift(),n.shift())),[{type:'meta.tag.punctuation.'+(1==r?'':'end-')+'tag-open.xml',value:e.slice(0,r)},{type:'meta.tag.tag-name.xml',value:e.substr(r)}]},regex:'',onMatch:function(e,t,n){return t==n[0]&&n.shift(),2==e.length&&(n[0]==this.nextState&&n[1]--,(!n[1]||0>n[1])&&n.splice(0,2)),this.next=n[0]||'start',[{type:this.token,value:e}]},nextState:'jsx'},n,r('jsxAttributes'),{token:'entity.other.attribute-name.xml',regex:e},{token:'keyword.operator.attribute-equals.xml',regex:'='},{token:'text.tag-whitespace.xml',regex:'\\s+'},{token:'string.attribute-value.xml',regex:'\'',stateName:'jsx_attr_q',push:[{token:'string.attribute-value.xml',regex:'\'',next:'pop'},{include:'reference'},{defaultToken:'string.attribute-value.xml'}]},{token:'string.attribute-value.xml',regex:'"',stateName:'jsx_attr_qq',push:[{token:'string.attribute-value.xml',regex:'"',next:'pop'},{include:'reference'},{defaultToken:'string.attribute-value.xml'}]},t],this.$rules.reference=[{token:'constant.language.escape.reference.xml',regex:'(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)'}]}function r(e){return[{token:'comment',regex:/\/\*/,next:[a.getTagRule(),{token:'comment',regex:'\\*\\/',next:e||'pop'},{defaultToken:'comment',caseInsensitive:!0}]},{token:'comment',regex:'\\/\\/',next:[a.getTagRule(),{token:'comment',regex:'$|^',next:e||'pop'},{defaultToken:'comment',caseInsensitive:!0}]}]}var o=e('../lib/oop'),a=e('./doc_comment_highlight_rules').DocCommentHighlightRules,i=e('./text_highlight_rules').TextHighlightRules,s='[a-zA-Z\\$_\xA1-\uFFFF][a-zA-Z\\d\\$_\xA1-\uFFFF]*',l=function(e){var t=this.createKeywordMapper({"variable.language":'Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|Namespace|QName|XML|XMLList|ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|JSON|Math|this|arguments|prototype|window|document',keyword:'const|yield|import|get|set|async|await|break|case|catch|continue|default|delete|do|else|finally|for|function|if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|__parent__|__count__|escape|unescape|with|__proto__|class|enum|extends|super|export|implements|private|public|interface|package|protected|static',"storage.type":'const|let|var|function',"constant.language":'null|Infinity|NaN|undefined',"support.function":'alert',"constant.language.boolean":'true|false'},'identifier'),o='\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|u{[0-9a-fA-F]{1,6}}|[0-2][0-7]{0,2}|3[0-7][0-7]?|[4-7][0-7]?|.)';this.$rules={no_regex:[a.getStartRule('doc-start'),r('no_regex'),{token:'string',regex:'\'(?=.)',next:'qstring'},{token:'string',regex:'"(?=.)',next:'qqstring'},{token:'constant.numeric',regex:/0(?:[xX][0-9a-fA-F]+|[bB][01]+)\b/},{token:'constant.numeric',regex:/[+-]?\d[\d_]*(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?\b/},{token:['storage.type','punctuation.operator','support.function','punctuation.operator','entity.name.function','text','keyword.operator'],regex:'('+s+')(\\.)(prototype)(\\.)('+s+')(\\s*)(=)',next:'function_arguments'},{token:['storage.type','punctuation.operator','entity.name.function','text','keyword.operator','text','storage.type','text','paren.lparen'],regex:'('+s+')(\\.)('+s+')(\\s*)(=)(\\s*)(function)(\\s*)(\\()',next:'function_arguments'},{token:['entity.name.function','text','keyword.operator','text','storage.type','text','paren.lparen'],regex:'('+s+')(\\s*)(=)(\\s*)(function)(\\s*)(\\()',next:'function_arguments'},{token:['storage.type','punctuation.operator','entity.name.function','text','keyword.operator','text','storage.type','text','entity.name.function','text','paren.lparen'],regex:'('+s+')(\\.)('+s+')(\\s*)(=)(\\s*)(function)(\\s+)(\\w+)(\\s*)(\\()',next:'function_arguments'},{token:['storage.type','text','entity.name.function','text','paren.lparen'],regex:'(function)(\\s+)('+s+')(\\s*)(\\()',next:'function_arguments'},{token:['entity.name.function','text','punctuation.operator','text','storage.type','text','paren.lparen'],regex:'('+s+')(\\s*)(:)(\\s*)(function)(\\s*)(\\()',next:'function_arguments'},{token:['text','text','storage.type','text','paren.lparen'],regex:'(:)(\\s*)(function)(\\s*)(\\()',next:'function_arguments'},{token:'keyword',regex:'(?:'+'case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void'+')\\b',next:'start'},{token:['support.constant'],regex:/that\b/},{token:['storage.type','punctuation.operator','support.function.firebug'],regex:/(console)(\.)(warn|info|log|error|time|trace|timeEnd|assert)\b/},{token:t,regex:s},{token:'punctuation.operator',regex:/[.](?![.])/,next:'property'},{token:'keyword.operator',regex:/--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,next:'start'},{token:'punctuation.operator',regex:/[?:,;.]/,next:'start'},{token:'paren.lparen',regex:/[\[({]/,next:'start'},{token:'paren.rparen',regex:/[\])}]/},{token:'comment',regex:/^#!.*$/}],property:[{token:'text',regex:'\\s+'},{token:['storage.type','punctuation.operator','entity.name.function','text','keyword.operator','text','storage.type','text','entity.name.function','text','paren.lparen'],regex:'('+s+')(\\.)('+s+')(\\s*)(=)(\\s*)(function)(?:(\\s+)(\\w+))?(\\s*)(\\()',next:'function_arguments'},{token:'punctuation.operator',regex:/[.](?![.])/},{token:'support.function',regex:/(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/},{token:'support.function.dom',regex:/(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName|ClassName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/},{token:'support.constant',regex:/(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/},{token:'identifier',regex:s},{regex:'',token:'empty',next:'no_regex'}],start:[a.getStartRule('doc-start'),r('start'),{token:'string.regexp',regex:'\\/',next:'regex'},{token:'text',regex:'\\s+|^$',next:'start'},{token:'empty',regex:'',next:'no_regex'}],regex:[{token:'regexp.keyword.operator',regex:'\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)'},{token:'string.regexp',regex:'/[sxngimy]*',next:'no_regex'},{token:'invalid',regex:/\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/},{token:'constant.language.escape',regex:/\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/},{token:'constant.language.delimiter',regex:/\|/},{token:'constant.language.escape',regex:/\[\^?/,next:'regex_character_class'},{token:'empty',regex:'$',next:'no_regex'},{defaultToken:'string.regexp'}],regex_character_class:[{token:'regexp.charclass.keyword.operator',regex:'\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)'},{token:'constant.language.escape',regex:']',next:'regex'},{token:'constant.language.escape',regex:'-'},{token:'empty',regex:'$',next:'no_regex'},{defaultToken:'string.regexp.charachterclass'}],function_arguments:[{token:'variable.parameter',regex:s},{token:'punctuation.operator',regex:'[, ]+'},{token:'punctuation.operator',regex:'$'},{token:'empty',regex:'',next:'no_regex'}],qqstring:[{token:'constant.language.escape',regex:o},{token:'string',regex:'\\\\$',next:'qqstring'},{token:'string',regex:'"|$',next:'no_regex'},{defaultToken:'string'}],qstring:[{token:'constant.language.escape',regex:o},{token:'string',regex:'\\\\$',next:'qstring'},{token:'string',regex:'\'|$',next:'no_regex'},{defaultToken:'string'}]},e&&e.noES6||(this.$rules.no_regex.unshift({regex:'[{}]',onMatch:function(e,t,n){if(this.next='{'==e?this.nextState:'','{'==e&&n.length)n.unshift('start',t);else if('}'==e&&n.length&&(n.shift(),this.next=n.shift(),-1!=this.next.indexOf('string')||-1!=this.next.indexOf('jsx')))return'paren.quasi.end';return'{'==e?'paren.lparen':'paren.rparen'},nextState:'start'},{token:'string.quasi.start',regex:/`/,push:[{token:'constant.language.escape',regex:o},{token:'paren.quasi.start',regex:/\${/,push:'start'},{token:'string.quasi.end',regex:/`/,next:'pop'},{defaultToken:'string.quasi'}]}),(!e||!1!=e.jsx)&&n.call(this)),this.embedRules(a,'doc-',[a.getEndRule('no_regex')]),this.normalizeRules()};o.inherits(l,i),t.JavaScriptHighlightRules=l}),ace.define('ace/mode/matching_brace_outdent',['require','exports','module','ace/range'],function(e,t){'use strict';var n=e('../range').Range,r=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var r=e.getLine(t),o=r.match(/^(\s*\})/);if(!o)return 0;var a=o[1].length,i=e.findMatchingBracket({row:t,column:a});if(!i||i.row==t)return 0;var s=this.$getIndent(e.getLine(i.row));e.replace(new n(t,0,t,a-1),s)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(r.prototype),t.MatchingBraceOutdent=r}),ace.define('ace/mode/folding/cstyle',['require','exports','module','ace/lib/oop','ace/range','ace/mode/folding/fold_mode'],function(e,t){'use strict';var n=e('../../lib/oop'),r=e('../../range').Range,o=e('./fold_mode').FoldMode,a=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,'|'+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,'|'+e.end)))};n.inherits(a,o),function(){this.foldingStartMarker=/(\{|\[)[^\}\]]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return'';var o=this._getFoldWidgetBase(e,t,n);return!o&&this.startRegionRe.test(r)?'start':o},this.getFoldWidgetRange=function(e,t,n,r){var o=e.getLine(n);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,n);var a=o.match(this.foldingStartMarker);if(a){var s=a.index;if(a[1])return this.openingBracketBlock(e,a[1],n,s);var i=e.getCommentFoldRange(n,s+a[0].length,1);return i&&!i.isMultiLine()&&(r?i=this.getSectionRange(e,n):'all'!=t&&(i=null)),i}if('markbegin'!==t){var a=o.match(this.foldingStopMarker);if(a){var s=a.index+a[0].length;return a[1]?this.closingBracketBlock(e,a[1],n,s):e.getCommentFoldRange(n,s,-1)}}},this.getSectionRange=function(e,t){var n=e.getLine(t),o=n.search(/\S/),a=t,i=n.length;++t;for(var s=t,l=e.getLength();++td)break;var c=this.getFoldWidgetRange(e,'all',t);if(c)if(c.start.row<=a)break;else if(c.isMultiLine())t=c.end.row;else if(o==d)break;s=t}}return new r(a,i,s,e.getLine(s).length)},this.getCommentRegionBlock=function(e,t,n){for(var o=t.search(/\s*$/),a=e.getLength(),i=n,s=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++ni)return new r(i,o,c,t.length)}}.call(a.prototype)}),ace.define('ace/mode/javascript',['require','exports','module','ace/lib/oop','ace/mode/text','ace/mode/javascript_highlight_rules','ace/mode/matching_brace_outdent','ace/worker/worker_client','ace/mode/behaviour/cstyle','ace/mode/folding/cstyle'],function(e,t){'use strict';var r=e('../lib/oop'),o=e('./text').Mode,a=e('./javascript_highlight_rules').JavaScriptHighlightRules,i=e('./matching_brace_outdent').MatchingBraceOutdent,s=e('../worker/worker_client').WorkerClient,l=e('./behaviour/cstyle').CstyleBehaviour,d=e('./folding/cstyle').FoldMode,c=function(){this.HighlightRules=a,this.$outdent=new i,this.$behaviour=new l,this.foldingRules=new d};r.inherits(c,o),function(){this.lineCommentStart='//',this.blockComment={start:'/*',end:'*/'},this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t),o=this.getTokenizer().getLineTokens(t,e),a=o.tokens,i=o.state;if(a.length&&'comment'==a[a.length-1].type)return r;if('start'==e||'no_regex'==e){var s=t.match(/^.*(?:\bcase\b.*:|[\{\(\[])\s*$/);s&&(r+=n)}else if('doc-start'==e){if('start'==i||'no_regex'==i)return'';var s=t.match(/^\s*(\/?)\*/);s&&(s[1]&&(r+=' '),r+='* ')}return r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new s(['ace'],n(47),'JavaScriptWorker');return t.attachToDocument(e.getDocument()),t.on('annotate',function(t){e.setAnnotations(t.data)}),t.on('terminate',function(){e.clearAnnotations()}),t},this.$id='ace/mode/javascript'}.call(c.prototype),t.Mode=c})},function(e){e.exports.id='ace/mode/javascript_worker',e.exports.src='"no use strict";(function(window){function resolveModuleId(id,paths){for(var testPath=id,tail="";testPath;){var alias=paths[testPath];if("string"==typeof alias)return alias+tail;if(alias)return alias.location.replace(/\\/*$/,"/")+(tail||alias.main||alias.name);if(alias===!1)return"";var i=testPath.lastIndexOf("/");if(-1===i)break;tail=testPath.substr(i)+tail,testPath=testPath.slice(0,i)}return id}if(!(void 0!==window.window&&window.document||window.acequire&&window.define)){window.console||(window.console=function(){var msgs=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:msgs})},window.console.error=window.console.warn=window.console.log=window.console.trace=window.console),window.window=window,window.ace=window,window.onerror=function(message,file,line,col,err){postMessage({type:"error",data:{message:message,data:err.data,file:file,line:line,col:col,stack:err.stack}})},window.normalizeModule=function(parentId,moduleName){if(-1!==moduleName.indexOf("!")){var chunks=moduleName.split("!");return window.normalizeModule(parentId,chunks[0])+"!"+window.normalizeModule(parentId,chunks[1])}if("."==moduleName.charAt(0)){var base=parentId.split("/").slice(0,-1).join("/");for(moduleName=(base?base+"/":"")+moduleName;-1!==moduleName.indexOf(".")&&previous!=moduleName;){var previous=moduleName;moduleName=moduleName.replace(/^\\.\\//,"").replace(/\\/\\.\\//,"/").replace(/[^\\/]+\\/\\.\\.\\//,"")}}return moduleName},window.acequire=function acequire(parentId,id){if(id||(id=parentId,parentId=null),!id.charAt)throw Error("worker.js acequire() accepts only (parentId, id) as arguments");id=window.normalizeModule(parentId,id);var module=window.acequire.modules[id];if(module)return module.initialized||(module.initialized=!0,module.exports=module.factory().exports),module.exports;if(!window.acequire.tlns)return console.log("unable to load "+id);var path=resolveModuleId(id,window.acequire.tlns);return".js"!=path.slice(-3)&&(path+=".js"),window.acequire.id=id,window.acequire.modules[id]={},importScripts(path),window.acequire(parentId,id)},window.acequire.modules={},window.acequire.tlns={},window.define=function(id,deps,factory){if(2==arguments.length?(factory=deps,"string"!=typeof id&&(deps=id,id=window.acequire.id)):1==arguments.length&&(factory=id,deps=[],id=window.acequire.id),"function"!=typeof factory)return window.acequire.modules[id]={exports:factory,initialized:!0},void 0;deps.length||(deps=["require","exports","module"]);var req=function(childId){return window.acequire(id,childId)};window.acequire.modules[id]={exports:{},factory:function(){var module=this,returnExports=factory.apply(this,deps.map(function(dep){switch(dep){case"require":return req;case"exports":return module.exports;case"module":return module;default:return req(dep)}}));return returnExports&&(module.exports=returnExports),module}}},window.define.amd={},acequire.tlns={},window.initBaseUrls=function(topLevelNamespaces){for(var i in topLevelNamespaces)acequire.tlns[i]=topLevelNamespaces[i]},window.initSender=function(){var EventEmitter=window.acequire("ace/lib/event_emitter").EventEmitter,oop=window.acequire("ace/lib/oop"),Sender=function(){};return function(){oop.implement(this,EventEmitter),this.callback=function(data,callbackId){postMessage({type:"call",id:callbackId,data:data})},this.emit=function(name,data){postMessage({type:"event",name:name,data:data})}}.call(Sender.prototype),new Sender};var main=window.main=null,sender=window.sender=null;window.onmessage=function(e){var msg=e.data;if(msg.event&&sender)sender._signal(msg.event,msg.data);else if(msg.command)if(main[msg.command])main[msg.command].apply(main,msg.args);else{if(!window[msg.command])throw Error("Unknown command:"+msg.command);window[msg.command].apply(window,msg.args)}else if(msg.init){window.initBaseUrls(msg.tlns),acequire("ace/lib/es5-shim"),sender=window.sender=window.initSender();var clazz=acequire(msg.module)[msg.classname];main=window.main=new clazz(sender)}}}})(this),ace.define("ace/lib/oop",["require","exports","module"],function(acequire,exports){"use strict";exports.inherits=function(ctor,superCtor){ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}})},exports.mixin=function(obj,mixin){for(var key in mixin)obj[key]=mixin[key];return obj},exports.implement=function(proto,mixin){exports.mixin(proto,mixin)}}),ace.define("ace/range",["require","exports","module"],function(acequire,exports){"use strict";var comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},Range=function(startRow,startColumn,endRow,endColumn){this.start={row:startRow,column:startColumn},this.end={row:endRow,column:endColumn}};(function(){this.isEqual=function(range){return this.start.row===range.start.row&&this.end.row===range.end.row&&this.start.column===range.start.column&&this.end.column===range.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(row,column){return 0==this.compare(row,column)},this.compareRange=function(range){var cmp,end=range.end,start=range.start;return cmp=this.compare(end.row,end.column),1==cmp?(cmp=this.compare(start.row,start.column),1==cmp?2:0==cmp?1:0):-1==cmp?-2:(cmp=this.compare(start.row,start.column),-1==cmp?-1:1==cmp?42:0)},this.comparePoint=function(p){return this.compare(p.row,p.column)},this.containsRange=function(range){return 0==this.comparePoint(range.start)&&0==this.comparePoint(range.end)},this.intersects=function(range){var cmp=this.compareRange(range);return-1==cmp||0==cmp||1==cmp},this.isEnd=function(row,column){return this.end.row==row&&this.end.column==column},this.isStart=function(row,column){return this.start.row==row&&this.start.column==column},this.setStart=function(row,column){"object"==typeof row?(this.start.column=row.column,this.start.row=row.row):(this.start.row=row,this.start.column=column)},this.setEnd=function(row,column){"object"==typeof row?(this.end.column=row.column,this.end.row=row.row):(this.end.row=row,this.end.column=column)},this.inside=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)||this.isStart(row,column)?!1:!0:!1},this.insideStart=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)?!1:!0:!1},this.insideEnd=function(row,column){return 0==this.compare(row,column)?this.isStart(row,column)?!1:!0:!1},this.compare=function(row,column){return this.isMultiLine()||row!==this.start.row?this.start.row>row?-1:row>this.end.row?1:this.start.row===row?column>=this.start.column?0:-1:this.end.row===row?this.end.column>=column?0:1:0:this.start.column>column?-1:column>this.end.column?1:0},this.compareStart=function(row,column){return this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.compareEnd=function(row,column){return this.end.row==row&&this.end.column==column?1:this.compare(row,column)},this.compareInside=function(row,column){return this.end.row==row&&this.end.column==column?1:this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.clipRows=function(firstRow,lastRow){if(this.end.row>lastRow)var end={row:lastRow+1,column:0};else if(firstRow>this.end.row)var end={row:firstRow,column:0};if(this.start.row>lastRow)var start={row:lastRow+1,column:0};else if(firstRow>this.start.row)var start={row:firstRow,column:0};return Range.fromPoints(start||this.start,end||this.end)},this.extend=function(row,column){var cmp=this.compare(row,column);if(0==cmp)return this;if(-1==cmp)var start={row:row,column:column};else var end={row:row,column:column};return Range.fromPoints(start||this.start,end||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return Range.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new Range(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new Range(this.start.row,0,this.end.row,0)},this.toScreenRange=function(session){var screenPosStart=session.documentToScreenPosition(this.start),screenPosEnd=session.documentToScreenPosition(this.end);return new Range(screenPosStart.row,screenPosStart.column,screenPosEnd.row,screenPosEnd.column)},this.moveBy=function(row,column){this.start.row+=row,this.start.column+=column,this.end.row+=row,this.end.column+=column}}).call(Range.prototype),Range.fromPoints=function(start,end){return new Range(start.row,start.column,end.row,end.column)},Range.comparePoints=comparePoints,Range.comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},exports.Range=Range}),ace.define("ace/apply_delta",["require","exports","module"],function(acequire,exports){"use strict";exports.applyDelta=function(docLines,delta){var row=delta.start.row,startColumn=delta.start.column,line=docLines[row]||"";switch(delta.action){case"insert":var lines=delta.lines;if(1===lines.length)docLines[row]=line.substring(0,startColumn)+delta.lines[0]+line.substring(startColumn);else{var args=[row,1].concat(delta.lines);docLines.splice.apply(docLines,args),docLines[row]=line.substring(0,startColumn)+docLines[row],docLines[row+delta.lines.length-1]+=line.substring(startColumn)}break;case"remove":var endColumn=delta.end.column,endRow=delta.end.row;row===endRow?docLines[row]=line.substring(0,startColumn)+line.substring(endColumn):docLines.splice(row,endRow-row+1,line.substring(0,startColumn)+docLines[endRow].substring(endColumn))}}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(acequire,exports){"use strict";var EventEmitter={},stopPropagation=function(){this.propagationStopped=!0},preventDefault=function(){this.defaultPrevented=!0};EventEmitter._emit=EventEmitter._dispatchEvent=function(eventName,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var listeners=this._eventRegistry[eventName]||[],defaultHandler=this._defaultHandlers[eventName];if(listeners.length||defaultHandler){"object"==typeof e&&e||(e={}),e.type||(e.type=eventName),e.stopPropagation||(e.stopPropagation=stopPropagation),e.preventDefault||(e.preventDefault=preventDefault),listeners=listeners.slice();for(var i=0;listeners.length>i&&(listeners[i](e,this),!e.propagationStopped);i++);return defaultHandler&&!e.defaultPrevented?defaultHandler(e,this):void 0}},EventEmitter._signal=function(eventName,e){var listeners=(this._eventRegistry||{})[eventName];if(listeners){listeners=listeners.slice();for(var i=0;listeners.length>i;i++)listeners[i](e,this)}},EventEmitter.once=function(eventName,callback){var _self=this;callback&&this.addEventListener(eventName,function newCallback(){_self.removeEventListener(eventName,newCallback),callback.apply(null,arguments)})},EventEmitter.setDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers||(handlers=this._defaultHandlers={_disabled_:{}}),handlers[eventName]){var old=handlers[eventName],disabled=handlers._disabled_[eventName];disabled||(handlers._disabled_[eventName]=disabled=[]),disabled.push(old);var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}handlers[eventName]=callback},EventEmitter.removeDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers){var disabled=handlers._disabled_[eventName];if(handlers[eventName]==callback)handlers[eventName],disabled&&this.setDefaultHandler(eventName,disabled.pop());else if(disabled){var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}}},EventEmitter.on=EventEmitter.addEventListener=function(eventName,callback,capturing){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];return listeners||(listeners=this._eventRegistry[eventName]=[]),-1==listeners.indexOf(callback)&&listeners[capturing?"unshift":"push"](callback),callback},EventEmitter.off=EventEmitter.removeListener=EventEmitter.removeEventListener=function(eventName,callback){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];if(listeners){var index=listeners.indexOf(callback);-1!==index&&listeners.splice(index,1)}},EventEmitter.removeAllListeners=function(eventName){this._eventRegistry&&(this._eventRegistry[eventName]=[])},exports.EventEmitter=EventEmitter}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),EventEmitter=acequire("./lib/event_emitter").EventEmitter,Anchor=exports.Anchor=function(doc,row,column){this.$onChange=this.onChange.bind(this),this.attach(doc),column===void 0?this.setPosition(row.row,row.column):this.setPosition(row,column)};(function(){function $pointsInOrder(point1,point2,equalPointsInOrder){var bColIsAfter=equalPointsInOrder?point1.column<=point2.column:point1.columnthis.row)){var point=$getTransformedPoint(delta,{row:this.row,column:this.column},this.$insertRight);this.setPosition(point.row,point.column,!0)}},this.setPosition=function(row,column,noClip){var pos;if(pos=noClip?{row:row,column:column}:this.$clipPositionToDocument(row,column),this.row!=pos.row||this.column!=pos.column){var old={row:this.row,column:this.column};this.row=pos.row,this.column=pos.column,this._signal("change",{old:old,value:pos})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(doc){this.document=doc||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(row,column){var pos={};return row>=this.document.getLength()?(pos.row=Math.max(0,this.document.getLength()-1),pos.column=this.document.getLine(pos.row).length):0>row?(pos.row=0,pos.column=0):(pos.row=row,pos.column=Math.min(this.document.getLine(pos.row).length,Math.max(0,column))),0>column&&(pos.column=0),pos}}).call(Anchor.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),applyDelta=acequire("./apply_delta").applyDelta,EventEmitter=acequire("./lib/event_emitter").EventEmitter,Range=acequire("./range").Range,Anchor=acequire("./anchor").Anchor,Document=function(textOrLines){this.$lines=[""],0===textOrLines.length?this.$lines=[""]:Array.isArray(textOrLines)?this.insertMergedLines({row:0,column:0},textOrLines):this.insert({row:0,column:0},textOrLines)};(function(){oop.implement(this,EventEmitter),this.setValue=function(text){var len=this.getLength()-1;this.remove(new Range(0,0,len,this.getLine(len).length)),this.insert({row:0,column:0},text)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(row,column){return new Anchor(this,row,column)},this.$split=0==="aaa".split(/a/).length?function(text){return text.replace(/\\r\\n|\\r/g,"\\n").split("\\n")}:function(text){return text.split(/\\r\\n|\\r|\\n/)},this.$detectNewLine=function(text){var match=text.match(/^.*?(\\r\\n|\\r|\\n)/m);this.$autoNewLine=match?match[1]:"\\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\\r\\n";case"unix":return"\\n";default:return this.$autoNewLine||"\\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(newLineMode){this.$newLineMode!==newLineMode&&(this.$newLineMode=newLineMode,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(text){return"\\r\\n"==text||"\\r"==text||"\\n"==text},this.getLine=function(row){return this.$lines[row]||""},this.getLines=function(firstRow,lastRow){return this.$lines.slice(firstRow,lastRow+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(range){return this.getLinesForRange(range).join(this.getNewLineCharacter())},this.getLinesForRange=function(range){var lines;if(range.start.row===range.end.row)lines=[this.getLine(range.start.row).substring(range.start.column,range.end.column)];else{lines=this.getLines(range.start.row,range.end.row),lines[0]=(lines[0]||"").substring(range.start.column);var l=lines.length-1;range.end.row-range.start.row==l&&(lines[l]=lines[l].substring(0,range.end.column))}return lines},this.insertLines=function(row,lines){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(row,lines)},this.removeLines=function(firstRow,lastRow){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(firstRow,lastRow)},this.insertNewLine=function(position){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, [\'\', \'\']) instead."),this.insertMergedLines(position,["",""])},this.insert=function(position,text){return 1>=this.getLength()&&this.$detectNewLine(text),this.insertMergedLines(position,this.$split(text))},this.insertInLine=function(position,text){var start=this.clippedPos(position.row,position.column),end=this.pos(position.row,position.column+text.length);return this.applyDelta({start:start,end:end,action:"insert",lines:[text]},!0),this.clonePos(end)},this.clippedPos=function(row,column){var length=this.getLength();void 0===row?row=length:0>row?row=0:row>=length&&(row=length-1,column=void 0);var line=this.getLine(row);return void 0==column&&(column=line.length),column=Math.min(Math.max(column,0),line.length),{row:row,column:column}},this.clonePos=function(pos){return{row:pos.row,column:pos.column}},this.pos=function(row,column){return{row:row,column:column}},this.$clipPosition=function(position){var length=this.getLength();return position.row>=length?(position.row=Math.max(0,length-1),position.column=this.getLine(length-1).length):(position.row=Math.max(0,position.row),position.column=Math.min(Math.max(position.column,0),this.getLine(position.row).length)),position},this.insertFullLines=function(row,lines){row=Math.min(Math.max(row,0),this.getLength());var column=0;this.getLength()>row?(lines=lines.concat([""]),column=0):(lines=[""].concat(lines),row--,column=this.$lines[row].length),this.insertMergedLines({row:row,column:column},lines)},this.insertMergedLines=function(position,lines){var start=this.clippedPos(position.row,position.column),end={row:start.row+lines.length-1,column:(1==lines.length?start.column:0)+lines[lines.length-1].length};return this.applyDelta({start:start,end:end,action:"insert",lines:lines}),this.clonePos(end)},this.remove=function(range){var start=this.clippedPos(range.start.row,range.start.column),end=this.clippedPos(range.end.row,range.end.column);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})}),this.clonePos(start)},this.removeInLine=function(row,startColumn,endColumn){var start=this.clippedPos(row,startColumn),end=this.clippedPos(row,endColumn);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})},!0),this.clonePos(start)},this.removeFullLines=function(firstRow,lastRow){firstRow=Math.min(Math.max(0,firstRow),this.getLength()-1),lastRow=Math.min(Math.max(0,lastRow),this.getLength()-1);var deleteFirstNewLine=lastRow==this.getLength()-1&&firstRow>0,deleteLastNewLine=this.getLength()-1>lastRow,startRow=deleteFirstNewLine?firstRow-1:firstRow,startCol=deleteFirstNewLine?this.getLine(startRow).length:0,endRow=deleteLastNewLine?lastRow+1:lastRow,endCol=deleteLastNewLine?0:this.getLine(endRow).length,range=new Range(startRow,startCol,endRow,endCol),deletedLines=this.$lines.slice(firstRow,lastRow+1);return this.applyDelta({start:range.start,end:range.end,action:"remove",lines:this.getLinesForRange(range)}),deletedLines},this.removeNewLine=function(row){this.getLength()-1>row&&row>=0&&this.applyDelta({start:this.pos(row,this.getLine(row).length),end:this.pos(row+1,0),action:"remove",lines:["",""]})},this.replace=function(range,text){if(range instanceof Range||(range=Range.fromPoints(range.start,range.end)),0===text.length&&range.isEmpty())return range.start;if(text==this.getTextRange(range))return range.end;this.remove(range);var end;return end=text?this.insert(range.start,text):range.start},this.applyDeltas=function(deltas){for(var i=0;deltas.length>i;i++)this.applyDelta(deltas[i])},this.revertDeltas=function(deltas){for(var i=deltas.length-1;i>=0;i--)this.revertDelta(deltas[i])},this.applyDelta=function(delta,doNotValidate){var isInsert="insert"==delta.action;(isInsert?1>=delta.lines.length&&!delta.lines[0]:!Range.comparePoints(delta.start,delta.end))||(isInsert&&delta.lines.length>2e4&&this.$splitAndapplyLargeDelta(delta,2e4),applyDelta(this.$lines,delta,doNotValidate),this._signal("change",delta))},this.$splitAndapplyLargeDelta=function(delta,MAX){for(var lines=delta.lines,l=lines.length,row=delta.start.row,column=delta.start.column,from=0,to=0;;){from=to,to+=MAX-1;var chunk=lines.slice(from,to);if(to>l){delta.lines=chunk,delta.start.row=row+from,delta.start.column=column;break}chunk.push(""),this.applyDelta({start:this.pos(row+from,column),end:this.pos(row+to,column=0),action:delta.action,lines:chunk},!0)}},this.revertDelta=function(delta){this.applyDelta({start:this.clonePos(delta.start),end:this.clonePos(delta.end),action:"insert"==delta.action?"remove":"insert",lines:delta.lines.slice()})},this.indexToPosition=function(index,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,i=startRow||0,l=lines.length;l>i;i++)if(index-=lines[i].length+newlineLength,0>index)return{row:i,column:index+lines[i].length+newlineLength};return{row:l-1,column:lines[l-1].length}},this.positionToIndex=function(pos,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,index=0,row=Math.min(pos.row,lines.length),i=startRow||0;row>i;++i)index+=lines[i].length+newlineLength;return index+pos.column}}).call(Document.prototype),exports.Document=Document}),ace.define("ace/lib/lang",["require","exports","module"],function(acequire,exports){"use strict";exports.last=function(a){return a[a.length-1]},exports.stringReverse=function(string){return string.split("").reverse().join("")},exports.stringRepeat=function(string,count){for(var result="";count>0;)1&count&&(result+=string),(count>>=1)&&(string+=string);return result};var trimBeginRegexp=/^\\s\\s*/,trimEndRegexp=/\\s\\s*$/;exports.stringTrimLeft=function(string){return string.replace(trimBeginRegexp,"")},exports.stringTrimRight=function(string){return string.replace(trimEndRegexp,"")},exports.copyObject=function(obj){var copy={};for(var key in obj)copy[key]=obj[key];return copy},exports.copyArray=function(array){for(var copy=[],i=0,l=array.length;l>i;i++)copy[i]=array[i]&&"object"==typeof array[i]?this.copyObject(array[i]):array[i];return copy},exports.deepCopy=function deepCopy(obj){if("object"!=typeof obj||!obj)return obj;var copy;if(Array.isArray(obj)){copy=[];for(var key=0;obj.length>key;key++)copy[key]=deepCopy(obj[key]);return copy}if("[object Object]"!==Object.prototype.toString.call(obj))return obj;copy={};for(var key in obj)copy[key]=deepCopy(obj[key]);return copy},exports.arrayToMap=function(arr){for(var map={},i=0;arr.length>i;i++)map[arr[i]]=1;return map},exports.createMap=function(props){var map=Object.create(null);for(var i in props)map[i]=props[i];return map},exports.arrayRemove=function(array,value){for(var i=0;array.length>=i;i++)value===array[i]&&array.splice(i,1)},exports.escapeRegExp=function(str){return str.replace(/([.*+?^${}()|[\\]\\/\\\\])/g,"\\\\$1")},exports.escapeHTML=function(str){return str.replace(/&/g,"&").replace(/"/g,""").replace(/\'/g,"'").replace(/i;i+=2){if(Array.isArray(data[i+1]))var d={action:"insert",start:data[i],lines:data[i+1]};else var d={action:"remove",start:data[i],end:data[i+1]};doc.applyDelta(d,!0)}return _self.$timeout?deferredUpdate.schedule(_self.$timeout):(_self.onUpdate(),void 0)})};(function(){this.$timeout=500,this.setTimeout=function(timeout){this.$timeout=timeout},this.setValue=function(value){this.doc.setValue(value),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(callbackId){this.sender.callback(this.doc.getValue(),callbackId)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(Mirror.prototype)}),ace.define("ace/mode/javascript/jshint",["require","exports","module"],function(acequire,exports,module){module.exports=function outer(modules,cache,entry){function newRequire(name,jumped){if(!cache[name]){if(!modules[name]){var currentRequire="function"==typeof acequire&&acequire;if(!jumped&¤tRequire)return currentRequire(name,!0);if(previousRequire)return previousRequire(name,!0);var err=Error("Cannot find module \'"+name+"\'");throw err.code="MODULE_NOT_FOUND",err}var m=cache[name]={exports:{}};modules[name][0].call(m.exports,function(x){var id=modules[name][1][x];return newRequire(id?id:x)},m,m.exports,outer,modules,cache,entry)}return cache[name].exports}for(var previousRequire="function"==typeof acequire&&acequire,i=0;entry.length>i;i++)newRequire(entry[i]);return newRequire(entry[0])}({"/node_modules/browserify/node_modules/events/events.js":[function(_dereq_,module){function EventEmitter(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function isFunction(arg){return"function"==typeof arg}function isNumber(arg){return"number"==typeof arg}function isObject(arg){return"object"==typeof arg&&null!==arg}function isUndefined(arg){return void 0===arg}module.exports=EventEmitter,EventEmitter.EventEmitter=EventEmitter,EventEmitter.prototype._events=void 0,EventEmitter.prototype._maxListeners=void 0,EventEmitter.defaultMaxListeners=10,EventEmitter.prototype.setMaxListeners=function(n){if(!isNumber(n)||0>n||isNaN(n))throw TypeError("n must be a positive number");return this._maxListeners=n,this},EventEmitter.prototype.emit=function(type){var er,handler,len,args,i,listeners;if(this._events||(this._events={}),"error"===type&&(!this._events.error||isObject(this._events.error)&&!this._events.error.length)){if(er=arguments[1],er instanceof Error)throw er;throw TypeError(\'Uncaught, unspecified "error" event.\')}if(handler=this._events[type],isUndefined(handler))return!1;if(isFunction(handler))switch(arguments.length){case 1:handler.call(this);break;case 2:handler.call(this,arguments[1]);break;case 3:handler.call(this,arguments[1],arguments[2]);break;default:for(len=arguments.length,args=Array(len-1),i=1;len>i;i++)args[i-1]=arguments[i];handler.apply(this,args)}else if(isObject(handler)){for(len=arguments.length,args=Array(len-1),i=1;len>i;i++)args[i-1]=arguments[i];for(listeners=handler.slice(),len=listeners.length,i=0;len>i;i++)listeners[i].apply(this,args)}return!0},EventEmitter.prototype.addListener=function(type,listener){var m;if(!isFunction(listener))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",type,isFunction(listener.listener)?listener.listener:listener),this._events[type]?isObject(this._events[type])?this._events[type].push(listener):this._events[type]=[this._events[type],listener]:this._events[type]=listener,isObject(this._events[type])&&!this._events[type].warned){var m;m=isUndefined(this._maxListeners)?EventEmitter.defaultMaxListeners:this._maxListeners,m&&m>0&&this._events[type].length>m&&(this._events[type].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[type].length),"function"==typeof console.trace&&console.trace())}return this},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.once=function(type,listener){function g(){this.removeListener(type,g),fired||(fired=!0,listener.apply(this,arguments))}if(!isFunction(listener))throw TypeError("listener must be a function");var fired=!1;return g.listener=listener,this.on(type,g),this},EventEmitter.prototype.removeListener=function(type,listener){var list,position,length,i;if(!isFunction(listener))throw TypeError("listener must be a function");if(!this._events||!this._events[type])return this;if(list=this._events[type],length=list.length,position=-1,list===listener||isFunction(list.listener)&&list.listener===listener)delete this._events[type],this._events.removeListener&&this.emit("removeListener",type,listener);else if(isObject(list)){for(i=length;i-->0;)if(list[i]===listener||list[i].listener&&list[i].listener===listener){position=i;break}if(0>position)return this;1===list.length?(list.length=0,delete this._events[type]):list.splice(position,1),this._events.removeListener&&this.emit("removeListener",type,listener)}return this},EventEmitter.prototype.removeAllListeners=function(type){var key,listeners;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[type]&&delete this._events[type],this;if(0===arguments.length){for(key in this._events)"removeListener"!==key&&this.removeAllListeners(key);return this.removeAllListeners("removeListener"),this._events={},this\n}if(listeners=this._events[type],isFunction(listeners))this.removeListener(type,listeners);else for(;listeners.length;)this.removeListener(type,listeners[listeners.length-1]);return delete this._events[type],this},EventEmitter.prototype.listeners=function(type){var ret;return ret=this._events&&this._events[type]?isFunction(this._events[type])?[this._events[type]]:this._events[type].slice():[]},EventEmitter.listenerCount=function(emitter,type){var ret;return ret=emitter._events&&emitter._events[type]?isFunction(emitter._events[type])?1:emitter._events[type].length:0}},{}],"/node_modules/jshint/data/ascii-identifier-data.js":[function(_dereq_,module){for(var identifierStartTable=[],i=0;128>i;i++)identifierStartTable[i]=36===i||i>=65&&90>=i||95===i||i>=97&&122>=i;for(var identifierPartTable=[],i=0;128>i;i++)identifierPartTable[i]=identifierStartTable[i]||i>=48&&57>=i;module.exports={asciiIdentifierStartTable:identifierStartTable,asciiIdentifierPartTable:identifierPartTable}},{}],"/node_modules/jshint/lodash.js":[function(_dereq_,module,exports){(function(global){(function(){function baseFindIndex(array,predicate,fromRight){for(var length=array.length,index=fromRight?length:-1;fromRight?index--:length>++index;)if(predicate(array[index],index,array))return index;return-1}function baseIndexOf(array,value,fromIndex){if(value!==value)return indexOfNaN(array,fromIndex);for(var index=fromIndex-1,length=array.length;length>++index;)if(array[index]===value)return index;return-1}function baseIsFunction(value){return"function"==typeof value||!1}function baseToString(value){return"string"==typeof value?value:null==value?"":value+""}function indexOfNaN(array,fromIndex,fromRight){for(var length=array.length,index=fromIndex+(fromRight?0:-1);fromRight?index--:length>++index;){var other=array[index];if(other!==other)return index}return-1}function isObjectLike(value){return!!value&&"object"==typeof value}function lodash(){}function arrayCopy(source,array){var index=-1,length=source.length;for(array||(array=Array(length));length>++index;)array[index]=source[index];return array}function arrayEach(array,iteratee){for(var index=-1,length=array.length;length>++index&&iteratee(array[index],index,array)!==!1;);return array}function arrayFilter(array,predicate){for(var index=-1,length=array.length,resIndex=-1,result=[];length>++index;){var value=array[index];predicate(value,index,array)&&(result[++resIndex]=value)}return result}function arrayMap(array,iteratee){for(var index=-1,length=array.length,result=Array(length);length>++index;)result[index]=iteratee(array[index],index,array);return result}function arrayMax(array){for(var index=-1,length=array.length,result=NEGATIVE_INFINITY;length>++index;){var value=array[index];value>result&&(result=value)}return result}function arraySome(array,predicate){for(var index=-1,length=array.length;length>++index;)if(predicate(array[index],index,array))return!0;return!1}function assignWith(object,source,customizer){var props=keys(source);push.apply(props,getSymbols(source));for(var index=-1,length=props.length;length>++index;){var key=props[index],value=object[key],result=customizer(value,source[key],key,object,source);(result===result?result===value:value!==value)&&(value!==undefined||key in object)||(object[key]=result)}return object}function baseCopy(source,props,object){object||(object={});for(var index=-1,length=props.length;length>++index;){var key=props[index];object[key]=source[key]}return object}function baseCallback(func,thisArg,argCount){var type=typeof func;return"function"==type?thisArg===undefined?func:bindCallback(func,thisArg,argCount):null==func?identity:"object"==type?baseMatches(func):thisArg===undefined?property(func):baseMatchesProperty(func,thisArg)}function baseClone(value,isDeep,customizer,key,object,stackA,stackB){var result;if(customizer&&(result=object?customizer(value,key,object):customizer(value)),result!==undefined)return result;if(!isObject(value))return value;var isArr=isArray(value);if(isArr){if(result=initCloneArray(value),!isDeep)return arrayCopy(value,result)}else{var tag=objToString.call(value),isFunc=tag==funcTag;if(tag!=objectTag&&tag!=argsTag&&(!isFunc||object))return cloneableTags[tag]?initCloneByTag(value,tag,isDeep):object?value:{};if(result=initCloneObject(isFunc?{}:value),!isDeep)return baseAssign(result,value)}stackA||(stackA=[]),stackB||(stackB=[]);for(var length=stackA.length;length--;)if(stackA[length]==value)return stackB[length];return stackA.push(value),stackB.push(result),(isArr?arrayEach:baseForOwn)(value,function(subValue,key){result[key]=baseClone(subValue,isDeep,customizer,key,value,stackA,stackB)}),result}function baseFilter(collection,predicate){var result=[];return baseEach(collection,function(value,index,collection){predicate(value,index,collection)&&result.push(value)}),result}function baseForIn(object,iteratee){return baseFor(object,iteratee,keysIn)}function baseForOwn(object,iteratee){return baseFor(object,iteratee,keys)}function baseGet(object,path,pathKey){if(null!=object){pathKey!==undefined&&pathKey in toObject(object)&&(path=[pathKey]);for(var index=-1,length=path.length;null!=object&&length>++index;)var result=object=object[path[index]];return result}}function baseIsEqual(value,other,customizer,isLoose,stackA,stackB){if(value===other)return 0!==value||1/value==1/other;var valType=typeof value,othType=typeof other;return"function"!=valType&&"object"!=valType&&"function"!=othType&&"object"!=othType||null==value||null==other?value!==value&&other!==other:baseIsEqualDeep(value,other,baseIsEqual,customizer,isLoose,stackA,stackB)}function baseIsEqualDeep(object,other,equalFunc,customizer,isLoose,stackA,stackB){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=arrayTag,othTag=arrayTag;objIsArr||(objTag=objToString.call(object),objTag==argsTag?objTag=objectTag:objTag!=objectTag&&(objIsArr=isTypedArray(object))),othIsArr||(othTag=objToString.call(other),othTag==argsTag?othTag=objectTag:othTag!=objectTag&&(othIsArr=isTypedArray(other)));var objIsObj=objTag==objectTag,othIsObj=othTag==objectTag,isSameTag=objTag==othTag;if(isSameTag&&!objIsArr&&!objIsObj)return equalByTag(object,other,objTag);if(!isLoose){var valWrapped=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),othWrapped=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(valWrapped||othWrapped)return equalFunc(valWrapped?object.value():object,othWrapped?other.value():other,customizer,isLoose,stackA,stackB)}if(!isSameTag)return!1;stackA||(stackA=[]),stackB||(stackB=[]);for(var length=stackA.length;length--;)if(stackA[length]==object)return stackB[length]==other;stackA.push(object),stackB.push(other);var result=(objIsArr?equalArrays:equalObjects)(object,other,equalFunc,customizer,isLoose,stackA,stackB);return stackA.pop(),stackB.pop(),result}function baseIsMatch(object,props,values,strictCompareFlags,customizer){for(var index=-1,length=props.length,noCustomizer=!customizer;length>++index;)if(noCustomizer&&strictCompareFlags[index]?values[index]!==object[props[index]]:!(props[index]in object))return!1;for(index=-1;length>++index;){var key=props[index],objValue=object[key],srcValue=values[index];if(noCustomizer&&strictCompareFlags[index])var result=objValue!==undefined||key in object;else result=customizer?customizer(objValue,srcValue,key):undefined,result===undefined&&(result=baseIsEqual(srcValue,objValue,customizer,!0));if(!result)return!1}return!0}function baseMatches(source){var props=keys(source),length=props.length;if(!length)return constant(!0);if(1==length){var key=props[0],value=source[key];if(isStrictComparable(value))return function(object){return null==object?!1:object[key]===value&&(value!==undefined||key in toObject(object))}}for(var values=Array(length),strictCompareFlags=Array(length);length--;)value=source[props[length]],values[length]=value,strictCompareFlags[length]=isStrictComparable(value);return function(object){return null!=object&&baseIsMatch(toObject(object),props,values,strictCompareFlags)}}function baseMatchesProperty(path,value){var isArr=isArray(path),isCommon=isKey(path)&&isStrictComparable(value),pathKey=path+"";return path=toPath(path),function(object){if(null==object)return!1;var key=pathKey;if(object=toObject(object),!(!isArr&&isCommon||key in object)){if(object=1==path.length?object:baseGet(object,baseSlice(path,0,-1)),null==object)return!1;key=last(path),object=toObject(object)}return object[key]===value?value!==undefined||key in object:baseIsEqual(value,object[key],null,!0)}}function baseMerge(object,source,customizer,stackA,stackB){if(!isObject(object))return object;var isSrcArr=isLength(source.length)&&(isArray(source)||isTypedArray(source));if(!isSrcArr){var props=keys(source);push.apply(props,getSymbols(source))}return arrayEach(props||source,function(srcValue,key){if(props&&(key=srcValue,srcValue=source[key]),isObjectLike(srcValue))stackA||(stackA=[]),stackB||(stackB=[]),baseMergeDeep(object,source,key,baseMerge,customizer,stackA,stackB);else{var value=object[key],result=customizer?customizer(value,srcValue,key,object,source):undefined,isCommon=result===undefined;isCommon&&(result=srcValue),!isSrcArr&&result===undefined||!isCommon&&(result===result?result===value:value!==value)||(object[key]=result)}}),object}function baseMergeDeep(object,source,key,mergeFunc,customizer,stackA,stackB){for(var length=stackA.length,srcValue=source[key];length--;)if(stackA[length]==srcValue)return object[key]=stackB[length],undefined;var value=object[key],result=customizer?customizer(value,srcValue,key,object,source):undefined,isCommon=result===undefined;isCommon&&(result=srcValue,isLength(srcValue.length)&&(isArray(srcValue)||isTypedArray(srcValue))?result=isArray(value)?value:getLength(value)?arrayCopy(value):[]:isPlainObject(srcValue)||isArguments(srcValue)?result=isArguments(value)?toPlainObject(value):isPlainObject(value)?value:{}:isCommon=!1),stackA.push(srcValue),stackB.push(result),isCommon?object[key]=mergeFunc(result,srcValue,customizer,stackA,stackB):(result===result?result!==value:value===value)&&(object[key]=result)}function baseProperty(key){return function(object){return null==object?undefined:object[key]}}function basePropertyDeep(path){var pathKey=path+"";return path=toPath(path),function(object){return baseGet(object,path,pathKey)}}function baseSlice(array,start,end){var index=-1,length=array.length;start=null==start?0:+start||0,0>start&&(start=-start>length?0:length+start),end=end===undefined||end>length?length:+end||0,0>end&&(end+=length),length=start>end?0:end-start>>>0,start>>>=0;for(var result=Array(length);length>++index;)result[index]=array[index+start];return result}function baseSome(collection,predicate){var result;return baseEach(collection,function(value,index,collection){return result=predicate(value,index,collection),!result}),!!result}function baseValues(object,props){for(var index=-1,length=props.length,result=Array(length);length>++index;)result[index]=object[props[index]];return result}function binaryIndex(array,value,retHighest){var low=0,high=array?array.length:low;if("number"==typeof value&&value===value&&HALF_MAX_ARRAY_LENGTH>=high){for(;high>low;){var mid=low+high>>>1,computed=array[mid];(retHighest?value>=computed:value>computed)?low=mid+1:high=mid}return high}return binaryIndexBy(array,value,identity,retHighest)}function binaryIndexBy(array,value,iteratee,retHighest){value=iteratee(value);for(var low=0,high=array?array.length:0,valIsNaN=value!==value,valIsUndef=value===undefined;high>low;){var mid=floor((low+high)/2),computed=iteratee(array[mid]),isReflexive=computed===computed;if(valIsNaN)var setLow=isReflexive||retHighest;else setLow=valIsUndef?isReflexive&&(retHighest||computed!==undefined):retHighest?value>=computed:value>computed;setLow?low=mid+1:high=mid}return nativeMin(high,MAX_ARRAY_INDEX)}function bindCallback(func,thisArg,argCount){if("function"!=typeof func)return identity;if(thisArg===undefined)return func;switch(argCount){case 1:return function(value){return func.call(thisArg,value)};case 3:return function(value,index,collection){return func.call(thisArg,value,index,collection)};case 4:return function(accumulator,value,index,collection){return func.call(thisArg,accumulator,value,index,collection)};case 5:return function(value,other,key,object,source){return func.call(thisArg,value,other,key,object,source)}}return function(){return func.apply(thisArg,arguments)}}function bufferClone(buffer){return bufferSlice.call(buffer,0)}function createAssigner(assigner){return restParam(function(object,sources){var index=-1,length=null==object?0:sources.length,customizer=length>2&&sources[length-2],guard=length>2&&sources[2],thisArg=length>1&&sources[length-1];for("function"==typeof customizer?(customizer=bindCallback(customizer,thisArg,5),length-=2):(customizer="function"==typeof thisArg?thisArg:null,length-=customizer?1:0),guard&&isIterateeCall(sources[0],sources[1],guard)&&(customizer=3>length?null:customizer,length=1);length>++index;){var source=sources[index];source&&assigner(object,source,customizer)}return object})}function createBaseEach(eachFunc,fromRight){return function(collection,iteratee){var length=collection?getLength(collection):0;if(!isLength(length))return eachFunc(collection,iteratee);for(var index=fromRight?length:-1,iterable=toObject(collection);(fromRight?index--:length>++index)&&iteratee(iterable[index],index,iterable)!==!1;);return collection}}function createBaseFor(fromRight){return function(object,iteratee,keysFunc){for(var iterable=toObject(object),props=keysFunc(object),length=props.length,index=fromRight?length:-1;fromRight?index--:length>++index;){var key=props[index];if(iteratee(iterable[key],key,iterable)===!1)break}return object}}function createFindIndex(fromRight){return function(array,predicate,thisArg){return array&&array.length?(predicate=getCallback(predicate,thisArg,3),baseFindIndex(array,predicate,fromRight)):-1}}function createForEach(arrayFunc,eachFunc){return function(collection,iteratee,thisArg){return"function"==typeof iteratee&&thisArg===undefined&&isArray(collection)?arrayFunc(collection,iteratee):eachFunc(collection,bindCallback(iteratee,thisArg,3))}}function equalArrays(array,other,equalFunc,customizer,isLoose,stackA,stackB){var index=-1,arrLength=array.length,othLength=other.length,result=!0;if(arrLength!=othLength&&!(isLoose&&othLength>arrLength))return!1;for(;result&&arrLength>++index;){var arrValue=array[index],othValue=other[index];if(result=undefined,customizer&&(result=isLoose?customizer(othValue,arrValue,index):customizer(arrValue,othValue,index)),result===undefined)if(isLoose)for(var othIndex=othLength;othIndex--&&(othValue=other[othIndex],!(result=arrValue&&arrValue===othValue||equalFunc(arrValue,othValue,customizer,isLoose,stackA,stackB))););else result=arrValue&&arrValue===othValue||equalFunc(arrValue,othValue,customizer,isLoose,stackA,stackB)}return!!result}function equalByTag(object,other,tag){switch(tag){case boolTag:case dateTag:return+object==+other;case errorTag:return object.name==other.name&&object.message==other.message;case numberTag:return object!=+object?other!=+other:0==object?1/object==1/other:object==+other;case regexpTag:case stringTag:return object==other+""}return!1}function equalObjects(object,other,equalFunc,customizer,isLoose,stackA,stackB){var objProps=keys(object),objLength=objProps.length,othProps=keys(other),othLength=othProps.length;if(objLength!=othLength&&!isLoose)return!1;for(var skipCtor=isLoose,index=-1;objLength>++index;){var key=objProps[index],result=isLoose?key in other:hasOwnProperty.call(other,key);if(result){var objValue=object[key],othValue=other[key];result=undefined,customizer&&(result=isLoose?customizer(othValue,objValue,key):customizer(objValue,othValue,key)),result===undefined&&(result=objValue&&objValue===othValue||equalFunc(objValue,othValue,customizer,isLoose,stackA,stackB))}if(!result)return!1;skipCtor||(skipCtor="constructor"==key)}if(!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;if(objCtor!=othCtor&&"constructor"in object&&"constructor"in other&&!("function"==typeof objCtor&&objCtor instanceof objCtor&&"function"==typeof othCtor&&othCtor instanceof othCtor))return!1}return!0}function getCallback(func,thisArg,argCount){var result=lodash.callback||callback;return result=result===callback?baseCallback:result,argCount?result(func,thisArg,argCount):result}function getIndexOf(collection,target,fromIndex){var result=lodash.indexOf||indexOf;return result=result===indexOf?baseIndexOf:result,collection?result(collection,target,fromIndex):result}function initCloneArray(array){var length=array.length,result=new array.constructor(length);return length&&"string"==typeof array[0]&&hasOwnProperty.call(array,"index")&&(result.index=array.index,result.input=array.input),result}function initCloneObject(object){var Ctor=object.constructor;return"function"==typeof Ctor&&Ctor instanceof Ctor||(Ctor=Object),new Ctor}function initCloneByTag(object,tag,isDeep){var Ctor=object.constructor;switch(tag){case arrayBufferTag:return bufferClone(object);case boolTag:case dateTag:return new Ctor(+object);case float32Tag:case float64Tag:case int8Tag:case int16Tag:case int32Tag:case uint8Tag:case uint8ClampedTag:case uint16Tag:case uint32Tag:var buffer=object.buffer;return new Ctor(isDeep?bufferClone(buffer):buffer,object.byteOffset,object.length);case numberTag:case stringTag:return new Ctor(object);case regexpTag:var result=new Ctor(object.source,reFlags.exec(object));result.lastIndex=object.lastIndex}return result}function isIndex(value,length){return value=+value,length=null==length?MAX_SAFE_INTEGER:length,value>-1&&0==value%1&&length>value}function isIterateeCall(value,index,object){if(!isObject(object))return!1;var type=typeof index;if("number"==type)var length=getLength(object),prereq=isLength(length)&&isIndex(index,length);else prereq="string"==type&&index in object;if(prereq){var other=object[index];return value===value?value===other:other!==other}return!1}function isKey(value,object){var type=typeof value;if("string"==type&&reIsPlainProp.test(value)||"number"==type)return!0;if(isArray(value))return!1;var result=!reIsDeepProp.test(value);return result||null!=object&&value in toObject(object)}function isLength(value){return"number"==typeof value&&value>-1&&0==value%1&&MAX_SAFE_INTEGER>=value}function isStrictComparable(value){return value===value&&(0===value?1/value>0:!isObject(value))}function shimIsPlainObject(value){var Ctor;if(lodash.support,!isObjectLike(value)||objToString.call(value)!=objectTag||!hasOwnProperty.call(value,"constructor")&&(Ctor=value.constructor,"function"==typeof Ctor&&!(Ctor instanceof Ctor)))return!1;var result;return baseForIn(value,function(subValue,key){result=key}),result===undefined||hasOwnProperty.call(value,result)}function shimKeys(object){for(var props=keysIn(object),propsLength=props.length,length=propsLength&&object.length,support=lodash.support,allowIndexes=length&&isLength(length)&&(isArray(object)||support.nonEnumArgs&&isArguments(object)),index=-1,result=[];propsLength>++index;){var key=props[index];(allowIndexes&&isIndex(key,length)||hasOwnProperty.call(object,key))&&result.push(key)}return result}function toObject(value){return isObject(value)?value:Object(value)}function toPath(value){if(isArray(value))return value;var result=[];return baseToString(value).replace(rePropName,function(match,number,quote,string){result.push(quote?string.replace(reEscapeChar,"$1"):number||match)}),result}function indexOf(array,value,fromIndex){var length=array?array.length:0;if(!length)return-1;if("number"==typeof fromIndex)fromIndex=0>fromIndex?nativeMax(length+fromIndex,0):fromIndex;else if(fromIndex){var index=binaryIndex(array,value),other=array[index];return(value===value?value===other:other!==other)?index:-1}return baseIndexOf(array,value,fromIndex||0)}function last(array){var length=array?array.length:0;return length?array[length-1]:undefined}function slice(array,start,end){var length=array?array.length:0;return length?(end&&"number"!=typeof end&&isIterateeCall(array,start,end)&&(start=0,end=length),baseSlice(array,start,end)):[]}function unzip(array){for(var index=-1,length=(array&&array.length&&arrayMax(arrayMap(array,getLength)))>>>0,result=Array(length);length>++index;)result[index]=arrayMap(array,baseProperty(index));return result}function includes(collection,target,fromIndex,guard){var length=collection?getLength(collection):0;return isLength(length)||(collection=values(collection),length=collection.length),length?(fromIndex="number"!=typeof fromIndex||guard&&isIterateeCall(target,fromIndex,guard)?0:0>fromIndex?nativeMax(length+fromIndex,0):fromIndex||0,"string"==typeof collection||!isArray(collection)&&isString(collection)?length>fromIndex&&collection.indexOf(target,fromIndex)>-1:getIndexOf(collection,target,fromIndex)>-1):!1}function reject(collection,predicate,thisArg){var func=isArray(collection)?arrayFilter:baseFilter;return predicate=getCallback(predicate,thisArg,3),func(collection,function(value,index,collection){return!predicate(value,index,collection)})}function some(collection,predicate,thisArg){var func=isArray(collection)?arraySome:baseSome;return thisArg&&isIterateeCall(collection,predicate,thisArg)&&(predicate=null),("function"!=typeof predicate||thisArg!==undefined)&&(predicate=getCallback(predicate,thisArg,3)),func(collection,predicate)}function restParam(func,start){if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return start=nativeMax(start===undefined?func.length-1:+start||0,0),function(){for(var args=arguments,index=-1,length=nativeMax(args.length-start,0),rest=Array(length);length>++index;)rest[index]=args[start+index];switch(start){case 0:return func.call(this,rest);case 1:return func.call(this,args[0],rest);case 2:return func.call(this,args[0],args[1],rest)}var otherArgs=Array(start+1);for(index=-1;start>++index;)otherArgs[index]=args[index];return otherArgs[start]=rest,func.apply(this,otherArgs)}}function clone(value,isDeep,customizer,thisArg){return isDeep&&"boolean"!=typeof isDeep&&isIterateeCall(value,isDeep,customizer)?isDeep=!1:"function"==typeof isDeep&&(thisArg=customizer,customizer=isDeep,isDeep=!1),customizer="function"==typeof customizer&&bindCallback(customizer,thisArg,1),baseClone(value,isDeep,customizer)}function isArguments(value){var length=isObjectLike(value)?value.length:undefined;return isLength(length)&&objToString.call(value)==argsTag}function isEmpty(value){if(null==value)return!0;var length=getLength(value);return isLength(length)&&(isArray(value)||isString(value)||isArguments(value)||isObjectLike(value)&&isFunction(value.splice))?!length:!keys(value).length}function isObject(value){var type=typeof value;return"function"==type||!!value&&"object"==type}function isNative(value){return null==value?!1:objToString.call(value)==funcTag?reIsNative.test(fnToString.call(value)):isObjectLike(value)&&reIsHostCtor.test(value)}function isNumber(value){return"number"==typeof value||isObjectLike(value)&&objToString.call(value)==numberTag}function isString(value){return"string"==typeof value||isObjectLike(value)&&objToString.call(value)==stringTag}function isTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[objToString.call(value)]}function toPlainObject(value){return baseCopy(value,keysIn(value))}function has(object,path){if(null==object)return!1;var result=hasOwnProperty.call(object,path);return result||isKey(path)||(path=toPath(path),object=1==path.length?object:baseGet(object,baseSlice(path,0,-1)),path=last(path),result=null!=object&&hasOwnProperty.call(object,path)),result}function keysIn(object){if(null==object)return[];isObject(object)||(object=Object(object));var length=object.length;length=length&&isLength(length)&&(isArray(object)||support.nonEnumArgs&&isArguments(object))&&length||0;for(var Ctor=object.constructor,index=-1,isProto="function"==typeof Ctor&&Ctor.prototype===object,result=Array(length),skipIndexes=length>0;length>++index;)result[index]=index+"";for(var key in object)skipIndexes&&isIndex(key,length)||"constructor"==key&&(isProto||!hasOwnProperty.call(object,key))||result.push(key);return result}function values(object){return baseValues(object,keys(object))}function escapeRegExp(string){return string=baseToString(string),string&&reHasRegExpChars.test(string)?string.replace(reRegExpChars,"\\\\$&"):string}function callback(func,thisArg,guard){return guard&&isIterateeCall(func,thisArg,guard)&&(thisArg=null),baseCallback(func,thisArg)}function constant(value){return function(){return value}}function identity(value){return value}function property(path){return isKey(path)?baseProperty(path):basePropertyDeep(path)}var undefined,VERSION="3.7.0",FUNC_ERROR_TEXT="Expected a function",argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",reIsDeepProp=/\\.|\\[(?:[^[\\]]+|(["\'])(?:(?!\\1)[^\\n\\\\]|\\\\.)*?)\\1\\]/,reIsPlainProp=/^\\w*$/,rePropName=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|(["\'])((?:(?!\\2)[^\\n\\\\]|\\\\.)*?)\\2)\\]/g,reRegExpChars=/[.*+?^${}()|[\\]\\/\\\\]/g,reHasRegExpChars=RegExp(reRegExpChars.source),reEscapeChar=/\\\\(\\\\)?/g,reFlags=/\\w*$/,reIsHostCtor=/^\\[object .+?Constructor\\]$/,typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0,typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;var cloneableTags={};cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[stringTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0,cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[mapTag]=cloneableTags[setTag]=cloneableTags[weakMapTag]=!1;var objectTypes={"function":!0,object:!0},freeExports=objectTypes[typeof exports]&&exports&&!exports.nodeType&&exports,freeModule=objectTypes[typeof module]&&module&&!module.nodeType&&module,freeGlobal=freeExports&&freeModule&&"object"==typeof global&&global&&global.Object&&global,freeSelf=objectTypes[typeof self]&&self&&self.Object&&self,freeWindow=objectTypes[typeof window]&&window&&window.Object&&window,moduleExports=freeModule&&freeModule.exports===freeExports&&freeExports,root=freeGlobal||freeWindow!==(this&&this.window)&&freeWindow||freeSelf||this,arrayProto=Array.prototype,objectProto=Object.prototype,fnToString=Function.prototype.toString,hasOwnProperty=objectProto.hasOwnProperty,objToString=objectProto.toString,reIsNative=RegExp("^"+escapeRegExp(objToString).replace(/toString|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,"$1.*?")+"$"),ArrayBuffer=isNative(ArrayBuffer=root.ArrayBuffer)&&ArrayBuffer,bufferSlice=isNative(bufferSlice=ArrayBuffer&&new ArrayBuffer(0).slice)&&bufferSlice,floor=Math.floor,getOwnPropertySymbols=isNative(getOwnPropertySymbols=Object.getOwnPropertySymbols)&&getOwnPropertySymbols,getPrototypeOf=isNative(getPrototypeOf=Object.getPrototypeOf)&&getPrototypeOf,push=arrayProto.push,preventExtensions=isNative(Object.preventExtensions=Object.preventExtensions)&&preventExtensions,propertyIsEnumerable=objectProto.propertyIsEnumerable,Uint8Array=isNative(Uint8Array=root.Uint8Array)&&Uint8Array,Float64Array=function(){try{var func=isNative(func=root.Float64Array)&&func,result=new func(new ArrayBuffer(10),0,1)&&func}catch(e){}return result}(),nativeAssign=function(){var object={1:0},func=preventExtensions&&isNative(func=Object.assign)&&func;try{func(preventExtensions(object),"xo")}catch(e){}return!object[1]&&func}(),nativeIsArray=isNative(nativeIsArray=Array.isArray)&&nativeIsArray,nativeKeys=isNative(nativeKeys=Object.keys)&&nativeKeys,nativeMax=Math.max,nativeMin=Math.min,NEGATIVE_INFINITY=Number.NEGATIVE_INFINITY,MAX_ARRAY_LENGTH=Math.pow(2,32)-1,MAX_ARRAY_INDEX=MAX_ARRAY_LENGTH-1,HALF_MAX_ARRAY_LENGTH=MAX_ARRAY_LENGTH>>>1,FLOAT64_BYTES_PER_ELEMENT=Float64Array?Float64Array.BYTES_PER_ELEMENT:0,MAX_SAFE_INTEGER=Math.pow(2,53)-1,support=lodash.support={};(function(x){var Ctor=function(){this.x=x},props=[];Ctor.prototype={valueOf:x,y:x};for(var key in new Ctor)props.push(key);support.funcDecomp=/\\bthis\\b/.test(function(){return this}),support.funcNames="string"==typeof Function.name;try{support.nonEnumArgs=!propertyIsEnumerable.call(arguments,1)}catch(e){support.nonEnumArgs=!0}})(1,0);var baseAssign=nativeAssign||function(object,source){return null==source?object:baseCopy(source,getSymbols(source),baseCopy(source,keys(source),object))},baseEach=createBaseEach(baseForOwn),baseFor=createBaseFor();bufferSlice||(bufferClone=ArrayBuffer&&Uint8Array?function(buffer){var byteLength=buffer.byteLength,floatLength=Float64Array?floor(byteLength/FLOAT64_BYTES_PER_ELEMENT):0,offset=floatLength*FLOAT64_BYTES_PER_ELEMENT,result=new ArrayBuffer(byteLength);if(floatLength){var view=new Float64Array(result,0,floatLength);view.set(new Float64Array(buffer,0,floatLength))}return byteLength!=offset&&(view=new Uint8Array(result,offset),view.set(new Uint8Array(buffer,offset))),result}:constant(null));var getLength=baseProperty("length"),getSymbols=getOwnPropertySymbols?function(object){return getOwnPropertySymbols(toObject(object))}:constant([]),findLastIndex=createFindIndex(!0),zip=restParam(unzip),forEach=createForEach(arrayEach,baseEach),isArray=nativeIsArray||function(value){return isObjectLike(value)&&isLength(value.length)&&objToString.call(value)==arrayTag},isFunction=baseIsFunction(/x/)||Uint8Array&&!baseIsFunction(Uint8Array)?function(value){return objToString.call(value)==funcTag}:baseIsFunction,isPlainObject=getPrototypeOf?function(value){if(!value||objToString.call(value)!=objectTag)return!1;var valueOf=value.valueOf,objProto=isNative(valueOf)&&(objProto=getPrototypeOf(valueOf))&&getPrototypeOf(objProto);return objProto?value==objProto||getPrototypeOf(value)==objProto:shimIsPlainObject(value)}:shimIsPlainObject,assign=createAssigner(function(object,source,customizer){return customizer?assignWith(object,source,customizer):baseAssign(object,source)}),keys=nativeKeys?function(object){if(object)var Ctor=object.constructor,length=object.length;return"function"==typeof Ctor&&Ctor.prototype===object||"function"!=typeof object&&isLength(length)?shimKeys(object):isObject(object)?nativeKeys(object):[]}:shimKeys,merge=createAssigner(baseMerge);lodash.assign=assign,lodash.callback=callback,lodash.constant=constant,lodash.forEach=forEach,lodash.keys=keys,lodash.keysIn=keysIn,lodash.merge=merge,lodash.property=property,lodash.reject=reject,lodash.restParam=restParam,lodash.slice=slice,lodash.toPlainObject=toPlainObject,lodash.unzip=unzip,lodash.values=values,lodash.zip=zip,lodash.each=forEach,lodash.extend=assign,lodash.iteratee=callback,lodash.clone=clone,lodash.escapeRegExp=escapeRegExp,lodash.findLastIndex=findLastIndex,lodash.has=has,lodash.identity=identity,lodash.includes=includes,lodash.indexOf=indexOf,lodash.isArguments=isArguments,lodash.isArray=isArray,lodash.isEmpty=isEmpty,lodash.isFunction=isFunction,lodash.isNative=isNative,lodash.isNumber=isNumber,lodash.isObject=isObject,lodash.isPlainObject=isPlainObject,lodash.isString=isString,lodash.isTypedArray=isTypedArray,lodash.last=last,lodash.some=some,lodash.any=some,lodash.contains=includes,lodash.include=includes,lodash.VERSION=VERSION,freeExports&&freeModule?moduleExports?(freeModule.exports=lodash)._=lodash:freeExports._=lodash:root._=lodash\n}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],"/node_modules/jshint/src/jshint.js":[function(_dereq_,module,exports){var _=_dereq_("../lodash"),events=_dereq_("events"),vars=_dereq_("./vars.js"),messages=_dereq_("./messages.js"),Lexer=_dereq_("./lex.js").Lexer,reg=_dereq_("./reg.js"),state=_dereq_("./state.js").state,style=_dereq_("./style.js"),options=_dereq_("./options.js"),scopeManager=_dereq_("./scope-manager.js"),JSHINT=function(){"use strict";function checkOption(name,t){return name=name.trim(),/^[+-]W\\d{3}$/g.test(name)?!0:-1!==options.validNames.indexOf(name)||"jslint"===t.type||_.has(options.removed,name)?!0:(error("E001",t,name),!1)}function isString(obj){return"[object String]"===Object.prototype.toString.call(obj)}function isIdentifier(tkn,value){return tkn?tkn.identifier&&tkn.value===value?!0:!1:!1}function isReserved(token){if(!token.reserved)return!1;var meta=token.meta;if(meta&&meta.isFutureReservedWord&&state.inES5()){if(!meta.es5)return!1;if(meta.strictOnly&&!state.option.strict&&!state.isStrict())return!1;if(token.isProperty)return!1}return!0}function supplant(str,data){return str.replace(/\\{([^{}]*)\\}/g,function(a,b){var r=data[b];return"string"==typeof r||"number"==typeof r?r:a})}function combine(dest,src){Object.keys(src).forEach(function(name){_.has(JSHINT.blacklist,name)||(dest[name]=src[name])})}function processenforceall(){if(state.option.enforceall){for(var enforceopt in options.bool.enforcing)void 0!==state.option[enforceopt]||options.noenforceall[enforceopt]||(state.option[enforceopt]=!0);for(var relaxopt in options.bool.relaxing)void 0===state.option[relaxopt]&&(state.option[relaxopt]=!1)}}function assume(){processenforceall(),state.option.esversion||state.option.moz||(state.option.esversion=state.option.es3?3:state.option.esnext?6:5),state.inES5()&&combine(predefined,vars.ecmaIdentifiers[5]),state.inES6()&&combine(predefined,vars.ecmaIdentifiers[6]),state.option.module&&(state.option.strict===!0&&(state.option.strict="global"),state.inES6()||warning("W134",state.tokens.next,"module",6)),state.option.couch&&combine(predefined,vars.couch),state.option.qunit&&combine(predefined,vars.qunit),state.option.rhino&&combine(predefined,vars.rhino),state.option.shelljs&&(combine(predefined,vars.shelljs),combine(predefined,vars.node)),state.option.typed&&combine(predefined,vars.typed),state.option.phantom&&(combine(predefined,vars.phantom),state.option.strict===!0&&(state.option.strict="global")),state.option.prototypejs&&combine(predefined,vars.prototypejs),state.option.node&&(combine(predefined,vars.node),combine(predefined,vars.typed),state.option.strict===!0&&(state.option.strict="global")),state.option.devel&&combine(predefined,vars.devel),state.option.dojo&&combine(predefined,vars.dojo),state.option.browser&&(combine(predefined,vars.browser),combine(predefined,vars.typed)),state.option.browserify&&(combine(predefined,vars.browser),combine(predefined,vars.typed),combine(predefined,vars.browserify),state.option.strict===!0&&(state.option.strict="global")),state.option.nonstandard&&combine(predefined,vars.nonstandard),state.option.jasmine&&combine(predefined,vars.jasmine),state.option.jquery&&combine(predefined,vars.jquery),state.option.mootools&&combine(predefined,vars.mootools),state.option.worker&&combine(predefined,vars.worker),state.option.wsh&&combine(predefined,vars.wsh),state.option.globalstrict&&state.option.strict!==!1&&(state.option.strict="global"),state.option.yui&&combine(predefined,vars.yui),state.option.mocha&&combine(predefined,vars.mocha)}function quit(code,line,chr){var percentage=Math.floor(100*(line/state.lines.length)),message=messages.errors[code].desc;throw{name:"JSHintError",line:line,character:chr,message:message+" ("+percentage+"% scanned).",raw:message,code:code}}function removeIgnoredMessages(){var ignored=state.ignoredLines;_.isEmpty(ignored)||(JSHINT.errors=_.reject(JSHINT.errors,function(err){return ignored[err.line]}))}function warning(code,t,a,b,c,d){var ch,l,w,msg;if(/^W\\d{3}$/.test(code)){if(state.ignored[code])return;msg=messages.warnings[code]}else/E\\d{3}/.test(code)?msg=messages.errors[code]:/I\\d{3}/.test(code)&&(msg=messages.info[code]);return t=t||state.tokens.next||{},"(end)"===t.id&&(t=state.tokens.curr),l=t.line||0,ch=t.from||0,w={id:"(error)",raw:msg.desc,code:msg.code,evidence:state.lines[l-1]||"",line:l,character:ch,scope:JSHINT.scope,a:a,b:b,c:c,d:d},w.reason=supplant(msg.desc,w),JSHINT.errors.push(w),removeIgnoredMessages(),JSHINT.errors.length>=state.option.maxerr&&quit("E043",l,ch),w}function warningAt(m,l,ch,a,b,c,d){return warning(m,{line:l,from:ch},a,b,c,d)}function error(m,t,a,b,c,d){warning(m,t,a,b,c,d)}function errorAt(m,l,ch,a,b,c,d){return error(m,{line:l,from:ch},a,b,c,d)}function addInternalSrc(elem,src){var i;return i={id:"(internal)",elem:elem,value:src},JSHINT.internals.push(i),i}function doOption(){var nt=state.tokens.next,body=nt.body.match(/(-\\s+)?[^\\s,:]+(?:\\s*:\\s*(-\\s+)?[^\\s,]+)?/g)||[],predef={};if("globals"===nt.type){body.forEach(function(g,idx){g=g.split(":");var key=(g[0]||"").trim(),val=(g[1]||"").trim();if("-"===key||!key.length){if(idx>0&&idx===body.length-1)return;return error("E002",nt),void 0}"-"===key.charAt(0)?(key=key.slice(1),val=!1,JSHINT.blacklist[key]=key,delete predefined[key]):predef[key]="true"===val}),combine(predefined,predef);for(var key in predef)_.has(predef,key)&&(declared[key]=nt)}"exported"===nt.type&&body.forEach(function(e,idx){if(!e.length){if(idx>0&&idx===body.length-1)return;return error("E002",nt),void 0}state.funct["(scope)"].addExported(e)}),"members"===nt.type&&(membersOnly=membersOnly||{},body.forEach(function(m){var ch1=m.charAt(0),ch2=m.charAt(m.length-1);ch1!==ch2||\'"\'!==ch1&&"\'"!==ch1||(m=m.substr(1,m.length-2).replace(\'\\\\"\',\'"\')),membersOnly[m]=!1}));var numvals=["maxstatements","maxparams","maxdepth","maxcomplexity","maxerr","maxlen","indent"];("jshint"===nt.type||"jslint"===nt.type)&&(body.forEach(function(g){g=g.split(":");var key=(g[0]||"").trim(),val=(g[1]||"").trim();if(checkOption(key,nt))if(numvals.indexOf(key)>=0)if("false"!==val){if(val=+val,"number"!=typeof val||!isFinite(val)||0>=val||Math.floor(val)!==val)return error("E032",nt,g[1].trim()),void 0;state.option[key]=val}else state.option[key]="indent"===key?4:!1;else{if("validthis"===key)return state.funct["(global)"]?void error("E009"):"true"!==val&&"false"!==val?void error("E002",nt):(state.option.validthis="true"===val,void 0);if("quotmark"!==key)if("shadow"!==key)if("unused"!==key)if("latedef"!==key)if("ignore"!==key)if("strict"!==key){"module"===key&&(hasParsedCode(state.funct)||error("E055",state.tokens.next,"module"));var esversions={es3:3,es5:5,esnext:6};if(!_.has(esversions,key)){if("esversion"===key){switch(val){case"5":state.inES5(!0)&&warning("I003");case"3":case"6":state.option.moz=!1,state.option.esversion=+val;break;case"2015":state.option.moz=!1,state.option.esversion=6;break;default:error("E002",nt)}return hasParsedCode(state.funct)||error("E055",state.tokens.next,"esversion"),void 0}var match=/^([+-])(W\\d{3})$/g.exec(key);if(match)return state.ignored[match[2]]="-"===match[1],void 0;var tn;return"true"===val||"false"===val?("jslint"===nt.type?(tn=options.renamed[key]||key,state.option[tn]="true"===val,void 0!==options.inverted[tn]&&(state.option[tn]=!state.option[tn])):state.option[key]="true"===val,"newcap"===key&&(state.option["(explicitNewcap)"]=!0),void 0):(error("E002",nt),void 0)}switch(val){case"true":state.option.moz=!1,state.option.esversion=esversions[key];break;case"false":state.option.moz||(state.option.esversion=5);break;default:error("E002",nt)}}else switch(val){case"true":state.option.strict=!0;break;case"false":state.option.strict=!1;break;case"func":case"global":case"implied":state.option.strict=val;break;default:error("E002",nt)}else switch(val){case"line":state.ignoredLines[nt.line]=!0,removeIgnoredMessages();break;default:error("E002",nt)}else switch(val){case"true":state.option.latedef=!0;break;case"false":state.option.latedef=!1;break;case"nofunc":state.option.latedef="nofunc";break;default:error("E002",nt)}else switch(val){case"true":state.option.unused=!0;break;case"false":state.option.unused=!1;break;case"vars":case"strict":state.option.unused=val;break;default:error("E002",nt)}else switch(val){case"true":state.option.shadow=!0;break;case"outer":state.option.shadow="outer";break;case"false":case"inner":state.option.shadow="inner";break;default:error("E002",nt)}else switch(val){case"true":case"false":state.option.quotmark="true"===val;break;case"double":case"single":state.option.quotmark=val;break;default:error("E002",nt)}}}),assume())}function peek(p){var t,i=p||0,j=lookahead.length;if(j>i)return lookahead[i];for(;i>=j;)t=lookahead[j],t||(t=lookahead[j]=lex.token()),j+=1;return t||"(end)"!==state.tokens.next.id?t:state.tokens.next}function peekIgnoreEOL(){var t,i=0;do t=peek(i++);while("(endline)"===t.id);return t}function advance(id,t){switch(state.tokens.curr.id){case"(number)":"."===state.tokens.next.id&&warning("W005",state.tokens.curr);break;case"-":("-"===state.tokens.next.id||"--"===state.tokens.next.id)&&warning("W006");break;case"+":("+"===state.tokens.next.id||"++"===state.tokens.next.id)&&warning("W007")}for(id&&state.tokens.next.id!==id&&(t?"(end)"===state.tokens.next.id?error("E019",t,t.id):error("E020",state.tokens.next,id,t.id,t.line,state.tokens.next.value):("(identifier)"!==state.tokens.next.type||state.tokens.next.value!==id)&&warning("W116",state.tokens.next,id,state.tokens.next.value)),state.tokens.prev=state.tokens.curr,state.tokens.curr=state.tokens.next;;){if(state.tokens.next=lookahead.shift()||lex.token(),state.tokens.next||quit("E041",state.tokens.curr.line),"(end)"===state.tokens.next.id||"(error)"===state.tokens.next.id)return;if(state.tokens.next.check&&state.tokens.next.check(),state.tokens.next.isSpecial)"falls through"===state.tokens.next.type?state.tokens.curr.caseFallsThrough=!0:doOption();else if("(endline)"!==state.tokens.next.id)break}}function isInfix(token){return token.infix||!token.identifier&&!token.template&&!!token.led}function isEndOfExpr(){var curr=state.tokens.curr,next=state.tokens.next;return";"===next.id||"}"===next.id||":"===next.id?!0:isInfix(next)===isInfix(curr)||"yield"===curr.id&&state.inMoz()?curr.line!==startLine(next):!1}function isBeginOfExpr(prev){return!prev.left&&"unary"!==prev.arity}function expression(rbp,initial){var left,isArray=!1,isObject=!1,isLetExpr=!1;state.nameStack.push(),initial||"let"!==state.tokens.next.value||"("!==peek(0).value||(state.inMoz()||warning("W118",state.tokens.next,"let expressions"),isLetExpr=!0,state.funct["(scope)"].stack(),advance("let"),advance("("),state.tokens.prev.fud(),advance(")")),"(end)"===state.tokens.next.id&&error("E006",state.tokens.curr);var isDangerous=state.option.asi&&state.tokens.prev.line!==startLine(state.tokens.curr)&&_.contains(["]",")"],state.tokens.prev.id)&&_.contains(["[","("],state.tokens.curr.id);if(isDangerous&&warning("W014",state.tokens.curr,state.tokens.curr.id),advance(),initial&&(state.funct["(verb)"]=state.tokens.curr.value,state.tokens.curr.beginsStmt=!0),initial===!0&&state.tokens.curr.fud)left=state.tokens.curr.fud();else for(state.tokens.curr.nud?left=state.tokens.curr.nud():error("E030",state.tokens.curr,state.tokens.curr.id);(state.tokens.next.lbp>rbp||"(template)"===state.tokens.next.type)&&!isEndOfExpr();)isArray="Array"===state.tokens.curr.value,isObject="Object"===state.tokens.curr.value,left&&(left.value||left.first&&left.first.value)&&("new"!==left.value||left.first&&left.first.value&&"."===left.first.value)&&(isArray=!1,left.value!==state.tokens.curr.value&&(isObject=!1)),advance(),isArray&&"("===state.tokens.curr.id&&")"===state.tokens.next.id&&warning("W009",state.tokens.curr),isObject&&"("===state.tokens.curr.id&&")"===state.tokens.next.id&&warning("W010",state.tokens.curr),left&&state.tokens.curr.led?left=state.tokens.curr.led(left):error("E033",state.tokens.curr,state.tokens.curr.id);return isLetExpr&&state.funct["(scope)"].unstack(),state.nameStack.pop(),left}function startLine(token){return token.startLine||token.line}function nobreaknonadjacent(left,right){left=left||state.tokens.curr,right=right||state.tokens.next,state.option.laxbreak||left.line===startLine(right)||warning("W014",right,right.value)}function nolinebreak(t){t=t||state.tokens.curr,t.line!==startLine(state.tokens.next)&&warning("E022",t,t.value)}function nobreakcomma(left,right){left.line!==startLine(right)&&(state.option.laxcomma||(comma.first&&(warning("I001"),comma.first=!1),warning("W014",left,right.value)))}function comma(opts){if(opts=opts||{},opts.peek?nobreakcomma(state.tokens.prev,state.tokens.curr):(nobreakcomma(state.tokens.curr,state.tokens.next),advance(",")),state.tokens.next.identifier&&(!opts.property||!state.inES5()))switch(state.tokens.next.value){case"break":case"case":case"catch":case"continue":case"default":case"do":case"else":case"finally":case"for":case"if":case"in":case"instanceof":case"return":case"switch":case"throw":case"try":case"var":case"let":case"while":case"with":return error("E024",state.tokens.next,state.tokens.next.value),!1}if("(punctuator)"===state.tokens.next.type)switch(state.tokens.next.value){case"}":case"]":case",":if(opts.allowTrailing)return!0;case")":return error("E024",state.tokens.next,state.tokens.next.value),!1}return!0}function symbol(s,p){var x=state.syntax[s];return x&&"object"==typeof x||(state.syntax[s]=x={id:s,lbp:p,value:s}),x}function delim(s){var x=symbol(s,0);return x.delim=!0,x}function stmt(s,f){var x=delim(s);return x.identifier=x.reserved=!0,x.fud=f,x}function blockstmt(s,f){var x=stmt(s,f);return x.block=!0,x}function reserveName(x){var c=x.id.charAt(0);return(c>="a"&&"z">=c||c>="A"&&"Z">=c)&&(x.identifier=x.reserved=!0),x}function prefix(s,f){var x=symbol(s,150);return reserveName(x),x.nud="function"==typeof f?f:function(){return this.arity="unary",this.right=expression(150),("++"===this.id||"--"===this.id)&&(state.option.plusplus?warning("W016",this,this.id):!this.right||this.right.identifier&&!isReserved(this.right)||"."===this.right.id||"["===this.right.id||warning("W017",this),this.right&&this.right.isMetaProperty?error("E031",this):this.right&&this.right.identifier&&state.funct["(scope)"].block.modify(this.right.value,this)),this},x}function type(s,f){var x=delim(s);return x.type=s,x.nud=f,x}function reserve(name,func){var x=type(name,func);return x.identifier=!0,x.reserved=!0,x}function FutureReservedWord(name,meta){var x=type(name,meta&&meta.nud||function(){return this});return meta=meta||{},meta.isFutureReservedWord=!0,x.value=name,x.identifier=!0,x.reserved=!0,x.meta=meta,x}function reservevar(s,v){return reserve(s,function(){return"function"==typeof v&&v(this),this})}function infix(s,f,p,w){var x=symbol(s,p);return reserveName(x),x.infix=!0,x.led=function(left){return w||nobreaknonadjacent(state.tokens.prev,state.tokens.curr),"in"!==s&&"instanceof"!==s||"!"!==left.id||warning("W018",left,"!"),"function"==typeof f?f(left,this):(this.left=left,this.right=expression(p),this)},x}function application(s){var x=symbol(s,42);return x.led=function(left){return nobreaknonadjacent(state.tokens.prev,state.tokens.curr),this.left=left,this.right=doFunction({type:"arrow",loneArg:left}),this},x}function relation(s,f){var x=symbol(s,100);return x.led=function(left){nobreaknonadjacent(state.tokens.prev,state.tokens.curr),this.left=left;var right=this.right=expression(100);return isIdentifier(left,"NaN")||isIdentifier(right,"NaN")?warning("W019",this):f&&f.apply(this,[left,right]),left&&right||quit("E041",state.tokens.curr.line),"!"===left.id&&warning("W018",left,"!"),"!"===right.id&&warning("W018",right,"!"),this},x}function isPoorRelation(node){return node&&("(number)"===node.type&&0===+node.value||"(string)"===node.type&&""===node.value||"null"===node.type&&!state.option.eqnull||"true"===node.type||"false"===node.type||"undefined"===node.type)}function isTypoTypeof(left,right,state){var values;return state.option.notypeof?!1:left&&right?(values=state.inES6()?typeofValues.es6:typeofValues.es3,"(identifier)"===right.type&&"typeof"===right.value&&"(string)"===left.type?!_.contains(values,left.value):!1):!1}function isGlobalEval(left,state){var isGlobal=!1;return"this"===left.type&&null===state.funct["(context)"]?isGlobal=!0:"(identifier)"===left.type&&(state.option.node&&"global"===left.value?isGlobal=!0:!state.option.browser||"window"!==left.value&&"document"!==left.value||(isGlobal=!0)),isGlobal}function findNativePrototype(left){function walkPrototype(obj){return"object"==typeof obj?"prototype"===obj.right?obj:walkPrototype(obj.left):void 0}function walkNative(obj){for(;!obj.identifier&&"object"==typeof obj.left;)obj=obj.left;return obj.identifier&&natives.indexOf(obj.value)>=0?obj.value:void 0}var natives=["Array","ArrayBuffer","Boolean","Collator","DataView","Date","DateTimeFormat","Error","EvalError","Float32Array","Float64Array","Function","Infinity","Intl","Int16Array","Int32Array","Int8Array","Iterator","Number","NumberFormat","Object","RangeError","ReferenceError","RegExp","StopIteration","String","SyntaxError","TypeError","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","URIError"],prototype=walkPrototype(left);return prototype?walkNative(prototype):void 0}function checkLeftSideAssign(left,assignToken,options){var allowDestructuring=options&&options.allowDestructuring;if(assignToken=assignToken||left,state.option.freeze){var nativeObject=findNativePrototype(left);nativeObject&&warning("W121",left,nativeObject)}return left.identifier&&!left.isMetaProperty&&state.funct["(scope)"].block.reassign(left.value,left),"."===left.id?((!left.left||"arguments"===left.left.value&&!state.isStrict())&&warning("E031",assignToken),state.nameStack.set(state.tokens.prev),!0):"{"===left.id||"["===left.id?(allowDestructuring&&state.tokens.curr.left.destructAssign?state.tokens.curr.left.destructAssign.forEach(function(t){t.id&&state.funct["(scope)"].block.modify(t.id,t.token)}):"{"!==left.id&&left.left?"arguments"!==left.left.value||state.isStrict()||warning("E031",assignToken):warning("E031",assignToken),"["===left.id&&state.nameStack.set(left.right),!0):left.isMetaProperty?(error("E031",assignToken),!0):left.identifier&&!isReserved(left)?("exception"===state.funct["(scope)"].labeltype(left.value)&&warning("W022",left),state.nameStack.set(left),!0):(left===state.syntax["function"]&&warning("W023",state.tokens.curr),!1)}function assignop(s,f,p){var x=infix(s,"function"==typeof f?f:function(left,that){return that.left=left,left&&checkLeftSideAssign(left,that,{allowDestructuring:!0})?(that.right=expression(10),that):(error("E031",that),void 0)},p);return x.exps=!0,x.assign=!0,x}function bitwise(s,f,p){var x=symbol(s,p);return reserveName(x),x.led="function"==typeof f?f:function(left){return state.option.bitwise&&warning("W016",this,this.id),this.left=left,this.right=expression(p),this},x}function bitwiseassignop(s){return assignop(s,function(left,that){return state.option.bitwise&&warning("W016",that,that.id),left&&checkLeftSideAssign(left,that)?(that.right=expression(10),that):(error("E031",that),void 0)},20)}function suffix(s){var x=symbol(s,150);return x.led=function(left){return state.option.plusplus?warning("W016",this,this.id):left.identifier&&!isReserved(left)||"."===left.id||"["===left.id||warning("W017",this),left.isMetaProperty?error("E031",this):left&&left.identifier&&state.funct["(scope)"].block.modify(left.value,left),this.left=left,this},x}function optionalidentifier(fnparam,prop,preserve){if(state.tokens.next.identifier){preserve||advance();var curr=state.tokens.curr,val=state.tokens.curr.value;return isReserved(curr)?prop&&state.inES5()?val:fnparam&&"undefined"===val?val:(warning("W024",state.tokens.curr,state.tokens.curr.id),val):val}}function identifier(fnparam,prop){var i=optionalidentifier(fnparam,prop,!1);if(i)return i;if("..."===state.tokens.next.value){if(state.inES6(!0)||warning("W119",state.tokens.next,"spread/rest operator","6"),advance(),checkPunctuator(state.tokens.next,"..."))for(warning("E024",state.tokens.next,"...");checkPunctuator(state.tokens.next,"...");)advance();return state.tokens.next.identifier?identifier(fnparam,prop):(warning("E024",state.tokens.curr,"..."),void 0)}error("E030",state.tokens.next,state.tokens.next.value),";"!==state.tokens.next.id&&advance()}function reachable(controlToken){var t,i=0;if(";"===state.tokens.next.id&&!controlToken.inBracelessBlock)for(;;){do t=peek(i),i+=1;while("(end)"!==t.id&&"(comment)"===t.id);if(t.reach)return;if("(endline)"!==t.id){if("function"===t.id){state.option.latedef===!0&&warning("W026",t);break}warning("W027",t,t.value,controlToken.value);break}}}function parseFinalSemicolon(){if(";"!==state.tokens.next.id){if(state.tokens.next.isUnclosed)return advance();var sameLine=startLine(state.tokens.next)===state.tokens.curr.line&&"(end)"!==state.tokens.next.id,blockEnd=checkPunctuator(state.tokens.next,"}");sameLine&&!blockEnd?errorAt("E058",state.tokens.curr.line,state.tokens.curr.character):state.option.asi||(blockEnd&&!state.option.lastsemic||!sameLine)&&warningAt("W033",state.tokens.curr.line,state.tokens.curr.character)}else advance(";")}function statement(){var r,i=indent,t=state.tokens.next,hasOwnScope=!1;if(";"===t.id)return advance(";"),void 0;var res=isReserved(t);if(res&&t.meta&&t.meta.isFutureReservedWord&&":"===peek().id&&(warning("W024",t,t.id),res=!1),t.identifier&&!res&&":"===peek().id&&(advance(),advance(":"),hasOwnScope=!0,state.funct["(scope)"].stack(),state.funct["(scope)"].block.addBreakLabel(t.value,{token:state.tokens.curr}),state.tokens.next.labelled||"{"===state.tokens.next.value||warning("W028",state.tokens.next,t.value,state.tokens.next.value),state.tokens.next.label=t.value,t=state.tokens.next),"{"===t.id){var iscase="case"===state.funct["(verb)"]&&":"===state.tokens.curr.value;return block(!0,!0,!1,!1,iscase),void 0}return r=expression(0,!0),!r||r.identifier&&"function"===r.value||"(punctuator)"===r.type&&r.left&&r.left.identifier&&"function"===r.left.value||state.isStrict()||"global"!==state.option.strict||warning("E007"),t.block||(state.option.expr||r&&r.exps?state.option.nonew&&r&&r.left&&"("===r.id&&"new"===r.left.id&&warning("W031",t):warning("W030",state.tokens.curr),parseFinalSemicolon()),indent=i,hasOwnScope&&state.funct["(scope)"].unstack(),r}function statements(){for(var p,a=[];!state.tokens.next.reach&&"(end)"!==state.tokens.next.id;)";"===state.tokens.next.id?(p=peek(),(!p||"("!==p.id&&"["!==p.id)&&warning("W032"),advance(";")):a.push(statement());return a}function directives(){for(var i,p,pn;"(string)"===state.tokens.next.id;){if(p=peek(0),"(endline)"===p.id){i=1;do pn=peek(i++);while("(endline)"===pn.id);if(";"===pn.id)p=pn;else{if("["===pn.value||"."===pn.value)break;state.option.asi&&"("!==pn.value||warning("W033",state.tokens.next)}}else{if("."===p.id||"["===p.id)break;";"!==p.id&&warning("W033",p)}advance();var directive=state.tokens.curr.value;(state.directive[directive]||"use strict"===directive&&"implied"===state.option.strict)&&warning("W034",state.tokens.curr,directive),state.directive[directive]=!0,";"===p.id&&advance(";")}state.isStrict()&&(state.option["(explicitNewcap)"]||(state.option.newcap=!0),state.option.undef=!0)}function block(ordinary,stmt,isfunc,isfatarrow,iscase){var a,m,t,line,d,b=inblock,old_indent=indent;inblock=ordinary,t=state.tokens.next;var metrics=state.funct["(metrics)"];if(metrics.nestedBlockDepth+=1,metrics.verifyMaxNestedBlockDepthPerFunction(),"{"===state.tokens.next.id){if(advance("{"),state.funct["(scope)"].stack(),line=state.tokens.curr.line,"}"!==state.tokens.next.id){for(indent+=state.option.indent;!ordinary&&state.tokens.next.from>indent;)indent+=state.option.indent;if(isfunc){m={};for(d in state.directive)_.has(state.directive,d)&&(m[d]=state.directive[d]);directives(),state.option.strict&&state.funct["(context)"]["(global)"]&&(m["use strict"]||state.isStrict()||warning("E007"))}a=statements(),metrics.statementCount+=a.length,indent-=state.option.indent}advance("}",t),isfunc&&(state.funct["(scope)"].validateParams(),m&&(state.directive=m)),state.funct["(scope)"].unstack(),indent=old_indent}else if(ordinary)state.funct["(noblockscopedvar)"]="for"!==state.tokens.next.id,state.funct["(scope)"].stack(),(!stmt||state.option.curly)&&warning("W116",state.tokens.next,"{",state.tokens.next.value),state.tokens.next.inBracelessBlock=!0,indent+=state.option.indent,a=[statement()],indent-=state.option.indent,state.funct["(scope)"].unstack(),delete state.funct["(noblockscopedvar)"];else if(isfunc){if(state.funct["(scope)"].stack(),m={},!stmt||isfatarrow||state.inMoz()||error("W118",state.tokens.curr,"function closure expressions"),!stmt)for(d in state.directive)_.has(state.directive,d)&&(m[d]=state.directive[d]);expression(10),state.option.strict&&state.funct["(context)"]["(global)"]&&(m["use strict"]||state.isStrict()||warning("E007")),state.funct["(scope)"].unstack()}else error("E021",state.tokens.next,"{",state.tokens.next.value);switch(state.funct["(verb)"]){case"break":case"continue":case"return":case"throw":if(iscase)break;default:state.funct["(verb)"]=null}return inblock=b,!ordinary||!state.option.noempty||a&&0!==a.length||warning("W035",state.tokens.prev),metrics.nestedBlockDepth-=1,a}function countMember(m){membersOnly&&"boolean"!=typeof membersOnly[m]&&warning("W036",state.tokens.curr,m),"number"==typeof member[m]?member[m]+=1:member[m]=1}function comprehensiveArrayExpression(){var res={};res.exps=!0,state.funct["(comparray)"].stack();var reversed=!1;return"for"!==state.tokens.next.value&&(reversed=!0,state.inMoz()||warning("W116",state.tokens.next,"for",state.tokens.next.value),state.funct["(comparray)"].setState("use"),res.right=expression(10)),advance("for"),"each"===state.tokens.next.value&&(advance("each"),state.inMoz()||warning("W118",state.tokens.curr,"for each")),advance("("),state.funct["(comparray)"].setState("define"),res.left=expression(130),_.contains(["in","of"],state.tokens.next.value)?advance():error("E045",state.tokens.curr),state.funct["(comparray)"].setState("generate"),expression(10),advance(")"),"if"===state.tokens.next.value&&(advance("if"),advance("("),state.funct["(comparray)"].setState("filter"),res.filter=expression(10),advance(")")),reversed||(state.funct["(comparray)"].setState("use"),res.right=expression(10)),advance("]"),state.funct["(comparray)"].unstack(),res}function isMethod(){return state.funct["(statement)"]&&"class"===state.funct["(statement)"].type||state.funct["(context)"]&&"class"===state.funct["(context)"]["(verb)"]}function isPropertyName(token){return token.identifier||"(string)"===token.id||"(number)"===token.id}function propertyName(preserveOrToken){var id,preserve=!0;return"object"==typeof preserveOrToken?id=preserveOrToken:(preserve=preserveOrToken,id=optionalidentifier(!1,!0,preserve)),id?"object"==typeof id&&("(string)"===id.id||"(identifier)"===id.id?id=id.value:"(number)"===id.id&&(id=""+id.value)):"(string)"===state.tokens.next.id?(id=state.tokens.next.value,preserve||advance()):"(number)"===state.tokens.next.id&&(id=""+state.tokens.next.value,preserve||advance()),"hasOwnProperty"===id&&warning("W001"),id}function functionparams(options){function addParam(addParamArgs){state.funct["(scope)"].addParam.apply(state.funct["(scope)"],addParamArgs)}var next,ident,t,paramsIds=[],tokens=[],pastDefault=!1,pastRest=!1,arity=0,loneArg=options&&options.loneArg;if(loneArg&&loneArg.identifier===!0)return state.funct["(scope)"].addParam(loneArg.value,loneArg),{arity:1,params:[loneArg.value]};if(next=state.tokens.next,options&&options.parsedOpening||advance("("),")"===state.tokens.next.id)return advance(")"),void 0;for(;;){arity++;var currentParams=[];if(_.contains(["{","["],state.tokens.next.id)){tokens=destructuringPattern();for(t in tokens)t=tokens[t],t.id&&(paramsIds.push(t.id),currentParams.push([t.id,t.token]))}else if(checkPunctuator(state.tokens.next,"...")&&(pastRest=!0),ident=identifier(!0))paramsIds.push(ident),currentParams.push([ident,state.tokens.curr]);else for(;!checkPunctuators(state.tokens.next,[",",")"]);)advance();if(pastDefault&&"="!==state.tokens.next.id&&error("W138",state.tokens.current),"="===state.tokens.next.id&&(state.inES6()||warning("W119",state.tokens.next,"default parameters","6"),advance("="),pastDefault=!0,expression(10)),currentParams.forEach(addParam),","!==state.tokens.next.id)return advance(")",next),{arity:arity,params:paramsIds};pastRest&&warning("W131",state.tokens.next),comma()}}function functor(name,token,overwrites){var funct={"(name)":name,"(breakage)":0,"(loopage)":0,"(tokens)":{},"(properties)":{},"(catch)":!1,"(global)":!1,"(line)":null,"(character)":null,"(metrics)":null,"(statement)":null,"(context)":null,"(scope)":null,"(comparray)":null,"(generator)":null,"(arrow)":null,"(params)":null};return token&&_.extend(funct,{"(line)":token.line,"(character)":token.character,"(metrics)":createMetrics(token)}),_.extend(funct,overwrites),funct["(context)"]&&(funct["(scope)"]=funct["(context)"]["(scope)"],funct["(comparray)"]=funct["(context)"]["(comparray)"]),funct}function isFunctor(token){return"(scope)"in token}function hasParsedCode(funct){return funct["(global)"]&&!funct["(verb)"]}function doTemplateLiteral(left){function end(){if(state.tokens.curr.template&&state.tokens.curr.tail&&state.tokens.curr.context===ctx)return!0;var complete=state.tokens.next.template&&state.tokens.next.tail&&state.tokens.next.context===ctx;return complete&&advance(),complete||state.tokens.next.isUnclosed}var ctx=this.context,noSubst=this.noSubst,depth=this.depth;if(!noSubst)for(;!end();)!state.tokens.next.template||state.tokens.next.depth>depth?expression(0):advance();return{id:"(template)",type:"(template)",tag:left}}function doFunction(options){var f,token,name,statement,classExprBinding,isGenerator,isArrow,ignoreLoopFunc,oldOption=state.option,oldIgnored=state.ignored;options&&(name=options.name,statement=options.statement,classExprBinding=options.classExprBinding,isGenerator="generator"===options.type,isArrow="arrow"===options.type,ignoreLoopFunc=options.ignoreLoopFunc),state.option=Object.create(state.option),state.ignored=Object.create(state.ignored),state.funct=functor(name||state.nameStack.infer(),state.tokens.next,{"(statement)":statement,"(context)":state.funct,"(arrow)":isArrow,"(generator)":isGenerator}),f=state.funct,token=state.tokens.curr,token.funct=state.funct,functions.push(state.funct),state.funct["(scope)"].stack("functionouter");var internallyAccessibleName=name||classExprBinding;internallyAccessibleName&&state.funct["(scope)"].block.add(internallyAccessibleName,classExprBinding?"class":"function",state.tokens.curr,!1),state.funct["(scope)"].stack("functionparams");var paramsInfo=functionparams(options);return paramsInfo?(state.funct["(params)"]=paramsInfo.params,state.funct["(metrics)"].arity=paramsInfo.arity,state.funct["(metrics)"].verifyMaxParametersPerFunction()):state.funct["(metrics)"].arity=0,isArrow&&(state.inES6(!0)||warning("W119",state.tokens.curr,"arrow function syntax (=>)","6"),options.loneArg||advance("=>")),block(!1,!0,!0,isArrow),!state.option.noyield&&isGenerator&&"yielded"!==state.funct["(generator)"]&&warning("W124",state.tokens.curr),state.funct["(metrics)"].verifyMaxStatementsPerFunction(),state.funct["(metrics)"].verifyMaxComplexityPerFunction(),state.funct["(unusedOption)"]=state.option.unused,state.option=oldOption,state.ignored=oldIgnored,state.funct["(last)"]=state.tokens.curr.line,state.funct["(lastcharacter)"]=state.tokens.curr.character,state.funct["(scope)"].unstack(),state.funct["(scope)"].unstack(),state.funct=state.funct["(context)"],ignoreLoopFunc||state.option.loopfunc||!state.funct["(loopage)"]||f["(isCapturing)"]&&warning("W083",token),f}function createMetrics(functionStartToken){return{statementCount:0,nestedBlockDepth:-1,ComplexityCount:1,arity:0,verifyMaxStatementsPerFunction:function(){state.option.maxstatements&&this.statementCount>state.option.maxstatements&&warning("W071",functionStartToken,this.statementCount)\n},verifyMaxParametersPerFunction:function(){_.isNumber(state.option.maxparams)&&this.arity>state.option.maxparams&&warning("W072",functionStartToken,this.arity)},verifyMaxNestedBlockDepthPerFunction:function(){state.option.maxdepth&&this.nestedBlockDepth>0&&this.nestedBlockDepth===state.option.maxdepth+1&&warning("W073",null,this.nestedBlockDepth)},verifyMaxComplexityPerFunction:function(){var max=state.option.maxcomplexity,cc=this.ComplexityCount;max&&cc>max&&warning("W074",functionStartToken,cc)}}}function increaseComplexityCount(){state.funct["(metrics)"].ComplexityCount+=1}function checkCondAssignment(expr){var id,paren;switch(expr&&(id=expr.id,paren=expr.paren,","===id&&(expr=expr.exprs[expr.exprs.length-1])&&(id=expr.id,paren=paren||expr.paren)),id){case"=":case"+=":case"-=":case"*=":case"%=":case"&=":case"|=":case"^=":case"/=":paren||state.option.boss||warning("W084")}}function checkProperties(props){if(state.inES5())for(var name in props)props[name]&&props[name].setterToken&&!props[name].getterToken&&warning("W078",props[name].setterToken)}function metaProperty(name,c){if(checkPunctuator(state.tokens.next,".")){var left=state.tokens.curr.id;advance(".");var id=identifier();return state.tokens.curr.isMetaProperty=!0,name!==id?error("E057",state.tokens.prev,left,id):c(),state.tokens.curr}}function destructuringPattern(options){var isAssignment=options&&options.assignment;return state.inES6()||warning("W104",state.tokens.curr,isAssignment?"destructuring assignment":"destructuring binding","6"),destructuringPatternRecursive(options)}function destructuringPatternRecursive(options){var ids,identifiers=[],openingParsed=options&&options.openingParsed,isAssignment=options&&options.assignment,recursiveOptions=isAssignment?{assignment:isAssignment}:null,firstToken=openingParsed?state.tokens.curr:state.tokens.next,nextInnerDE=function(){var ident;if(checkPunctuators(state.tokens.next,["[","{"])){ids=destructuringPatternRecursive(recursiveOptions);for(var id in ids)id=ids[id],identifiers.push({id:id.id,token:id.token})}else if(checkPunctuator(state.tokens.next,","))identifiers.push({id:null,token:state.tokens.curr});else{if(!checkPunctuator(state.tokens.next,"(")){var is_rest=checkPunctuator(state.tokens.next,"...");if(isAssignment){var identifierToken=is_rest?peek(0):state.tokens.next;identifierToken.identifier||warning("E030",identifierToken,identifierToken.value);var assignTarget=expression(155);assignTarget&&(checkLeftSideAssign(assignTarget),assignTarget.identifier&&(ident=assignTarget.value))}else ident=identifier();return ident&&identifiers.push({id:ident,token:state.tokens.curr}),is_rest}advance("("),nextInnerDE(),advance(")")}return!1},assignmentProperty=function(){var id;checkPunctuator(state.tokens.next,"[")?(advance("["),expression(10),advance("]"),advance(":"),nextInnerDE()):"(string)"===state.tokens.next.id||"(number)"===state.tokens.next.id?(advance(),advance(":"),nextInnerDE()):(id=identifier(),checkPunctuator(state.tokens.next,":")?(advance(":"),nextInnerDE()):id&&(isAssignment&&checkLeftSideAssign(state.tokens.curr),identifiers.push({id:id,token:state.tokens.curr})))};if(checkPunctuator(firstToken,"[")){openingParsed||advance("["),checkPunctuator(state.tokens.next,"]")&&warning("W137",state.tokens.curr);for(var element_after_rest=!1;!checkPunctuator(state.tokens.next,"]");)nextInnerDE()&&!element_after_rest&&checkPunctuator(state.tokens.next,",")&&(warning("W130",state.tokens.next),element_after_rest=!0),checkPunctuator(state.tokens.next,"=")&&(checkPunctuator(state.tokens.prev,"...")?advance("]"):advance("="),"undefined"===state.tokens.next.id&&warning("W080",state.tokens.prev,state.tokens.prev.value),expression(10)),checkPunctuator(state.tokens.next,"]")||advance(",");advance("]")}else if(checkPunctuator(firstToken,"{")){for(openingParsed||advance("{"),checkPunctuator(state.tokens.next,"}")&&warning("W137",state.tokens.curr);!checkPunctuator(state.tokens.next,"}")&&(assignmentProperty(),checkPunctuator(state.tokens.next,"=")&&(advance("="),"undefined"===state.tokens.next.id&&warning("W080",state.tokens.prev,state.tokens.prev.value),expression(10)),checkPunctuator(state.tokens.next,"}")||(advance(","),!checkPunctuator(state.tokens.next,"}"))););advance("}")}return identifiers}function destructuringPatternMatch(tokens,value){var first=value.first;first&&_.zip(tokens,Array.isArray(first)?first:[first]).forEach(function(val){var token=val[0],value=val[1];token&&value?token.first=value:token&&token.first&&!value&&warning("W080",token.first,token.first.value)})}function blockVariableStatement(type,statement,context){var tokens,lone,value,letblock,prefix=context&&context.prefix,inexport=context&&context.inexport,isLet="let"===type,isConst="const"===type;for(state.inES6()||warning("W104",state.tokens.curr,type,"6"),isLet&&"("===state.tokens.next.value?(state.inMoz()||warning("W118",state.tokens.next,"let block"),advance("("),state.funct["(scope)"].stack(),letblock=!0):state.funct["(noblockscopedvar)"]&&error("E048",state.tokens.curr,isConst?"Const":"Let"),statement.first=[];;){var names=[];_.contains(["{","["],state.tokens.next.value)?(tokens=destructuringPattern(),lone=!1):(tokens=[{id:identifier(),token:state.tokens.curr}],lone=!0),!prefix&&isConst&&"="!==state.tokens.next.id&&warning("E012",state.tokens.curr,state.tokens.curr.value);for(var t in tokens)tokens.hasOwnProperty(t)&&(t=tokens[t],state.funct["(scope)"].block.isGlobal()&&predefined[t.id]===!1&&warning("W079",t.token,t.id),t.id&&!state.funct["(noblockscopedvar)"]&&(state.funct["(scope)"].addlabel(t.id,{type:type,token:t.token}),names.push(t.token),lone&&inexport&&state.funct["(scope)"].setExported(t.token.value,t.token)));if("="===state.tokens.next.id&&(advance("="),prefix||"undefined"!==state.tokens.next.id||warning("W080",state.tokens.prev,state.tokens.prev.value),!prefix&&"="===peek(0).id&&state.tokens.next.identifier&&warning("W120",state.tokens.next,state.tokens.next.value),value=expression(prefix?120:10),lone?tokens[0].first=value:destructuringPatternMatch(names,value)),statement.first=statement.first.concat(names),","!==state.tokens.next.id)break;comma()}return letblock&&(advance(")"),block(!0,!0),statement.block=!0,state.funct["(scope)"].unstack()),statement}function classdef(isStatement){return state.inES6()||warning("W104",state.tokens.curr,"class","6"),isStatement?(this.name=identifier(),state.funct["(scope)"].addlabel(this.name,{type:"class",token:state.tokens.curr})):state.tokens.next.identifier&&"extends"!==state.tokens.next.value?(this.name=identifier(),this.namedExpr=!0):this.name=state.nameStack.infer(),classtail(this),this}function classtail(c){var wasInClassBody=state.inClassBody;"extends"===state.tokens.next.value&&(advance("extends"),c.heritage=expression(10)),state.inClassBody=!0,advance("{"),c.body=classbody(c),advance("}"),state.inClassBody=wasInClassBody}function classbody(c){for(var name,isStatic,isGenerator,getset,computed,props=Object.create(null),staticProps=Object.create(null),i=0;"}"!==state.tokens.next.id;++i)if(name=state.tokens.next,isStatic=!1,isGenerator=!1,getset=null,";"!==name.id){if("*"===name.id&&(isGenerator=!0,advance("*"),name=state.tokens.next),"["===name.id)name=computedPropertyName(),computed=!0;else{if(!isPropertyName(name)){warning("W052",state.tokens.next,state.tokens.next.value||state.tokens.next.type),advance();continue}advance(),computed=!1,name.identifier&&"static"===name.value&&(checkPunctuator(state.tokens.next,"*")&&(isGenerator=!0,advance("*")),(isPropertyName(state.tokens.next)||"["===state.tokens.next.id)&&(computed="["===state.tokens.next.id,isStatic=!0,name=state.tokens.next,"["===state.tokens.next.id?name=computedPropertyName():advance())),!name.identifier||"get"!==name.value&&"set"!==name.value||(isPropertyName(state.tokens.next)||"["===state.tokens.next.id)&&(computed="["===state.tokens.next.id,getset=name,name=state.tokens.next,"["===state.tokens.next.id?name=computedPropertyName():advance())}if(!checkPunctuator(state.tokens.next,"(")){for(error("E054",state.tokens.next,state.tokens.next.value);"}"!==state.tokens.next.id&&!checkPunctuator(state.tokens.next,"(");)advance();"("!==state.tokens.next.value&&doFunction({statement:c})}if(computed||(getset?saveAccessor(getset.value,isStatic?staticProps:props,name.value,name,!0,isStatic):("constructor"===name.value?state.nameStack.set(c):state.nameStack.set(name),saveProperty(isStatic?staticProps:props,name.value,name,!0,isStatic))),getset&&"constructor"===name.value){var propDesc="get"===getset.value?"class getter method":"class setter method";error("E049",name,propDesc,"constructor")}else"prototype"===name.value&&error("E049",name,"class method","prototype");propertyName(name),doFunction({statement:c,type:isGenerator?"generator":null,classExprBinding:c.namedExpr?c.name:null})}else warning("W032"),advance(";");checkProperties(props)}function saveProperty(props,name,tkn,isClass,isStatic){var msg=["key","class method","static class method"];msg=msg[(isClass||!1)+(isStatic||!1)],tkn.identifier&&(name=tkn.value),props[name]&&"__proto__"!==name?warning("W075",state.tokens.next,msg,name):props[name]=Object.create(null),props[name].basic=!0,props[name].basictkn=tkn}function saveAccessor(accessorType,props,name,tkn,isClass,isStatic){var flagName="get"===accessorType?"getterToken":"setterToken",msg="";isClass?(isStatic&&(msg+="static "),msg+=accessorType+"ter method"):msg="key",state.tokens.curr.accessorType=accessorType,state.nameStack.set(tkn),props[name]?(props[name].basic||props[name][flagName])&&"__proto__"!==name&&warning("W075",state.tokens.next,msg,name):props[name]=Object.create(null),props[name][flagName]=tkn}function computedPropertyName(){advance("["),state.inES6()||warning("W119",state.tokens.curr,"computed property names","6");var value=expression(10);return advance("]"),value}function checkPunctuators(token,values){return"(punctuator)"===token.type?_.contains(values,token.value):!1}function checkPunctuator(token,value){return"(punctuator)"===token.type&&token.value===value}function destructuringAssignOrJsonValue(){var block=lookupBlockType();block.notJson?(!state.inES6()&&block.isDestAssign&&warning("W104",state.tokens.curr,"destructuring assignment","6"),statements()):(state.option.laxbreak=!0,state.jsonMode=!0,jsonValue())}function jsonValue(){function jsonObject(){var o={},t=state.tokens.next;if(advance("{"),"}"!==state.tokens.next.id)for(;;){if("(end)"===state.tokens.next.id)error("E026",state.tokens.next,t.line);else{if("}"===state.tokens.next.id){warning("W094",state.tokens.curr);break}","===state.tokens.next.id?error("E028",state.tokens.next):"(string)"!==state.tokens.next.id&&warning("W095",state.tokens.next,state.tokens.next.value)}if(o[state.tokens.next.value]===!0?warning("W075",state.tokens.next,"key",state.tokens.next.value):"__proto__"===state.tokens.next.value&&!state.option.proto||"__iterator__"===state.tokens.next.value&&!state.option.iterator?warning("W096",state.tokens.next,state.tokens.next.value):o[state.tokens.next.value]=!0,advance(),advance(":"),jsonValue(),","!==state.tokens.next.id)break;advance(",")}advance("}")}function jsonArray(){var t=state.tokens.next;if(advance("["),"]"!==state.tokens.next.id)for(;;){if("(end)"===state.tokens.next.id)error("E027",state.tokens.next,t.line);else{if("]"===state.tokens.next.id){warning("W094",state.tokens.curr);break}","===state.tokens.next.id&&error("E028",state.tokens.next)}if(jsonValue(),","!==state.tokens.next.id)break;advance(",")}advance("]")}switch(state.tokens.next.id){case"{":jsonObject();break;case"[":jsonArray();break;case"true":case"false":case"null":case"(number)":case"(string)":advance();break;case"-":advance("-"),advance("(number)");break;default:error("E003",state.tokens.next)}}var api,declared,functions,inblock,indent,lookahead,lex,member,membersOnly,predefined,stack,urls,bang={"<":!0,"<=":!0,"==":!0,"===":!0,"!==":!0,"!=":!0,">":!0,">=":!0,"+":!0,"-":!0,"*":!0,"/":!0,"%":!0},functionicity=["closure","exception","global","label","outer","unused","var"],extraModules=[],emitter=new events.EventEmitter,typeofValues={};typeofValues.legacy=["xml","unknown"],typeofValues.es3=["undefined","boolean","number","string","function","object"],typeofValues.es3=typeofValues.es3.concat(typeofValues.legacy),typeofValues.es6=typeofValues.es3.concat("symbol"),type("(number)",function(){return this}),type("(string)",function(){return this}),state.syntax["(identifier)"]={type:"(identifier)",lbp:0,identifier:!0,nud:function(){var v=this.value;return"=>"===state.tokens.next.id?this:(state.funct["(comparray)"].check(v)||state.funct["(scope)"].block.use(v,state.tokens.curr),this)},led:function(){error("E033",state.tokens.next,state.tokens.next.value)}};var baseTemplateSyntax={lbp:0,identifier:!1,template:!0};state.syntax["(template)"]=_.extend({type:"(template)",nud:doTemplateLiteral,led:doTemplateLiteral,noSubst:!1},baseTemplateSyntax),state.syntax["(template middle)"]=_.extend({type:"(template middle)",middle:!0,noSubst:!1},baseTemplateSyntax),state.syntax["(template tail)"]=_.extend({type:"(template tail)",tail:!0,noSubst:!1},baseTemplateSyntax),state.syntax["(no subst template)"]=_.extend({type:"(template)",nud:doTemplateLiteral,led:doTemplateLiteral,noSubst:!0,tail:!0},baseTemplateSyntax),type("(regexp)",function(){return this}),delim("(endline)"),delim("(begin)"),delim("(end)").reach=!0,delim("(error)").reach=!0,delim("}").reach=!0,delim(")"),delim("]"),delim(\'"\').reach=!0,delim("\'").reach=!0,delim(";"),delim(":").reach=!0,delim("#"),reserve("else"),reserve("case").reach=!0,reserve("catch"),reserve("default").reach=!0,reserve("finally"),reservevar("arguments",function(x){state.isStrict()&&state.funct["(global)"]&&warning("E008",x)}),reservevar("eval"),reservevar("false"),reservevar("Infinity"),reservevar("null"),reservevar("this",function(x){state.isStrict()&&!isMethod()&&!state.option.validthis&&(state.funct["(statement)"]&&state.funct["(name)"].charAt(0)>"Z"||state.funct["(global)"])&&warning("W040",x)}),reservevar("true"),reservevar("undefined"),assignop("=","assign",20),assignop("+=","assignadd",20),assignop("-=","assignsub",20),assignop("*=","assignmult",20),assignop("/=","assigndiv",20).nud=function(){error("E014")},assignop("%=","assignmod",20),bitwiseassignop("&="),bitwiseassignop("|="),bitwiseassignop("^="),bitwiseassignop("<<="),bitwiseassignop(">>="),bitwiseassignop(">>>="),infix(",",function(left,that){var expr;if(that.exprs=[left],state.option.nocomma&&warning("W127"),!comma({peek:!0}))return that;for(;;){if(!(expr=expression(10)))break;if(that.exprs.push(expr),","!==state.tokens.next.value||!comma())break}return that},10,!0),infix("?",function(left,that){return increaseComplexityCount(),that.left=left,that.right=expression(10),advance(":"),that["else"]=expression(10),that},30);var orPrecendence=40;infix("||",function(left,that){return increaseComplexityCount(),that.left=left,that.right=expression(orPrecendence),that},orPrecendence),infix("&&","and",50),bitwise("|","bitor",70),bitwise("^","bitxor",80),bitwise("&","bitand",90),relation("==",function(left,right){var eqnull=state.option.eqnull&&("null"===(left&&left.value)||"null"===(right&&right.value));switch(!0){case!eqnull&&state.option.eqeqeq:this.from=this.character,warning("W116",this,"===","==");break;case isPoorRelation(left):warning("W041",this,"===",left.value);break;case isPoorRelation(right):warning("W041",this,"===",right.value);break;case isTypoTypeof(right,left,state):warning("W122",this,right.value);break;case isTypoTypeof(left,right,state):warning("W122",this,left.value)}return this}),relation("===",function(left,right){return isTypoTypeof(right,left,state)?warning("W122",this,right.value):isTypoTypeof(left,right,state)&&warning("W122",this,left.value),this}),relation("!=",function(left,right){var eqnull=state.option.eqnull&&("null"===(left&&left.value)||"null"===(right&&right.value));return!eqnull&&state.option.eqeqeq?(this.from=this.character,warning("W116",this,"!==","!=")):isPoorRelation(left)?warning("W041",this,"!==",left.value):isPoorRelation(right)?warning("W041",this,"!==",right.value):isTypoTypeof(right,left,state)?warning("W122",this,right.value):isTypoTypeof(left,right,state)&&warning("W122",this,left.value),this}),relation("!==",function(left,right){return isTypoTypeof(right,left,state)?warning("W122",this,right.value):isTypoTypeof(left,right,state)&&warning("W122",this,left.value),this}),relation("<"),relation(">"),relation("<="),relation(">="),bitwise("<<","shiftleft",120),bitwise(">>","shiftright",120),bitwise(">>>","shiftrightunsigned",120),infix("in","in",120),infix("instanceof","instanceof",120),infix("+",function(left,that){var right;return that.left=left,that.right=right=expression(130),left&&right&&"(string)"===left.id&&"(string)"===right.id?(left.value+=right.value,left.character=right.character,!state.option.scripturl&®.javascriptURL.test(left.value)&&warning("W050",left),left):that},130),prefix("+","num"),prefix("+++",function(){return warning("W007"),this.arity="unary",this.right=expression(150),this}),infix("+++",function(left){return warning("W007"),this.left=left,this.right=expression(130),this},130),infix("-","sub",130),prefix("-","neg"),prefix("---",function(){return warning("W006"),this.arity="unary",this.right=expression(150),this}),infix("---",function(left){return warning("W006"),this.left=left,this.right=expression(130),this},130),infix("*","mult",140),infix("/","div",140),infix("%","mod",140),suffix("++"),prefix("++","preinc"),state.syntax["++"].exps=!0,suffix("--"),prefix("--","predec"),state.syntax["--"].exps=!0,prefix("delete",function(){var p=expression(10);return p?("."!==p.id&&"["!==p.id&&warning("W051"),this.first=p,p.identifier&&!state.isStrict()&&(p.forgiveUndef=!0),this):this}).exps=!0,prefix("~",function(){return state.option.bitwise&&warning("W016",this,"~"),this.arity="unary",this.right=expression(150),this}),prefix("...",function(){return state.inES6(!0)||warning("W119",this,"spread/rest operator","6"),state.tokens.next.identifier||"(string)"===state.tokens.next.type||checkPunctuators(state.tokens.next,["[","("])||error("E030",state.tokens.next,state.tokens.next.value),expression(150),this}),prefix("!",function(){return this.arity="unary",this.right=expression(150),this.right||quit("E041",this.line||0),bang[this.right.id]===!0&&warning("W018",this,"!"),this}),prefix("typeof",function(){var p=expression(150);return this.first=this.right=p,p||quit("E041",this.line||0,this.character||0),p.identifier&&(p.forgiveUndef=!0),this}),prefix("new",function(){var mp=metaProperty("target",function(){state.inES6(!0)||warning("W119",state.tokens.prev,"new.target","6");for(var inFunction,c=state.funct;c&&(inFunction=!c["(global)"],c["(arrow)"]);)c=c["(context)"];inFunction||warning("W136",state.tokens.prev,"new.target")});if(mp)return mp;var i,c=expression(155);if(c&&"function"!==c.id)if(c.identifier)switch(c["new"]=!0,c.value){case"Number":case"String":case"Boolean":case"Math":case"JSON":warning("W053",state.tokens.prev,c.value);break;case"Symbol":state.inES6()&&warning("W053",state.tokens.prev,c.value);break;case"Function":state.option.evil||warning("W054");break;case"Date":case"RegExp":case"this":break;default:"function"!==c.id&&(i=c.value.substr(0,1),state.option.newcap&&("A">i||i>"Z")&&!state.funct["(scope)"].isPredefined(c.value)&&warning("W055",state.tokens.curr))}else"."!==c.id&&"["!==c.id&&"("!==c.id&&warning("W056",state.tokens.curr);else state.option.supernew||warning("W057",this);return"("===state.tokens.next.id||state.option.supernew||warning("W058",state.tokens.curr,state.tokens.curr.value),this.first=this.right=c,this}),state.syntax["new"].exps=!0,prefix("void").exps=!0,infix(".",function(left,that){var m=identifier(!1,!0);return"string"==typeof m&&countMember(m),that.left=left,that.right=m,m&&"hasOwnProperty"===m&&"="===state.tokens.next.value&&warning("W001"),!left||"arguments"!==left.value||"callee"!==m&&"caller"!==m?state.option.evil||!left||"document"!==left.value||"write"!==m&&"writeln"!==m||warning("W060",left):state.option.noarg?warning("W059",left,m):state.isStrict()&&error("E008"),state.option.evil||"eval"!==m&&"execScript"!==m||isGlobalEval(left,state)&&warning("W061"),that},160,!0),infix("(",function(left,that){state.option.immed&&left&&!left.immed&&"function"===left.id&&warning("W062");var n=0,p=[];if(left&&"(identifier)"===left.type&&left.value.match(/^[A-Z]([A-Z0-9_$]*[a-z][A-Za-z0-9_$]*)?$/)&&-1==="Array Number String Boolean Date Object Error Symbol".indexOf(left.value)&&("Math"===left.value?warning("W063",left):state.option.newcap&&warning("W064",left)),")"!==state.tokens.next.id)for(;p[p.length]=expression(10),n+=1,","===state.tokens.next.id;)comma();return advance(")"),"object"==typeof left&&(state.inES5()||"parseInt"!==left.value||1!==n||warning("W065",state.tokens.curr),state.option.evil||("eval"===left.value||"Function"===left.value||"execScript"===left.value?(warning("W061",left),p[0]&&"(string)"===[0].id&&addInternalSrc(left,p[0].value)):!p[0]||"(string)"!==p[0].id||"setTimeout"!==left.value&&"setInterval"!==left.value?!p[0]||"(string)"!==p[0].id||"."!==left.value||"window"!==left.left.value||"setTimeout"!==left.right&&"setInterval"!==left.right||(warning("W066",left),addInternalSrc(left,p[0].value)):(warning("W066",left),addInternalSrc(left,p[0].value))),left.identifier||"."===left.id||"["===left.id||"=>"===left.id||"("===left.id||"&&"===left.id||"||"===left.id||"?"===left.id||state.inES6()&&left["(name)"]||warning("W067",that)),that.left=left,that},155,!0).exps=!0,prefix("(",function(){var pn1,ret,triggerFnExpr,first,last,pn=state.tokens.next,i=-1,parens=1,opening=state.tokens.curr,preceeding=state.tokens.prev,isNecessary=!state.option.singleGroups;do"("===pn.value?parens+=1:")"===pn.value&&(parens-=1),i+=1,pn1=pn,pn=peek(i);while((0!==parens||")"!==pn1.value)&&";"!==pn.value&&"(end)"!==pn.type);if("function"===state.tokens.next.id&&(triggerFnExpr=state.tokens.next.immed=!0),"=>"===pn.value)return doFunction({type:"arrow",parsedOpening:!0});var exprs=[];if(")"!==state.tokens.next.id)for(;exprs.push(expression(10)),","===state.tokens.next.id;)state.option.nocomma&&warning("W127"),comma();return advance(")",this),state.option.immed&&exprs[0]&&"function"===exprs[0].id&&"("!==state.tokens.next.id&&"."!==state.tokens.next.id&&"["!==state.tokens.next.id&&warning("W068",this),exprs.length?(exprs.length>1?(ret=Object.create(state.syntax[","]),ret.exprs=exprs,first=exprs[0],last=exprs[exprs.length-1],isNecessary||(isNecessary=preceeding.assign||preceeding.delim)):(ret=first=last=exprs[0],isNecessary||(isNecessary=opening.beginsStmt&&("{"===ret.id||triggerFnExpr||isFunctor(ret))||triggerFnExpr&&(!isEndOfExpr()||"}"!==state.tokens.prev.id)||isFunctor(ret)&&!isEndOfExpr()||"{"===ret.id&&"=>"===preceeding.id||"(number)"===ret.type&&checkPunctuator(pn,".")&&/^\\d+$/.test(ret.value))),ret&&(!isNecessary&&(first.left||first.right||ret.exprs)&&(isNecessary=!isBeginOfExpr(preceeding)&&first.lbp<=preceeding.lbp||!isEndOfExpr()&&last.lbp"),infix("[",function(left,that){var s,e=expression(10);return e&&"(string)"===e.type&&(state.option.evil||"eval"!==e.value&&"execScript"!==e.value||isGlobalEval(left,state)&&warning("W061"),countMember(e.value),!state.option.sub&®.identifier.test(e.value)&&(s=state.syntax[e.value],s&&isReserved(s)||warning("W069",state.tokens.prev,e.value))),advance("]",that),e&&"hasOwnProperty"===e.value&&"="===state.tokens.next.value&&warning("W001"),that.left=left,that.right=e,that},160,!0),prefix("[",function(){var blocktype=lookupBlockType();if(blocktype.isCompArray)return state.option.esnext||state.inMoz()||warning("W118",state.tokens.curr,"array comprehension"),comprehensiveArrayExpression();if(blocktype.isDestAssign)return this.destructAssign=destructuringPattern({openingParsed:!0,assignment:!0}),this;var b=state.tokens.curr.line!==startLine(state.tokens.next);for(this.first=[],b&&(indent+=state.option.indent,state.tokens.next.from===indent+state.option.indent&&(indent+=state.option.indent));"(end)"!==state.tokens.next.id;){for(;","===state.tokens.next.id;){if(!state.option.elision){if(state.inES5()){warning("W128");do advance(",");while(","===state.tokens.next.id);continue}warning("W070")}advance(",")}if("]"===state.tokens.next.id)break;if(this.first.push(expression(10)),","!==state.tokens.next.id)break;if(comma({allowTrailing:!0}),"]"===state.tokens.next.id&&!state.inES5()){warning("W070",state.tokens.curr);break}}return b&&(indent-=state.option.indent),advance("]",this),this}),function(x){x.nud=function(){var b,f,i,p,t,nextVal,isGeneratorMethod=!1,props=Object.create(null);b=state.tokens.curr.line!==startLine(state.tokens.next),b&&(indent+=state.option.indent,state.tokens.next.from===indent+state.option.indent&&(indent+=state.option.indent));var blocktype=lookupBlockType();if(blocktype.isDestAssign)return this.destructAssign=destructuringPattern({openingParsed:!0,assignment:!0}),this;for(;"}"!==state.tokens.next.id;){if(nextVal=state.tokens.next.value,!state.tokens.next.identifier||","!==peekIgnoreEOL().id&&"}"!==peekIgnoreEOL().id)if(":"===peek().id||"get"!==nextVal&&"set"!==nextVal){if("*"===state.tokens.next.value&&"(punctuator)"===state.tokens.next.type?(state.inES6()||warning("W104",state.tokens.next,"generator functions","6"),advance("*"),isGeneratorMethod=!0):isGeneratorMethod=!1,"["===state.tokens.next.id)i=computedPropertyName(),state.nameStack.set(i);else if(state.nameStack.set(state.tokens.next),i=propertyName(),saveProperty(props,i,state.tokens.next),"string"!=typeof i)break;"("===state.tokens.next.value?(state.inES6()||warning("W104",state.tokens.curr,"concise methods","6"),doFunction({type:isGeneratorMethod?"generator":null})):(advance(":"),expression(10))}else advance(nextVal),state.inES5()||error("E034"),i=propertyName(),i||state.inES6()||error("E035"),i&&saveAccessor(nextVal,props,i,state.tokens.curr),t=state.tokens.next,f=doFunction(),p=f["(params)"],"get"===nextVal&&i&&p?warning("W076",t,p[0],i):"set"!==nextVal||!i||p&&1===p.length||warning("W077",t,i);else state.inES6()||warning("W104",state.tokens.next,"object short notation","6"),i=propertyName(!0),saveProperty(props,i,state.tokens.next),expression(10);if(countMember(i),","!==state.tokens.next.id)break;comma({allowTrailing:!0,property:!0}),","===state.tokens.next.id?warning("W070",state.tokens.curr):"}"!==state.tokens.next.id||state.inES5()||warning("W070",state.tokens.curr)}return b&&(indent-=state.option.indent),advance("}",this),checkProperties(props),this},x.fud=function(){error("E036",state.tokens.curr)}}(delim("{"));var conststatement=stmt("const",function(context){return blockVariableStatement("const",this,context)});conststatement.exps=!0;var letstatement=stmt("let",function(context){return blockVariableStatement("let",this,context)});letstatement.exps=!0;var varstatement=stmt("var",function(context){var tokens,lone,value,prefix=context&&context.prefix,inexport=context&&context.inexport,implied=context&&context.implied,report=!(context&&context.ignore);for(this.first=[];;){var names=[];_.contains(["{","["],state.tokens.next.value)?(tokens=destructuringPattern(),lone=!1):(tokens=[{id:identifier(),token:state.tokens.curr}],lone=!0),prefix&&implied||!report||!state.option.varstmt||warning("W132",this),this.first=this.first.concat(names);for(var t in tokens)tokens.hasOwnProperty(t)&&(t=tokens[t],!implied&&state.funct["(global)"]&&(predefined[t.id]===!1?warning("W079",t.token,t.id):state.option.futurehostile===!1&&(!state.inES5()&&vars.ecmaIdentifiers[5][t.id]===!1||!state.inES6()&&vars.ecmaIdentifiers[6][t.id]===!1)&&warning("W129",t.token,t.id)),t.id&&("for"===implied?(state.funct["(scope)"].has(t.id)||report&&warning("W088",t.token,t.id),state.funct["(scope)"].block.use(t.id,t.token)):(state.funct["(scope)"].addlabel(t.id,{type:"var",token:t.token}),lone&&inexport&&state.funct["(scope)"].setExported(t.id,t.token)),names.push(t.token)));if("="===state.tokens.next.id&&(state.nameStack.set(state.tokens.curr),advance("="),prefix||!report||state.funct["(loopage)"]||"undefined"!==state.tokens.next.id||warning("W080",state.tokens.prev,state.tokens.prev.value),"="===peek(0).id&&state.tokens.next.identifier&&(!prefix&&report&&!state.funct["(params)"]||-1===state.funct["(params)"].indexOf(state.tokens.next.value))&&warning("W120",state.tokens.next,state.tokens.next.value),value=expression(prefix?120:10),lone?tokens[0].first=value:destructuringPatternMatch(names,value)),","!==state.tokens.next.id)break;comma()}return this});varstatement.exps=!0,blockstmt("class",function(){return classdef.call(this,!0)}),blockstmt("function",function(context){var inexport=context&&context.inexport,generator=!1;"*"===state.tokens.next.value&&(advance("*"),state.inES6({strict:!0})?generator=!0:warning("W119",state.tokens.curr,"function*","6")),inblock&&warning("W082",state.tokens.curr);var i=optionalidentifier();return state.funct["(scope)"].addlabel(i,{type:"function",token:state.tokens.curr}),void 0===i?warning("W025"):inexport&&state.funct["(scope)"].setExported(i,state.tokens.prev),doFunction({name:i,statement:this,type:generator?"generator":null,ignoreLoopFunc:inblock}),"("===state.tokens.next.id&&state.tokens.next.line===state.tokens.curr.line&&error("E039"),this}),prefix("function",function(){var generator=!1;"*"===state.tokens.next.value&&(state.inES6()||warning("W119",state.tokens.curr,"function*","6"),advance("*"),generator=!0);var i=optionalidentifier();return doFunction({name:i,type:generator?"generator":null}),this}),blockstmt("if",function(){var t=state.tokens.next;increaseComplexityCount(),state.condition=!0,advance("(");var expr=expression(0);checkCondAssignment(expr);var forinifcheck=null;state.option.forin&&state.forinifcheckneeded&&(state.forinifcheckneeded=!1,forinifcheck=state.forinifchecks[state.forinifchecks.length-1],forinifcheck.type="(punctuator)"===expr.type&&"!"===expr.value?"(negative)":"(positive)"),advance(")",t),state.condition=!1;var s=block(!0,!0);return forinifcheck&&"(negative)"===forinifcheck.type&&s&&s[0]&&"(identifier)"===s[0].type&&"continue"===s[0].value&&(forinifcheck.type="(negative-with-continue)"),"else"===state.tokens.next.id&&(advance("else"),"if"===state.tokens.next.id||"switch"===state.tokens.next.id?statement():block(!0,!0)),this}),blockstmt("try",function(){function doCatch(){if(advance("catch"),advance("("),state.funct["(scope)"].stack("catchparams"),checkPunctuators(state.tokens.next,["[","{"])){var tokens=destructuringPattern();_.each(tokens,function(token){token.id&&state.funct["(scope)"].addParam(token.id,token,"exception")})}else"(identifier)"!==state.tokens.next.type?warning("E030",state.tokens.next,state.tokens.next.value):state.funct["(scope)"].addParam(identifier(),state.tokens.curr,"exception");"if"===state.tokens.next.value&&(state.inMoz()||warning("W118",state.tokens.curr,"catch filter"),advance("if"),expression(0)),advance(")"),block(!1),state.funct["(scope)"].unstack()}var b;for(block(!0);"catch"===state.tokens.next.id;)increaseComplexityCount(),b&&!state.inMoz()&&warning("W118",state.tokens.next,"multiple catch blocks"),doCatch(),b=!0;return"finally"===state.tokens.next.id?(advance("finally"),block(!0),void 0):(b||error("E021",state.tokens.next,"catch",state.tokens.next.value),this)}),blockstmt("while",function(){var t=state.tokens.next;return state.funct["(breakage)"]+=1,state.funct["(loopage)"]+=1,increaseComplexityCount(),advance("("),checkCondAssignment(expression(0)),advance(")",t),block(!0,!0),state.funct["(breakage)"]-=1,state.funct["(loopage)"]-=1,this}).labelled=!0,blockstmt("with",function(){var t=state.tokens.next;return state.isStrict()?error("E010",state.tokens.curr):state.option.withstmt||warning("W085",state.tokens.curr),advance("("),expression(0),advance(")",t),block(!0,!0),this}),blockstmt("switch",function(){var t=state.tokens.next,g=!1,noindent=!1;\nfor(state.funct["(breakage)"]+=1,advance("("),checkCondAssignment(expression(0)),advance(")",t),t=state.tokens.next,advance("{"),state.tokens.next.from===indent&&(noindent=!0),noindent||(indent+=state.option.indent),this.cases=[];;)switch(state.tokens.next.id){case"case":switch(state.funct["(verb)"]){case"yield":case"break":case"case":case"continue":case"return":case"switch":case"throw":break;default:state.tokens.curr.caseFallsThrough||warning("W086",state.tokens.curr,"case")}advance("case"),this.cases.push(expression(0)),increaseComplexityCount(),g=!0,advance(":"),state.funct["(verb)"]="case";break;case"default":switch(state.funct["(verb)"]){case"yield":case"break":case"continue":case"return":case"throw":break;default:this.cases.length&&(state.tokens.curr.caseFallsThrough||warning("W086",state.tokens.curr,"default"))}advance("default"),g=!0,advance(":");break;case"}":return noindent||(indent-=state.option.indent),advance("}",t),state.funct["(breakage)"]-=1,state.funct["(verb)"]=void 0,void 0;case"(end)":return error("E023",state.tokens.next,"}"),void 0;default:if(indent+=state.option.indent,g)switch(state.tokens.curr.id){case",":return error("E040"),void 0;case":":g=!1,statements();break;default:return error("E025",state.tokens.curr),void 0}else{if(":"!==state.tokens.curr.id)return error("E021",state.tokens.next,"case",state.tokens.next.value),void 0;advance(":"),error("E024",state.tokens.curr,":"),statements()}indent-=state.option.indent}return this}).labelled=!0,stmt("debugger",function(){return state.option.debug||warning("W087",this),this}).exps=!0,function(){var x=stmt("do",function(){state.funct["(breakage)"]+=1,state.funct["(loopage)"]+=1,increaseComplexityCount(),this.first=block(!0,!0),advance("while");var t=state.tokens.next;return advance("("),checkCondAssignment(expression(0)),advance(")",t),state.funct["(breakage)"]-=1,state.funct["(loopage)"]-=1,this});x.labelled=!0,x.exps=!0}(),blockstmt("for",function(){var s,t=state.tokens.next,letscope=!1,foreachtok=null;"each"===t.value&&(foreachtok=t,advance("each"),state.inMoz()||warning("W118",state.tokens.curr,"for each")),increaseComplexityCount(),advance("(");var nextop,comma,initializer,i=0,inof=["in","of"],level=0;checkPunctuators(state.tokens.next,["{","["])&&++level;do{if(nextop=peek(i),++i,checkPunctuators(nextop,["{","["])?++level:checkPunctuators(nextop,["}","]"])&&--level,0>level)break;0===level&&(!comma&&checkPunctuator(nextop,",")?comma=nextop:!initializer&&checkPunctuator(nextop,"=")&&(initializer=nextop))}while(level>0||!_.contains(inof,nextop.value)&&";"!==nextop.value&&"(end)"!==nextop.type);if(_.contains(inof,nextop.value)){state.inES6()||"of"!==nextop.value||warning("W104",nextop,"for of","6");var ok=!(initializer||comma);if(initializer&&error("W133",comma,nextop.value,"initializer is forbidden"),comma&&error("W133",comma,nextop.value,"more than one ForBinding"),"var"===state.tokens.next.id?(advance("var"),state.tokens.curr.fud({prefix:!0})):"let"===state.tokens.next.id||"const"===state.tokens.next.id?(advance(state.tokens.next.id),letscope=!0,state.funct["(scope)"].stack(),state.tokens.curr.fud({prefix:!0})):Object.create(varstatement).fud({prefix:!0,implied:"for",ignore:!ok}),advance(nextop.value),expression(20),advance(")",t),"in"===nextop.value&&state.option.forin&&(state.forinifcheckneeded=!0,void 0===state.forinifchecks&&(state.forinifchecks=[]),state.forinifchecks.push({type:"(none)"})),state.funct["(breakage)"]+=1,state.funct["(loopage)"]+=1,s=block(!0,!0),"in"===nextop.value&&state.option.forin){if(state.forinifchecks&&state.forinifchecks.length>0){var check=state.forinifchecks.pop();(s&&s.length>0&&("object"!=typeof s[0]||"if"!==s[0].value)||"(positive)"===check.type&&s.length>1||"(negative)"===check.type)&&warning("W089",this)}state.forinifcheckneeded=!1}state.funct["(breakage)"]-=1,state.funct["(loopage)"]-=1}else{if(foreachtok&&error("E045",foreachtok),";"!==state.tokens.next.id)if("var"===state.tokens.next.id)advance("var"),state.tokens.curr.fud();else if("let"===state.tokens.next.id)advance("let"),letscope=!0,state.funct["(scope)"].stack(),state.tokens.curr.fud();else for(;expression(0,"for"),","===state.tokens.next.id;)comma();if(nolinebreak(state.tokens.curr),advance(";"),state.funct["(loopage)"]+=1,";"!==state.tokens.next.id&&checkCondAssignment(expression(0)),nolinebreak(state.tokens.curr),advance(";"),";"===state.tokens.next.id&&error("E021",state.tokens.next,")",";"),")"!==state.tokens.next.id)for(;expression(0,"for"),","===state.tokens.next.id;)comma();advance(")",t),state.funct["(breakage)"]+=1,block(!0,!0),state.funct["(breakage)"]-=1,state.funct["(loopage)"]-=1}return letscope&&state.funct["(scope)"].unstack(),this}).labelled=!0,stmt("break",function(){var v=state.tokens.next.value;return state.option.asi||nolinebreak(this),";"===state.tokens.next.id||state.tokens.next.reach||state.tokens.curr.line!==startLine(state.tokens.next)?0===state.funct["(breakage)"]&&warning("W052",state.tokens.next,this.value):(state.funct["(scope)"].funct.hasBreakLabel(v)||warning("W090",state.tokens.next,v),this.first=state.tokens.next,advance()),reachable(this),this}).exps=!0,stmt("continue",function(){var v=state.tokens.next.value;return 0===state.funct["(breakage)"]&&warning("W052",state.tokens.next,this.value),state.funct["(loopage)"]||warning("W052",state.tokens.next,this.value),state.option.asi||nolinebreak(this),";"===state.tokens.next.id||state.tokens.next.reach||state.tokens.curr.line===startLine(state.tokens.next)&&(state.funct["(scope)"].funct.hasBreakLabel(v)||warning("W090",state.tokens.next,v),this.first=state.tokens.next,advance()),reachable(this),this}).exps=!0,stmt("return",function(){return this.line===startLine(state.tokens.next)?";"===state.tokens.next.id||state.tokens.next.reach||(this.first=expression(0),!this.first||"(punctuator)"!==this.first.type||"="!==this.first.value||this.first.paren||state.option.boss||warningAt("W093",this.first.line,this.first.character)):"(punctuator)"===state.tokens.next.type&&["[","{","+","-"].indexOf(state.tokens.next.value)>-1&&nolinebreak(this),reachable(this),this}).exps=!0,function(x){x.exps=!0,x.lbp=25}(prefix("yield",function(){var prev=state.tokens.prev;state.inES6(!0)&&!state.funct["(generator)"]?"(catch)"===state.funct["(name)"]&&state.funct["(context)"]["(generator)"]||error("E046",state.tokens.curr,"yield"):state.inES6()||warning("W104",state.tokens.curr,"yield","6"),state.funct["(generator)"]="yielded";var delegatingYield=!1;return"*"===state.tokens.next.value&&(delegatingYield=!0,advance("*")),this.line!==startLine(state.tokens.next)&&state.inMoz()?state.option.asi||nolinebreak(this):((delegatingYield||";"!==state.tokens.next.id&&!state.option.asi&&!state.tokens.next.reach&&state.tokens.next.nud)&&(nobreaknonadjacent(state.tokens.curr,state.tokens.next),this.first=expression(10),"(punctuator)"!==this.first.type||"="!==this.first.value||this.first.paren||state.option.boss||warningAt("W093",this.first.line,this.first.character)),state.inMoz()&&")"!==state.tokens.next.id&&(prev.lbp>30||!prev.assign&&!isEndOfExpr()||"yield"===prev.id)&&error("E050",this)),this})),stmt("throw",function(){return nolinebreak(this),this.first=expression(20),reachable(this),this}).exps=!0,stmt("import",function(){if(state.inES6()||warning("W119",state.tokens.curr,"import","6"),"(string)"===state.tokens.next.type)return advance("(string)"),this;if(state.tokens.next.identifier){if(this.name=identifier(),state.funct["(scope)"].addlabel(this.name,{type:"const",token:state.tokens.curr}),","!==state.tokens.next.value)return advance("from"),advance("(string)"),this;advance(",")}if("*"===state.tokens.next.id)advance("*"),advance("as"),state.tokens.next.identifier&&(this.name=identifier(),state.funct["(scope)"].addlabel(this.name,{type:"const",token:state.tokens.curr}));else for(advance("{");;){if("}"===state.tokens.next.value){advance("}");break}var importName;if("default"===state.tokens.next.type?(importName="default",advance("default")):importName=identifier(),"as"===state.tokens.next.value&&(advance("as"),importName=identifier()),state.funct["(scope)"].addlabel(importName,{type:"const",token:state.tokens.curr}),","!==state.tokens.next.value){if("}"===state.tokens.next.value){advance("}");break}error("E024",state.tokens.next,state.tokens.next.value);break}advance(",")}return advance("from"),advance("(string)"),this}).exps=!0,stmt("export",function(){var token,identifier,ok=!0;if(state.inES6()||(warning("W119",state.tokens.curr,"export","6"),ok=!1),state.funct["(scope)"].block.isGlobal()||(error("E053",state.tokens.curr),ok=!1),"*"===state.tokens.next.value)return advance("*"),advance("from"),advance("(string)"),this;if("default"===state.tokens.next.type){state.nameStack.set(state.tokens.next),advance("default");var exportType=state.tokens.next.id;return("function"===exportType||"class"===exportType)&&(this.block=!0),token=peek(),expression(10),identifier=token.value,this.block&&(state.funct["(scope)"].addlabel(identifier,{type:exportType,token:token}),state.funct["(scope)"].setExported(identifier,token)),this}if("{"===state.tokens.next.value){advance("{");for(var exportedTokens=[];;){if(state.tokens.next.identifier||error("E030",state.tokens.next,state.tokens.next.value),advance(),exportedTokens.push(state.tokens.curr),"as"===state.tokens.next.value&&(advance("as"),state.tokens.next.identifier||error("E030",state.tokens.next,state.tokens.next.value),advance()),","!==state.tokens.next.value){if("}"===state.tokens.next.value){advance("}");break}error("E024",state.tokens.next,state.tokens.next.value);break}advance(",")}return"from"===state.tokens.next.value?(advance("from"),advance("(string)")):ok&&exportedTokens.forEach(function(token){state.funct["(scope)"].setExported(token.value,token)}),this}if("var"===state.tokens.next.id)advance("var"),state.tokens.curr.fud({inexport:!0});else if("let"===state.tokens.next.id)advance("let"),state.tokens.curr.fud({inexport:!0});else if("const"===state.tokens.next.id)advance("const"),state.tokens.curr.fud({inexport:!0});else if("function"===state.tokens.next.id)this.block=!0,advance("function"),state.syntax["function"].fud({inexport:!0});else if("class"===state.tokens.next.id){this.block=!0,advance("class");var classNameToken=state.tokens.next;state.syntax["class"].fud(),state.funct["(scope)"].setExported(classNameToken.value,classNameToken)}else error("E024",state.tokens.next,state.tokens.next.value);return this}).exps=!0,FutureReservedWord("abstract"),FutureReservedWord("boolean"),FutureReservedWord("byte"),FutureReservedWord("char"),FutureReservedWord("class",{es5:!0,nud:classdef}),FutureReservedWord("double"),FutureReservedWord("enum",{es5:!0}),FutureReservedWord("export",{es5:!0}),FutureReservedWord("extends",{es5:!0}),FutureReservedWord("final"),FutureReservedWord("float"),FutureReservedWord("goto"),FutureReservedWord("implements",{es5:!0,strictOnly:!0}),FutureReservedWord("import",{es5:!0}),FutureReservedWord("int"),FutureReservedWord("interface",{es5:!0,strictOnly:!0}),FutureReservedWord("long"),FutureReservedWord("native"),FutureReservedWord("package",{es5:!0,strictOnly:!0}),FutureReservedWord("private",{es5:!0,strictOnly:!0}),FutureReservedWord("protected",{es5:!0,strictOnly:!0}),FutureReservedWord("public",{es5:!0,strictOnly:!0}),FutureReservedWord("short"),FutureReservedWord("static",{es5:!0,strictOnly:!0}),FutureReservedWord("super",{es5:!0}),FutureReservedWord("synchronized"),FutureReservedWord("transient"),FutureReservedWord("volatile");var lookupBlockType=function(){var pn,pn1,prev,i=-1,bracketStack=0,ret={};checkPunctuators(state.tokens.curr,["[","{"])&&(bracketStack+=1);do{if(prev=-1===i?state.tokens.curr:pn,pn=-1===i?state.tokens.next:peek(i),pn1=peek(i+1),i+=1,checkPunctuators(pn,["[","{"])?bracketStack+=1:checkPunctuators(pn,["]","}"])&&(bracketStack-=1),1===bracketStack&&pn.identifier&&"for"===pn.value&&!checkPunctuator(prev,".")){ret.isCompArray=!0,ret.notJson=!0;break}if(0===bracketStack&&checkPunctuators(pn,["}","]"])){if("="===pn1.value){ret.isDestAssign=!0,ret.notJson=!0;break}if("."===pn1.value){ret.notJson=!0;break}}checkPunctuator(pn,";")&&(ret.isBlock=!0,ret.notJson=!0)}while(bracketStack>0&&"(end)"!==pn.id);return ret},arrayComprehension=function(){function declare(v){var l=_current.variables.filter(function(elt){return elt.value===v?(elt.undef=!1,v):void 0}).length;return 0!==l}function use(v){var l=_current.variables.filter(function(elt){return elt.value!==v||elt.undef?void 0:(elt.unused===!0&&(elt.unused=!1),v)}).length;return 0===l}var _current,CompArray=function(){this.mode="use",this.variables=[]},_carrays=[];return{stack:function(){_current=new CompArray,_carrays.push(_current)},unstack:function(){_current.variables.filter(function(v){v.unused&&warning("W098",v.token,v.raw_text||v.value),v.undef&&state.funct["(scope)"].block.use(v.value,v.token)}),_carrays.splice(-1,1),_current=_carrays[_carrays.length-1]},setState:function(s){_.contains(["use","define","generate","filter"],s)&&(_current.mode=s)},check:function(v){return _current?_current&&"use"===_current.mode?(use(v)&&_current.variables.push({funct:state.funct,token:state.tokens.curr,value:v,undef:!0,unused:!1}),!0):_current&&"define"===_current.mode?(declare(v)||_current.variables.push({funct:state.funct,token:state.tokens.curr,value:v,undef:!1,unused:!0}),!0):_current&&"generate"===_current.mode?(state.funct["(scope)"].block.use(v,state.tokens.curr),!0):_current&&"filter"===_current.mode?(use(v)&&state.funct["(scope)"].block.use(v,state.tokens.curr),!0):!1:void 0}}},escapeRegex=function(str){return str.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g,"\\\\$&")},itself=function(s,o,g){function each(obj,cb){obj&&(Array.isArray(obj)||"object"!=typeof obj||(obj=Object.keys(obj)),obj.forEach(cb))}var i,k,x,reIgnoreStr,reIgnore,optionKeys,newOptionObj={},newIgnoredObj={};o=_.clone(o),state.reset(),o&&o.scope?JSHINT.scope=o.scope:(JSHINT.errors=[],JSHINT.undefs=[],JSHINT.internals=[],JSHINT.blacklist={},JSHINT.scope="(main)"),predefined=Object.create(null),combine(predefined,vars.ecmaIdentifiers[3]),combine(predefined,vars.reservedVars),combine(predefined,g||{}),declared=Object.create(null);var exported=Object.create(null);if(o)for(each(o.predef||null,function(item){var slice,prop;"-"===item[0]?(slice=item.slice(1),JSHINT.blacklist[slice]=slice,delete predefined[slice]):(prop=Object.getOwnPropertyDescriptor(o.predef,item),predefined[item]=prop?prop.value:!1)}),each(o.exported||null,function(item){exported[item]=!0}),delete o.predef,delete o.exported,optionKeys=Object.keys(o),x=0;optionKeys.length>x;x++)if(/^-W\\d{3}$/g.test(optionKeys[x]))newIgnoredObj[optionKeys[x].slice(1)]=!0;else{var optionKey=optionKeys[x];newOptionObj[optionKey]=o[optionKey],("esversion"===optionKey&&5===o[optionKey]||"es5"===optionKey&&o[optionKey])&&warning("I003"),"newcap"===optionKeys[x]&&o[optionKey]===!1&&(newOptionObj["(explicitNewcap)"]=!0)}state.option=newOptionObj,state.ignored=newIgnoredObj,state.option.indent=state.option.indent||4,state.option.maxerr=state.option.maxerr||50,indent=1;var scopeManagerInst=scopeManager(state,predefined,exported,declared);if(scopeManagerInst.on("warning",function(ev){warning.apply(null,[ev.code,ev.token].concat(ev.data))}),scopeManagerInst.on("error",function(ev){error.apply(null,[ev.code,ev.token].concat(ev.data))}),state.funct=functor("(global)",null,{"(global)":!0,"(scope)":scopeManagerInst,"(comparray)":arrayComprehension(),"(metrics)":createMetrics(state.tokens.next)}),functions=[state.funct],urls=[],stack=null,member={},membersOnly=null,inblock=!1,lookahead=[],!isString(s)&&!Array.isArray(s))return errorAt("E004",0),!1;api={get isJSON(){return state.jsonMode},getOption:function(name){return state.option[name]||null},getCache:function(name){return state.cache[name]},setCache:function(name,value){state.cache[name]=value},warn:function(code,data){warningAt.apply(null,[code,data.line,data.char].concat(data.data))},on:function(names,listener){names.split(" ").forEach(function(name){emitter.on(name,listener)}.bind(this))}},emitter.removeAllListeners(),(extraModules||[]).forEach(function(func){func(api)}),state.tokens.prev=state.tokens.curr=state.tokens.next=state.syntax["(begin)"],o&&o.ignoreDelimiters&&(Array.isArray(o.ignoreDelimiters)||(o.ignoreDelimiters=[o.ignoreDelimiters]),o.ignoreDelimiters.forEach(function(delimiterPair){delimiterPair.start&&delimiterPair.end&&(reIgnoreStr=escapeRegex(delimiterPair.start)+"[\\\\s\\\\S]*?"+escapeRegex(delimiterPair.end),reIgnore=RegExp(reIgnoreStr,"ig"),s=s.replace(reIgnore,function(match){return match.replace(/./g," ")}))})),lex=new Lexer(s),lex.on("warning",function(ev){warningAt.apply(null,[ev.code,ev.line,ev.character].concat(ev.data))}),lex.on("error",function(ev){errorAt.apply(null,[ev.code,ev.line,ev.character].concat(ev.data))}),lex.on("fatal",function(ev){quit("E041",ev.line,ev.from)}),lex.on("Identifier",function(ev){emitter.emit("Identifier",ev)}),lex.on("String",function(ev){emitter.emit("String",ev)}),lex.on("Number",function(ev){emitter.emit("Number",ev)}),lex.start();for(var name in o)_.has(o,name)&&checkOption(name,state.tokens.curr);assume(),combine(predefined,g||{}),comma.first=!0;try{switch(advance(),state.tokens.next.id){case"{":case"[":destructuringAssignOrJsonValue();break;default:directives(),state.directive["use strict"]&&"global"!==state.option.strict&&warning("W097",state.tokens.prev),statements()}"(end)"!==state.tokens.next.id&&quit("E041",state.tokens.curr.line),state.funct["(scope)"].unstack()}catch(err){if(!err||"JSHintError"!==err.name)throw err;var nt=state.tokens.next||{};JSHINT.errors.push({scope:"(main)",raw:err.raw,code:err.code,reason:err.message,line:err.line||nt.line,character:err.character||nt.from},null)}if("(main)"===JSHINT.scope)for(o=o||{},i=0;JSHINT.internals.length>i;i+=1)k=JSHINT.internals[i],o.scope=k.elem,itself(k.value,o,g);return 0===JSHINT.errors.length};return itself.addModule=function(func){extraModules.push(func)},itself.addModule(style.register),itself.data=function(){var fu,f,i,j,n,globals,data={functions:[],options:state.option};itself.errors.length&&(data.errors=itself.errors),state.jsonMode&&(data.json=!0);var impliedGlobals=state.funct["(scope)"].getImpliedGlobals();for(impliedGlobals.length>0&&(data.implieds=impliedGlobals),urls.length>0&&(data.urls=urls),globals=state.funct["(scope)"].getUsedOrDefinedGlobals(),globals.length>0&&(data.globals=globals),i=1;functions.length>i;i+=1){for(f=functions[i],fu={},j=0;functionicity.length>j;j+=1)fu[functionicity[j]]=[];for(j=0;functionicity.length>j;j+=1)0===fu[functionicity[j]].length&&delete fu[functionicity[j]];fu.name=f["(name)"],fu.param=f["(params)"],fu.line=f["(line)"],fu.character=f["(character)"],fu.last=f["(last)"],fu.lastcharacter=f["(lastcharacter)"],fu.metrics={complexity:f["(metrics)"].ComplexityCount,parameters:f["(metrics)"].arity,statements:f["(metrics)"].statementCount},data.functions.push(fu)}var unuseds=state.funct["(scope)"].getUnuseds();unuseds.length>0&&(data.unused=unuseds);for(n in member)if("number"==typeof member[n]){data.member=member;break}return data},itself.jshint=itself,itself}();"object"==typeof exports&&exports&&(exports.JSHINT=JSHINT)},{"../lodash":"/node_modules/jshint/lodash.js","./lex.js":"/node_modules/jshint/src/lex.js","./messages.js":"/node_modules/jshint/src/messages.js","./options.js":"/node_modules/jshint/src/options.js","./reg.js":"/node_modules/jshint/src/reg.js","./scope-manager.js":"/node_modules/jshint/src/scope-manager.js","./state.js":"/node_modules/jshint/src/state.js","./style.js":"/node_modules/jshint/src/style.js","./vars.js":"/node_modules/jshint/src/vars.js",events:"/node_modules/browserify/node_modules/events/events.js"}],"/node_modules/jshint/src/lex.js":[function(_dereq_,module,exports){"use strict";function asyncTrigger(){var _checks=[];return{push:function(fn){_checks.push(fn)},check:function(){for(var check=0;_checks.length>check;++check)_checks[check]();_checks.splice(0,_checks.length)}}}function Lexer(source){var lines=source;"string"==typeof lines&&(lines=lines.replace(/\\r\\n/g,"\\n").replace(/\\r/g,"\\n").split("\\n")),lines[0]&&"#!"===lines[0].substr(0,2)&&(-1!==lines[0].indexOf("node")&&(state.option.node=!0),lines[0]=""),this.emitter=new events.EventEmitter,this.source=source,this.setLines(lines),this.prereg=!0,this.line=0,this.char=1,this.from=1,this.input="",this.inComment=!1,this.context=[],this.templateStarts=[];for(var i=0;state.option.indent>i;i+=1)state.tab+=" ";this.ignoreLinterErrors=!1}var _=_dereq_("../lodash"),events=_dereq_("events"),reg=_dereq_("./reg.js"),state=_dereq_("./state.js").state,unicodeData=_dereq_("../data/ascii-identifier-data.js"),asciiIdentifierStartTable=unicodeData.asciiIdentifierStartTable,asciiIdentifierPartTable=unicodeData.asciiIdentifierPartTable,Token={Identifier:1,Punctuator:2,NumericLiteral:3,StringLiteral:4,Comment:5,Keyword:6,NullLiteral:7,BooleanLiteral:8,RegExp:9,TemplateHead:10,TemplateMiddle:11,TemplateTail:12,NoSubstTemplate:13},Context={Block:1,Template:2};Lexer.prototype={_lines:[],inContext:function(ctxType){return this.context.length>0&&this.context[this.context.length-1].type===ctxType},pushContext:function(ctxType){this.context.push({type:ctxType})},popContext:function(){return this.context.pop()},isContext:function(context){return this.context.length>0&&this.context[this.context.length-1]===context},currentContext:function(){return this.context.length>0&&this.context[this.context.length-1]},getLines:function(){return this._lines=state.lines,this._lines},setLines:function(val){this._lines=val,state.lines=this._lines},peek:function(i){return this.input.charAt(i||0)},skip:function(i){i=i||1,this.char+=i,this.input=this.input.slice(i)},on:function(names,listener){names.split(" ").forEach(function(name){this.emitter.on(name,listener)}.bind(this))},trigger:function(){this.emitter.emit.apply(this.emitter,Array.prototype.slice.call(arguments))},triggerAsync:function(type,args,checks,fn){checks.push(function(){fn()&&this.trigger(type,args)}.bind(this))},scanPunctuator:function(){var ch2,ch3,ch4,ch1=this.peek();switch(ch1){case".":if(/^[0-9]$/.test(this.peek(1)))return null;if("."===this.peek(1)&&"."===this.peek(2))return{type:Token.Punctuator,value:"..."};case"(":case")":case";":case",":case"[":case"]":case":":case"~":case"?":return{type:Token.Punctuator,value:ch1};case"{":return this.pushContext(Context.Block),{type:Token.Punctuator,value:ch1};case"}":return this.inContext(Context.Block)&&this.popContext(),{type:Token.Punctuator,value:ch1};case"#":return{type:Token.Punctuator,value:ch1};case"":return null}return ch2=this.peek(1),ch3=this.peek(2),ch4=this.peek(3),">"===ch1&&">"===ch2&&">"===ch3&&"="===ch4?{type:Token.Punctuator,value:">>>="}:"="===ch1&&"="===ch2&&"="===ch3?{type:Token.Punctuator,value:"==="}:"!"===ch1&&"="===ch2&&"="===ch3?{type:Token.Punctuator,value:"!=="}:">"===ch1&&">"===ch2&&">"===ch3?{type:Token.Punctuator,value:">>>"}:"<"===ch1&&"<"===ch2&&"="===ch3?{type:Token.Punctuator,value:"<<="}:">"===ch1&&">"===ch2&&"="===ch3?{type:Token.Punctuator,value:">>="}:"="===ch1&&">"===ch2?{type:Token.Punctuator,value:ch1+ch2}:ch1===ch2&&"+-<>&|".indexOf(ch1)>=0?{type:Token.Punctuator,value:ch1+ch2}:"<>=!+-*%&|^".indexOf(ch1)>=0?"="===ch2?{type:Token.Punctuator,value:ch1+ch2}:{type:Token.Punctuator,value:ch1}:"/"===ch1?"="===ch2?{type:Token.Punctuator,value:"/="}:{type:Token.Punctuator,value:"/"}:null},scanComments:function(){function commentToken(label,body,opt){var special=["jshint","jslint","members","member","globals","global","exported"],isSpecial=!1,value=label+body,commentType="plain";return opt=opt||{},opt.isMultiline&&(value+="*/"),body=body.replace(/\\n/g," "),"/*"===label&®.fallsThrough.test(body)&&(isSpecial=!0,commentType="falls through"),special.forEach(function(str){if(!isSpecial&&("//"!==label||"jshint"===str)&&(" "===body.charAt(str.length)&&body.substr(0,str.length)===str&&(isSpecial=!0,label+=str,body=body.substr(str.length)),isSpecial||" "!==body.charAt(0)||" "!==body.charAt(str.length+1)||body.substr(1,str.length)!==str||(isSpecial=!0,label=label+" "+str,body=body.substr(str.length+1)),isSpecial))switch(str){case"member":commentType="members";break;case"global":commentType="globals";break;default:var options=body.split(":").map(function(v){return v.replace(/^\\s+/,"").replace(/\\s+$/,"")});if(2===options.length)switch(options[0]){case"ignore":switch(options[1]){case"start":self.ignoringLinterErrors=!0,isSpecial=!1;break;case"end":self.ignoringLinterErrors=!1,isSpecial=!1}}commentType=str}}),{type:Token.Comment,commentType:commentType,value:value,body:body,isSpecial:isSpecial,isMultiline:opt.isMultiline||!1,isMalformed:opt.isMalformed||!1}}var ch1=this.peek(),ch2=this.peek(1),rest=this.input.substr(2),startLine=this.line,startChar=this.char,self=this;if("*"===ch1&&"/"===ch2)return this.trigger("error",{code:"E018",line:startLine,character:startChar}),this.skip(2),null;if("/"!==ch1||"*"!==ch2&&"/"!==ch2)return null;if("/"===ch2)return this.skip(this.input.length),commentToken("//",rest);var body="";if("*"===ch2){for(this.inComment=!0,this.skip(2);"*"!==this.peek()||"/"!==this.peek(1);)if(""===this.peek()){if(body+="\\n",!this.nextLine())return this.trigger("error",{code:"E017",line:startLine,character:startChar}),this.inComment=!1,commentToken("/*",body,{isMultiline:!0,isMalformed:!0})}else body+=this.peek(),this.skip();return this.skip(2),this.inComment=!1,commentToken("/*",body,{isMultiline:!0})}},scanKeyword:function(){var result=/^[a-zA-Z_$][a-zA-Z0-9_$]*/.exec(this.input),keywords=["if","in","do","var","for","new","try","let","this","else","case","void","with","enum","while","break","catch","throw","const","yield","class","super","return","typeof","delete","switch","export","import","default","finally","extends","function","continue","debugger","instanceof"];return result&&keywords.indexOf(result[0])>=0?{type:Token.Keyword,value:result[0]}:null},scanIdentifier:function(){function isNonAsciiIdentifierStart(code){return code>256}function isNonAsciiIdentifierPart(code){return code>256}function isHexDigit(str){return/^[0-9a-fA-F]$/.test(str)}function removeEscapeSequences(id){return id.replace(/\\\\u([0-9a-fA-F]{4})/g,function(m0,codepoint){return String.fromCharCode(parseInt(codepoint,16))})}var type,char,id="",index=0,readUnicodeEscapeSequence=function(){if(index+=1,"u"!==this.peek(index))return null;var code,ch1=this.peek(index+1),ch2=this.peek(index+2),ch3=this.peek(index+3),ch4=this.peek(index+4);return isHexDigit(ch1)&&isHexDigit(ch2)&&isHexDigit(ch3)&&isHexDigit(ch4)?(code=parseInt(ch1+ch2+ch3+ch4,16),asciiIdentifierPartTable[code]||isNonAsciiIdentifierPart(code)?(index+=5,"\\\\u"+ch1+ch2+ch3+ch4):null):null}.bind(this),getIdentifierStart=function(){var chr=this.peek(index),code=chr.charCodeAt(0);return 92===code?readUnicodeEscapeSequence():128>code?asciiIdentifierStartTable[code]?(index+=1,chr):null:isNonAsciiIdentifierStart(code)?(index+=1,chr):null}.bind(this),getIdentifierPart=function(){var chr=this.peek(index),code=chr.charCodeAt(0);return 92===code?readUnicodeEscapeSequence():128>code?asciiIdentifierPartTable[code]?(index+=1,chr):null:isNonAsciiIdentifierPart(code)?(index+=1,chr):null}.bind(this);if(char=getIdentifierStart(),null===char)return null;for(id=char;char=getIdentifierPart(),null!==char;)id+=char;switch(id){case"true":case"false":type=Token.BooleanLiteral;break;case"null":type=Token.NullLiteral;break;default:type=Token.Identifier}return{type:type,value:removeEscapeSequences(id),text:id,tokenLength:id.length}},scanNumericLiteral:function(){function isDecimalDigit(str){return/^[0-9]$/.test(str)}function isOctalDigit(str){return/^[0-7]$/.test(str)}function isBinaryDigit(str){return/^[01]$/.test(str)}function isHexDigit(str){return/^[0-9a-fA-F]$/.test(str)}function isIdentifierStart(ch){return"$"===ch||"_"===ch||"\\\\"===ch||ch>="a"&&"z">=ch||ch>="A"&&"Z">=ch}var bad,index=0,value="",length=this.input.length,char=this.peek(index),isAllowedDigit=isDecimalDigit,base=10,isLegacy=!1;if("."!==char&&!isDecimalDigit(char))return null;if("."!==char){for(value=this.peek(index),index+=1,char=this.peek(index),"0"===value&&(("x"===char||"X"===char)&&(isAllowedDigit=isHexDigit,base=16,index+=1,value+=char),("o"===char||"O"===char)&&(isAllowedDigit=isOctalDigit,base=8,state.inES6(!0)||this.trigger("warning",{code:"W119",line:this.line,character:this.char,data:["Octal integer literal","6"]}),index+=1,value+=char),("b"===char||"B"===char)&&(isAllowedDigit=isBinaryDigit,base=2,state.inES6(!0)||this.trigger("warning",{code:"W119",line:this.line,character:this.char,data:["Binary integer literal","6"]}),index+=1,value+=char),isOctalDigit(char)&&(isAllowedDigit=isOctalDigit,base=8,isLegacy=!0,bad=!1,index+=1,value+=char),!isOctalDigit(char)&&isDecimalDigit(char)&&(index+=1,value+=char));length>index;){if(char=this.peek(index),isLegacy&&isDecimalDigit(char))bad=!0;else if(!isAllowedDigit(char))break;value+=char,index+=1}if(isAllowedDigit!==isDecimalDigit)return!isLegacy&&2>=value.length?{type:Token.NumericLiteral,value:value,isMalformed:!0}:length>index&&(char=this.peek(index),isIdentifierStart(char))?null:{type:Token.NumericLiteral,value:value,base:base,isLegacy:isLegacy,isMalformed:!1}}if("."===char)for(value+=char,index+=1;length>index&&(char=this.peek(index),isDecimalDigit(char));)value+=char,index+=1;if("e"===char||"E"===char){if(value+=char,index+=1,char=this.peek(index),("+"===char||"-"===char)&&(value+=this.peek(index),index+=1),char=this.peek(index),!isDecimalDigit(char))return null;for(value+=char,index+=1;length>index&&(char=this.peek(index),isDecimalDigit(char));)value+=char,index+=1}return length>index&&(char=this.peek(index),isIdentifierStart(char))?null:{type:Token.NumericLiteral,value:value,base:base,isMalformed:!isFinite(value)}},scanEscapeSequence:function(checks){var allowNewLine=!1,jump=1;this.skip();var char=this.peek();switch(char){case"\'":this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\\\\'"]},checks,function(){return state.jsonMode});break;case"b":char="\\\\b";break;case"f":char="\\\\f";break;case"n":char="\\\\n";break;case"r":char="\\\\r";break;case"t":char="\\\\t";break;case"0":char="\\\\0";var n=parseInt(this.peek(1),10);this.triggerAsync("warning",{code:"W115",line:this.line,character:this.char},checks,function(){return n>=0&&7>=n&&state.isStrict()});break;case"u":var hexCode=this.input.substr(1,4),code=parseInt(hexCode,16);isNaN(code)&&this.trigger("warning",{code:"W052",line:this.line,character:this.char,data:["u"+hexCode]}),char=String.fromCharCode(code),jump=5;break;case"v":this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\\\v"]},checks,function(){return state.jsonMode}),char="\x0B";break;case"x":var x=parseInt(this.input.substr(1,2),16);this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\\\x-"]},checks,function(){return state.jsonMode}),char=String.fromCharCode(x),jump=3;break;case"\\\\":char="\\\\\\\\";break;case\'"\':char=\'\\\\"\';break;case"/":break;case"":allowNewLine=!0,char=""}return{"char":char,jump:jump,allowNewLine:allowNewLine}},scanTemplateLiteral:function(checks){var tokenType,ch,value="",startLine=this.line,startChar=this.char,depth=this.templateStarts.length;if(!state.inES6(!0))return null;if("`"===this.peek())tokenType=Token.TemplateHead,this.templateStarts.push({line:this.line,"char":this.char}),depth=this.templateStarts.length,this.skip(1),this.pushContext(Context.Template);else{if(!this.inContext(Context.Template)||"}"!==this.peek())return null;tokenType=Token.TemplateMiddle}for(;"`"!==this.peek();){for(;""===(ch=this.peek());)if(value+="\\n",!this.nextLine()){var startPos=this.templateStarts.pop();return this.trigger("error",{code:"E052",line:startPos.line,character:startPos.char}),{type:tokenType,value:value,startLine:startLine,startChar:startChar,isUnclosed:!0,depth:depth,context:this.popContext()}}if("$"===ch&&"{"===this.peek(1))return value+="${",this.skip(2),{type:tokenType,value:value,startLine:startLine,startChar:startChar,isUnclosed:!1,depth:depth,context:this.currentContext()};\nif("\\\\"===ch){var escape=this.scanEscapeSequence(checks);value+=escape.char,this.skip(escape.jump)}else"`"!==ch&&(value+=ch,this.skip(1))}return tokenType=tokenType===Token.TemplateHead?Token.NoSubstTemplate:Token.TemplateTail,this.skip(1),this.templateStarts.pop(),{type:tokenType,value:value,startLine:startLine,startChar:startChar,isUnclosed:!1,depth:depth,context:this.popContext()}},scanStringLiteral:function(checks){var quote=this.peek();if(\'"\'!==quote&&"\'"!==quote)return null;this.triggerAsync("warning",{code:"W108",line:this.line,character:this.char},checks,function(){return state.jsonMode&&\'"\'!==quote});var value="",startLine=this.line,startChar=this.char,allowNewLine=!1;for(this.skip();this.peek()!==quote;)if(""===this.peek()){if(allowNewLine?(allowNewLine=!1,this.triggerAsync("warning",{code:"W043",line:this.line,character:this.char},checks,function(){return!state.option.multistr}),this.triggerAsync("warning",{code:"W042",line:this.line,character:this.char},checks,function(){return state.jsonMode&&state.option.multistr})):this.trigger("warning",{code:"W112",line:this.line,character:this.char}),!this.nextLine())return this.trigger("error",{code:"E029",line:startLine,character:startChar}),{type:Token.StringLiteral,value:value,startLine:startLine,startChar:startChar,isUnclosed:!0,quote:quote}}else{allowNewLine=!1;var char=this.peek(),jump=1;if(" ">char&&this.trigger("warning",{code:"W113",line:this.line,character:this.char,data:[""]}),"\\\\"===char){var parsed=this.scanEscapeSequence(checks);char=parsed.char,jump=parsed.jump,allowNewLine=parsed.allowNewLine}value+=char,this.skip(jump)}return this.skip(),{type:Token.StringLiteral,value:value,startLine:startLine,startChar:startChar,isUnclosed:!1,quote:quote}},scanRegExp:function(){var terminated,index=0,length=this.input.length,char=this.peek(),value=char,body="",flags=[],malformed=!1,isCharSet=!1,scanUnexpectedChars=function(){" ">char&&(malformed=!0,this.trigger("warning",{code:"W048",line:this.line,character:this.char})),"<"===char&&(malformed=!0,this.trigger("warning",{code:"W049",line:this.line,character:this.char,data:[char]}))}.bind(this);if(!this.prereg||"/"!==char)return null;for(index+=1,terminated=!1;length>index;)if(char=this.peek(index),value+=char,body+=char,isCharSet)"]"===char&&("\\\\"!==this.peek(index-1)||"\\\\"===this.peek(index-2))&&(isCharSet=!1),"\\\\"===char&&(index+=1,char=this.peek(index),body+=char,value+=char,scanUnexpectedChars()),index+=1;else{if("\\\\"===char){if(index+=1,char=this.peek(index),body+=char,value+=char,scanUnexpectedChars(),"/"===char){index+=1;continue}if("["===char){index+=1;continue}}if("["!==char){if("/"===char){body=body.substr(0,body.length-1),terminated=!0,index+=1;break}index+=1}else isCharSet=!0,index+=1}if(!terminated)return this.trigger("error",{code:"E015",line:this.line,character:this.from}),void this.trigger("fatal",{line:this.line,from:this.from});for(;length>index&&(char=this.peek(index),/[gim]/.test(char));)flags.push(char),value+=char,index+=1;try{RegExp(body,flags.join(""))}catch(err){malformed=!0,this.trigger("error",{code:"E016",line:this.line,character:this.char,data:[err.message]})}return{type:Token.RegExp,value:value,flags:flags,isMalformed:malformed}},scanNonBreakingSpaces:function(){return state.option.nonbsp?this.input.search(/(\\u00A0)/):-1},scanUnsafeChars:function(){return this.input.search(reg.unsafeChars)},next:function(checks){this.from=this.char;var start;if(/\\s/.test(this.peek()))for(start=this.char;/\\s/.test(this.peek());)this.from+=1,this.skip();var match=this.scanComments()||this.scanStringLiteral(checks)||this.scanTemplateLiteral(checks);return match?match:(match=this.scanRegExp()||this.scanPunctuator()||this.scanKeyword()||this.scanIdentifier()||this.scanNumericLiteral(),match?(this.skip(match.tokenLength||match.value.length),match):null)},nextLine:function(){var char;if(this.line>=this.getLines().length)return!1;this.input=this.getLines()[this.line],this.line+=1,this.char=1,this.from=1;var inputTrimmed=this.input.trim(),startsWith=function(){return _.some(arguments,function(prefix){return 0===inputTrimmed.indexOf(prefix)})},endsWith=function(){return _.some(arguments,function(suffix){return-1!==inputTrimmed.indexOf(suffix,inputTrimmed.length-suffix.length)})};if(this.ignoringLinterErrors===!0&&(startsWith("/*","//")||this.inComment&&endsWith("*/")||(this.input="")),char=this.scanNonBreakingSpaces(),char>=0&&this.trigger("warning",{code:"W125",line:this.line,character:char+1}),this.input=this.input.replace(/\\t/g,state.tab),char=this.scanUnsafeChars(),char>=0&&this.trigger("warning",{code:"W100",line:this.line,character:char}),!this.ignoringLinterErrors&&state.option.maxlen&&state.option.maxlen=0;--i){var scopeLabels=_scopeStack[i]["(labels)"];if(scopeLabels[labelName])return scopeLabels}}function usedSoFarInCurrentFunction(labelName){for(var i=_scopeStack.length-1;i>=0;i--){var current=_scopeStack[i];if(current["(usages)"][labelName])return current["(usages)"][labelName];if(current===_currentFunctBody)break}return!1}function _checkOuterShadow(labelName,token){if("outer"===state.option.shadow)for(var isGlobal="global"===_currentFunctBody["(type)"],isNewFunction="functionparams"===_current["(type)"],outsideCurrentFunction=!isGlobal,i=0;_scopeStack.length>i;i++){var stackItem=_scopeStack[i];isNewFunction||_scopeStack[i+1]!==_currentFunctBody||(outsideCurrentFunction=!1),outsideCurrentFunction&&stackItem["(labels)"][labelName]&&warning("W123",token,labelName),stackItem["(breakLabels)"][labelName]&&warning("W123",token,labelName)}}function _latedefWarning(type,labelName,token){state.option.latedef&&(state.option.latedef===!0&&"function"===type||"function"!==type)&&warning("W003",token,labelName)}var _current,_scopeStack=[];_newScope("global"),_current["(predefined)"]=predefined;var _currentFunctBody=_current,usedPredefinedAndGlobals=Object.create(null),impliedGlobals=Object.create(null),unuseds=[],emitter=new events.EventEmitter,_getUnusedOption=function(unused_opt){return void 0===unused_opt&&(unused_opt=state.option.unused),unused_opt===!0&&(unused_opt="last-param"),unused_opt},_warnUnused=function(name,tkn,type,unused_opt){var line=tkn.line,chr=tkn.from,raw_name=tkn.raw_text||name;unused_opt=_getUnusedOption(unused_opt);var warnable_types={vars:["var"],"last-param":["var","param"],strict:["var","param","last-param"]};unused_opt&&warnable_types[unused_opt]&&-1!==warnable_types[unused_opt].indexOf(type)&&warning("W098",{line:line,from:chr},raw_name),(unused_opt||"var"===type)&&unuseds.push({name:name,line:line,character:chr})},scopeManagerInst={on:function(names,listener){names.split(" ").forEach(function(name){emitter.on(name,listener)})},isPredefined:function(labelName){return!this.has(labelName)&&_.has(_scopeStack[0]["(predefined)"],labelName)},stack:function(type){var previousScope=_current;_newScope(type),type||"functionparams"!==previousScope["(type)"]||(_current["(isFuncBody)"]=!0,_current["(context)"]=_currentFunctBody,_currentFunctBody=_current)},unstack:function(){var i,j,subScope=_scopeStack.length>1?_scopeStack[_scopeStack.length-2]:null,isUnstackingFunctionBody=_current===_currentFunctBody,isUnstackingFunctionParams="functionparams"===_current["(type)"],isUnstackingFunctionOuter="functionouter"===_current["(type)"],currentUsages=_current["(usages)"],currentLabels=_current["(labels)"],usedLabelNameList=Object.keys(currentUsages);for(currentUsages.__proto__&&-1===usedLabelNameList.indexOf("__proto__")&&usedLabelNameList.push("__proto__"),i=0;usedLabelNameList.length>i;i++){var usedLabelName=usedLabelNameList[i],usage=currentUsages[usedLabelName],usedLabel=currentLabels[usedLabelName];if(usedLabel){var usedLabelType=usedLabel["(type)"];if(usedLabel["(useOutsideOfScope)"]&&!state.option.funcscope){var usedTokens=usage["(tokens)"];if(usedTokens)for(j=0;usedTokens.length>j;j++)usedLabel["(function)"]===usedTokens[j]["(function)"]&&error("W038",usedTokens[j],usedLabelName)}if(_current["(labels)"][usedLabelName]["(unused)"]=!1,"const"===usedLabelType&&usage["(modified)"])for(j=0;usage["(modified)"].length>j;j++)error("E013",usage["(modified)"][j],usedLabelName);if(("function"===usedLabelType||"class"===usedLabelType)&&usage["(reassigned)"])for(j=0;usage["(reassigned)"].length>j;j++)error("W021",usage["(reassigned)"][j],usedLabelName,usedLabelType)}else if(isUnstackingFunctionOuter&&(state.funct["(isCapturing)"]=!0),subScope)if(subScope["(usages)"][usedLabelName]){var subScopeUsage=subScope["(usages)"][usedLabelName];subScopeUsage["(modified)"]=subScopeUsage["(modified)"].concat(usage["(modified)"]),subScopeUsage["(tokens)"]=subScopeUsage["(tokens)"].concat(usage["(tokens)"]),subScopeUsage["(reassigned)"]=subScopeUsage["(reassigned)"].concat(usage["(reassigned)"]),subScopeUsage["(onlyUsedSubFunction)"]=!1}else subScope["(usages)"][usedLabelName]=usage,isUnstackingFunctionBody&&(subScope["(usages)"][usedLabelName]["(onlyUsedSubFunction)"]=!0);else if("boolean"==typeof _current["(predefined)"][usedLabelName]){if(delete declared[usedLabelName],usedPredefinedAndGlobals[usedLabelName]=marker,_current["(predefined)"][usedLabelName]===!1&&usage["(reassigned)"])for(j=0;usage["(reassigned)"].length>j;j++)warning("W020",usage["(reassigned)"][j])}else if(usage["(tokens)"])for(j=0;usage["(tokens)"].length>j;j++){var undefinedToken=usage["(tokens)"][j];undefinedToken.forgiveUndef||(state.option.undef&&!undefinedToken.ignoreUndef&&warning("W117",undefinedToken,usedLabelName),impliedGlobals[usedLabelName]?impliedGlobals[usedLabelName].line.push(undefinedToken.line):impliedGlobals[usedLabelName]={name:usedLabelName,line:[undefinedToken.line]})}}if(subScope||Object.keys(declared).forEach(function(labelNotUsed){_warnUnused(labelNotUsed,declared[labelNotUsed],"var")}),subScope&&!isUnstackingFunctionBody&&!isUnstackingFunctionParams&&!isUnstackingFunctionOuter){var labelNames=Object.keys(currentLabels);for(i=0;labelNames.length>i;i++){var defLabelName=labelNames[i];currentLabels[defLabelName]["(blockscoped)"]||"exception"===currentLabels[defLabelName]["(type)"]||this.funct.has(defLabelName,{excludeCurrent:!0})||(subScope["(labels)"][defLabelName]=currentLabels[defLabelName],"global"!==_currentFunctBody["(type)"]&&(subScope["(labels)"][defLabelName]["(useOutsideOfScope)"]=!0),delete currentLabels[defLabelName])}}_checkForUnused(),_scopeStack.pop(),isUnstackingFunctionBody&&(_currentFunctBody=_scopeStack[_.findLastIndex(_scopeStack,function(scope){return scope["(isFuncBody)"]||"global"===scope["(type)"]})]),_current=subScope},addParam:function(labelName,token,type){if(type=type||"param","exception"===type){var previouslyDefinedLabelType=this.funct.labeltype(labelName);previouslyDefinedLabelType&&"exception"!==previouslyDefinedLabelType&&(state.option.node||warning("W002",state.tokens.next,labelName))}if(_.has(_current["(labels)"],labelName)?_current["(labels)"][labelName].duplicated=!0:(_checkOuterShadow(labelName,token,type),_current["(labels)"][labelName]={"(type)":type,"(token)":token,"(unused)":!0},_current["(params)"].push(labelName)),_.has(_current["(usages)"],labelName)){var usage=_current["(usages)"][labelName];usage["(onlyUsedSubFunction)"]?_latedefWarning(type,labelName,token):warning("E056",token,labelName,type)}},validateParams:function(){if("global"!==_currentFunctBody["(type)"]){var isStrict=state.isStrict(),currentFunctParamScope=_currentFunctBody["(parent)"];currentFunctParamScope["(params)"]&¤tFunctParamScope["(params)"].forEach(function(labelName){var label=currentFunctParamScope["(labels)"][labelName];label&&label.duplicated&&(isStrict?warning("E011",label["(token)"],labelName):state.option.shadow!==!0&&warning("W004",label["(token)"],labelName))})}},getUsedOrDefinedGlobals:function(){var list=Object.keys(usedPredefinedAndGlobals);return usedPredefinedAndGlobals.__proto__===marker&&-1===list.indexOf("__proto__")&&list.push("__proto__"),list},getImpliedGlobals:function(){var values=_.values(impliedGlobals),hasProto=!1;return impliedGlobals.__proto__&&(hasProto=values.some(function(value){return"__proto__"===value.name}),hasProto||values.push(impliedGlobals.__proto__)),values},getUnuseds:function(){return unuseds},has:function(labelName){return Boolean(_getLabel(labelName))},labeltype:function(labelName){var scopeLabels=_getLabel(labelName);return scopeLabels?scopeLabels[labelName]["(type)"]:null},addExported:function(labelName){var globalLabels=_scopeStack[0]["(labels)"];if(_.has(declared,labelName))delete declared[labelName];else if(_.has(globalLabels,labelName))globalLabels[labelName]["(unused)"]=!1;else{for(var i=1;_scopeStack.length>i;i++){var scope=_scopeStack[i];if(scope["(type)"])break;if(_.has(scope["(labels)"],labelName)&&!scope["(labels)"][labelName]["(blockscoped)"])return scope["(labels)"][labelName]["(unused)"]=!1,void 0}exported[labelName]=!0}},setExported:function(labelName,token){this.block.use(labelName,token)\n},addlabel:function(labelName,opts){var type=opts.type,token=opts.token,isblockscoped="let"===type||"const"===type||"class"===type,isexported="global"===(isblockscoped?_current:_currentFunctBody)["(type)"]&&_.has(exported,labelName);if(_checkOuterShadow(labelName,token,type),isblockscoped){var declaredInCurrentScope=_current["(labels)"][labelName];if(declaredInCurrentScope||_current!==_currentFunctBody||"global"===_current["(type)"]||(declaredInCurrentScope=!!_currentFunctBody["(parent)"]["(labels)"][labelName]),!declaredInCurrentScope&&_current["(usages)"][labelName]){var usage=_current["(usages)"][labelName];usage["(onlyUsedSubFunction)"]?_latedefWarning(type,labelName,token):warning("E056",token,labelName,type)}declaredInCurrentScope?warning("E011",token,labelName):"outer"===state.option.shadow&&scopeManagerInst.funct.has(labelName)&&warning("W004",token,labelName),scopeManagerInst.block.add(labelName,type,token,!isexported)}else{var declaredInCurrentFunctionScope=scopeManagerInst.funct.has(labelName);!declaredInCurrentFunctionScope&&usedSoFarInCurrentFunction(labelName)&&_latedefWarning(type,labelName,token),scopeManagerInst.funct.has(labelName,{onlyBlockscoped:!0})?warning("E011",token,labelName):state.option.shadow!==!0&&declaredInCurrentFunctionScope&&"__proto__"!==labelName&&"global"!==_currentFunctBody["(type)"]&&warning("W004",token,labelName),scopeManagerInst.funct.add(labelName,type,token,!isexported),"global"===_currentFunctBody["(type)"]&&(usedPredefinedAndGlobals[labelName]=marker)}},funct:{labeltype:function(labelName,options){for(var onlyBlockscoped=options&&options.onlyBlockscoped,excludeParams=options&&options.excludeParams,currentScopeIndex=_scopeStack.length-(options&&options.excludeCurrent?2:1),i=currentScopeIndex;i>=0;i--){var current=_scopeStack[i];if(current["(labels)"][labelName]&&(!onlyBlockscoped||current["(labels)"][labelName]["(blockscoped)"]))return current["(labels)"][labelName]["(type)"];var scopeCheck=excludeParams?_scopeStack[i-1]:current;if(scopeCheck&&"functionparams"===scopeCheck["(type)"])return null}return null},hasBreakLabel:function(labelName){for(var i=_scopeStack.length-1;i>=0;i--){var current=_scopeStack[i];if(current["(breakLabels)"][labelName])return!0;if("functionparams"===current["(type)"])return!1}return!1},has:function(labelName,options){return Boolean(this.labeltype(labelName,options))},add:function(labelName,type,tok,unused){_current["(labels)"][labelName]={"(type)":type,"(token)":tok,"(blockscoped)":!1,"(function)":_currentFunctBody,"(unused)":unused}}},block:{isGlobal:function(){return"global"===_current["(type)"]},use:function(labelName,token){var paramScope=_currentFunctBody["(parent)"];paramScope&¶mScope["(labels)"][labelName]&&"param"===paramScope["(labels)"][labelName]["(type)"]&&(scopeManagerInst.funct.has(labelName,{excludeParams:!0,onlyBlockscoped:!0})||(paramScope["(labels)"][labelName]["(unused)"]=!1)),token&&(state.ignored.W117||state.option.undef===!1)&&(token.ignoreUndef=!0),_setupUsages(labelName),token&&(token["(function)"]=_currentFunctBody,_current["(usages)"][labelName]["(tokens)"].push(token))},reassign:function(labelName,token){this.modify(labelName,token),_current["(usages)"][labelName]["(reassigned)"].push(token)},modify:function(labelName,token){_setupUsages(labelName),_current["(usages)"][labelName]["(modified)"].push(token)},add:function(labelName,type,tok,unused){_current["(labels)"][labelName]={"(type)":type,"(token)":tok,"(blockscoped)":!0,"(unused)":unused}},addBreakLabel:function(labelName,opts){var token=opts.token;scopeManagerInst.funct.hasBreakLabel(labelName)?warning("E011",token,labelName):"outer"===state.option.shadow&&(scopeManagerInst.funct.has(labelName)?warning("W004",token,labelName):_checkOuterShadow(labelName,token)),_current["(breakLabels)"][labelName]=token}}};return scopeManagerInst};module.exports=scopeManager},{"../lodash":"/node_modules/jshint/lodash.js",events:"/node_modules/browserify/node_modules/events/events.js"}],"/node_modules/jshint/src/state.js":[function(_dereq_,module,exports){"use strict";var NameStack=_dereq_("./name-stack.js"),state={syntax:{},isStrict:function(){return this.directive["use strict"]||this.inClassBody||this.option.module||"implied"===this.option.strict},inMoz:function(){return this.option.moz},inES6:function(){return this.option.moz||this.option.esversion>=6},inES5:function(strict){return strict?!(this.option.esversion&&5!==this.option.esversion||this.option.moz):!this.option.esversion||this.option.esversion>=5||this.option.moz},reset:function(){this.tokens={prev:null,next:null,curr:null},this.option={},this.funct=null,this.ignored={},this.directive={},this.jsonMode=!1,this.jsonWarnings=[],this.lines=[],this.tab="",this.cache={},this.ignoredLines={},this.forinifcheckneeded=!1,this.nameStack=new NameStack,this.inClassBody=!1}};exports.state=state},{"./name-stack.js":"/node_modules/jshint/src/name-stack.js"}],"/node_modules/jshint/src/style.js":[function(_dereq_,module,exports){"use strict";exports.register=function(linter){linter.on("Identifier",function(data){linter.getOption("proto")||"__proto__"===data.name&&linter.warn("W103",{line:data.line,"char":data.char,data:[data.name,"6"]})}),linter.on("Identifier",function(data){linter.getOption("iterator")||"__iterator__"===data.name&&linter.warn("W103",{line:data.line,"char":data.char,data:[data.name]})}),linter.on("Identifier",function(data){linter.getOption("camelcase")&&data.name.replace(/^_+|_+$/g,"").indexOf("_")>-1&&!data.name.match(/^[A-Z0-9_]*$/)&&linter.warn("W106",{line:data.line,"char":data.from,data:[data.name]})}),linter.on("String",function(data){var code,quotmark=linter.getOption("quotmark");quotmark&&("single"===quotmark&&"\'"!==data.quote&&(code="W109"),"double"===quotmark&&\'"\'!==data.quote&&(code="W108"),quotmark===!0&&(linter.getCache("quotmark")||linter.setCache("quotmark",data.quote),linter.getCache("quotmark")!==data.quote&&(code="W110")),code&&linter.warn(code,{line:data.line,"char":data.char}))}),linter.on("Number",function(data){"."===data.value.charAt(0)&&linter.warn("W008",{line:data.line,"char":data.char,data:[data.value]}),"."===data.value.substr(data.value.length-1)&&linter.warn("W047",{line:data.line,"char":data.char,data:[data.value]}),/^00+/.test(data.value)&&linter.warn("W046",{line:data.line,"char":data.char,data:[data.value]})}),linter.on("String",function(data){var re=/^(?:javascript|jscript|ecmascript|vbscript|livescript)\\s*:/i;linter.getOption("scripturl")||re.test(data.value)&&linter.warn("W107",{line:data.line,"char":data.char})})}},{}],"/node_modules/jshint/src/vars.js":[function(_dereq_,module,exports){"use strict";exports.reservedVars={arguments:!1,NaN:!1},exports.ecmaIdentifiers={3:{Array:!1,Boolean:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,isFinite:!1,isNaN:!1,Math:!1,Number:!1,Object:!1,parseInt:!1,parseFloat:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,TypeError:!1,URIError:!1},5:{JSON:!1},6:{Map:!1,Promise:!1,Proxy:!1,Reflect:!1,Set:!1,Symbol:!1,WeakMap:!1,WeakSet:!1}},exports.browser={Audio:!1,Blob:!1,addEventListener:!1,applicationCache:!1,atob:!1,blur:!1,btoa:!1,cancelAnimationFrame:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,CSS:!1,clearInterval:!1,clearTimeout:!1,close:!1,closed:!1,Comment:!1,CustomEvent:!1,DOMParser:!1,defaultStatus:!1,Document:!1,document:!1,DocumentFragment:!1,Element:!1,ElementTimeControl:!1,Event:!1,event:!1,fetch:!1,FileReader:!1,FormData:!1,focus:!1,frames:!1,getComputedStyle:!1,HTMLElement:!1,HTMLAnchorElement:!1,HTMLBaseElement:!1,HTMLBlockquoteElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLIsIndexElement:!1,HTMLLabelElement:!1,HTMLLayerElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPreElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTitleElement:!1,HTMLUListElement:!1,HTMLVideoElement:!1,history:!1,Image:!1,Intl:!1,length:!1,localStorage:!1,location:!1,matchMedia:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationObserver:!1,name:!1,Node:!1,NodeFilter:!1,NodeList:!1,Notification:!1,navigator:!1,onbeforeunload:!0,onblur:!0,onerror:!0,onfocus:!0,onload:!0,onresize:!0,onunload:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,parent:!1,performance:!1,print:!1,Range:!1,requestAnimationFrame:!1,removeEventListener:!1,resizeBy:!1,resizeTo:!1,screen:!1,scroll:!1,scrollBy:!1,scrollTo:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,SharedWorker:!1,status:!1,SVGAElement:!1,SVGAltGlyphDefElement:!1,SVGAltGlyphElement:!1,SVGAltGlyphItemElement:!1,SVGAngle:!1,SVGAnimateColorElement:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPathData:!1,SVGAnimatedPoints:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimationElement:!1,SVGCSSRule:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGColor:!1,SVGColorProfileElement:!1,SVGColorProfileRule:!1,SVGComponentTransferFunctionElement:!1,SVGCursorElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDocument:!1,SVGElement:!1,SVGElementInstance:!1,SVGElementInstanceList:!1,SVGEllipseElement:!1,SVGExternalResourcesRequired:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGFilterPrimitiveStandardAttributes:!1,SVGFitToViewBox:!1,SVGFontElement:!1,SVGFontFaceElement:!1,SVGFontFaceFormatElement:!1,SVGFontFaceNameElement:!1,SVGFontFaceSrcElement:!1,SVGFontFaceUriElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGlyphElement:!1,SVGGlyphRefElement:!1,SVGGradientElement:!1,SVGHKernElement:!1,SVGICCColor:!1,SVGImageElement:!1,SVGLangSpace:!1,SVGLength:!1,SVGLengthList:!1,SVGLineElement:!1,SVGLinearGradientElement:!1,SVGLocatable:!1,SVGMPathElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMissingGlyphElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPaint:!1,SVGPathElement:!1,SVGPathSeg:!1,SVGPathSegArcAbs:!1,SVGPathSegArcRel:!1,SVGPathSegClosePath:!1,SVGPathSegCurvetoCubicAbs:!1,SVGPathSegCurvetoCubicRel:!1,SVGPathSegCurvetoCubicSmoothAbs:!1,SVGPathSegCurvetoCubicSmoothRel:!1,SVGPathSegCurvetoQuadraticAbs:!1,SVGPathSegCurvetoQuadraticRel:!1,SVGPathSegCurvetoQuadraticSmoothAbs:!1,SVGPathSegCurvetoQuadraticSmoothRel:!1,SVGPathSegLinetoAbs:!1,SVGPathSegLinetoHorizontalAbs:!1,SVGPathSegLinetoHorizontalRel:!1,SVGPathSegLinetoRel:!1,SVGPathSegLinetoVerticalAbs:!1,SVGPathSegLinetoVerticalRel:!1,SVGPathSegList:!1,SVGPathSegMovetoAbs:!1,SVGPathSegMovetoRel:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGRenderingIntent:!1,SVGSVGElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStylable:!1,SVGStyleElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTRefElement:!1,SVGTSpanElement:!1,SVGTests:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTransformable:!1,SVGURIReference:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGVKernElement:!1,SVGViewElement:!1,SVGViewSpec:!1,SVGZoomAndPan:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TimeEvent:!1,top:!1,URL:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLTexture:!1,WebGLUniformLocation:!1,WebSocket:!1,window:!1,Window:!1,Worker:!1,XDomainRequest:!1,XMLHttpRequest:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathException:!1,XPathExpression:!1,XPathNamespace:!1,XPathNSResolver:!1,XPathResult:!1},exports.devel={alert:!1,confirm:!1,console:!1,Debug:!1,opera:!1,prompt:!1},exports.worker={importScripts:!0,postMessage:!0,self:!0,FileReaderSync:!0},exports.nonstandard={escape:!1,unescape:!1},exports.couch={require:!1,respond:!1,getRow:!1,emit:!1,send:!1,start:!1,sum:!1,log:!1,exports:!1,module:!1,provides:!1},exports.node={__filename:!1,__dirname:!1,GLOBAL:!1,global:!1,module:!1,acequire:!1,Buffer:!0,console:!0,exports:!0,process:!0,setTimeout:!0,clearTimeout:!0,setInterval:!0,clearInterval:!0,setImmediate:!0,clearImmediate:!0},exports.browserify={__filename:!1,__dirname:!1,global:!1,module:!1,acequire:!1,Buffer:!0,exports:!0,process:!0},exports.phantom={phantom:!0,acequire:!0,WebPage:!0,console:!0,exports:!0},exports.qunit={asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,"throws":!1},exports.rhino={defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},exports.shelljs={target:!1,echo:!1,exit:!1,cd:!1,pwd:!1,ls:!1,find:!1,cp:!1,rm:!1,mv:!1,mkdir:!1,test:!1,cat:!1,sed:!1,grep:!1,which:!1,dirs:!1,pushd:!1,popd:!1,env:!1,exec:!1,chmod:!1,config:!1,error:!1,tempdir:!1},exports.typed={ArrayBuffer:!1,ArrayBufferView:!1,DataView:!1,Float32Array:!1,Float64Array:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1},exports.wsh={ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WSH:!0,WScript:!0,XDomainRequest:!0},exports.dojo={dojo:!1,dijit:!1,dojox:!1,define:!1,require:!1},exports.jquery={$:!1,jQuery:!1},exports.mootools={$:!1,$$:!1,Asset:!1,Browser:!1,Chain:!1,Class:!1,Color:!1,Cookie:!1,Core:!1,Document:!1,DomReady:!1,DOMEvent:!1,DOMReady:!1,Drag:!1,Element:!1,Elements:!1,Event:!1,Events:!1,Fx:!1,Group:!1,Hash:!1,HtmlTable:!1,IFrame:!1,IframeShim:!1,InputValidator:!1,instanceOf:!1,Keyboard:!1,Locale:!1,Mask:!1,MooTools:!1,Native:!1,Options:!1,OverText:!1,Request:!1,Scroller:!1,Slick:!1,Slider:!1,Sortables:!1,Spinner:!1,Swiff:!1,Tips:!1,Type:!1,typeOf:!1,URI:!1,Window:!1},exports.prototypejs={$:!1,$$:!1,$A:!1,$F:!1,$H:!1,$R:!1,$break:!1,$continue:!1,$w:!1,Abstract:!1,Ajax:!1,Class:!1,Enumerable:!1,Element:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Selector:!1,Template:!1,Toggle:!1,Try:!1,Autocompleter:!1,Builder:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Scriptaculous:!1},exports.yui={YUI:!1,Y:!1,YUI_config:!1},exports.mocha={mocha:!1,describe:!1,xdescribe:!1,it:!1,xit:!1,context:!1,xcontext:!1,before:!1,after:!1,beforeEach:!1,afterEach:!1,suite:!1,test:!1,setup:!1,teardown:!1,suiteSetup:!1,suiteTeardown:!1},exports.jasmine={jasmine:!1,describe:!1,xdescribe:!1,it:!1,xit:!1,beforeEach:!1,afterEach:!1,setFixtures:!1,loadFixtures:!1,spyOn:!1,expect:!1,runs:!1,waitsFor:!1,waits:!1,beforeAll:!1,afterAll:!1,fail:!1,fdescribe:!1,fit:!1,pending:!1}},{}]},{},["/node_modules/jshint/src/jshint.js"])}),ace.define("ace/mode/javascript_worker",["require","exports","module","ace/lib/oop","ace/worker/mirror","ace/mode/javascript/jshint"],function(acequire,exports,module){"use strict";function startRegex(arr){return RegExp("^("+arr.join("|")+")")}var oop=acequire("../lib/oop"),Mirror=acequire("../worker/mirror").Mirror,lint=acequire("./javascript/jshint").JSHINT,disabledWarningsRe=startRegex(["Bad for in variable \'(.+)\'.",\'Missing "use strict"\']),errorsRe=startRegex(["Unexpected","Expected ","Confusing (plus|minus)","\\\\{a\\\\} unterminated regular expression","Unclosed ","Unmatched ","Unbegun comment","Bad invocation","Missing space after","Missing operator at"]),infoRe=startRegex(["Expected an assignment","Bad escapement of EOL","Unexpected comma","Unexpected space","Missing radix parameter.","A leading decimal point can","\\\\[\'{a}\'\\\\] is better written in dot notation.","\'{a}\' used out of scope"]),JavaScriptWorker=exports.JavaScriptWorker=function(sender){Mirror.call(this,sender),this.setTimeout(500),this.setOptions()};oop.inherits(JavaScriptWorker,Mirror),function(){this.setOptions=function(options){this.options=options||{esnext:!0,moz:!0,devel:!0,browser:!0,node:!0,laxcomma:!0,laxbreak:!0,lastsemic:!0,onevar:!1,passfail:!1,maxerr:100,expr:!0,multistr:!0,globalstrict:!0},this.doc.getValue()&&this.deferredUpdate.schedule(100)},this.changeOptions=function(newOptions){oop.mixin(this.options,newOptions),this.doc.getValue()&&this.deferredUpdate.schedule(100)},this.isValidJS=function(str){try{eval("throw 0;"+str)}catch(e){if(0===e)return!0}return!1},this.onUpdate=function(){var value=this.doc.getValue();if(value=value.replace(/^#!.*\\n/,"\\n"),!value)return this.sender.emit("annotate",[]);var errors=[],maxErrorLevel=this.isValidJS(value)?"warning":"error";lint(value,this.options,this.options.globals);for(var results=lint.errors,errorAdded=!1,i=0;results.length>i;i++){var error=results[i];if(error){var raw=error.raw,type="warning";if("Missing semicolon."==raw){var str=error.evidence.substr(error.character);str=str.charAt(str.search(/\\S/)),"error"==maxErrorLevel&&str&&/[\\w\\d{([\'"]/.test(str)?(error.reason=\'Missing ";" before statement\',type="error"):type="info"}else{if(disabledWarningsRe.test(raw))continue;infoRe.test(raw)?type="info":errorsRe.test(raw)?(errorAdded=!0,type=maxErrorLevel):"\'{a}\' is not defined."==raw?type="warning":"\'{a}\' is defined but never used."==raw&&(type="info")}errors.push({row:error.line-1,column:error.character-1,text:error.reason,type:type,raw:raw})}}this.sender.emit("annotate",errors)}}.call(JavaScriptWorker.prototype)}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(){function Empty(){}function doesDefinePropertyWork(object){try{return Object.defineProperty(object,"sentinel",{}),"sentinel"in object}catch(exception){}}function toInteger(n){return n=+n,n!==n?n=0:0!==n&&n!==1/0&&n!==-(1/0)&&(n=(n>0||-1)*Math.floor(Math.abs(n))),n}Function.prototype.bind||(Function.prototype.bind=function(that){var target=this;if("function"!=typeof target)throw new TypeError("Function.prototype.bind called on incompatible "+target);var args=slice.call(arguments,1),bound=function(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));return Object(result)===result?result:this}return target.apply(that,args.concat(slice.call(arguments)))};return target.prototype&&(Empty.prototype=target.prototype,bound.prototype=new Empty,Empty.prototype=null),bound});var defineGetter,defineSetter,lookupGetter,lookupSetter,supportsAccessors,call=Function.prototype.call,prototypeOfArray=Array.prototype,prototypeOfObject=Object.prototype,slice=prototypeOfArray.slice,_toString=call.bind(prototypeOfObject.toString),owns=call.bind(prototypeOfObject.hasOwnProperty);if((supportsAccessors=owns(prototypeOfObject,"__defineGetter__"))&&(defineGetter=call.bind(prototypeOfObject.__defineGetter__),defineSetter=call.bind(prototypeOfObject.__defineSetter__),lookupGetter=call.bind(prototypeOfObject.__lookupGetter__),lookupSetter=call.bind(prototypeOfObject.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function makeArray(l){var a=Array(l+2);return a[0]=a[1]=0,a}var lengthBefore,array=[];return array.splice.apply(array,makeArray(20)),array.splice.apply(array,makeArray(26)),lengthBefore=array.length,array.splice(5,0,"XXX"),lengthBefore+1==array.length,lengthBefore+1==array.length?!0:void 0}()){var array_splice=Array.prototype.splice;Array.prototype.splice=function(start,deleteCount){return arguments.length?array_splice.apply(this,[void 0===start?0:start,void 0===deleteCount?this.length-start:deleteCount].concat(slice.call(arguments,2))):[]}}else Array.prototype.splice=function(pos,removeCount){var length=this.length;pos>0?pos>length&&(pos=length):void 0==pos?pos=0:0>pos&&(pos=Math.max(length+pos,0)),length>pos+removeCount||(removeCount=length-pos);var removed=this.slice(pos,pos+removeCount),insert=slice.call(arguments,2),add=insert.length;if(pos===length)add&&this.push.apply(this,insert);else{var remove=Math.min(removeCount,length-pos),tailOldPos=pos+remove,tailNewPos=tailOldPos+add-remove,tailCount=length-tailOldPos,lengthAfterRemove=length-remove;if(tailOldPos>tailNewPos)for(var i=0;tailCount>i;++i)this[tailNewPos+i]=this[tailOldPos+i];else if(tailNewPos>tailOldPos)for(i=tailCount;i--;)this[tailNewPos+i]=this[tailOldPos+i];if(add&&pos===lengthAfterRemove)this.length=lengthAfterRemove,this.push.apply(this,insert);else for(this.length=lengthAfterRemove+add,i=0;add>i;++i)this[pos+i]=insert[i]}return removed};Array.isArray||(Array.isArray=function(obj){return"[object Array]"==_toString(obj)});var boxedString=Object("a"),splitString="a"!=boxedString[0]||!(0 in boxedString);if(Array.prototype.forEach||(Array.prototype.forEach=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,thisp=arguments[1],i=-1,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError;for(;length>++i;)i in self&&fun.call(thisp,self[i],i,object)}),Array.prototype.map||(Array.prototype.map=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=Array(length),thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(result[i]=fun.call(thisp,self[i],i,object));return result}),Array.prototype.filter||(Array.prototype.filter=function(fun){var value,object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=[],thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(value=self[i],fun.call(thisp,value,i,object)&&result.push(value));return result}),Array.prototype.every||(Array.prototype.every=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&!fun.call(thisp,self[i],i,object))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&fun.call(thisp,self[i],i,object))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var result,i=0;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i++];break}if(++i>=length)throw new TypeError("reduce of empty array with no initial value")}for(;length>i;i++)i in self&&(result=fun.call(void 0,result,self[i],i,object));return result}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var result,i=length-1;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i--];break}if(0>--i)throw new TypeError("reduceRight of empty array with no initial value")}do i in this&&(result=fun.call(void 0,result,self[i],i,object));while(i--);return result}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=0;for(arguments.length>1&&(i=toInteger(arguments[1])),i=i>=0?i:Math.max(0,length+i);length>i;i++)if(i in self&&self[i]===sought)return i;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=length-1;for(arguments.length>1&&(i=Math.min(i,toInteger(arguments[1]))),i=i>=0?i:length-Math.abs(i);i>=0;i--)if(i in self&&sought===self[i])return i;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(object){return object.__proto__||(object.constructor?object.constructor.prototype:prototypeOfObject)}),!Object.getOwnPropertyDescriptor){var ERR_NON_OBJECT="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(object,property){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT+object);if(owns(object,property)){var descriptor,getter,setter;if(descriptor={enumerable:!0,configurable:!0},supportsAccessors){var prototype=object.__proto__;object.__proto__=prototypeOfObject;var getter=lookupGetter(object,property),setter=lookupSetter(object,property);if(object.__proto__=prototype,getter||setter)return getter&&(descriptor.get=getter),setter&&(descriptor.set=setter),descriptor}return descriptor.value=object[property],descriptor}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(object){return Object.keys(object)}),!Object.create){var createEmpty;createEmpty=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var empty={};for(var i in empty)empty[i]=null;return empty.constructor=empty.hasOwnProperty=empty.propertyIsEnumerable=empty.isPrototypeOf=empty.toLocaleString=empty.toString=empty.valueOf=empty.__proto__=null,empty},Object.create=function(prototype,properties){var object;if(null===prototype)object=createEmpty();else{if("object"!=typeof prototype)throw new TypeError("typeof prototype["+typeof prototype+"] != \'object\'");var Type=function(){};Type.prototype=prototype,object=new Type,object.__proto__=prototype}return void 0!==properties&&Object.defineProperties(object,properties),object}}if(Object.defineProperty){var definePropertyWorksOnObject=doesDefinePropertyWork({}),definePropertyWorksOnDom="undefined"==typeof document||doesDefinePropertyWork(document.createElement("div"));if(!definePropertyWorksOnObject||!definePropertyWorksOnDom)var definePropertyFallback=Object.defineProperty}if(!Object.defineProperty||definePropertyFallback){var ERR_NON_OBJECT_DESCRIPTOR="Property description must be an object: ",ERR_NON_OBJECT_TARGET="Object.defineProperty called on non-object: ",ERR_ACCESSORS_NOT_SUPPORTED="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(object,property,descriptor){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT_TARGET+object);if("object"!=typeof descriptor&&"function"!=typeof descriptor||null===descriptor)throw new TypeError(ERR_NON_OBJECT_DESCRIPTOR+descriptor);if(definePropertyFallback)try{return definePropertyFallback.call(Object,object,property,descriptor)}catch(exception){}if(owns(descriptor,"value"))if(supportsAccessors&&(lookupGetter(object,property)||lookupSetter(object,property))){var prototype=object.__proto__;object.__proto__=prototypeOfObject,delete object[property],object[property]=descriptor.value,object.__proto__=prototype}else object[property]=descriptor.value;else{if(!supportsAccessors)throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);owns(descriptor,"get")&&defineGetter(object,property,descriptor.get),owns(descriptor,"set")&&defineSetter(object,property,descriptor.set)}return object}}Object.defineProperties||(Object.defineProperties=function(object,properties){for(var property in properties)owns(properties,property)&&Object.defineProperty(object,property,properties[property]);return object}),Object.seal||(Object.seal=function(object){return object}),Object.freeze||(Object.freeze=function(object){return object});try{Object.freeze(function(){})}catch(exception){Object.freeze=function(freezeObject){return function(object){return"function"==typeof object?object:freezeObject(object)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(object){return object}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(object){if(Object(object)===object)throw new TypeError;for(var name="";owns(object,name);)name+="?";object[name]=!0;var returnValue=owns(object,name);return delete object[name],returnValue}),!Object.keys){var hasDontEnumBug=!0,dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],dontEnumsLength=dontEnums.length;for(var key in{toString:null})hasDontEnumBug=!1;Object.keys=function(object){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError("Object.keys called on a non-object");var keys=[];for(var name in object)owns(object,name)&&keys.push(name);if(hasDontEnumBug)for(var i=0,ii=dontEnumsLength;ii>i;i++){var dontEnum=dontEnums[i];owns(object,dontEnum)&&keys.push(dontEnum)}return keys}}Date.now||(Date.now=function(){return(new Date).getTime()});var ws="\t\\n\x0B\\f\\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\\u2028\\u2029\uFEFF";if(!String.prototype.trim||ws.trim()){ws="["+ws+"]";var trimBeginRegexp=RegExp("^"+ws+ws+"*"),trimEndRegexp=RegExp(ws+ws+"*$");String.prototype.trim=function(){return(this+"").replace(trimBeginRegexp,"").replace(trimEndRegexp,"")}}var toObject=function(o){if(null==o)throw new TypeError("can\'t convert "+o+" to object");return Object(o)}});'},function(){ace.define('ace/theme/monokai',['require','exports','module','ace/lib/dom'],function(e,t){t.isDark=!0,t.cssClass='ace-monokai',t.cssText='.ace-monokai .ace_gutter {background: #2F3129;color: #8F908A}.ace-monokai .ace_print-margin {width: 1px;background: #555651}.ace-monokai {background-color: #272822;color: #F8F8F2}.ace-monokai .ace_cursor {color: #F8F8F0}.ace-monokai .ace_marker-layer .ace_selection {background: #49483E}.ace-monokai.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #272822;}.ace-monokai .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-monokai .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #49483E}.ace-monokai .ace_marker-layer .ace_active-line {background: #202020}.ace-monokai .ace_gutter-active-line {background-color: #272727}.ace-monokai .ace_marker-layer .ace_selected-word {border: 1px solid #49483E}.ace-monokai .ace_invisible {color: #52524d}.ace-monokai .ace_entity.ace_name.ace_tag,.ace-monokai .ace_keyword,.ace-monokai .ace_meta.ace_tag,.ace-monokai .ace_storage {color: #F92672}.ace-monokai .ace_punctuation,.ace-monokai .ace_punctuation.ace_tag {color: #fff}.ace-monokai .ace_constant.ace_character,.ace-monokai .ace_constant.ace_language,.ace-monokai .ace_constant.ace_numeric,.ace-monokai .ace_constant.ace_other {color: #AE81FF}.ace-monokai .ace_invalid {color: #F8F8F0;background-color: #F92672}.ace-monokai .ace_invalid.ace_deprecated {color: #F8F8F0;background-color: #AE81FF}.ace-monokai .ace_support.ace_constant,.ace-monokai .ace_support.ace_function {color: #66D9EF}.ace-monokai .ace_fold {background-color: #A6E22E;border-color: #F8F8F2}.ace-monokai .ace_storage.ace_type,.ace-monokai .ace_support.ace_class,.ace-monokai .ace_support.ace_type {font-style: italic;color: #66D9EF}.ace-monokai .ace_entity.ace_name.ace_function,.ace-monokai .ace_entity.ace_other,.ace-monokai .ace_entity.ace_other.ace_attribute-name,.ace-monokai .ace_variable {color: #A6E22E}.ace-monokai .ace_variable.ace_parameter {font-style: italic;color: #FD971F}.ace-monokai .ace_string {color: #E6DB74}.ace-monokai .ace_comment {color: #75715E}.ace-monokai .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0FD0ZXBzd/wPAAjVAoxeSgNeAAAAAElFTkSuQmCC) right repeat-y}';var n=e('../lib/dom');n.importCssString(t.cssText,t.cssClass)})}]); +*/function t(e){if(null===e||e===void 0)throw new TypeError('Object.assign cannot be called with null or undefined');return Object(e)}var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String('abc');if(e[5]='de','5'===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;10>n;n++)t['_'+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if('0123456789'!==r.join(''))return!1;var o={};return['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t'].forEach(function(e){o[e]=e}),'abcdefghijklmnopqrst'===Object.keys(Object.assign({},o)).join('')}catch(e){return!1}}()?Object.assign:function(e){for(var a=t(e),l=1,s,d;ls.index&&this.lastIndex--}return s},!o&&(RegExp.prototype.test=function(e){var t=n.exec.call(this,e);return t&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t}))}),ace.define('ace/lib/es5-shim',['require','exports','module'],function(){function e(){}function t(e){try{return Object.defineProperty(e,'sentinel',{}),'sentinel'in e}catch(e){}}function n(e){return e=+e,e===e?0!==e&&e!==1/0&&e!==-(1/0)&&(e=(0>>0;if('[object Function]'!=p(e))throw new TypeError;for(;++o>>0,o=Array(r),a=arguments[1];if('[object Function]'!=p(e))throw new TypeError(e+' is not a function');for(var s=0;s>>0,o=[],a=arguments[1],s;if('[object Function]'!=p(e))throw new TypeError(e+' is not a function');for(var l=0;l>>0,o=arguments[1];if('[object Function]'!=p(e))throw new TypeError(e+' is not a function');for(var a=0;a>>0,o=arguments[1];if('[object Function]'!=p(e))throw new TypeError(e+' is not a function');for(var a=0;a>>0;if('[object Function]'!=p(e))throw new TypeError(e+' is not a function');if(!r&&1==arguments.length)throw new TypeError('reduce of empty array with no initial value');var o=0,a;if(2<=arguments.length)a=arguments[1];else do{if(o in n){a=n[o++];break}if(++o>=r)throw new TypeError('reduce of empty array with no initial value')}while(!0);for(;o>>0;if('[object Function]'!=p(e))throw new TypeError(e+' is not a function');if(!r&&1==arguments.length)throw new TypeError('reduceRight of empty array with no initial value');var o=r-1,a;if(2<=arguments.length)a=arguments[1];else do{if(o in n){a=n[o--];break}if(0>--o)throw new TypeError('reduceRight of empty array with no initial value')}while(!0);do o in this&&(a=e.call(void 0,a,n[o],o,t));while(o--);return a}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(e){var t=v&&'[object String]'==p(this)?this.split(''):B(this),r=t.length>>>0;if(!r)return-1;var o=0;for(1>>0;if(!r)return-1;var o=r-1;for(1t.isIE,t.isGecko=t.isMozilla=(window.Controllers||window.controllers)&&'Gecko'===window.navigator.product,t.isOldGecko=t.isGecko&&4>parseInt((r.match(/rv:(\d+)/)||[])[1],10),t.isOpera=window.opera&&'[object Opera]'==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(r.split('WebKit/')[1])||void 0,t.isChrome=parseFloat(r.split(' Chrome/')[1])||void 0,t.isAIR=0<=r.indexOf('AdobeAIR'),t.isIPad=0<=r.indexOf('iPad'),t.isTouchPad=0<=r.indexOf('TouchPad'),t.isChromeOS=0<=r.indexOf(' CrOS ')}}),ace.define('ace/lib/event',['require','exports','module','ace/lib/keys','ace/lib/useragent'],function(e,t){'use strict';function n(t,n,e){var r=d(n);if(!a.isMac&&i){if(n.getModifierState&&(n.getModifierState('OS')||n.getModifierState('Win'))&&(r|=8),i.altGr)if(3!=(3&r))i.altGr=0;else return;if(18===e||17===e){var l='location'in n?n.location:n.keyLocation;if(17===e&&1===l)1==i[e]&&(s=n.timeStamp);else if(18===e&&3===r&&2===l){var c=n.timeStamp-s;50>c&&(i.altGr=!0)}}}if(e in o.MODIFIER_KEYS&&(e=-1),8&r&&91<=e&&93>=e&&(e=-1),!r&&13===e){var l='location'in n?n.location:n.keyLocation;if(3===l&&(t(n,r,-e),n.defaultPrevented))return}if(a.isChromeOS&&8&r){if(t(n,r,e),n.defaultPrevented)return;r&=-9}return(r||e in o.FUNCTION_KEYS||e in o.PRINTABLE_KEYS)&&t(n,r,e)}function r(){i=Object.create(null)}var o=e('./keys'),a=e('./useragent'),i=null,s=0;t.addListener=function(e,t,n){if(e.addEventListener)return e.addEventListener(t,n,!1);if(e.attachEvent){var r=function(){n.call(e,window.event)};n._wrapper=r,e.attachEvent('on'+t,r)}},t.removeListener=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):void(e.detachEvent&&e.detachEvent('on'+t,n._wrapper||n))},t.stopEvent=function(n){return t.stopPropagation(n),t.preventDefault(n),!1},t.stopPropagation=function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},t.preventDefault=function(t){t.preventDefault?t.preventDefault():t.returnValue=!1},t.getButton=function(t){return'dblclick'==t.type?0:'contextmenu'==t.type||a.isMac&&t.ctrlKey&&!t.altKey&&!t.shiftKey?2:t.preventDefault?t.button:{1:0,2:2,4:1}[t.button]},t.capture=function(e,n,r){function o(a){n&&n(a),r&&r(a),t.removeListener(document,'mousemove',n,!0),t.removeListener(document,'mouseup',o,!0),t.removeListener(document,'dragstart',o,!0)}return t.addListener(document,'mousemove',n,!0),t.addListener(document,'mouseup',o,!0),t.addListener(document,'dragstart',o,!0),o},t.addTouchMoveListener=function(e,n){if('ontouchmove'in e){var r,o;t.addListener(e,'touchstart',function(t){var e=t.changedTouches[0];r=e.clientX,o=e.clientY}),t.addListener(e,'touchmove',function(t){var e=1,a=t.changedTouches[0];t.wheelX=-(a.clientX-r)/e,t.wheelY=-(a.clientY-o)/e,r=a.clientX,o=a.clientY,n(t)})}},t.addMouseWheelListener=function(e,n){'onmousewheel'in e?t.addListener(e,'mousewheel',function(t){var e=8;void 0===t.wheelDeltaX?(t.wheelX=0,t.wheelY=-t.wheelDelta/e):(t.wheelX=-t.wheelDeltaX/e,t.wheelY=-t.wheelDeltaY/e),n(t)}):'onwheel'in e?t.addListener(e,'wheel',function(t){var e=0.35;switch(t.deltaMode){case t.DOM_DELTA_PIXEL:t.wheelX=t.deltaX*e||0,t.wheelY=t.deltaY*e||0;break;case t.DOM_DELTA_LINE:case t.DOM_DELTA_PAGE:t.wheelX=5*(t.deltaX||0),t.wheelY=5*(t.deltaY||0);}n(t)}):t.addListener(e,'DOMMouseScroll',function(t){t.axis&&t.axis==t.HORIZONTAL_AXIS?(t.wheelX=5*(t.detail||0),t.wheelY=0):(t.wheelX=0,t.wheelY=5*(t.detail||0)),n(t)})},t.addMultiMouseDownListener=function(e,n,r,o){function i(i){if(0===t.getButton(i)?1>=1)&&(e+=e);return n};var n=/^\s\s*/,r=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(n,'')},t.stringTrimRight=function(e){return e.replace(r,'')},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){for(var t=[],n=0,r=e.length;nr.isChrome,s=r.isIE;t.TextInput=function(e,t){function l(e){if(!m){if(m=!0,S)t=0,n=e?0:p.value.length-1;else var t=e?2:1,n=2;try{p.setSelectionRange(t,n)}catch(t){}m=!1}}function u(){m||(p.value=g,r.isWebKit&&x.schedule())}function c(){clearTimeout(W),W=setTimeout(function(){b&&(p.style.cssText=b,b=''),null==t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())},r.isOldIE?200:0)}var p=o.createElement('textarea');p.className='ace_text-input',r.isTouchPad&&p.setAttribute('x-palm-disable-auto-cap',!0),p.setAttribute('wrap','off'),p.setAttribute('autocorrect','off'),p.setAttribute('autocapitalize','off'),p.setAttribute('spellcheck',!1),p.style.opacity='0',r.isOldIE&&(p.style.top='-1000px'),e.insertBefore(p,e.firstChild);var g='\x01\x01',f=!1,h=!1,m=!1,b='',y=!0;try{var k=document.activeElement===p}catch(t){}n.addListener(p,'blur',function(n){t.onBlur(n),k=!1}),n.addListener(p,'focus',function(n){k=!0,t.onFocus(n),l()}),this.focus=function(){if(b)return p.focus();var e=p.style.top;p.style.position='fixed',p.style.top='0px',p.focus(),setTimeout(function(){p.style.position='','0px'==p.style.top&&(p.style.top=e)},0)},this.blur=function(){p.blur()},this.isFocused=function(){return k};var v=a.delayedCall(function(){k&&l(y)}),x=a.delayedCall(function(){m||(p.value=g,k&&l())});r.isWebKit||t.addEventListener('changeSelection',function(){t.selection.isEmpty()!=y&&(y=!y,v.schedule())}),u(),k&&t.onFocus();var w=function(e){return 0===e.selectionStart&&e.selectionEnd===e.value.length};if(!p.setSelectionRange&&p.createTextRange&&(p.setSelectionRange=function(e,t){var n=this.createTextRange();n.collapse(!0),n.moveStart('character',e),n.moveEnd('character',t),n.select()},w=function(e){try{var t=e.ownerDocument.selection.createRange()}catch(t){}return t&&t.parentElement()==e&&t.text==e.value}),r.isOldIE){var C=!1,A=function(t){if(!C){var e=p.value;return m||!e||e==g?void 0:t&&e==g[0]?E.schedule():void(L(e),C=!0,u(),C=!1)}},E=a.delayedCall(A);n.addListener(p,'propertychange',A);var F={13:1,27:1};n.addListener(p,'keyup',function(t){return m&&(!p.value||F[t.keyCode])&&setTimeout(N,0),129>(p.value.charCodeAt(0)||0)?E.call():void(m?O():P())}),n.addListener(p,'keydown',function(){E.schedule(50)})}var S=null;this.setInputHandler=function(e){S=e},this.getInputHandler=function(){return S};var _=!1,L=function(e){S&&(e=S(e),S=null),h?(l(),e&&t.onPaste(e),h=!1):e==g.charAt(0)?_?t.execCommand('del',{source:'ace'}):t.execCommand('backspace',{source:'ace'}):(e.substring(0,2)==g?e=e.substr(2):e.charAt(0)==g.charAt(0)?e=e.substr(1):e.charAt(e.length-1)==g.charAt(0)&&(e=e.slice(0,-1)),e.charAt(e.length-1)==g.charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),_&&(_=!1)},T=function(){if(!m){var e=p.value;L(e),u()}},D=function(t,n,r){var e=t.clipboardData||window.clipboardData;if(e&&!i){var o=s||r?'Text':'text/plain';try{return n?!1!==e.setData(o,n):e.getData(o)}catch(t){if(!r)return D(t,n,!0)}}},B=function(r,e){var o=t.getCopyText();return o?void(D(r,o)?(e?t.onCut():t.onCopy(),n.preventDefault(r)):(f=!0,p.value=o,p.select(),setTimeout(function(){f=!1,u(),l(),e?t.onCut():t.onCopy()}))):n.preventDefault(r)},$=function(t){B(t,!0)},R=function(t){B(t,!1)},M=function(o){var e=D(o);'string'==typeof e?(e&&t.onPaste(e,o),r.isIE&&setTimeout(l),n.preventDefault(o)):(p.value='',h=!0)};n.addCommandKeyListener(p,t.onCommandKey.bind(t)),n.addListener(p,'select',function(){f?f=!1:w(p)?(t.selectAll(),l()):S&&l(t.selection.isEmpty())}),n.addListener(p,'input',T),n.addListener(p,'cut',$),n.addListener(p,'copy',R),n.addListener(p,'paste',M),'oncut'in p&&'oncopy'in p&&'onpaste'in p||n.addListener(e,'keydown',function(t){if((!r.isMac||t.metaKey)&&t.ctrlKey)switch(t.keyCode){case 67:R(t);break;case 86:M(t);break;case 88:$(t);}});var P=function(){m||!t.onCompositionStart||t.$readOnly||(m={},m.canUndo=t.session.$undoManager,t.onCompositionStart(),setTimeout(O,0),t.on('mousedown',N),m.canUndo&&!t.selection.isEmpty()&&(t.insert(''),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())},O=function(){if(m&&t.onCompositionUpdate&&!t.$readOnly){var e=p.value.replace(/\x01/g,'');if(m.lastValue!==e&&(t.onCompositionUpdate(e),m.lastValue&&t.undo(),m.canUndo&&(m.lastValue=e),m.lastValue)){var n=t.selection.getRange();t.insert(m.lastValue),t.session.markUndoGroup(),m.range=t.selection.getRange(),t.selection.setRange(n),t.selection.clearSelection()}}},N=function(n){if(t.onCompositionEnd&&!t.$readOnly){var e=m;m=!1;var o=setTimeout(function(){o=null;var t=p.value.replace(/\x01/g,'');m||(t==e.lastValue?u():!e.lastValue&&t&&(u(),L(t)))});S=function(n){return(o&&clearTimeout(o),n=n.replace(/\x01/g,''),n==e.lastValue)?'':(e.lastValue&&o&&t.undo(),n)},t.onCompositionEnd(),t.removeListener('mousedown',N),'compositionend'==n.type&&e.range&&t.selection.setRange(e.range),r.isChrome&&53<=r.isChrome&&T()}},I=a.delayedCall(O,50);n.addListener(p,'compositionstart',P),r.isGecko?n.addListener(p,'text',function(){I.schedule()}):(n.addListener(p,'keyup',function(){I.schedule()}),n.addListener(p,'keydown',function(){I.schedule()})),n.addListener(p,'compositionend',N),this.getElement=function(){return p},this.setReadOnly=function(e){p.readOnly=e},this.onContextMenu=function(n){_=!0,l(t.selection.isEmpty()),t._emit('nativecontextmenu',{target:t,domEvent:n}),this.moveToMouse(n,!0)},this.moveToMouse=function(a,e){if(e||!r.isOldIE){b||(b=p.style.cssText),p.style.cssText=(e?'z-index:100000;':'')+'height:'+p.style.height+';'+(r.isIE?'opacity:0.1;':'');var i=t.container.getBoundingClientRect(),s=o.computedStyle(t.container),l=i.top+(parseInt(s.borderTopWidth)||0),u=i.left+(parseInt(i.borderLeftWidth)||0),g=i.bottom-l-p.clientHeight-2,f=function(t){p.style.left=t.clientX-u-2+'px',p.style.top=d(t.clientY-l-2,g)+'px'};f(a),'mousedown'!=a.type||(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),clearTimeout(W),r.isWin&&!r.isOldIE&&n.capture(t.container,f,c))}},this.onContextMenuClose=c;var j=function(n){t.textInput.onContextMenu(n),c()},W;n.addListener(p,'mouseup',j),n.addListener(p,'mousedown',function(t){t.preventDefault(),c()}),n.addListener(t.renderer.scroller,'contextmenu',j),n.addListener(p,'contextmenu',j)}}),ace.define('ace/mouse/default_handlers',['require','exports','module','ace/lib/dom','ace/lib/event','ace/lib/useragent'],function(e,t){'use strict';function n(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler('mousedown',this.onMouseDown.bind(e)),t.setDefaultHandler('dblclick',this.onDoubleClick.bind(e)),t.setDefaultHandler('tripleclick',this.onTripleClick.bind(e)),t.setDefaultHandler('quadclick',this.onQuadClick.bind(e)),t.setDefaultHandler('mousewheel',this.onMouseWheel.bind(e)),t.setDefaultHandler('touchmove',this.onTouchMove.bind(e));['select','startSelect','selectEnd','selectAllEnd','selectByWordsEnd','selectByLinesEnd','dragWait','dragWaitEnd','focusWait'].forEach(function(t){e[t]=this[t]},this),e.selectByLines=this.extendSelectionBy.bind(e,'getLineRange'),e.selectByWords=this.extendSelectionBy.bind(e,'getWordRange')}function r(e,t,n,r){return a(s(n-e,2)+s(r-t,2))}function o(e,t){if(e.start.row==e.end.row)var n=2*t.column-e.start.column-e.end.column;else if(e.start.row==e.end.row-1&&!e.start.column&&!e.end.column)var n=t.column-4;else var n=2*t.row-e.start.row-e.end.row;return 0>n?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}var i=e('../lib/dom'),l=e('../lib/event'),d=e('../lib/useragent');(function(){this.onMouseDown=function(e){var t=e.inSelection(),n=e.getDocumentPosition();this.mousedownEvent=e;var r=this.editor,o=e.getButton();if(0!==o){var a=r.getSelectionRange(),i=a.isEmpty();return r.$blockScrolling++,(i||1==o)&&r.selection.moveToPosition(n),r.$blockScrolling--,void(2==o&&r.textInput.onContextMenu(e.domEvent))}return(this.mousedownEvent.time=Date.now(),t&&!r.isFocused()&&(r.focus(),this.$focusTimout&&!this.$clickSelection&&!r.inMultiSelectMode))?(this.setState('focusWait'),void this.captureMouse(e)):(this.captureMouse(e),this.startSelect(n,1=s)a=this.$clickSelection.end,(r.end.row!=n.row||r.end.column!=n.column)&&(n=r.start);else if(1==s&&0<=i)a=this.$clickSelection.start,(r.start.row!=n.row||r.start.column!=n.column)&&(n=r.end);else if(-1==i&&1==s)n=r.end,a=r.start;else{var l=o(this.$clickSelection,n);n=l.cursor,a=l.anchor}t.selection.setSelectionAnchor(a.row,a.column)}t.selection.selectToPosition(n),t.$blockScrolling--,t.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle('ace_selecting'),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var e=r(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),t=Date.now();(e>0||t-this.mousedownEvent.time>this.$focusTimout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(e){var t=e.getDocumentPosition(),n=this.editor,r=n.session,o=r.getBracketRange(t);o?(o.isEmpty()&&(o.start.column--,o.end.column++),this.setState('select')):(o=n.selection.getWordRange(t.row,t.column),this.setState('selectByWords')),this.$clickSelection=o,this.select()},this.onTripleClick=function(e){var t=e.getDocumentPosition(),n=this.editor;this.setState('selectByLines');var r=n.getSelectionRange();r.isMultiLine()&&r.contains(t.row,t.column)?(this.$clickSelection=n.selection.getLineRange(r.start.row),this.$clickSelection.end=n.selection.getLineRange(r.end.row).end):this.$clickSelection=n.selection.getLineRange(t.row),this.select()},this.onQuadClick=function(){var e=this.editor;e.selectAll(),this.$clickSelection=e.getSelectionRange(),this.setState('selectAll')},this.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var n=e.domEvent.timeStamp,t=n-(this.$lastScrollTime||0),r=this.editor,o=r.renderer.isScrollableBy(e.wheelX*e.speed,e.wheelY*e.speed);if(o||200>t)return this.$lastScrollTime=n,r.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()}},this.onTouchMove=function(e){var n=e.domEvent.timeStamp,t=n-(this.$lastScrollTime||0),r=this.editor,o=r.renderer.isScrollableBy(e.wheelX*e.speed,e.wheelY*e.speed);if(o||200>t)return this.$lastScrollTime=n,r.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()}}).call(n.prototype),t.DefaultHandlers=n}),ace.define('ace/tooltip',['require','exports','module','ace/lib/oop','ace/lib/dom'],function(e,t){'use strict';function n(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}var r=e('./lib/oop'),o=e('./lib/dom');(function(){this.$init=function(){return this.$element=o.createElement('div'),this.$element.className='ace_tooltip',this.$element.style.display='none',this.$parentNode.appendChild(this.$element),this.$element},this.getElement=function(){return this.$element||this.$init()},this.setText=function(e){o.setInnerText(this.getElement(),e)},this.setHtml=function(e){this.getElement().innerHTML=e},this.setPosition=function(e,t){this.getElement().style.left=e+'px',this.getElement().style.top=t+'px'},this.setClassName=function(e){o.addCssClass(this.getElement(),e)},this.show=function(e,t,n){null!=e&&this.setText(e),null!=t&&null!=n&&this.setPosition(t,n),this.isOpen||(this.getElement().style.display='block',this.isOpen=!0)},this.hide=function(){this.isOpen&&(this.getElement().style.display='none',this.isOpen=!1)},this.getHeight=function(){return this.getElement().offsetHeight},this.getWidth=function(){return this.getElement().offsetWidth}}).call(n.prototype),t.Tooltip=n}),ace.define('ace/mouse/default_gutter_handler',['require','exports','module','ace/lib/dom','ace/lib/oop','ace/lib/event','ace/tooltip'],function(e,t){'use strict';function n(e){i.call(this,e)}var r=e('../lib/dom'),o=e('../lib/oop'),a=e('../lib/event'),i=e('../tooltip').Tooltip;o.inherits(n,i),function(){this.setPosition=function(e,t){var n=window.innerWidth||document.documentElement.clientWidth,r=window.innerHeight||document.documentElement.clientHeight,o=this.getWidth(),a=this.getHeight();e+=15,t+=15,e+o>n&&(e-=e+o-n),t+a>r&&(t-=20+a),i.prototype.setPosition.call(this,e,t)}}.call(n.prototype),t.GutterHandler=function(t){function e(){var e=u.getDocumentPosition().row,n=l.$annotations[e];if(!n)return o();var r=s.session.getLength();if(e==r){var a=s.renderer.pixelToScreenCoordinates(0,u.y).row,c=u.$pos;if(a>s.session.documentToScreenRow(c.row,c.column))return o()}if(p!=n)if(p=n.text.join('
    '),d.setHtml(p),d.show(),s._signal('showGutterTooltip',d),s.on('mousewheel',o),t.$tooltipFollowsMouse)i(u);else{var g=u.domEvent.target,f=g.getBoundingClientRect(),h=d.getElement().style;h.left=f.right+'px',h.top=f.bottom+'px'}}function o(){c&&(c=clearTimeout(c)),p&&(d.hide(),p=null,s._signal('hideGutterTooltip',d),s.removeEventListener('mousewheel',o))}function i(t){d.setPosition(t.x,t.y)}var s=t.editor,l=s.renderer.$gutterLayer,d=new n(s.container);t.editor.setDefaultHandler('guttermousedown',function(n){if(s.isFocused()&&0==n.getButton()){var e=l.getRegion(n);if('foldWidgets'!=e){var r=n.getDocumentPosition().row,o=s.session.selection;if(n.getShiftKey())o.selectTo(r,0);else{if(2==n.domEvent.detail)return s.selectAll(),n.preventDefault();t.$clickSelection=s.selection.getLineRange(r)}return t.setState('selectByLines'),t.captureMouse(n),n.preventDefault()}}});var c,u,p;t.editor.setDefaultHandler('guttermousemove',function(n){var a=n.domEvent.target||n.domEvent.srcElement;if(r.hasCssClass(a,'ace_fold-widget'))return o();p&&t.$tooltipFollowsMouse&&i(n),u=n;c||(c=setTimeout(function(){c=null,u&&!t.isMousePressed?e():o()},50))}),a.addListener(s.renderer.$gutter,'mouseout',function(){u=null;!p||c||(c=setTimeout(function(){c=null,o()},50))}),s.on('changeSession',o)}}),ace.define('ace/mouse/mouse_event',['require','exports','module','ace/lib/event','ace/lib/useragent'],function(e,t){'use strict';var n=e('../lib/event'),r=e('../lib/useragent'),o=t.MouseEvent=function(e,t){this.domEvent=e,this.editor=t,this.x=this.clientX=e.clientX,this.y=this.clientY=e.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){n.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){n.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos?this.$pos:(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY),this.$pos)},this.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var e=this.editor,t=e.getSelectionRange();if(t.isEmpty())this.$inSelection=!1;else{var n=this.getDocumentPosition();this.$inSelection=t.contains(n.row,n.column)}return this.$inSelection},this.getButton=function(){return n.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=r.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(o.prototype)}),ace.define('ace/mouse/dragdrop_handler',['require','exports','module','ace/lib/dom','ace/lib/event','ace/lib/useragent'],function(e,t){'use strict';function n(e){function t(e,t){var n=Date.now(),o=!t||e.row!=t.row,a=!t||e.column!=t.column;if(!B||o||a)b.$blockScrolling+=1,b.moveCursorToPosition(e),b.$blockScrolling-=1,B=n,$={x:A,y:E};else{var i=r($.x,$.y,A,E);i>p?B=null:n-B>=u&&(b.renderer.scrollCursorIntoView(),B=null)}}function n(e,t){var n=Date.now(),r=b.renderer.layerConfig.lineHeight,o=b.renderer.layerConfig.characterWidth,a=b.renderer.scroller.getBoundingClientRect(),i={x:{left:A-a.left,right:a.right-A},y:{top:E-a.top,bottom:a.bottom-E}},s=d(i.x.left,i.x.right),l=d(i.y.top,i.y.bottom),u={row:e.row,column:e.column};2>=s/o&&(u.column+=i.x.left=l/r&&(u.row+=i.y.top=c&&b.renderer.scrollCursorIntoView(u):D=n:D=null}function a(){var e=_;_=b.renderer.screenToTextCoordinates(A,E),t(_,e),n(_,e)}function s(){S=b.selection.toOrientedRange(),C=b.session.addMarker(S,'ace_selection',b.getSelectionStyle()),b.clearSelection(),b.isFocused()&&b.renderer.$cursorLayer.setBlinking(!1),clearInterval(F),a(),F=setInterval(a,20),w=0,i.addListener(document,'mousemove',f)}function g(){clearInterval(F),b.session.removeMarker(C),C=null,b.$blockScrolling+=1,b.selection.fromOrientedRange(S),b.$blockScrolling-=1,b.isFocused()&&!T&&b.renderer.$cursorLayer.setBlinking(!b.getReadOnly()),S=null,_=null,w=0,D=null,B=null,i.removeListener(document,'mousemove',f)}function f(){null==R&&(R=setTimeout(function(){null!=R&&C&&g()},20))}function h(e){var t=e.types;return!t||Array.prototype.some.call(t,function(e){return'text/plain'==e||'Text'==e})}function m(t){var e=['copy','copymove','all','uninitialized'],n=l.isMac?t.altKey:t.ctrlKey,r='uninitialized';try{r=t.dataTransfer.effectAllowed.toLowerCase()}catch(t){}var o='none';return n&&0<=e.indexOf(r)?o='copy':0<=['move','copymove','linkmove','all','uninitialized'].indexOf(r)?o='move':0<=e.indexOf(r)&&(o='copy'),o}var b=e.editor,k=o.createElement('img');k.src='data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==',l.isOpera&&(k.style.cssText='width:1px;height:1px;position:fixed;top:0;left:0;z-index:2147483647;opacity:0;');['dragWait','dragWaitEnd','startDrag','dragReadyEnd','onMouseDrag'].forEach(function(t){e[t]=this[t]},this),b.addEventListener('mousedown',this.onMouseDown.bind(e));var v=b.container,w=0,C,A,E,F,S,_,L,T,D,B,$;this.onDragStart=function(t){if(this.cancelDrag||!v.draggable){var e=this;return setTimeout(function(){e.startSelect(),e.captureMouse(t)},0),t.preventDefault()}S=b.getSelectionRange();var n=t.dataTransfer;n.effectAllowed=b.getReadOnly()?'copy':'copyMove',l.isOpera&&(b.container.appendChild(k),k.scrollTop=0),n.setDragImage&&n.setDragImage(k,0,0),l.isOpera&&b.container.removeChild(k),n.clearData(),n.setData('Text',b.session.getTextRange()),T=!0,this.setState('drag')},this.onDragEnd=function(t){if(v.draggable=!1,T=!1,this.setState(null),!b.getReadOnly()){var e=t.dataTransfer.dropEffect;L||'move'!=e||b.session.remove(b.getSelectionRange()),b.renderer.$cursorLayer.setBlinking(!0)}this.editor.unsetStyle('ace_dragging'),this.editor.renderer.setCursorStyle('')},this.onDragEnter=function(t){if(!b.getReadOnly()&&h(t.dataTransfer))return A=t.clientX,E=t.clientY,C||s(),w++,t.dataTransfer.dropEffect=L=m(t),i.preventDefault(t)},this.onDragOver=function(t){if(!b.getReadOnly()&&h(t.dataTransfer))return A=t.clientX,E=t.clientY,C||(s(),w++),null!==R&&(R=null),t.dataTransfer.dropEffect=L=m(t),i.preventDefault(t)},this.onDragLeave=function(t){if(w--,0>=w&&C)return g(),L=null,i.preventDefault(t)},this.onDrop=function(t){if(_){var e=t.dataTransfer;if(T)'move'===L?S=S.contains(_.row,_.column)?{start:_,end:_}:b.moveText(S,_):'copy'===L?S=b.moveText(S,_,!0):void 0;else{var n=e.getData('Text');S={start:_,end:b.session.insert(_,n)},b.focus(),L=null}return g(),i.preventDefault(t)}},i.addListener(v,'dragstart',this.onDragStart.bind(e)),i.addListener(v,'dragend',this.onDragEnd.bind(e)),i.addListener(v,'dragenter',this.onDragEnter.bind(e)),i.addListener(v,'dragover',this.onDragOver.bind(e)),i.addListener(v,'dragleave',this.onDragLeave.bind(e)),i.addListener(v,'drop',this.onDrop.bind(e));var R=null}function r(e,t,n,r){return a(s(n-e,2)+s(r-t,2))}var o=e('../lib/dom'),i=e('../lib/event'),l=e('../lib/useragent'),c=200,u=200,p=5;(function(){this.dragWait=function(){var e=Date.now()-this.mousedownEvent.time;e>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){var e=this.editor.container;e.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(){this.editor.renderer.$cursorLayer.setBlinking(!this.editor.getReadOnly()),this.editor.unsetStyle('ace_dragging'),this.editor.renderer.setCursorStyle(''),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor,t=e.container;t.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle('ace_dragging');var n=l.isWin?'default':'move';e.renderer.setCursorStyle(n),this.setState('dragReady')},this.onMouseDrag=function(){var e=this.editor.container;if(l.isIE&&'dragReady'==this.state){var t=r(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);3 ['+this.end.row+'/'+this.end.column+']'},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t=e.end,n=e.start,r;return r=this.compare(t.row,t.column),1==r?(r=this.compare(n.row,n.column),1==r?2:0==r?1:0):-1==r?-2:(r=this.compare(n.row,n.column),-1==r?-1:1==r?42:0)},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){'object'==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){'object'==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return!(0!=this.compare(e,t))&&(this.isEnd(e,t)||this.isStart(e,t)?!1:!0)},this.insideStart=function(e,t){return!(0!=this.compare(e,t))&&!this.isEnd(e,t)},this.insideEnd=function(e,t){return!(0!=this.compare(e,t))&&!this.isStart(e,t)},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?ethis.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:tthis.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var r={row:t+1,column:0};else if(this.end.rowt)var o={row:t+1,column:0};else if(this.start.rowt.row||e.row==t.row&&e.column>t.column},this.getRange=function(){var e=this.anchor,t=this.lead;return this.isEmpty()?a.fromPoints(t,t):this.isBackwards()?a.fromPoints(t,e):a.fromPoints(e,t)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit('changeSelection'))},this.selectAll=function(){var e=this.doc.getLength()-1;this.setSelectionAnchor(0,0),this.moveCursorTo(e,this.doc.getLine(e).length)},this.setRange=this.setSelectionRange=function(e,t){t?(this.setSelectionAnchor(e.end.row,e.end.column),this.selectTo(e.start.row,e.start.column)):(this.setSelectionAnchor(e.start.row,e.start.column),this.selectTo(e.end.row,e.end.column)),this.getRange().isEmpty()&&(this.$isEmpty=!0),this.$desiredColumn=null},this.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},this.selectTo=function(e,t){this.$moveSelection(function(){this.moveCursorTo(e,t)})},this.selectToPosition=function(e){this.$moveSelection(function(){this.moveCursorToPosition(e)})},this.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},this.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(e,t){if('undefined'==typeof t){var n=e||this.lead;e=n.row,t=n.column}return this.session.getWordRange(e,t)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},this.getLineRange=function(e,t){var n='number'==typeof e?e:this.lead.row,r=this.session.getFoldLine(n),o;return r?(n=r.start.row,o=r.end.row):o=n,!0===t?new a(n,0,o,this.session.getLine(o).length):new a(n,0,o+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.moveCursorLeft=function(){var e=this.lead.getPosition(),t;if(t=this.session.getFoldAt(e.row,e.column,-1))this.moveCursorTo(t.start.row,t.start.column);else if(0===e.column)0=n.length?(this.moveCursorTo(e,n.length),this.moveCursorRight(),void(e=t?(this.moveCursorTo(e,0),this.moveCursorLeft(),void(0t)for(r.lastIndex=0;(a=e[t])&&!r.test(a);)if(r.lastIndex=0,t++,n.test(a))if(2c){var y=e.substring(c,b-m.length);p.type==f?p.value+=y:(p.type&&d.push(p),p={type:f,value:y})}for(var k=0;kr){for(u>2*e.length&&this.reportError('infinite loop with in ace tokenizer',{startState:t,line:e});cthis.$tokenIndex;){if(this.$row-=1,0>this.$row)return this.$row=0,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=this.$rowTokens.length-1}return this.$rowTokens[this.$tokenIndex]},this.stepForward=function(){this.$tokenIndex+=1;for(var e;this.$tokenIndex>=this.$rowTokens.length;){if(this.$row+=1,e||(e=this.$session.getLength()),this.$row>=e)return this.$row=e-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},this.getCurrentTokenRow=function(){return this.$row},this.getCurrentTokenColumn=function(){var e=this.$rowTokens,t=this.$tokenIndex,n=e[t].start;if(n!==void 0)return n;for(n=0;0e.length&&(x=e.length):(nthis.row)){var n=t(e,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},this.setPosition=function(e,t,n){var r;if(r=n?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=r.row||this.column!=r.column){var o={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._signal('change',{old:o,value:r})}},this.detach=function(){this.document.removeEventListener('change',this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on('change',this.$onChange)},this.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=c(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):0>e?(n.row=0,n.column=0):(n.row=e,n.column=d(this.document.getLine(n.row).length,c(0,t))),0>t&&(n.column=0),n}}).call(o.prototype)}),ace.define('ace/document',['require','exports','module','ace/lib/oop','ace/apply_delta','ace/lib/event_emitter','ace/range','ace/anchor'],function(e,t){'use strict';var n=e('./lib/oop'),r=e('./apply_delta').applyDelta,o=e('./lib/event_emitter').EventEmitter,a=e('./range').Range,i=e('./anchor').Anchor,s=function(e){this.$lines=[''],0===e.length?this.$lines=['']:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){n.implement(this,o),this.setValue=function(e){var t=this.getLength()-1;this.remove(new a(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new i(this,e,t)},this.$split=0==='aaa'.split(/a/).length?function(e){return e.replace(/\r\n|\r/g,'\n').split('\n')}:function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:'\n',this._signal('changeNewLineMode')},this.getNewLineCharacter=function(){switch(this.$newLineMode){case'windows':return'\r\n';case'unix':return'\n';default:return this.$autoNewLine||'\n';}},this.$autoNewLine='',this.$newLineMode='auto',this.setNewLineMode=function(e){this.$newLineMode===e||(this.$newLineMode=e,this._signal('changeNewLineMode'))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return'\r\n'==e||'\r'==e||'\n'==e},this.getLine=function(e){return this.$lines[e]||''},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{t=this.getLines(e.start.row,e.end.row),t[0]=(t[0]||'').substring(e.start.column);var n=t.length-1;e.end.row-e.start.row==n&&(t[n]=t[n].substring(0,e.end.column))}return t},this.insertLines=function(e,t){return console.warn('Use of document.insertLines is deprecated. Use the insertFullLines method instead.'),this.insertFullLines(e,t)},this.removeLines=function(e,t){return console.warn('Use of document.removeLines is deprecated. Use the removeFullLines method instead.'),this.removeFullLines(e,t)},this.insertNewLine=function(e){return console.warn('Use of document.insertNewLine is deprecated. Use insertMergedLines(position, [\'\', \'\']) instead.'),this.insertMergedLines(e,['',''])},this.insert=function(e,t){return 1>=this.getLength()&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},this.insertInLine=function(e,t){var n=this.clippedPos(e.row,e.column),r=this.pos(e.row,e.column+t.length);return this.applyDelta({start:n,end:r,action:'insert',lines:[t]},!0),this.clonePos(r)},this.clippedPos=function(e,t){var n=this.getLength();void 0===e?e=n:0>e?e=0:e>=n&&(e=n-1,t=void 0);var r=this.getLine(e);return void 0==t&&(t=r.length),t=d(c(t,0),r.length),{row:e,column:t}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,t){return{row:e,column:t}},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=c(0,t-1),e.column=this.getLine(t-1).length):(e.row=c(0,e.row),e.column=d(c(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,t){e=d(c(e,0),this.getLength());var n=0;e=e.lines.length&&!e.lines[0]:!a.comparePoints(e.start,e.end))||(n&&2e4r){e.lines=l,e.start.row=o+i,e.start.column=a;break}l.push(''),this.applyDelta({start:this.pos(o+i,a),end:this.pos(o+s,a=0),action:e.action,lines:l},!0)}while(!0)},this.revertDelta=function(e){this.applyDelta({start:this.clonePos(e.start),end:this.clonePos(e.end),action:'insert'==e.action?'remove':'insert',lines:e.lines.slice()})},this.indexToPosition=function(e,t){for(var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,o=t||0,a=n.length;oe)return{row:o,column:e+n[o].length+r};return{row:a-1,column:n[a-1].length}},this.positionToIndex=function(e,t){for(var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,o=0,a=d(e.row,n.length),s=t||0;se+1&&(this.currentLine=e+1)),this.lines[e]=r.tokens}}).call(o.prototype),t.BackgroundTokenizer=o}),ace.define('ace/search_highlight',['require','exports','module','ace/lib/lang','ace/lib/oop','ace/range'],function(e,t){'use strict';var n=e('./lib/lang'),r=e('./lib/oop'),o=e('./range').Range,a=function(e,t,n){this.setRegexp(e),this.clazz=t,this.type=n||'text'};(function(){this.MAX_RANGES=500,this.setRegexp=function(e){this.regExp+''==e+''||(this.regExp=e,this.cache=[])},this.update=function(e,t,r,a){if(this.regExp)for(var s=a.firstRow,l=a.lastRow,d=s,i;d<=l;d++){i=this.cache[d],null==i&&(i=n.getMatchOffsets(r.getLine(d),this.regExp),i.length>this.MAX_RANGES&&(i=i.slice(0,this.MAX_RANGES)),i=i.map(function(e){return new o(d,e.offset,d,e.offset+e.length)}),this.cache[d]=i.length?i:'');for(var c=i.length;c--;)t.drawSingleLineMarker(e,i[c].toScreenRange(r),this.clazz,a)}}}).call(a.prototype),t.SearchHighlight=a}),ace.define('ace/edit_session/fold_line',['require','exports','module','ace/range'],function(e,t){'use strict';function n(e,t){this.foldData=e,Array.isArray(t)?this.folds=t:t=this.folds=[t];var n=t[t.length-1];this.range=new r(t[0].start.row,t[0].start.column,n.end.row,n.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach(function(e){e.setFoldLine(this)},this)}var r=e('../range').Range;(function(){this.shiftRow=function(e){this.start.row+=e,this.end.row+=e,this.folds.forEach(function(t){t.start.row+=e,t.end.row+=e})},this.addFold=function(e){if(e.sameRow){if(e.start.rowthis.endRow)throw new Error('Can\'t add a fold to this FoldLine as it has no connection');this.folds.push(e),this.folds.sort(function(e,t){return-e.range.compareEnd(t.start.row,t.start.column)}),0this.range.compareStart(e.end.row,e.end.column)&&(this.start.row=e.start.row,this.start.column=e.start.column)}else if(e.start.row==this.end.row)this.folds.push(e),this.end.row=e.end.row,this.end.column=e.end.column;else if(e.end.row==this.start.row)this.folds.unshift(e),this.start.row=e.start.row,this.start.column=e.start.column;else throw new Error('Trying to add fold to FoldRow that doesn\'t have a matching row');e.foldLine=this},this.containsRow=function(e){return e>=this.start.row&&e<=this.end.row},this.walk=function(e,t,n){var r=0,o=this.folds,a=!0,s,l,d;null==t&&(t=this.end.row,n=this.end.column);for(var c=0;ce)return{row:r.start.row,column:r.start.column+e};if(e-=r.placeholder.length,0>e)return r.start;t=r.end.column}return{row:this.end.row,column:this.end.column+e}}}).call(n.prototype),t.FoldLine=n}),ace.define('ace/range_list',['require','exports','module','ace/range'],function(e,t){'use strict';var n=e('./range').Range,r=n.comparePoints,o=function(){this.ranges=[]};(function(){this.comparePoints=r,this.pointIndex=function(e,t,n){for(var o=this.ranges,a=n||0;an&&(n=-n-1);var r=this.pointIndex(e.end,t,n);return 0>r?r=-r-1:r++,this.ranges.splice(n,r-n,e)},this.addList=function(e){for(var t=[],n=e.length;n--;)t.push.apply(t,this.add(e[n]));return t},this.substractPoint=function(e){var t=this.pointIndex(e);if(0<=t)return this.ranges.splice(t,1)},this.merge=function(){var e=[],t=this.ranges;t=t.sort(function(e,t){return r(e.start,t.start)});for(var n=t[0],o=1,a;oi||0==i&&!a.isEmpty()&&!n.isEmpty()||(0>r(a.end,n.end)&&(a.end.row=n.end.row,a.end.column=n.end.column),t.splice(o,1),e.push(n),n=a,o--)}return this.ranges=t,e},this.contains=function(e,t){return 0<=this.pointIndex({row:e,column:t})},this.containsPoint=function(e){return 0<=this.pointIndex(e)},this.rangeAtPoint=function(e){var t=this.pointIndex(e);if(0<=t)return this.ranges[t]},this.clipRows=function(e,t){var n=this.ranges;if(n[0].start.row>t||n[n.length-1].start.rowr&&(r=-r-1);var o=this.pointIndex({row:t,column:0},r);0>o&&(o=-o-1);for(var a=[],s=r;sa)break;if(n.start.row==a&&n.start.column>=t.column&&(n.start.column==t.column&&this.$insertRight||(n.start.column+=d,n.start.row+=l)),n.end.row==a&&n.end.column>=t.column){if(n.end.column==t.column&&this.$insertRight)continue;n.end.column==t.column&&0n.start.column&&n.end.column==c[u+1].start.column&&(n.end.column-=d),n.end.column+=d,n.end.row+=l}}if(0!=l&&u=e)return o;if(o.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var n=this.$foldData,r=0;for(t&&(r=n.indexOf(t)),-1==r&&(r=0),r;r=e)return o}return null},this.getFoldedRowCount=function(e,t){for(var n=this.$foldData,r=t-e+1,o=0;o=t){s=e?r-=t-s:r=0);break}else i>=e&&(r-=s>=e?i-s:i-e+1)}return r},this.$addFoldLine=function(e){return this.$foldData.push(e),this.$foldData.sort(function(e,t){return e.start.row-t.start.row}),e},this.addFold=function(e,t){var n=this.$foldData,a=!1,s;e instanceof o?s=e:(s=new o(t,e),s.collapseChildren=t.collapseChildren),this.$clipRangeToDocument(s.range);var l=s.start.row,d=s.start.column,c=s.end.row,u=s.end.column;if(!(ls.length)return;s=s.trim().substring(0,2)+'..'}this.addFold(s,n)},this.getCommentFoldRange=function(e,t,r){var o=new a(this,e,t),i=o.getCurrentToken();if(i&&/^comment|string/.test(i.type)){var s=new n,l=new RegExp(i.type.replace(/\..*/,'\\.'));if(1!=r){do i=o.stepBackward();while(i&&l.test(i.type));o.stepForward()}if(s.start.row=o.getCurrentTokenRow(),s.start.column=o.getCurrentTokenColumn()+2,o=new a(this,e,t),-1!=r){do i=o.stepForward();while(i&&l.test(i.type));i=o.stepBackward()}else i=o.getCurrentToken();return s.end.row=o.getCurrentTokenRow(),s.end.column=o.getCurrentTokenColumn()+i.value.length-2,s}},this.foldAll=function(e,t,n){n==void 0&&(n=1e5);var r=this.foldWidgets;if(r){t=t||this.getLength(),e=e||0;for(var o=e;o=e){o=a.end.row;try{var i=this.addFold('...',a);i&&(i.collapseChildren=n)}catch(t){}}}}},this.$foldStyles={manual:1,markbegin:1,markbeginend:1},this.$foldStyle='markbegin',this.setFoldStyle=function(e){if(!this.$foldStyles[e])throw new Error('invalid fold style: '+e+'['+Object.keys(this.$foldStyles).join(', ')+']');if(this.$foldStyle!=e){this.$foldStyle=e,'manual'==e&&this.unfold();var t=this.$foldMode;this.$setFolding(null),this.$setFolding(t)}},this.$setFolding=function(e){if(this.$foldMode!=e)return this.$foldMode=e,this.off('change',this.$updateFoldWidgets),this.off('tokenizerUpdate',this.$tokenizerUpdateFoldWidgets),this._signal('changeAnnotation'),e&&'manual'!=this.$foldStyle?void(this.foldWidgets=[],this.getFoldWidget=e.getFoldWidget.bind(e,this,this.$foldStyle),this.getFoldWidgetRange=e.getFoldWidgetRange.bind(e,this,this.$foldStyle),this.$updateFoldWidgets=this.updateFoldWidgets.bind(this),this.$tokenizerUpdateFoldWidgets=this.tokenizerUpdateFoldWidgets.bind(this),this.on('change',this.$updateFoldWidgets),this.on('tokenizerUpdate',this.$tokenizerUpdateFoldWidgets)):void(this.foldWidgets=null)},this.getParentFoldRangeData=function(e,t){var n=this.foldWidgets;if(!n||t&&n[e])return{};for(var r=e-1,o,a;0<=r;){if(a=n[r],null==a&&(a=n[r]=this.getFoldWidget(r)),'start'==a){var i=this.getFoldWidgetRange(r);if(o||(o=i),i&&i.end.row>=e)break}r--}return{range:-1!=r&&i,firstRange:o}},this.onFoldWidgetClick=function(t,n){n=n.domEvent;var e={children:n.shiftKey,all:n.ctrlKey||n.metaKey,siblings:n.altKey},r=this.$toggleFoldWidget(t,e);if(!r){var o=n.target||n.srcElement;o&&/ace_fold-widget/.test(o.className)&&(o.className+=' ace_invalid')}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var n=this.getFoldWidget(e),r=this.getLine(e),o='end'===n?-1:1,a=this.getFoldAt(e,-1==o?0:r.length,o);if(a)return t.children||t.all?this.removeFold(a):this.expandFold(a),a;var i=this.getFoldWidgetRange(e,!0);if(i&&!i.isMultiLine()&&(a=this.getFoldAt(i.start.row,i.start.column,1),a&&i.isEqual(a.range)))return this.removeFold(a),a;if(t.siblings){var s=this.getParentFoldRangeData(e);if(s.range)var l=s.range.start.row+1,d=s.range.end.row;this.foldAll(l,d,t.all?1e4:0)}else t.children?(d=i?i.end.row:this.getLength(),this.foldAll(e+1,d,t.all?1e4:0)):i&&(t.all&&(i.collapseChildren=1e4),this.addFold('...',i));return i}},this.toggleFoldWidget=function(){var e=this.selection.getCursor().row;e=this.getRowFoldStart(e);var t=this.$toggleFoldWidget(e,{});if(!t){var n=this.getParentFoldRangeData(e,!0);if(t=n.range||n.firstRange,t){e=t.start.row;var r=this.getFoldAt(e,this.getLine(e).length,1);r?this.removeFold(r):this.addFold('...',t)}}},this.updateFoldWidgets=function(e){var t=e.start.row,n=e.end.row-t;if(0==n)this.foldWidgets[t]=null;else if('remove'==e.action)this.foldWidgets.splice(t,n+1,null);else{var r=Array(n+1);r.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,r)}},this.tokenizerUpdateFoldWidgets=function(t){var e=t.data;e.first!=e.last&&this.foldWidgets.length>e.first&&this.foldWidgets.splice(e.first,this.foldWidgets.length)}}}),ace.define('ace/edit_session/bracket_match',['require','exports','module','ace/token_iterator','ace/range'],function(e,t){'use strict';var n=e('../token_iterator').TokenIterator,r=e('../range').Range;t.BracketMatch=function(){this.findMatchingBracket=function(e,t){if(0==e.column)return null;var n=t||this.getLine(e.row).charAt(e.column-1);if(''==n)return null;var r=n.match(/([\(\[\{])|([\)\]\}])/);return r?r[1]?this.$findClosingBracket(r[1],e):this.$findOpeningBracket(r[2],e):null},this.getBracketRange=function(e){var t=this.getLine(e.row),n=!0,o=t.charAt(e.column-1),a=o&&o.match(/([\(\[\{])|([\)\]\}])/),i;if(a||(o=t.charAt(e.column),e={row:e.row,column:e.column+1},a=o&&o.match(/([\(\[\{])|([\)\]\}])/),n=!1),!a)return null;if(a[1]){var s=this.$findClosingBracket(a[1],e);if(!s)return null;i=r.fromPoints(e,s),n||(i.end.column++,i.start.column--),i.cursor=i.end}else{var s=this.$findOpeningBracket(a[2],e);if(!s)return null;i=r.fromPoints(s,e),n||(i.start.column++,i.end.column--),i.cursor=i.start}return i},this.$brackets={")":'(',"(":')',"]":'[',"[":']',"{":'}',"}":'{'},this.$findOpeningBracket=function(e,t,r){var o=this.$brackets[e],a=1,i=new n(this,t.row,t.column),s=i.getCurrentToken();if(s||(s=i.stepForward()),!!s){r||(r=new RegExp('(\\.?'+s.type.replace('.','\\.').replace('rparen','.paren').replace(/\b(?:end)\b/,'(?:start|begin|end)')+')+'));for(var l=t.column-i.getCurrentTokenColumn()-2,d=s.value;;){for(;0<=l;){var c=d.charAt(l);if(c!=o)c==e&&(a+=1);else if(a-=1,0==a)return{row:i.getCurrentTokenRow(),column:l+i.getCurrentTokenColumn()};l-=1}do s=i.stepBackward();while(s&&!r.test(s.type));if(null==s)break;d=s.value,l=d.length-1}return null}},this.$findClosingBracket=function(e,t,r){var o=this.$brackets[e],a=1,i=new n(this,t.row,t.column),s=i.getCurrentToken();if(s||(s=i.stepForward()),!!s){r||(r=new RegExp('(\\.?'+s.type.replace('.','\\.').replace('lparen','.paren').replace(/\b(?:start|begin)\b/,'(?:start|begin|end)')+')+'));for(var l=t.column-i.getCurrentTokenColumn();;){for(var d=s.value,c=d.length,u;le)&&(4352<=e&&4447>=e||4515<=e&&4519>=e||4602<=e&&4607>=e||9001<=e&&9002>=e||11904<=e&&11929>=e||11931<=e&&12019>=e||12032<=e&&12245>=e||12272<=e&&12283>=e||12288<=e&&12350>=e||12353<=e&&12438>=e||12441<=e&&12543>=e||12549<=e&&12589>=e||12593<=e&&12686>=e||12688<=e&&12730>=e||12736<=e&&12771>=e||12784<=e&&12830>=e||12832<=e&&12871>=e||12880<=e&&13054>=e||13056<=e&&19903>=e||19968<=e&&42124>=e||42128<=e&&42182>=e||43360<=e&&43388>=e||44032<=e&&55203>=e||55216<=e&&55238>=e||55243<=e&&55291>=e||63744<=e&&64255>=e||65040<=e&&65049>=e||65072<=e&&65106>=e||65108<=e&&65126>=e||65128<=e&&65131>=e||65281<=e&&65376>=e||65504<=e&&65510>=e)}n.implement(this,s),this.setDocument=function(e){this.doc&&this.doc.removeListener('change',this.$onChange),this.doc=e,e.on('change',this.$onChange),this.bgTokenizer&&this.bgTokenizer.setDocument(this.getDocument()),this.resetCaches()},this.getDocument=function(){return this.doc},this.$resetRowCache=function(e){if(!e)return this.$docRowCache=[],void(this.$screenRowCache=[]);var t=this.$docRowCache.length,n=this.$getRowCacheIndex(this.$docRowCache,e)+1;t>n&&(this.$docRowCache.splice(n,t),this.$screenRowCache.splice(n,t))},this.$getRowCacheIndex=function(e,t){for(var n=0,r=e.length-1;n<=r;){var o=n+r>>1,a=e[o];if(t>a)n=o+1;else if(t=t));a++);return(o=n[a],!o)?null:(o.index=a,o.start=r-o.value.length,o)},this.setUndoManager=function(e){if(this.$undoManager=e,this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.$informUndoManager&&this.$informUndoManager.cancel(),e){var t=this;this.$syncInformUndoManager=function(){t.$informUndoManager.cancel(),t.$deltasFold.length&&(t.$deltas.push({group:'fold',deltas:t.$deltasFold}),t.$deltasFold=[]),t.$deltasDoc.length&&(t.$deltas.push({group:'doc',deltas:t.$deltasDoc}),t.$deltasDoc=[]),0e&&(e=t.screenWidth)}),this.lineWidgetWidth=e},this.$computeWidth=function(e){if(this.$modified||e){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var t=this.doc.getAllLines(),n=this.$rowLengthCache,r=0,o=0,a=this.$foldData[o],s=a?a.start.row:Infinity,l=t.length,d=0;ds){if(d=a.end.row+1,d>=l)break;a=this.$foldData[o++],s=a?a.start.row:Infinity}null==n[d]&&(n[d]=this.$getStringScreenWidth(t[d])[0]),n[d]>r&&(r=n[d])}this.screenWidth=r}},this.getLine=function(e){return this.doc.getLine(e)},this.getLines=function(e,t){return this.doc.getLines(e,t)},this.getLength=function(){return this.doc.getLength()},this.getTextRange=function(e){return this.doc.getTextRange(e||this.selection.getRange())},this.insert=function(e,t){return this.doc.insert(e,t)},this.remove=function(e){return this.doc.remove(e)},this.removeFullLines=function(e,t){return this.doc.removeFullLines(e,t)},this.undoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=null,r=e.length-1,o;-1!=r;r--)o=e[r],'doc'==o.group?(this.doc.revertDeltas(o.deltas),n=this.$getUndoSelection(o.deltas,!0,n)):o.deltas.forEach(function(e){this.addFolds(e.folds)},this);return this.$fromUndo=!1,n&&this.$undoSelect&&!t&&this.selection.setSelectionRange(n),n}},this.redoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=null,r=0,o;re.end.column&&(a.start.column+=s),a.end.row==e.end.row&&a.end.column>e.end.column&&(a.end.column+=s)),i&&a.start.row>=e.end.row&&(a.start.row+=i,a.end.row+=i)}if(a.end=this.insert(a.start,r),o.length){var l=e.start,d=a.start,i=d.row-l.row,s=d.column-l.column;this.addFolds(o.map(function(e){return e=e.clone(),e.start.row==l.row&&(e.start.column+=s),e.end.row==l.row&&(e.end.column+=s),e.start.row+=i,e.end.row+=i,e}))}return a},this.indentRows=function(e,t,n){n=n.replace(/\t/g,this.getTabString());for(var r=e;r<=t;r++)this.doc.insertInLine({row:r,column:0},n)},this.outdentRows=function(e){for(var t=e.collapseRows(),n=new g(0,0,0,0),r=this.getTabSize(),o=t.start.row,a;o<=t.end.row;++o){a=this.getLine(o),n.start.row=o,n.end.row=o;for(var i=0;in){var r=this.getRowFoldStart(e+n);if(0>r)return 0;var a=r-e}else if(0this.doc.getLength()-1)return 0;var a=r-t}else{e=this.$clipRowToDocument(e),t=this.$clipRowToDocument(t);var a=t-e+1}var i=new g(e,0,t,o),s=this.getFoldsInRange(i).map(function(e){return e=e.clone(),e.start.row+=a,e.end.row+=a,e}),l=0==n?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+a,l),s.length&&this.addFolds(s),a},this.moveLinesUp=function(e,t){return this.$moveLines(e,t,-1)},this.moveLinesDown=function(e,t){return this.$moveLines(e,t,1)},this.duplicateLines=function(e,t){return this.$moveLines(e,t,0)},this.$clipRowToDocument=function(e){return c(0,d(e,this.doc.getLength()-1))},this.$clipColumnToRow=function(e,t){return 0>t?0:d(this.doc.getLine(e).length,t)},this.$clipPositionToDocument=function(e,t){if(t=c(0,t),0>e)e=0,t=0;else{var n=this.doc.getLength();e>=n?(e=n-1,t=this.doc.getLine(n-1).length):t=d(this.doc.getLine(e).length,t)}return{row:e,column:t}},this.$clipRangeToDocument=function(e){0>e.start.row?(e.start.row=0,e.start.column=0):e.start.column=this.$clipColumnToRow(e.start.row,e.start.column);var t=this.doc.getLength()-1;return e.end.row>t?(e.end.row=t,e.end.column=this.doc.getLine(t).length):e.end.column=this.$clipColumnToRow(e.end.row,e.end.column),e},this.$wrapLimit=80,this.$useWrapMode=!1,this.$wrapLimitRange={min:null,max:null},this.setUseWrapMode=function(e){if(e!=this.$useWrapMode){if(this.$useWrapMode=e,this.$modified=!0,this.$resetRowCache(0),e){var t=this.getLength();this.$wrapData=Array(t),this.$updateWrapData(0,t-1)}this._signal('changeWrapMode')}},this.getUseWrapMode=function(){return this.$useWrapMode},this.setWrapLimitRange=function(e,t){(this.$wrapLimitRange.min!==e||this.$wrapLimitRange.max!==t)&&(this.$wrapLimitRange={min:e,max:t},this.$modified=!0,this.$useWrapMode&&this._signal('changeWrapMode'))},this.adjustWrapLimit=function(e,t){var n=this.$wrapLimitRange;0>n.max&&(n={min:t,max:t});var r=this.$constrainWrapLimit(e,n.min,n.max);return r!=this.$wrapLimit&&1=o.row&&c.shiftRow(-s)}i=a}else{var f=Array(s);f.unshift(a,0);var h=t?this.$wrapData:this.$rowLengthCache;h.splice.apply(h,f);var u=this.$foldData,c=this.getFoldLine(a),p=0;if(c){var m=c.range.compareInside(r.row,r.column);0==m?(c=c.split(r.row,r.column),c&&(c.shiftRow(s),c.addRemoveChars(i,0,o.column-r.column))):-1==m&&(c.addRemoveChars(a,0,o.column-r.column),c.shiftRow(s)),p=u.indexOf(c)+1}for(p;p=a&&c.shiftRow(s)}}return t&&this.$wrapData.length!=this.doc.getLength()&&console.error('doc.getLength() and $wrapData.length have to be the same!'),this.$updating=!1,t?this.$updateWrapData(a,i):this.$updateRowLengthCache(a,i),d},this.$updateRowLengthCache=function(e,t){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},this.$updateWrapData=function(e,t){var n=this.doc.getAllLines(),r=this.getTabSize(),o=this.$wrapData,a=this.$wrapLimit,i=e,s,l;for(t=d(t,n.length-1);i<=t;)l=this.getFoldLine(i,l),l?(s=[],l.walk(function(e,t,r,o){var a;if(null!=e){a=this.$getDisplayTokens(e,s.length),a[0]=f;for(var l=1;lt-w;){var C=l+t-w;if(e[C-1]>=k&&e[C]>=k){o(C);continue}if(e[C]==f||e[C]==b){for(C;C!=l-1&&e[C]!=f;C--);if(C>l){o(C);continue}for(C=l+t,C;C>2)),l-1);C>A&&e[C]A&&e[C]A&&e[C]==y;)C--}else for(;C>A&&e[C]A){o(++C);continue}C=l+t,e[C]==u&&C--,o(C-w)}return a},this.$getDisplayTokens=function(r,o){var a=[],s;o=o||0;for(var l=0,i;li||57i?a.push(y):4352<=i&&e(i)?a.push(t,u):a.push(t);return a},this.$getStringScreenWidth=function(t,n,r){if(0==n)return[0,0];null==n&&(n=Infinity),r=r||0;var o,a;for(a=0;an));a++);return[r,a]},this.lineWidgets=null,this.getRowLength=function(e){if(this.lineWidgets)var t=this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0;else t=0;return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.getRowLineCount=function(e){return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1:1},this.getRowWrapIndent=function(e){if(this.$useWrapMode){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE),n=this.$wrapData[t.row];return n.length&&n[0]e)return{row:0,column:0};var n=0,r=0,o=0,a=0,s=this.$screenRowCache,d=this.$getRowCacheIndex(s,e),c=s.length,u,p;if(c&&0<=d)var o=s[d],n=this.$docRowCache[d],g=e>s[c-1];else var g=!c;for(var f=this.getLength()-1,h=this.getNextFoldLine(n),m=h?h.start.row:Infinity;o<=e&&(a=this.getRowLength(n),!(o+a>e||n>=f));)o+=a,n++,n>m&&(n=h.end.row+1,h=this.getNextFoldLine(n,h),m=h?h.start.row:Infinity),g&&(this.$docRowCache.push(n),this.$screenRowCache.push(o));if(h&&h.start.row<=n)u=this.getFoldDisplayLine(h),n=h.start.row;else{if(o+a<=e||n>f)return{row:f,column:this.getLine(f).length};u=this.getLine(n),h=null}var b=0;if(this.$useWrapMode){var y=this.$wrapData[n];if(y){var k=i(e-o);p=y[k],0=p&&(r=p-1),h?h.idxToPosition(r):{row:n,column:r}},this.documentToScreenPosition=function(e,t){if('undefined'==typeof t)var n=this.$clipPositionToDocument(e.row,e.column);else n=this.$clipPositionToDocument(e,t);e=n.row,t=n.column;var r=0,o=null,a=null;a=this.getFoldAt(e,t,1),a&&(e=a.start.row,t=a.start.column);var s=0,d=this.$docRowCache,c=this.$getRowCacheIndex(d,e),i=d.length,u;if(i&&0<=c)var s=d[c],r=this.$screenRowCache[c],p=e>d[i-1];else var p=!i;for(var g=this.getNextFoldLine(s),f=g?g.start.row:Infinity;s=f){if(u=g.end.row+1,u>e)break;g=this.getNextFoldLine(u,g),f=g?g.start.row:Infinity}else u=s+1;r+=this.getRowLength(s),s=u,p&&(this.$docRowCache.push(s),this.$screenRowCache.push(r))}var h='';g&&s>=f?(h=this.getFoldDisplayLine(g,e,t),o=g.start.row):(h=this.getLine(e).substring(0,t),o=e);var m=0;if(this.$useWrapMode){var b=this.$wrapData[o];if(b){for(var y=0;h.length>=b[y];)r++,y++;h=h.substring(b[y-1]||0,h.length),m=0i&&(a=t.end.row+1,t=this.$foldData[r++],i=t?t.start.row:Infinity);return this.lineWidgets&&(e+=this.$getWidgetScreenLength()),e},this.$setFontMetrics=function(e){this.$enableVarChar&&(this.$getStringScreenWidth=function(t,n,r){if(0===n)return[0,0];n||(n=Infinity),r=r||0;var o,a;for(a=0;an));a++);return[r,a]})},this.destroy=function(){this.bgTokenizer&&(this.bgTokenizer.setDocument(null),this.bgTokenizer=null),this.$stopWorker()}}).call(b.prototype),e('./edit_session/folding').Folding.call(b.prototype),e('./edit_session/bracket_match').BracketMatch.call(b.prototype),a.defineOptions(b.prototype,'session',{wrap:{set:function(e){if(e&&'off'!=e?'free'==e?e=!0:'printMargin'==e?e=-1:'string'==typeof e&&(e=parseInt(e,10)||!1):e=!1,this.$wrap!=e)if(this.$wrap=e,!e)this.setUseWrapMode(!1);else{var t='number'==typeof e?e:null;this.setWrapLimitRange(t,t),this.setUseWrapMode(!0)}},get:function(){return this.getUseWrapMode()?-1==this.$wrap?'printMargin':this.getWrapLimitRange().min?this.$wrap:'free':'off'},handlesSet:!0},wrapMethod:{set:function(e){e='auto'==e?'text'!=this.$mode.type:'text'!=e,e!=this.$wrapAsCode&&(this.$wrapAsCode=e,this.$useWrapMode&&(this.$modified=!0,this.$resetRowCache(0),this.$updateWrapData(0,this.getLength()-1)))},initialValue:'auto'},indentedSoftWrap:{initialValue:!0},firstLineNumber:{set:function(){this._signal('changeBreakpoint')},initialValue:1},useWorker:{set:function(e){this.$useWorker=e,this.$stopWorker(),e&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(e){isNaN(e)||this.$tabSize===e||(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=e,this._signal('changeTabSize'))},initialValue:4,handlesSet:!0},overwrite:{set:function(){this._signal('changeOverwrite')},initialValue:!1},newLineMode:{set:function(e){this.doc.setNewLineMode(e)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(e){this.setMode(e)},get:function(){return this.$modeId}}}),t.EditSession=b}),ace.define('ace/search',['require','exports','module','ace/lib/lang','ace/lib/oop','ace/range'],function(e,t){'use strict';function n(e,t){function n(e){return /\w/.test(e)||t.regExp?'\\b':''}return n(e[0])+e+n(e[e.length-1])}var r=e('./lib/lang'),a=e('./lib/oop'),s=e('./range').Range,i=function(){this.$options={}};(function(){this.set=function(e){return a.mixin(this.$options,e),this},this.getOptions=function(){return r.copyObject(this.$options)},this.setOptions=function(e){this.$options=e},this.find=function(e){var t=this.$options,n=this.$matchIterator(e,t);if(!n)return!1;var r=null;return n.forEach(function(e,n,o){if(!e.start){var a=e.offset+(o||0);if(r=new s(n,a,n,a+e.length),!e.length&&t.start&&t.start.start&&!1!=t.skipCurrent&&r.isEqual(t.start))return r=null,!1}else r=e;return!0}),r},this.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var n=t.range,o=n?e.getLines(n.start.row,n.end.row):e.doc.getAllLines(),a=[],l=t.re;if(t.$isMultiLine){var d=l.length,c=o.length-d,u;outer:for(var p=l.offset||0;p<=c;p++){for(var g=0;gm||(a.push(u=new s(p,m,p+d-1,b)),2x&&a[g].end.row==n.end.row;)g--;for(a=a.slice(y,g+1),y=0,g=a.length;y=i;r--)if(n(e.getLine(r),r))return;if(!1!=t.wrap)for(r=s,i=a.row;r>=i;r--)if(n(e.getLine(r),r))return}}:function(n){var r=a.row,o=e.getLine(r).substr(a.column);if(!n(o,r,a.column)){for(++r;r<=s;r++)if(n(e.getLine(r),r))return;if(!1!=t.wrap)for(r=i,s=a.row;r<=s;r++)if(n(e.getLine(r),r))return}};return{forEach:l}}}).call(i.prototype),t.Search=i}),ace.define('ace/keyboard/hash_handler',['require','exports','module','ace/lib/keys','ace/lib/useragent'],function(e,t){'use strict';function n(e,t){this.platform=t||(a.isMac?'mac':'win'),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=!0}function r(e,t){n.call(this,e,t),this.$singleCommand=!1}var o=e('../lib/keys'),a=e('../lib/useragent'),i=o.KEY_MODS;r.prototype=n.prototype,function(){function e(e){return'object'==typeof e&&e.bindKey&&e.bindKey.position||0}this.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},this.removeCommand=function(e,t){var n=e&&('string'==typeof e?e:e.name);e=this.commands[n],t||delete this.commands[n];var r=this.commandKeyBinding;for(var o in r){var a=r[o];if(a==e)delete r[o];else if(Array.isArray(a)){var s=a.indexOf(e);-1!=s&&(a.splice(s,1),1==a.length&&(r[o]=a[0]))}}},this.bindKey=function(e,t,n){return'object'==typeof e&&e&&(void 0==n&&(n=e.position),e=e[this.platform]),e?'function'==typeof t?this.addCommand({exec:t,bindKey:e,name:t.name||e}):void e.split('|').forEach(function(e){var r='';if(-1!=e.indexOf(' ')){var o=e.split(/\s+/);e=o.pop(),o.forEach(function(e){var t=this.parseKeys(e),n=i[t.hashId]+t.key;r+=(r?' ':'')+n,this._addCommandToBinding(r,'chainKeys')},this),r+=' '}var a=this.parseKeys(e),s=i[a.hashId]+a.key;this._addCommandToBinding(r+s,t,n)},this):void 0},this._addCommandToBinding=function(t,n,r){var o=this.commandKeyBinding,a;if(!n)delete o[t];else if(!o[t]||this.$singleCommand)o[t]=n;else{Array.isArray(o[t])?-1!=(a=o[t].indexOf(n))&&o[t].splice(a,1):o[t]=[o[t]],'number'!=typeof r&&(r||n.isDefault?r=-100:r=e(n));var i=o[t];for(a=0;ar)break}i.splice(a,0,n)}},this.addCommands=function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];if(n){if('string'==typeof n)return this.bindKey(n,t);'function'==typeof n&&(n={exec:n}),'object'!=typeof n||(!n.name&&(n.name=t),this.addCommand(n))}},this)},this.removeCommands=function(e){Object.keys(e).forEach(function(t){this.removeCommand(e[t])},this)},this.bindKeys=function(e){Object.keys(e).forEach(function(t){this.bindKey(t,e[t])},this)},this._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},this.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(e){return e}),n=t.pop(),r=o[n];if(o.FUNCTION_KEYS[r])n=o.FUNCTION_KEYS[r].toLowerCase();else{if(!t.length)return{key:n,hashId:-1};if(1==t.length&&'shift'==t[0])return{key:n.toUpperCase(),hashId:-1}}for(var a=0,s=t.length,i;s--;){if(i=o.KEY_MODS[t[s]],null==i)return'undefined'!=typeof console&&console.error('invalid modifier '+t[s]+' in '+e),!1;a|=i}return{key:n,hashId:a}},this.findKeyCommand=function(e,t){var n=i[e]+t;return this.commandKeyBinding[n]},this.handleKeyboard=function(e,t,n,r){if(!(0>r)){var o=i[t]+n,a=this.commandKeyBinding[o];return(e.$keyChain&&(e.$keyChain+=' '+o,a=this.commandKeyBinding[e.$keyChain]||a),a&&('chainKeys'==a||'chainKeys'==a[a.length-1]))?(e.$keyChain=e.$keyChain||o,{command:'null'}):(e.$keyChain&&(t&&4!=t||1!=n.length?(-1==t||0s?s+1:s,e.selection.moveCursorTo(n.row,s))},multiSelectAction:'forEach',readOnly:!0},{name:'invertSelection',bindKey:n(null,null),exec:function(e){var t=e.session.doc.getLength()-1,n=e.session.doc.getLine(t).length,r=e.selection.rangeList.ranges,o=[];1>r.length&&(r=[e.selection.getRange()]);for(var s=0;s=o.lastRow||r.end.row<=o.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead);break;default:}'animate'==n&&this.renderer.animateScrolling(this.curOp.scrollTop)}this.prevOp=this.curOp,this.curOp=null}},this.$mergeableCommands=['backspace','del','insertstring'],this.$historyTracker=function(t){if(this.$mergeUndoDeltas){var e=this.prevOp,n=this.$mergeableCommands,r=e.command&&t.command.name==e.command.name;if('insertstring'==t.command.name){var o=t.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),r=r&&this.mergeNextCommand&&(!/\s/.test(o)||/\s/.test(e.args)),this.mergeNextCommand=!0}else r=r&&-1!==n.indexOf(t.command.name);'always'!=this.$mergeUndoDeltas&&2e3=i);r.stepForward()}if(!o)return t.removeMarker(t.$tagHighlight),void(t.$tagHighlight=null);var l=r.getCurrentTokenRow(),d=r.getCurrentTokenColumn(),c=new b(l,d,l,d+o.value.length),u=t.$backMarkers[t.$tagHighlight];t.$tagHighlight&&void 0!=u&&0!==c.compareRange(u.range)&&(t.removeMarker(t.$tagHighlight),t.$tagHighlight=null),c&&!t.$tagHighlight&&(t.$tagHighlight=t.addMarker(c,'ace_bracket','text'))}}},50)}},this.focus=function(){var e=this;setTimeout(function(){e.textInput.focus()}),this.textInput.focus()},this.isFocused=function(){return this.textInput.isFocused()},this.blur=function(){this.textInput.blur()},this.onFocus=function(t){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit('focus',t))},this.onBlur=function(t){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit('blur',t))},this.$cursorChange=function(){this.renderer.updateCursor()},this.onDocumentChange=function(e){var t=this.session.$useWrapMode,n=e.start.row==e.end.row?e.end.row:Infinity;this.renderer.updateLines(e.start.row,n,t),this._signal('change',e),this.$cursorChange(),this.$updateHighlightActiveLine()},this.onTokenizerUpdate=function(t){var e=t.data;this.renderer.updateLines(e.first,e.last)},this.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},this.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},this.onCursorChange=function(){this.$cursorChange(),this.$blockScrolling||(x.warn('Automatically scrolling cursor into view after selection change','this will be disabled in the next version','set editor.$blockScrolling = Infinity to disable this message'),this.renderer.scrollCursorIntoView()),this.$highlightBrackets(),this.$highlightTags(),this.$updateHighlightActiveLine(),this._signal('changeSelection')},this.$updateHighlightActiveLine=function(){var e=this.getSession(),t;if(this.$highlightActiveLine&&(('line'!=this.$selectionStyle||!this.selection.isMultiLine())&&(t=this.getCursorPosition()),this.renderer.$maxLines&&1===this.session.getLength()&&!(1o.length||2>r.length||!r[1])return this.commands.exec('insertstring',this,n);for(var a=o.length,i;a--;)i=o[a],i.isEmpty()||this.session.remove(i),this.session.insert(i.start,r[a])}},this.execCommand=function(e,t){return this.commands.exec(e,this,t)},this.insert=function(e,t){var n=this.session,r=n.getMode(),o=this.getCursorPosition();if(this.getBehavioursEnabled()&&!t){var a=r.transformAction(n.getState(o.row),'insertion',this,n,e);a&&(e!==a.text&&(this.session.mergeUndoDeltas=!1,this.$mergeNextCommand=!1),e=a.text)}if('\t'==e&&(e=this.session.getTabString()),!this.selection.isEmpty()){var i=this.getSelectionRange();o=this.session.remove(i),this.clearSelection()}else if(this.session.getOverwrite()){var i=new b.fromPoints(o,o);i.end.column+=e.length,this.session.remove(i)}if('\n'==e||'\r\n'==e){var s=n.getLine(o.row);if(o.column>s.search(/\S|$/)){var l=s.substr(o.column).search(/\S|$/);n.doc.removeInLine(o.row,o.column,o.column+l)}}this.clearSelection();var d=o.column,c=n.getState(o.row),s=n.getLine(o.row),u=r.checkOutdent(c,s,e),p=n.insert(o,e);if(a&&a.selection&&(2==a.selection.length?this.selection.setSelectionRange(new b(o.row,d+a.selection[0],o.row,d+a.selection[1])):this.selection.setSelectionRange(new b(o.row+a.selection[0],a.selection[1],o.row+a.selection[2],a.selection[3]))),n.getDocument().isNewLine(e)){var g=r.getNextLineIndent(c,s.slice(0,o.column),n.getTabString());n.insert({row:o.row+1,column:0},g)}u&&r.autoOutdent(c,n,o.row)},this.onTextInput=function(e){this.keyBinding.onTextInput(e)},this.onCommandKey=function(t,e,n){this.keyBinding.onCommandKey(t,e,n)},this.setOverwrite=function(e){this.session.setOverwrite(e)},this.getOverwrite=function(){return this.session.getOverwrite()},this.toggleOverwrite=function(){this.session.toggleOverwrite()},this.setScrollSpeed=function(e){this.setOption('scrollSpeed',e)},this.getScrollSpeed=function(){return this.getOption('scrollSpeed')},this.setDragDelay=function(e){this.setOption('dragDelay',e)},this.getDragDelay=function(){return this.getOption('dragDelay')},this.setSelectionStyle=function(e){this.setOption('selectionStyle',e)},this.getSelectionStyle=function(){return this.getOption('selectionStyle')},this.setHighlightActiveLine=function(e){this.setOption('highlightActiveLine',e)},this.getHighlightActiveLine=function(){return this.getOption('highlightActiveLine')},this.setHighlightGutterLine=function(e){this.setOption('highlightGutterLine',e)},this.getHighlightGutterLine=function(){return this.getOption('highlightGutterLine')},this.setHighlightSelectedWord=function(e){this.setOption('highlightSelectedWord',e)},this.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},this.setAnimatedScroll=function(e){this.renderer.setAnimatedScroll(e)},this.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},this.setShowInvisibles=function(e){this.renderer.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},this.setDisplayIndentGuides=function(e){this.renderer.setDisplayIndentGuides(e)},this.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},this.setShowPrintMargin=function(e){this.renderer.setShowPrintMargin(e)},this.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},this.setPrintMarginColumn=function(e){this.renderer.setPrintMarginColumn(e)},this.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},this.setReadOnly=function(e){this.setOption('readOnly',e)},this.getReadOnly=function(){return this.getOption('readOnly')},this.setBehavioursEnabled=function(e){this.setOption('behavioursEnabled',e)},this.getBehavioursEnabled=function(){return this.getOption('behavioursEnabled')},this.setWrapBehavioursEnabled=function(e){this.setOption('wrapBehavioursEnabled',e)},this.getWrapBehavioursEnabled=function(){return this.getOption('wrapBehavioursEnabled')},this.setShowFoldWidgets=function(e){this.setOption('showFoldWidgets',e)},this.getShowFoldWidgets=function(){return this.getOption('showFoldWidgets')},this.setFadeFoldWidgets=function(e){this.setOption('fadeFoldWidgets',e)},this.getFadeFoldWidgets=function(){return this.getOption('fadeFoldWidgets')},this.remove=function(e){this.selection.isEmpty()&&('left'==e?this.selection.selectLeft():this.selection.selectRight());var t=this.getSelectionRange();if(this.getBehavioursEnabled()){var n=this.session,r=n.getState(t.start.row),o=n.getMode().transformAction(r,'deletion',this,n,t);if(0===t.end.column){var a=n.getTextRange(t);if('\n'==a[a.length-1]){var i=n.getLine(t.end.row);/^\s+$/.test(i)&&(t.end.column=i.length)}}o&&(t=o)}this.session.remove(t),this.clearSelection()},this.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var e=this.getSelectionRange();e.start.column==e.end.column&&e.start.row==e.end.row&&(e.end.column=0,e.end.row++),this.session.remove(e),this.clearSelection()},this.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var e=this.getCursorPosition();this.insert('\n'),this.moveCursorToPosition(e)},this.transposeLetters=function(){if(this.selection.isEmpty()){var e=this.getCursorPosition(),t=e.column;if(0!==t){var n=this.session.getLine(e.row),r,o;tt.toLowerCase()?1:0});for(var r=new b(0,0,0,0),o=e.first,a;o<=e.last;o++)a=t.getLine(o),r.start.row=o,r.end.row=o,r.end.column=a.length,t.replace(r,n[o-e.first])},this.toggleCommentLines=function(){var e=this.session.getState(this.getCursorPosition().row),t=this.$getSelectedRows();this.session.getMode().toggleCommentLines(e,this.session,t.first,t.last)},this.toggleBlockComment=function(){var e=this.getCursorPosition(),t=this.session.getState(e.row),n=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,n,e)},this.getNumberAt=function(e,t){var n=/[\-]?[0-9]+(?:\.[0-9]+)?/g;n.lastIndex=0;for(var r=this.session.getLine(e);n.lastIndex=t){var a={value:o[0],start:o.index,end:o.index+o[0].length};return a}}return null},this.modifyNumber=function(e){var n=this.selection.getCursor().row,r=this.selection.getCursor().column,o=new b(n,r-1,n,r),a=this.session.getTextRange(o);if(!isNaN(parseFloat(a))&&isFinite(a)){var i=this.getNumberAt(n,r);if(i){var l=0<=i.value.indexOf('.')?i.start+i.value.indexOf('.')+1:i.end,d=i.start+i.value.length-l,u=parseFloat(i.value);u*=s(10,d),e*=l!==i.end&&rg+1)break;g=f.last}for(l--,d=this.session.$moveLines(p,g,t?0:e),t&&-1==e&&(i=l+1);i<=l;)s[i].moveBy(d,0),i++;t||(d=0),c+=d}n.fromOrientedRange(n.ranges[0]),n.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},this.$getSelectedRows=function(e){return e=(e||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(e.start.row),last:this.session.getRowFoldEnd(e.end.row)}},this.onCompositionStart=function(){this.renderer.showComposition(this.getCursorPosition())},this.onCompositionUpdate=function(e){this.renderer.setCompositionText(e)},this.onCompositionEnd=function(){this.renderer.hideComposition()},this.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},this.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},this.isRowVisible=function(e){return e>=this.getFirstVisibleRow()&&e<=this.getLastVisibleRow()},this.isRowFullyVisible=function(e){return e>=this.renderer.getFirstFullyVisibleRow()&&e<=this.renderer.getLastFullyVisibleRow()},this.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},this.$moveByPage=function(e,t){var n=this.renderer,r=this.renderer.layerConfig,o=e*i(r.height/r.lineHeight);this.$blockScrolling++,!0===t?this.selection.$moveSelection(function(){this.moveCursorBy(o,0)}):!1===t&&(this.selection.moveCursorBy(o,0),this.selection.clearSelection()),this.$blockScrolling--;var a=n.scrollTop;n.scrollBy(0,o*r.lineHeight),null!=t&&n.scrollCursorIntoView(null,0.5),n.animateScrolling(a)},this.selectPageDown=function(){this.$moveByPage(1,!0)},this.selectPageUp=function(){this.$moveByPage(-1,!0)},this.gotoPageDown=function(){this.$moveByPage(1,!1)},this.gotoPageUp=function(){this.$moveByPage(-1,!1)},this.scrollPageDown=function(){this.$moveByPage(1)},this.scrollPageUp=function(){this.$moveByPage(-1)},this.scrollToRow=function(e){this.renderer.scrollToRow(e)},this.scrollToLine=function(e,t,n,r){this.renderer.scrollToLine(e,t,n,r)},this.centerSelection=function(){var e=this.getSelectionRange(),t={row:i(e.start.row+(e.end.row-e.start.row)/2),column:i(e.start.column+(e.end.column-e.start.column)/2)};this.renderer.alignCursor(t,0.5)},this.getCursorPosition=function(){return this.selection.getCursor()},this.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},this.getSelectionRange=function(){return this.selection.getRange()},this.selectAll=function(){this.$blockScrolling+=1,this.selection.selectAll(),this.$blockScrolling-=1},this.clearSelection=function(){this.selection.clearSelection()},this.moveCursorTo=function(e,t){this.selection.moveCursorTo(e,t)},this.moveCursorToPosition=function(e){this.selection.moveCursorToPosition(e)},this.jumpToMatching=function(e,t){var n=this.getCursorPosition(),r=new w(this.session,n.row,n.column),o=r.getCurrentToken(),a=o||r.stepForward();if(a){var s=!1,d={},c=n.column-a.start,i={")":'(',"(":'(',"]":'[',"[":'[',"{":'{',"}":'{'},u,p;do{if(a.value.match(/[{}()\[\]]/g)){for(;cl(f.column-n.column))&&(g=this.session.getBracketRange(f)));else if('tag'===u){if(a&&-1!==a.type.indexOf('tag-name'))var h=a.value;else return;if(g=new b(r.getCurrentTokenRow(),r.getCurrentTokenColumn()-2,r.getCurrentTokenRow(),r.getCurrentTokenColumn()-2),0===g.compare(n.row,n.column)){s=!1;do a=o,o=r.stepBackward(),o&&(-1!==o.type.indexOf('tag-close')&&g.setEnd(r.getCurrentTokenRow(),r.getCurrentTokenColumn()+1),a.value===h&&-1!==a.type.indexOf('tag-name')&&('<'===o.value?d[h]++:'l(f.column-n.column)&&(f=g.end))}f=g&&g.cursor||f,f&&(e?g&&t?this.selection.setRange(g):g&&g.isEqual(this.getSelectionRange())?this.clearSelection():this.selection.selectTo(f.row,f.column):this.selection.moveTo(f.row,f.column))}}},this.gotoLine=function(e,t,n){this.selection.clearSelection(),this.session.unfold({row:e-1,column:t||0}),this.$blockScrolling+=1,this.exitMultiSelectMode&&this.exitMultiSelectMode(),this.moveCursorTo(e-1,t||0),this.$blockScrolling-=1,this.isRowFullyVisible(e-1)||this.scrollToLine(e-1,!0,n)},this.navigateTo=function(e,t){this.selection.moveTo(e,t)},this.navigateUp=function(e){if(this.selection.isMultiLine()&&!this.selection.isBackwards()){var t=this.selection.anchor.getPosition();return this.moveCursorToPosition(t)}this.selection.clearSelection(),this.selection.moveCursorBy(-e||-1,0)},this.navigateDown=function(e){if(this.selection.isMultiLine()&&this.selection.isBackwards()){var t=this.selection.anchor.getPosition();return this.moveCursorToPosition(t)}this.selection.clearSelection(),this.selection.moveCursorBy(e||1,0)},this.navigateLeft=function(e){if(!this.selection.isEmpty()){var t=this.getSelectionRange().start;this.moveCursorToPosition(t)}else for(e=e||1;e--;)this.selection.moveCursorLeft();this.clearSelection()},this.navigateRight=function(e){if(!this.selection.isEmpty()){var t=this.getSelectionRange().end;this.moveCursorToPosition(t)}else for(e=e||1;e--;)this.selection.moveCursorRight();this.clearSelection()},this.navigateLineStart=function(){this.selection.moveCursorLineStart(),this.clearSelection()},this.navigateLineEnd=function(){this.selection.moveCursorLineEnd(),this.clearSelection()},this.navigateFileEnd=function(){this.selection.moveCursorFileEnd(),this.clearSelection()},this.navigateFileStart=function(){this.selection.moveCursorFileStart(),this.clearSelection()},this.navigateWordRight=function(){this.selection.moveCursorWordRight(),this.clearSelection()},this.navigateWordLeft=function(){this.selection.moveCursorWordLeft(),this.clearSelection()},this.replace=function(e,t){t&&this.$search.set(t);var n=this.$search.find(this.session),r=0;return n?(this.$tryReplace(n,e)&&(r=1),null!==n&&(this.selection.setSelectionRange(n),this.renderer.scrollSelectionIntoView(n.start,n.end)),r):r},this.replaceAll=function(e,t){t&&this.$search.set(t);var n=this.$search.findAll(this.session),r=0;if(!n.length)return r;this.$blockScrolling+=1;var o=this.getSelectionRange();this.selection.moveTo(0,0);for(var a=n.length-1;0<=a;--a)this.$tryReplace(n[a],e)&&r++;return this.selection.setSelectionRange(o),this.$blockScrolling-=1,r},this.$tryReplace=function(e,t){var n=this.session.getTextRange(e);return t=this.$search.replace(n,t),null===t?null:(e.end=this.session.replace(e,t),e)},this.getLastSearchOptions=function(){return this.$search.getOptions()},this.find=function(e,t,r){t||(t={}),'string'==typeof e||e instanceof RegExp?t.needle=e:'object'==typeof e&&n.mixin(t,e);var o=this.selection.getRange();null==t.needle&&(e=this.session.getTextRange(o)||this.$search.$options.needle,!e&&(o=this.session.getWordRange(o.start.row,o.start.column),e=this.session.getTextRange(o)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:o});var a=this.$search.find(this.session);return t.preventScroll?a:a?(this.revealRange(a,r),a):void(t.backwards?o.start=o.end:o.end=o.start,this.selection.setRange(o))},this.findNext=function(e,t){this.find({skipCurrent:!0,backwards:!1},e,t)},this.findPrevious=function(e,t){this.find(e,{skipCurrent:!0,backwards:!0},t)},this.revealRange=function(e,t){this.$blockScrolling+=1,this.session.unfold(e),this.selection.setSelectionRange(e),this.$blockScrolling-=1;var n=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(e.start,e.end,0.5),!1!==t&&this.renderer.animateScrolling(n)},this.undo=function(){this.$blockScrolling++,this.session.getUndoManager().undo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,0.5)},this.redo=function(){this.$blockScrolling++,this.session.getUndoManager().redo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,0.5)},this.destroy=function(){this.renderer.destroy(),this._signal('destroy',this),this.session&&this.session.destroy()},this.setAutoScrollEditorIntoView=function(e){if(e){var t=this,n=!1,r;this.$scrollAnchor||(this.$scrollAnchor=document.createElement('div'));var o=this.$scrollAnchor;o.style.cssText='position:absolute',this.container.insertBefore(o,this.container.firstChild);var a=this.on('changeSelection',function(){n=!0}),i=this.renderer.on('beforeRender',function(){n&&(r=t.renderer.container.getBoundingClientRect())}),s=this.renderer.on('afterRender',function(){if(n&&r&&(t.isFocused()||t.searchBox&&t.searchBox.isFocused())){var e=t.renderer,a=e.$cursorLayer.$pixelPos,i=e.layerConfig,s=a.top-i.offset;n=0<=a.top&&0>s+r.top||(a.topwindow.innerHeight?!1:null),null!=n&&(o.style.top=s+'px',o.style.left=a.left+'px',o.style.height=i.lineHeight+'px',o.scrollIntoView(n)),n=r=null}});this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off('changeSelection',a),this.renderer.off('afterRender',s),this.renderer.off('beforeRender',i))}}},this.$resetCursorStyle=function(){var e=this.$cursorStyle||'ace',t=this.renderer.$cursorLayer;t&&(t.setSmoothBlinking(/smooth/.test(e)),t.isBlinking=!this.$readOnly&&'wide'!=e,r.setCssClass(t.element,'ace_slim-cursors',/slim/.test(e)))}}).call(C.prototype),x.defineOptions(C.prototype,'editor',{selectionStyle:{set:function(e){this.onSelectionChange(),this._signal('changeSelectionStyle',{data:e})},initialValue:'line'},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(){this.$resetCursorStyle()},initialValue:!1},cursorStyle:{set:function(){this.$resetCursorStyle()},values:['ace','slim','smooth','wide'],initialValue:'ace'},mergeUndoDeltas:{values:[!1,!0,'always'],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},autoScrollEditorIntoView:{set:function(e){this.setAutoScrollEditorIntoView(e)}},keyboardHandler:{set:function(e){this.setKeyboardHandler(e)},get:function(){return this.keybindingId},handlesSet:!0},hScrollBarAlwaysVisible:'renderer',vScrollBarAlwaysVisible:'renderer',highlightGutterLine:'renderer',animatedScroll:'renderer',showInvisibles:'renderer',showPrintMargin:'renderer',printMarginColumn:'renderer',printMargin:'renderer',fadeFoldWidgets:'renderer',showFoldWidgets:'renderer',showLineNumbers:'renderer',showGutter:'renderer',displayIndentGuides:'renderer',fontSize:'renderer',fontFamily:'renderer',maxLines:'renderer',minLines:'renderer',scrollPastEnd:'renderer',fixedWidthGutter:'renderer',theme:'renderer',scrollSpeed:'$mouseHandler',dragDelay:'$mouseHandler',dragEnabled:'$mouseHandler',focusTimout:'$mouseHandler',tooltipFollowsMouse:'$mouseHandler',firstLineNumber:'session',overwrite:'session',newLineMode:'session',useWorker:'session',useSoftTabs:'session',tabSize:'session',wrap:'session',indentedSoftWrap:'session',foldStyle:'session',mode:'session'}),t.Editor=C}),ace.define('ace/undomanager',['require','exports','module'],function(e,t){'use strict';var n=function(){this.reset()};(function(){function e(e){return{action:e.action,start:e.start,end:e.end,lines:1==e.lines.length?null:e.lines,text:1==e.lines.length?e.lines[0]:null}}function t(e){return{action:e.action,start:e.start,end:e.end,lines:e.lines||[e.text]}}function n(e,t){for(var n=Array(e.length),r=0;rthis.dirtyCounter&&(this.dirtyCounter=NaN),this.dirtyCounter++},this.undo=function(e){var t=this.$undoStack.pop(),n=null;return t&&(n=this.$doc.undoChanges(t,e),this.$redoStack.push(t),this.dirtyCounter--),n},this.redo=function(e){var t=this.$redoStack.pop(),n=null;return t&&(n=this.$doc.redoChanges(this.$deserializeDeltas(t),e),this.$undoStack.push(t),this.dirtyCounter++),n},this.reset=function(){this.$undoStack=[],this.$redoStack=[],this.dirtyCounter=0},this.hasUndo=function(){return 0s&&(y=i.end.row+1,i=t.getNextFoldLine(y,i),s=i?i.start.row:Infinity),y>a){for(;this.$cells.length>b+1;)m=this.$cells.pop(),this.element.removeChild(m.element);break}m=this.$cells[++b],m||(m={element:null,textNode:null,foldWidget:null},m.element=n.createElement('div'),m.textNode=document.createTextNode(''),m.element.appendChild(m.textNode),this.element.appendChild(m.element),this.$cells[b]=m);var k='ace_gutter-cell ';u[y]&&(k+=u[y]),p[y]&&(k+=p[y]),this.$annotations[y]&&(k+=this.$annotations[y].className),m.element.className!=k&&(m.element.className=k);var v=t.getRowLength(y)*e.lineHeight+'px';if(v!=m.element.style.height&&(m.element.style.height=v),l){var x=l[y];null==x&&(x=l[y]=t.getFoldWidget(y))}if(x){m.foldWidget||(m.foldWidget=n.createElement('span'),m.element.appendChild(m.foldWidget));var k='ace_fold-widget ace_'+x;k+='start'==x&&y==s&&yn.right-t.right?'foldWidgets':void 0}}).call(s.prototype),t.Gutter=s}),ace.define('ace/layer/marker',['require','exports','module','ace/range','ace/lib/dom'],function(e,t){'use strict';var n=e('../range').Range,r=e('../lib/dom'),o=function(e){this.element=r.createElement('div'),this.element.className='ace_layer ace_marker-layer',e.appendChild(this.element)};(function(){function e(e,t,n,r){return(e?1:0)|(t?2:0)|(n?4:0)|(r?8:0)}this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setMarkers=function(e){this.markers=e},this.update=function(e){var e=e||this.config;if(e){this.config=e;var t=[];for(var n in this.markers){var r=this.markers[n];if(!r.range){r.update(t,this,this.session,e);continue}var o=r.range.clipRows(e.firstRow,e.lastRow);if(!o.isEmpty())if(o=o.toScreenRange(this.session),r.renderer){var a=this.$getTop(o.start.row,e),i=this.$padding+o.start.column*e.characterWidth;r.renderer(t,o,i,a,e)}else'fullLine'==r.type?this.drawFullLineMarker(t,o,r.clazz,e):'screenLine'==r.type?this.drawScreenLineMarker(t,o,r.clazz,e):o.isMultiLine()?'text'==r.type?this.drawTextMarker(t,o,r.clazz,e):this.drawMultiLineMarker(t,o,r.clazz,e):this.drawSingleLineMarker(t,o,r.clazz+' ace_start ace_br15',e)}this.element.innerHTML=t.join('')}},this.$getTop=function(e,t){return(e-t.firstRowScreen)*t.lineHeight},this.drawTextMarker=function(t,r,o,a,i){for(var s=this.session,l=r.start.row,d=r.end.row,c=l,u=0,p=0,g=s.getScreenLastRowColumn(c),f=new n(c,r.start.column,c,p);c<=d;c++)f.start.row=f.end.row=c,f.start.column=c==l?r.start.column:s.getRowWrapIndent(c),f.end.column=g,u=p,p=g,g=c+1g,c==d),a,c==d?0:1,i)},this.drawMultiLineMarker=function(e,t,n,r,o){var a=this.$padding,i=r.lineHeight,s=this.$getTop(t.start.row,r),l=a+t.start.column*r.characterWidth;o=o||'',e.push('
    '),s=this.$getTop(t.end.row,r);var d=t.end.column*r.characterWidth;if(e.push('
    '),i=(t.end.row-t.start.row-1)*r.lineHeight,!(0>=i)){s=this.$getTop(t.start.row+1,r);var c=(t.start.column?1:0)|(t.end.column?0:8);e.push('
    ')}},this.drawSingleLineMarker=function(e,t,n,r,o,a){var i=r.lineHeight,s=(t.end.column+(o||0)-t.start.column)*r.characterWidth,l=this.$getTop(t.start.row,r),d=this.$padding+t.start.column*r.characterWidth;e.push('
    ')},this.drawFullLineMarker=function(e,t,n,r,o){var a=this.$getTop(t.start.row,r),i=r.lineHeight;t.start.row!=t.end.row&&(i+=this.$getTop(t.end.row,r)-a),e.push('
    ')},this.drawScreenLineMarker=function(e,t,n,r,o){var a=this.$getTop(t.start.row,r),i=r.lineHeight;e.push('
    ')}}).call(o.prototype),t.Marker=o}),ace.define('ace/layer/text',['require','exports','module','ace/lib/oop','ace/lib/dom','ace/lib/lang','ace/lib/useragent','ace/lib/event_emitter'],function(e,t){'use strict';var n=e('../lib/oop'),r=e('../lib/dom'),s=e('../lib/lang'),a=e('../lib/useragent'),i=e('../lib/event_emitter').EventEmitter,l=function(e){this.element=r.createElement('div'),this.element.className='ace_layer ace_text-layer',e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this)};(function(){n.implement(this,i),this.EOF_CHAR='\xB6',this.EOL_CHAR_LF='\xAC',this.EOL_CHAR_CRLF='\xA4',this.EOL_CHAR=this.EOL_CHAR_LF,this.TAB_CHAR='\u2014',this.SPACE_CHAR='\xB7',this.$padding=0,this.$updateEolChar=function(){var e='\n'==this.session.doc.getNewLineCharacter()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=e)return this.EOL_CHAR=e,!0},this.setPadding=function(e){this.$padding=e,this.element.style.padding='0 '+e+'px'},this.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},this.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},this.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on('changeCharacterSize',function(t){this._signal('changeCharacterSize',t)}.bind(this)),this.$pollSizeChanges()},this.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},this.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},this.setSession=function(e){this.session=e,e&&this.$computeTabString()},this.showInvisibles=!1,this.setShowInvisibles=function(e){return this.showInvisibles!=e&&(this.showInvisibles=e,this.$computeTabString(),!0)},this.displayIndentGuides=!0,this.setDisplayIndentGuides=function(e){return this.displayIndentGuides!=e&&(this.displayIndentGuides=e,this.$computeTabString(),!0)},this.$tabStrings=[],this.onChangeTabSize=this.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var t=this.$tabStrings=[0],n=1;n'+s.stringRepeat(this.TAB_CHAR,n)+''):t.push(s.stringRepeat(' ',n));if(this.displayIndentGuides){this.$indentGuideRe=/\s\S| \t|\t |\s$/;var r='ace_indent-guide',o='',a='';if(this.showInvisibles){r+=' ace_invisible',o=' ace_invisible_space',a=' ace_invisible_tab';var i=s.stringRepeat(this.SPACE_CHAR,this.tabSize),l=s.stringRepeat(this.TAB_CHAR,this.tabSize)}else var i=s.stringRepeat(' ',this.tabSize),l=i;this.$tabStrings[' ']=''+i+'',this.$tabStrings['\t']=''+l+''}},this.updateLines=function(e,t,n){(this.config.lastRow!=e.lastRow||this.config.firstRow!=e.firstRow)&&this.scrollLines(e),this.config=e;for(var r=c(t,e.firstRow),o=d(n,e.lastRow),a=this.element.childNodes,i=0,s=e.firstRow,l;su&&(s=l.end.row+1,l=this.session.getNextFoldLine(s,l),u=l?l.start.row:Infinity),!(s>o);){if(p=a[i++],p){var g=[];this.$renderLine(g,s,!this.$useLineGroups(),s==u&&l),p.style.height=e.lineHeight*this.session.getRowLength(s)+'px',p.innerHTML=g.join('')}s++}},this.scrollLines=function(e){var t=this.config;if(this.config=e,!t||t.lastRowe.lastRow)for(var r=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);0t.lastRow){var o=this.$renderLinesFragment(e,t.lastRow+1,e.lastRow);n.appendChild(o)}},this.$renderLinesFragment=function(e,t,n){for(var o=this.element.ownerDocument.createDocumentFragment(),a=t,i=this.session.getNextFoldLine(a),s=i?i.start.row:Infinity;a>s&&(a=i.end.row+1,i=this.session.getNextFoldLine(a,i),s=i?i.start.row:Infinity),!(a>n);){var l=r.createElement('div'),d=[];if(this.$renderLine(d,a,!1,a==s&&i),l.innerHTML=d.join(''),this.$useLineGroups())l.className='ace_line_group',o.appendChild(l),l.style.height=e.lineHeight*this.session.getRowLength(a)+'px';else for(;l.firstChild;)o.appendChild(l.firstChild);a++}return o},this.update=function(e){this.config=e;for(var t=[],n=e.firstRow,r=e.lastRow,o=n,a=this.session.getNextFoldLine(o),i=a?a.start.row:Infinity;o>i&&(o=a.end.row+1,a=this.session.getNextFoldLine(o,a),i=a?a.start.row:Infinity),!(o>r);)this.$useLineGroups()&&t.push('
    '),this.$renderLine(t,o,!1,o==i&&a),this.$useLineGroups()&&t.push('
    '),o++;this.element.innerHTML=t.join('')},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderToken=function(e,t,n,r){var o=this,a=/\t|&|<|>|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\u3000\uFEFF\uFFF9-\uFFFC])|[\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3000-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]/g,i=r.replace(a,function(e,n,r,a){if(n)return o.showInvisibles?''+s.stringRepeat(o.SPACE_CHAR,e.length)+'':e;if('&'==e)return'&';if('<'==e)return'<';if('>'==e)return'>';if('\t'==e){var i=o.session.getScreenTabSize(t+a);return t+=i-1,o.$tabStrings[i]}if('\u3000'==e){var l=o.showInvisibles?'ace_cjk ace_invisible ace_invisible_space':'ace_cjk',d=o.showInvisibles?o.SPACE_CHAR:'';return t+=1,''+d+''}return r?''+o.SPACE_CHAR+'':(t+=1,''+e+'')});if(!this.$textToken[n.type]){var l='ace_'+n.type.replace(/\./g,' ace_'),d='';'fold'==n.type&&(d=' style=\'width:'+n.value.length*this.config.characterWidth+'px;\' '),e.push('',i,'')}else e.push(i);return t+r.length},this.renderIndentGuide=function(e,t,n){var r=t.search(this.$indentGuideRe);return 0>=r||r>=n?t:' '==t[0]?(r-=r%this.tabSize,e.push(s.stringRepeat(this.$tabStrings[' '],r/this.tabSize)),t.substr(r)):'\t'==t[0]?(e.push(s.stringRepeat(this.$tabStrings['\t'],r)),t.substr(r)):t},this.$renderWrappedLine=function(e,t,n,r){for(var a=0,l=0,d=n[0],c=0,u=0;u=d;)c=this.$renderToken(e,c,i,p.substring(0,d-a)),p=p.substring(d-a),a=d,r||e.push('','
    '),e.push(s.stringRepeat('\xA0',n.indent)),l++,c=0,d=n[l]||o;0!=p.length&&(a+=p.length,c=this.$renderToken(e,c,i,p))}}},this.$renderSimpleLine=function(e,t){var n=0,r=t[0],o=r.value;this.displayIndentGuides&&(o=this.renderIndentGuide(e,o)),o&&(n=this.$renderToken(e,n,r,o));for(var a=1;a'),o.length){var a=this.session.getRowSplitData(t);a&&a.length?this.$renderWrappedLine(e,o,a,n):this.$renderSimpleLine(e,o)}this.showInvisibles&&(r&&(t=r.end.row),e.push('',t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,'')),n||e.push('
    ')},this.$getFoldLineTokens=function(e,t){function n(e,t,n){for(var r=0,a=0;a+e[r].value.lengthn-t&&(i=i.substring(0,n-t)),o.push({type:e[r].type,value:i}),a=t+i.length,r+=1}for(;an?o.push({type:e[r].type,value:i.substring(0,n-a)}):o.push(e[r]),a+=i.length,r+=1}}var r=this.session,o=[],a=r.getTokens(e);return t.walk(function(e,t,i,s,l){null==e?(l&&(a=r.getTokens(t)),a.length&&n(a,s,i)):o.push({type:'fold',value:e})},t.end.row,this.session.getLine(t.end.row).length),o},this.$useLineGroups=function(){return this.session.getUseWrapMode()},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$measureNode&&this.$measureNode.parentNode.removeChild(this.$measureNode),delete this.$measureNode}}).call(l.prototype),t.Text=l}),ace.define('ace/layer/cursor',['require','exports','module','ace/lib/dom'],function(e,t){'use strict';var n=e('../lib/dom'),r=function(e){this.element=n.createElement('div'),this.element.className='ace_layer ace_cursor-layer',e.appendChild(this.element),o==void 0&&(o=!('opacity'in this.element.style)),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),n.addCssClass(this.element,'ace_hidden-cursors'),this.$updateCursors=(o?this.$updateVisibility:this.$updateOpacity).bind(this)},o;(function(){this.$updateVisibility=function(e){for(var t=this.cursors,n=t.length;n--;)t[n].style.visibility=e?'':'hidden'},this.$updateOpacity=function(e){for(var t=this.cursors,n=t.length;n--;)t[n].style.opacity=e?'':'0'},this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setBlinking=function(e){e!=this.isBlinking&&(this.isBlinking=e,this.restartTimer())},this.setBlinkInterval=function(e){e!=this.blinkInterval&&(this.blinkInterval=e,this.restartTimer())},this.setSmoothBlinking=function(e){e==this.smoothBlinking||o||(this.smoothBlinking=e,n.setCssClass(this.element,'ace_smooth-blinking',e),this.$updateCursors(!0),this.$updateCursors=this.$updateOpacity.bind(this),this.restartTimer())},this.addCursor=function(){var e=n.createElement('div');return e.className='ace_cursor',this.element.appendChild(e),this.cursors.push(e),e},this.removeCursor=function(){if(1e.height+e.offset||0>n.top)&&1o;)this.removeCursor();var s=this.session.getOverwrite();this.$setOverwrite(s),this.$pixelPos=n,this.restartTimer()},this.drawCursor=null,this.$setOverwrite=function(e){e!=this.overwrite&&(this.overwrite=e,e?n.addCssClass(this.element,'ace_overwrite-cursors'):n.removeCssClass(this.element,'ace_overwrite-cursors'))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(r.prototype),t.Cursor=r}),ace.define('ace/scrollbar',['require','exports','module','ace/lib/oop','ace/lib/dom','ace/lib/event','ace/lib/event_emitter'],function(e,t){'use strict';var n=e('./lib/oop'),r=e('./lib/dom'),o=e('./lib/event'),a=e('./lib/event_emitter').EventEmitter,i=32768,s=function(e){this.element=r.createElement('div'),this.element.className='ace_scrollbar ace_scrollbar'+this.classSuffix,this.inner=r.createElement('div'),this.inner.className='ace_scrollbar-inner',this.element.appendChild(this.inner),e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,o.addListener(this.element,'scroll',this.onScroll.bind(this)),o.addListener(this.element,'mousedown',o.preventDefault)};(function(){n.implement(this,a),this.setVisible=function(e){this.element.style.display=e?'':'none',this.isVisible=e,this.coeff=1}}).call(s.prototype);var l=function(e,t){s.call(this,e),this.scrollTop=0,this.scrollHeight=0,t.$scrollbarWidth=this.width=r.scrollbarWidth(e.ownerDocument),this.inner.style.width=this.element.style.width=(this.width||15)+5+'px'};n.inherits(l,s),function(){this.classSuffix='-v',this.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var e=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-e)/(this.coeff-e)}this._emit('scroll',{data:this.scrollTop})}this.skipEvent=!1},this.getWidth=function(){return this.isVisible?this.width:0},this.setHeight=function(e){this.element.style.height=e+'px'},this.setInnerHeight=this.setScrollHeight=function(e){this.scrollHeight=e,e>i?(this.coeff=i/e,e=i):1!=this.coeff&&(this.coeff=1),this.inner.style.height=e+'px'},this.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=e,this.element.scrollTop=e*this.coeff)}}.call(l.prototype);var d=function(e,t){s.call(this,e),this.scrollLeft=0,this.height=t.$scrollbarWidth,this.inner.style.height=this.element.style.height=(this.height||15)+5+'px'};n.inherits(d,s),function(){this.classSuffix='-h',this.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit('scroll',{data:this.scrollLeft})),this.skipEvent=!1},this.getHeight=function(){return this.isVisible?this.height:0},this.setWidth=function(e){this.element.style.width=e+'px'},this.setInnerWidth=function(e){this.inner.style.width=e+'px'},this.setScrollWidth=function(e){this.inner.style.width=e+'px'},this.setScrollLeft=function(e){this.scrollLeft!=e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=e)}}.call(d.prototype),t.ScrollBar=l,t.ScrollBarV=l,t.ScrollBarH=d,t.VScrollBar=l,t.HScrollBar=d}),ace.define('ace/renderloop',['require','exports','module','ace/lib/event'],function(e,t){'use strict';var n=e('./lib/event'),r=function(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.window=t||window};(function(){this.schedule=function(e){if(this.changes|=e,!this.pending&&this.changes){this.pending=!0;var t=this;n.nextFrame(function(){t.pending=!1;for(var e;e=t.changes;)t.changes=0,t.onRender(e)},this.window)}}}).call(r.prototype),t.RenderLoop=r}),ace.define('ace/layer/font_metrics',['require','exports','module','ace/lib/oop','ace/lib/dom','ace/lib/lang','ace/lib/useragent','ace/lib/event_emitter'],function(e,t){var n=e('../lib/oop'),r=e('../lib/dom'),o=e('../lib/lang'),a=e('../lib/useragent'),i=e('../lib/event_emitter').EventEmitter,s=0,l=t.FontMetrics=function(e){this.el=r.createElement('div'),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=r.createElement('div'),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=r.createElement('div'),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),s||this.$testFractionalRect(),this.$measureNode.innerHTML=o.stringRepeat('X',s),this.$characterSize={width:0,height:0},this.checkForSizeChanges()};(function(){n.implement(this,i),this.$characterSize={width:0,height:0},this.$testFractionalRect=function(){var e=r.createElement('div');this.$setMeasureNodeStyles(e.style),e.style.width='0.2px',document.documentElement.appendChild(e);var t=e.getBoundingClientRect().width;s=0t?50:100,e.parentNode.removeChild(e)},this.$setMeasureNodeStyles=function(e,t){e.width=e.height='auto',e.left=e.top='0px',e.visibility='hidden',e.position='absolute',e.whiteSpace='pre',8>a.isIE?e['font-family']='inherit':e.font='inherit',e.overflow=t?'hidden':'visible'},this.checkForSizeChanges=function(){var e=this.$measureSizes();if(e&&(this.$characterSize.width!==e.width||this.$characterSize.height!==e.height)){this.$measureNode.style.fontWeight='bold';var t=this.$measureSizes();this.$measureNode.style.fontWeight='',this.$characterSize=e,this.charSizes=Object.create(null),this.allowBoldFonts=t&&t.width===e.width&&t.height===e.height,this._emit('changeCharacterSize',{data:e})}},this.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer)return this.$pollSizeChangesTimer;var e=this;return this.$pollSizeChangesTimer=setInterval(function(){e.checkForSizeChanges()},500)},this.setPolling=function(e){e?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},this.$measureSizes=function(){if(50==s){var e=null;try{e=this.$measureNode.getBoundingClientRect()}catch(t){e={width:0,height:0}}var t={height:e.height,width:e.width/s}}else var t={height:this.$measureNode.clientHeight,width:this.$measureNode.clientWidth/s};return 0===t.width||0===t.height?null:t},this.$measureCharWidth=function(e){this.$main.innerHTML=o.stringRepeat(e,s);var t=this.$main.getBoundingClientRect();return t.width/s},this.getCharacterWidth=function(e){var t=this.charSizes[e];return void 0===t&&(t=this.charSizes[e]=this.$measureCharWidth(e)/this.$characterSize.width),t},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)}}).call(l.prototype)}),ace.define('ace/virtual_renderer',['require','exports','module','ace/lib/oop','ace/lib/dom','ace/config','ace/lib/useragent','ace/layer/gutter','ace/layer/marker','ace/layer/text','ace/layer/cursor','ace/scrollbar','ace/scrollbar','ace/renderloop','ace/layer/font_metrics','ace/lib/event_emitter'],function(e,t){'use strict';var n=e('./lib/oop'),o=e('./lib/dom'),a=e('./config'),l=e('./lib/useragent'),u=e('./layer/gutter').Gutter,p=e('./layer/marker').Marker,g=e('./layer/text').Text,f=e('./layer/cursor').Cursor,h=e('./scrollbar').HScrollBar,m=e('./scrollbar').VScrollBar,b=e('./renderloop').RenderLoop,y=e('./layer/font_metrics').FontMetrics,k=e('./lib/event_emitter').EventEmitter;o.importCssString('.ace_editor {position: relative;overflow: hidden;font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'source-code-pro\', monospace;direction: ltr;text-align: left;}.ace_scroller {position: absolute;overflow: hidden;top: 0;bottom: 0;background-color: inherit;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;cursor: text;}.ace_content {position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;min-width: 100%;}.ace_dragging .ace_scroller:before{position: absolute;top: 0;left: 0;right: 0;bottom: 0;content: \'\';background: rgba(250, 250, 250, 0.01);z-index: 1000;}.ace_dragging.ace_dark .ace_scroller:before{background: rgba(0, 0, 0, 0.01);}.ace_selecting, .ace_selecting * {cursor: text !important;}.ace_gutter {position: absolute;overflow : hidden;width: auto;top: 0;bottom: 0;left: 0;cursor: default;z-index: 4;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;}.ace_gutter-active-line {position: absolute;left: 0;right: 0;}.ace_scroller.ace_scroll-left {box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;}.ace_gutter-cell {padding-left: 19px;padding-right: 6px;background-repeat: no-repeat;}.ace_gutter-cell.ace_error {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: 2px center;}.ace_gutter-cell.ace_warning {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");background-position: 2px center;}.ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");background-position: 2px center;}.ace_dark .ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");}.ace_scrollbar {position: absolute;right: 0;bottom: 0;z-index: 6;}.ace_scrollbar-inner {position: absolute;cursor: text;left: 0;top: 0;}.ace_scrollbar-v{overflow-x: hidden;overflow-y: scroll;top: 0;}.ace_scrollbar-h {overflow-x: scroll;overflow-y: hidden;left: 0;}.ace_print-margin {position: absolute;height: 100%;}.ace_text-input {position: absolute;z-index: 0;width: 0.5em;height: 1em;opacity: 0;background: transparent;-moz-appearance: none;appearance: none;border: none;resize: none;outline: none;overflow: hidden;font: inherit;padding: 0 1px;margin: 0 -1px;text-indent: -1em;-ms-user-select: text;-moz-user-select: text;-webkit-user-select: text;user-select: text;white-space: pre!important;}.ace_text-input.ace_composition {background: inherit;color: inherit;z-index: 1000;opacity: 1;text-indent: 0;}.ace_layer {z-index: 1;position: absolute;overflow: hidden;word-wrap: normal;white-space: pre;height: 100%;width: 100%;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;pointer-events: none;}.ace_gutter-layer {position: relative;width: auto;text-align: right;pointer-events: auto;}.ace_text-layer {font: inherit !important;}.ace_cjk {display: inline-block;text-align: center;}.ace_cursor-layer {z-index: 4;}.ace_cursor {z-index: 4;position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;border-left: 2px solid;transform: translatez(0);}.ace_slim-cursors .ace_cursor {border-left-width: 1px;}.ace_overwrite-cursors .ace_cursor {border-left-width: 0;border-bottom: 1px solid;}.ace_hidden-cursors .ace_cursor {opacity: 0.2;}.ace_smooth-blinking .ace_cursor {-webkit-transition: opacity 0.18s;transition: opacity 0.18s;}.ace_editor.ace_multiselect .ace_cursor {border-left-width: 1px;}.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {position: absolute;z-index: 3;}.ace_marker-layer .ace_selection {position: absolute;z-index: 5;}.ace_marker-layer .ace_bracket {position: absolute;z-index: 6;}.ace_marker-layer .ace_active-line {position: absolute;z-index: 2;}.ace_marker-layer .ace_selected-word {position: absolute;z-index: 4;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}.ace_line .ace_fold {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;display: inline-block;height: 11px;margin-top: -2px;vertical-align: middle;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");background-repeat: no-repeat, repeat-x;background-position: center center, top left;color: transparent;border: 1px solid black;border-radius: 2px;cursor: pointer;pointer-events: auto;}.ace_dark .ace_fold {}.ace_fold:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");}.ace_tooltip {background-color: #FFF;background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));border: 1px solid gray;border-radius: 1px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);color: black;max-width: 100%;padding: 3px 4px;position: fixed;z-index: 999999;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;cursor: default;white-space: pre;word-wrap: break-word;line-height: normal;font-style: normal;font-weight: normal;letter-spacing: normal;pointer-events: none;}.ace_folding-enabled > .ace_gutter-cell {padding-right: 13px;}.ace_fold-widget {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0 -12px 0 1px;display: none;width: 11px;vertical-align: top;background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: center;border-radius: 3px;border: 1px solid transparent;cursor: pointer;}.ace_folding-enabled .ace_fold-widget {display: inline-block; }.ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");}.ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");}.ace_fold-widget:hover {border: 1px solid rgba(0, 0, 0, 0.3);background-color: rgba(255, 255, 255, 0.2);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);}.ace_fold-widget:active {border: 1px solid rgba(0, 0, 0, 0.4);background-color: rgba(0, 0, 0, 0.05);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);}.ace_dark .ace_fold-widget {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");}.ace_dark .ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget:hover {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);background-color: rgba(255, 255, 255, 0.1);}.ace_dark .ace_fold-widget:active {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);}.ace_fold-widget.ace_invalid {background-color: #FFB4B4;border-color: #DE5555;}.ace_fade-fold-widgets .ace_fold-widget {-webkit-transition: opacity 0.4s ease 0.05s;transition: opacity 0.4s ease 0.05s;opacity: 0;}.ace_fade-fold-widgets:hover .ace_fold-widget {-webkit-transition: opacity 0.05s ease 0.05s;transition: opacity 0.05s ease 0.05s;opacity:1;}.ace_underline {text-decoration: underline;}.ace_bold {font-weight: bold;}.ace_nobold .ace_bold {font-weight: normal;}.ace_italic {font-style: italic;}.ace_error-marker {background-color: rgba(255, 0, 0,0.2);position: absolute;z-index: 9;}.ace_highlight-marker {background-color: rgba(255, 255, 0,0.2);position: absolute;z-index: 8;}.ace_br1 {border-top-left-radius : 3px;}.ace_br2 {border-top-right-radius : 3px;}.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}.ace_br4 {border-bottom-right-radius: 3px;}.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}.ace_br8 {border-bottom-left-radius : 3px;}.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}','ace_editor.css');var v=function(e,t){var n=this;this.container=e||o.createElement('div'),this.$keepTextAreaAtCursor=!l.isOldIE,o.addCssClass(this.container,'ace_editor'),this.setTheme(t),this.$gutter=o.createElement('div'),this.$gutter.className='ace_gutter',this.container.appendChild(this.$gutter),this.scroller=o.createElement('div'),this.scroller.className='ace_scroller',this.container.appendChild(this.scroller),this.content=o.createElement('div'),this.content.className='ace_content',this.scroller.appendChild(this.content),this.$gutterLayer=new u(this.$gutter),this.$gutterLayer.on('changeGutterWidth',this.onGutterResize.bind(this)),this.$markerBack=new p(this.content);var r=this.$textLayer=new g(this.content);this.canvas=r.element,this.$markerFront=new p(this.content),this.$cursorLayer=new f(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new m(this.container,this),this.scrollBarH=new h(this.container,this),this.scrollBarV.addEventListener('scroll',function(t){n.$scrollAnimation||n.session.setScrollTop(t.data-n.scrollMargin.top)}),this.scrollBarH.addEventListener('scroll',function(t){n.$scrollAnimation||n.session.setScrollLeft(t.data-n.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new y(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.addEventListener('changeCharacterSize',function(t){n.updateCharacterSize(),n.onResize(!0,n.gutterWidth,n.$size.width,n.$size.height),n._signal('changeCharacterSize',t)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$loop=new b(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),a.resetOptions(this),a._emit('renderer',this)};(function(){var e=Math.round;this.CHANGE_CURSOR=1,this.CHANGE_MARKER=2,this.CHANGE_GUTTER=4,this.CHANGE_SCROLL=8,this.CHANGE_LINES=16,this.CHANGE_TEXT=32,this.CHANGE_SIZE=64,this.CHANGE_MARKER_BACK=128,this.CHANGE_MARKER_FRONT=256,this.CHANGE_FULL=512,this.CHANGE_H_SCROLL=1024,n.implement(this,k),this.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle('ace_nobold',!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin()},this.setSession=function(e){this.session&&this.session.doc.off('changeNewLineMode',this.onChangeNewLineMode),this.session=e,e&&this.scrollMargin.top&&0>=e.getScrollTop()&&e.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(e),this.$markerBack.setSession(e),this.$markerFront.setSession(e),this.$gutterLayer.setSession(e),this.$textLayer.setSession(e);e&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarV.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on('changeNewLineMode',this.onChangeNewLineMode))},this.updateLines=function(e,t,n){if(void 0===t&&(t=Infinity),this.$changedLines?(this.$changedLines.firstRow>e&&(this.$changedLines.firstRow=e),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},this.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar()},this.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},this.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},this.updateFull=function(e){e?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},this.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},this.$changes=0,this.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},this.onResize=function(e,t,n,r){if(!(2t||t>e.height-o)return void(r.top=r.left='0');var a=this.characterWidth;if(this.$composition){var i=this.textarea.value.replace(/^\x01+/,'');a*=this.session.$getStringScreenWidth(i)[0]+2,o+=2}n-=this.scrollLeft,n>this.$size.scrollerWidth-a&&(n=this.$size.scrollerWidth-a),n+=this.gutterWidth,r.height=o+'px',r.width=a+'px',r.left=d(n,this.$size.scrollerWidth-a)+'px',r.top=d(t,this.$size.height-o)+'px'}},this.getFirstVisibleRow=function(){return this.layerConfig.firstRow},this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},this.getLastFullyVisibleRow=function(){var e=this.layerConfig,t=e.lastRow,n=this.session.documentToScreenRow(t,0)*e.lineHeight;return n-this.session.getScrollTop()>e.height-e.lineHeight?t-1:t},this.getLastVisibleRow=function(){return this.layerConfig.lastRow},this.$padding=null,this.setPadding=function(e){this.$padding=e,this.$textLayer.setPadding(e),this.$cursorLayer.setPadding(e),this.$markerFront.setPadding(e),this.$markerBack.setPadding(e),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},this.setScrollMargin=function(e,t,n,r){var o=this.scrollMargin;o.top=0|e,o.bottom=0|t,o.right=0|r,o.left=0|n,o.v=o.top+o.bottom,o.h=o.left+o.right,o.top&&0>=this.scrollTop&&this.session&&this.session.setScrollTop(-o.top),this.updateFull()},this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setHScrollBarAlwaysVisible=function(e){this.setOption('hScrollBarAlwaysVisible',e)},this.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},this.setVScrollBarAlwaysVisible=function(e){this.setOption('vScrollBarAlwaysVisible',e)},this.$updateScrollBarV=function(){var e=this.layerConfig.maxHeight,t=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(e-=(t-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>e-t&&(e=this.scrollTop+t,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(e+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},this.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},this.$frozen=!1,this.freeze=function(){this.$frozen=!0},this.unfreeze=function(){this.$frozen=!1},this.$renderChanges=function(e,t){if(this.$changes&&(e|=this.$changes,this.$changes=0),!this.session||!this.container.offsetWidth||this.$frozen||!e&&!t)return void(this.$changes|=e);if(this.$size.$dirty)return this.$changes|=e,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal('beforeRender');var n=this.layerConfig;if(e&this.CHANGE_FULL||e&this.CHANGE_SIZE||e&this.CHANGE_TEXT||e&this.CHANGE_LINES||e&this.CHANGE_SCROLL||e&this.CHANGE_H_SCROLL){if(e|=this.$computeLayerConfig(),n.firstRow!=this.layerConfig.firstRow&&n.firstRowScreen==this.layerConfig.firstRowScreen){var r=this.scrollTop+(n.firstRow-this.layerConfig.firstRow)*this.lineHeight;0=this.scrollLeft?'ace_scroller':'ace_scroller ace_scroll-left'),e&this.CHANGE_FULL?(this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),void this._signal('afterRender')):e&this.CHANGE_SCROLL?(e&this.CHANGE_TEXT||e&this.CHANGE_LINES?this.$textLayer.update(n):this.$textLayer.scrollLines(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),this.$moveTextAreaToCursor(),void this._signal('afterRender')):void(e&this.CHANGE_TEXT?(this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n)):e&this.CHANGE_LINES?(this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(n):(e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER)&&this.$showGutter&&this.$gutterLayer.update(n),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(n),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(n),this._signal('afterRender'))},this.$autosize=function(){var e=this.session.getScreenLength()*this.lineHeight,t=this.$maxLines*this.lineHeight,n=d(t,c((this.$minLines||1)*this.lineHeight,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(n+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&n>this.$maxPixelHeight&&(n=this.$maxPixelHeight);var r=e>t;if(n!=this.desiredHeight||this.$size.height!=this.desiredHeight||r!=this.$vScroll){r!=this.$vScroll&&(this.$vScroll=r,this.scrollBarV.setVisible(r));var o=this.container.clientWidth;this.container.style.height=n+'px',this.$updateCachedSize(!0,this.$gutterWidth,o,n),this.desiredHeight=n,this._signal('autosize')}},this.$computeLayerConfig=function(){var t=this.session,n=this.$size,o=n.height<=2*this.lineHeight,a=this.session.getScreenLength(),i=a*this.lineHeight,s=this.$getLongestLine(),l=!o&&(this.$hScrollBarAlwaysVisible||0>n.scrollerWidth-s-2*this.$padding),u=this.$horizScroll!==l;u&&(this.$horizScroll=l,this.scrollBarH.setVisible(l));var p=this.$vScroll;this.$maxLines&&1n.scrollerHeight-i+h||this.scrollTop>m.top),y=p!==b;y&&(this.$vScroll=b,this.scrollBarV.setVisible(b));var k=r(f/this.lineHeight)-1,v=c(0,e((this.scrollTop-g)/this.lineHeight)),x=v+k,w=this.lineHeight,C,A;v=t.screenToDocumentRow(v,0);var E=t.getFoldLine(v);E&&(v=E.start.row),C=t.documentToScreenRow(v,0),A=t.getRowLength(v)*w,x=d(t.screenToDocumentRow(x,0),t.getLength()-1),f=n.scrollerHeight+t.getRowLength(x)*w+A,g=this.scrollTop-C*w;var F=0;return this.layerConfig.width!=s&&(F=this.CHANGE_H_SCROLL),(u||y)&&(F=this.$updateCachedSize(!0,this.gutterWidth,n.width,n.height),this._signal('scrollbarVisibilityChanged'),y&&(s=this.$getLongestLine())),this.layerConfig={width:s,padding:this.$padding,firstRow:v,firstRowScreen:C,lastRow:x,lineHeight:w,characterWidth:this.characterWidth,minHeight:f,maxHeight:i,offset:g,gutterOffset:w?c(0,r((g+n.height-n.scrollerHeight)/w)):0,height:this.$size.scrollerHeight},F},this.$updateLines=function(){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var n=this.layerConfig;if(!(e>n.lastRow+1))return ti?(n&&d+s>i+this.lineHeight&&(i-=n*this.$size.scrollerHeight),0===i&&(i=-this.scrollMargin.top),this.session.setScrollTop(i)):d+this.$size.scrollerHeight-la?(at&&this.session.getScrollTop()>=1-this.scrollMargin.top||0e&&this.session.getScrollLeft()>=1-this.scrollMargin.left||0this.$doc.getLength()>>1?this.call('setValue',[this.$doc.getValue()]):this.emit('change',{data:e}))},this.$workerBlob=function(e){var t='importScripts(\''+o.qualifyURL(e)+'\');';try{return new Blob([t],{type:'application/javascript'})}catch(o){var n=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder,r=new n;return r.append(t),r.getBlob('application/javascript')}}}).call(s.prototype);var l=function(e,t,n){this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.callbackId=1,this.callbacks={},this.messageBuffer=[];var r=null,o=!1,s=Object.create(a),l=this;this.$worker={},this.$worker.terminate=function(){},this.$worker.postMessage=function(t){l.messageBuffer.push(t),r&&(o?setTimeout(d):d())},this.setEmitSync=function(e){o=e};var d=function(){var e=l.messageBuffer.shift();e.command?r[e.command].apply(r,e.args):e.event&&s._signal(e.event,e.data)};s.postMessage=function(e){l.onMessage({data:e})},s.callback=function(e,t){this.postMessage({type:'call',id:t,data:e})},s.emit=function(e,t){this.postMessage({type:'event',name:e,data:t})},i.loadModule(['worker',t],function(e){for(r=new e[n](s);l.messageBuffer.length;)d()})};l.prototype=s.prototype,t.UIWorkerClient=l,t.WorkerClient=s}),ace.define('ace/placeholder',['require','exports','module','ace/range','ace/lib/event_emitter','ace/lib/oop'],function(e,t){'use strict';var n=e('./range').Range,r=e('./lib/event_emitter').EventEmitter,o=e('./lib/oop'),a=function(e,t,n,r,o,a){var i=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=o,this.othersClass=a,this.$onUpdate=this.onUpdate.bind(this),this.doc.on('change',this.$onUpdate),this.$others=r,this.$onCursorChange=function(){setTimeout(function(){i.onCursorChange()})},this.$pos=n;var s=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=s.length,this.setup(),e.selection.on('changeCursor',this.$onCursorChange)};(function(){o.implement(this,r),this.setup=function(){var e=this,t=this.doc,r=this.session;this.selectionBefore=r.selection.toJSON(),r.selection.inMultiSelectMode&&r.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var o=this.pos;o.$insertRight=!0,o.detach(),o.markerId=r.addMarker(new n(o.row,o.column,o.row,o.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(n){var r=t.createAnchor(n.row,n.column);r.$insertRight=!0,r.detach(),e.others.push(r)}),r.setUndoSelect(!1)},this.showOtherMarkers=function(){if(!this.othersActive){var e=this.session,t=this;this.othersActive=!0,this.others.forEach(function(r){r.markerId=e.addMarker(new n(r.row,r.column,r.row,r.column+t.length),t.othersClass,null,!1)})}},this.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var e=0;e=this.pos.column&&t.start.column<=this.pos.column+this.length+1,a=t.start.column-this.pos.column;if(this.updateAnchors(e),o&&(this.length+=r),o&&!this.session.$fromUndo)if('insert'===e.action)for(var s=this.others.length-1;0<=s;s--){var i=this.others[s],l={row:i.row,column:i.column+a};this.doc.insertMergedLines(l,e.lines)}else if('remove'===e.action)for(var s=this.others.length-1;0<=s;s--){var i=this.others[s],l={row:i.row,column:i.column+a};this.doc.remove(new n(l.row,l.column,l.row,l.column-r))}this.$updating=!1,this.updateMarkers()}},this.updateAnchors=function(e){this.pos.onChange(e);for(var t=this.others.length;t--;)this.others[t].onChange(e);this.updateMarkers()},this.updateMarkers=function(){if(!this.$updating){var e=this,t=this.session,r=function(r,o){t.removeMarker(r.markerId),r.markerId=t.addMarker(new n(r.row,r.column,r.row,r.column+e.length),o,null,!1)};r(this.pos,this.mainClass);for(var o=this.others.length;o--;)r(this.others[o],this.othersClass)}},this.onCursorChange=function(e){if(!this.$updating&&this.session){var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit('cursorEnter',e)):(this.hideOtherMarkers(),this._emit('cursorLeave',e))}},this.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.removeEventListener('change',this.$onUpdate),this.session.selection.removeEventListener('changeCursor',this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},this.cancel=function(){if(-1!==this.$undoStackDepth){for(var e=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth,n=0;nl&&(l=0),0>u&&(u=0),u==p&&(n=!0);for(var g=u,f;g<=p;g++){if(f=s.fromPoints(this.session.screenToDocumentPosition(g,l),this.session.screenToDocumentPosition(g,d)),f.isEmpty()){if(h&&r(f.end,h))break;var h=f.end}f.cursor=a?f.start:f.end,o.push(f)}if(c&&o.reverse(),!n){for(var m=o.length-1;o[m].isEmpty()&&0=b;y--)o[y].isEmpty()&&o.splice(y,1)}return o}}.call(l.prototype);var m=e('./editor').Editor;(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(e){e.cursor||(e.cursor=e.end);var t=this.getSelectionStyle();return e.marker=this.session.addMarker(e,'ace_selection',t),this.session.$selectionMarkers.push(e),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,e},this.removeSelectionMarker=function(e){if(e.marker){this.session.removeMarker(e.marker);var t=this.session.$selectionMarkers.indexOf(e);-1!=t&&this.session.$selectionMarkers.splice(t,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(e){for(var t=this.session.$selectionMarkers,n=e.length,r;n--;)if(r=e[n],r.marker){this.session.removeMarker(r.marker);var o=t.indexOf(r);-1!=o&&t.splice(o,1)}this.session.selectionMarkerCount=t.length},this.$onAddRange=function(t){this.addSelectionMarker(t.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(t){this.removeSelectionMarkers(t.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle('ace_multiselect'),this.keyBinding.addKeyboardHandler(p.keyboardHandler),this.commands.setDefaultHandler('exec',this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle('ace_multiselect'),this.keyBinding.removeKeyboardHandler(p.keyboardHandler),this.commands.removeDefaultHandler('exec',this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit('changeSelection'))},this.$onMultiSelectExec=function(t){var e=t.command,n=t.editor;if(n.multiSelect){if(!e.multiSelectAction){var r=e.exec(n,t.args||{});n.multiSelect.addRange(n.multiSelect.toOrientedRange()),n.multiSelect.mergeOverlappingRanges()}else'forEach'==e.multiSelectAction?r=n.forEachSelection(e,t.args):'forEachLine'==e.multiSelectAction?r=n.forEachSelection(e,t.args,!0):'single'==e.multiSelectAction?(n.exitMultiSelectMode(),r=e.exec(n,t.args||{})):r=e.multiSelectAction(n,t.args||{});return r}},this.forEachSelection=function(e,t,n){if(!this.inVirtualSelectionMode){var r=n&&n.keepOrder,o=!0==n||n&&n.$byLines,a=this.session,s=this.selection,d=s.rangeList,c=(r?s:d).ranges,u;if(!c.length)return e.exec?e.exec(this,t||{}):e(this,t||{});var p=s._eventRegistry;s._eventRegistry={};var g=new l(a);this.inVirtualSelectionMode=!0;for(var f=c.length;f--;){if(o)for(;0e?s.unshift(s.pop()):s.push(s.shift());for(var o=r.length;o--;){var a=r[o],i=a.clone();t.replace(a,s[o]),a.start.row=i.start.row,a.start.column=i.start.column}},this.selectMore=function(e,t,r){var o=this.session,a=o.multiSelect,i=a.toOrientedRange();if(!(i.isEmpty()&&(i=o.getWordRange(i.start.row,i.start.column),i.cursor=-1==e?i.start:i.end,this.multiSelect.addRange(i),r))){var s=o.getTextRange(i),l=n(o,s,e);l&&(l.cursor=-1==e?l.start:l.end,this.$blockScrolling+=1,this.session.unfold(l),this.multiSelect.addRange(l),this.$blockScrolling-=1,this.renderer.scrollCursorIntoView(null,0.5)),t&&this.multiSelect.substractPoint(i.cursor)}},this.alignCursors=function(){var e=this.session,t=e.multiSelect,n=t.ranges,o=-1,r=n.filter(function(e){return!(e.cursor.row!=o)||void(o=e.cursor.row)});if(!n.length||r.length==n.length-1){var a=this.selection.getRange(),i=a.start.row,l=a.end.row,d=i==l;if(d){var c=this.session.getLength(),p;do p=this.session.getLine(l);while(/[=:]/.test(p)&&++li&&(i=0),l>=c&&(l=c-1)}var g=this.session.removeFullLines(i,l);g=this.$reAlignText(g,d),this.session.insert({row:i,column:0},g.join('\n')+'\n'),d||(a.start.column=0,a.end.column=g[g.length-1].length),this.selection.setRange(a)}else{r.forEach(function(e){t.substractPoint(e.cursor)});var f=0,h=Infinity,m=n.map(function(t){var n=t.cursor,r=e.getLine(n.row),o=r.substr(n.column).search(/\S/g);return-1==o&&(o=0),n.column>f&&(f=n.column),oa?e.insert(r,u.stringRepeat(' ',o-a)):e.remove(new s(r.row,r.column,r.row,r.column-o+a)),t.start.column=t.end.column=f,t.start.row=t.end.row=r.row,t.cursor=t.end}),t.fromOrientedRange(n[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}},this.$reAlignText=function(e,t){function n(e){return u.stringRepeat(' ',e)}function r(e){return e[2]?n(i)+e[2]+n(s-e[2].length+l)+e[4].replace(/^([=:])\s+/,'$1 '):e[0]}var o=!0,a=!0,i,s,l;return e.map(function(e){var t=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return t?null==i?(i=t[1].length,s=t[2].length,l=t[3].length,t):(i+s+l!=t[1].length+t[2].length+t[3].length&&(a=!1),i!=t[1].length&&(o=!1),i>t[1].length&&(i=t[1].length),st[3].length&&(l=t[3].length),t):[e]}).map(t?r:o?a?function(e){return e[2]?n(i+s-e[2].length)+e[2]+n(l,' ')+e[4].replace(/^([=:])\s+/,'$1 '):e[0]}:r:function(e){return e[2]?n(i)+e[2]+n(l)+e[4].replace(/^([=:])\s+/,'$1 '):e[0]})}}).call(m.prototype),t.onSessionChange=function(t){var e=t.session;e&&!e.multiSelect&&(e.$selectionMarkers=[],e.selection.$initRangeList(),e.multiSelect=e.selection),this.multiSelect=e&&e.multiSelect;var n=t.oldSession;n&&(n.multiSelect.off('addRange',this.$onAddRange),n.multiSelect.off('removeRange',this.$onRemoveRange),n.multiSelect.off('multiSelect',this.$onMultiSelect),n.multiSelect.off('singleSelect',this.$onSingleSelect),n.multiSelect.lead.off('change',this.$checkMultiselectChange),n.multiSelect.anchor.off('change',this.$checkMultiselectChange)),e&&(e.multiSelect.on('addRange',this.$onAddRange),e.multiSelect.on('removeRange',this.$onRemoveRange),e.multiSelect.on('multiSelect',this.$onMultiSelect),e.multiSelect.on('singleSelect',this.$onSingleSelect),e.multiSelect.lead.on('change',this.$checkMultiselectChange),e.multiSelect.anchor.on('change',this.$checkMultiselectChange)),e&&this.inMultiSelectMode!=e.selection.inMultiSelectMode&&(e.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},t.MultiSelect=o,e('./config').defineOptions(m.prototype,'editor',{enableMultiselect:{set:function(e){o(this),e?(this.on('changeSession',this.$multiselectOnSessionChange),this.on('mousedown',d)):(this.off('changeSession',this.$multiselectOnSessionChange),this.off('mousedown',d))},value:!0},enableBlockSelect:{set:function(e){this.$blockSelectEnabled=e},value:!0}})}),ace.define('ace/mode/folding/fold_mode',['require','exports','module','ace/range'],function(e,t){'use strict';var n=e('../../range').Range,r=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);return this.foldingStartMarker.test(r)?'start':'markbeginend'==t&&this.foldingStopMarker&&this.foldingStopMarker.test(r)?'end':''},this.getFoldWidgetRange=function(){return null},this.indentationBlock=function(e,t,r){var o=/\S/,a=e.getLine(t),i=a.search(o);if(-1!=i){for(var s=r||a.length,l=e.getLength(),d=t,c=t,u;++td){var p=e.getLine(c).length;return new n(d,s,c,p)}}},this.openingBracketBlock=function(e,t,r,o,a){var i={row:r,column:o+1},s=e.$findClosingBracket(t,i,a);if(s){var l=e.foldWidgets[s.row];return null==l&&(l=e.getFoldWidget(s.row)),'start'==l&&s.row>i.row&&(s.row--,s.column=e.getLine(s.row).length),n.fromPoints(i,s)}},this.closingBracketBlock=function(e,t,r,o){var a={row:r,column:o},i=e.$findOpeningBracket(t,a);if(i)return i.column++,a.column--,n.fromPoints(i,a)}}).call(r.prototype)}),ace.define('ace/theme/textmate',['require','exports','module','ace/lib/dom'],function(e,t){'use strict';t.isDark=!1,t.cssClass='ace-tm',t.cssText='.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var n=e('../lib/dom');n.importCssString(t.cssText,t.cssClass)}),ace.define('ace/line_widgets',['require','exports','module','ace/lib/oop','ace/lib/dom','ace/range'],function(e,t){'use strict';function n(e){this.session=e,this.session.widgetManager=this,this.session.getRowLength=this.getRowLength,this.session.$getWidgetScreenLength=this.$getWidgetScreenLength,this.updateOnChange=this.updateOnChange.bind(this),this.renderWidgets=this.renderWidgets.bind(this),this.measureWidgets=this.measureWidgets.bind(this),this.session._changedWidgets=[],this.$onChangeEditor=this.$onChangeEditor.bind(this),this.session.on('change',this.updateOnChange),this.session.on('changeFold',this.updateOnFold),this.session.on('changeEditor',this.$onChangeEditor)}var o=e('./lib/oop'),a=e('./lib/dom'),i=e('./range').Range;(function(){this.getRowLength=function(e){var t;return t=this.lineWidgets?this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0:0,this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.$getWidgetScreenLength=function(){var e=0;return this.lineWidgets.forEach(function(t){t&&t.rowCount&&!t.hidden&&(e+=t.rowCount)}),e},this.$onChangeEditor=function(t){this.attach(t.editor)},this.attach=function(e){e&&e.widgetManager&&e.widgetManager!=this&&e.widgetManager.detach();this.editor==e||(this.detach(),this.editor=e,e&&(e.widgetManager=this,e.renderer.on('beforeRender',this.measureWidgets),e.renderer.on('afterRender',this.renderWidgets)))},this.detach=function(){var e=this.editor;if(e){this.editor=null,e.widgetManager=null,e.renderer.off('beforeRender',this.measureWidgets),e.renderer.off('afterRender',this.renderWidgets);var t=this.session.lineWidgets;t&&t.forEach(function(e){e&&e.el&&e.el.parentNode&&(e._inDocument=!1,e.el.parentNode.removeChild(e.el))})}},this.updateOnFold=function(t,e){var n=e.lineWidgets;if(n&&t.action){for(var r=t.data,o=r.start.row,a=r.end.row,s='add'==t.action,l=o+1;ll&&(l=0)),i.rowCount!=l&&(i.rowCount=l,i.row>1,i=n(t,e[a]);if(0i)o=a-1;else return a}return-(r+1)}function r(e,t,r){var o=e.getAnnotations().sort(s.comparePoints);if(o.length){var a=n(o,{row:t,column:-1},s.comparePoints);0>a&&(a=-a-1),a>=o.length?a=0r&&(a=o.length-1);var l=o[a];if(l&&r){if(l.row===t){do l=o[a+=r];while(l&&l.row===t);if(!l)return o.slice()}var d=[];t=l.row;do d[0>r?'unshift':'push'](l),l=o[a+=r];while(l&&l.row==t);return d.length&&d}}}var o=e('../line_widgets').LineWidgets,a=e('../lib/dom'),s=e('../range').Range;t.showErrorMarker=function(e,t){var n=e.session;n.widgetManager||(n.widgetManager=new o(n),n.widgetManager.attach(e));var i=e.getCursorPosition(),s=i.row,l=n.widgetManager.getWidgetsAtRow(s).filter(function(e){return'errorMarker'==e.type})[0];l?l.destroy():s-=t;var d=r(n,s,t),c;if(d){var u=d[0];i.column=(u.pos&&'number'!=typeof u.column?u.pos.sc:u.column)||0,i.row=u.row,c=e.renderer.$gutterLayer.$annotations[i.row]}else{if(l)return;c={text:['Looks good!'],className:'ace_ok'}}e.session.unfold(i.row),e.selection.moveToPosition(i);var p={row:i.row,fixedWidth:!0,coverGutter:!0,el:a.createElement('div'),type:'errorMarker'},g=p.el.appendChild(a.createElement('div')),f=p.el.appendChild(a.createElement('div'));f.className='error_widget_arrow '+c.className;var h=e.renderer.$cursorLayer.getPixelPosition(i).left;f.style.left=h+e.renderer.gutterWidth-5+'px',p.el.className='error_widget_wrapper',g.className='error_widget '+c.className,g.innerHTML=c.text.join('
    '),g.appendChild(a.createElement('div'));var m=function(e,t,n){if(0===t&&('esc'===n||'return'===n))return p.destroy(),{command:'null'}};p.destroy=function(){e.$mouseHandler.isMousePressed||(e.keyBinding.removeKeyboardHandler(m),n.widgetManager.removeLineWidget(p),e.off('changeSelection',p.destroy),e.off('changeSession',p.destroy),e.off('mouseup',p.destroy),e.off('change',p.destroy))},e.keyBinding.addKeyboardHandler(m),e.on('changeSelection',p.destroy),e.on('changeSession',p.destroy),e.on('mouseup',p.destroy),e.on('change',p.destroy),e.session.widgetManager.addLineWidget(p),p.el.onmousedown=e.focus.bind(e),e.renderer.scrollCursorIntoView(null,0.5,{bottom:p.el.offsetHeight})},a.importCssString(' .error_widget_wrapper { background: inherit; color: inherit; border:none } .error_widget { border-top: solid 2px; border-bottom: solid 2px; margin: 5px 0; padding: 10px 40px; white-space: pre-wrap; } .error_widget.ace_error, .error_widget_arrow.ace_error{ border-color: #ff5a5a } .error_widget.ace_warning, .error_widget_arrow.ace_warning{ border-color: #F1D817 } .error_widget.ace_info, .error_widget_arrow.ace_info{ border-color: #5a5a5a } .error_widget.ace_ok, .error_widget_arrow.ace_ok{ border-color: #5aaa5a } .error_widget_arrow { position: absolute; border: solid 5px; border-top-color: transparent!important; border-right-color: transparent!important; border-left-color: transparent!important; top: -5px; }','')}),ace.define('ace/ace',['require','exports','module','ace/lib/fixoldbrowsers','ace/lib/dom','ace/lib/event','ace/editor','ace/edit_session','ace/undomanager','ace/virtual_renderer','ace/worker/worker_client','ace/keyboard/hash_handler','ace/placeholder','ace/multi_select','ace/mode/folding/fold_mode','ace/theme/textmate','ace/ext/error_marker','ace/config'],function(e,t){'use strict';e('./lib/fixoldbrowsers');var r=e('./lib/dom'),o=e('./lib/event'),a=e('./editor').Editor,i=e('./edit_session').EditSession,s=e('./undomanager').UndoManager,l=e('./virtual_renderer').VirtualRenderer;e('./worker/worker_client'),e('./keyboard/hash_handler'),e('./placeholder'),e('./multi_select'),e('./mode/folding/fold_mode'),e('./theme/textmate'),e('./ext/error_marker'),t.config=e('./config'),t.acequire=e,t.define=n(11),t.edit=function(e){if('string'==typeof e){var n=e;if(e=document.getElementById(n),!e)throw new Error('ace.edit can\'t find div #'+n)}if(e&&e.env&&e.env.editor instanceof a)return e.env.editor;var i='';if(e&&/input|textarea/i.test(e.tagName)){var s=e;i=s.value,e=r.createElement('pre'),s.parentNode.replaceChild(e,s)}else e&&(i=r.getInnerText(e),e.innerHTML='');var d=t.createEditSession(i),c=new a(new l(e));c.setSession(d);var u={document:d,editor:c,onResize:c.resize.bind(c,null)};return s&&(u.textarea=s),o.addListener(window,'resize',u.onResize),c.on('destroy',function(){o.removeListener(window,'resize',u.onResize),u.editor.container.env=null}),c.container.env=c.env=u,c},t.createEditSession=function(e,t){var n=new i(e,t);return n.setUndoManager(new s),n},t.EditSession=i,t.UndoManager=s,t.version='1.2.6'}),function(){ace.acequire(['ace/ace'],function(e){for(var t in e&&(e.config.init(!0),e.define=ace.define),window.ace||(window.ace=e),e)e.hasOwnProperty(t)&&(window.ace[t]=e[t])})}(),e.exports=window.ace.acequire('ace/ace')},function(e){e.exports=function(){throw new Error('define cannot be used indirect')}},function(e,t,n){(function(e,n){function r(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++nd))return!1;var u=i.get(e);if(u&&i.get(t))return u==t;var p=-1,g=!0,h=n&q?new f:void 0;for(i.set(e,t),i.set(t,e);++pn)return!1;var r=t.length-1;return n==r?t.pop():Ve.call(t,n,1),--this.size,!0},p.prototype.get=function(e){var t=this.__data__,n=b(t,e);return 0>n?void 0:t[n][1]},p.prototype.has=function(e){return-1r?(++this.size,n.push([e,t])):n[r][1]=t,this},g.prototype.clear=function(){this.size=0,this.__data__={hash:new u,map:new(Ye||p),string:new u}},g.prototype['delete']=function(e){var t=L(this,e)['delete'](e);return this.size-=t?1:0,t},g.prototype.get=function(e){return L(this,e).get(e)},g.prototype.has=function(e){return L(this,e).has(e)},g.prototype.set=function(e,t){var n=L(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},f.prototype.add=f.prototype.push=function(e){return this.__data__.set(e,z),this},f.prototype.has=function(e){return this.__data__.has(e)},h.prototype.clear=function(){this.__data__=new p,this.size=0},h.prototype['delete']=function(e){var t=this.__data__,n=t['delete'](e);return this.size=t.size,n},h.prototype.get=function(e){return this.__data__.get(e)},h.prototype.has=function(e){return this.__data__.has(e)},h.prototype.set=function(e,t){var n=this.__data__;if(n instanceof p){var r=n.__data__;if(!Ye||r.length<200-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new g(r)}return n.set(e,t),this.size=n.size,this};var st=ze?function(e){return null==e?[]:(e=Object(e),r(ze(e),function(t){return He.call(e,t)}))}:function(){return[]},lt=k;(Ke&<(new Ke(new ArrayBuffer(1)))!=me||Ye&<(new Ye)!=re||Xe&<(Xe.resolve())!=se||Qe&<(new Qe)!=ce||Je&<(new Je)!=fe)&&(lt=function(e){var t=k(e),n=t==ie?e.constructor:void 0,r=n?O(n):'';if(r)switch(r){case et:return me;case tt:return re;case nt:return se;case rt:return ce;case ot:return fe;}return t});var dt=v(function(){return arguments}())?v:function(e){return V(e)&&Me.call(e,'callee')&&!He.call(e,'callee')},ct=Array.isArray,ut=Ge||function(){return!1},pt=Le?function(e){return function(t){return e(t)}}(Le):function(e){return V(e)&&W(e.length)&&!!ve[k(e)]};n.exports=function(e,t){return x(e,t)}}).call(t,n(4),n(42)(e))},function(e,t){'use strict';Object.defineProperty(t,'__esModule',{value:!0});t.editorOptions=['minLines','maxLines','readOnly','highlightActiveLine','tabSize','enableBasicAutocompletion','enableLiveAutocompletion','enableSnippets'],t.editorEvents=['onChange','onFocus','onBlur','onCopy','onPaste','onSelectionChange','onScroll','handleOptions','updateRef']},function(e,t,n){'use strict';function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return t&&('object'==typeof t||'function'==typeof t)?t:e}function i(e,t){if('function'!=typeof t&&null!==t)throw new TypeError('Super expression must either be null or a function, not '+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0,r;n\n body,\n html {\n height: 100%;\n width: 100%;\n }\n * {\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n }\n .footer {\n position: absolute;\n bottom: 0;\n }\n pre {\n display: inline-block;\n background: black;\n color: white !important;\n }\n code {\n display: inline-block;\n padding: 0;\n margin: 0;\n color: grey;\n }\n \n
    \n

    lcov-server

    \n

    \uD83C\uDFAF A simple lcov server & cli parser

    \n v1.1.1\n
    \n
    \n \n
    npm install -g lcov-server
    \n
    \n
    \n  $ lcov-server  this will startup the lcov-server \n  $ tap test/**/*.js --coverage-report=text-lcov | lcov-server --upload https://localhost:8080
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Lines\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Branches\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Functions\n \n \n \n \n
    \n
    \n ',options:{width:'100%'},footer:{author:'Made with \uD83D\uDC12 by @gabrielcsapo',website:'http://www.gabrielcsapo.com'},path:'/Users/gabrielcsapo/Documents/lcov-server/tryitout.js'}){var m=window&&window.source||{title:'lcov-server',nav:{Source:'https://github.com/gabrielcsapo/lcov-server',Storybook:'./storybook/index.html'},body:'\n \n
    \n

    lcov-server

    \n

    \uD83C\uDFAF A simple lcov server & cli parser

    \n v1.1.1\n
    \n
    \n \n
    npm install -g lcov-server
    \n
    \n
    \n  $ lcov-server  this will startup the lcov-server \n  $ tap test/**/*.js --coverage-report=text-lcov | lcov-server --upload https://localhost:8080
    \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Lines\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Branches\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Functions\n \n \n \n \n
    \n
    \n ',options:{width:'100%'},footer:{author:'Made with \uD83D\uDC12 by @gabrielcsapo',website:'http://www.gabrielcsapo.com'},path:'/Users/gabrielcsapo/Documents/lcov-server/tryitout.js'};(0,p.render)(d.default.createElement(h,m),document.getElementById('root')),!1}else e.exports=h},function(e,t,n){var r=n(16);'string'==typeof r&&(r=[[e.i,r,'']]);var o={hmr:!0},a;o.transform=a;n(7)(r,o);r.locals&&(e.exports=r.locals),!1},function(e,t,n){t=e.exports=n(6)(void 0),t.push([e.i,'/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}hr{display:block;box-sizing:content-box;text-align:center;border:0;height:0;border-top:1px solid #cfcfc4;border-bottom:1px solid rgba(255,255,255,.3)}hr.ellipsis{border-top:0;border-bottom:0}hr.ellipsis:before{font-weight:400;font-style:italic;font-size:28px;letter-spacing:.6em;font-size:13px;content:\'...\';display:inline-block;margin-left:.6em;color:#000;position:relative}pre{display:block;padding:10px;font-size:13px;line-height:1.42857143;word-break:break-all;word-wrap:break-word;white-space:normal;background-color:#f5f5f5;border-radius:5px;border-left:.3rem solid transparent}blockquote{padding:10px 20px;font-size:17.5px;border-left:5px solid #eee}code{border-radius:0;display:block;padding:1rem 1.5rem;white-space:pre;max-width:100%}a{color:#0079ad;text-decoration:none;font-weight:300}small{color:inherit;font-size:75%;font-weight:400}.alert{padding:10px 0 10px 10px;border-radius:5px;border:1px solid #cfcfc4;position:relative}.alert>.alert-close{font-size:25px;line-height:15px;position:absolute;right:10px;top:10px}.alert.alert-white{background-color:#fff;border:1px solid #e6e6e6}.alert.alert-white *{color:#000}.alert.alert-black{background-color:#000;border:1px solid #000}.alert.alert-black *{color:#fff}.alert.alert-default{background-color:#cfcfc4;border:1px solid #bdbdae}.alert.alert-default *{color:#fff}.alert.alert-primary{background-color:#779ecb;border:1px solid #608dc2}.alert.alert-primary *{color:#fff}.alert.alert-success{background-color:#7d7;border:1px solid #5cd65c}.alert.alert-success *{color:#fff}.alert.alert-info{background-color:#9bddff;border:1px solid #72cfff}.alert.alert-info *{color:#fff}.alert.alert-warning{background-color:#ffb347;border:1px solid #ffa626}.alert.alert-warning *{color:#fff}.alert.alert-danger{background-color:#ff6961;border:1px solid #ff483e}.alert.alert-danger *{color:#fff}.badge{display:table-cell;padding:8px 8px 8px 8px;border-radius:100px;border:1px solid #cfcfc4;text-align:center;vertical-align:middle}.badge.badge-white{background-color:#fff;color:#000}.badge.border-white{color:#000}.badge.badge-black{background-color:#000;color:#fff}.badge.border-black{color:#000}.badge.badge-default{background-color:#cfcfc4;color:#fff}.badge.border-default{color:#cfcfc4}.badge.badge-primary{background-color:#779ecb;color:#fff}.badge.border-primary{color:#779ecb}.badge.badge-success{background-color:#7d7;color:#fff}.badge.border-success{color:#7d7}.badge.badge-info{background-color:#9bddff;color:#fff}.badge.border-info{color:#9bddff}.badge.badge-warning{background-color:#ffb347;color:#fff}.badge.border-warning{color:#ffb347}.badge.badge-danger{background-color:#ff6961;color:#fff}.badge.border-danger{color:#ff6961}label{display:inline-block;margin-bottom:.5rem}input,select,textarea{display:block;padding:.375rem 1% .375rem 1%;line-height:1.5}select{background:url("data:image/svg+xml;utf8,");background-color:#fff;border:1px solid #cfcfc4;background-repeat:no-repeat;background-position:right 10px top 5px;background-size:16px 16px;padding:5px 30px 5px 15px;width:auto;text-align:center;border-radius:5px;appearance:none;-webkit-appearance:none;outline:0}select:active,select:focus{outline:0}select.input-white{border-color:#fff}select.input-black{border-color:#a6a6a6}select.input-default{border-color:#eeeeea}select.input-primary{border-color:#cfdded}select.input-success{border-color:#cff3cf}select.input-info{border-color:#dcf3ff}select.input-warning{border-color:#ffe4bf}select.input-danger{border-color:#ffcbc8}input,textarea{width:98%;margin:0;padding:.375rem 1% .375rem 1%;background-color:#fff;background-image:none;border:1px solid #cfcfc4;border-radius:.25rem}input:focus,textarea:focus{border-color:#779ecb;outline:0}input.input-white,textarea.input-white{border-color:#fff}input.input-white:focus,textarea.input-white:focus{border-color:#bfbfbf}input.input-black,textarea.input-black{border-color:#a6a6a6}input.input-black:focus,textarea.input-black:focus{border-color:#000}input.input-default,textarea.input-default{border-color:#eeeeea}input.input-default:focus,textarea.input-default:focus{border-color:#a2a28c}input.input-primary,textarea.input-primary{border-color:#cfdded}input.input-primary:focus,textarea.input-primary:focus{border-color:#4375af}input.input-success,textarea.input-success{border-color:#cff3cf}input.input-success:focus,textarea.input-success:focus{border-color:#3c3}input.input-info,textarea.input-info{border-color:#dcf3ff}input.input-info:focus,textarea.input-info:focus{border-color:#35baff}input.input-warning,textarea.input-warning{border-color:#ffe4bf}input.input-warning:focus,textarea.input-warning:focus{border-color:#f49000}input.input-danger,textarea.input-danger{border-color:#ffcbc8}input.input-danger:focus,textarea.input-danger:focus{border-color:#ff1509}.btn-group{margin:10px;display:inline-block}.btn-group>.btn{margin:-3px;border-radius:0}.btn-group>.btn:first-child{border-radius:5px 0 0 5px}.btn-group>.btn:last-child{border-radius:0 5px 5px 0}.btn{padding:12px 18px;margin:10px;cursor:pointer;display:inline-block;text-align:center;background-color:#fff;border-radius:5px;border:1px solid #cfcfc4;color:#655d5d}.btn:hover{border-color:#d6d6cd}.btn:active{opacity:.5}.btn:focus{outline:0}.btn.btn-block{width:100%}.btn.border-white{color:#fff}.btn.border-white:active,.btn.border-white:hover{border-color:#fff}.btn.border-white:active{border-color:#d9d9d9;opacity:.5}.btn.btn-white{color:#000;border:1px solid #d9d9d9;background-color:#fff}.btn.btn-white:active,.btn.btn-white:hover{border-color:#d9d9d9}.btn.btn-white:hover{background-color:#fff}.btn.btn-white:active{background-color:#d9d9d9;opacity:.5}.btn.border-black{color:#000}.btn.border-black:active,.btn.border-black:hover{border-color:#262626}.btn.border-black:active{border-color:#000;opacity:.5}.btn.btn-black{color:#fff;border:1px solid #000;background-color:#000}.btn.btn-black:active,.btn.btn-black:hover{border-color:#000}.btn.btn-black:hover{background-color:#262626}.btn.btn-black:active{background-color:#000;opacity:.5}.btn.border-default{color:#cfcfc4}.btn.border-default:active,.btn.border-default:hover{border-color:#d6d6cd}.btn.border-default:active{border-color:#b4b4a3;opacity:.5}.btn.btn-default{color:#fff;border:1px solid #b4b4a3;background-color:#cfcfc4}.btn.btn-default:active,.btn.btn-default:hover{border-color:#b4b4a3}.btn.btn-default:hover{background-color:#d6d6cd}.btn.btn-default:active{background-color:#b4b4a3;opacity:.5}.btn.border-primary{color:#779ecb}.btn.border-primary:active,.btn.border-primary:hover{border-color:#8badd3}.btn.border-primary:active{border-color:#5485be;opacity:.5}.btn.btn-primary{color:#fff;border:1px solid #5485be;background-color:#779ecb}.btn.btn-primary:active,.btn.btn-primary:hover{border-color:#5485be}.btn.btn-primary:hover{background-color:#8badd3}.btn.btn-primary:active{background-color:#5485be;opacity:.5}.btn.border-success{color:#7d7}.btn.border-success:active,.btn.border-success:hover{border-color:#8be28b}.btn.border-success:active{border-color:#4ed34e;opacity:.5}.btn.btn-success{color:#fff;border:1px solid #4ed34e;background-color:#7d7}.btn.btn-success:active,.btn.btn-success:hover{border-color:#4ed34e}.btn.btn-success:hover{background-color:#8be28b}.btn.btn-success:active{background-color:#4ed34e;opacity:.5}.btn.border-info{color:#9bddff}.btn.border-info:active,.btn.border-info:hover{border-color:#aae2ff}.btn.border-info:active{border-color:#5dc8ff;opacity:.5}.btn.btn-info{color:#fff;border:1px solid #5dc8ff;background-color:#9bddff}.btn.btn-info:active,.btn.btn-info:hover{border-color:#5dc8ff}.btn.btn-info:hover{background-color:#aae2ff}.btn.btn-info:active{background-color:#5dc8ff;opacity:.5}.btn.border-warning{color:#ffb347}.btn.border-warning:active,.btn.border-warning:hover{border-color:#ffbe63}.btn.border-warning:active{border-color:#ff9f16;opacity:.5}.btn.btn-warning{color:#fff;border:1px solid #ff9f16;background-color:#ffb347}.btn.btn-warning:active,.btn.btn-warning:hover{border-color:#ff9f16}.btn.btn-warning:hover{background-color:#ffbe63}.btn.btn-warning:active{background-color:#ff9f16;opacity:.5}.btn.border-danger{color:#ff6961}.btn.border-danger:active,.btn.border-danger:hover{border-color:#ff7f79}.btn.border-danger:active{border-color:#ff372c;opacity:.5}.btn.btn-danger{color:#fff;border:1px solid #ff372c;background-color:#ff6961}.btn.btn-danger:active,.btn.btn-danger:hover{border-color:#ff372c}.btn.btn-danger:hover{background-color:#ff7f79}.btn.btn-danger:active{background-color:#ff372c;opacity:.5}.grid{width:100%}.grid:after{clear:both;visibility:hidden;display:block;font-size:0;content:\' \';height:0}.grid>*>*{word-wrap:break-word}.grid>div{float:left;box-sizing:border-box;min-height:1px}.grid>.col-0-12{display:none}.grid>.col-1-12{width:8.333333333333332%;margin-left:0;margin-right:0}.grid>.col-2-12{width:16.666666666666664%;margin-left:0;margin-right:0}.grid>.col-3-12{width:25%;margin-left:0;margin-right:0}.grid>.col-4-12{width:33.33333333333333%;margin-left:0;margin-right:0}.grid>.col-5-12{width:41.66666666666667%;margin-left:0;margin-right:0}.grid>.col-6-12{width:50%;margin-left:0;margin-right:0}.grid>.col-7-12{width:58.333333333333336%;margin-left:0;margin-right:0}.grid>.col-8-12{width:66.66666666666666%;margin-left:0;margin-right:0}.grid>.col-9-12{width:75%;margin-left:0;margin-right:0}.grid>.col-10-12{width:83.33333333333334%;margin-left:0;margin-right:0}.grid>.col-11-12{width:91.66666666666666%;margin-left:0;margin-right:0}.grid>.col-12-12{width:100%;margin-left:0;margin-right:0}@media screen and (min-width:16em){.grid>.col-xs-0-12{display:none}.grid>.col-xs-1-12{width:8.3333%;margin-left:0;margin-right:0}.grid>.col-xs-2-12{width:16.6666%;margin-left:0;margin-right:0}.grid>.col-xs-3-12{width:25%;margin-left:0;margin-right:0}.grid>.col-xs-4-12{width:33.3333%;margin-left:0;margin-right:0}.grid>.col-xs-5-12{width:41.6666%;margin-left:0;margin-right:0}.grid>.col-xs-6-12{width:50%;margin-left:0;margin-right:0}.grid>.col-xs-7-12{width:58.3333%;margin-left:0;margin-right:0}.grid>.col-xs-8-12{width:66.6666%;margin-left:0;margin-right:0}.grid>.col-xs-9-12{width:75%;margin-left:0;margin-right:0}.grid>.col-xs-10-12{width:83.3333%;margin-left:0;margin-right:0}.grid>.col-xs-11-12{width:91.6666%;margin-left:0;margin-right:0}.grid>.col-xs-12-12{width:100%;margin-left:0;margin-right:0}}@media screen and (min-width:32em){.grid>.col-sm-0-12{display:none}.grid>.col-sm-1-12{width:8.3333%;margin-left:0;margin-right:0}.grid>.col-sm-2-12{width:16.6666%;margin-left:0;margin-right:0}.grid>.col-sm-3-12{width:25%;margin-left:0;margin-right:0}.grid>.col-sm-4-12{width:33.3333%;margin-left:0;margin-right:0}.grid>.col-sm-5-12{width:41.6666%;margin-left:0;margin-right:0}.grid>.col-sm-6-12{width:50%;margin-left:0;margin-right:0}.grid>.col-sm-7-12{width:58.3333%;margin-left:0;margin-right:0}.grid>.col-sm-8-12{width:66.6666%;margin-left:0;margin-right:0}.grid>.col-sm-9-12{width:75%;margin-left:0;margin-right:0}.grid>.col-sm-10-12{width:83.3333%;margin-left:0;margin-right:0}.grid>.col-sm-11-12{width:91.6666%;margin-left:0;margin-right:0}.grid>.col-sm-12-12{width:100%;margin-left:0;margin-right:0}}@media screen and (min-width:48em){.grid>.col-md-0-12{display:none}.grid>.col-md-1-12{width:8.3333%;margin-left:0;margin-right:0}.grid>.col-md-2-12{width:16.6666%;margin-left:0;margin-right:0}.grid>.col-md-3-12{width:25%;margin-left:0;margin-right:0}.grid>.col-md-4-12{width:33.3333%;margin-left:0;margin-right:0}.grid>.col-md-5-12{width:41.6666%;margin-left:0;margin-right:0}.grid>.col-md-6-12{width:50%;margin-left:0;margin-right:0}.grid>.col-md-7-12{width:58.3333%;margin-left:0;margin-right:0}.grid>.col-md-8-12{width:66.6666%;margin-left:0;margin-right:0}.grid>.col-md-9-12{width:75%;margin-left:0;margin-right:0}.grid>.col-md-10-12{width:83.3333%;margin-left:0;margin-right:0}.grid>.col-md-11-12{width:91.6666%;margin-left:0;margin-right:0}.grid>.col-md-12-12{width:100%;margin-left:0;margin-right:0}}@media screen and (min-width:64em){.grid>.col-lg-0-12{display:none}.grid>.col-lg-1-12{width:8.3333%;margin-left:0;margin-right:0}.grid>.col-lg-2-12{width:16.6666%;margin-left:0;margin-right:0}.grid>.col-lg-3-12{width:25%;margin-left:0;margin-right:0}.grid>.col-lg-4-12{width:33.3333%;margin-left:0;margin-right:0}.grid>.col-lg-5-12{width:41.6666%;margin-left:0;margin-right:0}.grid>.col-lg-6-12{width:50%;margin-left:0;margin-right:0}.grid>.col-lg-7-12{width:58.3333%;margin-left:0;margin-right:0}.grid>.col-lg-8-12{width:66.6666%;margin-left:0;margin-right:0}.grid>.col-lg-9-12{width:75%;margin-left:0;margin-right:0}.grid>.col-lg-10-12{width:83.3333%;margin-left:0;margin-right:0}.grid>.col-lg-11-12{width:91.6666%;margin-left:0;margin-right:0}.grid>.col-lg-12-12{width:100%;margin-left:0;margin-right:0}}@media screen and (min-width:80em){.grid>.col-xl-0-12{display:none}.grid>.col-xl-1-12{width:8.3333%;margin-left:0;margin-right:0}.grid>.col-xl-2-12{width:16.6666%;margin-left:0;margin-right:0}.grid>.col-xl-3-12{width:25%;margin-left:0;margin-right:0}.grid>.col-xl-4-12{width:33.3333%;margin-left:0;margin-right:0}.grid>.col-xl-5-12{width:41.6666%;margin-left:0;margin-right:0}.grid>.col-xl-6-12{width:50%;margin-left:0;margin-right:0}.grid>.col-xl-7-12{width:58.3333%;margin-left:0;margin-right:0}.grid>.col-xl-8-12{width:66.6666%;margin-left:0;margin-right:0}.grid>.col-xl-9-12{width:75%;margin-left:0;margin-right:0}.grid>.col-xl-10-12{width:83.3333%;margin-left:0;margin-right:0}.grid>.col-xl-11-12{width:91.6666%;margin-left:0;margin-right:0}.grid>.col-xl-12-12{width:100%;margin-left:0;margin-right:0}}body{margin:0}.text-white,.text-white>*{color:#fff!important}.background-white{background-color:#fff!important}.border-white{border-color:#fff!important}.text-black,.text-black>*{color:#000!important}.background-black{background-color:#000!important}.border-black{border-color:#000!important}.text-default,.text-default>*{color:#cfcfc4!important}.background-default{background-color:#cfcfc4!important}.border-default{border-color:#cfcfc4!important}.text-primary,.text-primary>*{color:#779ecb!important}.background-primary{background-color:#779ecb!important}.border-primary{border-color:#779ecb!important}.text-success,.text-success>*{color:#7d7!important}.background-success{background-color:#7d7!important}.border-success{border-color:#7d7!important}.text-info,.text-info>*{color:#9bddff!important}.background-info{background-color:#9bddff!important}.border-info{border-color:#9bddff!important}.text-warning,.text-warning>*{color:#ffb347!important}.background-warning{background-color:#ffb347!important}.border-warning{border-color:#ffb347!important}.text-danger,.text-danger>*{color:#ff6961!important}.background-danger{background-color:#ff6961!important}.border-danger{border-color:#ff6961!important}.responsive{width:100%;height:auto}.text-right{text-align:right}.text-left{text-align:left}.text-center{text-align:center}.list{list-style:none;margin:0;padding:0}.list>.list-item{clear:both;min-height:30px;height:auto;line-height:30px;overflow:auto;padding:10px;border:1px solid #cfcfc4;border-bottom:0 solid transparent}.list>.list-item>.badge{float:right;line-height:20px}.list>.list-item.list-item-white{color:#000;border-color:#fff;background-color:#fff}.list>.list-item.list-item-white *{color:#000}.list>.list-item.list-item-black{color:#fff;border-color:#333;background-color:#000}.list>.list-item.list-item-black *{color:#fff}.list>.list-item.list-item-default{color:#fff;border-color:#d9d9d0;background-color:#cfcfc4}.list>.list-item.list-item-default *{color:#fff}.list>.list-item.list-item-primary{color:#fff;border-color:#92b1d5;background-color:#779ecb}.list>.list-item.list-item-primary *{color:#fff}.list>.list-item.list-item-success{color:#fff;border-color:#92e492;background-color:#7d7}.list>.list-item.list-item-success *{color:#fff}.list>.list-item.list-item-info{color:#fff;border-color:#afe4ff;background-color:#9bddff}.list>.list-item.list-item-info *{color:#fff}.list>.list-item.list-item-warning{color:#fff;border-color:#ffc26c;background-color:#ffb347}.list>.list-item.list-item-warning *{color:#fff}.list>.list-item.list-item-danger{color:#fff;border-color:#ff8781;background-color:#ff6961}.list>.list-item.list-item-danger *{color:#fff}.list>.list-item:first-child{border-radius:5px 5px 0 0}.list>.list-item:last-child{border-bottom:1px solid #cfcfc4;border-radius:0 0 5px 5px}.list>.list-item:only-child{border-radius:5px}.list>.list-item>.list-item-right{float:right}.list>.list-item>.list-item-left{float:left}.modal{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(50,50,50,.6);z-index:99999;opacity:0;pointer-events:none}.modal.active,.modal.modal-active,.modal:target{opacity:1;pointer-events:auto}.modal.modal-absolute{position:absolute;z-index:1}.modal.modal-absolute>div{position:absolute}.modal>div{min-width:400px;max-width:90%;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:5px 20px 13px 20px;border-radius:0;background:#fff}.modal.modal-white>div{border-left:10px solid #fff;color:#000}.modal.modal-black>div{border-left:10px solid #000;color:#000}.modal.modal-default>div{border-left:10px solid #cfcfc4;color:#000}.modal.modal-primary>div{border-left:10px solid #779ecb;color:#000}.modal.modal-success>div{border-left:10px solid #7d7;color:#000}.modal.modal-info>div{border-left:10px solid #9bddff;color:#000}.modal.modal-warning>div{border-left:10px solid #ffb347;color:#000}.modal.modal-danger>div{border-left:10px solid #ff6961;color:#000}.modal-close{line-height:25px;position:absolute;right:5px;text-align:center;top:5px;width:24px;text-decoration:none}.navbar *{font-weight:300;display:inline-block;text-decoration:none}.navbar{position:relative;min-height:50px;width:100%;display:table}.navbar>.container{border-width:0 0 1px 0}.navbar.navbar-fixed{position:fixed;z-index:100000}.navbar.navbar-center>.container{border-width:0 1px 1px 1px;margin:0 auto;width:50%;position:relative}.navbar.navbar-center>.container>.navbar-content{margin:0}.navbar.border-white>.container{border-style:solid}.navbar.navbar-white>.container{background-color:#fff}.navbar.navbar-white>.container>.nav a.active,.navbar.navbar-white>.container>.nav a:hover,.navbar.navbar-white>.container>.nav a:target{background-color:#fff}.navbar.border-black>.container{border-style:solid}.navbar.navbar-black>.container{background-color:#000}.navbar.navbar-black>.container>.nav a.active,.navbar.navbar-black>.container>.nav a:hover,.navbar.navbar-black>.container>.nav a:target{background-color:#a6a6a6}.navbar.border-default>.container{border-style:solid}.navbar.navbar-default>.container{background-color:#cfcfc4}.navbar.navbar-default>.container>.nav a.active,.navbar.navbar-default>.container>.nav a:hover,.navbar.navbar-default>.container>.nav a:target{background-color:#eeeeea}.navbar.border-primary>.container{border-style:solid}.navbar.navbar-primary>.container{background-color:#779ecb}.navbar.navbar-primary>.container>.nav a.active,.navbar.navbar-primary>.container>.nav a:hover,.navbar.navbar-primary>.container>.nav a:target{background-color:#cfdded}.navbar.border-success>.container{border-style:solid}.navbar.navbar-success>.container{background-color:#7d7}.navbar.navbar-success>.container>.nav a.active,.navbar.navbar-success>.container>.nav a:hover,.navbar.navbar-success>.container>.nav a:target{background-color:#cff3cf}.navbar.border-info>.container{border-style:solid}.navbar.navbar-info>.container{background-color:#9bddff}.navbar.navbar-info>.container>.nav a.active,.navbar.navbar-info>.container>.nav a:hover,.navbar.navbar-info>.container>.nav a:target{background-color:#dcf3ff}.navbar.border-warning>.container{border-style:solid}.navbar.navbar-warning>.container{background-color:#ffb347}.navbar.navbar-warning>.container>.nav a.active,.navbar.navbar-warning>.container>.nav a:hover,.navbar.navbar-warning>.container>.nav a:target{background-color:#ffe4bf}.navbar.border-danger>.container{border-style:solid}.navbar.navbar-danger>.container{background-color:#ff6961}.navbar.navbar-danger>.container>.nav a.active,.navbar.navbar-danger>.container>.nav a:hover,.navbar.navbar-danger>.container>.nav a:target{background-color:#ffcbc8}.navbar>.container{clear:both;margin:0 auto 0 auto;display:table;width:100%;height:60px}.navbar>.container>.nav{float:right;margin:0 20px 0 0;display:inline-block}.navbar>.container>.nav>select{background-color:transparent}.navbar>.container>.nav>a{padding:20px 10px 22px 10px}.navbar>.container>.nav>a:active,.navbar>.container>.nav>a:hover,.navbar>.container>.nav>a:target{opacity:.6}.navbar .navbar-title{float:left;display:inline-block;margin:20px 0 0 20px}.panel{border:1px solid #cfcfc4;border-radius:5px}.panel.panel-white{border:1px solid #fff}.panel.panel-white .panel-footer,.panel.panel-white>.panel-heading{background-color:#fff;color:#000}.panel.panel-black{border:1px solid #000}.panel.panel-black .panel-footer,.panel.panel-black>.panel-heading{background-color:#000;color:#fff}.panel.panel-default{border:1px solid #cfcfc4}.panel.panel-default .panel-footer,.panel.panel-default>.panel-heading{background-color:#cfcfc4;color:#fff}.panel.panel-primary{border:1px solid #779ecb}.panel.panel-primary .panel-footer,.panel.panel-primary>.panel-heading{background-color:#779ecb;color:#fff}.panel.panel-success{border:1px solid #7d7}.panel.panel-success .panel-footer,.panel.panel-success>.panel-heading{background-color:#7d7;color:#fff}.panel.panel-info{border:1px solid #9bddff}.panel.panel-info .panel-footer,.panel.panel-info>.panel-heading{background-color:#9bddff;color:#fff}.panel.panel-warning{border:1px solid #ffb347}.panel.panel-warning .panel-footer,.panel.panel-warning>.panel-heading{background-color:#ffb347;color:#fff}.panel.panel-danger{border:1px solid #ff6961}.panel.panel-danger .panel-footer,.panel.panel-danger>.panel-heading{background-color:#ff6961;color:#fff}.panel .panel-footer,.panel .panel-heading,.panel>.panel-body{padding:15px}.panel>.panel-heading{top:0}.panel>.panel-footer{bottom:0}.tooltip,[data-tooltip]{position:relative;cursor:pointer}.tooltip:after,.tooltip:before,[data-tooltip]:after,[data-tooltip]:before{position:absolute;visibility:hidden;opacity:0;-webkit-transition:opacity .2s ease-in-out,visibility .2s ease-in-out,-webkit-transform .2s cubic-bezier(.71,1.7,.77,1.24);transition:opacity .2s ease-in-out,visibility .2s ease-in-out,-webkit-transform .2s cubic-bezier(.71,1.7,.77,1.24);transition:opacity .2s ease-in-out,visibility .2s ease-in-out,transform .2s cubic-bezier(.71,1.7,.77,1.24);transition:opacity .2s ease-in-out,visibility .2s ease-in-out,transform .2s cubic-bezier(.71,1.7,.77,1.24),-webkit-transform .2s cubic-bezier(.71,1.7,.77,1.24);-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);pointer-events:none}.tooltip:focus:after,.tooltip:focus:before,.tooltip:hover:after,.tooltip:hover:before,[data-tooltip]:focus:after,[data-tooltip]:focus:before,[data-tooltip]:hover:after,[data-tooltip]:hover:before{visibility:visible;opacity:1}.tooltip:before,[data-tooltip]:before{z-index:1001;border:6px solid transparent;background:0 0;content:""}.tooltip:after,[data-tooltip]:after{z-index:1000;padding:8px;min-width:160px;width:auto;background-color:#000;background-color:rgba(51,51,51,.9);color:#fff;content:attr(data-tooltip);font-size:14px;line-height:1.2}.tooltip-top:after,.tooltip-top:before,.tooltip:after,.tooltip:before,[data-tooltip]:after,[data-tooltip]:before{bottom:100%;left:50%}.tooltip-top:before,.tooltip:before,[data-tooltip]:before{margin-left:-6px;margin-bottom:-12px;border-top-color:#000;border-top-color:rgba(51,51,51,.9)}.tooltip-top:after,.tooltip:after,[data-tooltip]:after{margin-left:-80px}.tooltip-top:focus:after,.tooltip-top:focus:before,.tooltip-top:hover:after,.tooltip-top:hover:before,.tooltip:focus:after,.tooltip:focus:before,.tooltip:hover:after,.tooltip:hover:before,[data-tooltip]:focus:after,[data-tooltip]:focus:before,[data-tooltip]:hover:after,[data-tooltip]:hover:before{-webkit-transform:translateY(-12px);transform:translateY(-12px)}.tooltip-left:after,.tooltip-left:before{right:100%;bottom:50%;left:auto}.tooltip-left:before{margin-left:0;margin-right:-12px;margin-bottom:0;border-top-color:transparent;border-left-color:#000;border-left-color:rgba(51,51,51,.9)}.tooltip-left:focus:after,.tooltip-left:focus:before,.tooltip-left:hover:after,.tooltip-left:hover:before{-webkit-transform:translateX(-12px);transform:translateX(-12px)}.tooltip-bottom:after,.tooltip-bottom:before{top:100%;bottom:auto;left:50%}.tooltip-bottom:before{margin-top:-12px;margin-bottom:0;border-top-color:transparent;border-bottom-color:#000;border-bottom-color:rgba(51,51,51,.9)}.tooltip-bottom:focus:after,.tooltip-bottom:focus:before,.tooltip-bottom:hover:after,.tooltip-bottom:hover:before{-webkit-transform:translateY(12px);transform:translateY(12px)}.tooltip-right:after,.tooltip-right:before{bottom:50%;left:100%}.tooltip-right:before{margin-bottom:0;margin-left:-12px;border-top-color:transparent;border-right-color:#000;border-right-color:rgba(51,51,51,.9)}.tooltip-right:focus:after,.tooltip-right:focus:before,.tooltip-right:hover:after,.tooltip-right:hover:before{-webkit-transform:translateX(12px);transform:translateX(12px)}.tooltip-left:before,.tooltip-right:before{top:3px}.tooltip-left:after,.tooltip-right:after{margin-left:0;margin-bottom:-16px}[class^=tooltip-]{border-bottom:1px dotted #000;text-decoration:none}.progress{width:100%;border:1px solid #cfcfc4;text-align:center}.progress .progress-fill{font-size:16px;height:15px;padding:10px 0 10px 0;background-color:#779ecb}.progress .progress-fill.progress-fill-white{background-color:#fff;color:#000}.progress .progress-fill.progress-fill-white:hover{background-color:#fff}.progress .progress-fill.progress-fill-black{background-color:#000;color:#fff}.progress .progress-fill.progress-fill-black:hover{background-color:#404040}.progress .progress-fill.progress-fill-default{background-color:#cfcfc4;color:#fff}.progress .progress-fill.progress-fill-default:hover{background-color:#dbdbd3}.progress .progress-fill.progress-fill-primary{background-color:#779ecb;color:#fff}.progress .progress-fill.progress-fill-primary:hover{background-color:#99b6d8}.progress .progress-fill.progress-fill-success{background-color:#7d7;color:#fff}.progress .progress-fill.progress-fill-success:hover{background-color:#99e599}.progress .progress-fill.progress-fill-info{background-color:#9bddff;color:#fff}.progress .progress-fill.progress-fill-info:hover{background-color:#b4e6ff}.progress .progress-fill.progress-fill-warning{background-color:#ffb347;color:#fff}.progress .progress-fill.progress-fill-warning:hover{background-color:#ffc675}.progress .progress-fill.progress-fill-danger{background-color:#ff6961;color:#fff}.progress .progress-fill.progress-fill-danger:hover{background-color:#ff8f89}.spinner-overlay{position:relative;top:0;left:0;width:100%;height:100%;z-index:3}.spinner-wrapper{text-align:center;position:relative;top:calc(50% - 50px)}.spinner-wrapper>.spinner{min-height:30px;min-width:30px}.spinner-message{box-sizing:border-box;width:100%;margin-top:30px;text-align:center;font-weight:400;z-index:100;outline:0}.spinner{display:inline-block;min-height:20px;height:auto;min-width:20px;width:auto;background-color:transparent;animation:rotation .7s infinite linear;border-left:3px solid transparent;border-right:3px solid transparent;border-bottom:3px solid transparent;border-top:3px solid #2180c0;border-radius:100%}.spinner.spinner-absolute{position:absolute}.spinner.spinner-white{border-top:3px solid #fff}.spinner.spinner-white.spinner-done{border-color:#fff;border-width:3px 3px 3px 3px}.spinner.spinner-white.done:after{border-width:0 3px 0 3px}.spinner.spinner-black{border-top:3px solid #000}.spinner.spinner-black.spinner-done{border-color:#000;border-width:3px 3px 3px 3px}.spinner.spinner-black.done:after{border-width:0 3px 0 3px}.spinner.spinner-default{border-top:3px solid #cfcfc4}.spinner.spinner-default.spinner-done{border-color:#cfcfc4;border-width:3px 3px 3px 3px}.spinner.spinner-default.done:after{border-width:0 3px 0 3px}.spinner.spinner-primary{border-top:3px solid #779ecb}.spinner.spinner-primary.spinner-done{border-color:#779ecb;border-width:3px 3px 3px 3px}.spinner.spinner-primary.done:after{border-width:0 3px 0 3px}.spinner.spinner-success{border-top:3px solid #7d7}.spinner.spinner-success.spinner-done{border-color:#7d7;border-width:3px 3px 3px 3px}.spinner.spinner-success.done:after{border-width:0 3px 0 3px}.spinner.spinner-info{border-top:3px solid #9bddff}.spinner.spinner-info.spinner-done{border-color:#9bddff;border-width:3px 3px 3px 3px}.spinner.spinner-info.done:after{border-width:0 3px 0 3px}.spinner.spinner-warning{border-top:3px solid #ffb347}.spinner.spinner-warning.spinner-done{border-color:#ffb347;border-width:3px 3px 3px 3px}.spinner.spinner-warning.done:after{border-width:0 3px 0 3px}.spinner.spinner-danger{border-top:3px solid #ff6961}.spinner.spinner-danger.spinner-done{border-color:#ff6961;border-width:3px 3px 3px 3px}.spinner.spinner-danger.done:after{border-width:0 3px 0 3px}@-moz-keyframes rotation{from{transform:rotate(0)}to{transform:rotate(359deg)}}@-webkit-keyframes rotation{from{transform:rotate(0)}to{transform:rotate(359deg)}}@-o-keyframes rotation{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes rotation{from{transform:rotate(0)}to{transform:rotate(359deg)}}.table{text-align:center;word-break:break-all}.table.table-white{border:none}.table.table-white thead>tr>th{color:#fff}.table.table-white td,.table.table-white th{color:#fff;border-bottom:.1rem solid #fff}.table.table-black{border:none}.table.table-black thead>tr>th{color:#000}.table.table-black td,.table.table-black th{color:#0d0d0d;border-bottom:.1rem solid #000}.table.table-default{border:none}.table.table-default thead>tr>th{color:#cfcfc4}.table.table-default td,.table.table-default th{color:#d1d1c7;border-bottom:.1rem solid #cfcfc4}.table.table-primary{border:none}.table.table-primary thead>tr>th{color:#779ecb}.table.table-primary td,.table.table-primary th{color:#7ea3ce;border-bottom:.1rem solid #779ecb}.table.table-success{border:none}.table.table-success thead>tr>th{color:#7d7}.table.table-success td,.table.table-success th{color:#7edf7e;border-bottom:.1rem solid #7d7}.table.table-info{border:none}.table.table-info thead>tr>th{color:#9bddff}.table.table-info td,.table.table-info th{color:#a0dfff;border-bottom:.1rem solid #9bddff}.table.table-warning{border:none}.table.table-warning thead>tr>th{color:#ffb347}.table.table-warning td,.table.table-warning th{color:#ffb750;border-bottom:.1rem solid #ffb347}.table.table-danger{border:none}.table.table-danger thead>tr>th{color:#ff6961}.table.table-danger td,.table.table-danger th{color:#ff7069;border-bottom:.1rem solid #ff6961}.table thead>tr>th{font-weight:700}.table tbody tr:last-child>th{border-bottom:0}.table tfoot td:empty{padding:0}.table td,.table th{border-bottom:.1rem solid #e1e1e1;text-align:left;padding:10px}.table.responsive{border-collapse:collapse;border-spacing:0;display:table}',''])},function(e){e.exports=function(e){var t='undefined'!=typeof window&&window.location;if(!t)throw new Error('fixUrls requires window.location');if(!e||'string'!=typeof e)return e;var n=t.protocol+'//'+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,'/'),o=e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var o=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(o))return e;var a;return a=0===o.indexOf('//')?o:0===o.indexOf('/')?n+o:r+o.replace(/^\.\//,''),'url('+JSON.stringify(a)+')'});return o}},function(e,t,n){var r=n(19);'string'==typeof r&&(r=[[e.i,r,'']]);var o={hmr:!0},a;o.transform=a;n(7)(r,o);r.locals&&(e.exports=r.locals),!1},function(e,t,n){t=e.exports=n(6)(void 0),t.push([e.i,'html, body {\n margin: 0;\n padding: 0;\n font-family: \'Open Sans\', Helvetica, sans-serif;\n width: 100%;\n height: 100%;\n}\n#root {\n height: 100%;\n width: 100%;\n}\n.wrapper {\n min-height: 100%;\n margin-bottom: -50px;\n}\n.footer,\n.push {\n height: 50px;\n}\n\n.footer {\n padding-top: 25px;\n width: 100%;\n}\n',''])},function(e,n,o){'use strict';function i(t){for(var n=arguments.length-1,r='Minified React error #'+t+'; visit http://facebook.github.io/react/docs/error-decoder.html?invariant='+t,o=0;oO.length&&O.push(e)}function _(t,n,r,o){var e=typeof t;if(('undefined'==e||'boolean'==e)&&(t=null),null===t||'string'==e||'number'==e||'object'==e&&t.$$typeof===M)return r(o,t,''===n?'.'+L(t,0):n),1;var s=0;if(n=''===n?'.':n+':',Array.isArray(t))for(var l=0;l=lt(e.last.priorityLevel,t))n=e.last;else for(e=e.first;null!==e&&0>=lt(e.priorityLevel,t);)n=e,e=e.next;return n}function pt(t,n){var r=t.alternate,o=t.updateQueue;null===o&&(o=t.updateQueue=dt()),null===r?t=null:(t=r.updateQueue,null===t&&(t=r.updateQueue=dt())),ie=o,ca=t===o?null:t;var a=ie;r=ca;var e=ut(a,n),i=null===e?a.first:e.next;return null===r?(ct(a,n,e,i),null):(o=ut(r,n),t=null===o?r.first:o.next,ct(a,n,e,i),i===t&&null!==i||e===o&&null!==e)?(null===o&&(r.first=n),null===t&&(r.last=null),null):(n={priorityLevel:n.priorityLevel,partialState:n.partialState,callback:n.callback,isReplace:n.isReplace,isForced:n.isForced,isTopLevelUnmount:n.isTopLevelUnmount,next:null},ct(r,n,o,t),n)}function gt(e,t,n,r){return e=e.partialState,'function'==typeof e?e.call(t,n,r):e}function ft(e,t,n){e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=n}function ht(e){return e.tag===Ho&&null!=e.type.childContextTypes}function mt(t,n){var r=t.stateNode,a=t.type.childContextTypes;if('function'!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext(),r)i in a?void 0:o('108',y(t)||'Unknown',i);return l({},n,r)}function bt(e,t,n){this.tag=e,this.key=t,this.stateNode=this.type=null,this.sibling=this.child=this['return']=null,this.index=0,this.memoizedState=this.updateQueue=this.memoizedProps=this.pendingProps=this.ref=null,this.internalContextTag=n,this.effectTag=da,this.lastEffect=this.firstEffect=this.nextEffect=null,this.pendingWorkPriority=ia,this.alternate=null}function be(e,t,n){var r;return'function'==typeof e?(r=e.prototype&&e.prototype.isReactComponent?new bt(Jo,t,n):new bt(Qo,t,n),r.type=e):'string'==typeof e?(r=new bt(ea,t,n),r.type=e):'object'==typeof e&&null!==e&&'number'==typeof e.tag?r=e:o('130',null==e?e:typeof e,''),r}function yt(e){return null===e||'undefined'==typeof e?null:(e=Ie&&e[Ie]||e['@@iterator'],'function'==typeof e?e:null)}function Le(t,n){var r=n.ref;if(null!==r&&'function'!=typeof r){if(n._owner){n=n._owner;var i;n&&('number'==typeof n.tag?(n.tag===ze?void 0:o('110'),i=n.stateNode):i=n.getPublicInstance()),i?void 0:o('147',r);var s=''+r;return null!==t&&null!==t.ref&&t.ref._stringRef===s?t.ref:(t=function(e){var t=i.refs===Bn?i.refs={}:i.refs;null===e?delete t[s]:t[s]=e},t._stringRef=s,t)}'string'==typeof r?void 0:o('148'),n._owner?void 0:o('149',r)}return r}function Me(e,t){'textarea'!==e.type&&o('31','[object Object]'===Object.prototype.toString.call(t)?'object with keys {'+Object.keys(t).join(', ')+'}':t,'')}function Ne(t,n){function i(e,r){if(n){if(!t){if(null===r.alternate)return;r=r.alternate}var o=e.lastEffect;null===o?e.firstEffect=e.lastEffect=r:(o.nextEffect=r,e.lastEffect=r),r.nextEffect=null,r.effectTag=He}}function s(e,t){if(!n)return null;for(;null!==t;)i(e,t),t=t.sibling;return null}function l(e,t){for(e=new Map;null!==t;)null===t.key?e.set(t.index,t):e.set(t.key,t),t=t.sibling;return e}function u(e,n){return t?(e=qe(e,n),e.index=0,e.sibling=null,e):(e.pendingWorkPriority=n,e.effectTag=Fe,e.index=0,e.sibling=null,e)}function e(e,t,r){return(e.index=r,!n)?t:(r=e.alternate,null!==r)?(r=r.index,rh?(r=t,t=null):r=t.sibling;var p=y(o,t,d[h],u);if(null===p){null===t&&(t=r);break}n&&t&&null===p.alternate&&i(o,t),a=e(p,a,h),null==f?g=p:f.sibling=p,f=p,t=r}if(h===d.length)return s(o,t),g;if(null===t){for(;hb?(k=t,t=null):k=t.sibling;var v=y(d,t,p.value,g);if(null===v){t||(t=k);break}n&&t&&null===v.alternate&&i(d,t),a=e(v,a,b),null==h?f=v:h.sibling=v,h=v,t=k}if(p.done)return s(d,t),f;if(null===t){for(;!p.done;b++,p=u.next())p=c(d,p.value,g),null!==p&&(a=e(p,a,b),null===h?f=p:h.sibling=p,h=p);return f}for(t=l(d,t);!p.done;b++,p=u.next())(p=x(t,d,b,p.value,g),null!==p)&&(n&&null!==p.alternate&&t['delete'](null===p.key?b:p.key),a=e(p,a,b),null===h?f=p:h.sibling=p,h=p);return n&&t.forEach(function(e){return i(d,e)}),f}return function(t,n,r,a){var l='object'==typeof r&&null!==r;if(l)switch(r.$$typeof){case Je:a:{var c=r.key;for(l=n;null!==l;){if(l.key!==c)i(t,l);else if(l.type===r.type){s(t,l.sibling),n=u(l,a),n.ref=Le(l,r),n.pendingProps=r.props,n['return']=t,t=n;break a}else{s(t,l);break}l=l.sibling}a=re(r,t.internalContextTag,a),a.ref=Le(n,r),a['return']=t,t=a}return d(t);case ne:a:{for(l=r.key;null!==n;){if(n.key!==l)i(t,n);else if(n.tag===Ce){s(t,n.sibling),n=u(n,a),n.pendingProps=r,n['return']=t,t=n;break a}else{s(t,n);break}n=n.sibling}r=ue(r,t.internalContextTag,a),r['return']=t,t=r}return d(t);case oe:a:{if(null!==n)if(n.tag===De){s(t,n.sibling),n=u(n,a),n.type=r.value,n['return']=t,t=n;break a}else s(t,n);n=ve(r,t.internalContextTag,a),n.type=r.value,n['return']=t,t=n}return d(t);case pe:a:{for(l=r.key;null!==n;){if(n.key!==l)i(t,n);else if(n.tag===Be&&n.stateNode.containerInfo===r.containerInfo&&n.stateNode.implementation===r.implementation){s(t,n.sibling),n=u(n,a),n.pendingProps=r.children||[],n['return']=t,t=n;break a}else{s(t,n);break}n=n.sibling}r=we(r,t.internalContextTag,a),r['return']=t,t=r}return d(t);}if('string'==typeof r||'number'==typeof r)return r=''+r,null!==n&&n.tag===Ae?(s(t,n.sibling),n=u(n,a),n.pendingProps=r,n['return']=t,t=n):(s(t,n),r=te(r,t.internalContextTag,a),r['return']=t,t=r),d(t);if(xe(r))return v(t,n,r,a);if(yt(r))return w(t,n,r,a);if(l&&Me(t,r),'undefined'==typeof r)switch(t.tag){case ze:case ye:r=t.type,o('152',r.displayName||r.name||'Component');}return s(t,n)}}function Oe(t,n,r,i){function s(e,t){t.updater=l,e.stateNode=t,tr.set(t,e)}var l={isMounted:va,enqueueSetState:function(r,o,a){r=tr.get(r);var e=n(r,!1);Ye(r,o,void 0===a?null:a,e),t(r,e)},enqueueReplaceState:function(r,o,a){r=tr.get(r);var e=n(r,!1);Ze(r,o,void 0===a?null:a,e),t(r,e)},enqueueForceUpdate:function(r,o){r=tr.get(r);var a=n(r,!1);$e(r,void 0===o?null:o,a),t(r,a)}};return{adoptClassInstance:s,constructClassInstance:function(e,t){var n=e.type,r=We(e),o=Xe(e),a=o?Ve(e,r):Bn;return t=new n(t,a),s(e,t),o&&Ue(e,r,a),t},mountClassInstance:function(t,n){var r=t.alternate,a=t.stateNode,i=a.state||null,e=t.pendingProps;e?void 0:o('158');var s=We(t);a.props=e,a.state=i,a.refs=Bn,a.context=Ve(t,s),To.enableAsyncSubtreeAPI&&null!=t.type&&null!=t.type.prototype&&!0===t.type.prototype.unstable_isAsyncReactComponent&&(t.internalContextTag|=Te),'function'==typeof a.componentWillMount&&(s=a.state,a.componentWillMount(),s!==a.state&&l.enqueueReplaceState(a,a.state,null),s=t.updateQueue,null!==s&&(a.state=ya(r,t,s,a,i,e,n))),'function'==typeof a.componentDidMount&&(t.effectTag|=Se)},updateClassInstance:function(t,n,a){var e=n.stateNode;e.props=n.memoizedProps,e.state=n.memoizedState;var s=n.memoizedProps,d=n.pendingProps;d||(d=s,null==d?o('159'):void 0);var c=e.context,u=We(n);if(u=Ve(n,u),'function'!=typeof e.componentWillReceiveProps||s===d&&c===u||(c=e.state,e.componentWillReceiveProps(d,u),e.state!==c&&l.enqueueReplaceState(e,e.state,null)),c=n.memoizedState,a=null===n.updateQueue?c:ya(t,n,n.updateQueue,e,c,d,a),!(s!==d||c!==a||ka()||null!==n.updateQueue&&n.updateQueue.hasForceUpdate))return'function'!=typeof e.componentDidUpdate||s===t.memoizedProps&&c===t.memoizedState||(n.effectTag|=Se),!1;var p=d;if(null===s||null!==n.updateQueue&&n.updateQueue.hasForceUpdate)p=!0;else{var g=n.stateNode,f=n.type;p='function'==typeof g.shouldComponentUpdate?g.shouldComponentUpdate(p,a,u):f.prototype&&f.prototype.isPureReactComponent?!$n(s,p)||!$n(c,a):!0}return p?('function'==typeof e.componentWillUpdate&&e.componentWillUpdate(d,a,u),'function'==typeof e.componentDidUpdate&&(n.effectTag|=Se)):('function'!=typeof e.componentDidUpdate||s===t.memoizedProps&&c===t.memoizedState||(n.effectTag|=Se),r(n,d),i(n,a)),e.props=d,e.state=a,e.context=u,p}}}function kt(n,a,i,s,l){function u(t,n,r){e(t,n,r,n.pendingWorkPriority)}function e(e,t,n,r){t.child=null===e?xa(t,t.child,n,r):e.child===t.child?Aa(t,t.child,n,r):Ea(t,t.child,n,r)}function f(e,t){var n=t.ref;null===n||e&&e.ref===n||(t.effectTag|=ti)}function h(t,n,r,o){if(f(t,n),!r)return o&&Ba(n,!1),p(t,n);r=n.stateNode,ni.current=n;var a=r.render();return n.effectTag|=Xa,u(t,n,a),n.memoizedState=r.state,n.memoizedProps=r.props,o&&Ba(n,!0),n.child}function k(e){var t=e.stateNode;t.pendingContext?Da(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Da(e,t.context,!1),d(e,t.containerInfo)}function p(e,t){return Ca(e,t),t.child}function x(e,t){switch(t.tag){case Ia:k(t);break;case Pa:Ta(t);break;case Va:d(t,t.stateNode.containerInfo);}return null}var w=n.shouldSetTextContent,A=n.useSyncScheduling,E=n.shouldDeprioritizeSubtree,F=a.pushHostContext,d=a.pushHostContainer,C=i.enterHydrationState,S=i.resetHydrationState,r=i.tryToClaimNextHydratableInstance;n=Oe(s,l,function(e,t){e.memoizedProps=t},function(e,t){e.memoizedState=t});var m=n.adoptClassInstance,t=n.constructClassInstance,v=n.mountClassInstance,_=n.updateClassInstance;return{beginWork:function(n,a,i){if(a.pendingWorkPriority===Ka||a.pendingWorkPriority>i)return x(n,a);switch(a.tag){case $a:null===n?void 0:o('155');var s=a.type,l=a.pendingProps,e=_a(a);return e=Sa(a,e),s=s(l,e),a.effectTag|=Xa,'object'==typeof s&&null!==s&&'function'==typeof s.render?(a.tag=Pa,l=Ta(a),m(a,s),v(a,i),a=h(n,a,!0,l)):(a.tag=Ra,u(n,a,s),a.memoizedProps=l,a=a.child),a;case Ra:a:{if(l=a.type,i=a.pendingProps,s=a.memoizedProps,La())null===i&&(i=s);else if(null===i||s===i){a=p(n,a);break a}s=_a(a),s=Sa(a,s),l=l(i,s),a.effectTag|=Xa,u(n,a,l),a.memoizedProps=i,a=a.child}return a;case Pa:return l=Ta(a),s=void 0,null===n?a.stateNode?o('153'):(t(a,a.pendingProps),v(a,i),s=!0):s=_(n,a,i),h(n,a,s,l);case Ia:return k(a),s=a.updateQueue,null===s?(S(),a=p(n,a)):(l=a.memoizedState,s=Fa(n,a,s,null,l,null,i),l===s?(S(),a=p(n,a)):(l=s.element,(null===n||null===n.child)&&C(a)?(a.effectTag|=Qa,a.child=xa(a,a.child,l,i)):(S(),u(n,a,l)),a.memoizedState=s,a=a.child)),a;case Wa:F(a),null===n&&r(a),l=a.type;var c=a.memoizedProps;return s=a.pendingProps,null===s&&(s=c,null===s?o('154'):void 0),e=null===n?null:n.memoizedProps,La()||null!==s&&c!==s?(c=s.children,w(l,s)?c=null:e&&w(l,e)&&(a.effectTag|=Ja),f(n,a),i!==Ya&&!A&&E(l,s)?(a.pendingWorkPriority=Ya,a=null):(u(n,a,c),a.memoizedProps=s,a=a.child)):a=p(n,a),a;case Ha:return null===n&&r(a),n=a.pendingProps,null===n&&(n=a.memoizedProps),a.memoizedProps=n,null;case za:a.tag=Ua;case Ua:return i=a.pendingProps,La()?null===i&&(i=n&&n.memoizedProps,null===i?o('154'):void 0):(null===i||a.memoizedProps===i)&&(i=a.memoizedProps),l=i.children,s=a.pendingWorkPriority,a.stateNode=null===n?xa(a,a.stateNode,l,s):n.child===a.child?Aa(a,a.stateNode,l,s):Ea(a,a.stateNode,l,s),a.memoizedProps=i,a.stateNode;case Ga:return null;case Va:a:{if(d(a,a.stateNode.containerInfo),i=a.pendingWorkPriority,l=a.pendingProps,La())null===l&&(l=n&&n.memoizedProps,null==l?o('154'):void 0);else if(null===l||a.memoizedProps===l){a=p(n,a);break a}null===n?a.child=Ea(a,a.child,l,i):u(n,a,l),a.memoizedProps=l,a=a.child}return a;case qa:a:{if(i=a.pendingProps,La())null===i&&(i=a.memoizedProps);else if(null===i||a.memoizedProps===i){a=p(n,a);break a}u(n,a,i),a.memoizedProps=i,a=a.child}return a;default:o('156');}},beginFailedWork:function(t,n,r){switch(n.tag){case Pa:Ta(n);break;case Ia:k(n);break;default:o('157');}return(n.effectTag|=Za,null===t?n.child=null:n.child!==t.child&&(n.child=t.child),n.pendingWorkPriority===Ka||n.pendingWorkPriority>r)?x(t,n):(n.firstEffect=null,n.lastEffect=null,e(t,n,null,r),n.tag===Pa&&(t=n.stateNode,n.memoizedProps=t.props,n.memoizedState=t.state),n.child)}}}function vt(t,n,r){var i=t.createInstance,s=t.createTextInstance,e=t.appendInitialChild,l=t.finalizeInitialChildren,d=t.prepareUpdate,u=n.getRootHostContainer,g=n.popHostContext,p=n.getHostContext,f=n.popHostContainer,h=r.prepareToHydrateHostInstance,m=r.prepareToHydrateHostTextInstance,y=r.popHydrationState;return{completeWork:function(n,a,b){var c=a.pendingProps;switch(null===c?c=a.memoizedProps:(a.pendingWorkPriority!==Hi||b===Hi)&&(a.pendingProps=null),a.tag){case bi:return null;case yi:return ai(a),null;case vi:return f(a),pi(a),c=a.stateNode,c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(null===n||null===n.child)&&(y(a),a.effectTag&=~Pi),null;case Ci:g(a),b=u();var k=a.type;if(null!==n&&null!=a.stateNode){var v=n.memoizedProps,t=a.stateNode,x=p();c=d(t,k,v,c,b,x),(a.updateQueue=c)&&(a.effectTag|=Wi),n.ref!==a.ref&&(a.effectTag|=Ni)}else{if(!c)return null===a.stateNode?o('166'):void 0,null;if(n=p(),y(a))h(a,b,n)&&(a.effectTag|=Wi);else{n=i(k,c,b,n,a);a:for(v=a.child;null!==v;){if(v.tag===Ci||v.tag===Ai)e(n,v.stateNode);else if(v.tag!==Ei&&null!==v.child){v=v.child;continue}if(v===a)break a;for(;null===v.sibling;){if(null===v['return']||v['return']===a)break a;v=v['return']}v=v.sibling}l(n,k,c,b)&&(a.effectTag|=Wi),a.stateNode=n}null!==a.ref&&(a.effectTag|=Ni)}return null;case Ai:if(n&&null!=a.stateNode)n.memoizedProps!==c&&(a.effectTag|=Wi);else{if('string'!=typeof c)return null===a.stateNode?o('166'):void 0,null;n=u(),b=p(),y(a)?m(a)&&(a.effectTag|=Wi):a.stateNode=s(c,n,b,a)}return null;case Fi:(c=a.memoizedProps)?void 0:o('165'),a.tag=_i,b=[];a:for((k=a.stateNode)&&(k['return']=a);null!==k;){if(k.tag===Ci||k.tag===Ai||k.tag===Ei)o('164');else if(k.tag===Li)b.push(k.type);else if(null!==k.child){k.child['return']=k,k=k.child;continue}for(;null===k.sibling;){if(null===k['return']||k['return']===a)break a;k=k['return']}k.sibling['return']=k['return'],k=k.sibling}return k=c.handler,c=k(c.props,b),a.child=ri(a,null===n?null:n.child,c,a.pendingWorkPriority),a.child;case _i:return a.tag=Fi,null;case Li:return null;case Di:return null;case Ei:return a.effectTag|=Wi,f(a),null;case mi:o('167');default:o('156');}}}}function xt(e){return function(t){try{return e(t)}catch(e){}}}function wt(t,n){function r(e){var t=e.ref;if(null!==t)try{t(null)}catch(r){n(e,r)}}function a(e){return e.tag===Yi||e.tag===qi||e.tag===Ji}function i(e){for(var t=e;;)if(s(t),null!==t.child&&t.tag!==Ji)t.child['return']=t,t=t.child;else{if(t===e)break;for(;null===t.sibling;){if(null===t['return']||t['return']===e)return;t=t['return']}t.sibling['return']=t['return'],t=t.sibling}}function e(e){for(var t=e,n=!1,r=void 0,a=void 0;;){if(!n){n=t['return'];a:for(;;){switch(null===n?o('160'):void 0,n.tag){case Yi:r=n.stateNode,a=!1;break a;case qi:r=n.stateNode.containerInfo,a=!0;break a;case Ji:r=n.stateNode.containerInfo,a=!0;break a;}n=n['return']}n=!0}if(t.tag===Yi||t.tag===Xi)i(t),a?v(r,t.stateNode):k(r,t.stateNode);else if(t.tag===Ji?r=t.stateNode.containerInfo:s(t),null!==t.child){t.child['return']=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t['return']||t['return']===e)return;t=t['return'],t.tag===Ji&&(n=!1)}t.sibling['return']=t['return'],t=t.sibling}}function s(o){switch('function'==typeof ns&&ns(o),o.tag){case Gi:r(o);var t=o.stateNode;if('function'==typeof t.componentWillUnmount)try{t.props=o.memoizedProps,t.state=o.memoizedState,t.componentWillUnmount()}catch(e){n(o,e)}break;case Yi:r(o);break;case es:i(o.stateNode);break;case Ji:e(o);}}var l=t.commitMount,u=t.commitUpdate,d=t.resetTextContent,p=t.commitTextUpdate,g=t.appendChild,h=t.appendChildToContainer,m=t.insertBefore,y=t.insertInContainerBefore,k=t.removeChild,v=t.removeChildFromContainer,f=t.getPublicInstance;return{commitPlacement:function(t){a:{for(var n=t['return'];null!==n;){if(a(n)){var r=n;break a}n=n['return']}o('160'),r=void 0}var i=n=void 0;switch(r.tag){case Yi:n=r.stateNode,i=!1;break;case qi:n=r.stateNode.containerInfo,i=!0;break;case Ji:n=r.stateNode.containerInfo,i=!0;break;default:o('161');}r.effectTag&is&&(d(n),r.effectTag&=~is);a:b:for(r=t;;){for(;null===r.sibling;){if(null===r['return']||a(r['return'])){r=null;break a}r=r['return']}for(r.sibling['return']=r['return'],r=r.sibling;r.tag!==Yi&&r.tag!==Xi;){if(r.effectTag&rs)continue b;if(null===r.child||r.tag===Ji)continue b;else r.child['return']=r,r=r.child}if(!(r.effectTag&rs)){r=r.stateNode;break a}}for(var e=t;;){if(e.tag===Yi||e.tag===Xi)r?i?y(n,e.stateNode,r):m(n,e.stateNode,r):i?h(n,e.stateNode):g(n,e.stateNode);else if(e.tag!==Ji&&null!==e.child){e.child['return']=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e['return']||e['return']===t)return;e=e['return']}e.sibling['return']=e['return'],e=e.sibling}},commitDeletion:function(t){e(t),t['return']=null,t.child=null,t.alternate&&(t.alternate.child=null,t.alternate['return']=null)},commitWork:function(t,n){switch(n.tag){case Gi:break;case Yi:var r=n.stateNode;if(null!=r){var a=n.memoizedProps;t=null===t?a:t.memoizedProps;var i=n.type,e=n.updateQueue;n.updateQueue=null,null!==e&&u(r,e,i,t,a,n)}break;case Xi:null===n.stateNode?o('162'):void 0,r=n.memoizedProps,p(n.stateNode,null===t?r:t.memoizedProps,r);break;case qi:break;case Ji:break;default:o('163');}},commitLifeCycles:function(e,t){switch(t.tag){case Gi:var n=t.stateNode;if(t.effectTag&os)if(null===e)n.props=t.memoizedProps,n.state=t.memoizedState,n.componentDidMount();else{var r=e.memoizedProps;e=e.memoizedState,n.props=t.memoizedProps,n.state=t.memoizedState,n.componentDidUpdate(r,e)}t.effectTag&as&&null!==t.updateQueue&&ts(t,t.updateQueue,n);break;case qi:e=t.updateQueue,null!==e&&ts(t,e,t.child&&t.child.stateNode);break;case Yi:n=t.stateNode,null===e&&t.effectTag&os&&l(n,t.type,t.memoizedProps,t);break;case Xi:break;case Ji:break;default:o('163');}},commitAttachRef:function(e){var t=e.ref;if(null!==t){var n=e.stateNode;switch(e.tag){case Yi:t(f(n));break;default:t(n);}}},commitDetachRef:function(e){e=e.ref,null!==e&&e(null)}}}function Ct(t){function n(e){return e===cs?o('174'):void 0,e}var r=t.getChildHostContext,i=t.getRootHostContext,s=ss(cs),e=ss(cs),l=ss(cs);return{getHostContext:function(){return n(s.current)},getRootHostContainer:function(){return n(l.current)},popHostContainer:function(t){ls(s,t),ls(e,t),ls(l,t)},popHostContext:function(t){e.current===t&&(ls(s,t),ls(e,t))},pushHostContainer:function(t,n){ds(l,n,t),n=i(n),ds(e,t,t),ds(s,n,t)},pushHostContext:function(t){var o=n(l.current),a=n(s.current);o=r(a,t.type,o),a!==o&&(ds(e,t,t),ds(s,o,t))},resetHostContainer:function(){s.current=cs,l.current=cs}}}function At(t){function n(e,t){var n=ms();n.stateNode=t,n['return']=e,n.effectTag=fs,null===e.lastEffect?e.firstEffect=e.lastEffect=n:(e.lastEffect.nextEffect=n,e.lastEffect=n)}function r(t,n){switch(t.tag){case us:return e(n,t.type,t.pendingProps);case ps:return l(n,t.pendingProps);default:return!1;}}function i(e){for(e=e['return'];null!==e&&e.tag!==us&&e.tag!==gs;)e=e['return'];f=e}var s=t.shouldSetTextContent,e=t.canHydrateInstance,l=t.canHydrateTextInstance,u=t.getNextHydratableSibling,c=t.getFirstHydratableChild,d=t.hydrateInstance,p=t.hydrateTextInstance,a=t.didNotHydrateInstance,g=t.didNotFindHydratableInstance;if(t=t.didNotFindHydratableTextInstance,!(e&&l&&u&&c&&d&&p&&a&&g&&t))return{enterHydrationState:function(){return!1},resetHydrationState:function(){},tryToClaimNextHydratableInstance:function(){},prepareToHydrateHostInstance:function(){o('175')},prepareToHydrateHostTextInstance:function(){o('176')},popHydrationState:function(){return!1}};var f=null,h=null,m=!1;return{enterHydrationState:function(e){return h=c(e.stateNode.containerInfo),f=e,m=!0},resetHydrationState:function(){h=f=null,m=!1},tryToClaimNextHydratableInstance:function(e){if(m){var t=h;if(t){if(!r(e,t)){if(t=u(t),!t||!r(e,t))return e.effectTag|=hs,m=!1,void(f=e);n(f,h)}e.stateNode=t,f=e,h=c(t)}else e.effectTag|=hs,m=!1,f=e}},prepareToHydrateHostInstance:function(e,t,n){return t=d(e.stateNode,e.type,e.memoizedProps,t,n,e),e.updateQueue=t,null!==t},prepareToHydrateHostTextInstance:function(e){return p(e.stateNode,e.memoizedProps,e)},popHydrationState:function(e){if(e!==f)return!1;if(!m)return i(e),m=!0,!1;var t=e.type;if(e.tag!==us||'head'!==t&&'body'!==t&&!s(t,e.memoizedProps))for(t=h;t;)n(e,t),t=u(t);return i(e),h=f?u(e.stateNode):null,!0}}}function Et(n){function i(){for(;null!==Q&&Q.current.pendingWorkPriority===Cs;){Q.isScheduled=!1;var e=Q.nextScheduledRoot;if(Q.nextScheduledRoot=null,Q===J)return J=Q=null,I=Cs,null;Q=e}e=Q;for(var t=null,n=Cs;null!==e;)e.current.pendingWorkPriority!==Cs&&(n===Cs||n>e.current.pendingWorkPriority)&&(n=e.current.pendingWorkPriority,t=e),e=e.nextScheduledRoot;null===t?(I=Cs,de=X=null):(I=n,ys(),Hs(),m(),X=vs(t.current,n),t!==de&&(le=0,de=t))}function s(t){ae=!0,u=null;var r=t.stateNode;if(r.current===t?o('177'):void 0,I!==T&&I!==As||le++,ks.current=null,!(t.effectTag>_s))a=t.firstEffect;else if(null!==t.lastEffect){t.lastEffect.nextEffect=t;var a=t.firstEffect}else a=t;for(V(),z=a;null!==z;){var e=!1,s=void 0;try{for(;null!==z;){var l=z.effectTag;if(l&$s&&n.resetTextContent(z.stateNode),l&Ps){var d=z.alternate;null!==d&&N(d)}switch(l&~(Rs|Ms|$s|Ps|_s)){case Ls:_(z),z.effectTag&=~Ls;break;case Ds:_(z),z.effectTag&=~Ls,$(z.alternate,z);break;case Ts:$(z.alternate,z);break;case Bs:ie=!0,L(z),ie=!1;}z=z.nextEffect}}catch(t){e=!0,s=t}e&&(null===z?o('178'):void 0,A(z,s),null!==z&&(z=z.nextEffect))}for(G(),r.current=t,z=a;null!==z;){r=!1,a=void 0;try{for(;null!==z;){var p=z.effectTag;if(p&(Ts|Rs)&&R(z.alternate,z),p&Ps&&M(z),p&Ms)switch(e=z,s=void 0,null!==te&&(s=te.get(e),te['delete'](e),null==s&&null!==e.alternate&&(e=e.alternate,s=te.get(e),te['delete'](e))),null==s?o('184'):void 0,e.tag){case js:e.stateNode.componentDidCatch(s.error,{componentStack:s.componentStack});break;case Os:null===re&&(re=s.error);break;default:o('157');}var g=z.nextEffect;z.nextEffect=null,z=g}}catch(e){r=!0,a=e}r&&(null===z?o('178'):void 0,A(z,a),null!==z&&(z=z.nextEffect))}ae=!1,'function'==typeof ws&&ws(t.stateNode),ne&&(ne.forEach(E),ne=null),i()}function l(t){for(;;){var n=S(t.alternate,t,I),r=t['return'],o=t.sibling,a=t;if(!(a.pendingWorkPriority!==Cs&&a.pendingWorkPriority>I)){for(var e=Ws(a),i=a.child;null!==i;)e=xs(e,i.pendingWorkPriority),i=i.sibling;a.pendingWorkPriority=e}if(null!==n)return n;if(null!==r&&(null===r.firstEffect&&(r.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==r.lastEffect&&(r.lastEffect.nextEffect=t.firstEffect),r.lastEffect=t.lastEffect),t.effectTag>_s&&(null===r.lastEffect?r.firstEffect=t:r.lastEffect.nextEffect=t,r.lastEffect=t)),null!==o)return o;if(null!==r)t=r;else{u=t;break}}return null}function c(e){var t=v(e.alternate,e,I);return null===t&&(t=l(e)),ks.current=null,t}function w(e){var t=F(e.alternate,e,I);return null===t&&(t=l(e)),ks.current=null,t}function f(e){h(Fs,e)}function e(){if(null!==te&&0t)){K=I;a:do{if(I<=As)for(;null!==X&&(X=c(X),!(null===X&&(null===u?o('179'):void 0,K=As,s(u),K=I,e(),I===Cs||I>t||I>As))););else if(null!==n)for(;null!==X&&!Y;)if(!(1t||IAs&&!Z&&(j(f),Z=!0),t=re,oe=Y=O=!1,de=P=te=re=null,le=0,null!==t)throw t}function A(t,n){var r=ks.current=null,o=!1,i=!1,s=null;if(t.tag===Os)r=t,x(t)&&(oe=!0);else for(var l=t['return'];null!==l&&null==r;){if(l.tag===js?'function'==typeof l.stateNode.componentDidCatch&&(o=!0,s=y(l),r=l,i=!0):l.tag===Os&&(r=l),x(l)){if(ie||null!=ne&&(ne.has(l)||null!==l.alternate&&ne.has(l.alternate)))return null;r=null,i=!1}l=l['return']}if(null!==r){null==P&&(P=new Set),P.add(r);var c='';l=t;do{a:switch(l.tag){case ee:case fe:case ge:case he:var u=l._debugOwner,h=l._debugSource,m=y(l),p=null;u&&(p=y(u)),u=h,m='\n in '+(m||'Unknown')+(u?' (at '+u.fileName.replace(/^.*[\\\/]/,'')+':'+u.lineNumber+')':p?' (created by '+p+')':'');break a;default:m='';}c+=m,l=l['return']}while(l);l=c,t=y(t),null==te&&(te=new Map),n={componentName:t,componentStack:l,error:n,errorBoundary:o?r.stateNode:null,errorBoundaryFound:o,errorBoundaryName:s,willRetry:i},te.set(r,n);try{console.error(n.error)}catch(e){console.error(e)}return ae?(null==ne&&(ne=new Set),ne.add(r)):E(r),r}return null===re&&(re=n),null}function x(e){return null!==P&&(P.has(e)||null!==e.alternate&&P.has(e.alternate))}function a(e,t){return d(e,t,!1)}function d(e,t){le>se&&(oe=!0,o('185')),!O&&t<=I&&(X=null);for(var n=!0;null!==e&&n;){if(n=!1,(e.pendingWorkPriority===Cs||e.pendingWorkPriority>t)&&(n=!0,e.pendingWorkPriority=t),null!==e.alternate&&(e.alternate.pendingWorkPriority===Cs||e.alternate.pendingWorkPriority>t)&&(n=!0,e.alternate.pendingWorkPriority=t),null===e['return'])if(e.tag===Os){var r=e.stateNode;t===Cs||r.isScheduled||(r.isScheduled=!0,J?J.nextScheduledRoot=r:Q=r,J=r),O||(t===T?W?h(T,null):h(As,null):t===As?q?void 0:o('186'):Z||(j(f),Z=!0))}else break;e=e['return']}}function p(e,t){var n=K;return n===Cs&&(n=!H||e.internalContextTag&Ss||t?Es:T),n===T&&(O||q)?As:n}function E(e){d(e,As,!0)}var b=Ct(n),k=At(n),C=b.popHostContainer,r=b.popHostContext,m=b.resetHostContainer,t=kt(n,b,k,a,p),v=t.beginWork,F=t.beginFailedWork,S=vt(n,b,k).completeWork;b=wt(n,A);var _=b.commitPlacement,L=b.commitDeletion,$=b.commitWork,R=b.commitLifeCycles,M=b.commitAttachRef,N=b.commitDetachRef,j=n.scheduleDeferredCallback,H=n.useSyncScheduling,V=n.prepareForCommit,G=n.resetAfterCommit,K=Cs,O=!1,Y=!1,q=!1,W=!1,X=null,I=Cs,z=null,u=null,Q=null,J=null,Z=!1,te=null,P=null,ne=null,re=null,oe=!1,ae=!1,ie=!1,se=1E3,le=0,de=null;return{scheduleUpdate:a,getPriorityContext:p,batchedUpdates:function(e,t){var n=q;q=!0;try{return e(t)}finally{q=n,O||q||h(As,null)}},unbatchedUpdates:function(e){var t=W,n=q;W=q,q=!1;try{return e()}finally{q=n,W=t}},flushSync:function(e){var t=q,n=K;q=!0,K=T;try{return e()}finally{q=t,K=n,O?o('187'):void 0,h(As,null)}},deferredUpdates:function(e){var t=K;K=Es;try{return e()}finally{K=t}}}}function Ft(){o('196')}function St(e){return e?(e=tr.get(e),'number'==typeof e.tag?Ft(e):e._processChildContext(e._context)):Bn}function _t(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lt(e,t){var n=_t(e);e=0;for(var r;n;){if(n.nodeType===Xs){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=_t(n)}}function Tt(){return!Qs&&Tn.canUseDOM&&(Qs='textContent'in document.documentElement?'textContent':'innerText'),Qs}function Dt(){o('211')}function Bt(){o('212')}function $t(e){if(null==e)return null;if(e.nodeType===nl)return e;var t=tr.get(e);return t?'number'==typeof t.tag?Dt(t):Bt(t):void('function'==typeof e.render?o('188'):o('213',Object.keys(e)))}function Rt(e){if(void 0!==e._hostParent)return e._hostParent;if('number'==typeof e.tag){do e=e['return'];while(e&&e.tag!==rl);if(e)return e}return null}function Mt(t,n){for(var r=0,o=t;o;o=Rt(o))r++;o=0;for(var a=n;a;a=Rt(a))o++;for(;0this.eventPool.length&&this.eventPool.push(e)}function Vt(e){e.eventPool=[],e.getPooled=Y,e.release=Ht}function Ut(e,t,n,r){return Wt.call(this,e,t,n,r)}function zt(e,t,n,r){return Wt.call(this,e,t,n,r)}function Gt(e,t){return'topKeyUp'===e?-1!==ul.indexOf(t.keyCode):'topKeyDown'===e?229!==t.keyCode:'topKeyPress'==e||'topMouseDown'==e||'topBlur'==e}function qt(e){return e=e.detail,'object'==typeof e&&'data'in e?e.data:null}function Kt(e,t){return'topCompositionEnd'===e?qt(t):'topKeyPress'===e?32===t.which?(hl=!0,ii):null:'topTextInput'===e?(e=t.data,e===ii&&hl?null:e):null}function Yt(e,t){if(li)return'topCompositionEnd'===e||!ci&&Gt(e,t)?(e=ll.getData(),ll.reset(),li=!1,e):null;switch(e){case'topPaste':return null;case'topKeyPress':if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=s.hasBooleanValue+s.hasNumericValue+s.hasOverloadedBooleanValue?void 0:o('50',e),i.hasOwnProperty(e)&&(s.attributeName=i[e]),a.hasOwnProperty(e)&&(s.attributeNamespace=a[e]),t.hasOwnProperty(e)&&(s.mutationMethod=t[e]),Un.properties[e]=s}}},Un={ID_ATTRIBUTE_NAME:'data-reactid',ROOT_ATTRIBUTE_NAME:'data-reactroot',ATTRIBUTE_NAME_START_CHAR:':A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD',ATTRIBUTE_NAME_CHAR:':A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040',properties:{},shouldSetAttribute:function(e,t){if(Un.isReservedProp(e)||('o'===e[0]||'O'===e[0])&&('n'===e[1]||'N'===e[1]))return!1;if(null===t)return!0;switch(typeof t){case'boolean':return Un.shouldAttributeAcceptBooleanValue(e);case'undefined':case'number':case'string':case'object':return!0;default:return!1;}},getPropertyInfo:function(e){return Un.properties.hasOwnProperty(e)?Un.properties[e]:null},shouldAttributeAcceptBooleanValue:function(e){if(Un.isReservedProp(e))return!0;var t=Un.getPropertyInfo(e);return t?t.hasBooleanValue||t.hasStringBooleanValue||t.hasOverloadedBooleanValue:(e=e.toLowerCase().slice(0,5),'data-'===e||'aria-'===e)},isReservedProp:function(e){return Hn.hasOwnProperty(e)},injection:Vn},zn=Un,A={IndeterminateComponent:0,FunctionalComponent:1,ClassComponent:2,HostRoot:3,HostPortal:4,HostComponent:5,HostText:6,CoroutineComponent:7,CoroutineHandlerPhase:8,YieldComponent:9,Fragment:10},E={ELEMENT_NODE:1,TEXT_NODE:3,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_FRAGMENT_NODE:11},F=A.HostComponent,Gn=A.HostText,qn=E.ELEMENT_NODE,Kn=E.COMMENT_NODE,Yn=zn.ID_ATTRIBUTE_NAME,Xn={hasCachedChildNodes:1},Qn=Math.random().toString(36).slice(2),Jn='__reactInternalInstance$'+Qn,Zn='__reactEventHandlers$'+Qn,er={getClosestInstanceFromNode:c,getInstanceFromNode:function(e){var t=e[Jn];return t?t.tag===F||t.tag===Gn?t:t._hostNode===e?t:null:(t=c(e),null!=t&&t._hostNode===e?t:null)},getNodeFromInstance:function(e){if(e.tag===F||e.tag===Gn)return e.stateNode;if(void 0===e._hostNode?o('33'):void 0,e._hostNode)return e._hostNode;for(var t=[];!e._hostNode;)t.push(e),e._hostParent?void 0:o('34'),e=e._hostParent;for(;t.length;e=t.pop())d(e,e._hostNode);return e._hostNode},precacheChildNodes:d,precacheNode:a,uncacheNode:function(e){var t=e._hostNode;t&&(delete t[Jn],e._hostNode=null)},precacheFiberNode:function(e,t){t[Jn]=e},getFiberCurrentPropsFromNode:function(e){return e[Zn]||null},updateFiberProps:function(e,t){e[Zn]=t}},tr={remove:function(e){e._reactInternalFiber=void 0},get:function(e){return e._reactInternalFiber},has:function(e){return void 0!==e._reactInternalFiber},set:function(e,t){e._reactInternalFiber=t}},nr={ReactCurrentOwner:Ln.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner},rr={NoEffect:0,PerformedWork:1,Placement:2,Update:4,PlacementAndUpdate:6,Deletion:8,ContentReset:16,Callback:32,Err:64,Ref:128},J=A.HostComponent,or=A.HostRoot,ar=A.HostPortal,ir=A.HostText,sr=rr.NoEffect,lr=rr.Placement,dr={isFiberMounted:function(e){return 2===k(e)},isMounted:function(e){return!!(e=tr.get(e))&&2===k(e)},findCurrentFiberUsingSlowPath:g,findCurrentHostFiber:function(e){if(e=g(e),!e)return null;for(var t=e;;){if(t.tag===J||t.tag===ir)return t;if(t.child)t.child['return']=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t['return']||t['return']===e)return null;t=t['return']}t.sibling['return']=t['return'],t=t.sibling}}return null},findCurrentHostFiberWithNoPortals:function(e){if(e=g(e),!e)return null;for(var t=e;;){if(t.tag===J||t.tag===ir)return t;if(t.child&&t.tag!==ar)t.child['return']=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t['return']||t['return']===e)return null;t=t['return']}t.sibling['return']=t['return'],t=t.sibling}}return null}},cr={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,injection:{injectErrorUtils:function(e){'function'==typeof e.invokeGuardedCallback?void 0:o('197'),h=e.invokeGuardedCallback}},invokeGuardedCallback:function(){h.apply(cr,arguments)},invokeGuardedCallbackAndCatchFirstError:function(){if(cr.invokeGuardedCallback.apply(this,arguments),cr.hasCaughtError()){var e=cr.clearCaughtError();cr._hasRethrowError||(cr._hasRethrowError=!0,cr._rethrowError=e)}},rethrowCaughtError:function(){return b.apply(cr,arguments)},hasCaughtError:function(){return cr._hasCaughtError},clearCaughtError:function(){if(cr._hasCaughtError){var e=cr._caughtError;return cr._caughtError=null,cr._hasCaughtError=!1,e}o('198')}},K=cr,ur={isEndish:function(e){return'topMouseUp'===e||'topTouchEnd'===e||'topTouchCancel'===e},isMoveish:function(e){return'topMouseMove'===e||'topTouchMove'===e},isStartish:function(e){return'topMouseDown'===e||'topTouchStart'===e},executeDirectDispatch:function(e){var t=e._dispatchListeners,n=e._dispatchInstances;return Array.isArray(t)?o('103'):void 0,e.currentTarget=t?ur.getNodeFromInstance(n):null,t=t?t(e):null,e.currentTarget=null,e._dispatchListeners=null,e._dispatchInstances=null,t},executeDispatchesInOrder:function(t,n){var r=t._dispatchListeners,o=t._dispatchInstances;if(Array.isArray(r))for(var a=0;axr.length&&xr.push(e)}}}},Cr=wr,Ar=null,Er={injection:{injectEventPluginOrder:Wn.injectEventPluginOrder,injectEventPluginsByName:Wn.injectEventPluginsByName},getListener:function(e,t){if('number'==typeof e.tag){var n=e.stateNode;if(!n)return null;var r=pr.getFiberCurrentPropsFromNode(n);if(!r)return null;if(n=r[t],j(t,e.type,r))return null}else{if(r=e._currentElement,'string'==typeof r||'number'==typeof r||!e._rootNodeID)return null;if(e=r.props,n=e[t],j(t,r.type,e))return null}return n&&'function'!=typeof n?o('231',t,typeof n):void 0,n},extractEvents:function(t,n,r,o){for(var a=Wn.plugins,i=0,s,e;ir||o.hasOverloadedBooleanValue&&!1===r?zr.deleteValueForProperty(t,n):o.mustUseProperty?t[o.propertyName]=r:(n=o.attributeName,(a=o.attributeNamespace)?t.setAttributeNS(a,n,''+r):o.hasBooleanValue||o.hasOverloadedBooleanValue&&!0===r?t.setAttribute(n,''):t.setAttribute(n,''+r))}else zr.setValueForAttribute(t,n,zn.shouldSetAttribute(n,r)?r:null)},setValueForAttribute:function(e,t,n){q(t)&&(null==n?e.removeAttribute(t):e.setAttribute(t,''+n))},deleteValueForAttribute:function(e,t){e.removeAttribute(t)},deleteValueForProperty:function(e,t){var n=zn.getPropertyInfo(t);n?(t=n.mutationMethod)?t(e,void 0):n.mustUseProperty?e[n.propertyName]=!n.hasBooleanValue&&'':e.removeAttribute(n.attributeName):e.removeAttribute(t)}},Gr=zr,qr=nr.ReactDebugCurrentFrame,Kr={current:null,phase:null,resetCurrentFiber:function(){qr.getCurrentStack=null,Kr.current=null,Kr.phase=null},setCurrentFiber:function(e,t){qr.getCurrentStack=_e,Kr.current=e,Kr.phase=t},getCurrentFiberOwnerName:function(){return null},getCurrentFiberStackAddendum:_e},Yr={getHostProps:function(e,t){var n=t.value,r=t.checked;return l({type:void 0,step:void 0,min:void 0,max:void 0},t,{defaultChecked:void 0,defaultValue:void 0,value:null==n?e._wrapperState.initialValue:n,checked:null==r?e._wrapperState.initialChecked:r})},initWrapperState:function(e,t){var n=t.defaultValue;e._wrapperState={initialChecked:null==t.checked?t.defaultChecked:t.checked,initialValue:null==t.value?n:t.value,controlled:'checkbox'===t.type||'radio'===t.type?null!=t.checked:null!=t.value}},updateWrapper:function(e,t){var n=t.checked;null!=n&&Gr.setValueForProperty(e,'checked',n||!1),n=t.value,null==n?(null==t.value&&null!=t.defaultValue&&e.defaultValue!==''+t.defaultValue&&(e.defaultValue=''+t.defaultValue),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)):0===n&&''===e.value?e.value='0':'number'===t.type?(t=parseFloat(e.value)||0,n!=t||n==t&&e.value!=n)&&(e.value=''+n):e.value!==''+n&&(e.value=''+n)},postMountWrapper:function(e,t){switch(t.type){case'submit':case'reset':break;case'color':case'date':case'datetime':case'datetime-local':case'month':case'time':case'week':e.value='',e.value=e.defaultValue;break;default:e.value=e.value;}t=e.name,''!==t&&(e.name=''),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!e.defaultChecked,''!==t&&(e.name=t)},restoreControlledState:function(t,n){Yr.updateWrapper(t,n);var r=n.name;if('radio'===n.type&&null!=r){for(n=t;n.parentNode;)n=n.parentNode;for(r=n.querySelectorAll('input[name='+JSON.stringify(''+r)+'][type="radio"]'),n=0;n=t.length?void 0:o('93'),t=t[0]),n=''+t),null==n&&(n=''),r=n),e._wrapperState={initialValue:''+r}},updateWrapper:function(e,t){var n=t.value;null!=n&&(n=''+n,n!==e.value&&(e.value=n),null==t.defaultValue&&(e.defaultValue=n)),null!=t.defaultValue&&(e.defaultValue=t.defaultValue)},postMountWrapper:function(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)},restoreControlledState:function(e,t){Zr.updateWrapper(e,t)}},eo=Zr,to=l({menuitem:!0},{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}),no={_getTrackerFromNode:function(e){return e._valueTracker},track:function(e){e._valueTracker||(e._valueTracker=ot(e))},updateValueIfChanged:function(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r='';return e&&(r=rt(e)?e.checked?'true':'false':e.value),e=r,e!==n&&(t.setValue(e),!0)},stopTracking:function(e){(e=e._valueTracker)&&e.stopTracking()}},ro=On.Namespaces,oo=function(t){return'undefined'!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(n,r,o,a){MSApp.execUnsafeLocalFunction(function(){return t(n,r,o,a)})}:t}(function(e,t){if(e.namespaceURI!==ro.svg||'innerHTML'in e)e.innerHTML=t;else for(so=so||document.createElement('div'),so.innerHTML=''+t+'',t=so.firstChild;t.firstChild;)e.appendChild(t.firstChild)}),ao=/["'&<>]/,io=E.TEXT_NODE,so;Tn.canUseDOM&&('textContent'in document.documentElement||(it=function(t,n){if(t.nodeType===io)t.nodeValue=n;else{if('boolean'==typeof n||'number'==typeof n)n=''+n;else{n=''+n;var r=ao.exec(n);if(r){var o='',a=0,i;for(i=r.index;i\x3C/script>',e=e.removeChild(e.firstChild)):e='string'==typeof t.is?n.createElement(e,{is:t.is}):n.createElement(e):e=n.createElementNS(r,e),e},createTextNode:function(e,t){return(t.nodeType===uo?t:t.ownerDocument).createTextNode(e)},setInitialProperties:function(t,n,r,o){var a=at(n,r);switch(n){case'iframe':case'object':Mr.trapBubbledEvent('topLoad','load',t);var e=r;break;case'video':case'audio':for(e in bo)bo.hasOwnProperty(e)&&Mr.trapBubbledEvent(e,bo[e],t);e=r;break;case'source':Mr.trapBubbledEvent('topError','error',t),e=r;break;case'img':case'image':Mr.trapBubbledEvent('topError','error',t),Mr.trapBubbledEvent('topLoad','load',t),e=r;break;case'form':Mr.trapBubbledEvent('topReset','reset',t),Mr.trapBubbledEvent('topSubmit','submit',t),e=r;break;case'details':Mr.trapBubbledEvent('topToggle','toggle',t),e=r;break;case'input':Xr.initWrapperState(t,r),e=Xr.getHostProps(t,r),Mr.trapBubbledEvent('topInvalid','invalid',t),st(o,'onChange');break;case'option':Qr.validateProps(t,r),e=Qr.getHostProps(t,r);break;case'select':Jr.initWrapperState(t,r),e=Jr.getHostProps(t,r),Mr.trapBubbledEvent('topInvalid','invalid',t),st(o,'onChange');break;case'textarea':eo.initWrapperState(t,r),e=eo.getHostProps(t,r),Mr.trapBubbledEvent('topInvalid','invalid',t),st(o,'onChange');break;default:e=r;}nt(n,e,co);var i=e,s;for(s in i)if(i.hasOwnProperty(s)){var l=i[s];'style'===s?Wr.setValueForStyles(t,l):'dangerouslySetInnerHTML'===s?(l=l?l.__html:void 0,null!=l&&oo(t,l)):'children'===s?'string'==typeof l?lo(t,l):'number'==typeof l&&lo(t,''+l):'suppressContentEditableWarning'!=s&&(fo.hasOwnProperty(s)?null!=l&&st(o,s):a?Gr.setValueForAttribute(t,s,l):null!=l&&Gr.setValueForProperty(t,s,l))}'input'===n?(no.track(t),Xr.postMountWrapper(t,r)):'textarea'===n?(no.track(t),eo.postMountWrapper(t,r)):'option'===n?Qr.postMountWrapper(t,r):'select'===n?Jr.postMountWrapper(t,r):'function'==typeof e.onClick&&(t.onclick=Dn)},diffProperties:function(t,n,r,o,a){var e=null;'input'===n?(r=Xr.getHostProps(t,r),o=Xr.getHostProps(t,o),e=[]):'option'===n?(r=Qr.getHostProps(t,r),o=Qr.getHostProps(t,o),e=[]):'select'===n?(r=Jr.getHostProps(t,r),o=Jr.getHostProps(t,o),e=[]):'textarea'===n?(r=eo.getHostProps(t,r),o=eo.getHostProps(t,o),e=[]):'function'!=typeof r.onClick&&'function'==typeof o.onClick&&(t.onclick=Dn),nt(n,o,co);var i,s;for(i in t=null,r)if(!o.hasOwnProperty(i)&&r.hasOwnProperty(i)&&null!=r[i])if('style'===i)for(s in n=r[i],n)n.hasOwnProperty(s)&&(t||(t={}),t[s]='');else'dangerouslySetInnerHTML'!=i&&'children'!=i&&'suppressContentEditableWarning'!=i&&(fo.hasOwnProperty(i)?e||(e=[]):(e=e||[]).push(i,null));for(i in o){var l=o[i];if(n=null==r?void 0:r[i],o.hasOwnProperty(i)&&l!==n&&(null!=l||null!=n))if('style'!==i)'dangerouslySetInnerHTML'===i?(l=l?l.__html:void 0,n=n?n.__html:void 0,null!=l&&n!==l&&(e=e||[]).push(i,''+l)):'children'===i?n===l||'string'!=typeof l&&'number'!=typeof l||(e=e||[]).push(i,''+l):'suppressContentEditableWarning'!=i&&(fo.hasOwnProperty(i)?(null!=l&&st(a,i),e||n===l||(e=[])):(e=e||[]).push(i,l));else if(n){for(s in n)!n.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(t||(t={}),t[s]='');for(s in l)l.hasOwnProperty(s)&&n[s]!==l[s]&&(t||(t={}),t[s]=l[s])}else t||(e||(e=[]),e.push(i,t)),t=l}return t&&(e=e||[]).push('style',t),e},updateProperties:function(t,n,r,o,a){at(r,o),o=at(r,a);for(var e=0;et&&(t=8),Eo=t=lt(c.priorityLevel,i);){r.first=c.next,null===r.first&&(r.last=null);var u;c.isReplace?(a=gt(c,o,a,e),d=!0):(u=gt(c,o,a,e))&&(a=d?l({},a,u):l(a,u),d=!1),c.isForced&&(s=!0),null===c.callback||c.isTopLevelUnmount&&null!==c.next||(t=null===t?[]:t,t.push(c.callback),n.effectTag|=Q),c=c.next}return r.callbackList=t,r.hasForceUpdate=s,null!==r.first||null!==t||s||(n.updateQueue=null),a},commitCallbacks:function(e,t,n){if(e=t.callbackList,null!==e)for(t.callbackList=null,t=0;tIo||(e.current=No[Io],No[Io]=null,Io--)},push:function(e,t){Io++,No[Io]=e.current,e.current=t},reset:function(){for(;-1e)?e:t}},de=ae.createHostRootFiber,ee=A.IndeterminateComponent,fe=A.FunctionalComponent,ge=A.ClassComponent,he=A.HostComponent,ie,ca,ua,pa;'function'==typeof Symbol&&Symbol['for']?(ua=Symbol['for']('react.coroutine'),pa=Symbol['for']('react.yield')):(ua=60104,pa=60105);var ga={createCoroutine:function(e,t,n){var r=3n&&(o=n,n=a,a=o),o=Lt(t,a),t=Lt(t,n),o&&t){var e=document.createRange();e.setStart(o.node,o.offset),r.removeAllRanges(),a>n?(r.addRange(e),r.extend(t.node,t.offset)):(e.setEnd(t.node,t.offset),r.addRange(e))}}}},Zs=E.ELEMENT_NODE,el={hasSelectionCapabilities:function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&('input'===t&&'text'===e.type||'textarea'===t||'true'===e.contentEditable)},getSelectionInformation:function(){var e=Pn();return{focusedElem:e,selectionRange:el.hasSelectionCapabilities(e)?el.getSelection(e):null}},restoreSelection:function(e){var t=Pn(),n=e.focusedElem;if(e=e.selectionRange,t!==n&&Rn(document.documentElement,n)){for(el.hasSelectionCapabilities(n)&&el.setSelection(n,e),t=[],e=n;e=e.parentNode;)e.nodeType===Zs&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(Mn(n),n=0;n=parseInt(fi.version(),10))}var fl=gl,hi=Tn.canUseDOM&&(!ci||pl&&8=pl),ii=' ',ji={beforeInput:{phasedRegistrationNames:{bubbled:'onBeforeInput',captured:'onBeforeInputCapture'},dependencies:['topCompositionEnd','topKeyPress','topTextInput','topPaste']},compositionEnd:{phasedRegistrationNames:{bubbled:'onCompositionEnd',captured:'onCompositionEndCapture'},dependencies:['topBlur','topCompositionEnd','topKeyDown','topKeyPress','topKeyUp','topMouseDown']},compositionStart:{phasedRegistrationNames:{bubbled:'onCompositionStart',captured:'onCompositionStartCapture'},dependencies:['topBlur','topCompositionStart','topKeyDown','topKeyPress','topKeyUp','topMouseDown']},compositionUpdate:{phasedRegistrationNames:{bubbled:'onCompositionUpdate',captured:'onCompositionUpdateCapture'},dependencies:['topBlur','topCompositionUpdate','topKeyDown','topKeyPress','topKeyUp','topMouseDown']}},hl=!1,li=!1,oi={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},si={change:{phasedRegistrationNames:{bubbled:'onChange',captured:'onChangeCapture'},dependencies:['topBlur','topChange','topClick','topFocus','topInput','topKeyDown','topKeyUp','topSelectionChange']}},ml=null,wi=null,xi=!1;Tn.canUseDOM&&(xi=W('input')&&(!document.documentMode||9=document.documentMode,Ri={select:{phasedRegistrationNames:{bubbled:'onSelect',captured:'onSelectCapture'},dependencies:['topBlur','topContextMenu','topFocus','topKeyDown','topKeyUp','topMouseDown','topMouseUp','topSelectionChange']}},vl=null,Ti=null,Zi=null,$i=!1,xl=Mr.isListeningToAllDependencies;Wt.augmentClass(gn,{animationName:null,elapsedTime:null,pseudoElement:null}),Wt.augmentClass(fn,{clipboardData:function(e){return'clipboardData'in e?e.clipboardData:window.clipboardData}}),ln.augmentClass(hn,{relatedTarget:null});var wl={Esc:'Escape',Spacebar:' ',Left:'ArrowLeft',Up:'ArrowUp',Right:'ArrowRight',Down:'ArrowDown',Del:'Delete',Win:'OS',Menu:'ContextMenu',Apps:'ContextMenu',Scroll:'ScrollLock',MozPrintableKey:'Unidentified'},Cl={8:'Backspace',9:'Tab',12:'Clear',13:'Enter',16:'Shift',17:'Control',18:'Alt',19:'Pause',20:'CapsLock',27:'Escape',32:' ',33:'PageUp',34:'PageDown',35:'End',36:'Home',37:'ArrowLeft',38:'ArrowUp',39:'ArrowRight',40:'ArrowDown',45:'Insert',46:'Delete',112:'F1',113:'F2',114:'F3',115:'F4',116:'F5',117:'F6',118:'F7',119:'F8',120:'F9',121:'F10',122:'F11',123:'F12',144:'NumLock',145:'ScrollLock',224:'Meta'};ln.augmentClass(bn,{key:function(e){if(e.key){var t=wl[e.key]||e.key;if('Unidentified'!==t)return t}return'keypress'===e.type?(e=mn(e),13===e?'Enter':_n(e)):'keydown'===e.type||'keyup'===e.type?Cl[e.keyCode]||'Unidentified':''},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:cn,charCode:function(e){return'keypress'===e.type?mn(e):0},keyCode:function(e){return'keydown'===e.type||'keyup'===e.type?e.keyCode:0},which:function(e){return'keypress'===e.type?mn(e):'keydown'===e.type||'keyup'===e.type?e.keyCode:0}}),un.augmentClass(yn,{dataTransfer:null}),ln.augmentClass(kn,{touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:cn}),Wt.augmentClass(vn,{propertyName:null,elapsedTime:null,pseudoElement:null}),un.augmentClass(xn,{deltaX:function(e){return'deltaX'in e?e.deltaX:'wheelDeltaX'in e?-e.wheelDeltaX:0},deltaY:function(e){return'deltaY'in e?e.deltaY:'wheelDeltaY'in e?-e.wheelDeltaY:'wheelDelta'in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null});var Al={},El={};['abort','animationEnd','animationIteration','animationStart','blur','cancel','canPlay','canPlayThrough','click','close','contextMenu','copy','cut','doubleClick','drag','dragEnd','dragEnter','dragExit','dragLeave','dragOver','dragStart','drop','durationChange','emptied','encrypted','ended','error','focus','input','invalid','keyDown','keyPress','keyUp','load','loadedData','loadedMetadata','loadStart','mouseDown','mouseMove','mouseOut','mouseOver','mouseUp','paste','pause','play','playing','progress','rateChange','reset','scroll','seeked','seeking','stalled','submit','suspend','timeUpdate','toggle','touchCancel','touchEnd','touchMove','touchStart','transitionEnd','volumeChange','waiting','wheel'].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n='on'+t;t='top'+t,n={phasedRegistrationNames:{bubbled:n,captured:n+'Capture'},dependencies:[t]},Al[e]=n,El[t]=n});Cr.setHandleTopLevel(Mr.handleTopLevel),Er.injection.injectEventPluginOrder(['ResponderEventPlugin','SimpleEventPlugin','TapEventPlugin','EnterLeaveEventPlugin','ChangeEventPlugin','SelectEventPlugin','BeforeInputEventPlugin']),pr.injection.injectComponentTree(er),Er.injection.injectEventPluginsByName({SimpleEventPlugin:{eventTypes:Al,extractEvents:function(t,n,r,a){var i=El[t];if(!i)return null;switch(t){case'topAbort':case'topCancel':case'topCanPlay':case'topCanPlayThrough':case'topClose':case'topDurationChange':case'topEmptied':case'topEncrypted':case'topEnded':case'topError':case'topInput':case'topInvalid':case'topLoad':case'topLoadedData':case'topLoadedMetadata':case'topLoadStart':case'topPause':case'topPlay':case'topPlaying':case'topProgress':case'topRateChange':case'topReset':case'topSeeked':case'topSeeking':case'topStalled':case'topSubmit':case'topSuspend':case'topTimeUpdate':case'topToggle':case'topVolumeChange':case'topWaiting':var s=Wt;break;case'topKeyPress':if(0===mn(r))return null;case'topKeyDown':case'topKeyUp':s=bn;break;case'topBlur':case'topFocus':s=hn;break;case'topClick':if(2===r.button)return null;case'topDoubleClick':case'topMouseDown':case'topMouseMove':case'topMouseUp':case'topMouseOut':case'topMouseOver':case'topContextMenu':s=un;break;case'topDrag':case'topDragEnd':case'topDragEnter':case'topDragExit':case'topDragLeave':case'topDragOver':case'topDragStart':case'topDrop':s=yn;break;case'topTouchCancel':case'topTouchEnd':case'topTouchMove':case'topTouchStart':s=kn;break;case'topAnimationEnd':case'topAnimationIteration':case'topAnimationStart':s=gn;break;case'topTransitionEnd':s=vn;break;case'topScroll':s=ln;break;case'topWheel':s=xn;break;case'topCopy':case'topCut':case'topPaste':s=fn;}return s?void 0:o('86',t),t=s.getPooled(i,n,r,a),il.accumulateTwoPhaseDispatches(t),t}},EnterLeaveEventPlugin:{eventTypes:Ki,extractEvents:function(t,n,r,o){if('topMouseOver'===t&&(r.relatedTarget||r.fromElement)||'topMouseOut'!==t&&'topMouseOver'!==t)return null;var a=o.window===o?o:(a=o.ownerDocument)?a.defaultView||a.parentWindow:window;if('topMouseOut'===t?(t=n,n=(n=r.relatedTarget||r.toElement)?er.getClosestInstanceFromNode(n):null):t=null,t===n)return null;var e=null==t?a:er.getNodeFromInstance(t);a=null==n?a:er.getNodeFromInstance(n);var i=un.getPooled(Ki.mouseLeave,t,r,o);return i.type='mouseleave',i.target=e,i.relatedTarget=a,r=un.getPooled(Ki.mouseEnter,n,r,o),r.type='mouseenter',r.target=a,r.relatedTarget=e,il.accumulateEnterLeaveDispatches(i,r,t,n),[i,r]}},ChangeEventPlugin:bl,SelectEventPlugin:{eventTypes:Ri,extractEvents:function(t,n,r,o){var a=o.window===o?o.document:o.nodeType===kl?o:o.ownerDocument;if(!a||!xl('onSelect',a))return null;switch(a=n?er.getNodeFromInstance(n):window,t){case'topFocus':(Xt(a)||'true'===a.contentEditable)&&(vl=a,Ti=n,Zi=null);break;case'topBlur':Zi=Ti=vl=null;break;case'topMouseDown':$i=!0;break;case'topContextMenu':case'topMouseUp':return $i=!1,pn(r,o);case'topSelectionChange':if(Qi)break;case'topKeyDown':case'topKeyUp':return pn(r,o);}return null}},BeforeInputEventPlugin:{eventTypes:ji,extractEvents:function(t,n,r,o){var a;if(ci)b:{switch(t){case'topCompositionStart':var e=ji.compositionStart;break b;case'topCompositionEnd':e=ji.compositionEnd;break b;case'topCompositionUpdate':e=ji.compositionUpdate;break b;}e=void 0}else li?Gt(t,r)&&(e=ji.compositionEnd):'topKeyDown'===t&&229===r.keyCode&&(e=ji.compositionStart);return e?(hi&&(li||e!==ji.compositionStart?e===ji.compositionEnd&&li&&(a=ll.getData()):li=ll.initialize(o)),e=Ut.getPooled(e,n,r,o),a?e.data=a:(a=qt(r),null!==a&&(e.data=a)),il.accumulateTwoPhaseDispatches(e),a=e):a=null,(t=fl?Kt(t,r):Yt(t,r))?(n=zt.getPooled(ji.beforeInput,n,r,o),n.data=t,il.accumulateTwoPhaseDispatches(n)):n=null,[a,n]}}});var Fl=zn.injection.MUST_USE_PROPERTY,Sl=zn.injection.HAS_BOOLEAN_VALUE,_l=zn.injection.HAS_NUMERIC_VALUE,Ll=zn.injection.HAS_POSITIVE_NUMERIC_VALUE,Tl=zn.injection.HAS_STRING_BOOLEAN_VALUE,Dl={Properties:{allowFullScreen:Sl,allowTransparency:Tl,async:Sl,autoPlay:Sl,capture:Sl,checked:Fl|Sl,cols:Ll,contentEditable:Tl,controls:Sl,default:Sl,defer:Sl,disabled:Sl,download:zn.injection.HAS_OVERLOADED_BOOLEAN_VALUE,draggable:Tl,formNoValidate:Sl,hidden:Sl,loop:Sl,multiple:Fl|Sl,muted:Fl|Sl,noValidate:Sl,open:Sl,playsInline:Sl,readOnly:Sl,required:Sl,reversed:Sl,rows:Ll,rowSpan:_l,scoped:Sl,seamless:Sl,selected:Fl|Sl,size:Ll,start:_l,span:Ll,spellCheck:Tl,style:0,itemScope:Sl,acceptCharset:0,className:0,htmlFor:0,httpEquiv:0,value:Tl},DOMAttributeNames:{acceptCharset:'accept-charset',className:'class',htmlFor:'for',httpEquiv:'http-equiv'},DOMMutationMethods:{value:function(e,t){return null==t?e.removeAttribute('value'):void('number'!==e.type||!1===e.hasAttribute('value')?e.setAttribute('value',''+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute('value',''+t))}}},Bl=zn.injection.HAS_STRING_BOOLEAN_VALUE,$l={xlink:'http://www.w3.org/1999/xlink',xml:'http://www.w3.org/XML/1998/namespace'},Rl={Properties:{autoReverse:Bl,externalResourcesRequired:Bl,preserveAlpha:Bl},DOMAttributeNames:{autoReverse:'autoReverse',externalResourcesRequired:'externalResourcesRequired',preserveAlpha:'preserveAlpha'},DOMAttributeNamespaces:{xlinkActuate:$l.xlink,xlinkArcrole:$l.xlink,xlinkHref:$l.xlink,xlinkRole:$l.xlink,xlinkShow:$l.xlink,xlinkTitle:$l.xlink,xlinkType:$l.xlink,xmlBase:$l.xml,xmlLang:$l.xml,xmlSpace:$l.xml}},Ml=/[\-\:]([a-z])/g;['accent-height','alignment-baseline','arabic-form','baseline-shift','cap-height','clip-path','clip-rule','color-interpolation','color-interpolation-filters','color-profile','color-rendering','dominant-baseline','enable-background','fill-opacity','fill-rule','flood-color','flood-opacity','font-family','font-size','font-size-adjust','font-stretch','font-style','font-variant','font-weight','glyph-name','glyph-orientation-horizontal','glyph-orientation-vertical','horiz-adv-x','horiz-origin-x','image-rendering','letter-spacing','lighting-color','marker-end','marker-mid','marker-start','overline-position','overline-thickness','paint-order','panose-1','pointer-events','rendering-intent','shape-rendering','stop-color','stop-opacity','strikethrough-position','strikethrough-thickness','stroke-dasharray','stroke-dashoffset','stroke-linecap','stroke-linejoin','stroke-miterlimit','stroke-opacity','stroke-width','text-anchor','text-decoration','text-rendering','underline-position','underline-thickness','unicode-bidi','unicode-range','units-per-em','v-alphabetic','v-hanging','v-ideographic','v-mathematical','vector-effect','vert-adv-y','vert-origin-x','vert-origin-y','word-spacing','writing-mode','x-height','xlink:actuate','xlink:arcrole','xlink:href','xlink:role','xlink:show','xlink:title','xlink:type','xml:base','xmlns:xlink','xml:lang','xml:space'].forEach(function(e){var t=e.replace(Ml,wn);Rl.Properties[t]=0,Rl.DOMAttributeNames[t]=e}),zn.injection.injectDOMPropertyConfig(Dl),zn.injection.injectDOMPropertyConfig(Rl);var Pl=zi.injectInternals,Ol=E.ELEMENT_NODE,Nl=E.TEXT_NODE,Il=E.COMMENT_NODE,jl=E.DOCUMENT_NODE,Wl=E.DOCUMENT_FRAGMENT_NODE,Hl=zn.ROOT_ATTRIBUTE_NAME,Vl=On.getChildNamespace,Ul=yo.createElement,zl=yo.createTextNode,Gl=yo.setInitialProperties,ql=yo.diffProperties,Kl=yo.updateProperties,Yl=yo.diffHydratedProperties,Xl=yo.diffHydratedText,Ql=yo.warnForDeletedHydratableElement,Jl=yo.warnForDeletedHydratableText,Zl=yo.warnForInsertedHydratedElement,ed=yo.warnForInsertedHydratedText,td=er.precacheFiberNode,nd=er.updateFiberProps;mr.injection.injectFiberControlledHostComponent(yo),$t._injectFiber(function(e){return ad.findHostInstance(e)});var rd=null,od=null,ad=function(e){var t=e.getPublicInstance;e=Et(e);var n=e.scheduleUpdate,r=e.getPriorityContext;return{createContainer:function(e){var t=de();return e={current:t,containerInfo:e,isScheduled:!1,nextScheduledRoot:null,context:null,pendingContext:null},t.stateNode=e},updateContainer:function(t,o,i,s){var l=o.current;i=St(i),null===o.context?o.context=i:o.pendingContext=i,o=s,s=r(l,To.enableAsyncSubtreeAPI&&null!=t&&null!=t.type&&null!=t.type.prototype&&!0===t.type.prototype.unstable_isAsyncReactComponent),t={element:t},Vs(l,t,void 0===o?null:o,s),n(l,s)},batchedUpdates:e.batchedUpdates,unbatchedUpdates:e.unbatchedUpdates,deferredUpdates:e.deferredUpdates,flushSync:e.flushSync,getPublicRootInstance:function(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case qs:return t(e.child.stateNode);default:return e.child.stateNode;}},findHostInstance:function(e){return e=Ks(e),null===e?null:e.stateNode},findHostInstanceWithNoPortals:function(e){return e=Ys(e),null===e?null:e.stateNode}}}({getRootHostContext:function(e){if(e.nodeType===jl)e=(e=e.documentElement)?e.namespaceURI:Vl(null,'');else{var t=e.nodeType===Il?e.parentNode:e;e=t.namespaceURI||null,t=t.tagName,e=Vl(e,t)}return e},getChildHostContext:function(e,t){return Vl(e,t)},getPublicInstance:function(e){return e},prepareForCommit:function(){rd=Mr.isEnabled(),od=tl.getSelectionInformation(),Mr.setEnabled(!1)},resetAfterCommit:function(){tl.restoreSelection(od),od=null,Mr.setEnabled(rd),rd=null},createInstance:function(t,n,r,o,a){return t=Ul(t,n,r,o),td(a,t),nd(t,n),t},appendInitialChild:function(e,t){e.appendChild(t)},finalizeInitialChildren:function(e,t,n,r){Gl(e,t,n,r);a:'button'===t||'input'===t||'select'===t||'textarea'===t?e=!!n.autoFocus:void 0,e=!1;return e},prepareUpdate:function(t,n,r,o,a){return ql(t,n,r,o,a)},commitMount:function(e){e.focus()},commitUpdate:function(t,n,r,o,a){nd(t,a),Kl(t,n,r,o,a)},shouldSetTextContent:function(e,t){return'textarea'===e||'string'==typeof t.children||'number'==typeof t.children||'object'==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&'string'==typeof t.dangerouslySetInnerHTML.__html},resetTextContent:function(e){e.textContent=''},shouldDeprioritizeSubtree:function(e,t){return!!t.hidden},createTextInstance:function(e,t,n,r){return e=zl(e,t),td(r,e),e},commitTextUpdate:function(e,t,n){e.nodeValue=n},appendChild:function(e,t){e.appendChild(t)},appendChildToContainer:function(e,t){e.nodeType===Il?e.parentNode.insertBefore(t,e):e.appendChild(t)},insertBefore:function(e,t,n){e.insertBefore(t,n)},insertInContainerBefore:function(e,t,n){e.nodeType===Il?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},removeChildFromContainer:function(e,t){e.nodeType===Il?e.parentNode.removeChild(t):e.removeChild(t)},canHydrateInstance:function(e,t){return e.nodeType===Ol&&t===e.nodeName.toLowerCase()},canHydrateTextInstance:function(e,t){return''!==t&&e.nodeType===Nl},getNextHydratableSibling:function(e){for(e=e.nextSibling;e&&e.nodeType!==Ol&&e.nodeType!==Nl;)e=e.nextSibling;return e},getFirstHydratableChild:function(e){for(e=e.firstChild;e&&e.nodeType!==Ol&&e.nodeType!==Nl;)e=e.nextSibling;return e},hydrateInstance:function(t,n,r,o,a,e){return td(e,t),nd(t,r),Yl(t,n,r,a,o)},hydrateTextInstance:function(e,t,n){return td(n,e),Xl(e,t)},didNotHydrateInstance:function(e,t){1===t.nodeType?Ql(e,t):Jl(e,t)},didNotFindHydratableInstance:function(e,t,n){Zl(e,t,n)},didNotFindHydratableTextInstance:function(e,t){ed(e,t)},scheduleDeferredCallback:Lo.rIC,useSyncScheduling:!0});yr.injection.injectFiberBatchedUpdates(ad.batchedUpdates);var id={createPortal:Fn,hydrate:function(e,t,n){return En(null,e,t,!0,n)},render:function(e,t,n){return En(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){return null!=e&&tr.has(e)?void 0:o('38'),En(e,t,n,!1,r)},unmountComponentAtNode:function(e){return Cn(e)?void 0:o('40'),!!e._reactRootContainer&&(ad.unbatchedUpdates(function(){En(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},findDOMNode:$t,unstable_createPortal:Fn,unstable_batchedUpdates:yr.batchedUpdates,unstable_deferredUpdates:ad.deferredUpdates,flushSync:ad.flushSync,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{EventPluginHub:Er,EventPluginRegistry:Wn,EventPropagators:il,ReactControlledComponent:mr,ReactDOMComponentTree:er,ReactDOMEventListener:Cr}};Pl({findFiberByHostInstance:er.getClosestInstanceFromNode,findHostInstanceByFiber:ad.findHostInstance,bundleType:0,version:'16.0.0',rendererPackageName:'react-dom'}),e.exports=id},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){'use strict';var r=n(2);e.exports={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,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):(!1,{remove:r})},registerDefault:function(){}}},function(e){'use strict';function t(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}var n=Object.prototype.hasOwnProperty;e.exports=function(e,r){if(t(e,r))return!0;if('object'!=typeof e||null===e||'object'!=typeof r||null===r)return!1;var o=Object.keys(e),a=Object.keys(r);if(o.length!==a.length)return!1;for(var s=0;s=arguments.length?0:arguments.length-1)&&(n+=arguments.length<=r+1?void 0:arguments[r+1]);var o=n.split('\n'),a=null;return o.forEach(function(e){var t=e.match(/^(\s+)\S+/);if(t){var n=t[1].length;a=a?Math.min(a,n):n}}),null!==a&&(n=o.map(function(e){return' '===e[0]?e.slice(a):e}).join('\n')),n=n.trim(),n.replace(/\\n/g,'\n')}},function(e,t,n){'use strict';function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return t&&('object'==typeof t||'function'==typeof t)?t:e}function i(e,t){if('function'!=typeof t&&null!==t)throw new TypeError('Super expression must either be null or a function, not '+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0,r;n/g,'>').replace(/"/g,'"').replace(/'/g,''')}function s(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/g,function(e,t){return t=t.toLowerCase(),'colon'===t?':':'#'===t.charAt(0)?'x'===t.charAt(1)?r(parseInt(t.substring(2),16)):r(+t.substring(1)):''})}function l(e,t){return e=e.source,t=t||'',function n(r,o){return r?(o=o.source||o,o=o.replace(/(^|[^\[])\^/g,'$1'),e=e.replace(r,o),n):new RegExp(e,t)}}function d(){}function c(e){for(var t=1,n,r;to.length)return p();if(delete n.highlight,!d)return p();for(;sAn error occured:

    '+i(t.message+'',!0)+'
    ';throw t}}var p={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:d,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:d,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:d,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};p.bullet=/(?:[*+-]|\d+\.)/,p.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,p.item=l(p.item,'gm')(/bull/g,p.bullet)(),p.list=l(p.list)(/bull/g,p.bullet)('hr','\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))')('def','\\n+(?='+p.def.source+')')(),p.blockquote=l(p.blockquote)('def',p.def)(),p._tag='(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b',p.html=l(p.html)('comment',//)('closed',/<(tag)[\s\S]+?<\/\1>/)('closing',/])*?>/)(/tag/g,p._tag)(),p.paragraph=l(p.paragraph)('hr',p.hr)('heading',p.heading)('lheading',p.lheading)('blockquote',p.blockquote)('tag','<'+p._tag)('def',p.def)(),p.normal=c({},p),p.gfm=c({},p.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),p.gfm.paragraph=l(p.paragraph)('(?!','(?!'+p.gfm.fences.source.replace('\\1','\\2')+'|'+p.list.source.replace('\\1','\\3')+'|')(),p.tables=c({},p.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),t.rules=p,t.lex=function(e,n){var r=new t(n);return r.lex(e)},t.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,'\n').replace(/\t/g,' ').replace(/\u00a0/g,' ').replace(/\u2424/g,'\n'),this.token(e,!0)},t.prototype.token=function(e,t,n){for(var e=e.replace(/^ +$/gm,''),r,o,a,s,d,c,u,g,i;e;){if((a=this.rules.newline.exec(e))&&(e=e.substring(a[0].length),1 ?/gm,''),this.token(a,t,!0),this.tokens.push({type:'blockquote_end'});continue}if(a=this.rules.list.exec(e)){for(e=e.substring(a[0].length),s=a[2],this.tokens.push({type:'list_start',ordered:1])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:d,tag:/^|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:d,text:/^[\s\S]+?(?=[\\?(?:\s+['"]([\s\S]*?)['"])?\s*/,g.link=l(g.link)('inside',g._inside)('href',g._href)(),g.reflink=l(g.reflink)('inside',g._inside)(),g.normal=c({},g),g.pedantic=c({},g.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),g.gfm=c({},g.normal,{escape:l(g.escape)('])','~|])')(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:l(g.text)(']|','~]|')('|','|https?://|')()}),g.breaks=c({},g.gfm,{br:l(g.br)('{2,}','*')(),text:l(g.gfm.text)('{2,}','*')()}),n.rules=g,n.output=function(e,t,r){var o=new n(t,r);return o.output(e)},n.prototype.output=function(e){for(var t='',n,r,o,a;e;){if(a=this.rules.escape.exec(e)){e=e.substring(a[0].length),t+=a[1];continue}if(a=this.rules.autolink.exec(e)){e=e.substring(a[0].length),'@'===a[2]?(r=':'===a[1].charAt(6)?this.mangle(a[1].substring(7)):this.mangle(a[1]),o=this.mangle('mailto:')+r):(r=i(a[1]),o=r),t+=this.renderer.link(o,null,r);continue}if(!this.inLink&&(a=this.rules.url.exec(e))){e=e.substring(a[0].length),r=i(a[1]),o=r,t+=this.renderer.link(o,null,r);continue}if(a=this.rules.tag.exec(e)){!this.inLink&&/^
    /i.test(a[0])&&(this.inLink=!1),e=e.substring(a[0].length),t+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):i(a[0]):a[0];continue}if(a=this.rules.link.exec(e)){e=e.substring(a[0].length),this.inLink=!0,t+=this.outputLink(a,{href:a[2],title:a[3]}),this.inLink=!1;continue}if((a=this.rules.reflink.exec(e))||(a=this.rules.nolink.exec(e))){if(e=e.substring(a[0].length),n=(a[2]||a[1]).replace(/\s+/g,' '),n=this.links[n.toLowerCase()],!n||!n.href){t+=a[0].charAt(0),e=a[0].substring(1)+e;continue}this.inLink=!0,t+=this.outputLink(a,n),this.inLink=!1;continue}if(a=this.rules.strong.exec(e)){e=e.substring(a[0].length),t+=this.renderer.strong(this.output(a[2]||a[1]));continue}if(a=this.rules.em.exec(e)){e=e.substring(a[0].length),t+=this.renderer.em(this.output(a[2]||a[1]));continue}if(a=this.rules.code.exec(e)){e=e.substring(a[0].length),t+=this.renderer.codespan(i(a[2],!0));continue}if(a=this.rules.br.exec(e)){e=e.substring(a[0].length),t+=this.renderer.br();continue}if(a=this.rules.del.exec(e)){e=e.substring(a[0].length),t+=this.renderer.del(this.output(a[1]));continue}if(a=this.rules.text.exec(e)){e=e.substring(a[0].length),t+=this.renderer.text(i(this.smartypants(a[0])));continue}if(e)throw new Error('Infinite loop on byte: '+e.charCodeAt(0))}return t},n.prototype.outputLink=function(e,t){var n=i(t.href),r=t.title?i(t.title):null;return'!'===e[0].charAt(0)?this.renderer.image(n,r,i(e[1])):this.renderer.link(n,r,this.output(e[1]))},n.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,'\u2014').replace(/--/g,'\u2013').replace(/(^|[-\u2014/(\[{"\s])'/g,'$1\u2018').replace(/'/g,'\u2019').replace(/(^|[-\u2014/(\[{\u2018\s])"/g,'$1\u201C').replace(/"/g,'\u201D').replace(/\.{3}/g,'\u2026'):e},n.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t='',n=e.length,r=0,o;r'+(n?e:i(e,!0))+'\n\n':'
    '+(n?e:i(e,!0))+'\n
    '},o.prototype.blockquote=function(e){return'
    \n'+e+'
    \n'},o.prototype.html=function(e){return e},o.prototype.heading=function(e,t,n){return''+e+'\n'},o.prototype.hr=function(){return this.options.xhtml?'
    \n':'
    \n'},o.prototype.list=function(e,t){var n=t?'ol':'ul';return'<'+n+'>\n'+e+'\n'},o.prototype.listitem=function(e){return'
  • '+e+'
  • \n'},o.prototype.paragraph=function(e){return'

    '+e+'

    \n'},o.prototype.table=function(e,t){return'\n\n'+e+'\n\n'+t+'\n
    \n'},o.prototype.tablerow=function(e){return'\n'+e+'\n'},o.prototype.tablecell=function(e,t){var n=t.header?'th':'td',r=t.align?'<'+n+' style="text-align:'+t.align+'">':'<'+n+'>';return r+e+'\n'},o.prototype.strong=function(e){return''+e+''},o.prototype.em=function(e){return''+e+''},o.prototype.codespan=function(e){return''+e+''},o.prototype.br=function(){return this.options.xhtml?'
    ':'
    '},o.prototype.del=function(e){return''+e+''},o.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(s(e)).replace(/[^\w:]/g,'').toLowerCase()}catch(t){return''}if(0===r.indexOf('javascript:')||0===r.indexOf('vbscript:'))return''}var o='
    ',o},o.prototype.image=function(e,t,n){var r=''+n+'':'>',r},o.prototype.text=function(e){return e},a.parse=function(e,t,n){var r=new a(t,n);return r.parse(e)},a.prototype.parse=function(e){this.inline=new n(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var t='';this.next();)t+=this.tok();return t},a.prototype.next=function(){return this.token=this.tokens.pop()},a.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},a.prototype.parseText=function(){for(var e=this.token.text;'text'===this.peek().type;)e+='\n'+this.next().text;return this.inline.output(e)},a.prototype.tok=function(){switch(this.token.type){case'space':return'';case'hr':return this.renderer.hr();case'heading':return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case'code':return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case'table':{var e='',t='',n,r,o,a,i;for(o='',n=0;n ',l,' ',d.default.createElement('br',null),' '):'',s&&0n)return!1;var r=t.length-1;return n==r?t.pop():J.call(t,n,1),!0},a.prototype.get=function(e){var t=this.__data__,n=s(t,e);return 0>n?void 0:t[n][1]},a.prototype.has=function(e){return-1r?n.push([e,t]):n[r][1]=t,this},i.prototype.clear=function(){this.__data__={hash:new o,map:new(Z||a),string:new o}},i.prototype['delete']=function(e){return p(this,e)['delete'](e)},i.prototype.get=function(e){return p(this,e).get(e)},i.prototype.has=function(e){return p(this,e).has(e)},i.prototype.set=function(e,t){return p(this,e).set(e,t),this};var re=k(function(e){e=E(e);var t=[];return R.test(e)&&t.push(''),e.replace(M,function(e,n,r,o){t.push(r?o.replace(O,'$1'):n||e)}),t});k.Cache=i;var oe=Array.isArray;e.exports=function(e,t,n){var r=null==e?void 0:l(e,t);return r===void 0?n:r}}).call(t,n(4))},function(){ace.define('ace/split',['require','exports','module','ace/lib/oop','ace/lib/lang','ace/lib/event_emitter','ace/editor','ace/virtual_renderer','ace/edit_session'],function(e,t){'use strict';function n(e,t){this.$u=e,this.$doc=t}var r=e('./lib/oop'),o=e('./lib/lang'),a=e('./lib/event_emitter').EventEmitter,i=e('./editor').Editor,s=e('./virtual_renderer').VirtualRenderer,l=e('./edit_session').EditSession,d=function(e,t,n){this.BELOW=1,this.BESIDE=0,this.$container=e,this.$theme=t,this.$splits=0,this.$editorCSS='',this.$editors=[],this.$orientation=this.BESIDE,this.setSplits(n||1),this.$cEditor=this.$editors[0],this.on('focus',function(e){this.$cEditor=e}.bind(this))};(function(){r.implement(this,a),this.$createEditor=function(){var e=document.createElement('div');e.className=this.$editorCSS,e.style.cssText='position: absolute; top:0px; bottom:0px',this.$container.appendChild(e);var t=new i(new s(e,this.$theme));return t.on('focus',function(){this._emit('focus',t)}.bind(this)),this.$editors.push(t),t.setFontSize(this.$fontSize),t},this.setSplits=function(e){var t;if(1>e)throw'The number of splits have to be > 0!';if(e!=this.$splits){if(e>this.$splits){for(;this.$splitse;)t=this.$editors[this.$splits-1],this.$container.removeChild(t.container),this.$splits--;this.resize()}},this.getSplits=function(){return this.$splits},this.getEditor=function(e){return this.$editors[e]},this.getCurrentEditor=function(){return this.$cEditor},this.focus=function(){this.$cEditor.focus()},this.blur=function(){this.$cEditor.blur()},this.setTheme=function(e){this.$editors.forEach(function(t){t.setTheme(e)})},this.setKeyboardHandler=function(e){this.$editors.forEach(function(t){t.setKeyboardHandler(e)})},this.forEach=function(e,t){this.$editors.forEach(e,t)},this.$fontSize='',this.setFontSize=function(e){this.$fontSize=e,this.forEach(function(t){t.setFontSize(e)})},this.$cloneSession=function(e){var t=new l(e.getDocument(),e.getMode()),r=e.getUndoManager();if(r){var a=new n(r,t);t.setUndoManager(a)}return t.$informUndoManager=o.delayedCall(function(){t.$deltas=[]}),t.setTabSize(e.getTabSize()),t.setUseSoftTabs(e.getUseSoftTabs()),t.setOverwrite(e.getOverwrite()),t.setBreakpoints(e.getBreakpoints()),t.setUseWrapMode(e.getUseWrapMode()),t.setUseWorker(e.getUseWorker()),t.setWrapLimitRange(e.$wrapLimitRange.min,e.$wrapLimitRange.max),t.$foldData=e.$cloneFoldData(),t},this.setSession=function(e,t){var n=null==t?this.$cEditor:this.$editors[t];var r=this.$editors.some(function(t){return t.session===e});return r&&(e=this.$cloneSession(e)),n.setSession(e),e},this.getOrientation=function(){return this.$orientation},this.setOrientation=function(e){this.$orientation==e||(this.$orientation=e,this.resize())},this.resize=function(){var e=this.$container.clientWidth,t=this.$container.clientHeight,n;if(this.$orientation==this.BESIDE)for(var r=e/this.$splits,o=0;on[1])&&(n.shift(),n.shift())),[{type:'meta.tag.punctuation.'+(1==r?'':'end-')+'tag-open.xml',value:e.slice(0,r)},{type:'meta.tag.tag-name.xml',value:e.substr(r)}]},regex:'',onMatch:function(e,t,n){return t==n[0]&&n.shift(),2==e.length&&(n[0]==this.nextState&&n[1]--,(!n[1]||0>n[1])&&n.splice(0,2)),this.next=n[0]||'start',[{type:this.token,value:e}]},nextState:'jsx'},n,r('jsxAttributes'),{token:'entity.other.attribute-name.xml',regex:e},{token:'keyword.operator.attribute-equals.xml',regex:'='},{token:'text.tag-whitespace.xml',regex:'\\s+'},{token:'string.attribute-value.xml',regex:'\'',stateName:'jsx_attr_q',push:[{token:'string.attribute-value.xml',regex:'\'',next:'pop'},{include:'reference'},{defaultToken:'string.attribute-value.xml'}]},{token:'string.attribute-value.xml',regex:'"',stateName:'jsx_attr_qq',push:[{token:'string.attribute-value.xml',regex:'"',next:'pop'},{include:'reference'},{defaultToken:'string.attribute-value.xml'}]},t],this.$rules.reference=[{token:'constant.language.escape.reference.xml',regex:'(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)'}]}function r(e){return[{token:'comment',regex:/\/\*/,next:[a.getTagRule(),{token:'comment',regex:'\\*\\/',next:e||'pop'},{defaultToken:'comment',caseInsensitive:!0}]},{token:'comment',regex:'\\/\\/',next:[a.getTagRule(),{token:'comment',regex:'$|^',next:e||'pop'},{defaultToken:'comment',caseInsensitive:!0}]}]}var o=e('../lib/oop'),a=e('./doc_comment_highlight_rules').DocCommentHighlightRules,i=e('./text_highlight_rules').TextHighlightRules,s='[a-zA-Z\\$_\xA1-\uFFFF][a-zA-Z\\d\\$_\xA1-\uFFFF]*',l=function(e){var t=this.createKeywordMapper({"variable.language":'Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|Namespace|QName|XML|XMLList|ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|JSON|Math|this|arguments|prototype|window|document',keyword:'const|yield|import|get|set|async|await|break|case|catch|continue|default|delete|do|else|finally|for|function|if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|__parent__|__count__|escape|unescape|with|__proto__|class|enum|extends|super|export|implements|private|public|interface|package|protected|static',"storage.type":'const|let|var|function',"constant.language":'null|Infinity|NaN|undefined',"support.function":'alert',"constant.language.boolean":'true|false'},'identifier'),o='\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|u{[0-9a-fA-F]{1,6}}|[0-2][0-7]{0,2}|3[0-7][0-7]?|[4-7][0-7]?|.)';this.$rules={no_regex:[a.getStartRule('doc-start'),r('no_regex'),{token:'string',regex:'\'(?=.)',next:'qstring'},{token:'string',regex:'"(?=.)',next:'qqstring'},{token:'constant.numeric',regex:/0(?:[xX][0-9a-fA-F]+|[bB][01]+)\b/},{token:'constant.numeric',regex:/[+-]?\d[\d_]*(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?\b/},{token:['storage.type','punctuation.operator','support.function','punctuation.operator','entity.name.function','text','keyword.operator'],regex:'('+s+')(\\.)(prototype)(\\.)('+s+')(\\s*)(=)',next:'function_arguments'},{token:['storage.type','punctuation.operator','entity.name.function','text','keyword.operator','text','storage.type','text','paren.lparen'],regex:'('+s+')(\\.)('+s+')(\\s*)(=)(\\s*)(function)(\\s*)(\\()',next:'function_arguments'},{token:['entity.name.function','text','keyword.operator','text','storage.type','text','paren.lparen'],regex:'('+s+')(\\s*)(=)(\\s*)(function)(\\s*)(\\()',next:'function_arguments'},{token:['storage.type','punctuation.operator','entity.name.function','text','keyword.operator','text','storage.type','text','entity.name.function','text','paren.lparen'],regex:'('+s+')(\\.)('+s+')(\\s*)(=)(\\s*)(function)(\\s+)(\\w+)(\\s*)(\\()',next:'function_arguments'},{token:['storage.type','text','entity.name.function','text','paren.lparen'],regex:'(function)(\\s+)('+s+')(\\s*)(\\()',next:'function_arguments'},{token:['entity.name.function','text','punctuation.operator','text','storage.type','text','paren.lparen'],regex:'('+s+')(\\s*)(:)(\\s*)(function)(\\s*)(\\()',next:'function_arguments'},{token:['text','text','storage.type','text','paren.lparen'],regex:'(:)(\\s*)(function)(\\s*)(\\()',next:'function_arguments'},{token:'keyword',regex:'(?:'+'case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void'+')\\b',next:'start'},{token:['support.constant'],regex:/that\b/},{token:['storage.type','punctuation.operator','support.function.firebug'],regex:/(console)(\.)(warn|info|log|error|time|trace|timeEnd|assert)\b/},{token:t,regex:s},{token:'punctuation.operator',regex:/[.](?![.])/,next:'property'},{token:'keyword.operator',regex:/--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,next:'start'},{token:'punctuation.operator',regex:/[?:,;.]/,next:'start'},{token:'paren.lparen',regex:/[\[({]/,next:'start'},{token:'paren.rparen',regex:/[\])}]/},{token:'comment',regex:/^#!.*$/}],property:[{token:'text',regex:'\\s+'},{token:['storage.type','punctuation.operator','entity.name.function','text','keyword.operator','text','storage.type','text','entity.name.function','text','paren.lparen'],regex:'('+s+')(\\.)('+s+')(\\s*)(=)(\\s*)(function)(?:(\\s+)(\\w+))?(\\s*)(\\()',next:'function_arguments'},{token:'punctuation.operator',regex:/[.](?![.])/},{token:'support.function',regex:/(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/},{token:'support.function.dom',regex:/(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName|ClassName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/},{token:'support.constant',regex:/(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/},{token:'identifier',regex:s},{regex:'',token:'empty',next:'no_regex'}],start:[a.getStartRule('doc-start'),r('start'),{token:'string.regexp',regex:'\\/',next:'regex'},{token:'text',regex:'\\s+|^$',next:'start'},{token:'empty',regex:'',next:'no_regex'}],regex:[{token:'regexp.keyword.operator',regex:'\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)'},{token:'string.regexp',regex:'/[sxngimy]*',next:'no_regex'},{token:'invalid',regex:/\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/},{token:'constant.language.escape',regex:/\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/},{token:'constant.language.delimiter',regex:/\|/},{token:'constant.language.escape',regex:/\[\^?/,next:'regex_character_class'},{token:'empty',regex:'$',next:'no_regex'},{defaultToken:'string.regexp'}],regex_character_class:[{token:'regexp.charclass.keyword.operator',regex:'\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)'},{token:'constant.language.escape',regex:']',next:'regex'},{token:'constant.language.escape',regex:'-'},{token:'empty',regex:'$',next:'no_regex'},{defaultToken:'string.regexp.charachterclass'}],function_arguments:[{token:'variable.parameter',regex:s},{token:'punctuation.operator',regex:'[, ]+'},{token:'punctuation.operator',regex:'$'},{token:'empty',regex:'',next:'no_regex'}],qqstring:[{token:'constant.language.escape',regex:o},{token:'string',regex:'\\\\$',next:'qqstring'},{token:'string',regex:'"|$',next:'no_regex'},{defaultToken:'string'}],qstring:[{token:'constant.language.escape',regex:o},{token:'string',regex:'\\\\$',next:'qstring'},{token:'string',regex:'\'|$',next:'no_regex'},{defaultToken:'string'}]},e&&e.noES6||(this.$rules.no_regex.unshift({regex:'[{}]',onMatch:function(e,t,n){if(this.next='{'==e?this.nextState:'','{'==e&&n.length)n.unshift('start',t);else if('}'==e&&n.length&&(n.shift(),this.next=n.shift(),-1!=this.next.indexOf('string')||-1!=this.next.indexOf('jsx')))return'paren.quasi.end';return'{'==e?'paren.lparen':'paren.rparen'},nextState:'start'},{token:'string.quasi.start',regex:/`/,push:[{token:'constant.language.escape',regex:o},{token:'paren.quasi.start',regex:/\${/,push:'start'},{token:'string.quasi.end',regex:/`/,next:'pop'},{defaultToken:'string.quasi'}]}),(!e||!1!=e.jsx)&&n.call(this)),this.embedRules(a,'doc-',[a.getEndRule('no_regex')]),this.normalizeRules()};o.inherits(l,i),t.JavaScriptHighlightRules=l}),ace.define('ace/mode/matching_brace_outdent',['require','exports','module','ace/range'],function(e,t){'use strict';var n=e('../range').Range,r=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var r=e.getLine(t),o=r.match(/^(\s*\})/);if(!o)return 0;var a=o[1].length,i=e.findMatchingBracket({row:t,column:a});if(!i||i.row==t)return 0;var s=this.$getIndent(e.getLine(i.row));e.replace(new n(t,0,t,a-1),s)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(r.prototype),t.MatchingBraceOutdent=r}),ace.define('ace/mode/folding/cstyle',['require','exports','module','ace/lib/oop','ace/range','ace/mode/folding/fold_mode'],function(e,t){'use strict';var n=e('../../lib/oop'),r=e('../../range').Range,o=e('./fold_mode').FoldMode,a=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,'|'+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,'|'+e.end)))};n.inherits(a,o),function(){this.foldingStartMarker=/(\{|\[)[^\}\]]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return'';var o=this._getFoldWidgetBase(e,t,n);return!o&&this.startRegionRe.test(r)?'start':o},this.getFoldWidgetRange=function(e,t,n,r){var o=e.getLine(n);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,n);var a=o.match(this.foldingStartMarker);if(a){var s=a.index;if(a[1])return this.openingBracketBlock(e,a[1],n,s);var i=e.getCommentFoldRange(n,s+a[0].length,1);return i&&!i.isMultiLine()&&(r?i=this.getSectionRange(e,n):'all'!=t&&(i=null)),i}if('markbegin'!==t){var a=o.match(this.foldingStopMarker);if(a){var s=a.index+a[0].length;return a[1]?this.closingBracketBlock(e,a[1],n,s):e.getCommentFoldRange(n,s,-1)}}},this.getSectionRange=function(e,t){var n=e.getLine(t),o=n.search(/\S/),a=t,i=n.length;++t;for(var s=t,l=e.getLength();++td)break;var c=this.getFoldWidgetRange(e,'all',t);if(c)if(c.start.row<=a)break;else if(c.isMultiLine())t=c.end.row;else if(o==d)break;s=t}}return new r(a,i,s,e.getLine(s).length)},this.getCommentRegionBlock=function(e,t,n){for(var o=t.search(/\s*$/),a=e.getLength(),i=n,s=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++ni)return new r(i,o,c,t.length)}}.call(a.prototype)}),ace.define('ace/mode/javascript',['require','exports','module','ace/lib/oop','ace/mode/text','ace/mode/javascript_highlight_rules','ace/mode/matching_brace_outdent','ace/worker/worker_client','ace/mode/behaviour/cstyle','ace/mode/folding/cstyle'],function(e,t){'use strict';var r=e('../lib/oop'),o=e('./text').Mode,a=e('./javascript_highlight_rules').JavaScriptHighlightRules,i=e('./matching_brace_outdent').MatchingBraceOutdent,s=e('../worker/worker_client').WorkerClient,l=e('./behaviour/cstyle').CstyleBehaviour,d=e('./folding/cstyle').FoldMode,c=function(){this.HighlightRules=a,this.$outdent=new i,this.$behaviour=new l,this.foldingRules=new d};r.inherits(c,o),function(){this.lineCommentStart='//',this.blockComment={start:'/*',end:'*/'},this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t),o=this.getTokenizer().getLineTokens(t,e),a=o.tokens,i=o.state;if(a.length&&'comment'==a[a.length-1].type)return r;if('start'==e||'no_regex'==e){var s=t.match(/^.*(?:\bcase\b.*:|[\{\(\[])\s*$/);s&&(r+=n)}else if('doc-start'==e){if('start'==i||'no_regex'==i)return'';var s=t.match(/^\s*(\/?)\*/);s&&(s[1]&&(r+=' '),r+='* ')}return r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new s(['ace'],n(47),'JavaScriptWorker');return t.attachToDocument(e.getDocument()),t.on('annotate',function(t){e.setAnnotations(t.data)}),t.on('terminate',function(){e.clearAnnotations()}),t},this.$id='ace/mode/javascript'}.call(c.prototype),t.Mode=c})},function(e){e.exports.id='ace/mode/javascript_worker',e.exports.src='"no use strict";(function(window){function resolveModuleId(id,paths){for(var testPath=id,tail="";testPath;){var alias=paths[testPath];if("string"==typeof alias)return alias+tail;if(alias)return alias.location.replace(/\\/*$/,"/")+(tail||alias.main||alias.name);if(alias===!1)return"";var i=testPath.lastIndexOf("/");if(-1===i)break;tail=testPath.substr(i)+tail,testPath=testPath.slice(0,i)}return id}if(!(void 0!==window.window&&window.document||window.acequire&&window.define)){window.console||(window.console=function(){var msgs=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:msgs})},window.console.error=window.console.warn=window.console.log=window.console.trace=window.console),window.window=window,window.ace=window,window.onerror=function(message,file,line,col,err){postMessage({type:"error",data:{message:message,data:err.data,file:file,line:line,col:col,stack:err.stack}})},window.normalizeModule=function(parentId,moduleName){if(-1!==moduleName.indexOf("!")){var chunks=moduleName.split("!");return window.normalizeModule(parentId,chunks[0])+"!"+window.normalizeModule(parentId,chunks[1])}if("."==moduleName.charAt(0)){var base=parentId.split("/").slice(0,-1).join("/");for(moduleName=(base?base+"/":"")+moduleName;-1!==moduleName.indexOf(".")&&previous!=moduleName;){var previous=moduleName;moduleName=moduleName.replace(/^\\.\\//,"").replace(/\\/\\.\\//,"/").replace(/[^\\/]+\\/\\.\\.\\//,"")}}return moduleName},window.acequire=function acequire(parentId,id){if(id||(id=parentId,parentId=null),!id.charAt)throw Error("worker.js acequire() accepts only (parentId, id) as arguments");id=window.normalizeModule(parentId,id);var module=window.acequire.modules[id];if(module)return module.initialized||(module.initialized=!0,module.exports=module.factory().exports),module.exports;if(!window.acequire.tlns)return console.log("unable to load "+id);var path=resolveModuleId(id,window.acequire.tlns);return".js"!=path.slice(-3)&&(path+=".js"),window.acequire.id=id,window.acequire.modules[id]={},importScripts(path),window.acequire(parentId,id)},window.acequire.modules={},window.acequire.tlns={},window.define=function(id,deps,factory){if(2==arguments.length?(factory=deps,"string"!=typeof id&&(deps=id,id=window.acequire.id)):1==arguments.length&&(factory=id,deps=[],id=window.acequire.id),"function"!=typeof factory)return window.acequire.modules[id]={exports:factory,initialized:!0},void 0;deps.length||(deps=["require","exports","module"]);var req=function(childId){return window.acequire(id,childId)};window.acequire.modules[id]={exports:{},factory:function(){var module=this,returnExports=factory.apply(this,deps.map(function(dep){switch(dep){case"require":return req;case"exports":return module.exports;case"module":return module;default:return req(dep)}}));return returnExports&&(module.exports=returnExports),module}}},window.define.amd={},acequire.tlns={},window.initBaseUrls=function(topLevelNamespaces){for(var i in topLevelNamespaces)acequire.tlns[i]=topLevelNamespaces[i]},window.initSender=function(){var EventEmitter=window.acequire("ace/lib/event_emitter").EventEmitter,oop=window.acequire("ace/lib/oop"),Sender=function(){};return function(){oop.implement(this,EventEmitter),this.callback=function(data,callbackId){postMessage({type:"call",id:callbackId,data:data})},this.emit=function(name,data){postMessage({type:"event",name:name,data:data})}}.call(Sender.prototype),new Sender};var main=window.main=null,sender=window.sender=null;window.onmessage=function(e){var msg=e.data;if(msg.event&&sender)sender._signal(msg.event,msg.data);else if(msg.command)if(main[msg.command])main[msg.command].apply(main,msg.args);else{if(!window[msg.command])throw Error("Unknown command:"+msg.command);window[msg.command].apply(window,msg.args)}else if(msg.init){window.initBaseUrls(msg.tlns),acequire("ace/lib/es5-shim"),sender=window.sender=window.initSender();var clazz=acequire(msg.module)[msg.classname];main=window.main=new clazz(sender)}}}})(this),ace.define("ace/lib/oop",["require","exports","module"],function(acequire,exports){"use strict";exports.inherits=function(ctor,superCtor){ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}})},exports.mixin=function(obj,mixin){for(var key in mixin)obj[key]=mixin[key];return obj},exports.implement=function(proto,mixin){exports.mixin(proto,mixin)}}),ace.define("ace/range",["require","exports","module"],function(acequire,exports){"use strict";var comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},Range=function(startRow,startColumn,endRow,endColumn){this.start={row:startRow,column:startColumn},this.end={row:endRow,column:endColumn}};(function(){this.isEqual=function(range){return this.start.row===range.start.row&&this.end.row===range.end.row&&this.start.column===range.start.column&&this.end.column===range.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(row,column){return 0==this.compare(row,column)},this.compareRange=function(range){var cmp,end=range.end,start=range.start;return cmp=this.compare(end.row,end.column),1==cmp?(cmp=this.compare(start.row,start.column),1==cmp?2:0==cmp?1:0):-1==cmp?-2:(cmp=this.compare(start.row,start.column),-1==cmp?-1:1==cmp?42:0)},this.comparePoint=function(p){return this.compare(p.row,p.column)},this.containsRange=function(range){return 0==this.comparePoint(range.start)&&0==this.comparePoint(range.end)},this.intersects=function(range){var cmp=this.compareRange(range);return-1==cmp||0==cmp||1==cmp},this.isEnd=function(row,column){return this.end.row==row&&this.end.column==column},this.isStart=function(row,column){return this.start.row==row&&this.start.column==column},this.setStart=function(row,column){"object"==typeof row?(this.start.column=row.column,this.start.row=row.row):(this.start.row=row,this.start.column=column)},this.setEnd=function(row,column){"object"==typeof row?(this.end.column=row.column,this.end.row=row.row):(this.end.row=row,this.end.column=column)},this.inside=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)||this.isStart(row,column)?!1:!0:!1},this.insideStart=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)?!1:!0:!1},this.insideEnd=function(row,column){return 0==this.compare(row,column)?this.isStart(row,column)?!1:!0:!1},this.compare=function(row,column){return this.isMultiLine()||row!==this.start.row?this.start.row>row?-1:row>this.end.row?1:this.start.row===row?column>=this.start.column?0:-1:this.end.row===row?this.end.column>=column?0:1:0:this.start.column>column?-1:column>this.end.column?1:0},this.compareStart=function(row,column){return this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.compareEnd=function(row,column){return this.end.row==row&&this.end.column==column?1:this.compare(row,column)},this.compareInside=function(row,column){return this.end.row==row&&this.end.column==column?1:this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.clipRows=function(firstRow,lastRow){if(this.end.row>lastRow)var end={row:lastRow+1,column:0};else if(firstRow>this.end.row)var end={row:firstRow,column:0};if(this.start.row>lastRow)var start={row:lastRow+1,column:0};else if(firstRow>this.start.row)var start={row:firstRow,column:0};return Range.fromPoints(start||this.start,end||this.end)},this.extend=function(row,column){var cmp=this.compare(row,column);if(0==cmp)return this;if(-1==cmp)var start={row:row,column:column};else var end={row:row,column:column};return Range.fromPoints(start||this.start,end||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return Range.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new Range(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new Range(this.start.row,0,this.end.row,0)},this.toScreenRange=function(session){var screenPosStart=session.documentToScreenPosition(this.start),screenPosEnd=session.documentToScreenPosition(this.end);return new Range(screenPosStart.row,screenPosStart.column,screenPosEnd.row,screenPosEnd.column)},this.moveBy=function(row,column){this.start.row+=row,this.start.column+=column,this.end.row+=row,this.end.column+=column}}).call(Range.prototype),Range.fromPoints=function(start,end){return new Range(start.row,start.column,end.row,end.column)},Range.comparePoints=comparePoints,Range.comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},exports.Range=Range}),ace.define("ace/apply_delta",["require","exports","module"],function(acequire,exports){"use strict";exports.applyDelta=function(docLines,delta){var row=delta.start.row,startColumn=delta.start.column,line=docLines[row]||"";switch(delta.action){case"insert":var lines=delta.lines;if(1===lines.length)docLines[row]=line.substring(0,startColumn)+delta.lines[0]+line.substring(startColumn);else{var args=[row,1].concat(delta.lines);docLines.splice.apply(docLines,args),docLines[row]=line.substring(0,startColumn)+docLines[row],docLines[row+delta.lines.length-1]+=line.substring(startColumn)}break;case"remove":var endColumn=delta.end.column,endRow=delta.end.row;row===endRow?docLines[row]=line.substring(0,startColumn)+line.substring(endColumn):docLines.splice(row,endRow-row+1,line.substring(0,startColumn)+docLines[endRow].substring(endColumn))}}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(acequire,exports){"use strict";var EventEmitter={},stopPropagation=function(){this.propagationStopped=!0},preventDefault=function(){this.defaultPrevented=!0};EventEmitter._emit=EventEmitter._dispatchEvent=function(eventName,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var listeners=this._eventRegistry[eventName]||[],defaultHandler=this._defaultHandlers[eventName];if(listeners.length||defaultHandler){"object"==typeof e&&e||(e={}),e.type||(e.type=eventName),e.stopPropagation||(e.stopPropagation=stopPropagation),e.preventDefault||(e.preventDefault=preventDefault),listeners=listeners.slice();for(var i=0;listeners.length>i&&(listeners[i](e,this),!e.propagationStopped);i++);return defaultHandler&&!e.defaultPrevented?defaultHandler(e,this):void 0}},EventEmitter._signal=function(eventName,e){var listeners=(this._eventRegistry||{})[eventName];if(listeners){listeners=listeners.slice();for(var i=0;listeners.length>i;i++)listeners[i](e,this)}},EventEmitter.once=function(eventName,callback){var _self=this;callback&&this.addEventListener(eventName,function newCallback(){_self.removeEventListener(eventName,newCallback),callback.apply(null,arguments)})},EventEmitter.setDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers||(handlers=this._defaultHandlers={_disabled_:{}}),handlers[eventName]){var old=handlers[eventName],disabled=handlers._disabled_[eventName];disabled||(handlers._disabled_[eventName]=disabled=[]),disabled.push(old);var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}handlers[eventName]=callback},EventEmitter.removeDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers){var disabled=handlers._disabled_[eventName];if(handlers[eventName]==callback)handlers[eventName],disabled&&this.setDefaultHandler(eventName,disabled.pop());else if(disabled){var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}}},EventEmitter.on=EventEmitter.addEventListener=function(eventName,callback,capturing){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];return listeners||(listeners=this._eventRegistry[eventName]=[]),-1==listeners.indexOf(callback)&&listeners[capturing?"unshift":"push"](callback),callback},EventEmitter.off=EventEmitter.removeListener=EventEmitter.removeEventListener=function(eventName,callback){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];if(listeners){var index=listeners.indexOf(callback);-1!==index&&listeners.splice(index,1)}},EventEmitter.removeAllListeners=function(eventName){this._eventRegistry&&(this._eventRegistry[eventName]=[])},exports.EventEmitter=EventEmitter}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),EventEmitter=acequire("./lib/event_emitter").EventEmitter,Anchor=exports.Anchor=function(doc,row,column){this.$onChange=this.onChange.bind(this),this.attach(doc),column===void 0?this.setPosition(row.row,row.column):this.setPosition(row,column)};(function(){function $pointsInOrder(point1,point2,equalPointsInOrder){var bColIsAfter=equalPointsInOrder?point1.column<=point2.column:point1.columnthis.row)){var point=$getTransformedPoint(delta,{row:this.row,column:this.column},this.$insertRight);this.setPosition(point.row,point.column,!0)}},this.setPosition=function(row,column,noClip){var pos;if(pos=noClip?{row:row,column:column}:this.$clipPositionToDocument(row,column),this.row!=pos.row||this.column!=pos.column){var old={row:this.row,column:this.column};this.row=pos.row,this.column=pos.column,this._signal("change",{old:old,value:pos})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(doc){this.document=doc||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(row,column){var pos={};return row>=this.document.getLength()?(pos.row=Math.max(0,this.document.getLength()-1),pos.column=this.document.getLine(pos.row).length):0>row?(pos.row=0,pos.column=0):(pos.row=row,pos.column=Math.min(this.document.getLine(pos.row).length,Math.max(0,column))),0>column&&(pos.column=0),pos}}).call(Anchor.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),applyDelta=acequire("./apply_delta").applyDelta,EventEmitter=acequire("./lib/event_emitter").EventEmitter,Range=acequire("./range").Range,Anchor=acequire("./anchor").Anchor,Document=function(textOrLines){this.$lines=[""],0===textOrLines.length?this.$lines=[""]:Array.isArray(textOrLines)?this.insertMergedLines({row:0,column:0},textOrLines):this.insert({row:0,column:0},textOrLines)};(function(){oop.implement(this,EventEmitter),this.setValue=function(text){var len=this.getLength()-1;this.remove(new Range(0,0,len,this.getLine(len).length)),this.insert({row:0,column:0},text)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(row,column){return new Anchor(this,row,column)},this.$split=0==="aaa".split(/a/).length?function(text){return text.replace(/\\r\\n|\\r/g,"\\n").split("\\n")}:function(text){return text.split(/\\r\\n|\\r|\\n/)},this.$detectNewLine=function(text){var match=text.match(/^.*?(\\r\\n|\\r|\\n)/m);this.$autoNewLine=match?match[1]:"\\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\\r\\n";case"unix":return"\\n";default:return this.$autoNewLine||"\\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(newLineMode){this.$newLineMode!==newLineMode&&(this.$newLineMode=newLineMode,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(text){return"\\r\\n"==text||"\\r"==text||"\\n"==text},this.getLine=function(row){return this.$lines[row]||""},this.getLines=function(firstRow,lastRow){return this.$lines.slice(firstRow,lastRow+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(range){return this.getLinesForRange(range).join(this.getNewLineCharacter())},this.getLinesForRange=function(range){var lines;if(range.start.row===range.end.row)lines=[this.getLine(range.start.row).substring(range.start.column,range.end.column)];else{lines=this.getLines(range.start.row,range.end.row),lines[0]=(lines[0]||"").substring(range.start.column);var l=lines.length-1;range.end.row-range.start.row==l&&(lines[l]=lines[l].substring(0,range.end.column))}return lines},this.insertLines=function(row,lines){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(row,lines)},this.removeLines=function(firstRow,lastRow){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(firstRow,lastRow)},this.insertNewLine=function(position){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, [\'\', \'\']) instead."),this.insertMergedLines(position,["",""])},this.insert=function(position,text){return 1>=this.getLength()&&this.$detectNewLine(text),this.insertMergedLines(position,this.$split(text))},this.insertInLine=function(position,text){var start=this.clippedPos(position.row,position.column),end=this.pos(position.row,position.column+text.length);return this.applyDelta({start:start,end:end,action:"insert",lines:[text]},!0),this.clonePos(end)},this.clippedPos=function(row,column){var length=this.getLength();void 0===row?row=length:0>row?row=0:row>=length&&(row=length-1,column=void 0);var line=this.getLine(row);return void 0==column&&(column=line.length),column=Math.min(Math.max(column,0),line.length),{row:row,column:column}},this.clonePos=function(pos){return{row:pos.row,column:pos.column}},this.pos=function(row,column){return{row:row,column:column}},this.$clipPosition=function(position){var length=this.getLength();return position.row>=length?(position.row=Math.max(0,length-1),position.column=this.getLine(length-1).length):(position.row=Math.max(0,position.row),position.column=Math.min(Math.max(position.column,0),this.getLine(position.row).length)),position},this.insertFullLines=function(row,lines){row=Math.min(Math.max(row,0),this.getLength());var column=0;this.getLength()>row?(lines=lines.concat([""]),column=0):(lines=[""].concat(lines),row--,column=this.$lines[row].length),this.insertMergedLines({row:row,column:column},lines)},this.insertMergedLines=function(position,lines){var start=this.clippedPos(position.row,position.column),end={row:start.row+lines.length-1,column:(1==lines.length?start.column:0)+lines[lines.length-1].length};return this.applyDelta({start:start,end:end,action:"insert",lines:lines}),this.clonePos(end)},this.remove=function(range){var start=this.clippedPos(range.start.row,range.start.column),end=this.clippedPos(range.end.row,range.end.column);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})}),this.clonePos(start)},this.removeInLine=function(row,startColumn,endColumn){var start=this.clippedPos(row,startColumn),end=this.clippedPos(row,endColumn);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})},!0),this.clonePos(start)},this.removeFullLines=function(firstRow,lastRow){firstRow=Math.min(Math.max(0,firstRow),this.getLength()-1),lastRow=Math.min(Math.max(0,lastRow),this.getLength()-1);var deleteFirstNewLine=lastRow==this.getLength()-1&&firstRow>0,deleteLastNewLine=this.getLength()-1>lastRow,startRow=deleteFirstNewLine?firstRow-1:firstRow,startCol=deleteFirstNewLine?this.getLine(startRow).length:0,endRow=deleteLastNewLine?lastRow+1:lastRow,endCol=deleteLastNewLine?0:this.getLine(endRow).length,range=new Range(startRow,startCol,endRow,endCol),deletedLines=this.$lines.slice(firstRow,lastRow+1);return this.applyDelta({start:range.start,end:range.end,action:"remove",lines:this.getLinesForRange(range)}),deletedLines},this.removeNewLine=function(row){this.getLength()-1>row&&row>=0&&this.applyDelta({start:this.pos(row,this.getLine(row).length),end:this.pos(row+1,0),action:"remove",lines:["",""]})},this.replace=function(range,text){if(range instanceof Range||(range=Range.fromPoints(range.start,range.end)),0===text.length&&range.isEmpty())return range.start;if(text==this.getTextRange(range))return range.end;this.remove(range);var end;return end=text?this.insert(range.start,text):range.start},this.applyDeltas=function(deltas){for(var i=0;deltas.length>i;i++)this.applyDelta(deltas[i])},this.revertDeltas=function(deltas){for(var i=deltas.length-1;i>=0;i--)this.revertDelta(deltas[i])},this.applyDelta=function(delta,doNotValidate){var isInsert="insert"==delta.action;(isInsert?1>=delta.lines.length&&!delta.lines[0]:!Range.comparePoints(delta.start,delta.end))||(isInsert&&delta.lines.length>2e4&&this.$splitAndapplyLargeDelta(delta,2e4),applyDelta(this.$lines,delta,doNotValidate),this._signal("change",delta))},this.$splitAndapplyLargeDelta=function(delta,MAX){for(var lines=delta.lines,l=lines.length,row=delta.start.row,column=delta.start.column,from=0,to=0;;){from=to,to+=MAX-1;var chunk=lines.slice(from,to);if(to>l){delta.lines=chunk,delta.start.row=row+from,delta.start.column=column;break}chunk.push(""),this.applyDelta({start:this.pos(row+from,column),end:this.pos(row+to,column=0),action:delta.action,lines:chunk},!0)}},this.revertDelta=function(delta){this.applyDelta({start:this.clonePos(delta.start),end:this.clonePos(delta.end),action:"insert"==delta.action?"remove":"insert",lines:delta.lines.slice()})},this.indexToPosition=function(index,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,i=startRow||0,l=lines.length;l>i;i++)if(index-=lines[i].length+newlineLength,0>index)return{row:i,column:index+lines[i].length+newlineLength};return{row:l-1,column:lines[l-1].length}},this.positionToIndex=function(pos,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,index=0,row=Math.min(pos.row,lines.length),i=startRow||0;row>i;++i)index+=lines[i].length+newlineLength;return index+pos.column}}).call(Document.prototype),exports.Document=Document}),ace.define("ace/lib/lang",["require","exports","module"],function(acequire,exports){"use strict";exports.last=function(a){return a[a.length-1]},exports.stringReverse=function(string){return string.split("").reverse().join("")},exports.stringRepeat=function(string,count){for(var result="";count>0;)1&count&&(result+=string),(count>>=1)&&(string+=string);return result};var trimBeginRegexp=/^\\s\\s*/,trimEndRegexp=/\\s\\s*$/;exports.stringTrimLeft=function(string){return string.replace(trimBeginRegexp,"")},exports.stringTrimRight=function(string){return string.replace(trimEndRegexp,"")},exports.copyObject=function(obj){var copy={};for(var key in obj)copy[key]=obj[key];return copy},exports.copyArray=function(array){for(var copy=[],i=0,l=array.length;l>i;i++)copy[i]=array[i]&&"object"==typeof array[i]?this.copyObject(array[i]):array[i];return copy},exports.deepCopy=function deepCopy(obj){if("object"!=typeof obj||!obj)return obj;var copy;if(Array.isArray(obj)){copy=[];for(var key=0;obj.length>key;key++)copy[key]=deepCopy(obj[key]);return copy}if("[object Object]"!==Object.prototype.toString.call(obj))return obj;copy={};for(var key in obj)copy[key]=deepCopy(obj[key]);return copy},exports.arrayToMap=function(arr){for(var map={},i=0;arr.length>i;i++)map[arr[i]]=1;return map},exports.createMap=function(props){var map=Object.create(null);for(var i in props)map[i]=props[i];return map},exports.arrayRemove=function(array,value){for(var i=0;array.length>=i;i++)value===array[i]&&array.splice(i,1)},exports.escapeRegExp=function(str){return str.replace(/([.*+?^${}()|[\\]\\/\\\\])/g,"\\\\$1")},exports.escapeHTML=function(str){return str.replace(/&/g,"&").replace(/"/g,""").replace(/\'/g,"'").replace(/i;i+=2){if(Array.isArray(data[i+1]))var d={action:"insert",start:data[i],lines:data[i+1]};else var d={action:"remove",start:data[i],end:data[i+1]};doc.applyDelta(d,!0)}return _self.$timeout?deferredUpdate.schedule(_self.$timeout):(_self.onUpdate(),void 0)})};(function(){this.$timeout=500,this.setTimeout=function(timeout){this.$timeout=timeout},this.setValue=function(value){this.doc.setValue(value),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(callbackId){this.sender.callback(this.doc.getValue(),callbackId)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(Mirror.prototype)}),ace.define("ace/mode/javascript/jshint",["require","exports","module"],function(acequire,exports,module){module.exports=function outer(modules,cache,entry){function newRequire(name,jumped){if(!cache[name]){if(!modules[name]){var currentRequire="function"==typeof acequire&&acequire;if(!jumped&¤tRequire)return currentRequire(name,!0);if(previousRequire)return previousRequire(name,!0);var err=Error("Cannot find module \'"+name+"\'");throw err.code="MODULE_NOT_FOUND",err}var m=cache[name]={exports:{}};modules[name][0].call(m.exports,function(x){var id=modules[name][1][x];return newRequire(id?id:x)},m,m.exports,outer,modules,cache,entry)}return cache[name].exports}for(var previousRequire="function"==typeof acequire&&acequire,i=0;entry.length>i;i++)newRequire(entry[i]);return newRequire(entry[0])}({"/node_modules/browserify/node_modules/events/events.js":[function(_dereq_,module){function EventEmitter(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function isFunction(arg){return"function"==typeof arg}function isNumber(arg){return"number"==typeof arg}function isObject(arg){return"object"==typeof arg&&null!==arg}function isUndefined(arg){return void 0===arg}module.exports=EventEmitter,EventEmitter.EventEmitter=EventEmitter,EventEmitter.prototype._events=void 0,EventEmitter.prototype._maxListeners=void 0,EventEmitter.defaultMaxListeners=10,EventEmitter.prototype.setMaxListeners=function(n){if(!isNumber(n)||0>n||isNaN(n))throw TypeError("n must be a positive number");return this._maxListeners=n,this},EventEmitter.prototype.emit=function(type){var er,handler,len,args,i,listeners;if(this._events||(this._events={}),"error"===type&&(!this._events.error||isObject(this._events.error)&&!this._events.error.length)){if(er=arguments[1],er instanceof Error)throw er;throw TypeError(\'Uncaught, unspecified "error" event.\')}if(handler=this._events[type],isUndefined(handler))return!1;if(isFunction(handler))switch(arguments.length){case 1:handler.call(this);break;case 2:handler.call(this,arguments[1]);break;case 3:handler.call(this,arguments[1],arguments[2]);break;default:for(len=arguments.length,args=Array(len-1),i=1;len>i;i++)args[i-1]=arguments[i];handler.apply(this,args)}else if(isObject(handler)){for(len=arguments.length,args=Array(len-1),i=1;len>i;i++)args[i-1]=arguments[i];for(listeners=handler.slice(),len=listeners.length,i=0;len>i;i++)listeners[i].apply(this,args)}return!0},EventEmitter.prototype.addListener=function(type,listener){var m;if(!isFunction(listener))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",type,isFunction(listener.listener)?listener.listener:listener),this._events[type]?isObject(this._events[type])?this._events[type].push(listener):this._events[type]=[this._events[type],listener]:this._events[type]=listener,isObject(this._events[type])&&!this._events[type].warned){var m;m=isUndefined(this._maxListeners)?EventEmitter.defaultMaxListeners:this._maxListeners,m&&m>0&&this._events[type].length>m&&(this._events[type].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[type].length),"function"==typeof console.trace&&console.trace())}return this},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.once=function(type,listener){function g(){this.removeListener(type,g),fired||(fired=!0,listener.apply(this,arguments))}if(!isFunction(listener))throw TypeError("listener must be a function");var fired=!1;return g.listener=listener,this.on(type,g),this},EventEmitter.prototype.removeListener=function(type,listener){var list,position,length,i;if(!isFunction(listener))throw TypeError("listener must be a function");if(!this._events||!this._events[type])return this;if(list=this._events[type],length=list.length,position=-1,list===listener||isFunction(list.listener)&&list.listener===listener)delete this._events[type],this._events.removeListener&&this.emit("removeListener",type,listener);else if(isObject(list)){for(i=length;i-->0;)if(list[i]===listener||list[i].listener&&list[i].listener===listener){position=i;break}if(0>position)return this;1===list.length?(list.length=0,delete this._events[type]):list.splice(position,1),this._events.removeListener&&this.emit("removeListener",type,listener)}return this},EventEmitter.prototype.removeAllListeners=function(type){var key,listeners;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[type]&&delete this._events[type],this;if(0===arguments.length){for(key in this._events)"removeListener"!==key&&this.removeAllListeners(key);return this.removeAllListeners("removeListener"),this._events={},this\n}if(listeners=this._events[type],isFunction(listeners))this.removeListener(type,listeners);else for(;listeners.length;)this.removeListener(type,listeners[listeners.length-1]);return delete this._events[type],this},EventEmitter.prototype.listeners=function(type){var ret;return ret=this._events&&this._events[type]?isFunction(this._events[type])?[this._events[type]]:this._events[type].slice():[]},EventEmitter.listenerCount=function(emitter,type){var ret;return ret=emitter._events&&emitter._events[type]?isFunction(emitter._events[type])?1:emitter._events[type].length:0}},{}],"/node_modules/jshint/data/ascii-identifier-data.js":[function(_dereq_,module){for(var identifierStartTable=[],i=0;128>i;i++)identifierStartTable[i]=36===i||i>=65&&90>=i||95===i||i>=97&&122>=i;for(var identifierPartTable=[],i=0;128>i;i++)identifierPartTable[i]=identifierStartTable[i]||i>=48&&57>=i;module.exports={asciiIdentifierStartTable:identifierStartTable,asciiIdentifierPartTable:identifierPartTable}},{}],"/node_modules/jshint/lodash.js":[function(_dereq_,module,exports){(function(global){(function(){function baseFindIndex(array,predicate,fromRight){for(var length=array.length,index=fromRight?length:-1;fromRight?index--:length>++index;)if(predicate(array[index],index,array))return index;return-1}function baseIndexOf(array,value,fromIndex){if(value!==value)return indexOfNaN(array,fromIndex);for(var index=fromIndex-1,length=array.length;length>++index;)if(array[index]===value)return index;return-1}function baseIsFunction(value){return"function"==typeof value||!1}function baseToString(value){return"string"==typeof value?value:null==value?"":value+""}function indexOfNaN(array,fromIndex,fromRight){for(var length=array.length,index=fromIndex+(fromRight?0:-1);fromRight?index--:length>++index;){var other=array[index];if(other!==other)return index}return-1}function isObjectLike(value){return!!value&&"object"==typeof value}function lodash(){}function arrayCopy(source,array){var index=-1,length=source.length;for(array||(array=Array(length));length>++index;)array[index]=source[index];return array}function arrayEach(array,iteratee){for(var index=-1,length=array.length;length>++index&&iteratee(array[index],index,array)!==!1;);return array}function arrayFilter(array,predicate){for(var index=-1,length=array.length,resIndex=-1,result=[];length>++index;){var value=array[index];predicate(value,index,array)&&(result[++resIndex]=value)}return result}function arrayMap(array,iteratee){for(var index=-1,length=array.length,result=Array(length);length>++index;)result[index]=iteratee(array[index],index,array);return result}function arrayMax(array){for(var index=-1,length=array.length,result=NEGATIVE_INFINITY;length>++index;){var value=array[index];value>result&&(result=value)}return result}function arraySome(array,predicate){for(var index=-1,length=array.length;length>++index;)if(predicate(array[index],index,array))return!0;return!1}function assignWith(object,source,customizer){var props=keys(source);push.apply(props,getSymbols(source));for(var index=-1,length=props.length;length>++index;){var key=props[index],value=object[key],result=customizer(value,source[key],key,object,source);(result===result?result===value:value!==value)&&(value!==undefined||key in object)||(object[key]=result)}return object}function baseCopy(source,props,object){object||(object={});for(var index=-1,length=props.length;length>++index;){var key=props[index];object[key]=source[key]}return object}function baseCallback(func,thisArg,argCount){var type=typeof func;return"function"==type?thisArg===undefined?func:bindCallback(func,thisArg,argCount):null==func?identity:"object"==type?baseMatches(func):thisArg===undefined?property(func):baseMatchesProperty(func,thisArg)}function baseClone(value,isDeep,customizer,key,object,stackA,stackB){var result;if(customizer&&(result=object?customizer(value,key,object):customizer(value)),result!==undefined)return result;if(!isObject(value))return value;var isArr=isArray(value);if(isArr){if(result=initCloneArray(value),!isDeep)return arrayCopy(value,result)}else{var tag=objToString.call(value),isFunc=tag==funcTag;if(tag!=objectTag&&tag!=argsTag&&(!isFunc||object))return cloneableTags[tag]?initCloneByTag(value,tag,isDeep):object?value:{};if(result=initCloneObject(isFunc?{}:value),!isDeep)return baseAssign(result,value)}stackA||(stackA=[]),stackB||(stackB=[]);for(var length=stackA.length;length--;)if(stackA[length]==value)return stackB[length];return stackA.push(value),stackB.push(result),(isArr?arrayEach:baseForOwn)(value,function(subValue,key){result[key]=baseClone(subValue,isDeep,customizer,key,value,stackA,stackB)}),result}function baseFilter(collection,predicate){var result=[];return baseEach(collection,function(value,index,collection){predicate(value,index,collection)&&result.push(value)}),result}function baseForIn(object,iteratee){return baseFor(object,iteratee,keysIn)}function baseForOwn(object,iteratee){return baseFor(object,iteratee,keys)}function baseGet(object,path,pathKey){if(null!=object){pathKey!==undefined&&pathKey in toObject(object)&&(path=[pathKey]);for(var index=-1,length=path.length;null!=object&&length>++index;)var result=object=object[path[index]];return result}}function baseIsEqual(value,other,customizer,isLoose,stackA,stackB){if(value===other)return 0!==value||1/value==1/other;var valType=typeof value,othType=typeof other;return"function"!=valType&&"object"!=valType&&"function"!=othType&&"object"!=othType||null==value||null==other?value!==value&&other!==other:baseIsEqualDeep(value,other,baseIsEqual,customizer,isLoose,stackA,stackB)}function baseIsEqualDeep(object,other,equalFunc,customizer,isLoose,stackA,stackB){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=arrayTag,othTag=arrayTag;objIsArr||(objTag=objToString.call(object),objTag==argsTag?objTag=objectTag:objTag!=objectTag&&(objIsArr=isTypedArray(object))),othIsArr||(othTag=objToString.call(other),othTag==argsTag?othTag=objectTag:othTag!=objectTag&&(othIsArr=isTypedArray(other)));var objIsObj=objTag==objectTag,othIsObj=othTag==objectTag,isSameTag=objTag==othTag;if(isSameTag&&!objIsArr&&!objIsObj)return equalByTag(object,other,objTag);if(!isLoose){var valWrapped=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),othWrapped=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(valWrapped||othWrapped)return equalFunc(valWrapped?object.value():object,othWrapped?other.value():other,customizer,isLoose,stackA,stackB)}if(!isSameTag)return!1;stackA||(stackA=[]),stackB||(stackB=[]);for(var length=stackA.length;length--;)if(stackA[length]==object)return stackB[length]==other;stackA.push(object),stackB.push(other);var result=(objIsArr?equalArrays:equalObjects)(object,other,equalFunc,customizer,isLoose,stackA,stackB);return stackA.pop(),stackB.pop(),result}function baseIsMatch(object,props,values,strictCompareFlags,customizer){for(var index=-1,length=props.length,noCustomizer=!customizer;length>++index;)if(noCustomizer&&strictCompareFlags[index]?values[index]!==object[props[index]]:!(props[index]in object))return!1;for(index=-1;length>++index;){var key=props[index],objValue=object[key],srcValue=values[index];if(noCustomizer&&strictCompareFlags[index])var result=objValue!==undefined||key in object;else result=customizer?customizer(objValue,srcValue,key):undefined,result===undefined&&(result=baseIsEqual(srcValue,objValue,customizer,!0));if(!result)return!1}return!0}function baseMatches(source){var props=keys(source),length=props.length;if(!length)return constant(!0);if(1==length){var key=props[0],value=source[key];if(isStrictComparable(value))return function(object){return null==object?!1:object[key]===value&&(value!==undefined||key in toObject(object))}}for(var values=Array(length),strictCompareFlags=Array(length);length--;)value=source[props[length]],values[length]=value,strictCompareFlags[length]=isStrictComparable(value);return function(object){return null!=object&&baseIsMatch(toObject(object),props,values,strictCompareFlags)}}function baseMatchesProperty(path,value){var isArr=isArray(path),isCommon=isKey(path)&&isStrictComparable(value),pathKey=path+"";return path=toPath(path),function(object){if(null==object)return!1;var key=pathKey;if(object=toObject(object),!(!isArr&&isCommon||key in object)){if(object=1==path.length?object:baseGet(object,baseSlice(path,0,-1)),null==object)return!1;key=last(path),object=toObject(object)}return object[key]===value?value!==undefined||key in object:baseIsEqual(value,object[key],null,!0)}}function baseMerge(object,source,customizer,stackA,stackB){if(!isObject(object))return object;var isSrcArr=isLength(source.length)&&(isArray(source)||isTypedArray(source));if(!isSrcArr){var props=keys(source);push.apply(props,getSymbols(source))}return arrayEach(props||source,function(srcValue,key){if(props&&(key=srcValue,srcValue=source[key]),isObjectLike(srcValue))stackA||(stackA=[]),stackB||(stackB=[]),baseMergeDeep(object,source,key,baseMerge,customizer,stackA,stackB);else{var value=object[key],result=customizer?customizer(value,srcValue,key,object,source):undefined,isCommon=result===undefined;isCommon&&(result=srcValue),!isSrcArr&&result===undefined||!isCommon&&(result===result?result===value:value!==value)||(object[key]=result)}}),object}function baseMergeDeep(object,source,key,mergeFunc,customizer,stackA,stackB){for(var length=stackA.length,srcValue=source[key];length--;)if(stackA[length]==srcValue)return object[key]=stackB[length],undefined;var value=object[key],result=customizer?customizer(value,srcValue,key,object,source):undefined,isCommon=result===undefined;isCommon&&(result=srcValue,isLength(srcValue.length)&&(isArray(srcValue)||isTypedArray(srcValue))?result=isArray(value)?value:getLength(value)?arrayCopy(value):[]:isPlainObject(srcValue)||isArguments(srcValue)?result=isArguments(value)?toPlainObject(value):isPlainObject(value)?value:{}:isCommon=!1),stackA.push(srcValue),stackB.push(result),isCommon?object[key]=mergeFunc(result,srcValue,customizer,stackA,stackB):(result===result?result!==value:value===value)&&(object[key]=result)}function baseProperty(key){return function(object){return null==object?undefined:object[key]}}function basePropertyDeep(path){var pathKey=path+"";return path=toPath(path),function(object){return baseGet(object,path,pathKey)}}function baseSlice(array,start,end){var index=-1,length=array.length;start=null==start?0:+start||0,0>start&&(start=-start>length?0:length+start),end=end===undefined||end>length?length:+end||0,0>end&&(end+=length),length=start>end?0:end-start>>>0,start>>>=0;for(var result=Array(length);length>++index;)result[index]=array[index+start];return result}function baseSome(collection,predicate){var result;return baseEach(collection,function(value,index,collection){return result=predicate(value,index,collection),!result}),!!result}function baseValues(object,props){for(var index=-1,length=props.length,result=Array(length);length>++index;)result[index]=object[props[index]];return result}function binaryIndex(array,value,retHighest){var low=0,high=array?array.length:low;if("number"==typeof value&&value===value&&HALF_MAX_ARRAY_LENGTH>=high){for(;high>low;){var mid=low+high>>>1,computed=array[mid];(retHighest?value>=computed:value>computed)?low=mid+1:high=mid}return high}return binaryIndexBy(array,value,identity,retHighest)}function binaryIndexBy(array,value,iteratee,retHighest){value=iteratee(value);for(var low=0,high=array?array.length:0,valIsNaN=value!==value,valIsUndef=value===undefined;high>low;){var mid=floor((low+high)/2),computed=iteratee(array[mid]),isReflexive=computed===computed;if(valIsNaN)var setLow=isReflexive||retHighest;else setLow=valIsUndef?isReflexive&&(retHighest||computed!==undefined):retHighest?value>=computed:value>computed;setLow?low=mid+1:high=mid}return nativeMin(high,MAX_ARRAY_INDEX)}function bindCallback(func,thisArg,argCount){if("function"!=typeof func)return identity;if(thisArg===undefined)return func;switch(argCount){case 1:return function(value){return func.call(thisArg,value)};case 3:return function(value,index,collection){return func.call(thisArg,value,index,collection)};case 4:return function(accumulator,value,index,collection){return func.call(thisArg,accumulator,value,index,collection)};case 5:return function(value,other,key,object,source){return func.call(thisArg,value,other,key,object,source)}}return function(){return func.apply(thisArg,arguments)}}function bufferClone(buffer){return bufferSlice.call(buffer,0)}function createAssigner(assigner){return restParam(function(object,sources){var index=-1,length=null==object?0:sources.length,customizer=length>2&&sources[length-2],guard=length>2&&sources[2],thisArg=length>1&&sources[length-1];for("function"==typeof customizer?(customizer=bindCallback(customizer,thisArg,5),length-=2):(customizer="function"==typeof thisArg?thisArg:null,length-=customizer?1:0),guard&&isIterateeCall(sources[0],sources[1],guard)&&(customizer=3>length?null:customizer,length=1);length>++index;){var source=sources[index];source&&assigner(object,source,customizer)}return object})}function createBaseEach(eachFunc,fromRight){return function(collection,iteratee){var length=collection?getLength(collection):0;if(!isLength(length))return eachFunc(collection,iteratee);for(var index=fromRight?length:-1,iterable=toObject(collection);(fromRight?index--:length>++index)&&iteratee(iterable[index],index,iterable)!==!1;);return collection}}function createBaseFor(fromRight){return function(object,iteratee,keysFunc){for(var iterable=toObject(object),props=keysFunc(object),length=props.length,index=fromRight?length:-1;fromRight?index--:length>++index;){var key=props[index];if(iteratee(iterable[key],key,iterable)===!1)break}return object}}function createFindIndex(fromRight){return function(array,predicate,thisArg){return array&&array.length?(predicate=getCallback(predicate,thisArg,3),baseFindIndex(array,predicate,fromRight)):-1}}function createForEach(arrayFunc,eachFunc){return function(collection,iteratee,thisArg){return"function"==typeof iteratee&&thisArg===undefined&&isArray(collection)?arrayFunc(collection,iteratee):eachFunc(collection,bindCallback(iteratee,thisArg,3))}}function equalArrays(array,other,equalFunc,customizer,isLoose,stackA,stackB){var index=-1,arrLength=array.length,othLength=other.length,result=!0;if(arrLength!=othLength&&!(isLoose&&othLength>arrLength))return!1;for(;result&&arrLength>++index;){var arrValue=array[index],othValue=other[index];if(result=undefined,customizer&&(result=isLoose?customizer(othValue,arrValue,index):customizer(arrValue,othValue,index)),result===undefined)if(isLoose)for(var othIndex=othLength;othIndex--&&(othValue=other[othIndex],!(result=arrValue&&arrValue===othValue||equalFunc(arrValue,othValue,customizer,isLoose,stackA,stackB))););else result=arrValue&&arrValue===othValue||equalFunc(arrValue,othValue,customizer,isLoose,stackA,stackB)}return!!result}function equalByTag(object,other,tag){switch(tag){case boolTag:case dateTag:return+object==+other;case errorTag:return object.name==other.name&&object.message==other.message;case numberTag:return object!=+object?other!=+other:0==object?1/object==1/other:object==+other;case regexpTag:case stringTag:return object==other+""}return!1}function equalObjects(object,other,equalFunc,customizer,isLoose,stackA,stackB){var objProps=keys(object),objLength=objProps.length,othProps=keys(other),othLength=othProps.length;if(objLength!=othLength&&!isLoose)return!1;for(var skipCtor=isLoose,index=-1;objLength>++index;){var key=objProps[index],result=isLoose?key in other:hasOwnProperty.call(other,key);if(result){var objValue=object[key],othValue=other[key];result=undefined,customizer&&(result=isLoose?customizer(othValue,objValue,key):customizer(objValue,othValue,key)),result===undefined&&(result=objValue&&objValue===othValue||equalFunc(objValue,othValue,customizer,isLoose,stackA,stackB))}if(!result)return!1;skipCtor||(skipCtor="constructor"==key)}if(!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;if(objCtor!=othCtor&&"constructor"in object&&"constructor"in other&&!("function"==typeof objCtor&&objCtor instanceof objCtor&&"function"==typeof othCtor&&othCtor instanceof othCtor))return!1}return!0}function getCallback(func,thisArg,argCount){var result=lodash.callback||callback;return result=result===callback?baseCallback:result,argCount?result(func,thisArg,argCount):result}function getIndexOf(collection,target,fromIndex){var result=lodash.indexOf||indexOf;return result=result===indexOf?baseIndexOf:result,collection?result(collection,target,fromIndex):result}function initCloneArray(array){var length=array.length,result=new array.constructor(length);return length&&"string"==typeof array[0]&&hasOwnProperty.call(array,"index")&&(result.index=array.index,result.input=array.input),result}function initCloneObject(object){var Ctor=object.constructor;return"function"==typeof Ctor&&Ctor instanceof Ctor||(Ctor=Object),new Ctor}function initCloneByTag(object,tag,isDeep){var Ctor=object.constructor;switch(tag){case arrayBufferTag:return bufferClone(object);case boolTag:case dateTag:return new Ctor(+object);case float32Tag:case float64Tag:case int8Tag:case int16Tag:case int32Tag:case uint8Tag:case uint8ClampedTag:case uint16Tag:case uint32Tag:var buffer=object.buffer;return new Ctor(isDeep?bufferClone(buffer):buffer,object.byteOffset,object.length);case numberTag:case stringTag:return new Ctor(object);case regexpTag:var result=new Ctor(object.source,reFlags.exec(object));result.lastIndex=object.lastIndex}return result}function isIndex(value,length){return value=+value,length=null==length?MAX_SAFE_INTEGER:length,value>-1&&0==value%1&&length>value}function isIterateeCall(value,index,object){if(!isObject(object))return!1;var type=typeof index;if("number"==type)var length=getLength(object),prereq=isLength(length)&&isIndex(index,length);else prereq="string"==type&&index in object;if(prereq){var other=object[index];return value===value?value===other:other!==other}return!1}function isKey(value,object){var type=typeof value;if("string"==type&&reIsPlainProp.test(value)||"number"==type)return!0;if(isArray(value))return!1;var result=!reIsDeepProp.test(value);return result||null!=object&&value in toObject(object)}function isLength(value){return"number"==typeof value&&value>-1&&0==value%1&&MAX_SAFE_INTEGER>=value}function isStrictComparable(value){return value===value&&(0===value?1/value>0:!isObject(value))}function shimIsPlainObject(value){var Ctor;if(lodash.support,!isObjectLike(value)||objToString.call(value)!=objectTag||!hasOwnProperty.call(value,"constructor")&&(Ctor=value.constructor,"function"==typeof Ctor&&!(Ctor instanceof Ctor)))return!1;var result;return baseForIn(value,function(subValue,key){result=key}),result===undefined||hasOwnProperty.call(value,result)}function shimKeys(object){for(var props=keysIn(object),propsLength=props.length,length=propsLength&&object.length,support=lodash.support,allowIndexes=length&&isLength(length)&&(isArray(object)||support.nonEnumArgs&&isArguments(object)),index=-1,result=[];propsLength>++index;){var key=props[index];(allowIndexes&&isIndex(key,length)||hasOwnProperty.call(object,key))&&result.push(key)}return result}function toObject(value){return isObject(value)?value:Object(value)}function toPath(value){if(isArray(value))return value;var result=[];return baseToString(value).replace(rePropName,function(match,number,quote,string){result.push(quote?string.replace(reEscapeChar,"$1"):number||match)}),result}function indexOf(array,value,fromIndex){var length=array?array.length:0;if(!length)return-1;if("number"==typeof fromIndex)fromIndex=0>fromIndex?nativeMax(length+fromIndex,0):fromIndex;else if(fromIndex){var index=binaryIndex(array,value),other=array[index];return(value===value?value===other:other!==other)?index:-1}return baseIndexOf(array,value,fromIndex||0)}function last(array){var length=array?array.length:0;return length?array[length-1]:undefined}function slice(array,start,end){var length=array?array.length:0;return length?(end&&"number"!=typeof end&&isIterateeCall(array,start,end)&&(start=0,end=length),baseSlice(array,start,end)):[]}function unzip(array){for(var index=-1,length=(array&&array.length&&arrayMax(arrayMap(array,getLength)))>>>0,result=Array(length);length>++index;)result[index]=arrayMap(array,baseProperty(index));return result}function includes(collection,target,fromIndex,guard){var length=collection?getLength(collection):0;return isLength(length)||(collection=values(collection),length=collection.length),length?(fromIndex="number"!=typeof fromIndex||guard&&isIterateeCall(target,fromIndex,guard)?0:0>fromIndex?nativeMax(length+fromIndex,0):fromIndex||0,"string"==typeof collection||!isArray(collection)&&isString(collection)?length>fromIndex&&collection.indexOf(target,fromIndex)>-1:getIndexOf(collection,target,fromIndex)>-1):!1}function reject(collection,predicate,thisArg){var func=isArray(collection)?arrayFilter:baseFilter;return predicate=getCallback(predicate,thisArg,3),func(collection,function(value,index,collection){return!predicate(value,index,collection)})}function some(collection,predicate,thisArg){var func=isArray(collection)?arraySome:baseSome;return thisArg&&isIterateeCall(collection,predicate,thisArg)&&(predicate=null),("function"!=typeof predicate||thisArg!==undefined)&&(predicate=getCallback(predicate,thisArg,3)),func(collection,predicate)}function restParam(func,start){if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return start=nativeMax(start===undefined?func.length-1:+start||0,0),function(){for(var args=arguments,index=-1,length=nativeMax(args.length-start,0),rest=Array(length);length>++index;)rest[index]=args[start+index];switch(start){case 0:return func.call(this,rest);case 1:return func.call(this,args[0],rest);case 2:return func.call(this,args[0],args[1],rest)}var otherArgs=Array(start+1);for(index=-1;start>++index;)otherArgs[index]=args[index];return otherArgs[start]=rest,func.apply(this,otherArgs)}}function clone(value,isDeep,customizer,thisArg){return isDeep&&"boolean"!=typeof isDeep&&isIterateeCall(value,isDeep,customizer)?isDeep=!1:"function"==typeof isDeep&&(thisArg=customizer,customizer=isDeep,isDeep=!1),customizer="function"==typeof customizer&&bindCallback(customizer,thisArg,1),baseClone(value,isDeep,customizer)}function isArguments(value){var length=isObjectLike(value)?value.length:undefined;return isLength(length)&&objToString.call(value)==argsTag}function isEmpty(value){if(null==value)return!0;var length=getLength(value);return isLength(length)&&(isArray(value)||isString(value)||isArguments(value)||isObjectLike(value)&&isFunction(value.splice))?!length:!keys(value).length}function isObject(value){var type=typeof value;return"function"==type||!!value&&"object"==type}function isNative(value){return null==value?!1:objToString.call(value)==funcTag?reIsNative.test(fnToString.call(value)):isObjectLike(value)&&reIsHostCtor.test(value)}function isNumber(value){return"number"==typeof value||isObjectLike(value)&&objToString.call(value)==numberTag}function isString(value){return"string"==typeof value||isObjectLike(value)&&objToString.call(value)==stringTag}function isTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[objToString.call(value)]}function toPlainObject(value){return baseCopy(value,keysIn(value))}function has(object,path){if(null==object)return!1;var result=hasOwnProperty.call(object,path);return result||isKey(path)||(path=toPath(path),object=1==path.length?object:baseGet(object,baseSlice(path,0,-1)),path=last(path),result=null!=object&&hasOwnProperty.call(object,path)),result}function keysIn(object){if(null==object)return[];isObject(object)||(object=Object(object));var length=object.length;length=length&&isLength(length)&&(isArray(object)||support.nonEnumArgs&&isArguments(object))&&length||0;for(var Ctor=object.constructor,index=-1,isProto="function"==typeof Ctor&&Ctor.prototype===object,result=Array(length),skipIndexes=length>0;length>++index;)result[index]=index+"";for(var key in object)skipIndexes&&isIndex(key,length)||"constructor"==key&&(isProto||!hasOwnProperty.call(object,key))||result.push(key);return result}function values(object){return baseValues(object,keys(object))}function escapeRegExp(string){return string=baseToString(string),string&&reHasRegExpChars.test(string)?string.replace(reRegExpChars,"\\\\$&"):string}function callback(func,thisArg,guard){return guard&&isIterateeCall(func,thisArg,guard)&&(thisArg=null),baseCallback(func,thisArg)}function constant(value){return function(){return value}}function identity(value){return value}function property(path){return isKey(path)?baseProperty(path):basePropertyDeep(path)}var undefined,VERSION="3.7.0",FUNC_ERROR_TEXT="Expected a function",argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",reIsDeepProp=/\\.|\\[(?:[^[\\]]+|(["\'])(?:(?!\\1)[^\\n\\\\]|\\\\.)*?)\\1\\]/,reIsPlainProp=/^\\w*$/,rePropName=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|(["\'])((?:(?!\\2)[^\\n\\\\]|\\\\.)*?)\\2)\\]/g,reRegExpChars=/[.*+?^${}()|[\\]\\/\\\\]/g,reHasRegExpChars=RegExp(reRegExpChars.source),reEscapeChar=/\\\\(\\\\)?/g,reFlags=/\\w*$/,reIsHostCtor=/^\\[object .+?Constructor\\]$/,typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0,typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;var cloneableTags={};cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[stringTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0,cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[mapTag]=cloneableTags[setTag]=cloneableTags[weakMapTag]=!1;var objectTypes={"function":!0,object:!0},freeExports=objectTypes[typeof exports]&&exports&&!exports.nodeType&&exports,freeModule=objectTypes[typeof module]&&module&&!module.nodeType&&module,freeGlobal=freeExports&&freeModule&&"object"==typeof global&&global&&global.Object&&global,freeSelf=objectTypes[typeof self]&&self&&self.Object&&self,freeWindow=objectTypes[typeof window]&&window&&window.Object&&window,moduleExports=freeModule&&freeModule.exports===freeExports&&freeExports,root=freeGlobal||freeWindow!==(this&&this.window)&&freeWindow||freeSelf||this,arrayProto=Array.prototype,objectProto=Object.prototype,fnToString=Function.prototype.toString,hasOwnProperty=objectProto.hasOwnProperty,objToString=objectProto.toString,reIsNative=RegExp("^"+escapeRegExp(objToString).replace(/toString|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,"$1.*?")+"$"),ArrayBuffer=isNative(ArrayBuffer=root.ArrayBuffer)&&ArrayBuffer,bufferSlice=isNative(bufferSlice=ArrayBuffer&&new ArrayBuffer(0).slice)&&bufferSlice,floor=Math.floor,getOwnPropertySymbols=isNative(getOwnPropertySymbols=Object.getOwnPropertySymbols)&&getOwnPropertySymbols,getPrototypeOf=isNative(getPrototypeOf=Object.getPrototypeOf)&&getPrototypeOf,push=arrayProto.push,preventExtensions=isNative(Object.preventExtensions=Object.preventExtensions)&&preventExtensions,propertyIsEnumerable=objectProto.propertyIsEnumerable,Uint8Array=isNative(Uint8Array=root.Uint8Array)&&Uint8Array,Float64Array=function(){try{var func=isNative(func=root.Float64Array)&&func,result=new func(new ArrayBuffer(10),0,1)&&func}catch(e){}return result}(),nativeAssign=function(){var object={1:0},func=preventExtensions&&isNative(func=Object.assign)&&func;try{func(preventExtensions(object),"xo")}catch(e){}return!object[1]&&func}(),nativeIsArray=isNative(nativeIsArray=Array.isArray)&&nativeIsArray,nativeKeys=isNative(nativeKeys=Object.keys)&&nativeKeys,nativeMax=Math.max,nativeMin=Math.min,NEGATIVE_INFINITY=Number.NEGATIVE_INFINITY,MAX_ARRAY_LENGTH=Math.pow(2,32)-1,MAX_ARRAY_INDEX=MAX_ARRAY_LENGTH-1,HALF_MAX_ARRAY_LENGTH=MAX_ARRAY_LENGTH>>>1,FLOAT64_BYTES_PER_ELEMENT=Float64Array?Float64Array.BYTES_PER_ELEMENT:0,MAX_SAFE_INTEGER=Math.pow(2,53)-1,support=lodash.support={};(function(x){var Ctor=function(){this.x=x},props=[];Ctor.prototype={valueOf:x,y:x};for(var key in new Ctor)props.push(key);support.funcDecomp=/\\bthis\\b/.test(function(){return this}),support.funcNames="string"==typeof Function.name;try{support.nonEnumArgs=!propertyIsEnumerable.call(arguments,1)}catch(e){support.nonEnumArgs=!0}})(1,0);var baseAssign=nativeAssign||function(object,source){return null==source?object:baseCopy(source,getSymbols(source),baseCopy(source,keys(source),object))},baseEach=createBaseEach(baseForOwn),baseFor=createBaseFor();bufferSlice||(bufferClone=ArrayBuffer&&Uint8Array?function(buffer){var byteLength=buffer.byteLength,floatLength=Float64Array?floor(byteLength/FLOAT64_BYTES_PER_ELEMENT):0,offset=floatLength*FLOAT64_BYTES_PER_ELEMENT,result=new ArrayBuffer(byteLength);if(floatLength){var view=new Float64Array(result,0,floatLength);view.set(new Float64Array(buffer,0,floatLength))}return byteLength!=offset&&(view=new Uint8Array(result,offset),view.set(new Uint8Array(buffer,offset))),result}:constant(null));var getLength=baseProperty("length"),getSymbols=getOwnPropertySymbols?function(object){return getOwnPropertySymbols(toObject(object))}:constant([]),findLastIndex=createFindIndex(!0),zip=restParam(unzip),forEach=createForEach(arrayEach,baseEach),isArray=nativeIsArray||function(value){return isObjectLike(value)&&isLength(value.length)&&objToString.call(value)==arrayTag},isFunction=baseIsFunction(/x/)||Uint8Array&&!baseIsFunction(Uint8Array)?function(value){return objToString.call(value)==funcTag}:baseIsFunction,isPlainObject=getPrototypeOf?function(value){if(!value||objToString.call(value)!=objectTag)return!1;var valueOf=value.valueOf,objProto=isNative(valueOf)&&(objProto=getPrototypeOf(valueOf))&&getPrototypeOf(objProto);return objProto?value==objProto||getPrototypeOf(value)==objProto:shimIsPlainObject(value)}:shimIsPlainObject,assign=createAssigner(function(object,source,customizer){return customizer?assignWith(object,source,customizer):baseAssign(object,source)}),keys=nativeKeys?function(object){if(object)var Ctor=object.constructor,length=object.length;return"function"==typeof Ctor&&Ctor.prototype===object||"function"!=typeof object&&isLength(length)?shimKeys(object):isObject(object)?nativeKeys(object):[]}:shimKeys,merge=createAssigner(baseMerge);lodash.assign=assign,lodash.callback=callback,lodash.constant=constant,lodash.forEach=forEach,lodash.keys=keys,lodash.keysIn=keysIn,lodash.merge=merge,lodash.property=property,lodash.reject=reject,lodash.restParam=restParam,lodash.slice=slice,lodash.toPlainObject=toPlainObject,lodash.unzip=unzip,lodash.values=values,lodash.zip=zip,lodash.each=forEach,lodash.extend=assign,lodash.iteratee=callback,lodash.clone=clone,lodash.escapeRegExp=escapeRegExp,lodash.findLastIndex=findLastIndex,lodash.has=has,lodash.identity=identity,lodash.includes=includes,lodash.indexOf=indexOf,lodash.isArguments=isArguments,lodash.isArray=isArray,lodash.isEmpty=isEmpty,lodash.isFunction=isFunction,lodash.isNative=isNative,lodash.isNumber=isNumber,lodash.isObject=isObject,lodash.isPlainObject=isPlainObject,lodash.isString=isString,lodash.isTypedArray=isTypedArray,lodash.last=last,lodash.some=some,lodash.any=some,lodash.contains=includes,lodash.include=includes,lodash.VERSION=VERSION,freeExports&&freeModule?moduleExports?(freeModule.exports=lodash)._=lodash:freeExports._=lodash:root._=lodash\n}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],"/node_modules/jshint/src/jshint.js":[function(_dereq_,module,exports){var _=_dereq_("../lodash"),events=_dereq_("events"),vars=_dereq_("./vars.js"),messages=_dereq_("./messages.js"),Lexer=_dereq_("./lex.js").Lexer,reg=_dereq_("./reg.js"),state=_dereq_("./state.js").state,style=_dereq_("./style.js"),options=_dereq_("./options.js"),scopeManager=_dereq_("./scope-manager.js"),JSHINT=function(){"use strict";function checkOption(name,t){return name=name.trim(),/^[+-]W\\d{3}$/g.test(name)?!0:-1!==options.validNames.indexOf(name)||"jslint"===t.type||_.has(options.removed,name)?!0:(error("E001",t,name),!1)}function isString(obj){return"[object String]"===Object.prototype.toString.call(obj)}function isIdentifier(tkn,value){return tkn?tkn.identifier&&tkn.value===value?!0:!1:!1}function isReserved(token){if(!token.reserved)return!1;var meta=token.meta;if(meta&&meta.isFutureReservedWord&&state.inES5()){if(!meta.es5)return!1;if(meta.strictOnly&&!state.option.strict&&!state.isStrict())return!1;if(token.isProperty)return!1}return!0}function supplant(str,data){return str.replace(/\\{([^{}]*)\\}/g,function(a,b){var r=data[b];return"string"==typeof r||"number"==typeof r?r:a})}function combine(dest,src){Object.keys(src).forEach(function(name){_.has(JSHINT.blacklist,name)||(dest[name]=src[name])})}function processenforceall(){if(state.option.enforceall){for(var enforceopt in options.bool.enforcing)void 0!==state.option[enforceopt]||options.noenforceall[enforceopt]||(state.option[enforceopt]=!0);for(var relaxopt in options.bool.relaxing)void 0===state.option[relaxopt]&&(state.option[relaxopt]=!1)}}function assume(){processenforceall(),state.option.esversion||state.option.moz||(state.option.esversion=state.option.es3?3:state.option.esnext?6:5),state.inES5()&&combine(predefined,vars.ecmaIdentifiers[5]),state.inES6()&&combine(predefined,vars.ecmaIdentifiers[6]),state.option.module&&(state.option.strict===!0&&(state.option.strict="global"),state.inES6()||warning("W134",state.tokens.next,"module",6)),state.option.couch&&combine(predefined,vars.couch),state.option.qunit&&combine(predefined,vars.qunit),state.option.rhino&&combine(predefined,vars.rhino),state.option.shelljs&&(combine(predefined,vars.shelljs),combine(predefined,vars.node)),state.option.typed&&combine(predefined,vars.typed),state.option.phantom&&(combine(predefined,vars.phantom),state.option.strict===!0&&(state.option.strict="global")),state.option.prototypejs&&combine(predefined,vars.prototypejs),state.option.node&&(combine(predefined,vars.node),combine(predefined,vars.typed),state.option.strict===!0&&(state.option.strict="global")),state.option.devel&&combine(predefined,vars.devel),state.option.dojo&&combine(predefined,vars.dojo),state.option.browser&&(combine(predefined,vars.browser),combine(predefined,vars.typed)),state.option.browserify&&(combine(predefined,vars.browser),combine(predefined,vars.typed),combine(predefined,vars.browserify),state.option.strict===!0&&(state.option.strict="global")),state.option.nonstandard&&combine(predefined,vars.nonstandard),state.option.jasmine&&combine(predefined,vars.jasmine),state.option.jquery&&combine(predefined,vars.jquery),state.option.mootools&&combine(predefined,vars.mootools),state.option.worker&&combine(predefined,vars.worker),state.option.wsh&&combine(predefined,vars.wsh),state.option.globalstrict&&state.option.strict!==!1&&(state.option.strict="global"),state.option.yui&&combine(predefined,vars.yui),state.option.mocha&&combine(predefined,vars.mocha)}function quit(code,line,chr){var percentage=Math.floor(100*(line/state.lines.length)),message=messages.errors[code].desc;throw{name:"JSHintError",line:line,character:chr,message:message+" ("+percentage+"% scanned).",raw:message,code:code}}function removeIgnoredMessages(){var ignored=state.ignoredLines;_.isEmpty(ignored)||(JSHINT.errors=_.reject(JSHINT.errors,function(err){return ignored[err.line]}))}function warning(code,t,a,b,c,d){var ch,l,w,msg;if(/^W\\d{3}$/.test(code)){if(state.ignored[code])return;msg=messages.warnings[code]}else/E\\d{3}/.test(code)?msg=messages.errors[code]:/I\\d{3}/.test(code)&&(msg=messages.info[code]);return t=t||state.tokens.next||{},"(end)"===t.id&&(t=state.tokens.curr),l=t.line||0,ch=t.from||0,w={id:"(error)",raw:msg.desc,code:msg.code,evidence:state.lines[l-1]||"",line:l,character:ch,scope:JSHINT.scope,a:a,b:b,c:c,d:d},w.reason=supplant(msg.desc,w),JSHINT.errors.push(w),removeIgnoredMessages(),JSHINT.errors.length>=state.option.maxerr&&quit("E043",l,ch),w}function warningAt(m,l,ch,a,b,c,d){return warning(m,{line:l,from:ch},a,b,c,d)}function error(m,t,a,b,c,d){warning(m,t,a,b,c,d)}function errorAt(m,l,ch,a,b,c,d){return error(m,{line:l,from:ch},a,b,c,d)}function addInternalSrc(elem,src){var i;return i={id:"(internal)",elem:elem,value:src},JSHINT.internals.push(i),i}function doOption(){var nt=state.tokens.next,body=nt.body.match(/(-\\s+)?[^\\s,:]+(?:\\s*:\\s*(-\\s+)?[^\\s,]+)?/g)||[],predef={};if("globals"===nt.type){body.forEach(function(g,idx){g=g.split(":");var key=(g[0]||"").trim(),val=(g[1]||"").trim();if("-"===key||!key.length){if(idx>0&&idx===body.length-1)return;return error("E002",nt),void 0}"-"===key.charAt(0)?(key=key.slice(1),val=!1,JSHINT.blacklist[key]=key,delete predefined[key]):predef[key]="true"===val}),combine(predefined,predef);for(var key in predef)_.has(predef,key)&&(declared[key]=nt)}"exported"===nt.type&&body.forEach(function(e,idx){if(!e.length){if(idx>0&&idx===body.length-1)return;return error("E002",nt),void 0}state.funct["(scope)"].addExported(e)}),"members"===nt.type&&(membersOnly=membersOnly||{},body.forEach(function(m){var ch1=m.charAt(0),ch2=m.charAt(m.length-1);ch1!==ch2||\'"\'!==ch1&&"\'"!==ch1||(m=m.substr(1,m.length-2).replace(\'\\\\"\',\'"\')),membersOnly[m]=!1}));var numvals=["maxstatements","maxparams","maxdepth","maxcomplexity","maxerr","maxlen","indent"];("jshint"===nt.type||"jslint"===nt.type)&&(body.forEach(function(g){g=g.split(":");var key=(g[0]||"").trim(),val=(g[1]||"").trim();if(checkOption(key,nt))if(numvals.indexOf(key)>=0)if("false"!==val){if(val=+val,"number"!=typeof val||!isFinite(val)||0>=val||Math.floor(val)!==val)return error("E032",nt,g[1].trim()),void 0;state.option[key]=val}else state.option[key]="indent"===key?4:!1;else{if("validthis"===key)return state.funct["(global)"]?void error("E009"):"true"!==val&&"false"!==val?void error("E002",nt):(state.option.validthis="true"===val,void 0);if("quotmark"!==key)if("shadow"!==key)if("unused"!==key)if("latedef"!==key)if("ignore"!==key)if("strict"!==key){"module"===key&&(hasParsedCode(state.funct)||error("E055",state.tokens.next,"module"));var esversions={es3:3,es5:5,esnext:6};if(!_.has(esversions,key)){if("esversion"===key){switch(val){case"5":state.inES5(!0)&&warning("I003");case"3":case"6":state.option.moz=!1,state.option.esversion=+val;break;case"2015":state.option.moz=!1,state.option.esversion=6;break;default:error("E002",nt)}return hasParsedCode(state.funct)||error("E055",state.tokens.next,"esversion"),void 0}var match=/^([+-])(W\\d{3})$/g.exec(key);if(match)return state.ignored[match[2]]="-"===match[1],void 0;var tn;return"true"===val||"false"===val?("jslint"===nt.type?(tn=options.renamed[key]||key,state.option[tn]="true"===val,void 0!==options.inverted[tn]&&(state.option[tn]=!state.option[tn])):state.option[key]="true"===val,"newcap"===key&&(state.option["(explicitNewcap)"]=!0),void 0):(error("E002",nt),void 0)}switch(val){case"true":state.option.moz=!1,state.option.esversion=esversions[key];break;case"false":state.option.moz||(state.option.esversion=5);break;default:error("E002",nt)}}else switch(val){case"true":state.option.strict=!0;break;case"false":state.option.strict=!1;break;case"func":case"global":case"implied":state.option.strict=val;break;default:error("E002",nt)}else switch(val){case"line":state.ignoredLines[nt.line]=!0,removeIgnoredMessages();break;default:error("E002",nt)}else switch(val){case"true":state.option.latedef=!0;break;case"false":state.option.latedef=!1;break;case"nofunc":state.option.latedef="nofunc";break;default:error("E002",nt)}else switch(val){case"true":state.option.unused=!0;break;case"false":state.option.unused=!1;break;case"vars":case"strict":state.option.unused=val;break;default:error("E002",nt)}else switch(val){case"true":state.option.shadow=!0;break;case"outer":state.option.shadow="outer";break;case"false":case"inner":state.option.shadow="inner";break;default:error("E002",nt)}else switch(val){case"true":case"false":state.option.quotmark="true"===val;break;case"double":case"single":state.option.quotmark=val;break;default:error("E002",nt)}}}),assume())}function peek(p){var t,i=p||0,j=lookahead.length;if(j>i)return lookahead[i];for(;i>=j;)t=lookahead[j],t||(t=lookahead[j]=lex.token()),j+=1;return t||"(end)"!==state.tokens.next.id?t:state.tokens.next}function peekIgnoreEOL(){var t,i=0;do t=peek(i++);while("(endline)"===t.id);return t}function advance(id,t){switch(state.tokens.curr.id){case"(number)":"."===state.tokens.next.id&&warning("W005",state.tokens.curr);break;case"-":("-"===state.tokens.next.id||"--"===state.tokens.next.id)&&warning("W006");break;case"+":("+"===state.tokens.next.id||"++"===state.tokens.next.id)&&warning("W007")}for(id&&state.tokens.next.id!==id&&(t?"(end)"===state.tokens.next.id?error("E019",t,t.id):error("E020",state.tokens.next,id,t.id,t.line,state.tokens.next.value):("(identifier)"!==state.tokens.next.type||state.tokens.next.value!==id)&&warning("W116",state.tokens.next,id,state.tokens.next.value)),state.tokens.prev=state.tokens.curr,state.tokens.curr=state.tokens.next;;){if(state.tokens.next=lookahead.shift()||lex.token(),state.tokens.next||quit("E041",state.tokens.curr.line),"(end)"===state.tokens.next.id||"(error)"===state.tokens.next.id)return;if(state.tokens.next.check&&state.tokens.next.check(),state.tokens.next.isSpecial)"falls through"===state.tokens.next.type?state.tokens.curr.caseFallsThrough=!0:doOption();else if("(endline)"!==state.tokens.next.id)break}}function isInfix(token){return token.infix||!token.identifier&&!token.template&&!!token.led}function isEndOfExpr(){var curr=state.tokens.curr,next=state.tokens.next;return";"===next.id||"}"===next.id||":"===next.id?!0:isInfix(next)===isInfix(curr)||"yield"===curr.id&&state.inMoz()?curr.line!==startLine(next):!1}function isBeginOfExpr(prev){return!prev.left&&"unary"!==prev.arity}function expression(rbp,initial){var left,isArray=!1,isObject=!1,isLetExpr=!1;state.nameStack.push(),initial||"let"!==state.tokens.next.value||"("!==peek(0).value||(state.inMoz()||warning("W118",state.tokens.next,"let expressions"),isLetExpr=!0,state.funct["(scope)"].stack(),advance("let"),advance("("),state.tokens.prev.fud(),advance(")")),"(end)"===state.tokens.next.id&&error("E006",state.tokens.curr);var isDangerous=state.option.asi&&state.tokens.prev.line!==startLine(state.tokens.curr)&&_.contains(["]",")"],state.tokens.prev.id)&&_.contains(["[","("],state.tokens.curr.id);if(isDangerous&&warning("W014",state.tokens.curr,state.tokens.curr.id),advance(),initial&&(state.funct["(verb)"]=state.tokens.curr.value,state.tokens.curr.beginsStmt=!0),initial===!0&&state.tokens.curr.fud)left=state.tokens.curr.fud();else for(state.tokens.curr.nud?left=state.tokens.curr.nud():error("E030",state.tokens.curr,state.tokens.curr.id);(state.tokens.next.lbp>rbp||"(template)"===state.tokens.next.type)&&!isEndOfExpr();)isArray="Array"===state.tokens.curr.value,isObject="Object"===state.tokens.curr.value,left&&(left.value||left.first&&left.first.value)&&("new"!==left.value||left.first&&left.first.value&&"."===left.first.value)&&(isArray=!1,left.value!==state.tokens.curr.value&&(isObject=!1)),advance(),isArray&&"("===state.tokens.curr.id&&")"===state.tokens.next.id&&warning("W009",state.tokens.curr),isObject&&"("===state.tokens.curr.id&&")"===state.tokens.next.id&&warning("W010",state.tokens.curr),left&&state.tokens.curr.led?left=state.tokens.curr.led(left):error("E033",state.tokens.curr,state.tokens.curr.id);return isLetExpr&&state.funct["(scope)"].unstack(),state.nameStack.pop(),left}function startLine(token){return token.startLine||token.line}function nobreaknonadjacent(left,right){left=left||state.tokens.curr,right=right||state.tokens.next,state.option.laxbreak||left.line===startLine(right)||warning("W014",right,right.value)}function nolinebreak(t){t=t||state.tokens.curr,t.line!==startLine(state.tokens.next)&&warning("E022",t,t.value)}function nobreakcomma(left,right){left.line!==startLine(right)&&(state.option.laxcomma||(comma.first&&(warning("I001"),comma.first=!1),warning("W014",left,right.value)))}function comma(opts){if(opts=opts||{},opts.peek?nobreakcomma(state.tokens.prev,state.tokens.curr):(nobreakcomma(state.tokens.curr,state.tokens.next),advance(",")),state.tokens.next.identifier&&(!opts.property||!state.inES5()))switch(state.tokens.next.value){case"break":case"case":case"catch":case"continue":case"default":case"do":case"else":case"finally":case"for":case"if":case"in":case"instanceof":case"return":case"switch":case"throw":case"try":case"var":case"let":case"while":case"with":return error("E024",state.tokens.next,state.tokens.next.value),!1}if("(punctuator)"===state.tokens.next.type)switch(state.tokens.next.value){case"}":case"]":case",":if(opts.allowTrailing)return!0;case")":return error("E024",state.tokens.next,state.tokens.next.value),!1}return!0}function symbol(s,p){var x=state.syntax[s];return x&&"object"==typeof x||(state.syntax[s]=x={id:s,lbp:p,value:s}),x}function delim(s){var x=symbol(s,0);return x.delim=!0,x}function stmt(s,f){var x=delim(s);return x.identifier=x.reserved=!0,x.fud=f,x}function blockstmt(s,f){var x=stmt(s,f);return x.block=!0,x}function reserveName(x){var c=x.id.charAt(0);return(c>="a"&&"z">=c||c>="A"&&"Z">=c)&&(x.identifier=x.reserved=!0),x}function prefix(s,f){var x=symbol(s,150);return reserveName(x),x.nud="function"==typeof f?f:function(){return this.arity="unary",this.right=expression(150),("++"===this.id||"--"===this.id)&&(state.option.plusplus?warning("W016",this,this.id):!this.right||this.right.identifier&&!isReserved(this.right)||"."===this.right.id||"["===this.right.id||warning("W017",this),this.right&&this.right.isMetaProperty?error("E031",this):this.right&&this.right.identifier&&state.funct["(scope)"].block.modify(this.right.value,this)),this},x}function type(s,f){var x=delim(s);return x.type=s,x.nud=f,x}function reserve(name,func){var x=type(name,func);return x.identifier=!0,x.reserved=!0,x}function FutureReservedWord(name,meta){var x=type(name,meta&&meta.nud||function(){return this});return meta=meta||{},meta.isFutureReservedWord=!0,x.value=name,x.identifier=!0,x.reserved=!0,x.meta=meta,x}function reservevar(s,v){return reserve(s,function(){return"function"==typeof v&&v(this),this})}function infix(s,f,p,w){var x=symbol(s,p);return reserveName(x),x.infix=!0,x.led=function(left){return w||nobreaknonadjacent(state.tokens.prev,state.tokens.curr),"in"!==s&&"instanceof"!==s||"!"!==left.id||warning("W018",left,"!"),"function"==typeof f?f(left,this):(this.left=left,this.right=expression(p),this)},x}function application(s){var x=symbol(s,42);return x.led=function(left){return nobreaknonadjacent(state.tokens.prev,state.tokens.curr),this.left=left,this.right=doFunction({type:"arrow",loneArg:left}),this},x}function relation(s,f){var x=symbol(s,100);return x.led=function(left){nobreaknonadjacent(state.tokens.prev,state.tokens.curr),this.left=left;var right=this.right=expression(100);return isIdentifier(left,"NaN")||isIdentifier(right,"NaN")?warning("W019",this):f&&f.apply(this,[left,right]),left&&right||quit("E041",state.tokens.curr.line),"!"===left.id&&warning("W018",left,"!"),"!"===right.id&&warning("W018",right,"!"),this},x}function isPoorRelation(node){return node&&("(number)"===node.type&&0===+node.value||"(string)"===node.type&&""===node.value||"null"===node.type&&!state.option.eqnull||"true"===node.type||"false"===node.type||"undefined"===node.type)}function isTypoTypeof(left,right,state){var values;return state.option.notypeof?!1:left&&right?(values=state.inES6()?typeofValues.es6:typeofValues.es3,"(identifier)"===right.type&&"typeof"===right.value&&"(string)"===left.type?!_.contains(values,left.value):!1):!1}function isGlobalEval(left,state){var isGlobal=!1;return"this"===left.type&&null===state.funct["(context)"]?isGlobal=!0:"(identifier)"===left.type&&(state.option.node&&"global"===left.value?isGlobal=!0:!state.option.browser||"window"!==left.value&&"document"!==left.value||(isGlobal=!0)),isGlobal}function findNativePrototype(left){function walkPrototype(obj){return"object"==typeof obj?"prototype"===obj.right?obj:walkPrototype(obj.left):void 0}function walkNative(obj){for(;!obj.identifier&&"object"==typeof obj.left;)obj=obj.left;return obj.identifier&&natives.indexOf(obj.value)>=0?obj.value:void 0}var natives=["Array","ArrayBuffer","Boolean","Collator","DataView","Date","DateTimeFormat","Error","EvalError","Float32Array","Float64Array","Function","Infinity","Intl","Int16Array","Int32Array","Int8Array","Iterator","Number","NumberFormat","Object","RangeError","ReferenceError","RegExp","StopIteration","String","SyntaxError","TypeError","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","URIError"],prototype=walkPrototype(left);return prototype?walkNative(prototype):void 0}function checkLeftSideAssign(left,assignToken,options){var allowDestructuring=options&&options.allowDestructuring;if(assignToken=assignToken||left,state.option.freeze){var nativeObject=findNativePrototype(left);nativeObject&&warning("W121",left,nativeObject)}return left.identifier&&!left.isMetaProperty&&state.funct["(scope)"].block.reassign(left.value,left),"."===left.id?((!left.left||"arguments"===left.left.value&&!state.isStrict())&&warning("E031",assignToken),state.nameStack.set(state.tokens.prev),!0):"{"===left.id||"["===left.id?(allowDestructuring&&state.tokens.curr.left.destructAssign?state.tokens.curr.left.destructAssign.forEach(function(t){t.id&&state.funct["(scope)"].block.modify(t.id,t.token)}):"{"!==left.id&&left.left?"arguments"!==left.left.value||state.isStrict()||warning("E031",assignToken):warning("E031",assignToken),"["===left.id&&state.nameStack.set(left.right),!0):left.isMetaProperty?(error("E031",assignToken),!0):left.identifier&&!isReserved(left)?("exception"===state.funct["(scope)"].labeltype(left.value)&&warning("W022",left),state.nameStack.set(left),!0):(left===state.syntax["function"]&&warning("W023",state.tokens.curr),!1)}function assignop(s,f,p){var x=infix(s,"function"==typeof f?f:function(left,that){return that.left=left,left&&checkLeftSideAssign(left,that,{allowDestructuring:!0})?(that.right=expression(10),that):(error("E031",that),void 0)},p);return x.exps=!0,x.assign=!0,x}function bitwise(s,f,p){var x=symbol(s,p);return reserveName(x),x.led="function"==typeof f?f:function(left){return state.option.bitwise&&warning("W016",this,this.id),this.left=left,this.right=expression(p),this},x}function bitwiseassignop(s){return assignop(s,function(left,that){return state.option.bitwise&&warning("W016",that,that.id),left&&checkLeftSideAssign(left,that)?(that.right=expression(10),that):(error("E031",that),void 0)},20)}function suffix(s){var x=symbol(s,150);return x.led=function(left){return state.option.plusplus?warning("W016",this,this.id):left.identifier&&!isReserved(left)||"."===left.id||"["===left.id||warning("W017",this),left.isMetaProperty?error("E031",this):left&&left.identifier&&state.funct["(scope)"].block.modify(left.value,left),this.left=left,this},x}function optionalidentifier(fnparam,prop,preserve){if(state.tokens.next.identifier){preserve||advance();var curr=state.tokens.curr,val=state.tokens.curr.value;return isReserved(curr)?prop&&state.inES5()?val:fnparam&&"undefined"===val?val:(warning("W024",state.tokens.curr,state.tokens.curr.id),val):val}}function identifier(fnparam,prop){var i=optionalidentifier(fnparam,prop,!1);if(i)return i;if("..."===state.tokens.next.value){if(state.inES6(!0)||warning("W119",state.tokens.next,"spread/rest operator","6"),advance(),checkPunctuator(state.tokens.next,"..."))for(warning("E024",state.tokens.next,"...");checkPunctuator(state.tokens.next,"...");)advance();return state.tokens.next.identifier?identifier(fnparam,prop):(warning("E024",state.tokens.curr,"..."),void 0)}error("E030",state.tokens.next,state.tokens.next.value),";"!==state.tokens.next.id&&advance()}function reachable(controlToken){var t,i=0;if(";"===state.tokens.next.id&&!controlToken.inBracelessBlock)for(;;){do t=peek(i),i+=1;while("(end)"!==t.id&&"(comment)"===t.id);if(t.reach)return;if("(endline)"!==t.id){if("function"===t.id){state.option.latedef===!0&&warning("W026",t);break}warning("W027",t,t.value,controlToken.value);break}}}function parseFinalSemicolon(){if(";"!==state.tokens.next.id){if(state.tokens.next.isUnclosed)return advance();var sameLine=startLine(state.tokens.next)===state.tokens.curr.line&&"(end)"!==state.tokens.next.id,blockEnd=checkPunctuator(state.tokens.next,"}");sameLine&&!blockEnd?errorAt("E058",state.tokens.curr.line,state.tokens.curr.character):state.option.asi||(blockEnd&&!state.option.lastsemic||!sameLine)&&warningAt("W033",state.tokens.curr.line,state.tokens.curr.character)}else advance(";")}function statement(){var r,i=indent,t=state.tokens.next,hasOwnScope=!1;if(";"===t.id)return advance(";"),void 0;var res=isReserved(t);if(res&&t.meta&&t.meta.isFutureReservedWord&&":"===peek().id&&(warning("W024",t,t.id),res=!1),t.identifier&&!res&&":"===peek().id&&(advance(),advance(":"),hasOwnScope=!0,state.funct["(scope)"].stack(),state.funct["(scope)"].block.addBreakLabel(t.value,{token:state.tokens.curr}),state.tokens.next.labelled||"{"===state.tokens.next.value||warning("W028",state.tokens.next,t.value,state.tokens.next.value),state.tokens.next.label=t.value,t=state.tokens.next),"{"===t.id){var iscase="case"===state.funct["(verb)"]&&":"===state.tokens.curr.value;return block(!0,!0,!1,!1,iscase),void 0}return r=expression(0,!0),!r||r.identifier&&"function"===r.value||"(punctuator)"===r.type&&r.left&&r.left.identifier&&"function"===r.left.value||state.isStrict()||"global"!==state.option.strict||warning("E007"),t.block||(state.option.expr||r&&r.exps?state.option.nonew&&r&&r.left&&"("===r.id&&"new"===r.left.id&&warning("W031",t):warning("W030",state.tokens.curr),parseFinalSemicolon()),indent=i,hasOwnScope&&state.funct["(scope)"].unstack(),r}function statements(){for(var p,a=[];!state.tokens.next.reach&&"(end)"!==state.tokens.next.id;)";"===state.tokens.next.id?(p=peek(),(!p||"("!==p.id&&"["!==p.id)&&warning("W032"),advance(";")):a.push(statement());return a}function directives(){for(var i,p,pn;"(string)"===state.tokens.next.id;){if(p=peek(0),"(endline)"===p.id){i=1;do pn=peek(i++);while("(endline)"===pn.id);if(";"===pn.id)p=pn;else{if("["===pn.value||"."===pn.value)break;state.option.asi&&"("!==pn.value||warning("W033",state.tokens.next)}}else{if("."===p.id||"["===p.id)break;";"!==p.id&&warning("W033",p)}advance();var directive=state.tokens.curr.value;(state.directive[directive]||"use strict"===directive&&"implied"===state.option.strict)&&warning("W034",state.tokens.curr,directive),state.directive[directive]=!0,";"===p.id&&advance(";")}state.isStrict()&&(state.option["(explicitNewcap)"]||(state.option.newcap=!0),state.option.undef=!0)}function block(ordinary,stmt,isfunc,isfatarrow,iscase){var a,m,t,line,d,b=inblock,old_indent=indent;inblock=ordinary,t=state.tokens.next;var metrics=state.funct["(metrics)"];if(metrics.nestedBlockDepth+=1,metrics.verifyMaxNestedBlockDepthPerFunction(),"{"===state.tokens.next.id){if(advance("{"),state.funct["(scope)"].stack(),line=state.tokens.curr.line,"}"!==state.tokens.next.id){for(indent+=state.option.indent;!ordinary&&state.tokens.next.from>indent;)indent+=state.option.indent;if(isfunc){m={};for(d in state.directive)_.has(state.directive,d)&&(m[d]=state.directive[d]);directives(),state.option.strict&&state.funct["(context)"]["(global)"]&&(m["use strict"]||state.isStrict()||warning("E007"))}a=statements(),metrics.statementCount+=a.length,indent-=state.option.indent}advance("}",t),isfunc&&(state.funct["(scope)"].validateParams(),m&&(state.directive=m)),state.funct["(scope)"].unstack(),indent=old_indent}else if(ordinary)state.funct["(noblockscopedvar)"]="for"!==state.tokens.next.id,state.funct["(scope)"].stack(),(!stmt||state.option.curly)&&warning("W116",state.tokens.next,"{",state.tokens.next.value),state.tokens.next.inBracelessBlock=!0,indent+=state.option.indent,a=[statement()],indent-=state.option.indent,state.funct["(scope)"].unstack(),delete state.funct["(noblockscopedvar)"];else if(isfunc){if(state.funct["(scope)"].stack(),m={},!stmt||isfatarrow||state.inMoz()||error("W118",state.tokens.curr,"function closure expressions"),!stmt)for(d in state.directive)_.has(state.directive,d)&&(m[d]=state.directive[d]);expression(10),state.option.strict&&state.funct["(context)"]["(global)"]&&(m["use strict"]||state.isStrict()||warning("E007")),state.funct["(scope)"].unstack()}else error("E021",state.tokens.next,"{",state.tokens.next.value);switch(state.funct["(verb)"]){case"break":case"continue":case"return":case"throw":if(iscase)break;default:state.funct["(verb)"]=null}return inblock=b,!ordinary||!state.option.noempty||a&&0!==a.length||warning("W035",state.tokens.prev),metrics.nestedBlockDepth-=1,a}function countMember(m){membersOnly&&"boolean"!=typeof membersOnly[m]&&warning("W036",state.tokens.curr,m),"number"==typeof member[m]?member[m]+=1:member[m]=1}function comprehensiveArrayExpression(){var res={};res.exps=!0,state.funct["(comparray)"].stack();var reversed=!1;return"for"!==state.tokens.next.value&&(reversed=!0,state.inMoz()||warning("W116",state.tokens.next,"for",state.tokens.next.value),state.funct["(comparray)"].setState("use"),res.right=expression(10)),advance("for"),"each"===state.tokens.next.value&&(advance("each"),state.inMoz()||warning("W118",state.tokens.curr,"for each")),advance("("),state.funct["(comparray)"].setState("define"),res.left=expression(130),_.contains(["in","of"],state.tokens.next.value)?advance():error("E045",state.tokens.curr),state.funct["(comparray)"].setState("generate"),expression(10),advance(")"),"if"===state.tokens.next.value&&(advance("if"),advance("("),state.funct["(comparray)"].setState("filter"),res.filter=expression(10),advance(")")),reversed||(state.funct["(comparray)"].setState("use"),res.right=expression(10)),advance("]"),state.funct["(comparray)"].unstack(),res}function isMethod(){return state.funct["(statement)"]&&"class"===state.funct["(statement)"].type||state.funct["(context)"]&&"class"===state.funct["(context)"]["(verb)"]}function isPropertyName(token){return token.identifier||"(string)"===token.id||"(number)"===token.id}function propertyName(preserveOrToken){var id,preserve=!0;return"object"==typeof preserveOrToken?id=preserveOrToken:(preserve=preserveOrToken,id=optionalidentifier(!1,!0,preserve)),id?"object"==typeof id&&("(string)"===id.id||"(identifier)"===id.id?id=id.value:"(number)"===id.id&&(id=""+id.value)):"(string)"===state.tokens.next.id?(id=state.tokens.next.value,preserve||advance()):"(number)"===state.tokens.next.id&&(id=""+state.tokens.next.value,preserve||advance()),"hasOwnProperty"===id&&warning("W001"),id}function functionparams(options){function addParam(addParamArgs){state.funct["(scope)"].addParam.apply(state.funct["(scope)"],addParamArgs)}var next,ident,t,paramsIds=[],tokens=[],pastDefault=!1,pastRest=!1,arity=0,loneArg=options&&options.loneArg;if(loneArg&&loneArg.identifier===!0)return state.funct["(scope)"].addParam(loneArg.value,loneArg),{arity:1,params:[loneArg.value]};if(next=state.tokens.next,options&&options.parsedOpening||advance("("),")"===state.tokens.next.id)return advance(")"),void 0;for(;;){arity++;var currentParams=[];if(_.contains(["{","["],state.tokens.next.id)){tokens=destructuringPattern();for(t in tokens)t=tokens[t],t.id&&(paramsIds.push(t.id),currentParams.push([t.id,t.token]))}else if(checkPunctuator(state.tokens.next,"...")&&(pastRest=!0),ident=identifier(!0))paramsIds.push(ident),currentParams.push([ident,state.tokens.curr]);else for(;!checkPunctuators(state.tokens.next,[",",")"]);)advance();if(pastDefault&&"="!==state.tokens.next.id&&error("W138",state.tokens.current),"="===state.tokens.next.id&&(state.inES6()||warning("W119",state.tokens.next,"default parameters","6"),advance("="),pastDefault=!0,expression(10)),currentParams.forEach(addParam),","!==state.tokens.next.id)return advance(")",next),{arity:arity,params:paramsIds};pastRest&&warning("W131",state.tokens.next),comma()}}function functor(name,token,overwrites){var funct={"(name)":name,"(breakage)":0,"(loopage)":0,"(tokens)":{},"(properties)":{},"(catch)":!1,"(global)":!1,"(line)":null,"(character)":null,"(metrics)":null,"(statement)":null,"(context)":null,"(scope)":null,"(comparray)":null,"(generator)":null,"(arrow)":null,"(params)":null};return token&&_.extend(funct,{"(line)":token.line,"(character)":token.character,"(metrics)":createMetrics(token)}),_.extend(funct,overwrites),funct["(context)"]&&(funct["(scope)"]=funct["(context)"]["(scope)"],funct["(comparray)"]=funct["(context)"]["(comparray)"]),funct}function isFunctor(token){return"(scope)"in token}function hasParsedCode(funct){return funct["(global)"]&&!funct["(verb)"]}function doTemplateLiteral(left){function end(){if(state.tokens.curr.template&&state.tokens.curr.tail&&state.tokens.curr.context===ctx)return!0;var complete=state.tokens.next.template&&state.tokens.next.tail&&state.tokens.next.context===ctx;return complete&&advance(),complete||state.tokens.next.isUnclosed}var ctx=this.context,noSubst=this.noSubst,depth=this.depth;if(!noSubst)for(;!end();)!state.tokens.next.template||state.tokens.next.depth>depth?expression(0):advance();return{id:"(template)",type:"(template)",tag:left}}function doFunction(options){var f,token,name,statement,classExprBinding,isGenerator,isArrow,ignoreLoopFunc,oldOption=state.option,oldIgnored=state.ignored;options&&(name=options.name,statement=options.statement,classExprBinding=options.classExprBinding,isGenerator="generator"===options.type,isArrow="arrow"===options.type,ignoreLoopFunc=options.ignoreLoopFunc),state.option=Object.create(state.option),state.ignored=Object.create(state.ignored),state.funct=functor(name||state.nameStack.infer(),state.tokens.next,{"(statement)":statement,"(context)":state.funct,"(arrow)":isArrow,"(generator)":isGenerator}),f=state.funct,token=state.tokens.curr,token.funct=state.funct,functions.push(state.funct),state.funct["(scope)"].stack("functionouter");var internallyAccessibleName=name||classExprBinding;internallyAccessibleName&&state.funct["(scope)"].block.add(internallyAccessibleName,classExprBinding?"class":"function",state.tokens.curr,!1),state.funct["(scope)"].stack("functionparams");var paramsInfo=functionparams(options);return paramsInfo?(state.funct["(params)"]=paramsInfo.params,state.funct["(metrics)"].arity=paramsInfo.arity,state.funct["(metrics)"].verifyMaxParametersPerFunction()):state.funct["(metrics)"].arity=0,isArrow&&(state.inES6(!0)||warning("W119",state.tokens.curr,"arrow function syntax (=>)","6"),options.loneArg||advance("=>")),block(!1,!0,!0,isArrow),!state.option.noyield&&isGenerator&&"yielded"!==state.funct["(generator)"]&&warning("W124",state.tokens.curr),state.funct["(metrics)"].verifyMaxStatementsPerFunction(),state.funct["(metrics)"].verifyMaxComplexityPerFunction(),state.funct["(unusedOption)"]=state.option.unused,state.option=oldOption,state.ignored=oldIgnored,state.funct["(last)"]=state.tokens.curr.line,state.funct["(lastcharacter)"]=state.tokens.curr.character,state.funct["(scope)"].unstack(),state.funct["(scope)"].unstack(),state.funct=state.funct["(context)"],ignoreLoopFunc||state.option.loopfunc||!state.funct["(loopage)"]||f["(isCapturing)"]&&warning("W083",token),f}function createMetrics(functionStartToken){return{statementCount:0,nestedBlockDepth:-1,ComplexityCount:1,arity:0,verifyMaxStatementsPerFunction:function(){state.option.maxstatements&&this.statementCount>state.option.maxstatements&&warning("W071",functionStartToken,this.statementCount)\n},verifyMaxParametersPerFunction:function(){_.isNumber(state.option.maxparams)&&this.arity>state.option.maxparams&&warning("W072",functionStartToken,this.arity)},verifyMaxNestedBlockDepthPerFunction:function(){state.option.maxdepth&&this.nestedBlockDepth>0&&this.nestedBlockDepth===state.option.maxdepth+1&&warning("W073",null,this.nestedBlockDepth)},verifyMaxComplexityPerFunction:function(){var max=state.option.maxcomplexity,cc=this.ComplexityCount;max&&cc>max&&warning("W074",functionStartToken,cc)}}}function increaseComplexityCount(){state.funct["(metrics)"].ComplexityCount+=1}function checkCondAssignment(expr){var id,paren;switch(expr&&(id=expr.id,paren=expr.paren,","===id&&(expr=expr.exprs[expr.exprs.length-1])&&(id=expr.id,paren=paren||expr.paren)),id){case"=":case"+=":case"-=":case"*=":case"%=":case"&=":case"|=":case"^=":case"/=":paren||state.option.boss||warning("W084")}}function checkProperties(props){if(state.inES5())for(var name in props)props[name]&&props[name].setterToken&&!props[name].getterToken&&warning("W078",props[name].setterToken)}function metaProperty(name,c){if(checkPunctuator(state.tokens.next,".")){var left=state.tokens.curr.id;advance(".");var id=identifier();return state.tokens.curr.isMetaProperty=!0,name!==id?error("E057",state.tokens.prev,left,id):c(),state.tokens.curr}}function destructuringPattern(options){var isAssignment=options&&options.assignment;return state.inES6()||warning("W104",state.tokens.curr,isAssignment?"destructuring assignment":"destructuring binding","6"),destructuringPatternRecursive(options)}function destructuringPatternRecursive(options){var ids,identifiers=[],openingParsed=options&&options.openingParsed,isAssignment=options&&options.assignment,recursiveOptions=isAssignment?{assignment:isAssignment}:null,firstToken=openingParsed?state.tokens.curr:state.tokens.next,nextInnerDE=function(){var ident;if(checkPunctuators(state.tokens.next,["[","{"])){ids=destructuringPatternRecursive(recursiveOptions);for(var id in ids)id=ids[id],identifiers.push({id:id.id,token:id.token})}else if(checkPunctuator(state.tokens.next,","))identifiers.push({id:null,token:state.tokens.curr});else{if(!checkPunctuator(state.tokens.next,"(")){var is_rest=checkPunctuator(state.tokens.next,"...");if(isAssignment){var identifierToken=is_rest?peek(0):state.tokens.next;identifierToken.identifier||warning("E030",identifierToken,identifierToken.value);var assignTarget=expression(155);assignTarget&&(checkLeftSideAssign(assignTarget),assignTarget.identifier&&(ident=assignTarget.value))}else ident=identifier();return ident&&identifiers.push({id:ident,token:state.tokens.curr}),is_rest}advance("("),nextInnerDE(),advance(")")}return!1},assignmentProperty=function(){var id;checkPunctuator(state.tokens.next,"[")?(advance("["),expression(10),advance("]"),advance(":"),nextInnerDE()):"(string)"===state.tokens.next.id||"(number)"===state.tokens.next.id?(advance(),advance(":"),nextInnerDE()):(id=identifier(),checkPunctuator(state.tokens.next,":")?(advance(":"),nextInnerDE()):id&&(isAssignment&&checkLeftSideAssign(state.tokens.curr),identifiers.push({id:id,token:state.tokens.curr})))};if(checkPunctuator(firstToken,"[")){openingParsed||advance("["),checkPunctuator(state.tokens.next,"]")&&warning("W137",state.tokens.curr);for(var element_after_rest=!1;!checkPunctuator(state.tokens.next,"]");)nextInnerDE()&&!element_after_rest&&checkPunctuator(state.tokens.next,",")&&(warning("W130",state.tokens.next),element_after_rest=!0),checkPunctuator(state.tokens.next,"=")&&(checkPunctuator(state.tokens.prev,"...")?advance("]"):advance("="),"undefined"===state.tokens.next.id&&warning("W080",state.tokens.prev,state.tokens.prev.value),expression(10)),checkPunctuator(state.tokens.next,"]")||advance(",");advance("]")}else if(checkPunctuator(firstToken,"{")){for(openingParsed||advance("{"),checkPunctuator(state.tokens.next,"}")&&warning("W137",state.tokens.curr);!checkPunctuator(state.tokens.next,"}")&&(assignmentProperty(),checkPunctuator(state.tokens.next,"=")&&(advance("="),"undefined"===state.tokens.next.id&&warning("W080",state.tokens.prev,state.tokens.prev.value),expression(10)),checkPunctuator(state.tokens.next,"}")||(advance(","),!checkPunctuator(state.tokens.next,"}"))););advance("}")}return identifiers}function destructuringPatternMatch(tokens,value){var first=value.first;first&&_.zip(tokens,Array.isArray(first)?first:[first]).forEach(function(val){var token=val[0],value=val[1];token&&value?token.first=value:token&&token.first&&!value&&warning("W080",token.first,token.first.value)})}function blockVariableStatement(type,statement,context){var tokens,lone,value,letblock,prefix=context&&context.prefix,inexport=context&&context.inexport,isLet="let"===type,isConst="const"===type;for(state.inES6()||warning("W104",state.tokens.curr,type,"6"),isLet&&"("===state.tokens.next.value?(state.inMoz()||warning("W118",state.tokens.next,"let block"),advance("("),state.funct["(scope)"].stack(),letblock=!0):state.funct["(noblockscopedvar)"]&&error("E048",state.tokens.curr,isConst?"Const":"Let"),statement.first=[];;){var names=[];_.contains(["{","["],state.tokens.next.value)?(tokens=destructuringPattern(),lone=!1):(tokens=[{id:identifier(),token:state.tokens.curr}],lone=!0),!prefix&&isConst&&"="!==state.tokens.next.id&&warning("E012",state.tokens.curr,state.tokens.curr.value);for(var t in tokens)tokens.hasOwnProperty(t)&&(t=tokens[t],state.funct["(scope)"].block.isGlobal()&&predefined[t.id]===!1&&warning("W079",t.token,t.id),t.id&&!state.funct["(noblockscopedvar)"]&&(state.funct["(scope)"].addlabel(t.id,{type:type,token:t.token}),names.push(t.token),lone&&inexport&&state.funct["(scope)"].setExported(t.token.value,t.token)));if("="===state.tokens.next.id&&(advance("="),prefix||"undefined"!==state.tokens.next.id||warning("W080",state.tokens.prev,state.tokens.prev.value),!prefix&&"="===peek(0).id&&state.tokens.next.identifier&&warning("W120",state.tokens.next,state.tokens.next.value),value=expression(prefix?120:10),lone?tokens[0].first=value:destructuringPatternMatch(names,value)),statement.first=statement.first.concat(names),","!==state.tokens.next.id)break;comma()}return letblock&&(advance(")"),block(!0,!0),statement.block=!0,state.funct["(scope)"].unstack()),statement}function classdef(isStatement){return state.inES6()||warning("W104",state.tokens.curr,"class","6"),isStatement?(this.name=identifier(),state.funct["(scope)"].addlabel(this.name,{type:"class",token:state.tokens.curr})):state.tokens.next.identifier&&"extends"!==state.tokens.next.value?(this.name=identifier(),this.namedExpr=!0):this.name=state.nameStack.infer(),classtail(this),this}function classtail(c){var wasInClassBody=state.inClassBody;"extends"===state.tokens.next.value&&(advance("extends"),c.heritage=expression(10)),state.inClassBody=!0,advance("{"),c.body=classbody(c),advance("}"),state.inClassBody=wasInClassBody}function classbody(c){for(var name,isStatic,isGenerator,getset,computed,props=Object.create(null),staticProps=Object.create(null),i=0;"}"!==state.tokens.next.id;++i)if(name=state.tokens.next,isStatic=!1,isGenerator=!1,getset=null,";"!==name.id){if("*"===name.id&&(isGenerator=!0,advance("*"),name=state.tokens.next),"["===name.id)name=computedPropertyName(),computed=!0;else{if(!isPropertyName(name)){warning("W052",state.tokens.next,state.tokens.next.value||state.tokens.next.type),advance();continue}advance(),computed=!1,name.identifier&&"static"===name.value&&(checkPunctuator(state.tokens.next,"*")&&(isGenerator=!0,advance("*")),(isPropertyName(state.tokens.next)||"["===state.tokens.next.id)&&(computed="["===state.tokens.next.id,isStatic=!0,name=state.tokens.next,"["===state.tokens.next.id?name=computedPropertyName():advance())),!name.identifier||"get"!==name.value&&"set"!==name.value||(isPropertyName(state.tokens.next)||"["===state.tokens.next.id)&&(computed="["===state.tokens.next.id,getset=name,name=state.tokens.next,"["===state.tokens.next.id?name=computedPropertyName():advance())}if(!checkPunctuator(state.tokens.next,"(")){for(error("E054",state.tokens.next,state.tokens.next.value);"}"!==state.tokens.next.id&&!checkPunctuator(state.tokens.next,"(");)advance();"("!==state.tokens.next.value&&doFunction({statement:c})}if(computed||(getset?saveAccessor(getset.value,isStatic?staticProps:props,name.value,name,!0,isStatic):("constructor"===name.value?state.nameStack.set(c):state.nameStack.set(name),saveProperty(isStatic?staticProps:props,name.value,name,!0,isStatic))),getset&&"constructor"===name.value){var propDesc="get"===getset.value?"class getter method":"class setter method";error("E049",name,propDesc,"constructor")}else"prototype"===name.value&&error("E049",name,"class method","prototype");propertyName(name),doFunction({statement:c,type:isGenerator?"generator":null,classExprBinding:c.namedExpr?c.name:null})}else warning("W032"),advance(";");checkProperties(props)}function saveProperty(props,name,tkn,isClass,isStatic){var msg=["key","class method","static class method"];msg=msg[(isClass||!1)+(isStatic||!1)],tkn.identifier&&(name=tkn.value),props[name]&&"__proto__"!==name?warning("W075",state.tokens.next,msg,name):props[name]=Object.create(null),props[name].basic=!0,props[name].basictkn=tkn}function saveAccessor(accessorType,props,name,tkn,isClass,isStatic){var flagName="get"===accessorType?"getterToken":"setterToken",msg="";isClass?(isStatic&&(msg+="static "),msg+=accessorType+"ter method"):msg="key",state.tokens.curr.accessorType=accessorType,state.nameStack.set(tkn),props[name]?(props[name].basic||props[name][flagName])&&"__proto__"!==name&&warning("W075",state.tokens.next,msg,name):props[name]=Object.create(null),props[name][flagName]=tkn}function computedPropertyName(){advance("["),state.inES6()||warning("W119",state.tokens.curr,"computed property names","6");var value=expression(10);return advance("]"),value}function checkPunctuators(token,values){return"(punctuator)"===token.type?_.contains(values,token.value):!1}function checkPunctuator(token,value){return"(punctuator)"===token.type&&token.value===value}function destructuringAssignOrJsonValue(){var block=lookupBlockType();block.notJson?(!state.inES6()&&block.isDestAssign&&warning("W104",state.tokens.curr,"destructuring assignment","6"),statements()):(state.option.laxbreak=!0,state.jsonMode=!0,jsonValue())}function jsonValue(){function jsonObject(){var o={},t=state.tokens.next;if(advance("{"),"}"!==state.tokens.next.id)for(;;){if("(end)"===state.tokens.next.id)error("E026",state.tokens.next,t.line);else{if("}"===state.tokens.next.id){warning("W094",state.tokens.curr);break}","===state.tokens.next.id?error("E028",state.tokens.next):"(string)"!==state.tokens.next.id&&warning("W095",state.tokens.next,state.tokens.next.value)}if(o[state.tokens.next.value]===!0?warning("W075",state.tokens.next,"key",state.tokens.next.value):"__proto__"===state.tokens.next.value&&!state.option.proto||"__iterator__"===state.tokens.next.value&&!state.option.iterator?warning("W096",state.tokens.next,state.tokens.next.value):o[state.tokens.next.value]=!0,advance(),advance(":"),jsonValue(),","!==state.tokens.next.id)break;advance(",")}advance("}")}function jsonArray(){var t=state.tokens.next;if(advance("["),"]"!==state.tokens.next.id)for(;;){if("(end)"===state.tokens.next.id)error("E027",state.tokens.next,t.line);else{if("]"===state.tokens.next.id){warning("W094",state.tokens.curr);break}","===state.tokens.next.id&&error("E028",state.tokens.next)}if(jsonValue(),","!==state.tokens.next.id)break;advance(",")}advance("]")}switch(state.tokens.next.id){case"{":jsonObject();break;case"[":jsonArray();break;case"true":case"false":case"null":case"(number)":case"(string)":advance();break;case"-":advance("-"),advance("(number)");break;default:error("E003",state.tokens.next)}}var api,declared,functions,inblock,indent,lookahead,lex,member,membersOnly,predefined,stack,urls,bang={"<":!0,"<=":!0,"==":!0,"===":!0,"!==":!0,"!=":!0,">":!0,">=":!0,"+":!0,"-":!0,"*":!0,"/":!0,"%":!0},functionicity=["closure","exception","global","label","outer","unused","var"],extraModules=[],emitter=new events.EventEmitter,typeofValues={};typeofValues.legacy=["xml","unknown"],typeofValues.es3=["undefined","boolean","number","string","function","object"],typeofValues.es3=typeofValues.es3.concat(typeofValues.legacy),typeofValues.es6=typeofValues.es3.concat("symbol"),type("(number)",function(){return this}),type("(string)",function(){return this}),state.syntax["(identifier)"]={type:"(identifier)",lbp:0,identifier:!0,nud:function(){var v=this.value;return"=>"===state.tokens.next.id?this:(state.funct["(comparray)"].check(v)||state.funct["(scope)"].block.use(v,state.tokens.curr),this)},led:function(){error("E033",state.tokens.next,state.tokens.next.value)}};var baseTemplateSyntax={lbp:0,identifier:!1,template:!0};state.syntax["(template)"]=_.extend({type:"(template)",nud:doTemplateLiteral,led:doTemplateLiteral,noSubst:!1},baseTemplateSyntax),state.syntax["(template middle)"]=_.extend({type:"(template middle)",middle:!0,noSubst:!1},baseTemplateSyntax),state.syntax["(template tail)"]=_.extend({type:"(template tail)",tail:!0,noSubst:!1},baseTemplateSyntax),state.syntax["(no subst template)"]=_.extend({type:"(template)",nud:doTemplateLiteral,led:doTemplateLiteral,noSubst:!0,tail:!0},baseTemplateSyntax),type("(regexp)",function(){return this}),delim("(endline)"),delim("(begin)"),delim("(end)").reach=!0,delim("(error)").reach=!0,delim("}").reach=!0,delim(")"),delim("]"),delim(\'"\').reach=!0,delim("\'").reach=!0,delim(";"),delim(":").reach=!0,delim("#"),reserve("else"),reserve("case").reach=!0,reserve("catch"),reserve("default").reach=!0,reserve("finally"),reservevar("arguments",function(x){state.isStrict()&&state.funct["(global)"]&&warning("E008",x)}),reservevar("eval"),reservevar("false"),reservevar("Infinity"),reservevar("null"),reservevar("this",function(x){state.isStrict()&&!isMethod()&&!state.option.validthis&&(state.funct["(statement)"]&&state.funct["(name)"].charAt(0)>"Z"||state.funct["(global)"])&&warning("W040",x)}),reservevar("true"),reservevar("undefined"),assignop("=","assign",20),assignop("+=","assignadd",20),assignop("-=","assignsub",20),assignop("*=","assignmult",20),assignop("/=","assigndiv",20).nud=function(){error("E014")},assignop("%=","assignmod",20),bitwiseassignop("&="),bitwiseassignop("|="),bitwiseassignop("^="),bitwiseassignop("<<="),bitwiseassignop(">>="),bitwiseassignop(">>>="),infix(",",function(left,that){var expr;if(that.exprs=[left],state.option.nocomma&&warning("W127"),!comma({peek:!0}))return that;for(;;){if(!(expr=expression(10)))break;if(that.exprs.push(expr),","!==state.tokens.next.value||!comma())break}return that},10,!0),infix("?",function(left,that){return increaseComplexityCount(),that.left=left,that.right=expression(10),advance(":"),that["else"]=expression(10),that},30);var orPrecendence=40;infix("||",function(left,that){return increaseComplexityCount(),that.left=left,that.right=expression(orPrecendence),that},orPrecendence),infix("&&","and",50),bitwise("|","bitor",70),bitwise("^","bitxor",80),bitwise("&","bitand",90),relation("==",function(left,right){var eqnull=state.option.eqnull&&("null"===(left&&left.value)||"null"===(right&&right.value));switch(!0){case!eqnull&&state.option.eqeqeq:this.from=this.character,warning("W116",this,"===","==");break;case isPoorRelation(left):warning("W041",this,"===",left.value);break;case isPoorRelation(right):warning("W041",this,"===",right.value);break;case isTypoTypeof(right,left,state):warning("W122",this,right.value);break;case isTypoTypeof(left,right,state):warning("W122",this,left.value)}return this}),relation("===",function(left,right){return isTypoTypeof(right,left,state)?warning("W122",this,right.value):isTypoTypeof(left,right,state)&&warning("W122",this,left.value),this}),relation("!=",function(left,right){var eqnull=state.option.eqnull&&("null"===(left&&left.value)||"null"===(right&&right.value));return!eqnull&&state.option.eqeqeq?(this.from=this.character,warning("W116",this,"!==","!=")):isPoorRelation(left)?warning("W041",this,"!==",left.value):isPoorRelation(right)?warning("W041",this,"!==",right.value):isTypoTypeof(right,left,state)?warning("W122",this,right.value):isTypoTypeof(left,right,state)&&warning("W122",this,left.value),this}),relation("!==",function(left,right){return isTypoTypeof(right,left,state)?warning("W122",this,right.value):isTypoTypeof(left,right,state)&&warning("W122",this,left.value),this}),relation("<"),relation(">"),relation("<="),relation(">="),bitwise("<<","shiftleft",120),bitwise(">>","shiftright",120),bitwise(">>>","shiftrightunsigned",120),infix("in","in",120),infix("instanceof","instanceof",120),infix("+",function(left,that){var right;return that.left=left,that.right=right=expression(130),left&&right&&"(string)"===left.id&&"(string)"===right.id?(left.value+=right.value,left.character=right.character,!state.option.scripturl&®.javascriptURL.test(left.value)&&warning("W050",left),left):that},130),prefix("+","num"),prefix("+++",function(){return warning("W007"),this.arity="unary",this.right=expression(150),this}),infix("+++",function(left){return warning("W007"),this.left=left,this.right=expression(130),this},130),infix("-","sub",130),prefix("-","neg"),prefix("---",function(){return warning("W006"),this.arity="unary",this.right=expression(150),this}),infix("---",function(left){return warning("W006"),this.left=left,this.right=expression(130),this},130),infix("*","mult",140),infix("/","div",140),infix("%","mod",140),suffix("++"),prefix("++","preinc"),state.syntax["++"].exps=!0,suffix("--"),prefix("--","predec"),state.syntax["--"].exps=!0,prefix("delete",function(){var p=expression(10);return p?("."!==p.id&&"["!==p.id&&warning("W051"),this.first=p,p.identifier&&!state.isStrict()&&(p.forgiveUndef=!0),this):this}).exps=!0,prefix("~",function(){return state.option.bitwise&&warning("W016",this,"~"),this.arity="unary",this.right=expression(150),this}),prefix("...",function(){return state.inES6(!0)||warning("W119",this,"spread/rest operator","6"),state.tokens.next.identifier||"(string)"===state.tokens.next.type||checkPunctuators(state.tokens.next,["[","("])||error("E030",state.tokens.next,state.tokens.next.value),expression(150),this}),prefix("!",function(){return this.arity="unary",this.right=expression(150),this.right||quit("E041",this.line||0),bang[this.right.id]===!0&&warning("W018",this,"!"),this}),prefix("typeof",function(){var p=expression(150);return this.first=this.right=p,p||quit("E041",this.line||0,this.character||0),p.identifier&&(p.forgiveUndef=!0),this}),prefix("new",function(){var mp=metaProperty("target",function(){state.inES6(!0)||warning("W119",state.tokens.prev,"new.target","6");for(var inFunction,c=state.funct;c&&(inFunction=!c["(global)"],c["(arrow)"]);)c=c["(context)"];inFunction||warning("W136",state.tokens.prev,"new.target")});if(mp)return mp;var i,c=expression(155);if(c&&"function"!==c.id)if(c.identifier)switch(c["new"]=!0,c.value){case"Number":case"String":case"Boolean":case"Math":case"JSON":warning("W053",state.tokens.prev,c.value);break;case"Symbol":state.inES6()&&warning("W053",state.tokens.prev,c.value);break;case"Function":state.option.evil||warning("W054");break;case"Date":case"RegExp":case"this":break;default:"function"!==c.id&&(i=c.value.substr(0,1),state.option.newcap&&("A">i||i>"Z")&&!state.funct["(scope)"].isPredefined(c.value)&&warning("W055",state.tokens.curr))}else"."!==c.id&&"["!==c.id&&"("!==c.id&&warning("W056",state.tokens.curr);else state.option.supernew||warning("W057",this);return"("===state.tokens.next.id||state.option.supernew||warning("W058",state.tokens.curr,state.tokens.curr.value),this.first=this.right=c,this}),state.syntax["new"].exps=!0,prefix("void").exps=!0,infix(".",function(left,that){var m=identifier(!1,!0);return"string"==typeof m&&countMember(m),that.left=left,that.right=m,m&&"hasOwnProperty"===m&&"="===state.tokens.next.value&&warning("W001"),!left||"arguments"!==left.value||"callee"!==m&&"caller"!==m?state.option.evil||!left||"document"!==left.value||"write"!==m&&"writeln"!==m||warning("W060",left):state.option.noarg?warning("W059",left,m):state.isStrict()&&error("E008"),state.option.evil||"eval"!==m&&"execScript"!==m||isGlobalEval(left,state)&&warning("W061"),that},160,!0),infix("(",function(left,that){state.option.immed&&left&&!left.immed&&"function"===left.id&&warning("W062");var n=0,p=[];if(left&&"(identifier)"===left.type&&left.value.match(/^[A-Z]([A-Z0-9_$]*[a-z][A-Za-z0-9_$]*)?$/)&&-1==="Array Number String Boolean Date Object Error Symbol".indexOf(left.value)&&("Math"===left.value?warning("W063",left):state.option.newcap&&warning("W064",left)),")"!==state.tokens.next.id)for(;p[p.length]=expression(10),n+=1,","===state.tokens.next.id;)comma();return advance(")"),"object"==typeof left&&(state.inES5()||"parseInt"!==left.value||1!==n||warning("W065",state.tokens.curr),state.option.evil||("eval"===left.value||"Function"===left.value||"execScript"===left.value?(warning("W061",left),p[0]&&"(string)"===[0].id&&addInternalSrc(left,p[0].value)):!p[0]||"(string)"!==p[0].id||"setTimeout"!==left.value&&"setInterval"!==left.value?!p[0]||"(string)"!==p[0].id||"."!==left.value||"window"!==left.left.value||"setTimeout"!==left.right&&"setInterval"!==left.right||(warning("W066",left),addInternalSrc(left,p[0].value)):(warning("W066",left),addInternalSrc(left,p[0].value))),left.identifier||"."===left.id||"["===left.id||"=>"===left.id||"("===left.id||"&&"===left.id||"||"===left.id||"?"===left.id||state.inES6()&&left["(name)"]||warning("W067",that)),that.left=left,that},155,!0).exps=!0,prefix("(",function(){var pn1,ret,triggerFnExpr,first,last,pn=state.tokens.next,i=-1,parens=1,opening=state.tokens.curr,preceeding=state.tokens.prev,isNecessary=!state.option.singleGroups;do"("===pn.value?parens+=1:")"===pn.value&&(parens-=1),i+=1,pn1=pn,pn=peek(i);while((0!==parens||")"!==pn1.value)&&";"!==pn.value&&"(end)"!==pn.type);if("function"===state.tokens.next.id&&(triggerFnExpr=state.tokens.next.immed=!0),"=>"===pn.value)return doFunction({type:"arrow",parsedOpening:!0});var exprs=[];if(")"!==state.tokens.next.id)for(;exprs.push(expression(10)),","===state.tokens.next.id;)state.option.nocomma&&warning("W127"),comma();return advance(")",this),state.option.immed&&exprs[0]&&"function"===exprs[0].id&&"("!==state.tokens.next.id&&"."!==state.tokens.next.id&&"["!==state.tokens.next.id&&warning("W068",this),exprs.length?(exprs.length>1?(ret=Object.create(state.syntax[","]),ret.exprs=exprs,first=exprs[0],last=exprs[exprs.length-1],isNecessary||(isNecessary=preceeding.assign||preceeding.delim)):(ret=first=last=exprs[0],isNecessary||(isNecessary=opening.beginsStmt&&("{"===ret.id||triggerFnExpr||isFunctor(ret))||triggerFnExpr&&(!isEndOfExpr()||"}"!==state.tokens.prev.id)||isFunctor(ret)&&!isEndOfExpr()||"{"===ret.id&&"=>"===preceeding.id||"(number)"===ret.type&&checkPunctuator(pn,".")&&/^\\d+$/.test(ret.value))),ret&&(!isNecessary&&(first.left||first.right||ret.exprs)&&(isNecessary=!isBeginOfExpr(preceeding)&&first.lbp<=preceeding.lbp||!isEndOfExpr()&&last.lbp"),infix("[",function(left,that){var s,e=expression(10);return e&&"(string)"===e.type&&(state.option.evil||"eval"!==e.value&&"execScript"!==e.value||isGlobalEval(left,state)&&warning("W061"),countMember(e.value),!state.option.sub&®.identifier.test(e.value)&&(s=state.syntax[e.value],s&&isReserved(s)||warning("W069",state.tokens.prev,e.value))),advance("]",that),e&&"hasOwnProperty"===e.value&&"="===state.tokens.next.value&&warning("W001"),that.left=left,that.right=e,that},160,!0),prefix("[",function(){var blocktype=lookupBlockType();if(blocktype.isCompArray)return state.option.esnext||state.inMoz()||warning("W118",state.tokens.curr,"array comprehension"),comprehensiveArrayExpression();if(blocktype.isDestAssign)return this.destructAssign=destructuringPattern({openingParsed:!0,assignment:!0}),this;var b=state.tokens.curr.line!==startLine(state.tokens.next);for(this.first=[],b&&(indent+=state.option.indent,state.tokens.next.from===indent+state.option.indent&&(indent+=state.option.indent));"(end)"!==state.tokens.next.id;){for(;","===state.tokens.next.id;){if(!state.option.elision){if(state.inES5()){warning("W128");do advance(",");while(","===state.tokens.next.id);continue}warning("W070")}advance(",")}if("]"===state.tokens.next.id)break;if(this.first.push(expression(10)),","!==state.tokens.next.id)break;if(comma({allowTrailing:!0}),"]"===state.tokens.next.id&&!state.inES5()){warning("W070",state.tokens.curr);break}}return b&&(indent-=state.option.indent),advance("]",this),this}),function(x){x.nud=function(){var b,f,i,p,t,nextVal,isGeneratorMethod=!1,props=Object.create(null);b=state.tokens.curr.line!==startLine(state.tokens.next),b&&(indent+=state.option.indent,state.tokens.next.from===indent+state.option.indent&&(indent+=state.option.indent));var blocktype=lookupBlockType();if(blocktype.isDestAssign)return this.destructAssign=destructuringPattern({openingParsed:!0,assignment:!0}),this;for(;"}"!==state.tokens.next.id;){if(nextVal=state.tokens.next.value,!state.tokens.next.identifier||","!==peekIgnoreEOL().id&&"}"!==peekIgnoreEOL().id)if(":"===peek().id||"get"!==nextVal&&"set"!==nextVal){if("*"===state.tokens.next.value&&"(punctuator)"===state.tokens.next.type?(state.inES6()||warning("W104",state.tokens.next,"generator functions","6"),advance("*"),isGeneratorMethod=!0):isGeneratorMethod=!1,"["===state.tokens.next.id)i=computedPropertyName(),state.nameStack.set(i);else if(state.nameStack.set(state.tokens.next),i=propertyName(),saveProperty(props,i,state.tokens.next),"string"!=typeof i)break;"("===state.tokens.next.value?(state.inES6()||warning("W104",state.tokens.curr,"concise methods","6"),doFunction({type:isGeneratorMethod?"generator":null})):(advance(":"),expression(10))}else advance(nextVal),state.inES5()||error("E034"),i=propertyName(),i||state.inES6()||error("E035"),i&&saveAccessor(nextVal,props,i,state.tokens.curr),t=state.tokens.next,f=doFunction(),p=f["(params)"],"get"===nextVal&&i&&p?warning("W076",t,p[0],i):"set"!==nextVal||!i||p&&1===p.length||warning("W077",t,i);else state.inES6()||warning("W104",state.tokens.next,"object short notation","6"),i=propertyName(!0),saveProperty(props,i,state.tokens.next),expression(10);if(countMember(i),","!==state.tokens.next.id)break;comma({allowTrailing:!0,property:!0}),","===state.tokens.next.id?warning("W070",state.tokens.curr):"}"!==state.tokens.next.id||state.inES5()||warning("W070",state.tokens.curr)}return b&&(indent-=state.option.indent),advance("}",this),checkProperties(props),this},x.fud=function(){error("E036",state.tokens.curr)}}(delim("{"));var conststatement=stmt("const",function(context){return blockVariableStatement("const",this,context)});conststatement.exps=!0;var letstatement=stmt("let",function(context){return blockVariableStatement("let",this,context)});letstatement.exps=!0;var varstatement=stmt("var",function(context){var tokens,lone,value,prefix=context&&context.prefix,inexport=context&&context.inexport,implied=context&&context.implied,report=!(context&&context.ignore);for(this.first=[];;){var names=[];_.contains(["{","["],state.tokens.next.value)?(tokens=destructuringPattern(),lone=!1):(tokens=[{id:identifier(),token:state.tokens.curr}],lone=!0),prefix&&implied||!report||!state.option.varstmt||warning("W132",this),this.first=this.first.concat(names);for(var t in tokens)tokens.hasOwnProperty(t)&&(t=tokens[t],!implied&&state.funct["(global)"]&&(predefined[t.id]===!1?warning("W079",t.token,t.id):state.option.futurehostile===!1&&(!state.inES5()&&vars.ecmaIdentifiers[5][t.id]===!1||!state.inES6()&&vars.ecmaIdentifiers[6][t.id]===!1)&&warning("W129",t.token,t.id)),t.id&&("for"===implied?(state.funct["(scope)"].has(t.id)||report&&warning("W088",t.token,t.id),state.funct["(scope)"].block.use(t.id,t.token)):(state.funct["(scope)"].addlabel(t.id,{type:"var",token:t.token}),lone&&inexport&&state.funct["(scope)"].setExported(t.id,t.token)),names.push(t.token)));if("="===state.tokens.next.id&&(state.nameStack.set(state.tokens.curr),advance("="),prefix||!report||state.funct["(loopage)"]||"undefined"!==state.tokens.next.id||warning("W080",state.tokens.prev,state.tokens.prev.value),"="===peek(0).id&&state.tokens.next.identifier&&(!prefix&&report&&!state.funct["(params)"]||-1===state.funct["(params)"].indexOf(state.tokens.next.value))&&warning("W120",state.tokens.next,state.tokens.next.value),value=expression(prefix?120:10),lone?tokens[0].first=value:destructuringPatternMatch(names,value)),","!==state.tokens.next.id)break;comma()}return this});varstatement.exps=!0,blockstmt("class",function(){return classdef.call(this,!0)}),blockstmt("function",function(context){var inexport=context&&context.inexport,generator=!1;"*"===state.tokens.next.value&&(advance("*"),state.inES6({strict:!0})?generator=!0:warning("W119",state.tokens.curr,"function*","6")),inblock&&warning("W082",state.tokens.curr);var i=optionalidentifier();return state.funct["(scope)"].addlabel(i,{type:"function",token:state.tokens.curr}),void 0===i?warning("W025"):inexport&&state.funct["(scope)"].setExported(i,state.tokens.prev),doFunction({name:i,statement:this,type:generator?"generator":null,ignoreLoopFunc:inblock}),"("===state.tokens.next.id&&state.tokens.next.line===state.tokens.curr.line&&error("E039"),this}),prefix("function",function(){var generator=!1;"*"===state.tokens.next.value&&(state.inES6()||warning("W119",state.tokens.curr,"function*","6"),advance("*"),generator=!0);var i=optionalidentifier();return doFunction({name:i,type:generator?"generator":null}),this}),blockstmt("if",function(){var t=state.tokens.next;increaseComplexityCount(),state.condition=!0,advance("(");var expr=expression(0);checkCondAssignment(expr);var forinifcheck=null;state.option.forin&&state.forinifcheckneeded&&(state.forinifcheckneeded=!1,forinifcheck=state.forinifchecks[state.forinifchecks.length-1],forinifcheck.type="(punctuator)"===expr.type&&"!"===expr.value?"(negative)":"(positive)"),advance(")",t),state.condition=!1;var s=block(!0,!0);return forinifcheck&&"(negative)"===forinifcheck.type&&s&&s[0]&&"(identifier)"===s[0].type&&"continue"===s[0].value&&(forinifcheck.type="(negative-with-continue)"),"else"===state.tokens.next.id&&(advance("else"),"if"===state.tokens.next.id||"switch"===state.tokens.next.id?statement():block(!0,!0)),this}),blockstmt("try",function(){function doCatch(){if(advance("catch"),advance("("),state.funct["(scope)"].stack("catchparams"),checkPunctuators(state.tokens.next,["[","{"])){var tokens=destructuringPattern();_.each(tokens,function(token){token.id&&state.funct["(scope)"].addParam(token.id,token,"exception")})}else"(identifier)"!==state.tokens.next.type?warning("E030",state.tokens.next,state.tokens.next.value):state.funct["(scope)"].addParam(identifier(),state.tokens.curr,"exception");"if"===state.tokens.next.value&&(state.inMoz()||warning("W118",state.tokens.curr,"catch filter"),advance("if"),expression(0)),advance(")"),block(!1),state.funct["(scope)"].unstack()}var b;for(block(!0);"catch"===state.tokens.next.id;)increaseComplexityCount(),b&&!state.inMoz()&&warning("W118",state.tokens.next,"multiple catch blocks"),doCatch(),b=!0;return"finally"===state.tokens.next.id?(advance("finally"),block(!0),void 0):(b||error("E021",state.tokens.next,"catch",state.tokens.next.value),this)}),blockstmt("while",function(){var t=state.tokens.next;return state.funct["(breakage)"]+=1,state.funct["(loopage)"]+=1,increaseComplexityCount(),advance("("),checkCondAssignment(expression(0)),advance(")",t),block(!0,!0),state.funct["(breakage)"]-=1,state.funct["(loopage)"]-=1,this}).labelled=!0,blockstmt("with",function(){var t=state.tokens.next;return state.isStrict()?error("E010",state.tokens.curr):state.option.withstmt||warning("W085",state.tokens.curr),advance("("),expression(0),advance(")",t),block(!0,!0),this}),blockstmt("switch",function(){var t=state.tokens.next,g=!1,noindent=!1;\nfor(state.funct["(breakage)"]+=1,advance("("),checkCondAssignment(expression(0)),advance(")",t),t=state.tokens.next,advance("{"),state.tokens.next.from===indent&&(noindent=!0),noindent||(indent+=state.option.indent),this.cases=[];;)switch(state.tokens.next.id){case"case":switch(state.funct["(verb)"]){case"yield":case"break":case"case":case"continue":case"return":case"switch":case"throw":break;default:state.tokens.curr.caseFallsThrough||warning("W086",state.tokens.curr,"case")}advance("case"),this.cases.push(expression(0)),increaseComplexityCount(),g=!0,advance(":"),state.funct["(verb)"]="case";break;case"default":switch(state.funct["(verb)"]){case"yield":case"break":case"continue":case"return":case"throw":break;default:this.cases.length&&(state.tokens.curr.caseFallsThrough||warning("W086",state.tokens.curr,"default"))}advance("default"),g=!0,advance(":");break;case"}":return noindent||(indent-=state.option.indent),advance("}",t),state.funct["(breakage)"]-=1,state.funct["(verb)"]=void 0,void 0;case"(end)":return error("E023",state.tokens.next,"}"),void 0;default:if(indent+=state.option.indent,g)switch(state.tokens.curr.id){case",":return error("E040"),void 0;case":":g=!1,statements();break;default:return error("E025",state.tokens.curr),void 0}else{if(":"!==state.tokens.curr.id)return error("E021",state.tokens.next,"case",state.tokens.next.value),void 0;advance(":"),error("E024",state.tokens.curr,":"),statements()}indent-=state.option.indent}return this}).labelled=!0,stmt("debugger",function(){return state.option.debug||warning("W087",this),this}).exps=!0,function(){var x=stmt("do",function(){state.funct["(breakage)"]+=1,state.funct["(loopage)"]+=1,increaseComplexityCount(),this.first=block(!0,!0),advance("while");var t=state.tokens.next;return advance("("),checkCondAssignment(expression(0)),advance(")",t),state.funct["(breakage)"]-=1,state.funct["(loopage)"]-=1,this});x.labelled=!0,x.exps=!0}(),blockstmt("for",function(){var s,t=state.tokens.next,letscope=!1,foreachtok=null;"each"===t.value&&(foreachtok=t,advance("each"),state.inMoz()||warning("W118",state.tokens.curr,"for each")),increaseComplexityCount(),advance("(");var nextop,comma,initializer,i=0,inof=["in","of"],level=0;checkPunctuators(state.tokens.next,["{","["])&&++level;do{if(nextop=peek(i),++i,checkPunctuators(nextop,["{","["])?++level:checkPunctuators(nextop,["}","]"])&&--level,0>level)break;0===level&&(!comma&&checkPunctuator(nextop,",")?comma=nextop:!initializer&&checkPunctuator(nextop,"=")&&(initializer=nextop))}while(level>0||!_.contains(inof,nextop.value)&&";"!==nextop.value&&"(end)"!==nextop.type);if(_.contains(inof,nextop.value)){state.inES6()||"of"!==nextop.value||warning("W104",nextop,"for of","6");var ok=!(initializer||comma);if(initializer&&error("W133",comma,nextop.value,"initializer is forbidden"),comma&&error("W133",comma,nextop.value,"more than one ForBinding"),"var"===state.tokens.next.id?(advance("var"),state.tokens.curr.fud({prefix:!0})):"let"===state.tokens.next.id||"const"===state.tokens.next.id?(advance(state.tokens.next.id),letscope=!0,state.funct["(scope)"].stack(),state.tokens.curr.fud({prefix:!0})):Object.create(varstatement).fud({prefix:!0,implied:"for",ignore:!ok}),advance(nextop.value),expression(20),advance(")",t),"in"===nextop.value&&state.option.forin&&(state.forinifcheckneeded=!0,void 0===state.forinifchecks&&(state.forinifchecks=[]),state.forinifchecks.push({type:"(none)"})),state.funct["(breakage)"]+=1,state.funct["(loopage)"]+=1,s=block(!0,!0),"in"===nextop.value&&state.option.forin){if(state.forinifchecks&&state.forinifchecks.length>0){var check=state.forinifchecks.pop();(s&&s.length>0&&("object"!=typeof s[0]||"if"!==s[0].value)||"(positive)"===check.type&&s.length>1||"(negative)"===check.type)&&warning("W089",this)}state.forinifcheckneeded=!1}state.funct["(breakage)"]-=1,state.funct["(loopage)"]-=1}else{if(foreachtok&&error("E045",foreachtok),";"!==state.tokens.next.id)if("var"===state.tokens.next.id)advance("var"),state.tokens.curr.fud();else if("let"===state.tokens.next.id)advance("let"),letscope=!0,state.funct["(scope)"].stack(),state.tokens.curr.fud();else for(;expression(0,"for"),","===state.tokens.next.id;)comma();if(nolinebreak(state.tokens.curr),advance(";"),state.funct["(loopage)"]+=1,";"!==state.tokens.next.id&&checkCondAssignment(expression(0)),nolinebreak(state.tokens.curr),advance(";"),";"===state.tokens.next.id&&error("E021",state.tokens.next,")",";"),")"!==state.tokens.next.id)for(;expression(0,"for"),","===state.tokens.next.id;)comma();advance(")",t),state.funct["(breakage)"]+=1,block(!0,!0),state.funct["(breakage)"]-=1,state.funct["(loopage)"]-=1}return letscope&&state.funct["(scope)"].unstack(),this}).labelled=!0,stmt("break",function(){var v=state.tokens.next.value;return state.option.asi||nolinebreak(this),";"===state.tokens.next.id||state.tokens.next.reach||state.tokens.curr.line!==startLine(state.tokens.next)?0===state.funct["(breakage)"]&&warning("W052",state.tokens.next,this.value):(state.funct["(scope)"].funct.hasBreakLabel(v)||warning("W090",state.tokens.next,v),this.first=state.tokens.next,advance()),reachable(this),this}).exps=!0,stmt("continue",function(){var v=state.tokens.next.value;return 0===state.funct["(breakage)"]&&warning("W052",state.tokens.next,this.value),state.funct["(loopage)"]||warning("W052",state.tokens.next,this.value),state.option.asi||nolinebreak(this),";"===state.tokens.next.id||state.tokens.next.reach||state.tokens.curr.line===startLine(state.tokens.next)&&(state.funct["(scope)"].funct.hasBreakLabel(v)||warning("W090",state.tokens.next,v),this.first=state.tokens.next,advance()),reachable(this),this}).exps=!0,stmt("return",function(){return this.line===startLine(state.tokens.next)?";"===state.tokens.next.id||state.tokens.next.reach||(this.first=expression(0),!this.first||"(punctuator)"!==this.first.type||"="!==this.first.value||this.first.paren||state.option.boss||warningAt("W093",this.first.line,this.first.character)):"(punctuator)"===state.tokens.next.type&&["[","{","+","-"].indexOf(state.tokens.next.value)>-1&&nolinebreak(this),reachable(this),this}).exps=!0,function(x){x.exps=!0,x.lbp=25}(prefix("yield",function(){var prev=state.tokens.prev;state.inES6(!0)&&!state.funct["(generator)"]?"(catch)"===state.funct["(name)"]&&state.funct["(context)"]["(generator)"]||error("E046",state.tokens.curr,"yield"):state.inES6()||warning("W104",state.tokens.curr,"yield","6"),state.funct["(generator)"]="yielded";var delegatingYield=!1;return"*"===state.tokens.next.value&&(delegatingYield=!0,advance("*")),this.line!==startLine(state.tokens.next)&&state.inMoz()?state.option.asi||nolinebreak(this):((delegatingYield||";"!==state.tokens.next.id&&!state.option.asi&&!state.tokens.next.reach&&state.tokens.next.nud)&&(nobreaknonadjacent(state.tokens.curr,state.tokens.next),this.first=expression(10),"(punctuator)"!==this.first.type||"="!==this.first.value||this.first.paren||state.option.boss||warningAt("W093",this.first.line,this.first.character)),state.inMoz()&&")"!==state.tokens.next.id&&(prev.lbp>30||!prev.assign&&!isEndOfExpr()||"yield"===prev.id)&&error("E050",this)),this})),stmt("throw",function(){return nolinebreak(this),this.first=expression(20),reachable(this),this}).exps=!0,stmt("import",function(){if(state.inES6()||warning("W119",state.tokens.curr,"import","6"),"(string)"===state.tokens.next.type)return advance("(string)"),this;if(state.tokens.next.identifier){if(this.name=identifier(),state.funct["(scope)"].addlabel(this.name,{type:"const",token:state.tokens.curr}),","!==state.tokens.next.value)return advance("from"),advance("(string)"),this;advance(",")}if("*"===state.tokens.next.id)advance("*"),advance("as"),state.tokens.next.identifier&&(this.name=identifier(),state.funct["(scope)"].addlabel(this.name,{type:"const",token:state.tokens.curr}));else for(advance("{");;){if("}"===state.tokens.next.value){advance("}");break}var importName;if("default"===state.tokens.next.type?(importName="default",advance("default")):importName=identifier(),"as"===state.tokens.next.value&&(advance("as"),importName=identifier()),state.funct["(scope)"].addlabel(importName,{type:"const",token:state.tokens.curr}),","!==state.tokens.next.value){if("}"===state.tokens.next.value){advance("}");break}error("E024",state.tokens.next,state.tokens.next.value);break}advance(",")}return advance("from"),advance("(string)"),this}).exps=!0,stmt("export",function(){var token,identifier,ok=!0;if(state.inES6()||(warning("W119",state.tokens.curr,"export","6"),ok=!1),state.funct["(scope)"].block.isGlobal()||(error("E053",state.tokens.curr),ok=!1),"*"===state.tokens.next.value)return advance("*"),advance("from"),advance("(string)"),this;if("default"===state.tokens.next.type){state.nameStack.set(state.tokens.next),advance("default");var exportType=state.tokens.next.id;return("function"===exportType||"class"===exportType)&&(this.block=!0),token=peek(),expression(10),identifier=token.value,this.block&&(state.funct["(scope)"].addlabel(identifier,{type:exportType,token:token}),state.funct["(scope)"].setExported(identifier,token)),this}if("{"===state.tokens.next.value){advance("{");for(var exportedTokens=[];;){if(state.tokens.next.identifier||error("E030",state.tokens.next,state.tokens.next.value),advance(),exportedTokens.push(state.tokens.curr),"as"===state.tokens.next.value&&(advance("as"),state.tokens.next.identifier||error("E030",state.tokens.next,state.tokens.next.value),advance()),","!==state.tokens.next.value){if("}"===state.tokens.next.value){advance("}");break}error("E024",state.tokens.next,state.tokens.next.value);break}advance(",")}return"from"===state.tokens.next.value?(advance("from"),advance("(string)")):ok&&exportedTokens.forEach(function(token){state.funct["(scope)"].setExported(token.value,token)}),this}if("var"===state.tokens.next.id)advance("var"),state.tokens.curr.fud({inexport:!0});else if("let"===state.tokens.next.id)advance("let"),state.tokens.curr.fud({inexport:!0});else if("const"===state.tokens.next.id)advance("const"),state.tokens.curr.fud({inexport:!0});else if("function"===state.tokens.next.id)this.block=!0,advance("function"),state.syntax["function"].fud({inexport:!0});else if("class"===state.tokens.next.id){this.block=!0,advance("class");var classNameToken=state.tokens.next;state.syntax["class"].fud(),state.funct["(scope)"].setExported(classNameToken.value,classNameToken)}else error("E024",state.tokens.next,state.tokens.next.value);return this}).exps=!0,FutureReservedWord("abstract"),FutureReservedWord("boolean"),FutureReservedWord("byte"),FutureReservedWord("char"),FutureReservedWord("class",{es5:!0,nud:classdef}),FutureReservedWord("double"),FutureReservedWord("enum",{es5:!0}),FutureReservedWord("export",{es5:!0}),FutureReservedWord("extends",{es5:!0}),FutureReservedWord("final"),FutureReservedWord("float"),FutureReservedWord("goto"),FutureReservedWord("implements",{es5:!0,strictOnly:!0}),FutureReservedWord("import",{es5:!0}),FutureReservedWord("int"),FutureReservedWord("interface",{es5:!0,strictOnly:!0}),FutureReservedWord("long"),FutureReservedWord("native"),FutureReservedWord("package",{es5:!0,strictOnly:!0}),FutureReservedWord("private",{es5:!0,strictOnly:!0}),FutureReservedWord("protected",{es5:!0,strictOnly:!0}),FutureReservedWord("public",{es5:!0,strictOnly:!0}),FutureReservedWord("short"),FutureReservedWord("static",{es5:!0,strictOnly:!0}),FutureReservedWord("super",{es5:!0}),FutureReservedWord("synchronized"),FutureReservedWord("transient"),FutureReservedWord("volatile");var lookupBlockType=function(){var pn,pn1,prev,i=-1,bracketStack=0,ret={};checkPunctuators(state.tokens.curr,["[","{"])&&(bracketStack+=1);do{if(prev=-1===i?state.tokens.curr:pn,pn=-1===i?state.tokens.next:peek(i),pn1=peek(i+1),i+=1,checkPunctuators(pn,["[","{"])?bracketStack+=1:checkPunctuators(pn,["]","}"])&&(bracketStack-=1),1===bracketStack&&pn.identifier&&"for"===pn.value&&!checkPunctuator(prev,".")){ret.isCompArray=!0,ret.notJson=!0;break}if(0===bracketStack&&checkPunctuators(pn,["}","]"])){if("="===pn1.value){ret.isDestAssign=!0,ret.notJson=!0;break}if("."===pn1.value){ret.notJson=!0;break}}checkPunctuator(pn,";")&&(ret.isBlock=!0,ret.notJson=!0)}while(bracketStack>0&&"(end)"!==pn.id);return ret},arrayComprehension=function(){function declare(v){var l=_current.variables.filter(function(elt){return elt.value===v?(elt.undef=!1,v):void 0}).length;return 0!==l}function use(v){var l=_current.variables.filter(function(elt){return elt.value!==v||elt.undef?void 0:(elt.unused===!0&&(elt.unused=!1),v)}).length;return 0===l}var _current,CompArray=function(){this.mode="use",this.variables=[]},_carrays=[];return{stack:function(){_current=new CompArray,_carrays.push(_current)},unstack:function(){_current.variables.filter(function(v){v.unused&&warning("W098",v.token,v.raw_text||v.value),v.undef&&state.funct["(scope)"].block.use(v.value,v.token)}),_carrays.splice(-1,1),_current=_carrays[_carrays.length-1]},setState:function(s){_.contains(["use","define","generate","filter"],s)&&(_current.mode=s)},check:function(v){return _current?_current&&"use"===_current.mode?(use(v)&&_current.variables.push({funct:state.funct,token:state.tokens.curr,value:v,undef:!0,unused:!1}),!0):_current&&"define"===_current.mode?(declare(v)||_current.variables.push({funct:state.funct,token:state.tokens.curr,value:v,undef:!1,unused:!0}),!0):_current&&"generate"===_current.mode?(state.funct["(scope)"].block.use(v,state.tokens.curr),!0):_current&&"filter"===_current.mode?(use(v)&&state.funct["(scope)"].block.use(v,state.tokens.curr),!0):!1:void 0}}},escapeRegex=function(str){return str.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g,"\\\\$&")},itself=function(s,o,g){function each(obj,cb){obj&&(Array.isArray(obj)||"object"!=typeof obj||(obj=Object.keys(obj)),obj.forEach(cb))}var i,k,x,reIgnoreStr,reIgnore,optionKeys,newOptionObj={},newIgnoredObj={};o=_.clone(o),state.reset(),o&&o.scope?JSHINT.scope=o.scope:(JSHINT.errors=[],JSHINT.undefs=[],JSHINT.internals=[],JSHINT.blacklist={},JSHINT.scope="(main)"),predefined=Object.create(null),combine(predefined,vars.ecmaIdentifiers[3]),combine(predefined,vars.reservedVars),combine(predefined,g||{}),declared=Object.create(null);var exported=Object.create(null);if(o)for(each(o.predef||null,function(item){var slice,prop;"-"===item[0]?(slice=item.slice(1),JSHINT.blacklist[slice]=slice,delete predefined[slice]):(prop=Object.getOwnPropertyDescriptor(o.predef,item),predefined[item]=prop?prop.value:!1)}),each(o.exported||null,function(item){exported[item]=!0}),delete o.predef,delete o.exported,optionKeys=Object.keys(o),x=0;optionKeys.length>x;x++)if(/^-W\\d{3}$/g.test(optionKeys[x]))newIgnoredObj[optionKeys[x].slice(1)]=!0;else{var optionKey=optionKeys[x];newOptionObj[optionKey]=o[optionKey],("esversion"===optionKey&&5===o[optionKey]||"es5"===optionKey&&o[optionKey])&&warning("I003"),"newcap"===optionKeys[x]&&o[optionKey]===!1&&(newOptionObj["(explicitNewcap)"]=!0)}state.option=newOptionObj,state.ignored=newIgnoredObj,state.option.indent=state.option.indent||4,state.option.maxerr=state.option.maxerr||50,indent=1;var scopeManagerInst=scopeManager(state,predefined,exported,declared);if(scopeManagerInst.on("warning",function(ev){warning.apply(null,[ev.code,ev.token].concat(ev.data))}),scopeManagerInst.on("error",function(ev){error.apply(null,[ev.code,ev.token].concat(ev.data))}),state.funct=functor("(global)",null,{"(global)":!0,"(scope)":scopeManagerInst,"(comparray)":arrayComprehension(),"(metrics)":createMetrics(state.tokens.next)}),functions=[state.funct],urls=[],stack=null,member={},membersOnly=null,inblock=!1,lookahead=[],!isString(s)&&!Array.isArray(s))return errorAt("E004",0),!1;api={get isJSON(){return state.jsonMode},getOption:function(name){return state.option[name]||null},getCache:function(name){return state.cache[name]},setCache:function(name,value){state.cache[name]=value},warn:function(code,data){warningAt.apply(null,[code,data.line,data.char].concat(data.data))},on:function(names,listener){names.split(" ").forEach(function(name){emitter.on(name,listener)}.bind(this))}},emitter.removeAllListeners(),(extraModules||[]).forEach(function(func){func(api)}),state.tokens.prev=state.tokens.curr=state.tokens.next=state.syntax["(begin)"],o&&o.ignoreDelimiters&&(Array.isArray(o.ignoreDelimiters)||(o.ignoreDelimiters=[o.ignoreDelimiters]),o.ignoreDelimiters.forEach(function(delimiterPair){delimiterPair.start&&delimiterPair.end&&(reIgnoreStr=escapeRegex(delimiterPair.start)+"[\\\\s\\\\S]*?"+escapeRegex(delimiterPair.end),reIgnore=RegExp(reIgnoreStr,"ig"),s=s.replace(reIgnore,function(match){return match.replace(/./g," ")}))})),lex=new Lexer(s),lex.on("warning",function(ev){warningAt.apply(null,[ev.code,ev.line,ev.character].concat(ev.data))}),lex.on("error",function(ev){errorAt.apply(null,[ev.code,ev.line,ev.character].concat(ev.data))}),lex.on("fatal",function(ev){quit("E041",ev.line,ev.from)}),lex.on("Identifier",function(ev){emitter.emit("Identifier",ev)}),lex.on("String",function(ev){emitter.emit("String",ev)}),lex.on("Number",function(ev){emitter.emit("Number",ev)}),lex.start();for(var name in o)_.has(o,name)&&checkOption(name,state.tokens.curr);assume(),combine(predefined,g||{}),comma.first=!0;try{switch(advance(),state.tokens.next.id){case"{":case"[":destructuringAssignOrJsonValue();break;default:directives(),state.directive["use strict"]&&"global"!==state.option.strict&&warning("W097",state.tokens.prev),statements()}"(end)"!==state.tokens.next.id&&quit("E041",state.tokens.curr.line),state.funct["(scope)"].unstack()}catch(err){if(!err||"JSHintError"!==err.name)throw err;var nt=state.tokens.next||{};JSHINT.errors.push({scope:"(main)",raw:err.raw,code:err.code,reason:err.message,line:err.line||nt.line,character:err.character||nt.from},null)}if("(main)"===JSHINT.scope)for(o=o||{},i=0;JSHINT.internals.length>i;i+=1)k=JSHINT.internals[i],o.scope=k.elem,itself(k.value,o,g);return 0===JSHINT.errors.length};return itself.addModule=function(func){extraModules.push(func)},itself.addModule(style.register),itself.data=function(){var fu,f,i,j,n,globals,data={functions:[],options:state.option};itself.errors.length&&(data.errors=itself.errors),state.jsonMode&&(data.json=!0);var impliedGlobals=state.funct["(scope)"].getImpliedGlobals();for(impliedGlobals.length>0&&(data.implieds=impliedGlobals),urls.length>0&&(data.urls=urls),globals=state.funct["(scope)"].getUsedOrDefinedGlobals(),globals.length>0&&(data.globals=globals),i=1;functions.length>i;i+=1){for(f=functions[i],fu={},j=0;functionicity.length>j;j+=1)fu[functionicity[j]]=[];for(j=0;functionicity.length>j;j+=1)0===fu[functionicity[j]].length&&delete fu[functionicity[j]];fu.name=f["(name)"],fu.param=f["(params)"],fu.line=f["(line)"],fu.character=f["(character)"],fu.last=f["(last)"],fu.lastcharacter=f["(lastcharacter)"],fu.metrics={complexity:f["(metrics)"].ComplexityCount,parameters:f["(metrics)"].arity,statements:f["(metrics)"].statementCount},data.functions.push(fu)}var unuseds=state.funct["(scope)"].getUnuseds();unuseds.length>0&&(data.unused=unuseds);for(n in member)if("number"==typeof member[n]){data.member=member;break}return data},itself.jshint=itself,itself}();"object"==typeof exports&&exports&&(exports.JSHINT=JSHINT)},{"../lodash":"/node_modules/jshint/lodash.js","./lex.js":"/node_modules/jshint/src/lex.js","./messages.js":"/node_modules/jshint/src/messages.js","./options.js":"/node_modules/jshint/src/options.js","./reg.js":"/node_modules/jshint/src/reg.js","./scope-manager.js":"/node_modules/jshint/src/scope-manager.js","./state.js":"/node_modules/jshint/src/state.js","./style.js":"/node_modules/jshint/src/style.js","./vars.js":"/node_modules/jshint/src/vars.js",events:"/node_modules/browserify/node_modules/events/events.js"}],"/node_modules/jshint/src/lex.js":[function(_dereq_,module,exports){"use strict";function asyncTrigger(){var _checks=[];return{push:function(fn){_checks.push(fn)},check:function(){for(var check=0;_checks.length>check;++check)_checks[check]();_checks.splice(0,_checks.length)}}}function Lexer(source){var lines=source;"string"==typeof lines&&(lines=lines.replace(/\\r\\n/g,"\\n").replace(/\\r/g,"\\n").split("\\n")),lines[0]&&"#!"===lines[0].substr(0,2)&&(-1!==lines[0].indexOf("node")&&(state.option.node=!0),lines[0]=""),this.emitter=new events.EventEmitter,this.source=source,this.setLines(lines),this.prereg=!0,this.line=0,this.char=1,this.from=1,this.input="",this.inComment=!1,this.context=[],this.templateStarts=[];for(var i=0;state.option.indent>i;i+=1)state.tab+=" ";this.ignoreLinterErrors=!1}var _=_dereq_("../lodash"),events=_dereq_("events"),reg=_dereq_("./reg.js"),state=_dereq_("./state.js").state,unicodeData=_dereq_("../data/ascii-identifier-data.js"),asciiIdentifierStartTable=unicodeData.asciiIdentifierStartTable,asciiIdentifierPartTable=unicodeData.asciiIdentifierPartTable,Token={Identifier:1,Punctuator:2,NumericLiteral:3,StringLiteral:4,Comment:5,Keyword:6,NullLiteral:7,BooleanLiteral:8,RegExp:9,TemplateHead:10,TemplateMiddle:11,TemplateTail:12,NoSubstTemplate:13},Context={Block:1,Template:2};Lexer.prototype={_lines:[],inContext:function(ctxType){return this.context.length>0&&this.context[this.context.length-1].type===ctxType},pushContext:function(ctxType){this.context.push({type:ctxType})},popContext:function(){return this.context.pop()},isContext:function(context){return this.context.length>0&&this.context[this.context.length-1]===context},currentContext:function(){return this.context.length>0&&this.context[this.context.length-1]},getLines:function(){return this._lines=state.lines,this._lines},setLines:function(val){this._lines=val,state.lines=this._lines},peek:function(i){return this.input.charAt(i||0)},skip:function(i){i=i||1,this.char+=i,this.input=this.input.slice(i)},on:function(names,listener){names.split(" ").forEach(function(name){this.emitter.on(name,listener)}.bind(this))},trigger:function(){this.emitter.emit.apply(this.emitter,Array.prototype.slice.call(arguments))},triggerAsync:function(type,args,checks,fn){checks.push(function(){fn()&&this.trigger(type,args)}.bind(this))},scanPunctuator:function(){var ch2,ch3,ch4,ch1=this.peek();switch(ch1){case".":if(/^[0-9]$/.test(this.peek(1)))return null;if("."===this.peek(1)&&"."===this.peek(2))return{type:Token.Punctuator,value:"..."};case"(":case")":case";":case",":case"[":case"]":case":":case"~":case"?":return{type:Token.Punctuator,value:ch1};case"{":return this.pushContext(Context.Block),{type:Token.Punctuator,value:ch1};case"}":return this.inContext(Context.Block)&&this.popContext(),{type:Token.Punctuator,value:ch1};case"#":return{type:Token.Punctuator,value:ch1};case"":return null}return ch2=this.peek(1),ch3=this.peek(2),ch4=this.peek(3),">"===ch1&&">"===ch2&&">"===ch3&&"="===ch4?{type:Token.Punctuator,value:">>>="}:"="===ch1&&"="===ch2&&"="===ch3?{type:Token.Punctuator,value:"==="}:"!"===ch1&&"="===ch2&&"="===ch3?{type:Token.Punctuator,value:"!=="}:">"===ch1&&">"===ch2&&">"===ch3?{type:Token.Punctuator,value:">>>"}:"<"===ch1&&"<"===ch2&&"="===ch3?{type:Token.Punctuator,value:"<<="}:">"===ch1&&">"===ch2&&"="===ch3?{type:Token.Punctuator,value:">>="}:"="===ch1&&">"===ch2?{type:Token.Punctuator,value:ch1+ch2}:ch1===ch2&&"+-<>&|".indexOf(ch1)>=0?{type:Token.Punctuator,value:ch1+ch2}:"<>=!+-*%&|^".indexOf(ch1)>=0?"="===ch2?{type:Token.Punctuator,value:ch1+ch2}:{type:Token.Punctuator,value:ch1}:"/"===ch1?"="===ch2?{type:Token.Punctuator,value:"/="}:{type:Token.Punctuator,value:"/"}:null},scanComments:function(){function commentToken(label,body,opt){var special=["jshint","jslint","members","member","globals","global","exported"],isSpecial=!1,value=label+body,commentType="plain";return opt=opt||{},opt.isMultiline&&(value+="*/"),body=body.replace(/\\n/g," "),"/*"===label&®.fallsThrough.test(body)&&(isSpecial=!0,commentType="falls through"),special.forEach(function(str){if(!isSpecial&&("//"!==label||"jshint"===str)&&(" "===body.charAt(str.length)&&body.substr(0,str.length)===str&&(isSpecial=!0,label+=str,body=body.substr(str.length)),isSpecial||" "!==body.charAt(0)||" "!==body.charAt(str.length+1)||body.substr(1,str.length)!==str||(isSpecial=!0,label=label+" "+str,body=body.substr(str.length+1)),isSpecial))switch(str){case"member":commentType="members";break;case"global":commentType="globals";break;default:var options=body.split(":").map(function(v){return v.replace(/^\\s+/,"").replace(/\\s+$/,"")});if(2===options.length)switch(options[0]){case"ignore":switch(options[1]){case"start":self.ignoringLinterErrors=!0,isSpecial=!1;break;case"end":self.ignoringLinterErrors=!1,isSpecial=!1}}commentType=str}}),{type:Token.Comment,commentType:commentType,value:value,body:body,isSpecial:isSpecial,isMultiline:opt.isMultiline||!1,isMalformed:opt.isMalformed||!1}}var ch1=this.peek(),ch2=this.peek(1),rest=this.input.substr(2),startLine=this.line,startChar=this.char,self=this;if("*"===ch1&&"/"===ch2)return this.trigger("error",{code:"E018",line:startLine,character:startChar}),this.skip(2),null;if("/"!==ch1||"*"!==ch2&&"/"!==ch2)return null;if("/"===ch2)return this.skip(this.input.length),commentToken("//",rest);var body="";if("*"===ch2){for(this.inComment=!0,this.skip(2);"*"!==this.peek()||"/"!==this.peek(1);)if(""===this.peek()){if(body+="\\n",!this.nextLine())return this.trigger("error",{code:"E017",line:startLine,character:startChar}),this.inComment=!1,commentToken("/*",body,{isMultiline:!0,isMalformed:!0})}else body+=this.peek(),this.skip();return this.skip(2),this.inComment=!1,commentToken("/*",body,{isMultiline:!0})}},scanKeyword:function(){var result=/^[a-zA-Z_$][a-zA-Z0-9_$]*/.exec(this.input),keywords=["if","in","do","var","for","new","try","let","this","else","case","void","with","enum","while","break","catch","throw","const","yield","class","super","return","typeof","delete","switch","export","import","default","finally","extends","function","continue","debugger","instanceof"];return result&&keywords.indexOf(result[0])>=0?{type:Token.Keyword,value:result[0]}:null},scanIdentifier:function(){function isNonAsciiIdentifierStart(code){return code>256}function isNonAsciiIdentifierPart(code){return code>256}function isHexDigit(str){return/^[0-9a-fA-F]$/.test(str)}function removeEscapeSequences(id){return id.replace(/\\\\u([0-9a-fA-F]{4})/g,function(m0,codepoint){return String.fromCharCode(parseInt(codepoint,16))})}var type,char,id="",index=0,readUnicodeEscapeSequence=function(){if(index+=1,"u"!==this.peek(index))return null;var code,ch1=this.peek(index+1),ch2=this.peek(index+2),ch3=this.peek(index+3),ch4=this.peek(index+4);return isHexDigit(ch1)&&isHexDigit(ch2)&&isHexDigit(ch3)&&isHexDigit(ch4)?(code=parseInt(ch1+ch2+ch3+ch4,16),asciiIdentifierPartTable[code]||isNonAsciiIdentifierPart(code)?(index+=5,"\\\\u"+ch1+ch2+ch3+ch4):null):null}.bind(this),getIdentifierStart=function(){var chr=this.peek(index),code=chr.charCodeAt(0);return 92===code?readUnicodeEscapeSequence():128>code?asciiIdentifierStartTable[code]?(index+=1,chr):null:isNonAsciiIdentifierStart(code)?(index+=1,chr):null}.bind(this),getIdentifierPart=function(){var chr=this.peek(index),code=chr.charCodeAt(0);return 92===code?readUnicodeEscapeSequence():128>code?asciiIdentifierPartTable[code]?(index+=1,chr):null:isNonAsciiIdentifierPart(code)?(index+=1,chr):null}.bind(this);if(char=getIdentifierStart(),null===char)return null;for(id=char;char=getIdentifierPart(),null!==char;)id+=char;switch(id){case"true":case"false":type=Token.BooleanLiteral;break;case"null":type=Token.NullLiteral;break;default:type=Token.Identifier}return{type:type,value:removeEscapeSequences(id),text:id,tokenLength:id.length}},scanNumericLiteral:function(){function isDecimalDigit(str){return/^[0-9]$/.test(str)}function isOctalDigit(str){return/^[0-7]$/.test(str)}function isBinaryDigit(str){return/^[01]$/.test(str)}function isHexDigit(str){return/^[0-9a-fA-F]$/.test(str)}function isIdentifierStart(ch){return"$"===ch||"_"===ch||"\\\\"===ch||ch>="a"&&"z">=ch||ch>="A"&&"Z">=ch}var bad,index=0,value="",length=this.input.length,char=this.peek(index),isAllowedDigit=isDecimalDigit,base=10,isLegacy=!1;if("."!==char&&!isDecimalDigit(char))return null;if("."!==char){for(value=this.peek(index),index+=1,char=this.peek(index),"0"===value&&(("x"===char||"X"===char)&&(isAllowedDigit=isHexDigit,base=16,index+=1,value+=char),("o"===char||"O"===char)&&(isAllowedDigit=isOctalDigit,base=8,state.inES6(!0)||this.trigger("warning",{code:"W119",line:this.line,character:this.char,data:["Octal integer literal","6"]}),index+=1,value+=char),("b"===char||"B"===char)&&(isAllowedDigit=isBinaryDigit,base=2,state.inES6(!0)||this.trigger("warning",{code:"W119",line:this.line,character:this.char,data:["Binary integer literal","6"]}),index+=1,value+=char),isOctalDigit(char)&&(isAllowedDigit=isOctalDigit,base=8,isLegacy=!0,bad=!1,index+=1,value+=char),!isOctalDigit(char)&&isDecimalDigit(char)&&(index+=1,value+=char));length>index;){if(char=this.peek(index),isLegacy&&isDecimalDigit(char))bad=!0;else if(!isAllowedDigit(char))break;value+=char,index+=1}if(isAllowedDigit!==isDecimalDigit)return!isLegacy&&2>=value.length?{type:Token.NumericLiteral,value:value,isMalformed:!0}:length>index&&(char=this.peek(index),isIdentifierStart(char))?null:{type:Token.NumericLiteral,value:value,base:base,isLegacy:isLegacy,isMalformed:!1}}if("."===char)for(value+=char,index+=1;length>index&&(char=this.peek(index),isDecimalDigit(char));)value+=char,index+=1;if("e"===char||"E"===char){if(value+=char,index+=1,char=this.peek(index),("+"===char||"-"===char)&&(value+=this.peek(index),index+=1),char=this.peek(index),!isDecimalDigit(char))return null;for(value+=char,index+=1;length>index&&(char=this.peek(index),isDecimalDigit(char));)value+=char,index+=1}return length>index&&(char=this.peek(index),isIdentifierStart(char))?null:{type:Token.NumericLiteral,value:value,base:base,isMalformed:!isFinite(value)}},scanEscapeSequence:function(checks){var allowNewLine=!1,jump=1;this.skip();var char=this.peek();switch(char){case"\'":this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\\\\'"]},checks,function(){return state.jsonMode});break;case"b":char="\\\\b";break;case"f":char="\\\\f";break;case"n":char="\\\\n";break;case"r":char="\\\\r";break;case"t":char="\\\\t";break;case"0":char="\\\\0";var n=parseInt(this.peek(1),10);this.triggerAsync("warning",{code:"W115",line:this.line,character:this.char},checks,function(){return n>=0&&7>=n&&state.isStrict()});break;case"u":var hexCode=this.input.substr(1,4),code=parseInt(hexCode,16);isNaN(code)&&this.trigger("warning",{code:"W052",line:this.line,character:this.char,data:["u"+hexCode]}),char=String.fromCharCode(code),jump=5;break;case"v":this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\\\v"]},checks,function(){return state.jsonMode}),char="\x0B";break;case"x":var x=parseInt(this.input.substr(1,2),16);this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\\\x-"]},checks,function(){return state.jsonMode}),char=String.fromCharCode(x),jump=3;break;case"\\\\":char="\\\\\\\\";break;case\'"\':char=\'\\\\"\';break;case"/":break;case"":allowNewLine=!0,char=""}return{"char":char,jump:jump,allowNewLine:allowNewLine}},scanTemplateLiteral:function(checks){var tokenType,ch,value="",startLine=this.line,startChar=this.char,depth=this.templateStarts.length;if(!state.inES6(!0))return null;if("`"===this.peek())tokenType=Token.TemplateHead,this.templateStarts.push({line:this.line,"char":this.char}),depth=this.templateStarts.length,this.skip(1),this.pushContext(Context.Template);else{if(!this.inContext(Context.Template)||"}"!==this.peek())return null;tokenType=Token.TemplateMiddle}for(;"`"!==this.peek();){for(;""===(ch=this.peek());)if(value+="\\n",!this.nextLine()){var startPos=this.templateStarts.pop();return this.trigger("error",{code:"E052",line:startPos.line,character:startPos.char}),{type:tokenType,value:value,startLine:startLine,startChar:startChar,isUnclosed:!0,depth:depth,context:this.popContext()}}if("$"===ch&&"{"===this.peek(1))return value+="${",this.skip(2),{type:tokenType,value:value,startLine:startLine,startChar:startChar,isUnclosed:!1,depth:depth,context:this.currentContext()};\nif("\\\\"===ch){var escape=this.scanEscapeSequence(checks);value+=escape.char,this.skip(escape.jump)}else"`"!==ch&&(value+=ch,this.skip(1))}return tokenType=tokenType===Token.TemplateHead?Token.NoSubstTemplate:Token.TemplateTail,this.skip(1),this.templateStarts.pop(),{type:tokenType,value:value,startLine:startLine,startChar:startChar,isUnclosed:!1,depth:depth,context:this.popContext()}},scanStringLiteral:function(checks){var quote=this.peek();if(\'"\'!==quote&&"\'"!==quote)return null;this.triggerAsync("warning",{code:"W108",line:this.line,character:this.char},checks,function(){return state.jsonMode&&\'"\'!==quote});var value="",startLine=this.line,startChar=this.char,allowNewLine=!1;for(this.skip();this.peek()!==quote;)if(""===this.peek()){if(allowNewLine?(allowNewLine=!1,this.triggerAsync("warning",{code:"W043",line:this.line,character:this.char},checks,function(){return!state.option.multistr}),this.triggerAsync("warning",{code:"W042",line:this.line,character:this.char},checks,function(){return state.jsonMode&&state.option.multistr})):this.trigger("warning",{code:"W112",line:this.line,character:this.char}),!this.nextLine())return this.trigger("error",{code:"E029",line:startLine,character:startChar}),{type:Token.StringLiteral,value:value,startLine:startLine,startChar:startChar,isUnclosed:!0,quote:quote}}else{allowNewLine=!1;var char=this.peek(),jump=1;if(" ">char&&this.trigger("warning",{code:"W113",line:this.line,character:this.char,data:[""]}),"\\\\"===char){var parsed=this.scanEscapeSequence(checks);char=parsed.char,jump=parsed.jump,allowNewLine=parsed.allowNewLine}value+=char,this.skip(jump)}return this.skip(),{type:Token.StringLiteral,value:value,startLine:startLine,startChar:startChar,isUnclosed:!1,quote:quote}},scanRegExp:function(){var terminated,index=0,length=this.input.length,char=this.peek(),value=char,body="",flags=[],malformed=!1,isCharSet=!1,scanUnexpectedChars=function(){" ">char&&(malformed=!0,this.trigger("warning",{code:"W048",line:this.line,character:this.char})),"<"===char&&(malformed=!0,this.trigger("warning",{code:"W049",line:this.line,character:this.char,data:[char]}))}.bind(this);if(!this.prereg||"/"!==char)return null;for(index+=1,terminated=!1;length>index;)if(char=this.peek(index),value+=char,body+=char,isCharSet)"]"===char&&("\\\\"!==this.peek(index-1)||"\\\\"===this.peek(index-2))&&(isCharSet=!1),"\\\\"===char&&(index+=1,char=this.peek(index),body+=char,value+=char,scanUnexpectedChars()),index+=1;else{if("\\\\"===char){if(index+=1,char=this.peek(index),body+=char,value+=char,scanUnexpectedChars(),"/"===char){index+=1;continue}if("["===char){index+=1;continue}}if("["!==char){if("/"===char){body=body.substr(0,body.length-1),terminated=!0,index+=1;break}index+=1}else isCharSet=!0,index+=1}if(!terminated)return this.trigger("error",{code:"E015",line:this.line,character:this.from}),void this.trigger("fatal",{line:this.line,from:this.from});for(;length>index&&(char=this.peek(index),/[gim]/.test(char));)flags.push(char),value+=char,index+=1;try{RegExp(body,flags.join(""))}catch(err){malformed=!0,this.trigger("error",{code:"E016",line:this.line,character:this.char,data:[err.message]})}return{type:Token.RegExp,value:value,flags:flags,isMalformed:malformed}},scanNonBreakingSpaces:function(){return state.option.nonbsp?this.input.search(/(\\u00A0)/):-1},scanUnsafeChars:function(){return this.input.search(reg.unsafeChars)},next:function(checks){this.from=this.char;var start;if(/\\s/.test(this.peek()))for(start=this.char;/\\s/.test(this.peek());)this.from+=1,this.skip();var match=this.scanComments()||this.scanStringLiteral(checks)||this.scanTemplateLiteral(checks);return match?match:(match=this.scanRegExp()||this.scanPunctuator()||this.scanKeyword()||this.scanIdentifier()||this.scanNumericLiteral(),match?(this.skip(match.tokenLength||match.value.length),match):null)},nextLine:function(){var char;if(this.line>=this.getLines().length)return!1;this.input=this.getLines()[this.line],this.line+=1,this.char=1,this.from=1;var inputTrimmed=this.input.trim(),startsWith=function(){return _.some(arguments,function(prefix){return 0===inputTrimmed.indexOf(prefix)})},endsWith=function(){return _.some(arguments,function(suffix){return-1!==inputTrimmed.indexOf(suffix,inputTrimmed.length-suffix.length)})};if(this.ignoringLinterErrors===!0&&(startsWith("/*","//")||this.inComment&&endsWith("*/")||(this.input="")),char=this.scanNonBreakingSpaces(),char>=0&&this.trigger("warning",{code:"W125",line:this.line,character:char+1}),this.input=this.input.replace(/\\t/g,state.tab),char=this.scanUnsafeChars(),char>=0&&this.trigger("warning",{code:"W100",line:this.line,character:char}),!this.ignoringLinterErrors&&state.option.maxlen&&state.option.maxlen=0;--i){var scopeLabels=_scopeStack[i]["(labels)"];if(scopeLabels[labelName])return scopeLabels}}function usedSoFarInCurrentFunction(labelName){for(var i=_scopeStack.length-1;i>=0;i--){var current=_scopeStack[i];if(current["(usages)"][labelName])return current["(usages)"][labelName];if(current===_currentFunctBody)break}return!1}function _checkOuterShadow(labelName,token){if("outer"===state.option.shadow)for(var isGlobal="global"===_currentFunctBody["(type)"],isNewFunction="functionparams"===_current["(type)"],outsideCurrentFunction=!isGlobal,i=0;_scopeStack.length>i;i++){var stackItem=_scopeStack[i];isNewFunction||_scopeStack[i+1]!==_currentFunctBody||(outsideCurrentFunction=!1),outsideCurrentFunction&&stackItem["(labels)"][labelName]&&warning("W123",token,labelName),stackItem["(breakLabels)"][labelName]&&warning("W123",token,labelName)}}function _latedefWarning(type,labelName,token){state.option.latedef&&(state.option.latedef===!0&&"function"===type||"function"!==type)&&warning("W003",token,labelName)}var _current,_scopeStack=[];_newScope("global"),_current["(predefined)"]=predefined;var _currentFunctBody=_current,usedPredefinedAndGlobals=Object.create(null),impliedGlobals=Object.create(null),unuseds=[],emitter=new events.EventEmitter,_getUnusedOption=function(unused_opt){return void 0===unused_opt&&(unused_opt=state.option.unused),unused_opt===!0&&(unused_opt="last-param"),unused_opt},_warnUnused=function(name,tkn,type,unused_opt){var line=tkn.line,chr=tkn.from,raw_name=tkn.raw_text||name;unused_opt=_getUnusedOption(unused_opt);var warnable_types={vars:["var"],"last-param":["var","param"],strict:["var","param","last-param"]};unused_opt&&warnable_types[unused_opt]&&-1!==warnable_types[unused_opt].indexOf(type)&&warning("W098",{line:line,from:chr},raw_name),(unused_opt||"var"===type)&&unuseds.push({name:name,line:line,character:chr})},scopeManagerInst={on:function(names,listener){names.split(" ").forEach(function(name){emitter.on(name,listener)})},isPredefined:function(labelName){return!this.has(labelName)&&_.has(_scopeStack[0]["(predefined)"],labelName)},stack:function(type){var previousScope=_current;_newScope(type),type||"functionparams"!==previousScope["(type)"]||(_current["(isFuncBody)"]=!0,_current["(context)"]=_currentFunctBody,_currentFunctBody=_current)},unstack:function(){var i,j,subScope=_scopeStack.length>1?_scopeStack[_scopeStack.length-2]:null,isUnstackingFunctionBody=_current===_currentFunctBody,isUnstackingFunctionParams="functionparams"===_current["(type)"],isUnstackingFunctionOuter="functionouter"===_current["(type)"],currentUsages=_current["(usages)"],currentLabels=_current["(labels)"],usedLabelNameList=Object.keys(currentUsages);for(currentUsages.__proto__&&-1===usedLabelNameList.indexOf("__proto__")&&usedLabelNameList.push("__proto__"),i=0;usedLabelNameList.length>i;i++){var usedLabelName=usedLabelNameList[i],usage=currentUsages[usedLabelName],usedLabel=currentLabels[usedLabelName];if(usedLabel){var usedLabelType=usedLabel["(type)"];if(usedLabel["(useOutsideOfScope)"]&&!state.option.funcscope){var usedTokens=usage["(tokens)"];if(usedTokens)for(j=0;usedTokens.length>j;j++)usedLabel["(function)"]===usedTokens[j]["(function)"]&&error("W038",usedTokens[j],usedLabelName)}if(_current["(labels)"][usedLabelName]["(unused)"]=!1,"const"===usedLabelType&&usage["(modified)"])for(j=0;usage["(modified)"].length>j;j++)error("E013",usage["(modified)"][j],usedLabelName);if(("function"===usedLabelType||"class"===usedLabelType)&&usage["(reassigned)"])for(j=0;usage["(reassigned)"].length>j;j++)error("W021",usage["(reassigned)"][j],usedLabelName,usedLabelType)}else if(isUnstackingFunctionOuter&&(state.funct["(isCapturing)"]=!0),subScope)if(subScope["(usages)"][usedLabelName]){var subScopeUsage=subScope["(usages)"][usedLabelName];subScopeUsage["(modified)"]=subScopeUsage["(modified)"].concat(usage["(modified)"]),subScopeUsage["(tokens)"]=subScopeUsage["(tokens)"].concat(usage["(tokens)"]),subScopeUsage["(reassigned)"]=subScopeUsage["(reassigned)"].concat(usage["(reassigned)"]),subScopeUsage["(onlyUsedSubFunction)"]=!1}else subScope["(usages)"][usedLabelName]=usage,isUnstackingFunctionBody&&(subScope["(usages)"][usedLabelName]["(onlyUsedSubFunction)"]=!0);else if("boolean"==typeof _current["(predefined)"][usedLabelName]){if(delete declared[usedLabelName],usedPredefinedAndGlobals[usedLabelName]=marker,_current["(predefined)"][usedLabelName]===!1&&usage["(reassigned)"])for(j=0;usage["(reassigned)"].length>j;j++)warning("W020",usage["(reassigned)"][j])}else if(usage["(tokens)"])for(j=0;usage["(tokens)"].length>j;j++){var undefinedToken=usage["(tokens)"][j];undefinedToken.forgiveUndef||(state.option.undef&&!undefinedToken.ignoreUndef&&warning("W117",undefinedToken,usedLabelName),impliedGlobals[usedLabelName]?impliedGlobals[usedLabelName].line.push(undefinedToken.line):impliedGlobals[usedLabelName]={name:usedLabelName,line:[undefinedToken.line]})}}if(subScope||Object.keys(declared).forEach(function(labelNotUsed){_warnUnused(labelNotUsed,declared[labelNotUsed],"var")}),subScope&&!isUnstackingFunctionBody&&!isUnstackingFunctionParams&&!isUnstackingFunctionOuter){var labelNames=Object.keys(currentLabels);for(i=0;labelNames.length>i;i++){var defLabelName=labelNames[i];currentLabels[defLabelName]["(blockscoped)"]||"exception"===currentLabels[defLabelName]["(type)"]||this.funct.has(defLabelName,{excludeCurrent:!0})||(subScope["(labels)"][defLabelName]=currentLabels[defLabelName],"global"!==_currentFunctBody["(type)"]&&(subScope["(labels)"][defLabelName]["(useOutsideOfScope)"]=!0),delete currentLabels[defLabelName])}}_checkForUnused(),_scopeStack.pop(),isUnstackingFunctionBody&&(_currentFunctBody=_scopeStack[_.findLastIndex(_scopeStack,function(scope){return scope["(isFuncBody)"]||"global"===scope["(type)"]})]),_current=subScope},addParam:function(labelName,token,type){if(type=type||"param","exception"===type){var previouslyDefinedLabelType=this.funct.labeltype(labelName);previouslyDefinedLabelType&&"exception"!==previouslyDefinedLabelType&&(state.option.node||warning("W002",state.tokens.next,labelName))}if(_.has(_current["(labels)"],labelName)?_current["(labels)"][labelName].duplicated=!0:(_checkOuterShadow(labelName,token,type),_current["(labels)"][labelName]={"(type)":type,"(token)":token,"(unused)":!0},_current["(params)"].push(labelName)),_.has(_current["(usages)"],labelName)){var usage=_current["(usages)"][labelName];usage["(onlyUsedSubFunction)"]?_latedefWarning(type,labelName,token):warning("E056",token,labelName,type)}},validateParams:function(){if("global"!==_currentFunctBody["(type)"]){var isStrict=state.isStrict(),currentFunctParamScope=_currentFunctBody["(parent)"];currentFunctParamScope["(params)"]&¤tFunctParamScope["(params)"].forEach(function(labelName){var label=currentFunctParamScope["(labels)"][labelName];label&&label.duplicated&&(isStrict?warning("E011",label["(token)"],labelName):state.option.shadow!==!0&&warning("W004",label["(token)"],labelName))})}},getUsedOrDefinedGlobals:function(){var list=Object.keys(usedPredefinedAndGlobals);return usedPredefinedAndGlobals.__proto__===marker&&-1===list.indexOf("__proto__")&&list.push("__proto__"),list},getImpliedGlobals:function(){var values=_.values(impliedGlobals),hasProto=!1;return impliedGlobals.__proto__&&(hasProto=values.some(function(value){return"__proto__"===value.name}),hasProto||values.push(impliedGlobals.__proto__)),values},getUnuseds:function(){return unuseds},has:function(labelName){return Boolean(_getLabel(labelName))},labeltype:function(labelName){var scopeLabels=_getLabel(labelName);return scopeLabels?scopeLabels[labelName]["(type)"]:null},addExported:function(labelName){var globalLabels=_scopeStack[0]["(labels)"];if(_.has(declared,labelName))delete declared[labelName];else if(_.has(globalLabels,labelName))globalLabels[labelName]["(unused)"]=!1;else{for(var i=1;_scopeStack.length>i;i++){var scope=_scopeStack[i];if(scope["(type)"])break;if(_.has(scope["(labels)"],labelName)&&!scope["(labels)"][labelName]["(blockscoped)"])return scope["(labels)"][labelName]["(unused)"]=!1,void 0}exported[labelName]=!0}},setExported:function(labelName,token){this.block.use(labelName,token)\n},addlabel:function(labelName,opts){var type=opts.type,token=opts.token,isblockscoped="let"===type||"const"===type||"class"===type,isexported="global"===(isblockscoped?_current:_currentFunctBody)["(type)"]&&_.has(exported,labelName);if(_checkOuterShadow(labelName,token,type),isblockscoped){var declaredInCurrentScope=_current["(labels)"][labelName];if(declaredInCurrentScope||_current!==_currentFunctBody||"global"===_current["(type)"]||(declaredInCurrentScope=!!_currentFunctBody["(parent)"]["(labels)"][labelName]),!declaredInCurrentScope&&_current["(usages)"][labelName]){var usage=_current["(usages)"][labelName];usage["(onlyUsedSubFunction)"]?_latedefWarning(type,labelName,token):warning("E056",token,labelName,type)}declaredInCurrentScope?warning("E011",token,labelName):"outer"===state.option.shadow&&scopeManagerInst.funct.has(labelName)&&warning("W004",token,labelName),scopeManagerInst.block.add(labelName,type,token,!isexported)}else{var declaredInCurrentFunctionScope=scopeManagerInst.funct.has(labelName);!declaredInCurrentFunctionScope&&usedSoFarInCurrentFunction(labelName)&&_latedefWarning(type,labelName,token),scopeManagerInst.funct.has(labelName,{onlyBlockscoped:!0})?warning("E011",token,labelName):state.option.shadow!==!0&&declaredInCurrentFunctionScope&&"__proto__"!==labelName&&"global"!==_currentFunctBody["(type)"]&&warning("W004",token,labelName),scopeManagerInst.funct.add(labelName,type,token,!isexported),"global"===_currentFunctBody["(type)"]&&(usedPredefinedAndGlobals[labelName]=marker)}},funct:{labeltype:function(labelName,options){for(var onlyBlockscoped=options&&options.onlyBlockscoped,excludeParams=options&&options.excludeParams,currentScopeIndex=_scopeStack.length-(options&&options.excludeCurrent?2:1),i=currentScopeIndex;i>=0;i--){var current=_scopeStack[i];if(current["(labels)"][labelName]&&(!onlyBlockscoped||current["(labels)"][labelName]["(blockscoped)"]))return current["(labels)"][labelName]["(type)"];var scopeCheck=excludeParams?_scopeStack[i-1]:current;if(scopeCheck&&"functionparams"===scopeCheck["(type)"])return null}return null},hasBreakLabel:function(labelName){for(var i=_scopeStack.length-1;i>=0;i--){var current=_scopeStack[i];if(current["(breakLabels)"][labelName])return!0;if("functionparams"===current["(type)"])return!1}return!1},has:function(labelName,options){return Boolean(this.labeltype(labelName,options))},add:function(labelName,type,tok,unused){_current["(labels)"][labelName]={"(type)":type,"(token)":tok,"(blockscoped)":!1,"(function)":_currentFunctBody,"(unused)":unused}}},block:{isGlobal:function(){return"global"===_current["(type)"]},use:function(labelName,token){var paramScope=_currentFunctBody["(parent)"];paramScope&¶mScope["(labels)"][labelName]&&"param"===paramScope["(labels)"][labelName]["(type)"]&&(scopeManagerInst.funct.has(labelName,{excludeParams:!0,onlyBlockscoped:!0})||(paramScope["(labels)"][labelName]["(unused)"]=!1)),token&&(state.ignored.W117||state.option.undef===!1)&&(token.ignoreUndef=!0),_setupUsages(labelName),token&&(token["(function)"]=_currentFunctBody,_current["(usages)"][labelName]["(tokens)"].push(token))},reassign:function(labelName,token){this.modify(labelName,token),_current["(usages)"][labelName]["(reassigned)"].push(token)},modify:function(labelName,token){_setupUsages(labelName),_current["(usages)"][labelName]["(modified)"].push(token)},add:function(labelName,type,tok,unused){_current["(labels)"][labelName]={"(type)":type,"(token)":tok,"(blockscoped)":!0,"(unused)":unused}},addBreakLabel:function(labelName,opts){var token=opts.token;scopeManagerInst.funct.hasBreakLabel(labelName)?warning("E011",token,labelName):"outer"===state.option.shadow&&(scopeManagerInst.funct.has(labelName)?warning("W004",token,labelName):_checkOuterShadow(labelName,token)),_current["(breakLabels)"][labelName]=token}}};return scopeManagerInst};module.exports=scopeManager},{"../lodash":"/node_modules/jshint/lodash.js",events:"/node_modules/browserify/node_modules/events/events.js"}],"/node_modules/jshint/src/state.js":[function(_dereq_,module,exports){"use strict";var NameStack=_dereq_("./name-stack.js"),state={syntax:{},isStrict:function(){return this.directive["use strict"]||this.inClassBody||this.option.module||"implied"===this.option.strict},inMoz:function(){return this.option.moz},inES6:function(){return this.option.moz||this.option.esversion>=6},inES5:function(strict){return strict?!(this.option.esversion&&5!==this.option.esversion||this.option.moz):!this.option.esversion||this.option.esversion>=5||this.option.moz},reset:function(){this.tokens={prev:null,next:null,curr:null},this.option={},this.funct=null,this.ignored={},this.directive={},this.jsonMode=!1,this.jsonWarnings=[],this.lines=[],this.tab="",this.cache={},this.ignoredLines={},this.forinifcheckneeded=!1,this.nameStack=new NameStack,this.inClassBody=!1}};exports.state=state},{"./name-stack.js":"/node_modules/jshint/src/name-stack.js"}],"/node_modules/jshint/src/style.js":[function(_dereq_,module,exports){"use strict";exports.register=function(linter){linter.on("Identifier",function(data){linter.getOption("proto")||"__proto__"===data.name&&linter.warn("W103",{line:data.line,"char":data.char,data:[data.name,"6"]})}),linter.on("Identifier",function(data){linter.getOption("iterator")||"__iterator__"===data.name&&linter.warn("W103",{line:data.line,"char":data.char,data:[data.name]})}),linter.on("Identifier",function(data){linter.getOption("camelcase")&&data.name.replace(/^_+|_+$/g,"").indexOf("_")>-1&&!data.name.match(/^[A-Z0-9_]*$/)&&linter.warn("W106",{line:data.line,"char":data.from,data:[data.name]})}),linter.on("String",function(data){var code,quotmark=linter.getOption("quotmark");quotmark&&("single"===quotmark&&"\'"!==data.quote&&(code="W109"),"double"===quotmark&&\'"\'!==data.quote&&(code="W108"),quotmark===!0&&(linter.getCache("quotmark")||linter.setCache("quotmark",data.quote),linter.getCache("quotmark")!==data.quote&&(code="W110")),code&&linter.warn(code,{line:data.line,"char":data.char}))}),linter.on("Number",function(data){"."===data.value.charAt(0)&&linter.warn("W008",{line:data.line,"char":data.char,data:[data.value]}),"."===data.value.substr(data.value.length-1)&&linter.warn("W047",{line:data.line,"char":data.char,data:[data.value]}),/^00+/.test(data.value)&&linter.warn("W046",{line:data.line,"char":data.char,data:[data.value]})}),linter.on("String",function(data){var re=/^(?:javascript|jscript|ecmascript|vbscript|livescript)\\s*:/i;linter.getOption("scripturl")||re.test(data.value)&&linter.warn("W107",{line:data.line,"char":data.char})})}},{}],"/node_modules/jshint/src/vars.js":[function(_dereq_,module,exports){"use strict";exports.reservedVars={arguments:!1,NaN:!1},exports.ecmaIdentifiers={3:{Array:!1,Boolean:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,isFinite:!1,isNaN:!1,Math:!1,Number:!1,Object:!1,parseInt:!1,parseFloat:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,TypeError:!1,URIError:!1},5:{JSON:!1},6:{Map:!1,Promise:!1,Proxy:!1,Reflect:!1,Set:!1,Symbol:!1,WeakMap:!1,WeakSet:!1}},exports.browser={Audio:!1,Blob:!1,addEventListener:!1,applicationCache:!1,atob:!1,blur:!1,btoa:!1,cancelAnimationFrame:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,CSS:!1,clearInterval:!1,clearTimeout:!1,close:!1,closed:!1,Comment:!1,CustomEvent:!1,DOMParser:!1,defaultStatus:!1,Document:!1,document:!1,DocumentFragment:!1,Element:!1,ElementTimeControl:!1,Event:!1,event:!1,fetch:!1,FileReader:!1,FormData:!1,focus:!1,frames:!1,getComputedStyle:!1,HTMLElement:!1,HTMLAnchorElement:!1,HTMLBaseElement:!1,HTMLBlockquoteElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLIsIndexElement:!1,HTMLLabelElement:!1,HTMLLayerElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPreElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTitleElement:!1,HTMLUListElement:!1,HTMLVideoElement:!1,history:!1,Image:!1,Intl:!1,length:!1,localStorage:!1,location:!1,matchMedia:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationObserver:!1,name:!1,Node:!1,NodeFilter:!1,NodeList:!1,Notification:!1,navigator:!1,onbeforeunload:!0,onblur:!0,onerror:!0,onfocus:!0,onload:!0,onresize:!0,onunload:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,parent:!1,performance:!1,print:!1,Range:!1,requestAnimationFrame:!1,removeEventListener:!1,resizeBy:!1,resizeTo:!1,screen:!1,scroll:!1,scrollBy:!1,scrollTo:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,SharedWorker:!1,status:!1,SVGAElement:!1,SVGAltGlyphDefElement:!1,SVGAltGlyphElement:!1,SVGAltGlyphItemElement:!1,SVGAngle:!1,SVGAnimateColorElement:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPathData:!1,SVGAnimatedPoints:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimationElement:!1,SVGCSSRule:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGColor:!1,SVGColorProfileElement:!1,SVGColorProfileRule:!1,SVGComponentTransferFunctionElement:!1,SVGCursorElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDocument:!1,SVGElement:!1,SVGElementInstance:!1,SVGElementInstanceList:!1,SVGEllipseElement:!1,SVGExternalResourcesRequired:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGFilterPrimitiveStandardAttributes:!1,SVGFitToViewBox:!1,SVGFontElement:!1,SVGFontFaceElement:!1,SVGFontFaceFormatElement:!1,SVGFontFaceNameElement:!1,SVGFontFaceSrcElement:!1,SVGFontFaceUriElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGlyphElement:!1,SVGGlyphRefElement:!1,SVGGradientElement:!1,SVGHKernElement:!1,SVGICCColor:!1,SVGImageElement:!1,SVGLangSpace:!1,SVGLength:!1,SVGLengthList:!1,SVGLineElement:!1,SVGLinearGradientElement:!1,SVGLocatable:!1,SVGMPathElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMissingGlyphElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPaint:!1,SVGPathElement:!1,SVGPathSeg:!1,SVGPathSegArcAbs:!1,SVGPathSegArcRel:!1,SVGPathSegClosePath:!1,SVGPathSegCurvetoCubicAbs:!1,SVGPathSegCurvetoCubicRel:!1,SVGPathSegCurvetoCubicSmoothAbs:!1,SVGPathSegCurvetoCubicSmoothRel:!1,SVGPathSegCurvetoQuadraticAbs:!1,SVGPathSegCurvetoQuadraticRel:!1,SVGPathSegCurvetoQuadraticSmoothAbs:!1,SVGPathSegCurvetoQuadraticSmoothRel:!1,SVGPathSegLinetoAbs:!1,SVGPathSegLinetoHorizontalAbs:!1,SVGPathSegLinetoHorizontalRel:!1,SVGPathSegLinetoRel:!1,SVGPathSegLinetoVerticalAbs:!1,SVGPathSegLinetoVerticalRel:!1,SVGPathSegList:!1,SVGPathSegMovetoAbs:!1,SVGPathSegMovetoRel:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGRenderingIntent:!1,SVGSVGElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStylable:!1,SVGStyleElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTRefElement:!1,SVGTSpanElement:!1,SVGTests:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTransformable:!1,SVGURIReference:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGVKernElement:!1,SVGViewElement:!1,SVGViewSpec:!1,SVGZoomAndPan:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TimeEvent:!1,top:!1,URL:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLTexture:!1,WebGLUniformLocation:!1,WebSocket:!1,window:!1,Window:!1,Worker:!1,XDomainRequest:!1,XMLHttpRequest:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathException:!1,XPathExpression:!1,XPathNamespace:!1,XPathNSResolver:!1,XPathResult:!1},exports.devel={alert:!1,confirm:!1,console:!1,Debug:!1,opera:!1,prompt:!1},exports.worker={importScripts:!0,postMessage:!0,self:!0,FileReaderSync:!0},exports.nonstandard={escape:!1,unescape:!1},exports.couch={require:!1,respond:!1,getRow:!1,emit:!1,send:!1,start:!1,sum:!1,log:!1,exports:!1,module:!1,provides:!1},exports.node={__filename:!1,__dirname:!1,GLOBAL:!1,global:!1,module:!1,acequire:!1,Buffer:!0,console:!0,exports:!0,process:!0,setTimeout:!0,clearTimeout:!0,setInterval:!0,clearInterval:!0,setImmediate:!0,clearImmediate:!0},exports.browserify={__filename:!1,__dirname:!1,global:!1,module:!1,acequire:!1,Buffer:!0,exports:!0,process:!0},exports.phantom={phantom:!0,acequire:!0,WebPage:!0,console:!0,exports:!0},exports.qunit={asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,"throws":!1},exports.rhino={defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},exports.shelljs={target:!1,echo:!1,exit:!1,cd:!1,pwd:!1,ls:!1,find:!1,cp:!1,rm:!1,mv:!1,mkdir:!1,test:!1,cat:!1,sed:!1,grep:!1,which:!1,dirs:!1,pushd:!1,popd:!1,env:!1,exec:!1,chmod:!1,config:!1,error:!1,tempdir:!1},exports.typed={ArrayBuffer:!1,ArrayBufferView:!1,DataView:!1,Float32Array:!1,Float64Array:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1},exports.wsh={ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WSH:!0,WScript:!0,XDomainRequest:!0},exports.dojo={dojo:!1,dijit:!1,dojox:!1,define:!1,require:!1},exports.jquery={$:!1,jQuery:!1},exports.mootools={$:!1,$$:!1,Asset:!1,Browser:!1,Chain:!1,Class:!1,Color:!1,Cookie:!1,Core:!1,Document:!1,DomReady:!1,DOMEvent:!1,DOMReady:!1,Drag:!1,Element:!1,Elements:!1,Event:!1,Events:!1,Fx:!1,Group:!1,Hash:!1,HtmlTable:!1,IFrame:!1,IframeShim:!1,InputValidator:!1,instanceOf:!1,Keyboard:!1,Locale:!1,Mask:!1,MooTools:!1,Native:!1,Options:!1,OverText:!1,Request:!1,Scroller:!1,Slick:!1,Slider:!1,Sortables:!1,Spinner:!1,Swiff:!1,Tips:!1,Type:!1,typeOf:!1,URI:!1,Window:!1},exports.prototypejs={$:!1,$$:!1,$A:!1,$F:!1,$H:!1,$R:!1,$break:!1,$continue:!1,$w:!1,Abstract:!1,Ajax:!1,Class:!1,Enumerable:!1,Element:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Selector:!1,Template:!1,Toggle:!1,Try:!1,Autocompleter:!1,Builder:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Scriptaculous:!1},exports.yui={YUI:!1,Y:!1,YUI_config:!1},exports.mocha={mocha:!1,describe:!1,xdescribe:!1,it:!1,xit:!1,context:!1,xcontext:!1,before:!1,after:!1,beforeEach:!1,afterEach:!1,suite:!1,test:!1,setup:!1,teardown:!1,suiteSetup:!1,suiteTeardown:!1},exports.jasmine={jasmine:!1,describe:!1,xdescribe:!1,it:!1,xit:!1,beforeEach:!1,afterEach:!1,setFixtures:!1,loadFixtures:!1,spyOn:!1,expect:!1,runs:!1,waitsFor:!1,waits:!1,beforeAll:!1,afterAll:!1,fail:!1,fdescribe:!1,fit:!1,pending:!1}},{}]},{},["/node_modules/jshint/src/jshint.js"])}),ace.define("ace/mode/javascript_worker",["require","exports","module","ace/lib/oop","ace/worker/mirror","ace/mode/javascript/jshint"],function(acequire,exports,module){"use strict";function startRegex(arr){return RegExp("^("+arr.join("|")+")")}var oop=acequire("../lib/oop"),Mirror=acequire("../worker/mirror").Mirror,lint=acequire("./javascript/jshint").JSHINT,disabledWarningsRe=startRegex(["Bad for in variable \'(.+)\'.",\'Missing "use strict"\']),errorsRe=startRegex(["Unexpected","Expected ","Confusing (plus|minus)","\\\\{a\\\\} unterminated regular expression","Unclosed ","Unmatched ","Unbegun comment","Bad invocation","Missing space after","Missing operator at"]),infoRe=startRegex(["Expected an assignment","Bad escapement of EOL","Unexpected comma","Unexpected space","Missing radix parameter.","A leading decimal point can","\\\\[\'{a}\'\\\\] is better written in dot notation.","\'{a}\' used out of scope"]),JavaScriptWorker=exports.JavaScriptWorker=function(sender){Mirror.call(this,sender),this.setTimeout(500),this.setOptions()};oop.inherits(JavaScriptWorker,Mirror),function(){this.setOptions=function(options){this.options=options||{esnext:!0,moz:!0,devel:!0,browser:!0,node:!0,laxcomma:!0,laxbreak:!0,lastsemic:!0,onevar:!1,passfail:!1,maxerr:100,expr:!0,multistr:!0,globalstrict:!0},this.doc.getValue()&&this.deferredUpdate.schedule(100)},this.changeOptions=function(newOptions){oop.mixin(this.options,newOptions),this.doc.getValue()&&this.deferredUpdate.schedule(100)},this.isValidJS=function(str){try{eval("throw 0;"+str)}catch(e){if(0===e)return!0}return!1},this.onUpdate=function(){var value=this.doc.getValue();if(value=value.replace(/^#!.*\\n/,"\\n"),!value)return this.sender.emit("annotate",[]);var errors=[],maxErrorLevel=this.isValidJS(value)?"warning":"error";lint(value,this.options,this.options.globals);for(var results=lint.errors,errorAdded=!1,i=0;results.length>i;i++){var error=results[i];if(error){var raw=error.raw,type="warning";if("Missing semicolon."==raw){var str=error.evidence.substr(error.character);str=str.charAt(str.search(/\\S/)),"error"==maxErrorLevel&&str&&/[\\w\\d{([\'"]/.test(str)?(error.reason=\'Missing ";" before statement\',type="error"):type="info"}else{if(disabledWarningsRe.test(raw))continue;infoRe.test(raw)?type="info":errorsRe.test(raw)?(errorAdded=!0,type=maxErrorLevel):"\'{a}\' is not defined."==raw?type="warning":"\'{a}\' is defined but never used."==raw&&(type="info")}errors.push({row:error.line-1,column:error.character-1,text:error.reason,type:type,raw:raw})}}this.sender.emit("annotate",errors)}}.call(JavaScriptWorker.prototype)}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(){function Empty(){}function doesDefinePropertyWork(object){try{return Object.defineProperty(object,"sentinel",{}),"sentinel"in object}catch(exception){}}function toInteger(n){return n=+n,n!==n?n=0:0!==n&&n!==1/0&&n!==-(1/0)&&(n=(n>0||-1)*Math.floor(Math.abs(n))),n}Function.prototype.bind||(Function.prototype.bind=function(that){var target=this;if("function"!=typeof target)throw new TypeError("Function.prototype.bind called on incompatible "+target);var args=slice.call(arguments,1),bound=function(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));return Object(result)===result?result:this}return target.apply(that,args.concat(slice.call(arguments)))};return target.prototype&&(Empty.prototype=target.prototype,bound.prototype=new Empty,Empty.prototype=null),bound});var defineGetter,defineSetter,lookupGetter,lookupSetter,supportsAccessors,call=Function.prototype.call,prototypeOfArray=Array.prototype,prototypeOfObject=Object.prototype,slice=prototypeOfArray.slice,_toString=call.bind(prototypeOfObject.toString),owns=call.bind(prototypeOfObject.hasOwnProperty);if((supportsAccessors=owns(prototypeOfObject,"__defineGetter__"))&&(defineGetter=call.bind(prototypeOfObject.__defineGetter__),defineSetter=call.bind(prototypeOfObject.__defineSetter__),lookupGetter=call.bind(prototypeOfObject.__lookupGetter__),lookupSetter=call.bind(prototypeOfObject.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function makeArray(l){var a=Array(l+2);return a[0]=a[1]=0,a}var lengthBefore,array=[];return array.splice.apply(array,makeArray(20)),array.splice.apply(array,makeArray(26)),lengthBefore=array.length,array.splice(5,0,"XXX"),lengthBefore+1==array.length,lengthBefore+1==array.length?!0:void 0}()){var array_splice=Array.prototype.splice;Array.prototype.splice=function(start,deleteCount){return arguments.length?array_splice.apply(this,[void 0===start?0:start,void 0===deleteCount?this.length-start:deleteCount].concat(slice.call(arguments,2))):[]}}else Array.prototype.splice=function(pos,removeCount){var length=this.length;pos>0?pos>length&&(pos=length):void 0==pos?pos=0:0>pos&&(pos=Math.max(length+pos,0)),length>pos+removeCount||(removeCount=length-pos);var removed=this.slice(pos,pos+removeCount),insert=slice.call(arguments,2),add=insert.length;if(pos===length)add&&this.push.apply(this,insert);else{var remove=Math.min(removeCount,length-pos),tailOldPos=pos+remove,tailNewPos=tailOldPos+add-remove,tailCount=length-tailOldPos,lengthAfterRemove=length-remove;if(tailOldPos>tailNewPos)for(var i=0;tailCount>i;++i)this[tailNewPos+i]=this[tailOldPos+i];else if(tailNewPos>tailOldPos)for(i=tailCount;i--;)this[tailNewPos+i]=this[tailOldPos+i];if(add&&pos===lengthAfterRemove)this.length=lengthAfterRemove,this.push.apply(this,insert);else for(this.length=lengthAfterRemove+add,i=0;add>i;++i)this[pos+i]=insert[i]}return removed};Array.isArray||(Array.isArray=function(obj){return"[object Array]"==_toString(obj)});var boxedString=Object("a"),splitString="a"!=boxedString[0]||!(0 in boxedString);if(Array.prototype.forEach||(Array.prototype.forEach=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,thisp=arguments[1],i=-1,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError;for(;length>++i;)i in self&&fun.call(thisp,self[i],i,object)}),Array.prototype.map||(Array.prototype.map=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=Array(length),thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(result[i]=fun.call(thisp,self[i],i,object));return result}),Array.prototype.filter||(Array.prototype.filter=function(fun){var value,object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=[],thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(value=self[i],fun.call(thisp,value,i,object)&&result.push(value));return result}),Array.prototype.every||(Array.prototype.every=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&!fun.call(thisp,self[i],i,object))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&fun.call(thisp,self[i],i,object))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var result,i=0;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i++];break}if(++i>=length)throw new TypeError("reduce of empty array with no initial value")}for(;length>i;i++)i in self&&(result=fun.call(void 0,result,self[i],i,object));return result}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var result,i=length-1;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i--];break}if(0>--i)throw new TypeError("reduceRight of empty array with no initial value")}do i in this&&(result=fun.call(void 0,result,self[i],i,object));while(i--);return result}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=0;for(arguments.length>1&&(i=toInteger(arguments[1])),i=i>=0?i:Math.max(0,length+i);length>i;i++)if(i in self&&self[i]===sought)return i;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=length-1;for(arguments.length>1&&(i=Math.min(i,toInteger(arguments[1]))),i=i>=0?i:length-Math.abs(i);i>=0;i--)if(i in self&&sought===self[i])return i;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(object){return object.__proto__||(object.constructor?object.constructor.prototype:prototypeOfObject)}),!Object.getOwnPropertyDescriptor){var ERR_NON_OBJECT="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(object,property){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT+object);if(owns(object,property)){var descriptor,getter,setter;if(descriptor={enumerable:!0,configurable:!0},supportsAccessors){var prototype=object.__proto__;object.__proto__=prototypeOfObject;var getter=lookupGetter(object,property),setter=lookupSetter(object,property);if(object.__proto__=prototype,getter||setter)return getter&&(descriptor.get=getter),setter&&(descriptor.set=setter),descriptor}return descriptor.value=object[property],descriptor}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(object){return Object.keys(object)}),!Object.create){var createEmpty;createEmpty=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var empty={};for(var i in empty)empty[i]=null;return empty.constructor=empty.hasOwnProperty=empty.propertyIsEnumerable=empty.isPrototypeOf=empty.toLocaleString=empty.toString=empty.valueOf=empty.__proto__=null,empty},Object.create=function(prototype,properties){var object;if(null===prototype)object=createEmpty();else{if("object"!=typeof prototype)throw new TypeError("typeof prototype["+typeof prototype+"] != \'object\'");var Type=function(){};Type.prototype=prototype,object=new Type,object.__proto__=prototype}return void 0!==properties&&Object.defineProperties(object,properties),object}}if(Object.defineProperty){var definePropertyWorksOnObject=doesDefinePropertyWork({}),definePropertyWorksOnDom="undefined"==typeof document||doesDefinePropertyWork(document.createElement("div"));if(!definePropertyWorksOnObject||!definePropertyWorksOnDom)var definePropertyFallback=Object.defineProperty}if(!Object.defineProperty||definePropertyFallback){var ERR_NON_OBJECT_DESCRIPTOR="Property description must be an object: ",ERR_NON_OBJECT_TARGET="Object.defineProperty called on non-object: ",ERR_ACCESSORS_NOT_SUPPORTED="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(object,property,descriptor){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT_TARGET+object);if("object"!=typeof descriptor&&"function"!=typeof descriptor||null===descriptor)throw new TypeError(ERR_NON_OBJECT_DESCRIPTOR+descriptor);if(definePropertyFallback)try{return definePropertyFallback.call(Object,object,property,descriptor)}catch(exception){}if(owns(descriptor,"value"))if(supportsAccessors&&(lookupGetter(object,property)||lookupSetter(object,property))){var prototype=object.__proto__;object.__proto__=prototypeOfObject,delete object[property],object[property]=descriptor.value,object.__proto__=prototype}else object[property]=descriptor.value;else{if(!supportsAccessors)throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);owns(descriptor,"get")&&defineGetter(object,property,descriptor.get),owns(descriptor,"set")&&defineSetter(object,property,descriptor.set)}return object}}Object.defineProperties||(Object.defineProperties=function(object,properties){for(var property in properties)owns(properties,property)&&Object.defineProperty(object,property,properties[property]);return object}),Object.seal||(Object.seal=function(object){return object}),Object.freeze||(Object.freeze=function(object){return object});try{Object.freeze(function(){})}catch(exception){Object.freeze=function(freezeObject){return function(object){return"function"==typeof object?object:freezeObject(object)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(object){return object}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(object){if(Object(object)===object)throw new TypeError;for(var name="";owns(object,name);)name+="?";object[name]=!0;var returnValue=owns(object,name);return delete object[name],returnValue}),!Object.keys){var hasDontEnumBug=!0,dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],dontEnumsLength=dontEnums.length;for(var key in{toString:null})hasDontEnumBug=!1;Object.keys=function(object){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError("Object.keys called on a non-object");var keys=[];for(var name in object)owns(object,name)&&keys.push(name);if(hasDontEnumBug)for(var i=0,ii=dontEnumsLength;ii>i;i++){var dontEnum=dontEnums[i];owns(object,dontEnum)&&keys.push(dontEnum)}return keys}}Date.now||(Date.now=function(){return(new Date).getTime()});var ws="\t\\n\x0B\\f\\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\\u2028\\u2029\uFEFF";if(!String.prototype.trim||ws.trim()){ws="["+ws+"]";var trimBeginRegexp=RegExp("^"+ws+ws+"*"),trimEndRegexp=RegExp(ws+ws+"*$");String.prototype.trim=function(){return(this+"").replace(trimBeginRegexp,"").replace(trimEndRegexp,"")}}var toObject=function(o){if(null==o)throw new TypeError("can\'t convert "+o+" to object");return Object(o)}});'},function(){ace.define('ace/theme/monokai',['require','exports','module','ace/lib/dom'],function(e,t){t.isDark=!0,t.cssClass='ace-monokai',t.cssText='.ace-monokai .ace_gutter {background: #2F3129;color: #8F908A}.ace-monokai .ace_print-margin {width: 1px;background: #555651}.ace-monokai {background-color: #272822;color: #F8F8F2}.ace-monokai .ace_cursor {color: #F8F8F0}.ace-monokai .ace_marker-layer .ace_selection {background: #49483E}.ace-monokai.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #272822;}.ace-monokai .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-monokai .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #49483E}.ace-monokai .ace_marker-layer .ace_active-line {background: #202020}.ace-monokai .ace_gutter-active-line {background-color: #272727}.ace-monokai .ace_marker-layer .ace_selected-word {border: 1px solid #49483E}.ace-monokai .ace_invisible {color: #52524d}.ace-monokai .ace_entity.ace_name.ace_tag,.ace-monokai .ace_keyword,.ace-monokai .ace_meta.ace_tag,.ace-monokai .ace_storage {color: #F92672}.ace-monokai .ace_punctuation,.ace-monokai .ace_punctuation.ace_tag {color: #fff}.ace-monokai .ace_constant.ace_character,.ace-monokai .ace_constant.ace_language,.ace-monokai .ace_constant.ace_numeric,.ace-monokai .ace_constant.ace_other {color: #AE81FF}.ace-monokai .ace_invalid {color: #F8F8F0;background-color: #F92672}.ace-monokai .ace_invalid.ace_deprecated {color: #F8F8F0;background-color: #AE81FF}.ace-monokai .ace_support.ace_constant,.ace-monokai .ace_support.ace_function {color: #66D9EF}.ace-monokai .ace_fold {background-color: #A6E22E;border-color: #F8F8F2}.ace-monokai .ace_storage.ace_type,.ace-monokai .ace_support.ace_class,.ace-monokai .ace_support.ace_type {font-style: italic;color: #66D9EF}.ace-monokai .ace_entity.ace_name.ace_function,.ace-monokai .ace_entity.ace_other,.ace-monokai .ace_entity.ace_other.ace_attribute-name,.ace-monokai .ace_variable {color: #A6E22E}.ace-monokai .ace_variable.ace_parameter {font-style: italic;color: #FD971F}.ace-monokai .ace_string {color: #E6DB74}.ace-monokai .ace_comment {color: #75715E}.ace-monokai .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0FD0ZXBzd/wPAAjVAoxeSgNeAAAAAElFTkSuQmCC) right repeat-y}';var n=e('../lib/dom');n.importCssString(t.cssText,t.cssClass)})}]); diff --git a/package.json b/package.json index 7c552b0..1e863c9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lcov-server", - "version": "1.1.0", + "version": "1.1.1", "description": "🎯 A simple lcov server & cli parser", "main": "index.js", "homepage": "https://github.com/gabrielcsapo/lcov-server#readme", @@ -28,7 +28,7 @@ }, "author": "Gabriel J. Csapo ", "bin": { - "lcov-server": "./distributed/bin/lcov-server.js" + "lcov-server": "./bin/index.js" }, "pkg": { "scripts": [