forked from nodeca/js-yaml
/
js-yaml.min.js
4 lines (4 loc) · 103 KB
/
js-yaml.min.js
1
2
3
4
var jsyaml=window.jsyaml=function(){var e;e=function t(r,n,i){function a(s,l){if(!n[s]){if(!r[s]){var u=typeof e=="function"&&e;if(!l&&u)return u(s,!0);if(o)return o(s,!0);throw new Error("Cannot find module '"+s+"'")}var f=n[s]={exports:{}};r[s][0].call(f.exports,function(e){var t=r[s][1][e];return a(t?t:e)},f,f.exports,t,r,n,i)}return n[s].exports}var o=typeof e=="function"&&e;for(var s=0;s<i.length;s++)a(i[s]);return a}({"3IpyAo":[function(e,t,r){"use strict";var n=e("./js-yaml/loader");var i=e("./js-yaml/dumper");function a(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}t.exports.NIL=e("./js-yaml/common").NIL;t.exports.Type=e("./js-yaml/type");t.exports.Schema=e("./js-yaml/schema");t.exports.FAILSAFE_SCHEMA=e("./js-yaml/schema/failsafe");t.exports.JSON_SCHEMA=e("./js-yaml/schema/json");t.exports.CORE_SCHEMA=e("./js-yaml/schema/core");t.exports.DEFAULT_SAFE_SCHEMA=e("./js-yaml/schema/default_safe");t.exports.DEFAULT_FULL_SCHEMA=e("./js-yaml/schema/default_full");t.exports.load=n.load;t.exports.loadAll=n.loadAll;t.exports.safeLoad=n.safeLoad;t.exports.safeLoadAll=n.safeLoadAll;t.exports.dump=i.dump;t.exports.safeDump=i.safeDump;t.exports.YAMLException=e("./js-yaml/exception");t.exports.MINIMAL_SCHEMA=e("./js-yaml/schema/failsafe");t.exports.SAFE_SCHEMA=e("./js-yaml/schema/default_safe");t.exports.DEFAULT_SCHEMA=e("./js-yaml/schema/default_full");t.exports.scan=a("scan");t.exports.parse=a("parse");t.exports.compose=a("compose");t.exports.addConstructor=a("addConstructor")},{"./js-yaml/common":3,"./js-yaml/dumper":4,"./js-yaml/exception":5,"./js-yaml/loader":6,"./js-yaml/schema":8,"./js-yaml/schema/core":9,"./js-yaml/schema/default_full":10,"./js-yaml/schema/default_safe":11,"./js-yaml/schema/failsafe":12,"./js-yaml/schema/json":13,"./js-yaml/type":14}],"./lib/js-yaml.js":[function(e,t,r){t.exports=e("3IpyAo")},{}],3:[function(e,t,r){"use strict";var n={};function i(e){return undefined===e||null===e}function a(e){return"object"===typeof e&&null!==e}function o(e){if(Array.isArray(e)){return e}else if(i(e)){return[]}else{return[e]}}function s(e,t){var r,n,i,a;if(t){a=Object.keys(t);for(r=0,n=a.length;r<n;r+=1){i=a[r];e[i]=t[i]}}return e}function l(e,t){var r="",n;for(n=0;n<t;n+=1){r+=e}return r}t.exports.NIL=n;t.exports.isNothing=i;t.exports.isObject=a;t.exports.toArray=o;t.exports.repeat=l;t.exports.extend=s},{}],4:[function(e,t,r){"use strict";var n=e("./common");var i=n.NIL;var a=e("./exception");var o=e("./schema/default_full");var s=e("./schema/default_safe");var l=Object.prototype.hasOwnProperty;var u=9;var f=10;var c=13;var p=32;var d=33;var h=34;var y=35;var m=37;var g=38;var v=39;var b=42;var w=44;var x=45;var E=58;var S=62;var k=63;var A=64;var I=91;var L=93;var O=96;var N=123;var C=124;var j=125;var F={};F[0]="\\0";F[7]="\\a";F[8]="\\b";F[9]="\\t";F[10]="\\n";F[11]="\\v";F[12]="\\f";F[13]="\\r";F[27]="\\e";F[34]='\\"';F[92]="\\\\";F[133]="\\N";F[160]="\\_";F[8232]="\\L";F[8233]="\\P";var P=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function D(e){var t=typeof e;if(null===e){return"null"}else if("number"===t){return 0===e%1?"integer":"float"}else if("object"===t&&Array.isArray(e)){return"array"}else{return t}}function U(e,t){var r,n,i,a,o,s,u;if(null===t){return{}}r={};n=Object.keys(t);for(i=0,a=n.length;i<a;i+=1){o=n[i];s=String(t[o]);if("!!"===o.slice(0,2)){o="tag:yaml.org,2002:"+o.slice(2)}u=e.compiledTypeMap[o];if(u&&u.dumper){if(l.call(u.dumper.styleAliases,s)){s=u.dumper.styleAliases[s]}}r[o]=s}return r}function T(e){var t,r,i;t=e.toString(16).toUpperCase();if(e<=255){r="x";i=2}else if(e<=65535){r="u";i=4}else if(e<=4294967295){r="U";i=8}else{throw new a("code point within a string may not be greater than 0xFFFFFFFF")}return"\\"+r+n.repeat("0",i-t.length)+t}function B(e,t){t=t||{};var r=t["schema"]||o,s=Math.max(1,t["indent"]||2),B=t["skipInvalid"]||false,R=n.isNothing(t["flowLevel"])?-1:t["flowLevel"],_=U(r,t["styles"]||null),M=r.compiledImplicit,q=r.compiledExplicit,W,G,H;function z(e){return"\n"+n.repeat(" ",s*e)}function V(e){var t,r,n;for(t=0,r=M.length;t<r;t+=1){n=M[t];if(null!==n.loader&&i!==n.loader.resolver(e,false)){return true}}return false}function Y(e){var t,r,n,i,a;H="";t=false;r=0;if(-1!==P.indexOf(e)){t=true}if(0===e.length||p===e.charCodeAt(0)||p===e.charCodeAt(e.length-1)){t=true}for(n=0,i=e.length;n<i;n+=1){a=e.charCodeAt(n);if(!t){if(u===a||f===a||c===a||w===a||I===a||L===a||N===a||j===a||y===a||g===a||b===a||d===a||C===a||S===a||v===a||h===a||m===a||A===a||O===a||k===a||E===a||x===a){t=true}}if(F[a]||!(32<=a&&a<=126||133===a||160<=a&&a<=55295||57344<=a&&a<=65533||65536<=a&&a<=1114111)){H+=e.slice(r,n);H+=F[a]||T(a);r=n+1;t=true}}if(r<n){H+=e.slice(r,n)}if(!t&&V(H)){t=true}if(t){H='"'+H+'"'}}function K(e,t){var r="",n=G,i,a;for(i=0,a=t.length;i<a;i+=1){if(Q(e,t[i],false,false)){if(0!==i){r+=", "}r+=H}}G=n;H="["+r+"]"}function $(e,t,r){var n="",i=G,a,o;for(a=0,o=t.length;a<o;a+=1){if(Q(e+1,t[a],true,true)){if(!r||0!==a){n+=z(e)}n+="- "+H}}G=i;H=n||"[]"}function J(e,t){var r="",n=G,i=Object.keys(t),a,o,s,l,u;for(a=0,o=i.length;a<o;a+=1){u="";if(0!==a){u+=", "}s=i[a];l=t[s];if(!Q(e,s,false,false)){continue}if(H.length>1024){u+="? "}u+=H+": ";if(!Q(e,l,false,false)){continue}u+=H;r+=u}G=n;H="{"+r+"}"}function X(e,t,r){var n="",i=G,a=Object.keys(t),o,s,l,u,f,c;for(o=0,s=a.length;o<s;o+=1){c="";if(!r||0!==o){c+=z(e)}l=a[o];u=t[l];if(!Q(e+1,l,true,true)){continue}f=null!==G&&"?"!==G&&H.length<=1024;if(f){c+="? "}c+=H;if(f){c+=z(e)}if(!Q(e+1,u,true,f)){continue}c+=": "+H;n+=c}G=i;H=n||"{}"}function Z(e,t){var r,n,o,s,u,f;n=t?q:M;W=D(e);for(o=0,s=n.length;o<s;o+=1){u=n[o];if(null!==u.dumper&&(null===u.dumper.kind||W===u.dumper.kind)&&(null===u.dumper.instanceOf||e instanceof u.dumper.instanceOf)&&(null===u.dumper.predicate||u.dumper.predicate(e))){G=t?u.tag:"?";if(null!==u.dumper.representer){f=_[u.tag]||u.dumper.defaultStyle;if("function"===typeof u.dumper.representer){r=u.dumper.representer(e,f)}else if(l.call(u.dumper.representer,f)){r=u.dumper.representer[f](e,f)}else{throw new a("!<"+u.tag+'> tag resolver accepts not "'+f+'" style')}if(i!==r){W=D(r);H=r}else{if(t){throw new a("cannot represent an object of !<"+u.tag+"> type")}else{continue}}}return true}}return false}function Q(e,t,r,n){G=null;H=t;if(!Z(t,false)){Z(t,true)}if(r){r=0>R||R>e}if(null!==G&&"?"!==G||2!==s&&e>0){n=false}if("object"===W){if(r&&0!==Object.keys(H).length){X(e,H,n)}else{J(e,H)}}else if("array"===W){if(r&&0!==H.length){$(e,H,n)}else{K(e,H)}}else if("string"===W){if("?"!==G){Y(H)}}else if(B){return false}else{throw new a("unacceptabe kind of an object to dump ("+W+")")}if(null!==G&&"?"!==G){H="!<"+G+"> "+H}return true}if(Q(0,e,true,true)){return H+"\n"}else{return""}}function R(e,t){return B(e,n.extend({schema:s},t))}t.exports.dump=B;t.exports.safeDump=R},{"./common":3,"./exception":5,"./schema/default_full":10,"./schema/default_safe":11}],5:[function(e,t,r){"use strict";function n(e,t){this.name="YAMLException";this.reason=e;this.mark=t;this.message=this.toString(false)}n.prototype.toString=function i(e){var t;t="JS-YAML: "+(this.reason||"(unknown reason)");if(!e&&this.mark){t+=" "+this.mark.toString()}return t};t.exports=n},{}],6:[function(e,t,r){"use strict";var n=e("./common");var i=e("./exception");var a=e("./mark");var o=n.NIL;var s=e("./schema/default_safe");var l=e("./schema/default_full");var u=Object.prototype.hasOwnProperty;var f="string";var c="array";var p="object";var d=1;var h=2;var y=3;var m=4;var g=1;var v=2;var b=3;var w=9;var x=10;var E=13;var S=32;var k=33;var A=34;var I=35;var L=37;var O=38;var N=39;var C=42;var j=43;var F=44;var P=45;var D=46;var U=47;var T=48;var B=49;var R=57;var _=58;var M=60;var q=62;var W=63;var G=64;var H=65;var z=70;var V=76;var Y=78;var K=80;var $=85;var J=91;var X=92;var Z=93;var Q=95;var et=96;var tt=97;var rt=98;var nt=101;var it=102;var at=110;var ot=114;var st=116;var lt=117;var ut=118;var ft=120;var ct=123;var pt=124;var dt=125;var ht={};ht[T]="\x00";ht[tt]="";ht[rt]="\b";ht[st]=" ";ht[w]=" ";ht[at]="\n";ht[ut]="";ht[it]="\f";ht[ot]="\r";ht[nt]="";ht[S]=" ";ht[A]='"';ht[U]="/";ht[X]="\\";ht[Y]="
";ht[Q]=" ";ht[V]="\u2028";ht[K]="\u2029";var yt={};yt[ft]=2;yt[lt]=4;yt[$]=8;var mt=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uD800-\uDFFF\uFFFE\uFFFF]/;var gt=/[\x85\u2028\u2029]/;var vt=/[,\[\]\{\}]/;var bt=/^(?:!|!!|![a-z\-]+!)$/i;var wt=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function xt(e,t,r){r=r||{};var s=r["filename"]||null,U=r["schema"]||l,V=r["resolve"]||true,Y=r["validate"]||true,K=r["strict"]||false,$=r["legacy"]||false,Q={},rt=U.compiledImplicit,nt=U.compiledTypeMap,at=e.length,ot=0,st=0,lt=0,ut=0,ft=e.charCodeAt(ot),xt,Et,St,kt,At,It,Lt,Ot;function Nt(t){return new i(t,new a(s,e,ot,st,ot-lt))}function Ct(e){throw Nt(e)}function jt(e){var t=Nt(e);if(K){throw t}else{console.warn(t.toString())}}Q["YAML"]=function Xt(e,t){var r,n,i;if(null!==xt){Ct("duplication of %YAML directive")}if(1!==t.length){Ct("YAML directive accepts exactly one argument")}r=/^([0-9]+)\.([0-9]+)$/.exec(t[0]);if(null===r){Ct("ill-formed argument of the YAML directive")}n=parseInt(r[1],10);i=parseInt(r[2],10);if(1!==n){Ct("unacceptable YAML version of the document")}xt=t[0];Et=i<2;if(1!==i&&2!==i){jt("unsupported YAML version of the document")}};Q["TAG"]=function Zt(e,t){var r,n;if(2!==t.length){Ct("TAG directive accepts exactly two arguments")}r=t[0];n=t[1];if(!bt.test(r)){Ct("ill-formed tag handle (first argument) of the TAG directive")}if(u.call(St,r)){Ct('there is a previously declared suffix for "'+r+'" tag handle')}if(!wt.test(n)){Ct("ill-formed tag prefix (second argument) of the TAG directive")}St[r]=n};function Ft(t,r,n){var i,a,o,s;if(t<r){s=e.slice(t,r);if(n&&Y){for(i=0,a=s.length;i<a;i+=1){o=s.charCodeAt(i);if(!(9===o||32<=o&&o<=1114111)){Ct("expected valid JSON character")}}}Ot+=s}}function Pt(e,t){var r,i,a,o;if(!n.isObject(t)){Ct("cannot merge mappings; the provided source object is unacceptable")}r=Object.keys(t);for(a=0,o=r.length;a<o;a+=1){i=r[a];if(!u.call(e,i)){e[i]=t[i]}}}function Dt(e,t,r,n){var i,a;r=String(r);if(null===e){e={}}if("tag:yaml.org,2002:merge"===t){if(Array.isArray(n)){for(i=0,a=n.length;i<a;i+=1){Pt(e,n[i])}}else{Pt(e,n)}}else{e[r]=n}return e}function Ut(){if(x===ft){ot+=1}else if(E===ft){if(x===e.charCodeAt(ot+1)){ot+=2}else{ot+=1}}else{Ct("a line break is expected")}st+=1;lt=ot;ft=e.charCodeAt(ot)}function Tt(t,r){var n=0;while(ot<at){while(S===ft||w===ft){ft=e.charCodeAt(++ot)}if(t&&I===ft){do{ft=e.charCodeAt(++ot)}while(ot<at&&x!==ft&&E!==ft)}if(x===ft||E===ft){Ut();n+=1;ut=0;while(S===ft){ut+=1;ft=e.charCodeAt(++ot)}if(ut<r){jt("deficient indentation")}}else{break}}return n}function Bt(){var t,r;if(ot===lt&&(P===ft||D===ft)&&e.charCodeAt(ot+1)===ft&&e.charCodeAt(ot+2)===ft){t=ot+3;r=e.charCodeAt(t);if(t>=at||S===r||w===r||x===r||E===r){return true}}return false}function Rt(e){if(1===e){Ot+=" "}else if(e>1){Ot+=n.repeat("\n",e-1)}}function _t(t,r){var n,i,a,o,s,l,u,c,p=Lt,d=Ot;if(S===ft||w===ft||x===ft||E===ft||F===ft||J===ft||Z===ft||ct===ft||dt===ft||I===ft||O===ft||C===ft||k===ft||pt===ft||q===ft||N===ft||A===ft||L===ft||G===ft||et===ft){return false}if(W===ft||P===ft){i=e.charCodeAt(ot+1);if(S===i||w===i||x===i||E===i||r&&(F===i||J===i||Z===i||ct===i||dt===i)){return false}}Lt=f;Ot="";a=o=ot;s=false;while(ot<at){if(_===ft){i=e.charCodeAt(ot+1);if(S===i||w===i||x===i||E===i||r&&(F===i||J===i||Z===i||ct===i||dt===i)){break}}else if(I===ft){n=e.charCodeAt(ot-1);if(S===n||w===n||x===n||E===n){break}}else if(ot===lt&&Bt()||r&&(F===ft||J===ft||Z===ft||ct===ft||dt===ft)){break}else if(x===ft||E===ft){l=st;u=lt;c=ut;Tt(false,-1);if(ut>=t){s=true;continue}else{ot=o;st=l;lt=u;ut=c;ft=e.charCodeAt(ot);break}}if(s){Ft(a,o,false);Rt(st-l);a=o=ot;s=false}if(S!==ft&&w!==ft){o=ot+1}ft=e.charCodeAt(++ot)}Ft(a,o,false);if(Ot){return true}else{Lt=p;Ot=d;return false}}function Mt(t){var r,n;if(N!==ft){return false}Lt=f;Ot="";ft=e.charCodeAt(++ot);r=n=ot;while(ot<at){if(N===ft){Ft(r,ot,true);ft=e.charCodeAt(++ot);if(N===ft){r=n=ot;ft=e.charCodeAt(++ot)}else{return true}}else if(x===ft||E===ft){Ft(r,n,true);Rt(Tt(false,t));r=n=ot;ft=e.charCodeAt(ot)}else if(ot===lt&&Bt()){Ct("unexpected end of the document within a single quoted scalar")}else{ft=e.charCodeAt(++ot);n=ot}}Ct("unexpected end of the stream within a single quoted scalar")}function qt(t){var r,n,i,a,o,s;if(A!==ft){return false}Lt=f;Ot="";ft=e.charCodeAt(++ot);r=n=ot;while(ot<at){if(A===ft){Ft(r,ot,true);ft=e.charCodeAt(++ot);return true}else if(X===ft){Ft(r,ot,true);ft=e.charCodeAt(++ot);if(x===ft||E===ft){Tt(false,t)}else if(ht[ft]){Ot+=ht[ft];ft=e.charCodeAt(++ot)}else if(yt[ft]){i=yt[ft];s=0;for(a=1;a<=i;a+=1){o=(i-a)*4;ft=e.charCodeAt(++ot);if(T<=ft&&ft<=R){s|=ft-T<<o}else if(H<=ft&&ft<=z){s|=ft-H+10<<o}else if(tt<=ft&&ft<=it){s|=ft-tt+10<<o}else{Ct("expected hexadecimal character")}}Ot+=String.fromCharCode(s);ft=e.charCodeAt(++ot)}else{Ct("unknown escape sequence")}r=n=ot}else if(x===ft||E===ft){Ft(r,n,true);Rt(Tt(false,t));r=n=ot;ft=e.charCodeAt(ot)}else if(ot===lt&&Bt()){Ct("unexpected end of the document within a double quoted scalar")}else{ft=e.charCodeAt(++ot);n=ot}}Ct("unexpected end of the stream within a double quoted scalar")}function Wt(t){var r=true,n,i=At,a,o,s,l,u,f,h,y,m;switch(ft){case J:s=Z;f=false;a=[];break;case ct:s=dt;f=true;a={};break;default:return false}if(null!==It){kt[It]=a}ft=e.charCodeAt(++ot);while(ot<at){Tt(true,t);if(ft===s){ft=e.charCodeAt(++ot);At=i;Lt=f?p:c;Ot=a;return true}else if(!r){Ct("missed comma between flow collection entries")}y=h=m=null;l=u=false;if(W===ft){o=e.charCodeAt(ot+1);if(S===o||w===o||x===o||E===o){l=u=true;ot+=1;ft=o;Tt(true,t)}}n=st;$t(t,d,false,true);y=At;h=Ot;Tt(true,t);if((u||st===n)&&_===ft){l=true;ft=e.charCodeAt(++ot);Tt(true,t);$t(t,d,false,true);m=Ot}if(f){Dt(a,y,h,m)}else if(l){a.push(Dt(null,y,h,m))}else{a.push(h)}Tt(true,t);if(F===ft){r=true;ft=e.charCodeAt(++ot)}else{r=false}}Ct("unexpected end of the stream within a flow collection")}function Gt(t){var r,i,a=g,o=false,s=t,l=0,u=false;switch(ft){case pt:i=false;break;case q:i=true;break;default:return false}Lt=f;Ot="";while(ot<at){ft=e.charCodeAt(++ot);if(j===ft||P===ft){if(g===a){a=j===ft?b:v}else{Ct("repeat of a chomping mode identifier")}}else if(T<=ft&&ft<=R){if(T===ft){Ct("bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!o){s=t+(ft-B);o=true}else{Ct("repeat of an indentation width identifier")}}else{break}}if(S===ft||w===ft){do{ft=e.charCodeAt(++ot)}while(S===ft||w===ft);if(I===ft){do{ft=e.charCodeAt(++ot)}while(ot<at&&x!==ft&&E!==ft)}}while(ot<at){Ut();ut=0;while((!o||ut<s)&&S===ft){ut+=1;ft=e.charCodeAt(++ot)}if(!o&&ut>s){s=ut}if(x===ft||E===ft){l+=1;continue}if(ut<s){switch(a){case b:Ot+=n.repeat("\n",l);break;case g:if(o){Ot+="\n"}break}break}if(i){if(S===ft||w===ft){u=true;Ot+=n.repeat("\n",l+1)}else if(u){u=false;Ot+=n.repeat("\n",l+1)}else if(0===l){if(o){Ot+=" "}}else{Ot+=n.repeat("\n",l)}}else{Ot+=n.repeat("\n",l+1)}o=true;l=0;r=ot;do{ft=e.charCodeAt(++ot)}while(ot<at&&x!==ft&&E!==ft);Ft(r,ot,false)}return true}function Ht(t){var r,n=At,i=[],a,o=false;if(null!==It){kt[It]=i}while(ot<at){if(P!==ft){break}a=e.charCodeAt(ot+1);if(S!==a&&w!==a&&x!==a&&E!==a){break}o=true;ot+=1;ft=a;if(Tt(true,-1)){if(ut<=t){i.push(null);continue}}r=st;$t(t,y,false,true);i.push(Ot);Tt(true,-1);if((st===r||ut>t)&&ot<at){Ct("bad indentation of a sequence entry")}else if(ut<t){break}}if(o){At=n;Lt=c;Ot=i;return true}else{return false}}function zt(t){var r,n,i,a=At,o={},s=null,l=null,u=null,f=false,c=false;if(null!==It){kt[It]=o}while(ot<at){r=e.charCodeAt(ot+1);i=st;if((W===ft||_===ft)&&(S===r||w===r||x===r||E===r)){if(W===ft){if(f){Dt(o,s,l,null);s=l=u=null}c=true;f=true;n=true}else if(f){f=false;n=true}else{Ct("incomplete explicit mapping pair; a key node is missed")}ot+=1;ft=r}else if($t(t,h,false,true)){if(st===i){while(S===ft||w===ft){ft=e.charCodeAt(++ot)}if(_===ft){ft=e.charCodeAt(++ot);if(S!==ft&&w!==ft&&x!==ft&&E!==ft){Ct("a whitespace character is expected after the key-value separator within a block mapping")}if(f){Dt(o,s,l,null);s=l=u=null}c=true;f=false;n=false;s=At;l=Ot}else if(c){Ct("can not read an implicit mapping pair; a colon is missed")}else{At=a;return true}}else if(c){Ct("can not read a block mapping entry; a multiline key may not be an implicit key")}else{At=a;return true}}else{break}if(st===i||ut>t){if($t(t,m,true,n)){if(f){l=Ot}else{u=Ot}}if(!f){Dt(o,s,l,u);s=l=u=null}Tt(true,-1)}if(ut>t&&ot<at){Ct("bad indentation of a mapping entry")}else if(ut<t){break}}if(f){Dt(o,s,l,null)}if(c){At=a;Lt=p;Ot=o}return c}function Vt(){var t,r=false,n=false,i,a;if(k!==ft){return false}if(null!==At){Ct("duplication of a tag property")}ft=e.charCodeAt(++ot);if(M===ft){r=true;ft=e.charCodeAt(++ot)}else if(k===ft){n=true;i="!!";ft=e.charCodeAt(++ot)}else{i="!"}t=ot;if(r){do{ft=e.charCodeAt(++ot)}while(ot<at&&q!==ft);if(ot<at){a=e.slice(t,ot);ft=e.charCodeAt(++ot)}else{Ct("unexpected end of the stream within a verbatim tag")}}else{while(ot<at&&S!==ft&&w!==ft&&x!==ft&&E!==ft){if(k===ft){if(!n){i=e.slice(t-1,ot+1);if(Y&&!bt.test(i)){Ct("named tag handle cannot contain such characters")}n=true;t=ot+1}else{Ct("tag suffix cannot contain exclamation marks")}}ft=e.charCodeAt(++ot)}a=e.slice(t,ot);if(Y&&vt.test(a)){Ct("tag suffix cannot contain flow indicator characters")}}if(Y&&a&&!wt.test(a)){Ct("tag name cannot contain such characters: "+a)}if(r){At=a}else if(u.call(St,i)){At=St[i]+a}else if("!"===i){At="!"+a}else if("!!"===i){At="tag:yaml.org,2002:"+a}else{Ct('undeclared tag handle "'+i+'"')}return true}function Yt(){var t;if(O!==ft){return false}if(null!==It){Ct("duplication of an anchor property")}ft=e.charCodeAt(++ot);t=ot;while(ot<at&&S!==ft&&w!==ft&&x!==ft&&E!==ft&&F!==ft&&J!==ft&&Z!==ft&&ct!==ft&&dt!==ft){ft=e.charCodeAt(++ot)}if(ot===t){Ct("name of an anchor node must contain at least one character")}It=e.slice(t,ot);return true}function Kt(){var t,r;if(C!==ft){return false}ft=e.charCodeAt(++ot);t=ot;while(ot<at&&S!==ft&&w!==ft&&x!==ft&&E!==ft&&F!==ft&&J!==ft&&Z!==ft&&ct!==ft&&dt!==ft){ft=e.charCodeAt(++ot)}if(ot===t){Ct("name of an alias node must contain at least one character")}r=e.slice(t,ot);if(!kt.hasOwnProperty(r)){Ct('unidentified alias "'+r+'"')}Ot=kt[r];Tt(true,-1);return true}function $t(e,t,r,n){var i,a,s,l=false,f=true,c=false,p,g,v,b,w,x,E;At=null;It=null;Lt=null;Ot=null;i=a=s=m===t||y===t;if(r){if(Tt(true,-1)){l=true;if(ut===e){f=false}else if(ut>e){f=true}else{return false}}}if(f){while(Vt()||Yt()){if(Tt(true,-1)){l=true;if(ut>e){f=true;s=i}else if(ut===e){f=false;s=i}else{return true}}else{s=false}}}if(s){s=l||n}if(f||m===t){if(d===t||h===t){w=e}else{w=e+1}x=ot-lt;if(f){if(s&&(Ht(x)||zt(x))||Wt(w)){c=true}else{if(a&&Gt(w)||Mt(w)||qt(w)){c=true}else if(Kt()){c=true;if(null!==At||null!==It){Ct("alias node should not have any properties")}}else if(_t(w,d===t)){c=true;if(null===At){At="?"}}if(null!==It){kt[It]=Ot}}}else{c=s&&Ht(x)}}if(null!==At&&"!"!==At){if("?"===At){if(V){for(p=0,g=rt.length;p<g;p+=1){v=rt[p];E=v.loader.resolver(Ot,false);if(o!==E){At=v.tag;Ot=E;break}}}}else if(u.call(nt,At)){b=nt[At].loader;if(null!==Ot&&b.kind!==Lt){Ct("unacceptable node kind for !<"+At+'> tag; it should be "'+b.kind+'", not "'+Lt+'"')}if(b.resolver){E=b.resolver(Ot,true);if(o!==E){Ot=E}else{Ct("cannot resolve a node with !<"+At+"> explicit tag")}}}else{jt("unknown tag !<"+At+">")}}return null!==At||null!==It||c}function Jt(){var r=ot,n,i,a,o=false;xt=null;Et=$;St={};kt={};while(ot<at){Tt(true,-1);if(ut>0||L!==ft){break}o=true;ft=e.charCodeAt(++ot);n=ot;while(ot<at&&S!==ft&&w!==ft&&x!==ft&&E!==ft){ft=e.charCodeAt(++ot)}i=e.slice(n,ot);a=[];if(i.length<1){Ct("directive name must not be less than one character in length")}while(ot<at){while(S===ft||w===ft){ft=e.charCodeAt(++ot)}if(I===ft){do{ft=e.charCodeAt(++ot)}while(ot<at&&x!==ft&&E!==ft);break}if(x===ft||E===ft){break}n=ot;while(ot<at&&S!==ft&&w!==ft&&x!==ft&&E!==ft){ft=e.charCodeAt(++ot)}a.push(e.slice(n,ot))}if(ot<at){Ut()}if(u.call(Q,i)){Q[i](i,a)}else{jt('unknown document directive "'+i+'"')}}Tt(true,-1);if(0===ut&&P===ft&&P===e.charCodeAt(ot+1)&&P===e.charCodeAt(ot+2)){ot+=3;ft=e.charCodeAt(ot);Tt(true,-1)}else if(o){Ct("directives end mark is expected")}$t(ut-1,m,false,true);Tt(true,-1);if(Y&&Et&>.test(e.slice(r,ot))){jt("non-ASCII line breaks are interpreted as content")}t(Ot);if(ot===lt&&Bt()){if(D===ft){ot+=3;ft=e.charCodeAt(ot);Tt(true,-1)}return}if(ot<at){Ct("end of the stream or a document separator is expected")}else{return}}if(Y&&mt.test(e)){Ct("the stream contains non-printable characters")}while(S===ft){ut+=1;ft=e.charCodeAt(++ot)}while(ot<at){Jt()}}function Et(e,t){var r=null,n=false;function a(e){if(!n){r=e;n=true}else{throw new i("expected a single document in the stream, but found more")}}xt(e,a,t);return r}function St(e,t,r){xt(e,t,n.extend({schema:s},r))}function kt(e,t){return Et(e,n.extend({schema:s},t))}t.exports.loadAll=xt;t.exports.load=Et;t.exports.safeLoadAll=St;t.exports.safeLoad=kt},{"./common":3,"./exception":5,"./mark":7,"./schema/default_full":10,"./schema/default_safe":11}],7:[function(e,t,r){"use strict";var n=e("./common");function i(e,t,r,n,i){this.name=e;this.buffer=t;this.position=r;this.line=n;this.column=i}i.prototype.getSnippet=function a(e,t){var r,i,a,o,s;if(!this.buffer){return null}e=e||4;t=t||75;r="";i=this.position;while(i>0&&-1==="\x00\r\n
\u2028\u2029".indexOf(this.buffer.charAt(i-1))){i-=1;if(this.position-i>t/2-1){r=" ... ";i+=5;break}}a="";o=this.position;while(o<this.buffer.length&&-1==="\x00\r\n
\u2028\u2029".indexOf(this.buffer.charAt(o))){o+=1;if(o-this.position>t/2-1){a=" ... ";o-=5;break}}s=this.buffer.slice(i,o);return n.repeat(" ",e)+r+s+a+"\n"+n.repeat(" ",e+this.position-i+r.length)+"^"};i.prototype.toString=function o(e){var t,r="";if(this.name){r+='in "'+this.name+'" '}r+="at line "+(this.line+1)+", column "+(this.column+1);if(!e){t=this.getSnippet();if(t){r+=":\n"+t}}return r};t.exports=i},{"./common":3}],8:[function(e,t,r){"use strict";var n=e("./common");var i=e("./exception");var a=e("./type");function o(e,t,r){var n=[];e.include.forEach(function(e){r=o(e,t,r)});e[t].forEach(function(e){r.forEach(function(t,r){if(t.tag===e.tag){n.push(r)}});r.push(e)});return r.filter(function(e,t){return-1===n.indexOf(t)})}function s(){var e={},t,r;function n(t){e[t.tag]=t}for(t=0,r=arguments.length;t<r;t+=1){arguments[t].forEach(n)}return e}function l(e){this.include=e.include||[];this.implicit=e.implicit||[];this.explicit=e.explicit||[];this.implicit.forEach(function(e){if(null!==e.loader&&"string"!==e.loader.kind){throw new i("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}});this.compiledImplicit=o(this,"implicit",[]);this.compiledExplicit=o(this,"explicit",[]);this.compiledTypeMap=s(this.compiledImplicit,this.compiledExplicit)}l.DEFAULT=null;l.create=function u(){var e,t;switch(arguments.length){case 1:e=l.DEFAULT;t=arguments[0];break;case 2:e=arguments[0];t=arguments[1];break;default:throw new i("Wrong number of arguments for Schema.create function")}e=n.toArray(e);t=n.toArray(t);if(!e.every(function(e){return e instanceof l})){throw new i("Specified list of super schemas (or a single Schema object) contains a non-Schema object.")}if(!t.every(function(e){return e instanceof a})){throw new i("Specified list of YAML types (or a single Type object) contains a non-Type object.")}return new l({include:e,explicit:t})};t.exports=l},{"./common":3,"./exception":5,"./type":14}],9:[function(e,t,r){"use strict";var n=e("../schema");t.exports=new n({include:[e("./json")]})},{"../schema":8,"./json":13}],10:[function(e,t,r){"use strict";var n=e("../schema");t.exports=n.DEFAULT=new n({include:[e("./default_safe")],explicit:[e("../type/js/undefined"),e("../type/js/regexp"),e("../type/js/function")]})},{"../schema":8,"../type/js/function":19,"../type/js/regexp":20,"../type/js/undefined":21,"./default_safe":11}],11:[function(e,t,r){"use strict";var n=e("../schema");t.exports=new n({include:[e("./core")],implicit:[e("../type/timestamp"),e("../type/merge")],explicit:[e("../type/binary"),e("../type/omap"),e("../type/pairs"),e("../type/set")]})},{"../schema":8,"../type/binary":15,"../type/merge":23,"../type/omap":25,"../type/pairs":26,"../type/set":28,"../type/timestamp":30,"./core":9}],12:[function(e,t,r){"use strict";var n=e("../schema");t.exports=new n({explicit:[e("../type/str"),e("../type/seq"),e("../type/map")]})},{"../schema":8,"../type/map":22,"../type/seq":27,"../type/str":29}],13:[function(e,t,r){"use strict";var n=e("../schema");t.exports=new n({include:[e("./failsafe")],implicit:[e("../type/null"),e("../type/bool"),e("../type/int"),e("../type/float")]})},{"../schema":8,"../type/bool":16,"../type/float":17,"../type/int":18,"../type/null":24,"./failsafe":12}],14:[function(e,t,r){"use strict";var n=e("./exception");function i(e,t){t=t||{};this.tag=e;this.loader=t["loader"]||null;this.dumper=t["dumper"]||null;if(null===this.loader&&null===this.dumper){throw new n('Incomplete YAML type definition. "loader" or "dumper" setting must be specified.')}if(null!==this.loader){this.loader=new i.Loader(this.loader)}if(null!==this.dumper){this.dumper=new i.Dumper(this.dumper)}}i.Loader=function o(e){e=e||{};this.kind=e["kind"]||null;this.resolver=e["resolver"]||null;if("string"!==this.kind&&"array"!==this.kind&&"object"!==this.kind){throw new n('Unacceptable "kind" setting of a type loader.')}};function a(e){var t={};if(null!==e){Object.keys(e).forEach(function(r){e[r].forEach(function(e){t[String(e)]=r})})}return t}i.Dumper=function s(e){e=e||{};this.kind=e["kind"]||null;this.defaultStyle=e["defaultStyle"]||null;this.instanceOf=e["instanceOf"]||null;this.predicate=e["predicate"]||null;this.representer=e["representer"]||null;this.styleAliases=a(e["styleAliases"]||null);if("undefined"!==this.kind&&"null"!==this.kind&&"boolean"!==this.kind&&"integer"!==this.kind&&"float"!==this.kind&&"string"!==this.kind&&"array"!==this.kind&&"object"!==this.kind&&"function"!==this.kind){throw new n('Unacceptable "kind" setting of a type dumper.')}};t.exports=i},{"./exception":5}],15:[function(e,t,r){"use strict";var n=e("buffer").Buffer;var i=e("../common");var a=i.NIL;var o=e("../type");var s="=";var l=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1];var u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");function f(e){var t,r,i=0,o=[],u,f;u=0;f=0;for(i=0;i<e.length;i+=1){r=e.charCodeAt(i);t=l[r&127];if(10!==r&&13!==r){if(-1===t){return a}f=f<<6|t;u+=6;if(u>=8){u-=8;if(s!==e.charAt(i)){o.push(f>>u&255)}f&=(1<<u)-1}}}if(u){return a}else{return new n(o)}}function c(e){var t="",r,n,i;for(r=0,n=e.length-2;r<n;r+=3){t+=u[e[r+0]>>2];t+=u[((e[r+0]&3)<<4)+(e[r+1]>>4)];t+=u[((e[r+1]&15)<<2)+(e[r+2]>>6)];t+=u[e[r+2]&63]}i=e.length%3;if(0!==i){r=e.length-i;t+=u[e[r+0]>>2];if(2===i){t+=u[((e[r+0]&3)<<4)+(e[r+1]>>4)];t+=u[(e[r+1]&15)<<2];t+=s}else{t+=u[(e[r+0]&3)<<4];t+=s+s}}return t}t.exports=new o("tag:yaml.org,2002:binary",{loader:{kind:"string",resolver:f},dumper:{kind:"object",instanceOf:n,representer:c}})},{"../common":3,"../type":14,buffer:35}],16:[function(e,t,r){"use strict";var n=e("../common").NIL;var i=e("../type");var a={"true":true,True:true,TRUE:true,"false":false,False:false,FALSE:false};var o={"true":true,True:true,TRUE:true,"false":false,False:false,FALSE:false,y:true,Y:true,yes:true,Yes:true,YES:true,n:false,N:false,no:false,No:false,NO:false,on:true,On:true,ON:true,off:false,Off:false,OFF:false};function s(e,t){if(t){if(o.hasOwnProperty(e)){return o[e]}else{return n}}else{if(a.hasOwnProperty(e)){return a[e]}else{return n}}}t.exports=new i("tag:yaml.org,2002:bool",{loader:{kind:"string",resolver:s},dumper:{kind:"boolean",defaultStyle:"lowercase",representer:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}}}})},{"../common":3,"../type":14}],17:[function(e,t,r){"use strict";var n=e("../common").NIL;var i=e("../type");var a=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)\\.[0-9_]*(?:[eE][-+][0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+][0-9]+)?"+"|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function o(e){var t,r,i,o;if(!a.test(e)){return n}t=e.replace(/_/g,"").toLowerCase();r="-"===t[0]?-1:1;o=[];if(0<="+-".indexOf(t[0])){t=t.slice(1)}if(".inf"===t){return 1===r?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(".nan"===t){return NaN}else if(0<=t.indexOf(":")){t.split(":").forEach(function(e){o.unshift(parseFloat(e,10))});t=0;i=1;o.forEach(function(e){t+=e*i;i*=60});return r*t}else{return r*parseFloat(t,10)}}function s(e,t){if(isNaN(e)){switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===e){switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===e){switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else{return e.toString(10)}}t.exports=new i("tag:yaml.org,2002:float",{loader:{kind:"string",resolver:o},dumper:{kind:"float",defaultStyle:"lowercase",representer:s}})},{"../common":3,"../type":14}],18:[function(e,t,r){"use strict";var n=e("../common").NIL;var i=e("../type");var a=new RegExp("^(?:[-+]?0b[0-1_]+"+"|[-+]?0[0-7_]+"+"|[-+]?(?:0|[1-9][0-9_]*)"+"|[-+]?0x[0-9a-fA-F_]+"+"|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+)$");function o(e){var t,r,i,o;if(!a.test(e)){return n}t=e.replace(/_/g,"");r="-"===t[0]?-1:1;o=[];if(0<="+-".indexOf(t[0])){t=t.slice(1)}if("0"===t){return 0}else if(/^0b/.test(t)){return r*parseInt(t.slice(2),2)}else if(/^0x/.test(t)){return r*parseInt(t,16)}else if("0"===t[0]){return r*parseInt(t,8)}else if(0<=t.indexOf(":")){t.split(":").forEach(function(e){o.unshift(parseInt(e,10))});t=0;i=1;o.forEach(function(e){t+=e*i;i*=60});return r*t}else{return r*parseInt(t,10)}}t.exports=new i("tag:yaml.org,2002:int",{loader:{kind:"string",resolver:o},dumper:{kind:"integer",defaultStyle:"decimal",representer:{binary:function(e){return"0b"+e.toString(2)},octal:function(e){return"0"+e.toString(8)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return"0x"+e.toString(16).toUpperCase()}},styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}})},{"../common":3,"../type":14}],19:[function(e,t,r){"use strict";var n=e("esprima");var i=e("../../common").NIL;var a=e("../../type");function o(e){try{var t="("+e+")",r=n.parse(t,{range:true}),a=[],o;if("Program"!==r.type||1!==r.body.length||"ExpressionStatement"!==r.body[0].type||"FunctionExpression"!==r.body[0].expression.type){return i}r.body[0].expression.params.forEach(function(e){a.push(e.name)});o=r.body[0].expression.body.range;return new Function(a,t.slice(o[0]+1,o[1]-1))}catch(s){return i}}function s(e){return e.toString()}t.exports=new a("tag:yaml.org,2002:js/function",{loader:{kind:"string",resolver:o},dumper:{kind:"function",representer:s}})},{"../../common":3,"../../type":14,esprima:37}],20:[function(e,t,r){"use strict";var n=e("../../common").NIL;var i=e("../../type");function a(e){var t=e,r=/\/([gim]*)$/.exec(e),i;if("/"===t[0]&&r&&4>=r[0].length){t=t.slice(1,t.length-r[0].length);i=r[1]}try{return new RegExp(t,i)}catch(a){return n}}function o(e){var t="/"+e.source+"/";if(e.global){t+="g"}if(e.multiline){t+="m"}if(e.ignoreCase){t+="i"}return t}t.exports=new i("tag:yaml.org,2002:js/regexp",{loader:{kind:"string",resolver:a},dumper:{kind:"object",instanceOf:RegExp,representer:o}})
},{"../../common":3,"../../type":14}],21:[function(e,t,r){"use strict";var n=e("../../type");function i(){var e;return e}function a(){return""}t.exports=new n("tag:yaml.org,2002:js/undefined",{loader:{kind:"string",resolver:i},dumper:{kind:"undefined",representer:a}})},{"../../type":14}],22:[function(e,t,r){"use strict";var n=e("../type");t.exports=new n("tag:yaml.org,2002:map",{loader:{kind:"object"}})},{"../type":14}],23:[function(e,t,r){"use strict";var n=e("../common").NIL;var i=e("../type");function a(e){return"<<"===e?e:n}t.exports=new i("tag:yaml.org,2002:merge",{loader:{kind:"string",resolver:a}})},{"../common":3,"../type":14}],24:[function(e,t,r){"use strict";var n=e("../common").NIL;var i=e("../type");var a={"~":true,"null":true,Null:true,NULL:true};function o(e){return a[e]?null:n}t.exports=new i("tag:yaml.org,2002:null",{loader:{kind:"string",resolver:o},dumper:{kind:"null",defaultStyle:"lowercase",representer:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}}}})},{"../common":3,"../type":14}],25:[function(e,t,r){"use strict";var n=e("../common").NIL;var i=e("../type");var a=Object.prototype.hasOwnProperty;var o=Object.prototype.toString;function s(e){var t=[],r,i,s,l,u;for(r=0,i=e.length;r<i;r+=1){s=e[r];u=false;if("[object Object]"!==o.call(s)){return n}for(l in s){if(a.call(s,l)){if(!u){u=true}else{return n}}}if(!u){return n}if(-1===t.indexOf(l)){t.push(l)}else{return n}}return e}t.exports=new i("tag:yaml.org,2002:omap",{loader:{kind:"array",resolver:s}})},{"../common":3,"../type":14}],26:[function(e,t,r){"use strict";var n=e("../common").NIL;var i=e("../type");var a=Object.prototype.toString;function o(e){var t,r,i,o,s;s=new Array(e.length);for(t=0,r=e.length;t<r;t+=1){i=e[t];if("[object Object]"!==a.call(i)){return n}o=Object.keys(i);if(1!==o.length){return n}s[t]=[o[0],i[o[0]]]}return s}t.exports=new i("tag:yaml.org,2002:pairs",{loader:{kind:"array",resolver:o}})},{"../common":3,"../type":14}],27:[function(e,t,r){"use strict";var n=e("../type");t.exports=new n("tag:yaml.org,2002:seq",{loader:{kind:"array"}})},{"../type":14}],28:[function(e,t,r){"use strict";var n=e("../common").NIL;var i=e("../type");var a=Object.prototype.hasOwnProperty;function o(e){var t;for(t in e){if(a.call(e,t)){if(null!==e[t]){return n}}}return e}t.exports=new i("tag:yaml.org,2002:set",{loader:{kind:"object",resolver:o}})},{"../common":3,"../type":14}],29:[function(e,t,r){"use strict";var n=e("../type");t.exports=new n("tag:yaml.org,2002:str",{loader:{kind:"string"}})},{"../type":14}],30:[function(e,t,r){"use strict";var n=e("../common").NIL;var i=e("../type");var a=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9]?)"+"-([0-9][0-9]?)"+"(?:(?:[Tt]|[ \\t]+)"+"([0-9][0-9]?)"+":([0-9][0-9])"+":([0-9][0-9])"+"(?:\\.([0-9]*))?"+"(?:[ \\t]*(Z|([-+])([0-9][0-9]?)"+"(?::([0-9][0-9]))?))?)?$");function o(e){var t,r,i,o,s,l,u,f=0,c=null,p,d,h;t=a.exec(e);if(null===t){return n}r=+t[1];i=+t[2]-1;o=+t[3];if(!t[4]){return new Date(Date.UTC(r,i,o))}s=+t[4];l=+t[5];u=+t[6];if(t[7]){f=t[7].slice(0,3);while(f.length<3){f+="0"}f=+f}if(t[9]){p=+t[10];d=+(t[11]||0);c=(p*60+d)*6e4;if("-"===t[9]){c=-c}}h=new Date(Date.UTC(r,i,o,s,l,u,f));if(c){h.setTime(h.getTime()-c)}return h}function s(e){return e.toISOString()}t.exports=new i("tag:yaml.org,2002:timestamp",{loader:{kind:"string",resolver:o},dumper:{kind:"object",instanceOf:Date,representer:s}})},{"../common":3,"../type":14}],31:[function(e,t,r){var n=Object.prototype.toString;var i=Object.prototype.hasOwnProperty;function a(e){return n.call(e)==="[object Array]"}r.isArray=typeof Array.isArray==="function"?Array.isArray:a;r.indexOf=function y(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r<e.length;r++){if(t===e[r])return r}return-1};r.filter=function m(e,t){if(e.filter)return e.filter(t);var r=[];for(var n=0;n<e.length;n++){if(t(e[n],n,e))r.push(e[n])}return r};r.forEach=function g(e,t,r){if(e.forEach)return e.forEach(t,r);for(var n=0;n<e.length;n++){t.call(r,e[n],n,e)}};r.map=function v(e,t){if(e.map)return e.map(t);var r=new Array(e.length);for(var n=0;n<e.length;n++){r[n]=t(e[n],n,e)}return r};r.reduce=function b(e,t,r){if(e.reduce)return e.reduce(t,r);var n,i=false;if(2<arguments.length){n=r;i=true}for(var a=0,o=e.length;o>a;++a){if(e.hasOwnProperty(a)){if(i){n=t(n,e[a],a,e)}else{n=e[a];i=true}}}return n};if("ab".substr(-1)!=="b"){r.substr=function(e,t,r){if(t<0)t=e.length+t;return e.substr(t,r)}}else{r.substr=function(e,t,r){return e.substr(t,r)}}r.trim=function(e){if(e.trim)return e.trim();return e.replace(/^\s+|\s+$/g,"")};r.bind=function(){var e=Array.prototype.slice.call(arguments);var t=e.shift();if(t.bind)return t.bind.apply(t,e);var r=e.shift();return function(){t.apply(r,e.concat([Array.prototype.slice.call(arguments)]))}};function o(e,t){var r;if(e===null){r={__proto__:null}}else{if(typeof e!=="object"){throw new TypeError("typeof prototype["+typeof e+"] != 'object'")}var n=function(){};n.prototype=e;r=new n;r.__proto__=e}if(typeof t!=="undefined"&&Object.defineProperties){Object.defineProperties(r,t)}return r}r.create=typeof Object.create==="function"?Object.create:o;function s(e){return typeof e!="object"&&typeof e!="function"||e===null}function l(e){if(s(e)){throw new TypeError("Object.keys called on a non-object")}var t=[];for(var r in e){if(i.call(e,r)){t.push(r)}}return t}function u(e){if(s(e)){throw new TypeError("Object.getOwnPropertyNames called on a non-object")}var t=l(e);if(r.isArray(e)&&r.indexOf(e,"length")===-1){t.push("length")}return t}var f=typeof Object.keys==="function"?Object.keys:l;var c=typeof Object.getOwnPropertyNames==="function"?Object.getOwnPropertyNames:u;if((new Error).hasOwnProperty("description")){var p=function(e,t){if(n.call(e)==="[object Error]"){t=r.filter(t,function(e){return e!=="description"&&e!=="number"&&e!=="message"})}return t};r.keys=function(e){return p(e,f(e))};r.getOwnPropertyNames=function(e){return p(e,c(e))}}else{r.keys=f;r.getOwnPropertyNames=c}function d(e,t){return{value:e[t]}}if(typeof Object.getOwnPropertyDescriptor==="function"){try{Object.getOwnPropertyDescriptor({a:1},"a");r.getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor}catch(h){r.getOwnPropertyDescriptor=function(e,t){try{return Object.getOwnPropertyDescriptor(e,t)}catch(r){return d(e,t)}}}}else{r.getOwnPropertyDescriptor=d}},{}],32:[function(e,t,r){var n=e("util");var i=e("_shims");var a=Array.prototype.slice;var o=t.exports=c;o.AssertionError=function g(e){this.name="AssertionError";this.actual=e.actual;this.expected=e.expected;this.operator=e.operator;this.message=e.message||u(this)};n.inherits(o.AssertionError,Error);function s(e,t){if(n.isUndefined(t)){return""+t}if(n.isNumber(t)&&(isNaN(t)||!isFinite(t))){return t.toString()}if(n.isFunction(t)||n.isRegExp(t)){return t.toString()}return t}function l(e,t){if(n.isString(e)){return e.length<t?e:e.slice(0,t)}else{return e}}function u(e){return l(JSON.stringify(e.actual,s),128)+" "+e.operator+" "+l(JSON.stringify(e.expected,s),128)}function f(e,t,r,n,i){throw new o.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:i})}o.fail=f;function c(e,t){if(!e)f(e,true,t,"==",o.ok)}o.ok=c;o.equal=function v(e,t,r){if(e!=t)f(e,t,r,"==",o.equal)};o.notEqual=function b(e,t,r){if(e==t){f(e,t,r,"!=",o.notEqual)}};o.deepEqual=function w(e,t,r){if(!p(e,t)){f(e,t,r,"deepEqual",o.deepEqual)}};function p(e,t){if(e===t){return true}else if(n.isBuffer(e)&&n.isBuffer(t)){if(e.length!=t.length)return false;for(var r=0;r<e.length;r++){if(e[r]!==t[r])return false}return true}else if(n.isDate(e)&&n.isDate(t)){return e.getTime()===t.getTime()}else if(n.isRegExp(e)&&n.isRegExp(t)){return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase}else if(!n.isObject(e)&&!n.isObject(t)){return e==t}else{return h(e,t)}}function d(e){return Object.prototype.toString.call(e)=="[object Arguments]"}function h(e,t){if(n.isNullOrUndefined(e)||n.isNullOrUndefined(t))return false;if(e.prototype!==t.prototype)return false;if(d(e)){if(!d(t)){return false}e=a.call(e);t=a.call(t);return p(e,t)}try{var r=i.keys(e),o=i.keys(t),s,l}catch(u){return false}if(r.length!=o.length)return false;r.sort();o.sort();for(l=r.length-1;l>=0;l--){if(r[l]!=o[l])return false}for(l=r.length-1;l>=0;l--){s=r[l];if(!p(e[s],t[s]))return false}return true}o.notDeepEqual=function x(e,t,r){if(p(e,t)){f(e,t,r,"notDeepEqual",o.notDeepEqual)}};o.strictEqual=function E(e,t,r){if(e!==t){f(e,t,r,"===",o.strictEqual)}};o.notStrictEqual=function S(e,t,r){if(e===t){f(e,t,r,"!==",o.notStrictEqual)}};function y(e,t){if(!e||!t){return false}if(Object.prototype.toString.call(t)=="[object RegExp]"){return t.test(e)}else if(e instanceof t){return true}else if(t.call({},e)===true){return true}return false}function m(e,t,r,i){var a;if(n.isString(r)){i=r;r=null}try{t()}catch(o){a=o}i=(r&&r.name?" ("+r.name+").":".")+(i?" "+i:".");if(e&&!a){f(a,r,"Missing expected exception"+i)}if(!e&&y(a,r)){f(a,r,"Got unwanted exception"+i)}if(e&&a&&r&&!y(a,r)||!e&&a){throw a}}o.throws=function(e,t,r){m.apply(this,[true].concat(a.call(arguments)))};o.doesNotThrow=function(e,t){m.apply(this,[false].concat(a.call(arguments)))};o.ifError=function(e){if(e){throw e}}},{_shims:31,util:33}],33:[function(e,t,r){var n=e("_shims");var i=/%[sdj%]/g;r.format=function(e){if(!w(e)){var t=[];for(var r=0;r<arguments.length;r++){t.push(a(arguments[r]))}return t.join(" ")}var r=1;var n=arguments;var o=n.length;var s=String(e).replace(i,function(e){if(e==="%%")return"%";if(r>=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return e}});for(var l=n[r];r<o;l=n[++r]){if(g(l)||!k(l)){s+=" "+l}else{s+=" "+a(l)}}return s};function a(e,t){var n={seen:[],stylize:s};if(arguments.length>=3)n.depth=arguments[2];if(arguments.length>=4)n.colors=arguments[3];if(m(t)){n.showHidden=t}else if(t){r._extend(n,t)}if(E(n.showHidden))n.showHidden=false;if(E(n.depth))n.depth=2;if(E(n.colors))n.colors=false;if(E(n.customInspect))n.customInspect=true;if(n.colors)n.stylize=o;return u(n,e,n.depth)}r.inspect=a;a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};a.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"};function o(e,t){var r=a.styles[t];if(r){return"["+a.colors[r][0]+"m"+e+"["+a.colors[r][1]+"m"}else{return e}}function s(e,t){return e}function l(e){var t={};n.forEach(e,function(e,r){t[e]=true});return t}function u(e,t,i){if(e.customInspect&&t&&L(t.inspect)&&t.inspect!==r.inspect&&!(t.constructor&&t.constructor.prototype===t)){var a=t.inspect(i);if(!w(a)){a=u(e,a,i)}return a}var o=f(e,t);if(o){return o}var s=n.keys(t);var m=l(s);if(e.showHidden){s=n.getOwnPropertyNames(t)}if(s.length===0){if(L(t)){var g=t.name?": "+t.name:"";return e.stylize("[Function"+g+"]","special")}if(S(t)){return e.stylize(RegExp.prototype.toString.call(t),"regexp")}if(A(t)){return e.stylize(Date.prototype.toString.call(t),"date")}if(I(t)){return c(t)}}var v="",b=false,x=["{","}"];if(y(t)){b=true;x=["[","]"]}if(L(t)){var E=t.name?": "+t.name:"";v=" [Function"+E+"]"}if(S(t)){v=" "+RegExp.prototype.toString.call(t)}if(A(t)){v=" "+Date.prototype.toUTCString.call(t)}if(I(t)){v=" "+c(t)}if(s.length===0&&(!b||t.length==0)){return x[0]+v+x[1]}if(i<0){if(S(t)){return e.stylize(RegExp.prototype.toString.call(t),"regexp")}else{return e.stylize("[Object]","special")}}e.seen.push(t);var k;if(b){k=p(e,t,i,m,s)}else{k=s.map(function(r){return d(e,t,i,m,r,b)})}e.seen.pop();return h(k,v,x)}function f(e,t){if(E(t))return e.stylize("undefined","undefined");if(w(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(b(t))return e.stylize(""+t,"number");if(m(t))return e.stylize(""+t,"boolean");if(g(t))return e.stylize("null","null")}function c(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,r,i,a){var o=[];for(var s=0,l=t.length;s<l;++s){if(D(t,String(s))){o.push(d(e,t,r,i,String(s),true))}else{o.push("")}}n.forEach(a,function(n){if(!n.match(/^\d+$/)){o.push(d(e,t,r,i,n,true))}});return o}function d(e,t,r,i,a,o){var s,l,f;f=n.getOwnPropertyDescriptor(t,a)||{value:t[a]};if(f.get){if(f.set){l=e.stylize("[Getter/Setter]","special")}else{l=e.stylize("[Getter]","special")}}else{if(f.set){l=e.stylize("[Setter]","special")}}if(!D(i,a)){s="["+a+"]"}if(!l){if(n.indexOf(e.seen,f.value)<0){if(g(r)){l=u(e,f.value,null)}else{l=u(e,f.value,r-1)}if(l.indexOf("\n")>-1){if(o){l=l.split("\n").map(function(e){return" "+e}).join("\n").substr(2)}else{l="\n"+l.split("\n").map(function(e){return" "+e}).join("\n")}}}else{l=e.stylize("[Circular]","special")}}if(E(s)){if(o&&a.match(/^\d+$/)){return l}s=JSON.stringify(""+a);if(s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)){s=s.substr(1,s.length-2);s=e.stylize(s,"name")}else{s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'");s=e.stylize(s,"string")}}return s+": "+l}function h(e,t,r){var i=0;var a=n.reduce(e,function(e,t){i++;if(t.indexOf("\n")>=0)i++;return e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(a>60){return r[0]+(t===""?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]}return r[0]+t+" "+e.join(", ")+" "+r[1]}function y(e){return n.isArray(e)}r.isArray=y;function m(e){return typeof e==="boolean"}r.isBoolean=m;function g(e){return e===null}r.isNull=g;function v(e){return e==null}r.isNullOrUndefined=v;function b(e){return typeof e==="number"}r.isNumber=b;function w(e){return typeof e==="string"}r.isString=w;function x(e){return typeof e==="symbol"}r.isSymbol=x;function E(e){return e===void 0}r.isUndefined=E;function S(e){return k(e)&&C(e)==="[object RegExp]"}r.isRegExp=S;function k(e){return typeof e==="object"&&e}r.isObject=k;function A(e){return k(e)&&C(e)==="[object Date]"}r.isDate=A;function I(e){return k(e)&&C(e)==="[object Error]"}r.isError=I;function L(e){return typeof e==="function"}r.isFunction=L;function O(e){return e===null||typeof e==="boolean"||typeof e==="number"||typeof e==="string"||typeof e==="symbol"||typeof e==="undefined"}r.isPrimitive=O;function N(e){return e&&typeof e==="object"&&typeof e.copy==="function"&&typeof e.fill==="function"&&typeof e.binarySlice==="function"}r.isBuffer=N;function C(e){return Object.prototype.toString.call(e)}function j(e){return e<10?"0"+e.toString(10):e.toString(10)}var F=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function P(){var e=new Date;var t=[j(e.getHours()),j(e.getMinutes()),j(e.getSeconds())].join(":");return[e.getDate(),F[e.getMonth()],t].join(" ")}r.log=function(){console.log("%s - %s",P(),r.format.apply(r,arguments))};r.inherits=function(e,t){e.super_=t;e.prototype=n.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})};r._extend=function(e,t){if(!t||!k(t))return e;var r=n.keys(t);var i=r.length;while(i--){e[r[i]]=t[r[i]]}return e};function D(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},{_shims:31}],34:[function(e,t,r){r.readIEEE754=function(e,t,r,n,i){var a,o,s=i*8-n-1,l=(1<<s)-1,u=l>>1,f=-7,c=r?0:i-1,p=r?1:-1,d=e[t+c];c+=p;a=d&(1<<-f)-1;d>>=-f;f+=s;for(;f>0;a=a*256+e[t+c],c+=p,f-=8);o=a&(1<<-f)-1;a>>=-f;f+=n;for(;f>0;o=o*256+e[t+c],c+=p,f-=8);if(a===0){a=1-u}else if(a===l){return o?NaN:(d?-1:1)*Infinity}else{o=o+Math.pow(2,n);a=a-u}return(d?-1:1)*o*Math.pow(2,a-n)};r.writeIEEE754=function(e,t,r,n,i,a){var o,s,l,u=a*8-i-1,f=(1<<u)-1,c=f>>1,p=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?a-1:0,h=n?-1:1,y=t<0||t===0&&1/t<0?1:0;t=Math.abs(t);if(isNaN(t)||t===Infinity){s=isNaN(t)?1:0;o=f}else{o=Math.floor(Math.log(t)/Math.LN2);if(t*(l=Math.pow(2,-o))<1){o--;l*=2}if(o+c>=1){t+=p/l}else{t+=p*Math.pow(2,1-c)}if(t*l>=2){o++;l/=2}if(o+c>=f){s=0;o=f}else if(o+c>=1){s=(t*l-1)*Math.pow(2,i);o=o+c}else{s=t*Math.pow(2,c-1)*Math.pow(2,i);o=0}}for(;i>=8;e[r+d]=s&255,d+=h,s/=256,i-=8);o=o<<i|s;u+=i;for(;u>0;e[r+d]=o&255,d+=h,o/=256,u-=8);e[r+d-h]|=y*128}},{}],35:[function(e,t,r){var n;r.Buffer=a;r.SlowBuffer=a;a.poolSize=8192;r.INSPECT_MAX_BYTES=50;function i(e){if(e.trim)return e.trim();return e.replace(/^\s+|\s+$/g,"")}function a(t,r,o){if(!n)n=e("assert");if(!(this instanceof a)){return new a(t,r,o)}this.parent=this;this.offset=0;if(r=="base64"&&typeof t=="string"){t=i(t);while(t.length%4!=0){t=t+"="}}var l;if(typeof o==="number"){this.length=s(r);for(var f=0;f<this.length;f++){this[f]=t.get(f+o)}}else{switch(l=typeof t){case"number":this.length=s(t);break;case"string":this.length=a.byteLength(t,r);break;case"object":this.length=s(t.length);break;default:throw new Error("First argument needs to be a number, "+"array or string.")}if(u(t)){for(var f=0;f<this.length;f++){if(t instanceof a){this[f]=t.readUInt8(f)}else{this[f]=t[f]}}}else if(l=="string"){this.length=this.write(t,0,r)}else if(l==="number"){for(var f=0;f<this.length;f++){this[f]=0}}}}a.prototype.get=function j(e){if(e<0||e>=this.length)throw new Error("oob");return this[e]};a.prototype.set=function F(e,t){if(e<0||e>=this.length)throw new Error("oob");return this[e]=t};a.byteLength=function(e,t){switch(t||"utf8"){case"hex":return e.length/2;case"utf8":case"utf-8":return c(e).length;case"ascii":case"binary":return e.length;case"base64":return d(e).length;default:throw new Error("Unknown encoding")}};a.prototype.utf8Write=function(e,t,r){var n,i;return a._charsWritten=h(c(e),this,t,r)};a.prototype.asciiWrite=function(e,t,r){var n,i;return a._charsWritten=h(p(e),this,t,r)};a.prototype.binaryWrite=a.prototype.asciiWrite;a.prototype.base64Write=function(e,t,r){var n,i;return a._charsWritten=h(d(e),this,t,r)};a.prototype.base64Slice=function(t,r){var n=Array.prototype.slice.apply(this,arguments);return e("base64-js").fromByteArray(n)};a.prototype.utf8Slice=function(){var e=Array.prototype.slice.apply(this,arguments);var t="";var r="";var n=0;while(n<e.length){if(e[n]<=127){t+=y(r)+String.fromCharCode(e[n]);r=""}else r+="%"+e[n].toString(16);n++}return t+y(r)};a.prototype.asciiSlice=function(){var e=Array.prototype.slice.apply(this,arguments);var t="";for(var r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t};a.prototype.binarySlice=a.prototype.asciiSlice;a.prototype.inspect=function(){var e=[],t=this.length;for(var n=0;n<t;n++){e[n]=f(this[n]);if(n==r.INSPECT_MAX_BYTES){e[n+1]="...";break}}return"<Buffer "+e.join(" ")+">"};a.prototype.hexSlice=function(e,t){var r=this.length;if(!e||e<0)e=0;if(!t||t<0||t>r)t=r;var n="";for(var i=e;i<t;i++){n+=f(this[i])}return n};a.prototype.toString=function(e,t,r){e=String(e||"utf8").toLowerCase();t=+t||0;if(typeof r=="undefined")r=this.length;if(+r==t){return""}switch(e){case"hex":return this.hexSlice(t,r);case"utf8":case"utf-8":return this.utf8Slice(t,r);case"ascii":return this.asciiSlice(t,r);case"binary":return this.binarySlice(t,r);case"base64":return this.base64Slice(t,r);case"ucs2":case"ucs-2":return this.ucs2Slice(t,r);default:throw new Error("Unknown encoding")}};a.prototype.hexWrite=function(e,t,r){t=+t||0;var n=this.length-t;if(!r){r=n}else{r=+r;if(r>n){r=n}}var i=e.length;if(i%2){throw new Error("Invalid hex string")}if(r>i/2){r=i/2}for(var o=0;o<r;o++){var s=parseInt(e.substr(o*2,2),16);if(isNaN(s))throw new Error("Invalid hex string");this[t+o]=s}a._charsWritten=o*2;return o};a.prototype.write=function(e,t,r,n){if(isFinite(t)){if(!isFinite(r)){n=r;r=undefined}}else{var i=n;n=t;t=r;r=i}t=+t||0;var a=this.length-t;if(!r){r=a}else{r=+r;if(r>a){r=a}}n=String(n||"utf8").toLowerCase();switch(n){case"hex":return this.hexWrite(e,t,r);case"utf8":case"utf-8":return this.utf8Write(e,t,r);case"ascii":return this.asciiWrite(e,t,r);case"binary":return this.binaryWrite(e,t,r);case"base64":return this.base64Write(e,t,r);case"ucs2":case"ucs-2":return this.ucs2Write(e,t,r);default:throw new Error("Unknown encoding")}};function o(e,t,r){if(typeof e!=="number")return r;e=~~e;if(e>=t)return t;if(e>=0)return e;e+=t;if(e>=0)return e;return 0}a.prototype.slice=function(e,t){var r=this.length;e=o(e,r,0);t=o(t,r,r);return new a(this,t-e,+e)};a.prototype.copy=function(e,t,r,i){var a=this;r||(r=0);if(i===undefined||isNaN(i)){i=this.length}t||(t=0);if(i<r)throw new Error("sourceEnd < sourceStart");if(i===r)return 0;if(e.length==0||a.length==0)return 0;if(t<0||t>=e.length){throw new Error("targetStart out of bounds")}if(r<0||r>=a.length){throw new Error("sourceStart out of bounds")}if(i<0||i>a.length){throw new Error("sourceEnd out of bounds")}if(i>this.length){i=this.length}if(e.length-t<i-r){i=e.length-t+r}var o=[];for(var s=r;s<i;s++){n.ok(typeof this[s]!=="undefined","copying undefined buffer bytes!");o.push(this[s])}for(var s=t;s<t+o.length;s++){e[s]=o[s-t]}};a.prototype.fill=function P(e,t,r){e||(e=0);t||(t=0);r||(r=this.length);if(typeof e==="string"){e=e.charCodeAt(0)}if(!(typeof e==="number")||isNaN(e)){throw new Error("value is not a number")}if(r<t)throw new Error("end < start");if(r===t)return 0;if(this.length==0)return 0;if(t<0||t>=this.length){throw new Error("start out of bounds")}if(r<0||r>this.length){throw new Error("end out of bounds")}for(var n=t;n<r;n++){this[n]=e}};a.isBuffer=function D(e){return e instanceof a||e instanceof a};a.concat=function(e,t){if(!l(e)){throw new Error("Usage: Buffer.concat(list, [totalLength])\n list should be an Array.")}if(e.length===0){return new a(0)}else if(e.length===1){return e[0]}if(typeof t!=="number"){t=0;for(var r=0;r<e.length;r++){var n=e[r];t+=n.length}}var i=new a(t);var o=0;for(var r=0;r<e.length;r++){var n=e[r];n.copy(i,o);o+=n.length}return i};a.isEncoding=function(e){switch((e+"").toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function s(e){e=~~Math.ceil(+e);return e<0?0:e}function l(e){return(Array.isArray||function(e){return{}.toString.apply(e)=="[object Array]"})(e)}function u(e){return l(e)||a.isBuffer(e)||e&&typeof e==="object"&&typeof e.length==="number"}function f(e){if(e<16)return"0"+e.toString(16);return e.toString(16)}function c(e){var t=[];for(var r=0;r<e.length;r++)if(e.charCodeAt(r)<=127)t.push(e.charCodeAt(r));else{var n=encodeURIComponent(e.charAt(r)).substr(1).split("%");for(var i=0;i<n.length;i++)t.push(parseInt(n[i],16))}return t}function p(e){var t=[];for(var r=0;r<e.length;r++)t.push(e.charCodeAt(r)&255);return t}function d(t){return e("base64-js").toByteArray(t)}function h(e,t,r,n){var i,a=0;while(a<n){if(a+r>=t.length||a>=e.length)break;t[a+r]=e[a];a++}return a}function y(e){try{return decodeURIComponent(e)}catch(t){return String.fromCharCode(65533)}}a.prototype.readUInt8=function(e,t){var r=this;if(!t){n.ok(e!==undefined&&e!==null,"missing offset");n.ok(e<r.length,"Trying to read beyond buffer length")}if(e>=r.length)return;return r[e]};function m(e,t,r,i){var a=0;if(!i){n.ok(typeof r==="boolean","missing or invalid endian");n.ok(t!==undefined&&t!==null,"missing offset");n.ok(t+1<e.length,"Trying to read beyond buffer length")}if(t>=e.length)return 0;if(r){a=e[t]<<8;if(t+1<e.length){a|=e[t+1]}}else{a=e[t];if(t+1<e.length){a|=e[t+1]<<8}}return a}a.prototype.readUInt16LE=function(e,t){return m(this,e,false,t)};a.prototype.readUInt16BE=function(e,t){return m(this,e,true,t)};function g(e,t,r,i){var a=0;if(!i){n.ok(typeof r==="boolean","missing or invalid endian");n.ok(t!==undefined&&t!==null,"missing offset");n.ok(t+3<e.length,"Trying to read beyond buffer length")}if(t>=e.length)return 0;if(r){if(t+1<e.length)a=e[t+1]<<16;if(t+2<e.length)a|=e[t+2]<<8;if(t+3<e.length)a|=e[t+3];a=a+(e[t]<<24>>>0)}else{if(t+2<e.length)a=e[t+2]<<16;if(t+1<e.length)a|=e[t+1]<<8;a|=e[t];if(t+3<e.length)a=a+(e[t+3]<<24>>>0)}return a}a.prototype.readUInt32LE=function(e,t){return g(this,e,false,t)};a.prototype.readUInt32BE=function(e,t){return g(this,e,true,t)};a.prototype.readInt8=function(e,t){var r=this;var i;if(!t){n.ok(e!==undefined&&e!==null,"missing offset");n.ok(e<r.length,"Trying to read beyond buffer length")}if(e>=r.length)return;i=r[e]&128;if(!i){return r[e]}return(255-r[e]+1)*-1};function v(e,t,r,i){var a,o;if(!i){n.ok(typeof r==="boolean","missing or invalid endian");n.ok(t!==undefined&&t!==null,"missing offset");n.ok(t+1<e.length,"Trying to read beyond buffer length")}o=m(e,t,r,i);a=o&32768;if(!a){return o}return(65535-o+1)*-1}a.prototype.readInt16LE=function(e,t){return v(this,e,false,t)};a.prototype.readInt16BE=function(e,t){return v(this,e,true,t)};function b(e,t,r,i){var a,o;if(!i){n.ok(typeof r==="boolean","missing or invalid endian");n.ok(t!==undefined&&t!==null,"missing offset");n.ok(t+3<e.length,"Trying to read beyond buffer length")}o=g(e,t,r,i);a=o&2147483648;if(!a){return o}return(4294967295-o+1)*-1}a.prototype.readInt32LE=function(e,t){return b(this,e,false,t)};a.prototype.readInt32BE=function(e,t){return b(this,e,true,t)};function w(t,r,i,a){if(!a){n.ok(typeof i==="boolean","missing or invalid endian");n.ok(r+3<t.length,"Trying to read beyond buffer length")}return e("./buffer_ieee754").readIEEE754(t,r,i,23,4)}a.prototype.readFloatLE=function(e,t){return w(this,e,false,t)};a.prototype.readFloatBE=function(e,t){return w(this,e,true,t)};function x(t,r,i,a){if(!a){n.ok(typeof i==="boolean","missing or invalid endian");n.ok(r+7<t.length,"Trying to read beyond buffer length")}return e("./buffer_ieee754").readIEEE754(t,r,i,52,8)}a.prototype.readDoubleLE=function(e,t){return x(this,e,false,t)};a.prototype.readDoubleBE=function(e,t){return x(this,e,true,t)};function E(e,t){n.ok(typeof e=="number","cannot write a non-number as a number");n.ok(e>=0,"specified a negative value for writing an unsigned value");n.ok(e<=t,"value is larger than maximum value for type");n.ok(Math.floor(e)===e,"value has a fractional component")}a.prototype.writeUInt8=function(e,t,r){var i=this;if(!r){n.ok(e!==undefined&&e!==null,"missing value");n.ok(t!==undefined&&t!==null,"missing offset");n.ok(t<i.length,"trying to write beyond buffer length");E(e,255)}if(t<i.length){i[t]=e}};function S(e,t,r,i,a){if(!a){n.ok(t!==undefined&&t!==null,"missing value");n.ok(typeof i==="boolean","missing or invalid endian");n.ok(r!==undefined&&r!==null,"missing offset");n.ok(r+1<e.length,"trying to write beyond buffer length");E(t,65535)}for(var o=0;o<Math.min(e.length-r,2);o++){e[r+o]=(t&255<<8*(i?1-o:o))>>>(i?1-o:o)*8}}a.prototype.writeUInt16LE=function(e,t,r){S(this,e,t,false,r)};a.prototype.writeUInt16BE=function(e,t,r){S(this,e,t,true,r)};function k(e,t,r,i,a){if(!a){n.ok(t!==undefined&&t!==null,"missing value");n.ok(typeof i==="boolean","missing or invalid endian");n.ok(r!==undefined&&r!==null,"missing offset");n.ok(r+3<e.length,"trying to write beyond buffer length");E(t,4294967295)}for(var o=0;o<Math.min(e.length-r,4);o++){e[r+o]=t>>>(i?3-o:o)*8&255}}a.prototype.writeUInt32LE=function(e,t,r){k(this,e,t,false,r)};a.prototype.writeUInt32BE=function(e,t,r){k(this,e,t,true,r)};function A(e,t,r){n.ok(typeof e=="number","cannot write a non-number as a number");n.ok(e<=t,"value larger than maximum allowed value");n.ok(e>=r,"value smaller than minimum allowed value");n.ok(Math.floor(e)===e,"value has a fractional component")}function I(e,t,r){n.ok(typeof e=="number","cannot write a non-number as a number");n.ok(e<=t,"value larger than maximum allowed value");n.ok(e>=r,"value smaller than minimum allowed value")}a.prototype.writeInt8=function(e,t,r){var i=this;if(!r){n.ok(e!==undefined&&e!==null,"missing value");n.ok(t!==undefined&&t!==null,"missing offset");n.ok(t<i.length,"Trying to write beyond buffer length");A(e,127,-128)}if(e>=0){i.writeUInt8(e,t,r)}else{i.writeUInt8(255+e+1,t,r)}};function L(e,t,r,i,a){if(!a){n.ok(t!==undefined&&t!==null,"missing value");n.ok(typeof i==="boolean","missing or invalid endian");n.ok(r!==undefined&&r!==null,"missing offset");n.ok(r+1<e.length,"Trying to write beyond buffer length");A(t,32767,-32768)}if(t>=0){S(e,t,r,i,a)}else{S(e,65535+t+1,r,i,a)}}a.prototype.writeInt16LE=function(e,t,r){L(this,e,t,false,r)};a.prototype.writeInt16BE=function(e,t,r){L(this,e,t,true,r)};function O(e,t,r,i,a){if(!a){n.ok(t!==undefined&&t!==null,"missing value");n.ok(typeof i==="boolean","missing or invalid endian");n.ok(r!==undefined&&r!==null,"missing offset");n.ok(r+3<e.length,"Trying to write beyond buffer length");A(t,2147483647,-2147483648)}if(t>=0){k(e,t,r,i,a)}else{k(e,4294967295+t+1,r,i,a)}}a.prototype.writeInt32LE=function(e,t,r){O(this,e,t,false,r)};a.prototype.writeInt32BE=function(e,t,r){O(this,e,t,true,r)};function N(t,r,i,a,o){if(!o){n.ok(r!==undefined&&r!==null,"missing value");n.ok(typeof a==="boolean","missing or invalid endian");n.ok(i!==undefined&&i!==null,"missing offset");n.ok(i+3<t.length,"Trying to write beyond buffer length");I(r,3.4028234663852886e38,-3.4028234663852886e38)}e("./buffer_ieee754").writeIEEE754(t,r,i,a,23,4)}a.prototype.writeFloatLE=function(e,t,r){N(this,e,t,false,r)};a.prototype.writeFloatBE=function(e,t,r){N(this,e,t,true,r)};function C(t,r,i,a,o){if(!o){n.ok(r!==undefined&&r!==null,"missing value");n.ok(typeof a==="boolean","missing or invalid endian");n.ok(i!==undefined&&i!==null,"missing offset");n.ok(i+7<t.length,"Trying to write beyond buffer length");I(r,1.7976931348623157e308,-1.7976931348623157e308)}e("./buffer_ieee754").writeIEEE754(t,r,i,a,52,8)}a.prototype.writeDoubleLE=function(e,t,r){C(this,e,t,false,r)};a.prototype.writeDoubleBE=function(e,t,r){C(this,e,t,true,r)}},{"./buffer_ieee754":34,assert:32,"base64-js":36}],36:[function(e,t,r){(function(e){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function n(e){var t,n,i,a,o,s;if(e.length%4>0){throw"Invalid string. Length must be a multiple of 4"}o=e.indexOf("=");o=o>0?e.length-o:0;s=[];i=o>0?e.length-4:e.length;for(t=0,n=0;t<i;t+=4,n+=3){a=r.indexOf(e[t])<<18|r.indexOf(e[t+1])<<12|r.indexOf(e[t+2])<<6|r.indexOf(e[t+3]);s.push((a&16711680)>>16);s.push((a&65280)>>8);s.push(a&255)}if(o===2){a=r.indexOf(e[t])<<2|r.indexOf(e[t+1])>>4;s.push(a&255)}else if(o===1){a=r.indexOf(e[t])<<10|r.indexOf(e[t+1])<<4|r.indexOf(e[t+2])>>2;s.push(a>>8&255);s.push(a&255)}return s}function i(e){var t,n=e.length%3,i="",a,o;function s(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[e&63]}for(t=0,o=e.length-n;t<o;t+=3){a=(e[t]<<16)+(e[t+1]<<8)+e[t+2];i+=s(a)}switch(n){case 1:a=e[e.length-1];i+=r[a>>2];i+=r[a<<4&63];i+="==";break;case 2:a=(e[e.length-2]<<8)+e[e.length-1];i+=r[a>>10];i+=r[a>>4&63];i+=r[a<<2&63];i+="=";break}return i}t.exports.toByteArray=n;t.exports.fromByteArray=i})()},{}],37:[function(e,t,r){(function(e,t){"use strict";if(typeof define==="function"&&define.amd){define(["exports"],t)}else if(typeof r!=="undefined"){t(r)}else{t(e.esprima={})}})(this,function(e){"use strict";var t,r,n,i,a,o,s,l,u,f,c,p,d,h,y;t={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8};r={};r[t.BooleanLiteral]="Boolean";r[t.EOF]="<end>";r[t.Identifier]="Identifier";r[t.Keyword]="Keyword";r[t.NullLiteral]="Null";r[t.NumericLiteral]="Numeric";r[t.Punctuator]="Punctuator";r[t.StringLiteral]="String";n={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"};
i={Data:1,Get:2,Set:4};a={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"};o={NonAsciiIdentifierStart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),NonAsciiIdentifierPart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]")};function m(e,t){if(!e){throw new Error("ASSERT: "+t)}}function g(e,t){return s.slice(e,t)}if(typeof"esprima"[0]==="undefined"){g=function xr(e,t){return s.slice(e,t).join("")}}function v(e){return"0123456789".indexOf(e)>=0}function b(e){return"0123456789abcdefABCDEF".indexOf(e)>=0}function w(e){return"01234567".indexOf(e)>=0}function x(e){return e===" "||e===" "||e===""||e==="\f"||e===" "||e.charCodeAt(0)>=5760&&" ".indexOf(e)>=0}function E(e){return e==="\n"||e==="\r"||e==="\u2028"||e==="\u2029"}function S(e){return e==="$"||e==="_"||e==="\\"||e>="a"&&e<="z"||e>="A"&&e<="Z"||e.charCodeAt(0)>=128&&o.NonAsciiIdentifierStart.test(e)}function k(e){return e==="$"||e==="_"||e==="\\"||e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e.charCodeAt(0)>=128&&o.NonAsciiIdentifierPart.test(e)}function A(e){switch(e){case"class":case"enum":case"export":case"extends":case"import":case"super":return true}return false}function I(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return true}return false}function L(e){return e==="eval"||e==="arguments"}function O(e){var t=false;switch(e.length){case 2:t=e==="if"||e==="in"||e==="do";break;case 3:t=e==="var"||e==="for"||e==="new"||e==="try";break;case 4:t=e==="this"||e==="else"||e==="case"||e==="void"||e==="with";break;case 5:t=e==="while"||e==="break"||e==="catch"||e==="throw";break;case 6:t=e==="return"||e==="typeof"||e==="delete"||e==="switch";break;case 7:t=e==="default"||e==="finally";break;case 8:t=e==="function"||e==="continue"||e==="debugger";break;case 10:t=e==="instanceof";break}if(t){return true}switch(e){case"const":return true;case"yield":case"let":return true}if(l&&I(e)){return true}return A(e)}function N(){var e,t,r;t=false;r=false;while(u<p){e=s[u];if(r){e=s[u++];if(E(e)){r=false;if(e==="\r"&&s[u]==="\n"){++u}++f;c=u}}else if(t){if(E(e)){if(e==="\r"&&s[u+1]==="\n"){++u}++f;++u;c=u;if(u>=p){q({},a.UnexpectedToken,"ILLEGAL")}}else{e=s[u++];if(u>=p){q({},a.UnexpectedToken,"ILLEGAL")}if(e==="*"){e=s[u];if(e==="/"){++u;t=false}}}}else if(e==="/"){e=s[u+1];if(e==="/"){u+=2;r=true}else if(e==="*"){u+=2;t=true;if(u>=p){q({},a.UnexpectedToken,"ILLEGAL")}}else{break}}else if(x(e)){++u}else if(E(e)){++u;if(e==="\r"&&s[u]==="\n"){++u}++f;c=u}else{break}}}function C(e){var t,r,n,i=0;r=e==="u"?4:2;for(t=0;t<r;++t){if(u<p&&b(s[u])){n=s[u++];i=i*16+"0123456789abcdef".indexOf(n.toLowerCase())}else{return""}}return String.fromCharCode(i)}function j(){var e,r,n,i;e=s[u];if(!S(e)){return}r=u;if(e==="\\"){++u;if(s[u]!=="u"){return}++u;i=u;e=C("u");if(e){if(e==="\\"||!S(e)){return}n=e}else{u=i;n="u"}}else{n=s[u++]}while(u<p){e=s[u];if(!k(e)){break}if(e==="\\"){++u;if(s[u]!=="u"){return}++u;i=u;e=C("u");if(e){if(e==="\\"||!k(e)){return}n+=e}else{u=i;n+="u"}}else{n+=s[u++]}}if(n.length===1){return{type:t.Identifier,value:n,lineNumber:f,lineStart:c,range:[r,u]}}if(O(n)){return{type:t.Keyword,value:n,lineNumber:f,lineStart:c,range:[r,u]}}if(n==="null"){return{type:t.NullLiteral,value:n,lineNumber:f,lineStart:c,range:[r,u]}}if(n==="true"||n==="false"){return{type:t.BooleanLiteral,value:n,lineNumber:f,lineStart:c,range:[r,u]}}return{type:t.Identifier,value:n,lineNumber:f,lineStart:c,range:[r,u]}}function F(){var e=u,r=s[u],n,i,a;if(r===";"||r==="{"||r==="}"){++u;return{type:t.Punctuator,value:r,lineNumber:f,lineStart:c,range:[e,u]}}if(r===","||r==="("||r===")"){++u;return{type:t.Punctuator,value:r,lineNumber:f,lineStart:c,range:[e,u]}}n=s[u+1];if(r==="."&&!v(n)){return{type:t.Punctuator,value:s[u++],lineNumber:f,lineStart:c,range:[e,u]}}i=s[u+2];a=s[u+3];if(r===">"&&n===">"&&i===">"){if(a==="="){u+=4;return{type:t.Punctuator,value:">>>=",lineNumber:f,lineStart:c,range:[e,u]}}}if(r==="="&&n==="="&&i==="="){u+=3;return{type:t.Punctuator,value:"===",lineNumber:f,lineStart:c,range:[e,u]}}if(r==="!"&&n==="="&&i==="="){u+=3;return{type:t.Punctuator,value:"!==",lineNumber:f,lineStart:c,range:[e,u]}}if(r===">"&&n===">"&&i===">"){u+=3;return{type:t.Punctuator,value:">>>",lineNumber:f,lineStart:c,range:[e,u]}}if(r==="<"&&n==="<"&&i==="="){u+=3;return{type:t.Punctuator,value:"<<=",lineNumber:f,lineStart:c,range:[e,u]}}if(r===">"&&n===">"&&i==="="){u+=3;return{type:t.Punctuator,value:">>=",lineNumber:f,lineStart:c,range:[e,u]}}if(n==="="){if("<>=!+-*%&|^/".indexOf(r)>=0){u+=2;return{type:t.Punctuator,value:r+n,lineNumber:f,lineStart:c,range:[e,u]}}}if(r===n&&"+-<>&|".indexOf(r)>=0){if("+-<>&|".indexOf(n)>=0){u+=2;return{type:t.Punctuator,value:r+n,lineNumber:f,lineStart:c,range:[e,u]}}}if("[]<>+-*%&|^!~?:=/".indexOf(r)>=0){return{type:t.Punctuator,value:s[u++],lineNumber:f,lineStart:c,range:[e,u]}}}function P(){var e,r,n;n=s[u];m(v(n)||n===".","Numeric literal must start with a decimal digit or a decimal point");r=u;e="";if(n!=="."){e=s[u++];n=s[u];if(e==="0"){if(n==="x"||n==="X"){e+=s[u++];while(u<p){n=s[u];if(!b(n)){break}e+=s[u++]}if(e.length<=2){q({},a.UnexpectedToken,"ILLEGAL")}if(u<p){n=s[u];if(S(n)){q({},a.UnexpectedToken,"ILLEGAL")}}return{type:t.NumericLiteral,value:parseInt(e,16),lineNumber:f,lineStart:c,range:[r,u]}}else if(w(n)){e+=s[u++];while(u<p){n=s[u];if(!w(n)){break}e+=s[u++]}if(u<p){n=s[u];if(S(n)||v(n)){q({},a.UnexpectedToken,"ILLEGAL")}}return{type:t.NumericLiteral,value:parseInt(e,8),octal:true,lineNumber:f,lineStart:c,range:[r,u]}}if(v(n)){q({},a.UnexpectedToken,"ILLEGAL")}}while(u<p){n=s[u];if(!v(n)){break}e+=s[u++]}}if(n==="."){e+=s[u++];while(u<p){n=s[u];if(!v(n)){break}e+=s[u++]}}if(n==="e"||n==="E"){e+=s[u++];n=s[u];if(n==="+"||n==="-"){e+=s[u++]}n=s[u];if(v(n)){e+=s[u++];while(u<p){n=s[u];if(!v(n)){break}e+=s[u++]}}else{n="character "+n;if(u>=p){n="<end>"}q({},a.UnexpectedToken,"ILLEGAL")}}if(u<p){n=s[u];if(S(n)){q({},a.UnexpectedToken,"ILLEGAL")}}return{type:t.NumericLiteral,value:parseFloat(e),lineNumber:f,lineStart:c,range:[r,u]}}function D(){var e="",r,n,i,o,l,d,h=false;r=s[u];m(r==="'"||r==='"',"String literal must starts with a quote");n=u;++u;while(u<p){i=s[u++];if(i===r){r="";break}else if(i==="\\"){i=s[u++];if(!E(i)){switch(i){case"n":e+="\n";break;case"r":e+="\r";break;case"t":e+=" ";break;case"u":case"x":d=u;l=C(i);if(l){e+=l}else{u=d;e+=i}break;case"b":e+="\b";break;case"f":e+="\f";break;case"v":e+="";break;default:if(w(i)){o="01234567".indexOf(i);if(o!==0){h=true}if(u<p&&w(s[u])){h=true;o=o*8+"01234567".indexOf(s[u++]);if("0123".indexOf(i)>=0&&u<p&&w(s[u])){o=o*8+"01234567".indexOf(s[u++])}}e+=String.fromCharCode(o)}else{e+=i}break}}else{++f;if(i==="\r"&&s[u]==="\n"){++u}}}else if(E(i)){break}else{e+=i}}if(r!==""){q({},a.UnexpectedToken,"ILLEGAL")}return{type:t.StringLiteral,value:e,octal:h,lineNumber:f,lineStart:c,range:[n,u]}}function U(){var e,t,r,n,i,o,l=false,f,c=false;d=null;N();r=u;t=s[u];m(t==="/","Regular expression literal must start with a slash");e=s[u++];while(u<p){t=s[u++];e+=t;if(t==="\\"){t=s[u++];if(E(t)){q({},a.UnterminatedRegExp)}e+=t}else if(l){if(t==="]"){l=false}}else{if(t==="/"){c=true;break}else if(t==="["){l=true}else if(E(t)){q({},a.UnterminatedRegExp)}}}if(!c){q({},a.UnterminatedRegExp)}n=e.substr(1,e.length-2);i="";while(u<p){t=s[u];if(!k(t)){break}++u;if(t==="\\"&&u<p){t=s[u];if(t==="u"){++u;f=u;t=C("u");if(t){i+=t;e+="\\u";for(;f<u;++f){e+=s[f]}}else{u=f;i+="u";e+="\\u"}}else{e+="\\"}}else{i+=t;e+=t}}try{o=new RegExp(n,i)}catch(h){q({},a.InvalidRegExp)}return{literal:e,value:o,range:[r,u]}}function T(e){return e.type===t.Identifier||e.type===t.Keyword||e.type===t.BooleanLiteral||e.type===t.NullLiteral}function B(){var e,r;N();if(u>=p){return{type:t.EOF,lineNumber:f,lineStart:c,range:[u,u]}}r=F();if(typeof r!=="undefined"){return r}e=s[u];if(e==="'"||e==='"'){return D()}if(e==="."||v(e)){return P()}r=j();if(typeof r!=="undefined"){return r}q({},a.UnexpectedToken,"ILLEGAL")}function R(){var e;if(d){u=d.range[1];f=d.lineNumber;c=d.lineStart;e=d;d=null;return e}d=null;return B()}function _(){var e,t,r;if(d!==null){return d}e=u;t=f;r=c;d=B();u=e;f=t;c=r;return d}function M(){var e,t,r,n;e=u;t=f;r=c;N();n=f!==t;u=e;f=t;c=r;return n}function q(e,t){var r,n=Array.prototype.slice.call(arguments,2),i=t.replace(/%(\d)/g,function(e,t){return n[t]||""});if(typeof e.lineNumber==="number"){r=new Error("Line "+e.lineNumber+": "+i);r.index=e.range[0];r.lineNumber=e.lineNumber;r.column=e.range[0]-c+1}else{r=new Error("Line "+f+": "+i);r.index=u;r.lineNumber=f;r.column=u-c+1}throw r}function W(){try{q.apply(null,arguments)}catch(e){if(y.errors){y.errors.push(e)}else{throw e}}}function G(e){if(e.type===t.EOF){q(e,a.UnexpectedEOS)}if(e.type===t.NumericLiteral){q(e,a.UnexpectedNumber)}if(e.type===t.StringLiteral){q(e,a.UnexpectedString)}if(e.type===t.Identifier){q(e,a.UnexpectedIdentifier)}if(e.type===t.Keyword){if(A(e.value)){q(e,a.UnexpectedReserved)}else if(l&&I(e.value)){W(e,a.StrictReservedWord);return}q(e,a.UnexpectedToken,e.value)}q(e,a.UnexpectedToken,e.value)}function H(e){var r=R();if(r.type!==t.Punctuator||r.value!==e){G(r)}}function z(e){var r=R();if(r.type!==t.Keyword||r.value!==e){G(r)}}function V(e){var r=_();return r.type===t.Punctuator&&r.value===e}function Y(e){var r=_();return r.type===t.Keyword&&r.value===e}function K(){var e=_(),r=e.value;if(e.type!==t.Punctuator){return false}return r==="="||r==="*="||r==="/="||r==="%="||r==="+="||r==="-="||r==="<<="||r===">>="||r===">>>="||r==="&="||r==="^="||r==="|="}function $(){var e,r;if(s[u]===";"){R();return}r=f;N();if(f!==r){return}if(V(";")){R();return}e=_();if(e.type!==t.EOF&&!V("}")){G(e)}}function J(e){return e.type===n.Identifier||e.type===n.MemberExpression}function X(){var e=[];H("[");while(!V("]")){if(V(",")){R();e.push(null)}else{e.push(kt());if(!V("]")){H(",")}}}H("]");return{type:n.ArrayExpression,elements:e}}function Z(e,t){var r,i;r=l;i=Xt();if(t&&l&&L(e[0].name)){W(t,a.StrictParamName)}l=r;return{type:n.FunctionExpression,id:null,params:e,defaults:[],body:i,rest:null,generator:false,expression:false}}function Q(){var e=R();if(e.type===t.StringLiteral||e.type===t.NumericLiteral){if(l&&e.octal){W(e,a.StrictOctalLiteral)}return ur(e)}return{type:n.Identifier,name:e.value}}function et(){var e,r,i,o;e=_();if(e.type===t.Identifier){i=Q();if(e.value==="get"&&!V(":")){r=Q();H("(");H(")");return{type:n.Property,key:r,value:Z([]),kind:"get"}}else if(e.value==="set"&&!V(":")){r=Q();H("(");e=_();if(e.type!==t.Identifier){H(")");W(e,a.UnexpectedToken,e.value);return{type:n.Property,key:r,value:Z([]),kind:"set"}}else{o=[Ot()];H(")");return{type:n.Property,key:r,value:Z(o,e),kind:"set"}}}else{H(":");return{type:n.Property,key:i,value:kt(),kind:"init"}}}else if(e.type===t.EOF||e.type===t.Punctuator){G(e)}else{r=Q();H(":");return{type:n.Property,key:r,value:kt(),kind:"init"}}}function tt(){var e=[],t,r,o,s={},u=String;H("{");while(!V("}")){t=et();if(t.key.type===n.Identifier){r=t.key.name}else{r=u(t.key.value)}o=t.kind==="init"?i.Data:t.kind==="get"?i.Get:i.Set;if(Object.prototype.hasOwnProperty.call(s,r)){if(s[r]===i.Data){if(l&&o===i.Data){W({},a.StrictDuplicateProperty)}else if(o!==i.Data){W({},a.AccessorDataProperty)}}else{if(o===i.Data){W({},a.AccessorDataProperty)}else if(s[r]&o){W({},a.AccessorGetSet)}}s[r]|=o}else{s[r]=o}e.push(t);if(!V("}")){H(",")}}H("}");return{type:n.ObjectExpression,properties:e}}function rt(){var e;H("(");e=At();H(")");return e}function nt(){var e=_(),r=e.type;if(r===t.Identifier){return{type:n.Identifier,name:R().value}}if(r===t.StringLiteral||r===t.NumericLiteral){if(l&&e.octal){W(e,a.StrictOctalLiteral)}return ur(R())}if(r===t.Keyword){if(Y("this")){R();return{type:n.ThisExpression}}if(Y("function")){return Qt()}}if(r===t.BooleanLiteral){R();e.value=e.value==="true";return ur(e)}if(r===t.NullLiteral){R();e.value=null;return ur(e)}if(V("[")){return X()}if(V("{")){return tt()}if(V("(")){return rt()}if(V("/")||V("/=")){return ur(U())}return G(R())}function it(){var e=[];H("(");if(!V(")")){while(u<p){e.push(kt());if(V(")")){break}H(",")}}H(")");return e}function at(){var e=R();if(!T(e)){G(e)}return{type:n.Identifier,name:e.value}}function ot(){H(".");return at()}function st(){var e;H("[");e=At();H("]");return e}function lt(){var e;z("new");e={type:n.NewExpression,callee:ft(),arguments:[]};if(V("(")){e["arguments"]=it()}return e}function ut(){var e;e=Y("new")?lt():nt();while(V(".")||V("[")||V("(")){if(V("(")){e={type:n.CallExpression,callee:e,arguments:it()}}else if(V("[")){e={type:n.MemberExpression,computed:true,object:e,property:st()}}else{e={type:n.MemberExpression,computed:false,object:e,property:ot()}}}return e}function ft(){var e;e=Y("new")?lt():nt();while(V(".")||V("[")){if(V("[")){e={type:n.MemberExpression,computed:true,object:e,property:st()}}else{e={type:n.MemberExpression,computed:false,object:e,property:ot()}}}return e}function ct(){var e=ut(),r;r=_();if(r.type!==t.Punctuator){return e}if((V("++")||V("--"))&&!M()){if(l&&e.type===n.Identifier&&L(e.name)){W({},a.StrictLHSPostfix)}if(!J(e)){W({},a.InvalidLHSInAssignment)}e={type:n.UpdateExpression,operator:R().value,argument:e,prefix:false}}return e}function pt(){var e,r;e=_();if(e.type!==t.Punctuator&&e.type!==t.Keyword){return ct()}if(V("++")||V("--")){e=R();r=pt();if(l&&r.type===n.Identifier&&L(r.name)){W({},a.StrictLHSPrefix)}if(!J(r)){W({},a.InvalidLHSInAssignment)}r={type:n.UpdateExpression,operator:e.value,argument:r,prefix:true};return r}if(V("+")||V("-")||V("~")||V("!")){r={type:n.UnaryExpression,operator:R().value,argument:pt(),prefix:true};return r}if(Y("delete")||Y("void")||Y("typeof")){r={type:n.UnaryExpression,operator:R().value,argument:pt(),prefix:true};if(l&&r.operator==="delete"&&r.argument.type===n.Identifier){W({},a.StrictDelete)}return r}return ct()}function dt(){var e=pt();while(V("*")||V("/")||V("%")){e={type:n.BinaryExpression,operator:R().value,left:e,right:pt()}}return e}function ht(){var e=dt();while(V("+")||V("-")){e={type:n.BinaryExpression,operator:R().value,left:e,right:dt()}}return e}function yt(){var e=ht();while(V("<<")||V(">>")||V(">>>")){e={type:n.BinaryExpression,operator:R().value,left:e,right:ht()}}return e}function mt(){var e,t;t=h.allowIn;h.allowIn=true;e=yt();while(V("<")||V(">")||V("<=")||V(">=")||t&&Y("in")||Y("instanceof")){e={type:n.BinaryExpression,operator:R().value,left:e,right:yt()}}h.allowIn=t;return e}function gt(){var e=mt();while(V("==")||V("!=")||V("===")||V("!==")){e={type:n.BinaryExpression,operator:R().value,left:e,right:mt()}}return e}function vt(){var e=gt();while(V("&")){R();e={type:n.BinaryExpression,operator:"&",left:e,right:gt()}}return e}function bt(){var e=vt();while(V("^")){R();e={type:n.BinaryExpression,operator:"^",left:e,right:vt()}}return e}function wt(){var e=bt();while(V("|")){R();e={type:n.BinaryExpression,operator:"|",left:e,right:bt()}}return e}function xt(){var e=wt();while(V("&&")){R();e={type:n.LogicalExpression,operator:"&&",left:e,right:wt()}}return e}function Et(){var e=xt();while(V("||")){R();e={type:n.LogicalExpression,operator:"||",left:e,right:xt()}}return e}function St(){var e,t,r;e=Et();if(V("?")){R();t=h.allowIn;h.allowIn=true;r=kt();h.allowIn=t;H(":");e={type:n.ConditionalExpression,test:e,consequent:r,alternate:kt()}}return e}function kt(){var e,t;e=_();t=St();if(K()){if(!J(t)){W({},a.InvalidLHSInAssignment)}if(l&&t.type===n.Identifier&&L(t.name)){W(e,a.StrictLHSAssignment)}t={type:n.AssignmentExpression,operator:R().value,left:t,right:kt()}}return t}function At(){var e=kt();if(V(",")){e={type:n.SequenceExpression,expressions:[e]};while(u<p){if(!V(",")){break}R();e.expressions.push(kt())}}return e}function It(){var e=[],t;while(u<p){if(V("}")){break}t=er();if(typeof t==="undefined"){break}e.push(t)}return e}function Lt(){var e;H("{");e=It();H("}");return{type:n.BlockStatement,body:e}}function Ot(){var e=R();if(e.type!==t.Identifier){G(e)}return{type:n.Identifier,name:e.value}}function Nt(e){var t=Ot(),r=null;if(l&&L(t.name)){W({},a.StrictVarName)}if(e==="const"){H("=");r=kt()}else if(V("=")){R();r=kt()}return{type:n.VariableDeclarator,id:t,init:r}}function Ct(e){var t=[];do{t.push(Nt(e));if(!V(",")){break}R()}while(u<p);return t}function jt(){var e;z("var");e=Ct();$();return{type:n.VariableDeclaration,declarations:e,kind:"var"}}function Ft(e){var t;z(e);t=Ct(e);$();return{type:n.VariableDeclaration,declarations:t,kind:e}}function Pt(){H(";");return{type:n.EmptyStatement}}function Dt(){var e=At();$();return{type:n.ExpressionStatement,expression:e}}function Ut(){var e,t,r;z("if");H("(");e=At();H(")");t=Jt();if(Y("else")){R();r=Jt()}else{r=null}return{type:n.IfStatement,test:e,consequent:t,alternate:r}}function Tt(){var e,t,r;z("do");r=h.inIteration;h.inIteration=true;e=Jt();h.inIteration=r;z("while");H("(");t=At();H(")");if(V(";")){R()}return{type:n.DoWhileStatement,body:e,test:t}}function Bt(){var e,t,r;z("while");H("(");e=At();H(")");r=h.inIteration;h.inIteration=true;t=Jt();h.inIteration=r;return{type:n.WhileStatement,test:e,body:t}}function Rt(){var e=R();return{type:n.VariableDeclaration,declarations:Ct(),kind:e.value}}function _t(){var e,t,r,i,o,s,l;e=t=r=null;z("for");H("(");if(V(";")){R()}else{if(Y("var")||Y("let")){h.allowIn=false;e=Rt();h.allowIn=true;if(e.declarations.length===1&&Y("in")){R();i=e;o=At();e=null}}else{h.allowIn=false;e=At();h.allowIn=true;if(Y("in")){if(!J(e)){W({},a.InvalidLHSInForIn)}R();i=e;o=At();e=null}}if(typeof i==="undefined"){H(";")}}if(typeof i==="undefined"){if(!V(";")){t=At()}H(";");if(!V(")")){r=At()}}H(")");l=h.inIteration;h.inIteration=true;s=Jt();h.inIteration=l;if(typeof i==="undefined"){return{type:n.ForStatement,init:e,test:t,update:r,body:s}}return{type:n.ForInStatement,left:i,right:o,body:s,each:false}}function Mt(){var e,r=null;z("continue");if(s[u]===";"){R();if(!h.inIteration){q({},a.IllegalContinue)}return{type:n.ContinueStatement,label:null}}if(M()){if(!h.inIteration){q({},a.IllegalContinue)}return{type:n.ContinueStatement,label:null}}e=_();if(e.type===t.Identifier){r=Ot();if(!Object.prototype.hasOwnProperty.call(h.labelSet,r.name)){q({},a.UnknownLabel,r.name)}}$();if(r===null&&!h.inIteration){q({},a.IllegalContinue)}return{type:n.ContinueStatement,label:r}}function qt(){var e,r=null;z("break");if(s[u]===";"){R();if(!(h.inIteration||h.inSwitch)){q({},a.IllegalBreak)}return{type:n.BreakStatement,label:null}}if(M()){if(!(h.inIteration||h.inSwitch)){q({},a.IllegalBreak)}return{type:n.BreakStatement,label:null}}e=_();if(e.type===t.Identifier){r=Ot();if(!Object.prototype.hasOwnProperty.call(h.labelSet,r.name)){q({},a.UnknownLabel,r.name)}}$();if(r===null&&!(h.inIteration||h.inSwitch)){q({},a.IllegalBreak)}return{type:n.BreakStatement,label:r}}function Wt(){var e,r=null;z("return");if(!h.inFunctionBody){W({},a.IllegalReturn)}if(s[u]===" "){if(S(s[u+1])){r=At();$();return{type:n.ReturnStatement,argument:r}}}if(M()){return{type:n.ReturnStatement,argument:null}}if(!V(";")){e=_();if(!V("}")&&e.type!==t.EOF){r=At()}}$();return{type:n.ReturnStatement,argument:r}}function Gt(){var e,t;if(l){W({},a.StrictModeWith)}z("with");H("(");e=At();H(")");t=Jt();return{type:n.WithStatement,object:e,body:t}}function Ht(){var e,t=[],r;if(Y("default")){R();e=null}else{z("case");e=At()}H(":");while(u<p){if(V("}")||Y("default")||Y("case")){break}r=Jt();if(typeof r==="undefined"){break}t.push(r)}return{type:n.SwitchCase,test:e,consequent:t}}function zt(){var e,t,r,i,o;z("switch");H("(");e=At();H(")");H("{");t=[];if(V("}")){R();return{type:n.SwitchStatement,discriminant:e,cases:t}}i=h.inSwitch;h.inSwitch=true;o=false;while(u<p){if(V("}")){break}r=Ht();if(r.test===null){if(o){q({},a.MultipleDefaultsInSwitch)}o=true}t.push(r)}h.inSwitch=i;H("}");return{type:n.SwitchStatement,discriminant:e,cases:t}}function Vt(){var e;z("throw");if(M()){q({},a.NewlineAfterThrow)}e=At();$();return{type:n.ThrowStatement,argument:e}}function Yt(){var e;z("catch");H("(");if(V(")")){G(_())}e=Ot();if(l&&L(e.name)){W({},a.StrictCatchVariable)}H(")");return{type:n.CatchClause,param:e,body:Lt()}}function Kt(){var e,t=[],r=null;z("try");e=Lt();if(Y("catch")){t.push(Yt())}if(Y("finally")){R();r=Lt()}if(t.length===0&&!r){q({},a.NoCatchOrFinally)}return{type:n.TryStatement,block:e,guardedHandlers:[],handlers:t,finalizer:r}}function $t(){z("debugger");$();return{type:n.DebuggerStatement}}function Jt(){var e=_(),r,i;if(e.type===t.EOF){G(e)}if(e.type===t.Punctuator){switch(e.value){case";":return Pt();case"{":return Lt();case"(":return Dt();default:break}}if(e.type===t.Keyword){switch(e.value){case"break":return qt();case"continue":return Mt();case"debugger":return $t();case"do":return Tt();case"for":return _t();case"function":return Zt();case"if":return Ut();case"return":return Wt();case"switch":return zt();case"throw":return Vt();case"try":return Kt();case"var":return jt();case"while":return Bt();case"with":return Gt();default:break}}r=At();if(r.type===n.Identifier&&V(":")){R();if(Object.prototype.hasOwnProperty.call(h.labelSet,r.name)){q({},a.Redeclaration,"Label",r.name)}h.labelSet[r.name]=true;i=Jt();delete h.labelSet[r.name];return{type:n.LabeledStatement,label:r,body:i}}$();return{type:n.ExpressionStatement,expression:r}}function Xt(){var e,r=[],i,o,s,f,c,d,y;H("{");while(u<p){i=_();if(i.type!==t.StringLiteral){break}e=er();r.push(e);if(e.expression.type!==n.Literal){break}o=g(i.range[0]+1,i.range[1]-1);if(o==="use strict"){l=true;if(s){W(s,a.StrictOctalLiteral)}}else{if(!s&&i.octal){s=i}}}f=h.labelSet;c=h.inIteration;d=h.inSwitch;y=h.inFunctionBody;h.labelSet={};h.inIteration=false;h.inSwitch=false;h.inFunctionBody=true;while(u<p){if(V("}")){break}e=er();if(typeof e==="undefined"){break}r.push(e)}H("}");h.labelSet=f;h.inIteration=c;h.inSwitch=d;h.inFunctionBody=y;return{type:n.BlockStatement,body:r}}function Zt(){var e,t,r=[],i,o,s,f,c,d,h;z("function");o=_();e=Ot();if(l){if(L(o.value)){W(o,a.StrictFunctionName)}}else{if(L(o.value)){f=o;c=a.StrictFunctionName}else if(I(o.value)){f=o;c=a.StrictReservedWord}}H("(");if(!V(")")){h={};while(u<p){o=_();t=Ot();if(l){if(L(o.value)){s=o;c=a.StrictParamName}if(Object.prototype.hasOwnProperty.call(h,o.value)){s=o;c=a.StrictParamDupe}}else if(!f){if(L(o.value)){f=o;c=a.StrictParamName}else if(I(o.value)){f=o;c=a.StrictReservedWord}else if(Object.prototype.hasOwnProperty.call(h,o.value)){f=o;c=a.StrictParamDupe}}r.push(t);h[t.name]=true;if(V(")")){break}H(",")}}H(")");d=l;i=Xt();if(l&&f){q(f,c)}if(l&&s){W(s,c)}l=d;return{type:n.FunctionDeclaration,id:e,params:r,defaults:[],body:i,rest:null,generator:false,expression:false}}function Qt(){var e,t=null,r,i,o,s,f=[],c,d,h;z("function");if(!V("(")){e=_();t=Ot();if(l){if(L(e.value)){W(e,a.StrictFunctionName)}}else{if(L(e.value)){i=e;o=a.StrictFunctionName}else if(I(e.value)){i=e;o=a.StrictReservedWord}}}H("(");if(!V(")")){h={};while(u<p){e=_();s=Ot();if(l){if(L(e.value)){r=e;o=a.StrictParamName}if(Object.prototype.hasOwnProperty.call(h,e.value)){r=e;o=a.StrictParamDupe}}else if(!i){if(L(e.value)){i=e;o=a.StrictParamName}else if(I(e.value)){i=e;o=a.StrictReservedWord}else if(Object.prototype.hasOwnProperty.call(h,e.value)){i=e;o=a.StrictParamDupe}}f.push(s);h[s.name]=true;if(V(")")){break}H(",")}}H(")");d=l;c=Xt();if(l&&i){q(i,o)}if(l&&r){W(r,o)}l=d;return{type:n.FunctionExpression,id:t,params:f,defaults:[],body:c,rest:null,generator:false,expression:false}}function er(){var e=_();if(e.type===t.Keyword){switch(e.value){case"const":case"let":return Ft(e.value);case"function":return Zt();default:return Jt()}}if(e.type!==t.EOF){return Jt()}}function tr(){var e,r=[],i,o,s;while(u<p){i=_();if(i.type!==t.StringLiteral){break}e=er();r.push(e);if(e.expression.type!==n.Literal){break}o=g(i.range[0]+1,i.range[1]-1);if(o==="use strict"){l=true;if(s){W(s,a.StrictOctalLiteral)}}else{if(!s&&i.octal){s=i}}}while(u<p){e=er();if(typeof e==="undefined"){break}r.push(e)}return r}function rr(){var e;l=false;e={type:n.Program,body:tr()};return e}function nr(e,t,r,n,i){m(typeof r==="number","Comment must have valid position");if(y.comments.length>0){if(y.comments[y.comments.length-1].range[1]>r){return}}y.comments.push({type:e,value:t,range:[r,n],loc:i})}function ir(){var e,t,r,n,i,o;e="";i=false;o=false;while(u<p){t=s[u];if(o){t=s[u++];if(E(t)){r.end={line:f,column:u-c-1};o=false;nr("Line",e,n,u-1,r);if(t==="\r"&&s[u]==="\n"){++u}++f;c=u;e=""}else if(u>=p){o=false;e+=t;r.end={line:f,column:p-c};nr("Line",e,n,p,r)}else{e+=t}}else if(i){if(E(t)){if(t==="\r"&&s[u+1]==="\n"){++u;e+="\r\n"}else{e+=t}++f;++u;c=u;if(u>=p){q({},a.UnexpectedToken,"ILLEGAL")}}else{t=s[u++];if(u>=p){q({},a.UnexpectedToken,"ILLEGAL")}e+=t;if(t==="*"){t=s[u];if(t==="/"){e=e.substr(0,e.length-1);i=false;++u;r.end={line:f,column:u-c};nr("Block",e,n,u,r);e=""}}}}else if(t==="/"){t=s[u+1];if(t==="/"){r={start:{line:f,column:u-c}};n=u;u+=2;o=true;if(u>=p){r.end={line:f,column:u-c};o=false;nr("Line",e,n,u,r)}}else if(t==="*"){n=u;u+=2;i=true;r={start:{line:f,column:u-c-2}};if(u>=p){q({},a.UnexpectedToken,"ILLEGAL")}}else{break}}else if(x(t)){++u}else if(E(t)){++u;if(t==="\r"&&s[u]==="\n"){++u}++f;c=u}else{break}}}function ar(){var e,t,r,n=[];for(e=0;e<y.comments.length;++e){t=y.comments[e];r={type:t.type,value:t.value};if(y.range){r.range=t.range}if(y.loc){r.loc=t.loc}n.push(r)}y.comments=n}function or(){var e,n,i,a,o;N();e=u;n={start:{line:f,column:u-c}};i=y.advance();n.end={line:f,column:u-c};if(i.type!==t.EOF){a=[i.range[0],i.range[1]];o=g(i.range[0],i.range[1]);y.tokens.push({type:r[i.type],value:o,range:a,loc:n})}return i}function sr(){var e,t,r,n;N();e=u;t={start:{line:f,column:u-c}};r=y.scanRegExp();t.end={line:f,column:u-c};if(y.tokens.length>0){n=y.tokens[y.tokens.length-1];if(n.range[0]===e&&n.type==="Punctuator"){if(n.value==="/"||n.value==="/="){y.tokens.pop()}}}y.tokens.push({type:"RegularExpression",value:r.literal,range:[e,u],loc:t});return r}function lr(){var e,t,r,n=[];for(e=0;e<y.tokens.length;++e){t=y.tokens[e];r={type:t.type,value:t.value};if(y.range){r.range=t.range}if(y.loc){r.loc=t.loc}n.push(r)}y.tokens=n}function ur(e){return{type:n.Literal,value:e.value}}function fr(e){return{type:n.Literal,value:e.value,raw:g(e.range[0],e.range[1])}}function cr(){var e={};e.range=[u,u];e.loc={start:{line:f,column:u-c},end:{line:f,column:u-c}};e.end=function(){this.range[1]=u;this.loc.end.line=f;this.loc.end.column=u-c};e.applyGroup=function(e){if(y.range){e.groupRange=[this.range[0],this.range[1]]}if(y.loc){e.groupLoc={start:{line:this.loc.start.line,column:this.loc.start.column},end:{line:this.loc.end.line,column:this.loc.end.column}}}};e.apply=function(e){if(y.range){e.range=[this.range[0],this.range[1]]}if(y.loc){e.loc={start:{line:this.loc.start.line,column:this.loc.start.column},end:{line:this.loc.end.line,column:this.loc.end.column}}}};return e}function pr(){var e,t;N();e=cr();H("(");t=At();H(")");e.end();e.applyGroup(t);return t}function dr(){var e,t;N();e=cr();t=Y("new")?lt():nt();while(V(".")||V("[")){if(V("[")){t={type:n.MemberExpression,computed:true,object:t,property:st()};e.end();e.apply(t)}else{t={type:n.MemberExpression,computed:false,object:t,property:ot()};e.end();e.apply(t)}}return t}function hr(){var e,t;N();e=cr();t=Y("new")?lt():nt();while(V(".")||V("[")||V("(")){if(V("(")){t={type:n.CallExpression,callee:t,arguments:it()};e.end();e.apply(t)}else if(V("[")){t={type:n.MemberExpression,computed:true,object:t,property:st()};e.end();e.apply(t)}else{t={type:n.MemberExpression,computed:false,object:t,property:ot()};e.end();e.apply(t)}}return t}function yr(e){var t,r,n;t=Object.prototype.toString.apply(e)==="[object Array]"?[]:{};for(r in e){if(e.hasOwnProperty(r)&&r!=="groupRange"&&r!=="groupLoc"){n=e[r];if(n===null||typeof n!=="object"||n instanceof RegExp){t[r]=n}else{t[r]=yr(n)}}}return t}function mr(e,t){return function(r){function i(e){return e.type===n.LogicalExpression||e.type===n.BinaryExpression}function a(r){var n,o;if(i(r.left)){a(r.left)}if(i(r.right)){a(r.right)}if(e){if(r.left.groupRange||r.right.groupRange){n=r.left.groupRange?r.left.groupRange[0]:r.left.range[0];
o=r.right.groupRange?r.right.groupRange[1]:r.right.range[1];r.range=[n,o]}else if(typeof r.range==="undefined"){n=r.left.range[0];o=r.right.range[1];r.range=[n,o]}}if(t){if(r.left.groupLoc||r.right.groupLoc){n=r.left.groupLoc?r.left.groupLoc.start:r.left.loc.start;o=r.right.groupLoc?r.right.groupLoc.end:r.right.loc.end;r.loc={start:n,end:o}}else if(typeof r.loc==="undefined"){r.loc={start:r.left.loc.start,end:r.right.loc.end}}}}return function(){var n,o;N();n=cr();o=r.apply(null,arguments);n.end();if(e&&typeof o.range==="undefined"){n.apply(o)}if(t&&typeof o.loc==="undefined"){n.apply(o)}if(i(o)){a(o)}return o}}}function gr(){var e;if(y.comments){y.skipComment=N;N=ir}if(y.raw){y.createLiteral=ur;ur=fr}if(y.range||y.loc){y.parseGroupExpression=rt;y.parseLeftHandSideExpression=ft;y.parseLeftHandSideExpressionAllowCall=ut;rt=pr;ft=dr;ut=hr;e=mr(y.range,y.loc);y.parseAdditiveExpression=ht;y.parseAssignmentExpression=kt;y.parseBitwiseANDExpression=vt;y.parseBitwiseORExpression=wt;y.parseBitwiseXORExpression=bt;y.parseBlock=Lt;y.parseFunctionSourceElements=Xt;y.parseCatchClause=Yt;y.parseComputedMember=st;y.parseConditionalExpression=St;y.parseConstLetDeclaration=Ft;y.parseEqualityExpression=gt;y.parseExpression=At;y.parseForVariableDeclaration=Rt;y.parseFunctionDeclaration=Zt;y.parseFunctionExpression=Qt;y.parseLogicalANDExpression=xt;y.parseLogicalORExpression=Et;y.parseMultiplicativeExpression=dt;y.parseNewExpression=lt;y.parseNonComputedProperty=at;y.parseObjectProperty=et;y.parseObjectPropertyKey=Q;y.parsePostfixExpression=ct;y.parsePrimaryExpression=nt;y.parseProgram=rr;y.parsePropertyFunction=Z;y.parseRelationalExpression=mt;y.parseStatement=Jt;y.parseShiftExpression=yt;y.parseSwitchCase=Ht;y.parseUnaryExpression=pt;y.parseVariableDeclaration=Nt;y.parseVariableIdentifier=Ot;ht=e(y.parseAdditiveExpression);kt=e(y.parseAssignmentExpression);vt=e(y.parseBitwiseANDExpression);wt=e(y.parseBitwiseORExpression);bt=e(y.parseBitwiseXORExpression);Lt=e(y.parseBlock);Xt=e(y.parseFunctionSourceElements);Yt=e(y.parseCatchClause);st=e(y.parseComputedMember);St=e(y.parseConditionalExpression);Ft=e(y.parseConstLetDeclaration);gt=e(y.parseEqualityExpression);At=e(y.parseExpression);Rt=e(y.parseForVariableDeclaration);Zt=e(y.parseFunctionDeclaration);Qt=e(y.parseFunctionExpression);ft=e(ft);xt=e(y.parseLogicalANDExpression);Et=e(y.parseLogicalORExpression);dt=e(y.parseMultiplicativeExpression);lt=e(y.parseNewExpression);at=e(y.parseNonComputedProperty);et=e(y.parseObjectProperty);Q=e(y.parseObjectPropertyKey);ct=e(y.parsePostfixExpression);nt=e(y.parsePrimaryExpression);rr=e(y.parseProgram);Z=e(y.parsePropertyFunction);mt=e(y.parseRelationalExpression);Jt=e(y.parseStatement);yt=e(y.parseShiftExpression);Ht=e(y.parseSwitchCase);pt=e(y.parseUnaryExpression);Nt=e(y.parseVariableDeclaration);Ot=e(y.parseVariableIdentifier)}if(typeof y.tokens!=="undefined"){y.advance=B;y.scanRegExp=U;B=or;U=sr}}function vr(){if(typeof y.skipComment==="function"){N=y.skipComment}if(y.raw){ur=y.createLiteral}if(y.range||y.loc){ht=y.parseAdditiveExpression;kt=y.parseAssignmentExpression;vt=y.parseBitwiseANDExpression;wt=y.parseBitwiseORExpression;bt=y.parseBitwiseXORExpression;Lt=y.parseBlock;Xt=y.parseFunctionSourceElements;Yt=y.parseCatchClause;st=y.parseComputedMember;St=y.parseConditionalExpression;Ft=y.parseConstLetDeclaration;gt=y.parseEqualityExpression;At=y.parseExpression;Rt=y.parseForVariableDeclaration;Zt=y.parseFunctionDeclaration;Qt=y.parseFunctionExpression;rt=y.parseGroupExpression;ft=y.parseLeftHandSideExpression;ut=y.parseLeftHandSideExpressionAllowCall;xt=y.parseLogicalANDExpression;Et=y.parseLogicalORExpression;dt=y.parseMultiplicativeExpression;lt=y.parseNewExpression;at=y.parseNonComputedProperty;et=y.parseObjectProperty;Q=y.parseObjectPropertyKey;nt=y.parsePrimaryExpression;ct=y.parsePostfixExpression;rr=y.parseProgram;Z=y.parsePropertyFunction;mt=y.parseRelationalExpression;Jt=y.parseStatement;yt=y.parseShiftExpression;Ht=y.parseSwitchCase;pt=y.parseUnaryExpression;Nt=y.parseVariableDeclaration;Ot=y.parseVariableIdentifier}if(typeof y.scanRegExp==="function"){B=y.advance;U=y.scanRegExp}}function br(e){var t=e.length,r=[],n;for(n=0;n<t;++n){r[n]=e.charAt(n)}return r}function wr(e,t){var r,n;n=String;if(typeof e!=="string"&&!(e instanceof String)){e=n(e)}s=e;u=0;f=s.length>0?1:0;c=0;p=s.length;d=null;h={allowIn:true,labelSet:{},inFunctionBody:false,inIteration:false,inSwitch:false};y={};if(typeof t!=="undefined"){y.range=typeof t.range==="boolean"&&t.range;y.loc=typeof t.loc==="boolean"&&t.loc;y.raw=typeof t.raw==="boolean"&&t.raw;if(typeof t.tokens==="boolean"&&t.tokens){y.tokens=[]}if(typeof t.comment==="boolean"&&t.comment){y.comments=[]}if(typeof t.tolerant==="boolean"&&t.tolerant){y.errors=[]}}if(p>0){if(typeof s[0]==="undefined"){if(e instanceof String){s=e.valueOf()}if(typeof s[0]==="undefined"){s=br(e)}}}gr();try{r=rr();if(typeof y.comments!=="undefined"){ar();r.comments=y.comments}if(typeof y.tokens!=="undefined"){lr();r.tokens=y.tokens}if(typeof y.errors!=="undefined"){r.errors=y.errors}if(y.range||y.loc){r.body=yr(r.body)}}catch(i){throw i}finally{vr();y={}}return r}e.version="1.0.4";e.parse=wr;e.Syntax=function(){var e,t={};if(typeof Object.create==="function"){t=Object.create(null)}for(e in n){if(n.hasOwnProperty(e)){t[e]=n[e]}}if(typeof Object.freeze==="function"){Object.freeze(t)}return t}()})},{}]},{},[]);return e("./lib/js-yaml.js")}();