!function(u,D){“object”==typeof exports&&“undefined”!=typeof module?module.exports=D():“function”==typeof define&&define.amd?define(D):u.JSON5=D()}(this,function(){“use strict”;function u(u,D){return u(D={exports:{}},D.exports),D.exports}var D=u(function(u){var D=u.exports=“undefined”!=typeof window&&window.Math==Math?window:“undefined”!=typeof self&&self.Math==Math?self:Function(“return this”)();“number”==typeof __g&&(__g=D)}),e=u(function(u){var D=u.exports={version:“2.6.5”};“number”==typeof __e&&(__e=D)}),t=(e.version,function(u){return“object”==typeof u?null!==u:“function”==typeof u}),r=function(u){if(!t(u))throw TypeError(u+“ is not an object!”);return u},F=function(u){try{return!!u()}catch(u){return!0}},n=!F(function(){return 7!=Object.defineProperty({},“a”,{get:function(){return 7}}).a}),C=D.document,A=t(C)&&t(C.createElement),i=!n&&!F(function(){return 7!=Object.defineProperty((u=“div”,A?C.createElement(u):{}),“a”,{get:function(){return 7}}).a;var u}),E=Object.defineProperty,o={f:n?Object.defineProperty:function(u,D,e){if(r(u),D=function(u,D){if(!t(u))return u;var e,r;if(D&&“function”==typeof(e=u.toString)&&!t(r=e.call(u)))return r;if(“function”==typeof(e=u.valueOf)&&!t(r=e.call(u)))return r;if(!D&&“function”==typeof(e=u.toString)&&!t(r=e.call(u)))return r;throw TypeError(“Can't convert object to primitive value”)}(D,!0),r(e),i)try{return E(u,D,e)}catch(u){}if(“get”in e||“set”in e)throw TypeError(“Accessors not supported!”);return“value”in e&&(u=e.value),u}},a=n?function(u,D,e){return o.f(u,D,function(u,D){return{enumerable:!(1&u),configurable:!(2&u),writable:!(4&u),value:D}}(1,e))}:function(u,D,e){return u=e,u},c={}.hasOwnProperty,B=function(u,D){return c.call(u,D)},s=0,f=Math.random(),l=u(function(u){var t=D[“core-js_shared”]||(D[“core-js_shared”]={});(u.exports=function(u,D){return t||(t=void 0!==D?D:{})})(“versions”,[]).push({version:e.version,mode:“global”,copyright:“© 2019 Denis Pushkarev (zloirock.ru)”})})(“native-function-to-string”,Function.toString),d=u(function(u){var t,r=“Symbol(”.concat(void 0===(t=“src”)?“”:t,“)_”,(++s+f).toString(36)),F=(“”+l).split(“toString”);e.inspectSource=function(u){return l.call(u)},(u.exports=function(u,e,t,n){var C=“function”==typeof t;C&&(B(t,“name”)||a(t,“name”,e)),u!==t&&(C&&(B(t,r)||a(t,r,u?“”+u:F.join(String(e)))),u===D?u=t:n?u?u=t:a(u,e,t):(delete u,a(u,e,t)))})(Function.prototype,“toString”,function(){return“function”==typeof this&&this||l.call(this)})}),v=function(u,D,e){if(function(u){if(“function”!=typeof u)throw TypeError(u+“ is not a function!”)}(u),void 0===D)return u;switch(e){case 1:return function(e){return u.call(D,e)};case 2:return function(e,t){return u.call(D,e,t)};case 3:return function(e,t,r){return u.call(D,e,t,r)}}return function(){return u.apply(D,arguments)}},p=function(u,t,r){var F,n,C,A,i=u&p.F,E=u&p.G,o=u&p.S,c=u&p.P,B=u&p.B,s=E?D:o?D||(D={}):(D||{}).prototype,f=E?e:e||(e={}),l=f.prototype||(f.prototype={});for(F in E&&(r=t),r)C=((n=!i&&s&&void 0!==s)?s:r),A=B&&n?v(C,D):c&&“function”==typeof C?v(Function.call,C):C,s&&d(s,F,C,u&p.U),f!=C&&a(f,F,A),c&&l!=C&&(l=C)};D.core=e,p.F=1,p.G=2,p.S=4,p.P=8,p.B=16,p.W=32,p.U=64,p.R=128;var h,m=p,g=Math.ceil,y=Math.floor,w=function(u){return isNaN(u=+u)?0:(u>0?y:g)(u)},S=(h=!1,function(u,D){var e,t,r=String(function(u){if(null==u)throw TypeError(“Can't call method on ”+u);return u}(u)),F=w(D),n=r.length;return F<0||F>=n?h?“”:void 0:(e=r.charCodeAt(F))<55296||e>56319||F+1===n||(t=r.charCodeAt(F+1))<56320||t>57343?h?r.charAt(F):e:h?r.slice(F,F+2):t-56320+(e-55296<<10)+65536});m(m.P,“String”,{codePointAt:function(u){return S(this,u)}});e.String.codePointAt;var b=Math.max,x=Math.min,N=String.fromCharCode,P=String.fromCodePoint;m(m.S+m.F*(!!P&&1!=P.length),“String”,{fromCodePoint:function(u){for(var D,e,t,r=arguments,F=[],n=arguments.length,C=0;n>C;){if(D=r[C+],t=1114111,((e=w(e=D))<0?b(e+t,0):x(e,t))!==D)throw RangeError(D+“ is not a valid code point”);F.push(D<65536?N(D):N(55296+((D-=65536)>>10),D%1024+56320))}return F.join(“”)}});e.String.fromCodePoint;var _,I,O,j,V,J,M,k,L,T,z,H,$,R,G={Space_Separator://,ID_Start:/|uD800|uD801|uD802|uD803|uD804|uD805|uD806|uD807|uD808|uD809|[uD80CuD81C-uD820uD840-uD868uD86A-uD86CuD86F-uD872uD874-uD879]|uD80D|uD811|uD81A|uD81B|uD821|uD822|uD82C|uD82F|uD835|uD83A|uD83B|uD869|uD86D|uD86E|uD873|uD87A|uD87E/,ID_Continue:/|uD800|uD801|uD802|uD803|uD804|uD805|uD806|uD807|uD808|uD809|[uD80CuD81C-uD820uD840-uD868uD86A-uD86CuD86F-uD872uD874-uD879]|uD80D|uD811|uD81A|uD81B|uD821|uD822|uD82C|uD82F|uD834|uD835|uD836|uD838|uD83A|uD83B|uD869|uD86D|uD86E|uD873|uD87A|uD87E|uDB40/},U={isSpaceSeparator:function(u){return G.Space_Separator.test(u)},isIdStartChar:function(u){return u>=“a”&&u<=“z”||u>=“A”&&u<=“Z”||“$”===u||“_”===u||G.ID_Start.test(u)},isIdContinueChar:function(u){return u>=“a”&&u<=“z”||u>=“A”&&u<=“Z”||u>=“0”&&u<=“9”||“$”===u||“_”===u||“‌”===u||“‍”===u||G.ID_Continue.test(u)},isDigit:function(u){return//.test(u)},isHexDigit:function(u){return//.test(u)}};function Z(){for(T=“default”,z=“”,H=!1,$=1;;){R=q();var u=X();if(u)return u}}function q(){if(_)return String.fromCodePoint(_.codePointAt(j))}function W(){var u=q();return“n”===u?(V++,J=0):u?J+=u.length:J++,u&&(j+=u.length),u}var X={default:function(){switch(R){case“t”:case“v”:case“f”:case“ ”:case“ ”:case“ufeff”:case“n”:case“r”:case“u2028”:case“u2029”:return void W();case“/”:return W(),void(T=“comment”);case void 0:return W(),K(“eof”)}if(!U.isSpaceSeparator(R))return X();W()},comment:function(){switch(R){case“*”:return W(),void(T=“multiLineComment”);case“/”:return W(),void(T=“singleLineComment”)}throw tu(W())},multiLineComment:function(){switch(R){case“*”:return W(),void(T=“multiLineCommentAsterisk”);case void 0:throw tu(W())}W()},multiLineCommentAsterisk:function(){switch(R){case“*”:return void W();case“/”:return W(),void(T=“default”);case void 0:throw tu(W())}W(),T=“multiLineComment”},singleLineComment:function(){switch(R){case“n”:case“r”:case“u2028”:case“u2029”:return W(),void(T=“default”);case void 0:return W(),K(“eof”)}W()},value:function(){switch(R){case“{”:case“[”:return K(“punctuator”,W());case“n”:return W(),Q(“ull”),K(“null”,null);case“t”:return W(),Q(“rue”),K(“boolean”,!0);case“f”:return W(),Q(“alse”),K(“boolean”,!1);case“-”:case“+”:return“-”===W()&&($=-1),void(T=“sign”);case“.”:return z=W(),void(T=“decimalPointLeading”);case“0”:return z=W(),void(T=“zero”);case“1”:case“2”:case“3”:case“4”:case“5”:case“6”:case“7”:case“8”:case“9”:return z=W(),void(T=“decimalInteger”);case“I”:return W(),Q(“nfinity”),K(“numeric”,1/0);case“N”:return W(),Q(“aN”),K(“numeric”,NaN);case'“':case”'“:return H='”'===W(),z=“”,void(T=“string”)}throw tu(W())},identifierNameStartEscape:function(){if(“u”!==R)throw tu(W());W();var u=Y();switch(u){case“$”:case“_”:break;default:if(!U.isIdStartChar(u))throw Fu()}z+=u,T=“identifierName”},identifierName:function(){switch(R){case“$”:case“_”:case“‌”:case“‍”:return void(z+=W());case“\”:return W(),void(T=“identifierNameEscape”)}if(!U.isIdContinueChar(R))return K(“identifier”,z);z+=W()},identifierNameEscape:function(){if(“u”!==R)throw tu(W());W();var u=Y();switch(u){case“$”:case“_”:case“‌”:case“‍”:break;default:if(!U.isIdContinueChar(u))throw Fu()}z+=u,T=“identifierName”},sign:function(){switch(R){case“.”:return z=W(),void(T=“decimalPointLeading”);case“0”:return z=W(),void(T=“zero”);case“1”:case“2”:case“3”:case“4”:case“5”:case“6”:case“7”:case“8”:case“9”:return z=W(),void(T=“decimalInteger”);case“I”:return W(),Q(“nfinity”),K(“numeric”,$*(1/0));case“N”:return W(),Q(“aN”),K(“numeric”,NaN)}throw tu(W())},zero:function(){switch(R){case“.”:return z+=W(),void(T=“decimalPoint”);case“e”:case“E”:return z+=W(),void(T=“decimalExponent”);case“x”:case“X”:return z+=W(),void(T=“hexadecimal”)}return K(“numeric”,0*$)},decimalInteger:function(){switch(R){case“.”:return z+=W(),void(T=“decimalPoint”);case“e”:case“E”:return z+=W(),void(T=“decimalExponent”)}if(!U.isDigit(R))return K(“numeric”,$*Number(z));z+=W()},decimalPointLeading:function(){if(U.isDigit(R))return z+=W(),void(T=“decimalFraction”);throw tu(W())},decimalPoint:function(){switch(R){case“e”:case“E”:return z+=W(),void(T=“decimalExponent”)}return U.isDigit(R)?(z+=W(),void(T=“decimalFraction”)):K(“numeric”,$*Number(z))},decimalFraction:function(){switch(R){case“e”:case“E”:return z+=W(),void(T=“decimalExponent”)}if(!U.isDigit(R))return K(“numeric”,$*Number(z));z+=W()},decimalExponent:function(){switch(R){case“+”:case“-”:return z+=W(),void(T=“decimalExponentSign”)}if(U.isDigit(R))return z+=W(),void(T=“decimalExponentInteger”);throw tu(W())},decimalExponentSign:function(){if(U.isDigit(R))return z+=W(),void(T=“decimalExponentInteger”);throw tu(W())},decimalExponentInteger:function(){if(!U.isDigit(R))return K(“numeric”,$*Number(z));z+=W()},hexadecimal:function(){if(U.isHexDigit(R))return z+=W(),void(T=“hexadecimalInteger”);throw tu(W())},hexadecimalInteger:function(){if(!U.isHexDigit(R))return K(“numeric”,$*Number(z));z+=W()},string:function(){switch(R){case“\”:return W(),void(z+=function(){switch(q()){case“b”:return W(),“b”;case“f”:return W(),“f”;case“n”:return W(),“n”;case“r”:return W(),“r”;case“t”:return W(),“t”;case“v”:return W(),“v”;case“0”:if(W(),U.isDigit(q()))throw tu(W());return“0”;case“x”:return W(),function(){var u=“”,D=q();if(!U.isHexDigit(D))throw tu(W());if(u+=W(),D=q(),!U.isHexDigit(D))throw tu(W());return u+=W(),String.fromCodePoint(parseInt(u,16))}();case“u”:return W(),Y();case“n”:case“u2028”:case“u2029”:return W(),“”;case“r”:return W(),“n”===q()&&W(),“”;case“1”:case“2”:case“3”:case“4”:case“5”:case“6”:case“7”:case“8”:case“9”:case void 0:throw tu(W())}return W()}());case'“':return H?(W(),K(”string“,z)):void(z+=W());case”'“:return H?void(z+=W()):(W(),K(”string“,z));case”n“:case”r“:throw tu(W());case”u2028“:case”u2029“:!function(u){console.warn(”JSON5: '“+nu(u)+”' in strings is not valid ECMAScript; consider escaping“)}(R);break;case void 0:throw tu(W())}z+=W()},start:function(){switch(R){case”{“:case”[“:return K(”punctuator“,W())}T=”value“},beforePropertyName:function(){switch(R){case”$“:case”_“:return z=W(),void(T=”identifierName“);case”\“:return W(),void(T=”identifierNameStartEscape“);case”}“:return K(”punctuator“,W());case'”':case“'”:return H='“'===W(),void(T=”string“)}if(U.isIdStartChar(R))return z+=W(),void(T=”identifierName“);throw tu(W())},afterPropertyName:function(){if(”:“===R)return K(”punctuator“,W());throw tu(W())},beforePropertyValue:function(){T=”value“},afterPropertyValue:function(){switch(R){case”,“:case”}“:return K(”punctuator“,W())}throw tu(W())},beforeArrayValue:function(){if(”]“===R)return K(”punctuator“,W());T=”value“},afterArrayValue:function(){switch(R){case”,“:case”]“:return K(”punctuator“,W())}throw tu(W())},end:function(){throw tu(W())}};function K(u,D){return{type:u,value:D,line:V,column:J}}function Q(u){for(var D=0,e=u;D<e.length;D+=1){var t=e;if(q()!==t)throw tu(W());W()}}function Y(){for(var u=”“,D=4;D– >0;){var e=q();if(!U.isHexDigit(e))throw tu(W());u+=W()}return String.fromCodePoint(parseInt(u,16))}var uu={start:function(){if(”eof“===M.type)throw ru();Du()},beforePropertyName:function(){switch(M.type){case”identifier“:case”string“:return k=M.value,void(I=”afterPropertyName“);case”punctuator“:return void eu();case”eof“:throw ru()}},afterPropertyName:function(){if(”eof“===M.type)throw ru();I=”beforePropertyValue“},beforePropertyValue:function(){if(”eof“===M.type)throw ru();Du()},beforeArrayValue:function(){if(”eof“===M.type)throw ru();”punctuator“!==M.type||”]“!==M.value?Du():eu()},afterPropertyValue:function(){if(”eof“===M.type)throw ru();switch(M.value){case”,“:return void(I=”beforePropertyName“);case”}“:eu()}},afterArrayValue:function(){if(”eof“===M.type)throw ru();switch(M.value){case”,“:return void(I=”beforeArrayValue“);case”]“:eu()}},end:function(){}};function Du(){var u;switch(M.type){case”punctuator“:switch(M.value){case”{“:u={};break;case”[“:u=}break;case”null“:case”boolean“:case”numeric“:case”string“:u=M.value}if(void 0===L)L=u;else{var D=O;Array.isArray(D)?D.push(u):D=u}if(null!==u&&”object“==typeof u)O.push(u),I=Array.isArray(u)?”beforeArrayValue“:”beforePropertyName“;else{var e=O;I=null==e?”end“:Array.isArray(e)?”afterArrayValue“:”afterPropertyValue“}}function eu(){O.pop();var u=O;I=null==u?”end“:Array.isArray(u)?”afterArrayValue“:”afterPropertyValue“}function tu(u){return Cu(void 0===u?”JSON5: invalid end of input at “V”:“+J:”JSON5: invalid character '“+nu(u)+”' at “V”:“+J)}function ru(){return Cu(”JSON5: invalid end of input at “V”:“+J)}function Fu(){return Cu(”JSON5: invalid identifier character at “V”:“+(J-=5))}function nu(u){var D={”'“:”\'“,'”':'\“',”\“:”\\“,”b“:”\b“,”f“:”\f“,”n“:”\n“,”r“:”\r“,”t“:”\t“,”v“:”\v“,”0“:”\0“,”u2028“:”\u2028“,”u2029“:”\u2029“};if(D)return D;if(u<” “){var e=u.charCodeAt(0).toString(16);return”\x“+(”00“+e).substring(e.length)}return u}function Cu(u){var D=new SyntaxError(u);return D.lineNumber=V,D.columnNumber=J,D}return{parse:function(u,D){_=String(u),I=”start“,O=[],j=0,V=1,J=0,M=void 0,k=void 0,L=void 0;do{M=Z(),uu()}while(”eof“!==M.type);return”function“==typeof D?function u(D,e,t){var r=D;if(null!=r&&”object“==typeof r)for(var F in r){var n=u(r,F,t);void 0===n?delete r:r=n}return t.call(D,e,r)}({”“:L},”“,D):L},stringify:function(u,D,e){var t,r,F,n=[],C=”“,A=”“;if(null==D||”object“!=typeof D||Array.isArray(D)||(e=D.space,F=D.quote,D=D.replacer),”function“==typeof D)r=D;else if(Array.isArray(D)){t=[];for(var i=0,E=D;i<E.length;i+=1){var o=E,a=void 0;”string“==typeof o?a=o:(”number“==typeof o||o instanceof String||o instanceof Number)&&(a=String(o)),void 0!==a&&t.indexOf(a)<0&&t.push(a)}}return e instanceof Number?e=Number(e):e instanceof String&&(e=String(e)),”number“==typeof e?e>0&&(e=Math.min(10,Math.floor(e)),A=” “.substr(0,e)):”string“==typeof e&&(A=e.substr(0,10)),c(”“,{”“:u});function c(u,D){var e=D;switch(null!=e&&(”function“==typeof e.toJSON5?e=e.toJSON5(u):”function“==typeof e.toJSON&&(e=e.toJSON(u))),r&&(e=r.call(D,u,e)),e instanceof Number?e=Number(e):e instanceof String?e=String(e):e instanceof Boolean&&(e=e.valueOf()),e){case null:return”null“;case!0:return”true“;case!1:return”false“}return”string“==typeof e?B(e):”number“==typeof e?String(e):”object“==typeof e?Array.isArray(e)?function(u){if(n.indexOf(u)>=0)throw TypeError(”Converting circular structure to JSON5“);n.push(u);var D=C;C+=A;for(var e,t=[],r=0;r<u.length;r++){var F=c(String®,u);t.push(void 0!==F?F:”null“)}if(0===t.length)e=”[]“;else if(”“===A){var i=t.join(”,“);e=”[“i”]“}else{var E=”,n“+C,o=t.join(E);e=”[n“+C+o+”,n“D”]“}return n.pop(),C=D,e}(e):function(u){if(n.indexOf(u)>=0)throw TypeError(”Converting circular structure to JSON5“);n.push(u);var D=C;C+=A;for(var e,r,F=t||Object.keys(u),i=[],E=0,o=F;E<o.length;E+=1){var a=o,B=c(a,u);if(void 0!==B){var f=s(a)+”:“;”“!==A&&(f+=” “),f+=B,i.push(f)}}if(0===i.length)e=”{}“;else if(”“===A)r=i.join(”,“),e=”{“r”}“;else{var l=”,n“+C;r=i.join(l),e=”{n“+C+r+”,n“D”}“}return n.pop(),C=D,e}(e):void 0}function B(u){for(var D={”'“:.1,'”':.2},e={“'”:“\'”,'“':'\”',“\”:“\\”,“b”:“\b”,“f”:“\f”,“n”:“\n”,“r”:“\r”,“t”:“\t”,“v”:“\v”,“0”:“\0”,“u2028”:“\u2028”,“u2029”:“\u2029”},t=“”,r=0;r<u.length;r++){var n=u;switch(n){case“‘”:case’“‘:D++,t+=n;continue;case”0“:if(U.isDigit(u)){t+=”\x00“;continue}}if(e)t+=e;else if(n<” “){var C=n.charCodeAt(0).toString(16);t+=”\x“+(”00“+C).substring(C.length)}else t+=n}var A=F||Object.keys(D).reduce(function(u,e){return D<D?u:e});return A+(t=t.replace(new RegExp(A,”g“),e))+A}function s(u){if(0===u.length)return B(u);var D=String.fromCodePoint(u.codePointAt(0));if(!U.isIdStartChar(D))return B(u);for(var e=D.length;e<u.length;e++)if(!U.isIdContinueChar(String.fromCodePoint(u.codePointAt(e))))return B(u);return u}}}});