/*! * v2.1.4-40-g295d630 * */ !function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("oboe",[],t):"object"==typeof exports?exports.oboe=t():n.oboe=t()}("undefined"!=typeof self?self:this,function(){return function(n){var t={};function e(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return n[r].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:r})},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="",e(e.s=7)}([function(n,t,e){"use strict";e.d(t,"j",function(){return u}),e.d(t,"d",function(){return i}),e.d(t,"c",function(){return c}),e.d(t,"h",function(){return o}),e.d(t,"b",function(){return f}),e.d(t,"k",function(){return a}),e.d(t,"e",function(){return s}),e.d(t,"g",function(){return d}),e.d(t,"i",function(){return b}),e.d(t,"a",function(){return l}),e.d(t,"f",function(){return j});var r=e(1),u=a(function(n,t){var e=t.length;return a(function(r){for(var u=0;u0&&(u=e),e=n[r++]);)switch(W++,"\n"==e?(z++,$=0):$++,B){case b:if("{"===e)B=j;else if("["===e)B=O;else if(!F(e))return D("Non-whitespace before {[.");continue;case g:case j:if(F(e))continue;if(B===g)J.push(m);else{if("}"===e){c({}),o(),B=J.pop()||l;continue}J.push(v)}if('"'!==e)return D('Malformed object key should start with " ');B=p;continue;case m:case v:if(F(e))continue;if(":"===e)B===v?(J.push(v),void 0!==R&&(c({}),i(R),R=void 0),U++):void 0!==R&&(i(R),R=void 0),B=l;else if("}"===e)void 0!==R&&(c(R),o(),R=void 0),o(),U--,B=J.pop()||l;else{if(","!==e)return D("Bad object");B===v&&J.push(v),void 0!==R&&(c(R),o(),R=void 0),B=g}continue;case O:case l:if(F(e))continue;if(B===O){if(c([]),U++,B=l,"]"===e){o(),U--,B=J.pop()||l;continue}J.push(h)}if('"'===e)B=p;else if("{"===e)B=j;else if("["===e)B=O;else if("t"===e)B=y;else if("f"===e)B=k;else if("n"===e)B=E;else if("-"===e)_+=e;else if("0"===e)_+=e,B=T;else{if(-1==="123456789".indexOf(e))return D("Bad value");_+=e,B=T}continue;case h:if(","===e)J.push(h),void 0!==R&&(c(R),o(),R=void 0),B=l;else{if("]"!==e){if(F(e))continue;return D("Bad array")}void 0!==R&&(c(R),o(),R=void 0),o(),U--,B=J.pop()||l}continue;case p:void 0===R&&(R="");var f=r-1;n:for(;;){for(;X>0;)if(P+=e,e=n.charAt(r++),4===X?(R+=String.fromCharCode(parseInt(P,16)),X=0,f=r-1):X++,!e)break n;if('"'===e&&!q){B=J.pop()||l,R+=(" "+n.substring(f,r-1)).substr(1);break}if(!("\\"!==e||q||(q=!0,R+=(" "+n.substring(f,r-1)).substr(1),e=n.charAt(r++))))break;if(q){if(q=!1,"n"===e?R+="\n":"r"===e?R+="\r":"t"===e?R+="\t":"f"===e?R+="\f":"b"===e?R+="\b":"u"===e?(X=1,P=""):R+=e,e=n.charAt(r++),f=r-1,e)continue;break}s.lastIndex=r;var d=s.exec(n);if(!d){r=n.length+1,R+=(" "+n.substring(f,r-1)).substr(1);break}if(r=d.index+1,!(e=n.charAt(d.index))){R+=(" "+n.substring(f,r-1)).substr(1);break}}continue;case y:if(!e)continue;if("r"!==e)return D("Invalid true started with t"+e);B=w;continue;case w:if(!e)continue;if("u"!==e)return D("Invalid true started with tr"+e);B=x;continue;case x:if(!e)continue;if("e"!==e)return D("Invalid true started with tru"+e);c(!0),o(),B=J.pop()||l;continue;case k:if(!e)continue;if("a"!==e)return D("Invalid false started with f"+e);B=I;continue;case I:if(!e)continue;if("l"!==e)return D("Invalid false started with fa"+e);B=L;continue;case L:if(!e)continue;if("s"!==e)return D("Invalid false started with fal"+e);B=C;continue;case C:if(!e)continue;if("e"!==e)return D("Invalid false started with fals"+e);c(!1),o(),B=J.pop()||l;continue;case E:if(!e)continue;if("u"!==e)return D("Invalid null started with n"+e);B=M;continue;case M:if(!e)continue;if("l"!==e)return D("Invalid null started with nu"+e);B=A;continue;case A:if(!e)continue;if("l"!==e)return D("Invalid null started with nul"+e);c(null),o(),B=J.pop()||l;continue;case S:if("."!==e)return D("Leading zero not followed by .");_+=e,B=T;continue;case T:if(-1!=="0123456789".indexOf(e))_+=e;else if("."===e){if(-1!==_.indexOf("."))return D("Invalid number has two dots");_+=e}else if("e"===e||"E"===e){if(-1!==_.indexOf("e")||-1!==_.indexOf("E"))return D("Invalid number has two exponential");_+=e}else if("+"===e||"-"===e){if("e"!==u&&"E"!==u)return D("Invalid symbol in number");_+=e}else _&&(c(parseFloat(_)),o(),_=""),r--,B=J.pop()||l;continue;default:return D("Unknown state: "+B)}W>=N&&(G=0,void 0!==R&&R.length>a&&(D("Max buffer length exceeded: textNode"),G=Math.max(G,R.length)),_.length>a&&(D("Max buffer length exceeded: numberNode"),G=Math.max(G,_.length)),N=a-G+W);var G}),n(r.n).on(function(){if(B==b)return c({}),o(),void(H=!0);B===l&&0===U||D("Unexpected end");void 0!==R&&(c(R),o(),R=void 0);H=!0})}},function(n,t,e){"use strict";e.d(t,"a",function(){return f}),e.d(t,"b",function(){return a});var r=e(19),u=e(3),i=e(2),c=e(20),o=e(0);function f(){return new XMLHttpRequest}function a(n,t,e,f,a,s,d){var b=n(u.m).emit,l=n(u.b).emit,j=0,v=!0;function O(){var n=t.responseText,e=n.substr(j);e&&b(e),j=Object(i.e)(n)}n(u.a).on(function(){t.onreadystatechange=null,t.abort()}),"onprogress"in t&&(t.onprogress=O),t.onreadystatechange=function(){function e(){try{v&&n(u.c).emit(t.status,Object(c.a)(t.getAllResponseHeaders())),v=!1}catch(n){}}switch(t.readyState){case 2:case 3:return e();case 4:e(),2==String(t.status)[0]?(O(),n(u.n).emit()):l(Object(u.o)(t.status,t.responseText))}};try{for(var h in t.open(e,f,!0),s)t.setRequestHeader(h,s[h]);Object(r.a)(window.location,Object(r.b)(f))||t.setRequestHeader("X-Requested-With","XMLHttpRequest"),t.withCredentials=d,t.send(a)}catch(n){window.setTimeout(Object(o.j)(l,Object(u.o)(void 0,void 0,n)),0)}}},function(n,t,e){"use strict";function r(n,t){function e(t){return t.port||{"http:":80,"https:":443}[t.protocol||n.protocol]}return!!(t.protocol&&t.protocol!=n.protocol||t.host&&t.host!=n.host||t.host&&e(t)!=e(n))}function u(n){var t=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/.exec(n)||[];return{protocol:t[1]||"",host:t[2]||"",port:t[3]||""}}e.d(t,"a",function(){return r}),e.d(t,"b",function(){return u})},function(n,t,e){"use strict";function r(n){var t={};return n&&n.split("\r\n").forEach(function(n){var e=n.indexOf(": ");t[n.substring(0,e)]=n.substring(e+2)}),t}e.d(t,"a",function(){return r})}]).default});