提交 c251ab79 编写于 作者: S siyangy 提交者: Jiangtao Hu

Dreamview: bundle worker.js without hash

上级 884e495f
因为 它太大了无法显示 source diff 。你可以改为 查看blob
因为 它太大了无法显示 source diff 。你可以改为 查看blob
!function(e){function t(o){if(i[o])return i[o].exports;var r=i[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var i={};t.m=e,t.c=i,t.i=function(e){return e},t.d=function(e,i,o){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=29)}([function(e,t,i){"use strict";var o,r,n=e.exports=i(2),s=i(19);n.codegen=i(31),n.fetch=i(33),n.path=i(35),n.fs=n.inquire("fs"),n.toArray=function(e){if(e){for(var t=Object.keys(e),i=new Array(t.length),o=0;o<t.length;)i[o]=e[t[o++]];return i}return[]},n.toObject=function(e){for(var t={},i=0;i<e.length;){var o=e[i++],r=e[i++];void 0!==r&&(t[o]=r)}return t};var d=/\\/g,a=/"/g;n.isReserved=function(e){return/^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/.test(e)},n.safeProp=function(e){return!/^[$\w_]+$/.test(e)||n.isReserved(e)?'["'+e.replace(d,"\\\\").replace(a,'\\"')+'"]':"."+e},n.ucFirst=function(e){return e.charAt(0).toUpperCase()+e.substring(1)};var p=/_([a-z])/g;n.camelCase=function(e){return e.substring(0,1)+e.substring(1).replace(p,function(e,t){return t.toUpperCase()})},n.compareFieldsById=function(e,t){return e.id-t.id},n.decorateType=function(e,t){if(e.$type)return t&&e.$type.name!==t&&(n.decorateRoot.remove(e.$type),e.$type.name=t,n.decorateRoot.add(e.$type)),e.$type;o||(o=i(22));var r=new o(t||e.name);return n.decorateRoot.add(r),r.ctor=e,Object.defineProperty(e,"$type",{value:r,enumerable:!1}),Object.defineProperty(e.prototype,"$type",{value:r,enumerable:!1}),r};var l=0;n.decorateEnum=function(e){if(e.$type)return e.$type;r||(r=i(1));var t=new r("Enum"+l++,e);return n.decorateRoot.add(t),Object.defineProperty(e,"$type",{value:t,enumerable:!1}),t},Object.defineProperty(n,"decorateRoot",{get:function(){return s.decorated||(s.decorated=new(i(18)))}})},function(e,t,i){"use strict";function o(e,t,i){if(r.call(this,e,i),t&&"object"!=typeof t)throw TypeError("values must be an object");if(this.valuesById={},this.values=Object.create(this.valuesById),this.comments={},this.reserved=void 0,t)for(var o=Object.keys(t),n=0;n<o.length;++n)"number"==typeof t[o[n]]&&(this.valuesById[this.values[o[n]]=t[o[n]]]=o[n])}e.exports=o;var r=i(4);((o.prototype=Object.create(r.prototype)).constructor=o).className="Enum";var n=i(5),s=i(0);o.fromJSON=function(e,t){var i=new o(e,t.values,t.options);return i.reserved=t.reserved,i},o.prototype.toJSON=function(){return s.toObject(["options",this.options,"values",this.values,"reserved",this.reserved&&this.reserved.length?this.reserved:void 0])},o.prototype.add=function(e,t,i){if(!s.isString(e))throw TypeError("name must be a string");if(!s.isInteger(t))throw TypeError("id must be an integer");if(void 0!==this.values[e])throw Error("duplicate name '"+e+"' in "+this);if(this.isReservedId(t))throw Error("id "+t+" is reserved in "+this);if(this.isReservedName(e))throw Error("name '"+e+"' is reserved in "+this);if(void 0!==this.valuesById[t]){if(!this.options||!this.options.allow_alias)throw Error("duplicate id "+t+" in "+this);this.values[e]=t}else this.valuesById[this.values[e]=t]=e;return this.comments[e]=i||null,this},o.prototype.remove=function(e){if(!s.isString(e))throw TypeError("name must be a string");var t=this.values[e];if(null==t)throw Error("name '"+e+"' does not exist in "+this);return delete this.valuesById[t],delete this.values[e],delete this.comments[e],this},o.prototype.isReservedId=function(e){return n.isReservedId(this.reserved,e)},o.prototype.isReservedName=function(e){return n.isReservedName(this.reserved,e)}},function(e,t,i){"use strict";(function(e){function o(e,t,i){for(var o=Object.keys(t),r=0;r<o.length;++r)void 0!==e[o[r]]&&i||(e[o[r]]=t[o[r]]);return e}function r(e){function t(e,i){if(!(this instanceof t))return new t(e,i);Object.defineProperty(this,"message",{get:function(){return e}}),Error.captureStackTrace?Error.captureStackTrace(this,t):Object.defineProperty(this,"stack",{value:(new Error).stack||""}),i&&o(this,i)}return(t.prototype=Object.create(Error.prototype)).constructor=t,Object.defineProperty(t.prototype,"name",{get:function(){return e}}),t.prototype.toString=function(){return this.name+": "+this.message},t}var n=t;n.asPromise=i(11),n.base64=i(30),n.EventEmitter=i(32),n.float=i(34),n.inquire=i(12),n.utf8=i(37),n.pool=i(36),n.LongBits=i(42),n.emptyArray=Object.freeze?Object.freeze([]):[],n.emptyObject=Object.freeze?Object.freeze({}):{},n.isNode=Boolean(e.process&&e.process.versions&&e.process.versions.node),n.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},n.isString=function(e){return"string"==typeof e||e instanceof String},n.isObject=function(e){return e&&"object"==typeof e},n.isset=n.isSet=function(e,t){var i=e[t];return!(null==i||!e.hasOwnProperty(t))&&("object"!=typeof i||(Array.isArray(i)?i.length:Object.keys(i).length)>0)},n.Buffer=function(){try{var e=n.inquire("buffer").Buffer;return e.prototype.utf8Write?e:null}catch(e){return null}}(),n._Buffer_from=null,n._Buffer_allocUnsafe=null,n.newBuffer=function(e){return"number"==typeof e?n.Buffer?n._Buffer_allocUnsafe(e):new n.Array(e):n.Buffer?n._Buffer_from(e):"undefined"==typeof Uint8Array?e:new Uint8Array(e)},n.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,n.Long=e.dcodeIO&&e.dcodeIO.Long||n.inquire("long"),n.key2Re=/^true|false|0|1$/,n.key32Re=/^-?(?:0|[1-9][0-9]*)$/,n.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,n.longToHash=function(e){return e?n.LongBits.from(e).toHash():n.LongBits.zeroHash},n.longFromHash=function(e,t){var i=n.LongBits.fromHash(e);return n.Long?n.Long.fromBits(i.lo,i.hi,t):i.toNumber(Boolean(t))},n.merge=o,n.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},n.newError=r,n.ProtocolError=r("ProtocolError"),n.oneOfGetter=function(e){for(var t={},i=0;i<e.length;++i)t[e[i]]=1;return function(){for(var e=Object.keys(this),i=e.length-1;i>-1;--i)if(1===t[e[i]]&&void 0!==this[e[i]]&&null!==this[e[i]])return e[i]}},n.oneOfSetter=function(e){return function(t){for(var i=0;i<e.length;++i)e[i]!==t&&delete this[e[i]]}},n.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},n._configure=function(){var e=n.Buffer;if(!e)return void(n._Buffer_from=n._Buffer_allocUnsafe=null);n._Buffer_from=e.from!==Uint8Array.from&&e.from||function(t,i){return new e(t,i)},n._Buffer_allocUnsafe=e.allocUnsafe||function(t){return new e(t)}}}).call(t,i(44))},function(e,t,i){"use strict";function o(e,t,i,o,n,s){if(a.isObject(o)?(s=o,o=n=void 0):a.isObject(n)&&(s=n,n=void 0),r.call(this,e,s),!a.isInteger(t)||t<0)throw TypeError("id must be a non-negative integer");if(!a.isString(i))throw TypeError("type must be a string");if(void 0!==o&&!p.test(o=o.toString().toLowerCase()))throw TypeError("rule must be a string rule");if(void 0!==n&&!a.isString(n))throw TypeError("extend must be a string");this.rule=o&&"optional"!==o?o:void 0,this.type=i,this.id=t,this.extend=n||void 0,this.required="required"===o,this.optional=!this.required,this.repeated="repeated"===o,this.map=!1,this.message=null,this.partOf=null,this.typeDefault=null,this.defaultValue=null,this.long=!!a.Long&&void 0!==d.long[i],this.bytes="bytes"===i,this.resolvedType=null,this.extensionField=null,this.declaringField=null,this._packed=null}e.exports=o;var r=i(4);((o.prototype=Object.create(r.prototype)).constructor=o).className="Field";var n,s=i(1),d=i(6),a=i(0),p=/^required|optional|repeated$/;o.fromJSON=function(e,t){return new o(e,t.id,t.type,t.rule,t.extend,t.options)},Object.defineProperty(o.prototype,"packed",{get:function(){return null===this._packed&&(this._packed=!1!==this.getOption("packed")),this._packed}}),o.prototype.setOption=function(e,t,i){return"packed"===e&&(this._packed=null),r.prototype.setOption.call(this,e,t,i)},o.prototype.toJSON=function(){return a.toObject(["rule","optional"!==this.rule&&this.rule||void 0,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options])},o.prototype.resolve=function(){if(this.resolved)return this;if(void 0===(this.typeDefault=d.defaults[this.type])&&(this.resolvedType=(this.declaringField?this.declaringField.parent:this.parent).lookupTypeOrEnum(this.type),this.resolvedType instanceof n?this.typeDefault=null:this.typeDefault=this.resolvedType.values[Object.keys(this.resolvedType.values)[0]]),this.options&&null!=this.options.default&&(this.typeDefault=this.options.default,this.resolvedType instanceof s&&"string"==typeof this.typeDefault&&(this.typeDefault=this.resolvedType.values[this.typeDefault])),this.options&&(!0!==this.options.packed&&(void 0===this.options.packed||!this.resolvedType||this.resolvedType instanceof s)||delete this.options.packed,Object.keys(this.options).length||(this.options=void 0)),this.long)this.typeDefault=a.Long.fromNumber(this.typeDefault,"u"===this.type.charAt(0)),Object.freeze&&Object.freeze(this.typeDefault);else if(this.bytes&&"string"==typeof this.typeDefault){var e;a.base64.test(this.typeDefault)?a.base64.decode(this.typeDefault,e=a.newBuffer(a.base64.length(this.typeDefault)),0):a.utf8.write(this.typeDefault,e=a.newBuffer(a.utf8.length(this.typeDefault)),0),this.typeDefault=e}return this.map?this.defaultValue=a.emptyObject:this.repeated?this.defaultValue=a.emptyArray:this.defaultValue=this.typeDefault,this.parent instanceof n&&(this.parent.ctor.prototype[this.name]=this.defaultValue),r.prototype.resolve.call(this)},o.d=function(e,t,i,r){return"function"==typeof t?t=a.decorateType(t).name:t&&"object"==typeof t&&(t=a.decorateEnum(t).name),function(n,s){a.decorateType(n.constructor).add(new o(s,e,t,i,{default:r}))}},o._configure=function(e){n=e}},function(e,t,i){"use strict";function o(e,t){if(!n.isString(e))throw TypeError("name must be a string");if(t&&!n.isObject(t))throw TypeError("options must be an object");this.options=t,this.name=e,this.parent=null,this.resolved=!1,this.comment=null,this.filename=null}e.exports=o,o.className="ReflectionObject";var r,n=i(0);Object.defineProperties(o.prototype,{root:{get:function(){for(var e=this;null!==e.parent;)e=e.parent;return e}},fullName:{get:function(){for(var e=[this.name],t=this.parent;t;)e.unshift(t.name),t=t.parent;return e.join(".")}}}),o.prototype.toJSON=function(){throw Error()},o.prototype.onAdd=function(e){this.parent&&this.parent!==e&&this.parent.remove(this),this.parent=e,this.resolved=!1;var t=e.root;t instanceof r&&t._handleAdd(this)},o.prototype.onRemove=function(e){var t=e.root;t instanceof r&&t._handleRemove(this),this.parent=null,this.resolved=!1},o.prototype.resolve=function(){return this.resolved?this:(this.root instanceof r&&(this.resolved=!0),this)},o.prototype.getOption=function(e){if(this.options)return this.options[e]},o.prototype.setOption=function(e,t,i){return i&&this.options&&void 0!==this.options[e]||((this.options||(this.options={}))[e]=t),this},o.prototype.setOptions=function(e,t){if(e)for(var i=Object.keys(e),o=0;o<i.length;++o)this.setOption(i[o],e[i[o]],t);return this},o.prototype.toString=function(){var e=this.constructor.className,t=this.fullName;return t.length?e+" "+t:e},o._configure=function(e){r=e}},function(e,t,i){"use strict";function o(e){if(e&&e.length){for(var t={},i=0;i<e.length;++i)t[e[i].name]=e[i].toJSON();return t}}function r(e,t){s.call(this,e,t),this.nested=void 0,this._nestedArray=null}function n(e){return e._nestedArray=null,e}e.exports=r;var s=i(4);((r.prototype=Object.create(s.prototype)).constructor=r).className="Namespace";var d,a,p=i(1),l=i(3),u=i(0);r.fromJSON=function(e,t){return new r(e,t.options).addJSON(t.nested)},r.arrayToJSON=o,r.isReservedId=function(e,t){if(e)for(var i=0;i<e.length;++i)if("string"!=typeof e[i]&&e[i][0]<=t&&e[i][1]>=t)return!0;return!1},r.isReservedName=function(e,t){if(e)for(var i=0;i<e.length;++i)if(e[i]===t)return!0;return!1},Object.defineProperty(r.prototype,"nestedArray",{get:function(){return this._nestedArray||(this._nestedArray=u.toArray(this.nested))}}),r.prototype.toJSON=function(){return u.toObject(["options",this.options,"nested",o(this.nestedArray)])},r.prototype.addJSON=function(e){var t=this;if(e)for(var i,o=Object.keys(e),n=0;n<o.length;++n)i=e[o[n]],t.add((void 0!==i.fields?d.fromJSON:void 0!==i.values?p.fromJSON:void 0!==i.methods?a.fromJSON:void 0!==i.id?l.fromJSON:r.fromJSON)(o[n],i));return this},r.prototype.get=function(e){return this.nested&&this.nested[e]||null},r.prototype.getEnum=function(e){if(this.nested&&this.nested[e]instanceof p)return this.nested[e].values;throw Error("no such enum")},r.prototype.add=function(e){if(!(e instanceof l&&void 0!==e.extend||e instanceof d||e instanceof p||e instanceof a||e instanceof r))throw TypeError("object must be a valid nested object");if(this.nested){var t=this.get(e.name);if(t){if(!(t instanceof r&&e instanceof r)||t instanceof d||t instanceof a)throw Error("duplicate name '"+e.name+"' in "+this);for(var i=t.nestedArray,o=0;o<i.length;++o)e.add(i[o]);this.remove(t),this.nested||(this.nested={}),e.setOptions(t.options,!0)}}else this.nested={};return this.nested[e.name]=e,e.onAdd(this),n(this)},r.prototype.remove=function(e){if(!(e instanceof s))throw TypeError("object must be a ReflectionObject");if(e.parent!==this)throw Error(e+" is not a member of "+this);return delete this.nested[e.name],Object.keys(this.nested).length||(this.nested=void 0),e.onRemove(this),n(this)},r.prototype.define=function(e,t){if(u.isString(e))e=e.split(".");else if(!Array.isArray(e))throw TypeError("illegal path");if(e&&e.length&&""===e[0])throw Error("path must be relative");for(var i=this;e.length>0;){var o=e.shift();if(i.nested&&i.nested[o]){if(!((i=i.nested[o])instanceof r))throw Error("path conflicts with non-namespace objects")}else i.add(i=new r(o))}return t&&i.addJSON(t),i},r.prototype.resolveAll=function(){for(var e=this.nestedArray,t=0;t<e.length;)e[t]instanceof r?e[t++].resolveAll():e[t++].resolve();return this.resolve()},r.prototype.lookup=function(e,t,i){if("boolean"==typeof t?(i=t,t=void 0):t&&!Array.isArray(t)&&(t=[t]),u.isString(e)&&e.length){if("."===e)return this.root;e=e.split(".")}else if(!e.length)return this;if(""===e[0])return this.root.lookup(e.slice(1),t);var o=this.get(e[0]);if(o){if(1===e.length){if(!t||t.indexOf(o.constructor)>-1)return o}else if(o instanceof r&&(o=o.lookup(e.slice(1),t,!0)))return o}else for(var n=0;n<this.nestedArray.length;++n)if(this._nestedArray[n]instanceof r&&(o=this._nestedArray[n].lookup(e,t,!0)))return o;return null===this.parent||i?null:this.parent.lookup(e,t)},r.prototype.lookupType=function(e){var t=this.lookup(e,[d]);if(!t)throw Error("no such type");return t},r.prototype.lookupEnum=function(e){var t=this.lookup(e,[p]);if(!t)throw Error("no such Enum '"+e+"' in "+this);return t},r.prototype.lookupTypeOrEnum=function(e){var t=this.lookup(e,[d,p]);if(!t)throw Error("no such Type or Enum '"+e+"' in "+this);return t},r.prototype.lookupService=function(e){var t=this.lookup(e,[a]);if(!t)throw Error("no such Service '"+e+"' in "+this);return t},r._configure=function(e,t){d=e,a=t}},function(e,t,i){"use strict";function o(e,t){var i=0,o={};for(t|=0;i<e.length;)o[s[i+t]]=e[i++];return o}var r=t,n=i(0),s=["double","float","int32","uint32","sint32","fixed32","sfixed32","int64","uint64","sint64","fixed64","sfixed64","bool","string","bytes"];r.basic=o([1,5,0,0,0,5,5,0,0,0,1,1,0,2,2]),r.defaults=o([0,0,0,0,0,0,0,0,0,0,0,0,!1,"",n.emptyArray,null]),r.long=o([0,0,0,1,1],7),r.mapKey=o([0,0,0,5,5,0,0,0,1,1,0,2],2),r.packed=o([1,5,0,0,0,5,5,0,0,0,1,1,0])},function(e,t,i){"use strict";function o(e){if(e)for(var t=Object.keys(e),i=0;i<t.length;++i)this[t[i]]=e[t[i]]}e.exports=o;var r=i(2);o.create=function(e){return this.$type.create(e)},o.encode=function(e,t){return this.$type.encode(e,t)},o.encodeDelimited=function(e,t){return this.$type.encodeDelimited(e,t)},o.decode=function(e){return this.$type.decode(e)},o.decodeDelimited=function(e){return this.$type.decodeDelimited(e)},o.verify=function(e){return this.$type.verify(e)},o.fromObject=function(e){return this.$type.fromObject(e)},o.toObject=function(e,t){return this.$type.toObject(e,t)},o.prototype.toJSON=function(){return this.$type.toObject(this,r.toJSONOptions)}},function(e,t,i){"use strict";function o(e,t,i){if(Array.isArray(t)||(i=t,t=void 0),n.call(this,e,i),void 0!==t&&!Array.isArray(t))throw TypeError("fieldNames must be an Array");this.oneof=t||[],this.fieldsArray=[]}function r(e){if(e.parent)for(var t=0;t<e.fieldsArray.length;++t)e.fieldsArray[t].parent||e.parent.add(e.fieldsArray[t])}e.exports=o;var n=i(4);((o.prototype=Object.create(n.prototype)).constructor=o).className="OneOf";var s=i(3),d=i(0);o.fromJSON=function(e,t){return new o(e,t.oneof,t.options)},o.prototype.toJSON=function(){return d.toObject(["options",this.options,"oneof",this.oneof])},o.prototype.add=function(e){if(!(e instanceof s))throw TypeError("field must be a Field");return e.parent&&e.parent!==this.parent&&e.parent.remove(e),this.oneof.push(e.name),this.fieldsArray.push(e),e.partOf=this,r(this),this},o.prototype.remove=function(e){if(!(e instanceof s))throw TypeError("field must be a Field");var t=this.fieldsArray.indexOf(e);if(t<0)throw Error(e+" is not a member of "+this);return this.fieldsArray.splice(t,1),t=this.oneof.indexOf(e.name),t>-1&&this.oneof.splice(t,1),e.partOf=null,this},o.prototype.onAdd=function(e){n.prototype.onAdd.call(this,e);for(var t=this,i=0;i<this.oneof.length;++i){var o=e.get(this.oneof[i]);o&&!o.partOf&&(o.partOf=t,t.fieldsArray.push(o))}r(this)},o.prototype.onRemove=function(e){for(var t,i=0;i<this.fieldsArray.length;++i)(t=this.fieldsArray[i]).parent&&t.parent.remove(t);n.prototype.onRemove.call(this,e)},o.d=function(){for(var e=new Array(arguments.length),t=0;t<arguments.length;)e[t]=arguments[t++];return function(t,i){d.decorateType(t.constructor).add(new o(i,e)),Object.defineProperty(t,i,{get:d.oneOfGetter(e),set:d.oneOfSetter(e)})}}},function(e,t,i){"use strict";function o(e,t){return RangeError("index out of range: "+e.pos+" + "+(t||1)+" > "+e.len)}function r(e){this.buf=e,this.pos=0,this.len=e.length}function n(){var e=new l(0,0),t=0;if(!(this.len-this.pos>4)){for(;t<3;++t){if(this.pos>=this.len)throw o(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;if(t=0,this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw o(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error("invalid varint encoding")}function s(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function d(){if(this.pos+8>this.len)throw o(this,8);return new l(s(this.buf,this.pos+=4),s(this.buf,this.pos+=4))}e.exports=r;var a,p=i(2),l=p.LongBits,u=p.utf8,f="undefined"!=typeof Uint8Array?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new r(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new r(e);throw Error("illegal buffer")};r.create=p.Buffer?function(e){return(r.create=function(e){return p.Buffer.isBuffer(e)?new a(e):f(e)})(e)}:f,r.prototype._slice=p.Array.prototype.subarray||p.Array.prototype.slice,r.prototype.uint32=function(){var e=4294967295;return function(){if(e=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return e;if((this.pos+=5)>this.len)throw this.pos=this.len,o(this,10);return e}}(),r.prototype.int32=function(){return 0|this.uint32()},r.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)|0},r.prototype.bool=function(){return 0!==this.uint32()},r.prototype.fixed32=function(){if(this.pos+4>this.len)throw o(this,4);return s(this.buf,this.pos+=4)},r.prototype.sfixed32=function(){if(this.pos+4>this.len)throw o(this,4);return 0|s(this.buf,this.pos+=4)},r.prototype.float=function(){if(this.pos+4>this.len)throw o(this,4);var e=p.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},r.prototype.double=function(){if(this.pos+8>this.len)throw o(this,4);var e=p.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},r.prototype.bytes=function(){var e=this.uint32(),t=this.pos,i=this.pos+e;if(i>this.len)throw o(this,e);return this.pos+=e,Array.isArray(this.buf)?this.buf.slice(t,i):t===i?new this.buf.constructor(0):this._slice.call(this.buf,t,i)},r.prototype.string=function(){var e=this.bytes();return u.read(e,0,e.length)},r.prototype.skip=function(e){if("number"==typeof e){if(this.pos+e>this.len)throw o(this,e);this.pos+=e}else do{if(this.pos>=this.len)throw o(this)}while(128&this.buf[this.pos++]);return this},r.prototype.skipType=function(e){switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;;){if(4==(e=7&this.uint32()))break;this.skipType(e)}break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+e+" at offset "+this.pos)}return this},r._configure=function(e){a=e;var t=p.Long?"toLong":"toNumber";p.merge(r.prototype,{int64:function(){return n.call(this)[t](!1)},uint64:function(){return n.call(this)[t](!0)},sint64:function(){return n.call(this).zzDecode()[t](!1)},fixed64:function(){return d.call(this)[t](!0)},sfixed64:function(){return d.call(this)[t](!1)}})}},function(e,t,i){"use strict";function o(e,t,i){this.fn=e,this.len=t,this.next=void 0,this.val=i}function r(){}function n(e){this.head=e.head,this.tail=e.tail,this.len=e.len,this.next=e.states}function s(){this.len=0,this.head=new o(r,0,0),this.tail=this.head,this.states=null}function d(e,t,i){t[i]=255&e}function a(e,t,i){for(;e>127;)t[i++]=127&e|128,e>>>=7;t[i]=e}function p(e,t){this.len=e,this.next=void 0,this.val=t}function l(e,t,i){for(;e.hi;)t[i++]=127&e.lo|128,e.lo=(e.lo>>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[i++]=127&e.lo|128,e.lo=e.lo>>>7;t[i++]=e.lo}function u(e,t,i){t[i]=255&e,t[i+1]=e>>>8&255,t[i+2]=e>>>16&255,t[i+3]=e>>>24}e.exports=s;var f,y=i(2),c=y.LongBits,h=y.base64,g=y.utf8;s.create=y.Buffer?function(){return(s.create=function(){return new f})()}:function(){return new s},s.alloc=function(e){return new y.Array(e)},y.Array!==Array&&(s.alloc=y.pool(s.alloc,y.Array.prototype.subarray)),s.prototype._push=function(e,t,i){return this.tail=this.tail.next=new o(e,t,i),this.len+=t,this},p.prototype=Object.create(o.prototype),p.prototype.fn=a,s.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new p((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this},s.prototype.int32=function(e){return e<0?this._push(l,10,c.fromNumber(e)):this.uint32(e)},s.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},s.prototype.uint64=function(e){var t=c.from(e);return this._push(l,t.length(),t)},s.prototype.int64=s.prototype.uint64,s.prototype.sint64=function(e){var t=c.from(e).zzEncode();return this._push(l,t.length(),t)},s.prototype.bool=function(e){return this._push(d,1,e?1:0)},s.prototype.fixed32=function(e){return this._push(u,4,e>>>0)},s.prototype.sfixed32=s.prototype.fixed32,s.prototype.fixed64=function(e){var t=c.from(e);return this._push(u,4,t.lo)._push(u,4,t.hi)},s.prototype.sfixed64=s.prototype.fixed64,s.prototype.float=function(e){return this._push(y.float.writeFloatLE,4,e)},s.prototype.double=function(e){return this._push(y.float.writeDoubleLE,8,e)};var m=y.Array.prototype.set?function(e,t,i){t.set(e,i)}:function(e,t,i){for(var o=0;o<e.length;++o)t[i+o]=e[o]};s.prototype.bytes=function(e){var t=e.length>>>0;if(!t)return this._push(d,1,0);if(y.isString(e)){var i=s.alloc(t=h.length(e));h.decode(e,i,0),e=i}return this.uint32(t)._push(m,t,e)},s.prototype.string=function(e){var t=g.length(e);return t?this.uint32(t)._push(g.write,t,e):this._push(d,1,0)},s.prototype.fork=function(){return this.states=new n(this),this.head=this.tail=new o(r,0,0),this.len=0,this},s.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new o(r,0,0),this.len=0),this},s.prototype.ldelim=function(){var e=this.head,t=this.tail,i=this.len;return this.reset().uint32(i),i&&(this.tail.next=e.next,this.tail=t,this.len+=i),this},s.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),i=0;e;)e.fn(e.val,t,i),i+=e.len,e=e.next;return t},s._configure=function(e){f=e}},function(e,t,i){"use strict";function o(e,t){for(var i=new Array(arguments.length-1),o=0,r=2,n=!0;r<arguments.length;)i[o++]=arguments[r++];return new Promise(function(r,s){i[o]=function(e){if(n)if(n=!1,e)s(e);else{for(var t=new Array(arguments.length-1),i=0;i<t.length;)t[i++]=arguments[i];r.apply(null,t)}};try{e.apply(t||null,i)}catch(e){n&&(n=!1,s(e))}})}e.exports=o},function(module,exports,__webpack_require__){"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}module.exports=inquire},function(e,t,i){"use strict";function o(e,t,i,o){if(t.resolvedType)if(t.resolvedType instanceof s){e("switch(d%s){",o);for(var r=t.resolvedType.values,n=Object.keys(r),d=0;d<n.length;++d)t.repeated&&r[n[d]]===t.typeDefault&&e("default:"),e("case%j:",n[d])("case %i:",r[n[d]])("m%s=%j",o,r[n[d]])("break");e("}")}else e('if(typeof d%s!=="object")',o)("throw TypeError(%j)",t.fullName+": object expected")("m%s=types[%i].fromObject(d%s)",o,i,o);else{var a=!1;switch(t.type){case"double":case"float":e("m%s=Number(d%s)",o,o);break;case"uint32":case"fixed32":e("m%s=d%s>>>0",o,o);break;case"int32":case"sint32":case"sfixed32":e("m%s=d%s|0",o,o);break;case"uint64":a=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":e("if(util.Long)")("(m%s=util.Long.fromValue(d%s)).unsigned=%j",o,o,a)('else if(typeof d%s==="string")',o)("m%s=parseInt(d%s,10)",o,o)('else if(typeof d%s==="number")',o)("m%s=d%s",o,o)('else if(typeof d%s==="object")',o)("m%s=new util.LongBits(d%s.low>>>0,d%s.high>>>0).toNumber(%s)",o,o,o,a?"true":"");break;case"bytes":e('if(typeof d%s==="string")',o)("util.base64.decode(d%s,m%s=util.newBuffer(util.base64.length(d%s)),0)",o,o,o)("else if(d%s.length)",o)("m%s=d%s",o,o);break;case"string":e("m%s=String(d%s)",o,o);break;case"bool":e("m%s=Boolean(d%s)",o,o)}}return e}function r(e,t,i,o){if(t.resolvedType)t.resolvedType instanceof s?e("d%s=o.enums===String?types[%i].values[m%s]:m%s",o,i,o,o):e("d%s=types[%i].toObject(m%s,o)",o,i,o);else{var r=!1;switch(t.type){case"double":case"float":e("d%s=o.json&&!isFinite(m%s)?String(m%s):m%s",o,o,o,o);break;case"uint64":r=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":e('if(typeof m%s==="number")',o)("d%s=o.longs===String?String(m%s):m%s",o,o,o)("else")("d%s=o.longs===String?util.Long.prototype.toString.call(m%s):o.longs===Number?new util.LongBits(m%s.low>>>0,m%s.high>>>0).toNumber(%s):m%s",o,o,o,o,r?"true":"",o);break;case"bytes":e("d%s=o.bytes===String?util.base64.encode(m%s,0,m%s.length):o.bytes===Array?Array.prototype.slice.call(m%s):m%s",o,o,o,o,o);break;default:e("d%s=m%s",o,o)}}return e}var n=t,s=i(1),d=i(0);n.fromObject=function(e){var t=e.fieldsArray,i=d.codegen(["d"],e.name+"$fromObject")("if(d instanceof this.ctor)")("return d");if(!t.length)return i("return new this.ctor");i("var m=new this.ctor");for(var r=0;r<t.length;++r){var n=t[r].resolve(),a=d.safeProp(n.name);n.map?(i("if(d%s){",a)('if(typeof d%s!=="object")',a)("throw TypeError(%j)",n.fullName+": object expected")("m%s={}",a)("for(var ks=Object.keys(d%s),i=0;i<ks.length;++i){",a),o(i,n,r,a+"[ks[i]]")("}")("}")):n.repeated?(i("if(d%s){",a)("if(!Array.isArray(d%s))",a)("throw TypeError(%j)",n.fullName+": array expected")("m%s=[]",a)("for(var i=0;i<d%s.length;++i){",a),o(i,n,r,a+"[i]")("}")("}")):(n.resolvedType instanceof s||i("if(d%s!=null){",a),o(i,n,r,a),n.resolvedType instanceof s||i("}"))}return i("return m")},n.toObject=function(e){var t=e.fieldsArray.slice().sort(d.compareFieldsById);if(!t.length)return d.codegen()("return {}");for(var i=d.codegen(["m","o"],e.name+"$toObject")("if(!o)")("o={}")("var d={}"),o=[],n=[],a=[],p=0;p<t.length;++p)t[p].partOf||(t[p].resolve().repeated?o:t[p].map?n:a).push(t[p]);if(o.length){for(i("if(o.arrays||o.defaults){"),p=0;p<o.length;++p)i("d%s=[]",d.safeProp(o[p].name));i("}")}if(n.length){for(i("if(o.objects||o.defaults){"),p=0;p<n.length;++p)i("d%s={}",d.safeProp(n[p].name));i("}")}if(a.length){for(i("if(o.defaults){"),p=0;p<a.length;++p){var l=a[p],u=d.safeProp(l.name);l.resolvedType instanceof s?i("d%s=o.enums===String?%j:%j",u,l.resolvedType.valuesById[l.typeDefault],l.typeDefault):l.long?i("if(util.Long){")("var n=new util.Long(%i,%i,%j)",l.typeDefault.low,l.typeDefault.high,l.typeDefault.unsigned)("d%s=o.longs===String?n.toString():o.longs===Number?n.toNumber():n",u)("}else")("d%s=o.longs===String?%j:%i",u,l.typeDefault.toString(),l.typeDefault.toNumber()):l.bytes?i("d%s=o.bytes===String?%j:%s",u,String.fromCharCode.apply(String,l.typeDefault),"["+Array.prototype.slice.call(l.typeDefault).join(",")+"]"):i("d%s=%j",u,l.typeDefault)}i("}")}var f=!1;for(p=0;p<t.length;++p){var l=t[p],y=e._fieldsArray.indexOf(l),u=d.safeProp(l.name);l.map?(f||(f=!0,i("var ks2")),i("if(m%s&&(ks2=Object.keys(m%s)).length){",u,u)("d%s={}",u)("for(var j=0;j<ks2.length;++j){"),r(i,l,y,u+"[ks2[j]]")("}")):l.repeated?(i("if(m%s&&m%s.length){",u,u)("d%s=[]",u)("for(var j=0;j<m%s.length;++j){",u),r(i,l,y,u+"[j]")("}")):(i("if(m%s!=null&&m.hasOwnProperty(%j)){",u,l.name),r(i,l,y,u),l.partOf&&i("if(o.oneofs)")("d%s=%j",d.safeProp(l.partOf.name),l.name)),i("}")}return i("return d")}},function(e,t,i){"use strict";function o(e){return"missing required '"+e.name+"'"}function r(e){var t=d.codegen(["r","l"],e.name+"$decode")("if(!(r instanceof Reader))")("r=Reader.create(r)")("var c=l===undefined?r.len:r.pos+l,m=new this.ctor"+(e.fieldsArray.filter(function(e){return e.map}).length?",k":""))("while(r.pos<c){")("var t=r.uint32()");e.group&&t("if((t&7)===4)")("break"),t("switch(t>>>3){");for(var i=0;i<e.fieldsArray.length;++i){var r=e._fieldsArray[i].resolve(),a=r.resolvedType instanceof n?"int32":r.type,p="m"+d.safeProp(r.name);t("case %i:",r.id),r.map?(t("r.skip().pos++")("if(%s===util.emptyObject)",p)("%s={}",p)("k=r.%s()",r.keyType)("r.pos++"),void 0!==s.long[r.keyType]?void 0===s.basic[a]?t('%s[typeof k==="object"?util.longToHash(k):k]=types[%i].decode(r,r.uint32())',p,i):t('%s[typeof k==="object"?util.longToHash(k):k]=r.%s()',p,a):void 0===s.basic[a]?t("%s[k]=types[%i].decode(r,r.uint32())",p,i):t("%s[k]=r.%s()",p,a)):r.repeated?(t("if(!(%s&&%s.length))",p,p)("%s=[]",p),void 0!==s.packed[a]&&t("if((t&7)===2){")("var c2=r.uint32()+r.pos")("while(r.pos<c2)")("%s.push(r.%s())",p,a)("}else"),void 0===s.basic[a]?t(r.resolvedType.group?"%s.push(types[%i].decode(r))":"%s.push(types[%i].decode(r,r.uint32()))",p,i):t("%s.push(r.%s())",p,a)):void 0===s.basic[a]?t(r.resolvedType.group?"%s=types[%i].decode(r)":"%s=types[%i].decode(r,r.uint32())",p,i):t("%s=r.%s()",p,a),t("break")}for(t("default:")("r.skipType(t&7)")("break")("}")("}"),i=0;i<e._fieldsArray.length;++i){var l=e._fieldsArray[i];l.required&&t("if(!m.hasOwnProperty(%j))",l.name)("throw util.ProtocolError(%j,{instance:m})",o(l))}return t("return m")}e.exports=r;var n=i(1),s=i(6),d=i(0)},function(e,t,i){"use strict";function o(e,t,i,o){return t.resolvedType.group?e("types[%i].encode(%s,w.uint32(%i)).uint32(%i)",i,o,(t.id<<3|3)>>>0,(t.id<<3|4)>>>0):e("types[%i].encode(%s,w.uint32(%i).fork()).ldelim()",i,o,(t.id<<3|2)>>>0)}function r(e){for(var t,i,r=d.codegen(["m","w"],e.name+"$encode")("if(!w)")("w=Writer.create()"),a=e.fieldsArray.slice().sort(d.compareFieldsById),t=0;t<a.length;++t){var p=a[t].resolve(),l=e._fieldsArray.indexOf(p),u=p.resolvedType instanceof n?"int32":p.type,f=s.basic[u];i="m"+d.safeProp(p.name),p.map?(r("if(%s!=null&&m.hasOwnProperty(%j)){",i,p.name)("for(var ks=Object.keys(%s),i=0;i<ks.length;++i){",i)("w.uint32(%i).fork().uint32(%i).%s(ks[i])",(p.id<<3|2)>>>0,8|s.mapKey[p.keyType],p.keyType),void 0===f?r("types[%i].encode(%s[ks[i]],w.uint32(18).fork()).ldelim().ldelim()",l,i):r(".uint32(%i).%s(%s[ks[i]]).ldelim()",16|f,u,i),r("}")("}")):p.repeated?(r("if(%s!=null&&%s.length){",i,i),p.packed&&void 0!==s.packed[u]?r("w.uint32(%i).fork()",(p.id<<3|2)>>>0)("for(var i=0;i<%s.length;++i)",i)("w.%s(%s[i])",u,i)("w.ldelim()"):(r("for(var i=0;i<%s.length;++i)",i),void 0===f?o(r,p,l,i+"[i]"):r("w.uint32(%i).%s(%s[i])",(p.id<<3|f)>>>0,u,i)),r("}")):(p.optional&&r("if(%s!=null&&m.hasOwnProperty(%j))",i,p.name),void 0===f?o(r,p,l,i):r("w.uint32(%i).%s(%s)",(p.id<<3|f)>>>0,u,i))}return r("return w")}e.exports=r;var n=i(1),s=i(6),d=i(0)},function(e,t,i){"use strict";function o(e,t,i,o,n){if(r.call(this,e,t,o,n),!s.isString(i))throw TypeError("keyType must be a string");this.keyType=i,this.resolvedKeyType=null,this.map=!0}e.exports=o;var r=i(3);((o.prototype=Object.create(r.prototype)).constructor=o).className="MapField";var n=i(6),s=i(0);o.fromJSON=function(e,t){return new o(e,t.id,t.keyType,t.type,t.options)},o.prototype.toJSON=function(){return s.toObject(["keyType",this.keyType,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options])},o.prototype.resolve=function(){if(this.resolved)return this;if(void 0===n.mapKey[this.keyType])throw Error("invalid key type: "+this.keyType);return r.prototype.resolve.call(this)},o.d=function(e,t,i){return"function"==typeof i?i=s.decorateType(i).name:i&&"object"==typeof i&&(i=s.decorateEnum(i).name),function(r,n){s.decorateType(r.constructor).add(new o(n,e,t,i))}}},function(e,t,i){"use strict";function o(e,t,i,o,s,d,a){if(n.isObject(s)?(a=s,s=d=void 0):n.isObject(d)&&(a=d,d=void 0),void 0!==t&&!n.isString(t))throw TypeError("type must be a string");if(!n.isString(i))throw TypeError("requestType must be a string");if(!n.isString(o))throw TypeError("responseType must be a string");r.call(this,e,a),this.type=t||"rpc",this.requestType=i,this.requestStream=!!s||void 0,this.responseType=o,this.responseStream=!!d||void 0,this.resolvedRequestType=null,this.resolvedResponseType=null}e.exports=o;var r=i(4);((o.prototype=Object.create(r.prototype)).constructor=o).className="Method";var n=i(0);o.fromJSON=function(e,t){return new o(e,t.type,t.requestType,t.responseType,t.requestStream,t.responseStream,t.options)},o.prototype.toJSON=function(){return n.toObject(["type","rpc"!==this.type&&this.type||void 0,"requestType",this.requestType,"requestStream",this.requestStream,"responseType",this.responseType,"responseStream",this.responseStream,"options",this.options])},o.prototype.resolve=function(){return this.resolved?this:(this.resolvedRequestType=this.parent.lookupType(this.requestType),this.resolvedResponseType=this.parent.lookupType(this.responseType),r.prototype.resolve.call(this))}},function(e,t,i){"use strict";function o(e){s.call(this,"",e),this.deferred=[],this.files=[]}function r(){}function n(e,t){var i=t.parent.lookup(t.extend);if(i){var o=new l(t.fullName,t.id,t.type,t.rule,void 0,t.options);return o.declaringField=t,t.extensionField=o,i.add(o),!0}return!1}e.exports=o;var s=i(5);((o.prototype=Object.create(s.prototype)).constructor=o).className="Root";var d,a,p,l=i(3),u=i(1),f=i(8),y=i(0);o.fromJSON=function(e,t){return t||(t=new o),e.options&&t.setOptions(e.options),t.addJSON(e.nested)},o.prototype.resolvePath=y.path.resolve,o.prototype.load=function e(t,i,o){function n(e,t){if(o){var i=o;if(o=null,u)throw e;i(e,t)}}function s(e,t){try{if(y.isString(t)&&"{"===t.charAt(0)&&(t=JSON.parse(t)),y.isString(t)){a.filename=e;var o,r=a(t,l,i),s=0;if(r.imports)for(;s<r.imports.length;++s)(o=l.resolvePath(e,r.imports[s]))&&d(o);if(r.weakImports)for(s=0;s<r.weakImports.length;++s)(o=l.resolvePath(e,r.weakImports[s]))&&d(o,!0)}else l.setOptions(t.options).addJSON(t.nested)}catch(e){n(e)}u||f||n(null,l)}function d(e,t){var i=e.lastIndexOf("google/protobuf/");if(i>-1){var r=e.substring(i);r in p&&(e=r)}if(!(l.files.indexOf(e)>-1)){if(l.files.push(e),e in p)return void(u?s(e,p[e]):(++f,setTimeout(function(){--f,s(e,p[e])})));if(u){var d;try{d=y.fs.readFileSync(e).toString("utf8")}catch(e){return void(t||n(e))}s(e,d)}else++f,y.fetch(e,function(i,r){if(--f,o)return i?void(t?f||n(null,l):n(i)):void s(e,r)})}}"function"==typeof i&&(o=i,i=void 0);var l=this;if(!o)return y.asPromise(e,l,t,i);var u=o===r,f=0;y.isString(t)&&(t=[t]);for(var c,h=0;h<t.length;++h)(c=l.resolvePath("",t[h]))&&d(c);if(u)return l;f||n(null,l)},o.prototype.loadSync=function(e,t){if(!y.isNode)throw Error("not supported");return this.load(e,t,r)},o.prototype.resolveAll=function(){if(this.deferred.length)throw Error("unresolvable extensions: "+this.deferred.map(function(e){return"'extend "+e.extend+"' in "+e.parent.fullName}).join(", "));return s.prototype.resolveAll.call(this)};var c=/^[A-Z]/;o.prototype._handleAdd=function(e){if(e instanceof l)void 0===e.extend||e.extensionField||n(this,e)||this.deferred.push(e);else if(e instanceof u)c.test(e.name)&&(e.parent[e.name]=e.values);else if(!(e instanceof f)){if(e instanceof d)for(var t=0;t<this.deferred.length;)n(this,this.deferred[t])?this.deferred.splice(t,1):++t;for(var i=0;i<e.nestedArray.length;++i)this._handleAdd(e._nestedArray[i]);c.test(e.name)&&(e.parent[e.name]=e)}},o.prototype._handleRemove=function(e){if(e instanceof l){if(void 0!==e.extend)if(e.extensionField)e.extensionField.parent.remove(e.extensionField),e.extensionField=null;else{var t=this.deferred.indexOf(e);t>-1&&this.deferred.splice(t,1)}}else if(e instanceof u)c.test(e.name)&&delete e.parent[e.name];else if(e instanceof s){for(var i=0;i<e.nestedArray.length;++i)this._handleRemove(e._nestedArray[i]);c.test(e.name)&&delete e.parent[e.name]}},o._configure=function(e,t,i){d=e,a=t,p=i}},function(e,t,i){"use strict";e.exports={}},function(e,t,i){"use strict";t.Service=i(41)},function(e,t,i){"use strict";function o(e,t){n.call(this,e,t),this.methods={},this._methodsArray=null}function r(e){return e._methodsArray=null,e}e.exports=o;var n=i(5);((o.prototype=Object.create(n.prototype)).constructor=o).className="Service";var s=i(17),d=i(0),a=i(20);o.fromJSON=function(e,t){var i=new o(e,t.options);if(t.methods)for(var r=Object.keys(t.methods),n=0;n<r.length;++n)i.add(s.fromJSON(r[n],t.methods[r[n]]));return t.nested&&i.addJSON(t.nested),i},o.prototype.toJSON=function(){var e=n.prototype.toJSON.call(this);return d.toObject(["options",e&&e.options||void 0,"methods",n.arrayToJSON(this.methodsArray)||{},"nested",e&&e.nested||void 0])},Object.defineProperty(o.prototype,"methodsArray",{get:function(){return this._methodsArray||(this._methodsArray=d.toArray(this.methods))}}),o.prototype.get=function(e){return this.methods[e]||n.prototype.get.call(this,e)},o.prototype.resolveAll=function(){for(var e=this.methodsArray,t=0;t<e.length;++t)e[t].resolve();return n.prototype.resolve.call(this)},o.prototype.add=function(e){if(this.get(e.name))throw Error("duplicate name '"+e.name+"' in "+this);return e instanceof s?(this.methods[e.name]=e,e.parent=this,r(this)):n.prototype.add.call(this,e)},o.prototype.remove=function(e){if(e instanceof s){if(this.methods[e.name]!==e)throw Error(e+" is not a member of "+this);return delete this.methods[e.name],e.parent=null,r(this)}return n.prototype.remove.call(this,e)},o.prototype.create=function(e,t,i){for(var o,r=new a.Service(e,t,i),n=0;n<this.methodsArray.length;++n){var s=d.lcFirst((o=this._methodsArray[n]).resolve().name).replace(/[^$\w_]/g,"");r[s]=d.codegen(["r","c"],d.isReserved(s)?s+"_":s)("return this.rpcCall(m,q,s,r,c)")({m:o,q:o.resolvedRequestType.ctor,s:o.resolvedResponseType.ctor})}return r}},function(e,t,i){"use strict";function o(e,t){n.call(this,e,t),this.fields={},this.oneofs=void 0,this.extensions=void 0,this.reserved=void 0,this.group=void 0,this._fieldsById=null,this._fieldsArray=null,this._oneofsArray=null,this._ctor=null}function r(e){return e._fieldsById=e._fieldsArray=e._oneofsArray=null,delete e.encode,delete e.decode,delete e.verify,e}e.exports=o;var n=i(5);((o.prototype=Object.create(n.prototype)).constructor=o).className="Type";var s=i(1),d=i(8),a=i(3),p=i(16),l=i(21),u=i(7),f=i(9),y=i(10),c=i(0),h=i(15),g=i(14),m=i(23),v=i(13),b=i(24);Object.defineProperties(o.prototype,{fieldsById:{get:function(){if(this._fieldsById)return this._fieldsById;this._fieldsById={};for(var e=Object.keys(this.fields),t=0;t<e.length;++t){var i=this.fields[e[t]],o=i.id;if(this._fieldsById[o])throw Error("duplicate id "+o+" in "+this);this._fieldsById[o]=i}return this._fieldsById}},fieldsArray:{get:function(){return this._fieldsArray||(this._fieldsArray=c.toArray(this.fields))}},oneofsArray:{get:function(){return this._oneofsArray||(this._oneofsArray=c.toArray(this.oneofs))}},ctor:{get:function(){return this._ctor||(this.ctor=o.generateConstructor(this)())},set:function(e){var t=e.prototype;t instanceof u||((e.prototype=new u).constructor=e,c.merge(e.prototype,t)),e.$type=e.prototype.$type=this,c.merge(e,u,!0),this._ctor=e;for(var i=0;i<this.fieldsArray.length;++i)this._fieldsArray[i].resolve();var o={};for(i=0;i<this.oneofsArray.length;++i)o[this._oneofsArray[i].resolve().name]={get:c.oneOfGetter(this._oneofsArray[i].oneof),set:c.oneOfSetter(this._oneofsArray[i].oneof)};i&&Object.defineProperties(e.prototype,o)}}}),o.generateConstructor=function(e){for(var t,i=c.codegen(["p"],e.name),o=0;o<e.fieldsArray.length;++o)(t=e._fieldsArray[o]).map?i("this%s={}",c.safeProp(t.name)):t.repeated&&i("this%s=[]",c.safeProp(t.name));return i("if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null)")("this[ks[i]]=p[ks[i]]")},o.fromJSON=function(e,t){var i=new o(e,t.options);i.extensions=t.extensions,i.reserved=t.reserved;for(var r=Object.keys(t.fields),u=0;u<r.length;++u)i.add((void 0!==t.fields[r[u]].keyType?p.fromJSON:a.fromJSON)(r[u],t.fields[r[u]]));if(t.oneofs)for(r=Object.keys(t.oneofs),u=0;u<r.length;++u)i.add(d.fromJSON(r[u],t.oneofs[r[u]]));if(t.nested)for(r=Object.keys(t.nested),u=0;u<r.length;++u){var f=t.nested[r[u]];i.add((void 0!==f.id?a.fromJSON:void 0!==f.fields?o.fromJSON:void 0!==f.values?s.fromJSON:void 0!==f.methods?l.fromJSON:n.fromJSON)(r[u],f))}return t.extensions&&t.extensions.length&&(i.extensions=t.extensions),t.reserved&&t.reserved.length&&(i.reserved=t.reserved),t.group&&(i.group=!0),i},o.prototype.toJSON=function(){var e=n.prototype.toJSON.call(this);return c.toObject(["options",e&&e.options||void 0,"oneofs",n.arrayToJSON(this.oneofsArray),"fields",n.arrayToJSON(this.fieldsArray.filter(function(e){return!e.declaringField}))||{},"extensions",this.extensions&&this.extensions.length?this.extensions:void 0,"reserved",this.reserved&&this.reserved.length?this.reserved:void 0,"group",this.group||void 0,"nested",e&&e.nested||void 0])},o.prototype.resolveAll=function(){for(var e=this.fieldsArray,t=0;t<e.length;)e[t++].resolve();var i=this.oneofsArray;for(t=0;t<i.length;)i[t++].resolve();return n.prototype.resolveAll.call(this)},o.prototype.get=function(e){return this.fields[e]||this.oneofs&&this.oneofs[e]||this.nested&&this.nested[e]||null},o.prototype.add=function(e){if(this.get(e.name))throw Error("duplicate name '"+e.name+"' in "+this);if(e instanceof a&&void 0===e.extend){if(this._fieldsById?this._fieldsById[e.id]:this.fieldsById[e.id])throw Error("duplicate id "+e.id+" in "+this);if(this.isReservedId(e.id))throw Error("id "+e.id+" is reserved in "+this);if(this.isReservedName(e.name))throw Error("name '"+e.name+"' is reserved in "+this);return e.parent&&e.parent.remove(e),this.fields[e.name]=e,e.message=this,e.onAdd(this),r(this)}return e instanceof d?(this.oneofs||(this.oneofs={}),this.oneofs[e.name]=e,e.onAdd(this),r(this)):n.prototype.add.call(this,e)},o.prototype.remove=function(e){if(e instanceof a&&void 0===e.extend){if(!this.fields||this.fields[e.name]!==e)throw Error(e+" is not a member of "+this);return delete this.fields[e.name],e.parent=null,e.onRemove(this),r(this)}if(e instanceof d){if(!this.oneofs||this.oneofs[e.name]!==e)throw Error(e+" is not a member of "+this);return delete this.oneofs[e.name],e.parent=null,e.onRemove(this),r(this)}return n.prototype.remove.call(this,e)},o.prototype.isReservedId=function(e){return n.isReservedId(this.reserved,e)},o.prototype.isReservedName=function(e){return n.isReservedName(this.reserved,e)},o.prototype.create=function(e){return new this.ctor(e)},o.prototype.setup=function(){for(var e=this.fullName,t=[],i=0;i<this.fieldsArray.length;++i)t.push(this._fieldsArray[i].resolve().resolvedType);this.encode=h(this)({Writer:y,types:t,util:c}),this.decode=g(this)({Reader:f,types:t,util:c}),this.verify=m(this)({types:t,util:c}),this.fromObject=v.fromObject(this)({types:t,util:c}),this.toObject=v.toObject(this)({types:t,util:c});var o=b[e];if(o){var r=Object.create(this);r.fromObject=this.fromObject,this.fromObject=o.fromObject.bind(r),r.toObject=this.toObject,this.toObject=o.toObject.bind(r)}return this},o.prototype.encode=function(e,t){return this.setup().encode(e,t)},o.prototype.encodeDelimited=function(e,t){return this.encode(e,t&&t.len?t.fork():t).ldelim()},o.prototype.decode=function(e,t){return this.setup().decode(e,t)},o.prototype.decodeDelimited=function(e){return e instanceof f||(e=f.create(e)),this.decode(e,e.uint32())},o.prototype.verify=function(e){return this.setup().verify(e)},o.prototype.fromObject=function(e){return this.setup().fromObject(e)},o.prototype.toObject=function(e,t){return this.setup().toObject(e,t)},o.d=function(e){return function(t){c.decorateType(t,e)}}},function(e,t,i){"use strict";function o(e,t){return e.name+": "+t+(e.repeated&&"array"!==t?"[]":e.map&&"object"!==t?"{k:"+e.keyType+"}":"")+" expected"}function r(e,t,i,r){if(t.resolvedType)if(t.resolvedType instanceof d){e("switch(%s){",r)("default:")("return%j",o(t,"enum value"));for(var n=Object.keys(t.resolvedType.values),s=0;s<n.length;++s)e("case %i:",t.resolvedType.values[n[s]]);e("break")("}")}else e("{")("var e=types[%i].verify(%s);",i,r)("if(e)")("return%j+e",t.name+".")("}");else switch(t.type){case"int32":case"uint32":case"sint32":case"fixed32":case"sfixed32":e("if(!util.isInteger(%s))",r)("return%j",o(t,"integer"));break;case"int64":case"uint64":case"sint64":case"fixed64":case"sfixed64":e("if(!util.isInteger(%s)&&!(%s&&util.isInteger(%s.low)&&util.isInteger(%s.high)))",r,r,r,r)("return%j",o(t,"integer|Long"));break;case"float":case"double":e('if(typeof %s!=="number")',r)("return%j",o(t,"number"));break;case"bool":e('if(typeof %s!=="boolean")',r)("return%j",o(t,"boolean"));break;case"string":e("if(!util.isString(%s))",r)("return%j",o(t,"string"));break;case"bytes":e('if(!(%s&&typeof %s.length==="number"||util.isString(%s)))',r,r,r)("return%j",o(t,"buffer"))}return e}function n(e,t,i){switch(t.keyType){case"int32":case"uint32":case"sint32":case"fixed32":case"sfixed32":e("if(!util.key32Re.test(%s))",i)("return%j",o(t,"integer key"));break;case"int64":case"uint64":case"sint64":case"fixed64":case"sfixed64":e("if(!util.key64Re.test(%s))",i)("return%j",o(t,"integer|Long key"));break;case"bool":e("if(!util.key2Re.test(%s))",i)("return%j",o(t,"boolean key"))}return e}function s(e){var t=a.codegen(["m"],e.name+"$verify")('if(typeof m!=="object"||m===null)')("return%j","object expected"),i=e.oneofsArray,s={};i.length&&t("var p={}");for(var d=0;d<e.fieldsArray.length;++d){var p=e._fieldsArray[d].resolve(),l="m"+a.safeProp(p.name);if(p.optional&&t("if(%s!=null&&m.hasOwnProperty(%j)){",l,p.name),p.map)t("if(!util.isObject(%s))",l)("return%j",o(p,"object"))("var k=Object.keys(%s)",l)("for(var i=0;i<k.length;++i){"),n(t,p,"k[i]"),r(t,p,d,l+"[k[i]]")("}");else if(p.repeated)t("if(!Array.isArray(%s))",l)("return%j",o(p,"array"))("for(var i=0;i<%s.length;++i){",l),r(t,p,d,l+"[i]")("}");else{if(p.partOf){var u=a.safeProp(p.partOf.name);1===s[p.partOf.name]&&t("if(p%s===1)",u)("return%j",p.partOf.name+": multiple values"),s[p.partOf.name]=1,t("p%s=1",u)}r(t,p,d,l)}p.optional&&t("}")}return t("return null")}e.exports=s;var d=i(1),a=i(0)},function(e,t,i){"use strict";var o=t,r=i(7);o[".google.protobuf.Any"]={fromObject:function(e){if(e&&e["@type"]){var t=this.lookup(e["@type"]);if(t){var i="."===e["@type"].charAt(0)?e["@type"].substr(1):e["@type"];return this.create({type_url:"/"+i,value:t.encode(t.fromObject(e)).finish()})}}return this.fromObject(e)},toObject:function(e,t){if(t&&t.json&&e.type_url&&e.value){var i=e.type_url.substring(e.type_url.lastIndexOf("/")+1),o=this.lookup(i);o&&(e=o.decode(e.value))}if(!(e instanceof this.ctor)&&e instanceof r){var n=e.$type.toObject(e,t);return n["@type"]=e.$type.fullName,n}return this.toObject(e,t)}}},function(e,t,i){"use strict";e.exports=i(38)},function(e,t){e.exports={nested:{apollo:{nested:{hdmap:{nested:{Projection:{fields:{proj:{type:"string",id:1}}},Header:{fields:{version:{type:"bytes",id:1},date:{type:"bytes",id:2},projection:{type:"Projection",id:3},district:{type:"bytes",id:4},generation:{type:"bytes",id:5},revMajor:{type:"bytes",id:6},revMinor:{type:"bytes",id:7},left:{type:"double",id:8},top:{type:"double",id:9},right:{type:"double",id:10},bottom:{type:"double",id:11},vendor:{type:"bytes",id:12}}},Map:{fields:{header:{type:"Header",id:1},crosswalk:{rule:"repeated",type:"Crosswalk",id:2},junction:{rule:"repeated",type:"Junction",id:3},lane:{rule:"repeated",type:"Lane",id:4},stopSign:{rule:"repeated",type:"StopSign",id:5},signal:{rule:"repeated",type:"Signal",id:6},yield:{rule:"repeated",type:"YieldSign",id:7},overlap:{rule:"repeated",type:"Overlap",id:8},clearArea:{rule:"repeated",type:"ClearArea",id:9},speedBump:{rule:"repeated",type:"SpeedBump",id:10},road:{rule:"repeated",type:"Road",id:11}}},ClearArea:{fields:{id:{type:"Id",id:1},overlapId:{rule:"repeated",type:"Id",id:2},polygon:{type:"Polygon",id:3}}},Crosswalk:{fields:{id:{type:"Id",id:1},polygon:{type:"Polygon",id:2},overlapId:{rule:"repeated",type:"Id",id:3}}},Polygon:{fields:{point:{rule:"repeated",type:"apollo.common.PointENU",id:1}}},LineSegment:{fields:{point:{rule:"repeated",type:"apollo.common.PointENU",id:1}}},CurveSegment:{oneofs:{curveType:{oneof:["lineSegment"]}},fields:{lineSegment:{type:"LineSegment",id:1},s:{type:"double",id:6},startPosition:{type:"apollo.common.PointENU",id:7},heading:{type:"double",id:8},length:{type:"double",id:9}}},Curve:{fields:{segment:{rule:"repeated",type:"CurveSegment",id:1}}},Id:{fields:{id:{type:"string",id:1}}},Junction:{fields:{id:{type:"Id",id:1},polygon:{type:"Polygon",id:2},overlapId:{rule:"repeated",type:"Id",id:3}}},LaneBoundaryType:{fields:{s:{type:"double",id:1},types:{rule:"repeated",type:"Type",id:2,options:{packed:!1}}},nested:{Type:{values:{UNKNOWN:0,DOTTED_YELLOW:1,DOTTED_WHITE:2,SOLID_YELLOW:3,SOLID_WHITE:4,DOUBLE_YELLOW:5,CURB:6}}}},LaneBoundary:{fields:{curve:{type:"Curve",id:1},length:{type:"double",id:2},virtual:{type:"bool",id:3},boundaryType:{rule:"repeated",type:"LaneBoundaryType",id:4}}},LaneSampleAssociation:{fields:{s:{type:"double",id:1},width:{type:"double",id:2}}},Lane:{fields:{id:{type:"Id",id:1},centralCurve:{type:"Curve",id:2},leftBoundary:{type:"LaneBoundary",id:3},rightBoundary:{type:"LaneBoundary",id:4},length:{type:"double",id:5},speedLimit:{type:"double",id:6},overlapId:{rule:"repeated",type:"Id",id:7},predecessorId:{rule:"repeated",type:"Id",id:8},successorId:{rule:"repeated",type:"Id",id:9},leftNeighborForwardLaneId:{rule:"repeated",type:"Id",id:10},rightNeighborForwardLaneId:{rule:"repeated",type:"Id",id:11},type:{type:"LaneType",id:12},turn:{type:"LaneTurn",id:13},leftNeighborReverseLaneId:{rule:"repeated",type:"Id",id:14},rightNeighborReverseLaneId:{rule:"repeated",type:"Id",id:15},junctionId:{type:"Id",id:16},leftSample:{rule:"repeated",type:"LaneSampleAssociation",id:17},rightSample:{rule:"repeated",type:"LaneSampleAssociation",id:18},direction:{type:"LaneDirection",id:19},leftRoadSample:{rule:"repeated",type:"LaneSampleAssociation",id:20},rightRoadSample:{rule:"repeated",type:"LaneSampleAssociation",id:21}},nested:{LaneType:{values:{NONE:1,CITY_DRIVING:2,BIKING:3,SIDEWALK:4,PARKING:5}},LaneTurn:{values:{NO_TURN:1,LEFT_TURN:2,RIGHT_TURN:3,U_TURN:4}},LaneDirection:{values:{FORWARD:1,BACKWARD:2,BIDIRECTION:3}}}},LaneOverlapInfo:{fields:{startS:{type:"double",id:1},endS:{type:"double",id:2},isMerge:{type:"bool",id:3}}},SignalOverlapInfo:{fields:{}},StopSignOverlapInfo:{fields:{}},CrosswalkOverlapInfo:{fields:{}},JunctionOverlapInfo:{fields:{}},YieldOverlapInfo:{fields:{}},ClearAreaOverlapInfo:{fields:{}},SpeedBumpOverlapInfo:{fields:{}},ParkingSpaceOverlapInfo:{fields:{}},ObjectOverlapInfo:{oneofs:{overlapInfo:{oneof:["laneOverlapInfo","signalOverlapInfo","stopSignOverlapInfo","crosswalkOverlapInfo","junctionOverlapInfo","yieldSignOverlapInfo","clearAreaOverlapInfo","speedBumpOverlapInfo","parkingSpaceOverlapInfo"]}},fields:{id:{type:"Id",id:1},laneOverlapInfo:{type:"LaneOverlapInfo",id:3},signalOverlapInfo:{type:"SignalOverlapInfo",id:4},stopSignOverlapInfo:{type:"StopSignOverlapInfo",id:5},crosswalkOverlapInfo:{type:"CrosswalkOverlapInfo",id:6},junctionOverlapInfo:{type:"JunctionOverlapInfo",id:7},yieldSignOverlapInfo:{type:"YieldOverlapInfo",id:8},clearAreaOverlapInfo:{type:"ClearAreaOverlapInfo",id:9},speedBumpOverlapInfo:{type:"SpeedBumpOverlapInfo",id:10},parkingSpaceOverlapInfo:{type:"ParkingSpaceOverlapInfo",id:11}}},Overlap:{fields:{id:{type:"Id",id:1},object:{rule:"repeated",type:"ObjectOverlapInfo",id:2}}},BoundaryEdge:{fields:{curve:{type:"Curve",id:1},type:{type:"Type",id:2}},nested:{Type:{values:{UNKNOWN:0,NORMAL:1,LEFT_BOUNDARY:2,RIGHT_BOUNDARY:3}}}},BoundaryPolygon:{fields:{edge:{rule:"repeated",type:"BoundaryEdge",id:1}}},RoadBoundary:{fields:{outerPolygon:{type:"BoundaryPolygon",id:1},hole:{rule:"repeated",type:"BoundaryPolygon",id:2}}},RoadROIBoundary:{fields:{id:{type:"Id",id:1},roadBoundaries:{rule:"repeated",type:"RoadBoundary",id:2}}},RoadSection:{fields:{id:{type:"Id",id:1},laneId:{rule:"repeated",type:"Id",id:2},boundary:{type:"RoadBoundary",id:3}}},Road:{fields:{id:{type:"Id",id:1},section:{rule:"repeated",type:"RoadSection",id:2},junctionId:{type:"Id",id:3}}},Subsignal:{fields:{id:{type:"Id",id:1},type:{type:"Type",id:2},location:{type:"apollo.common.PointENU",id:3}},nested:{Type:{values:{UNKNOWN:1,CIRCLE:2,ARROW_LEFT:3,ARROW_FORWARD:4,ARROW_RIGHT:5,ARROW_LEFT_AND_FORWARD:6,ARROW_RIGHT_AND_FORWARD:7,ARROW_U_TURN:8}}}},Signal:{fields:{id:{type:"Id",id:1},boundary:{type:"Polygon",id:2},subsignal:{rule:"repeated",type:"Subsignal",id:3},overlapId:{rule:"repeated",type:"Id",id:4},type:{type:"Type",id:5},stopLine:{rule:"repeated",type:"Curve",id:6}},nested:{Type:{values:{UNKNOWN:1,MIX_2_HORIZONTAL:2,MIX_2_VERTICAL:3,MIX_3_HORIZONTAL:4,MIX_3_VERTICAL:5,SINGLE:6}}}},SpeedBump:{fields:{id:{type:"Id",id:1},overlapId:{rule:"repeated",type:"Id",id:2},position:{rule:"repeated",type:"Curve",id:3}}},SpeedControl:{fields:{name:{type:"string",id:1},polygon:{type:"apollo.hdmap.Polygon",id:2},speedLimit:{type:"double",id:3}}},SpeedControls:{fields:{speedControl:{rule:"repeated",type:"SpeedControl",id:1}}},StopSign:{fields:{id:{type:"Id",id:1},stopLine:{rule:"repeated",type:"Curve",id:2},overlapId:{rule:"repeated",type:"Id",id:3},type:{type:"StopType",id:4}},nested:{StopType:{values:{UNKNOWN:0,ONE_WAY:1,TWO_WAY:2,THREE_WAY:3,FOUR_WAY:4,ALL_WAY:5}}}},YieldSign:{fields:{id:{type:"Id",id:1},stopLine:{rule:"repeated",type:"Curve",id:2},overlapId:{rule:"repeated",type:"Id",id:3}}}}},common:{nested:{PointENU:{fields:{x:{type:"double",id:1,options:{default:null}},y:{type:"double",id:2,options:{default:null}},z:{type:"double",id:3,options:{default:0}}}},PointLLH:{fields:{lon:{type:"double",id:1,options:{default:null}},lat:{type:"double",id:2,options:{default:null}},height:{type:"double",id:3,options:{default:0}}}},Point2D:{fields:{x:{type:"double",id:1,options:{default:null}},y:{type:"double",id:2,options:{default:null}}}},Point3D:{fields:{x:{type:"double",id:1,options:{default:null}},y:{type:"double",id:2,options:{default:null}},z:{type:"double",id:3,options:{default:null}}}},Quaternion:{fields:{qx:{type:"double",id:1,options:{default:null}},qy:{type:"double",id:2,options:{default:null}},qz:{type:"double",id:3,options:{default:null}},qw:{type:"double",id:4,options:{default:null}}}},Header:{fields:{timestampSec:{type:"double",id:1},moduleName:{type:"string",id:2},sequenceNum:{type:"uint32",id:3},lidarTimestamp:{type:"uint64",id:4},cameraTimestamp:{type:"uint64",id:5},radarTimestamp:{type:"uint64",id:6},version:{type:"uint32",id:7,options:{default:1}},status:{type:"StatusPb",id:8}}},ErrorCode:{values:{OK:0,CONTROL_ERROR:1e3,CONTROL_INIT_ERROR:1001,CONTROL_COMPUTE_ERROR:1002,CANBUS_ERROR:2e3,CAN_CLIENT_ERROR_BASE:2100,CAN_CLIENT_ERROR_OPEN_DEVICE_FAILED:2101,CAN_CLIENT_ERROR_FRAME_NUM:2102,CAN_CLIENT_ERROR_SEND_FAILED:2103,CAN_CLIENT_ERROR_RECV_FAILED:2104,LOCALIZATION_ERROR:3e3,LOCALIZATION_ERROR_MSG:3100,LOCALIZATION_ERROR_LIDAR:3200,LOCALIZATION_ERROR_INTEG:3300,LOCALIZATION_ERROR_GNSS:3400,PERCEPTION_ERROR:4e3,PERCEPTION_ERROR_TF:4001,PERCEPTION_ERROR_PROCESS:4002,PERCEPTION_FATAL:4003,PREDICTION_ERROR:5e3,PLANNING_ERROR:6e3,HDMAP_DATA_ERROR:7e3,ROUTING_ERROR:8e3,ROUTING_ERROR_REQUEST:8001,ROUTING_ERROR_RESPONSE:8002,ROUTING_ERROR_NOT_READY:8003,END_OF_INPUT:9e3,HTTP_LOGIC_ERROR:1e4,HTTP_RUNTIME_ERROR:10001,RELATIVE_MAP_ERROR:11e3,RELATIVE_MAP_NOT_READY:11001}},StatusPb:{fields:{errorCode:{type:"ErrorCode",id:1,options:{default:"OK"}},msg:{type:"string",id:2}}}}}}}}}},function(e,t){e.exports={nested:{apollo:{nested:{dreamview:{nested:{PointCloud:{fields:{num:{rule:"repeated",type:"float",id:1,options:{packed:!1}}}}}}}}}}},function(e,t){e.exports={nested:{apollo:{nested:{dreamview:{nested:{PolygonPoint:{fields:{x:{type:"double",id:1},y:{type:"double",id:2},z:{type:"double",id:3,options:{default:0}}}},Prediction:{fields:{probability:{type:"double",id:1},predictedTrajectory:{rule:"repeated",type:"PolygonPoint",id:2}}},Decision:{fields:{type:{type:"Type",id:1,options:{default:"IGNORE"}},polygonPoint:{rule:"repeated",type:"PolygonPoint",id:2},heading:{type:"double",id:3},latitude:{type:"double",id:4},longitude:{type:"double",id:5},positionX:{type:"double",id:6},positionY:{type:"double",id:7},length:{type:"double",id:8,options:{default:2.8}},width:{type:"double",id:9,options:{default:1.4}},height:{type:"double",id:10,options:{default:1.8}},stopReason:{type:"StopReasonCode",id:11}},nested:{Type:{values:{IGNORE:0,STOP:1,NUDGE:2,YIELD:3,OVERTAKE:4,FOLLOW:5,SIDEPASS:6}},StopReasonCode:{values:{STOP_REASON_HEAD_VEHICLE:1,STOP_REASON_DESTINATION:2,STOP_REASON_PEDESTRIAN:3,STOP_REASON_OBSTACLE:4,STOP_REASON_SIGNAL:100,STOP_REASON_STOP_SIGN:101,STOP_REASON_YIELD_SIGN:102,STOP_REASON_CLEAR_ZONE:103,STOP_REASON_CROSSWALK:104,STOP_REASON_EMERGENCY:105,STOP_REASON_NOT_READY:106}}}},Object:{fields:{id:{type:"string",id:1},polygonPoint:{rule:"repeated",type:"PolygonPoint",id:2},heading:{type:"double",id:3},latitude:{type:"double",id:4},longitude:{type:"double",id:5},positionX:{type:"double",id:6},positionY:{type:"double",id:7},length:{type:"double",id:8,options:{default:2.8}},width:{type:"double",id:9,options:{default:1.4}},height:{type:"double",id:10,options:{default:1.8}},speed:{type:"double",id:11},speedAcceleration:{type:"double",id:12},speedJerk:{type:"double",id:13},spin:{type:"double",id:14},spinAcceleration:{type:"double",id:15},spinJerk:{type:"double",id:16},speedHeading:{type:"double",id:17},kappa:{type:"double",id:18},signalSet:{rule:"repeated",type:"string",id:19},currentSignal:{type:"string",id:20},timestampSec:{type:"double",id:21},decision:{rule:"repeated",type:"Decision",id:22},throttlePercentage:{type:"double",id:23},brakePercentage:{type:"double",id:24},steeringPercentage:{type:"double",id:25},steeringAngle:{type:"double",id:26},steeringRatio:{type:"double",id:27},disengageType:{type:"DisengageType",id:28},type:{type:"Type",id:29},prediction:{rule:"repeated",type:"Prediction",id:30},confidence:{type:"double",id:31,options:{default:1}}},nested:{DisengageType:{values:{DISENGAGE_NONE:0,DISENGAGE_UNKNOWN:1,DISENGAGE_MANUAL:2,DISENGAGE_EMERGENCY:3,DISENGAGE_AUTO_STEER_ONLY:4,DISENGAGE_AUTO_SPEED_ONLY:5,DISENGAGE_CHASSIS_ERROR:6}},Type:{values:{UNKNOWN:0,UNKNOWN_MOVABLE:1,UNKNOWN_UNMOVABLE:2,PEDESTRIAN:3,BICYCLE:4,VEHICLE:5,VIRTUAL:6}}}},DelaysInMs:{fields:{chassis:{type:"double",id:1},localization:{type:"double",id:3},perceptionObstacle:{type:"double",id:4},planning:{type:"double",id:5},prediction:{type:"double",id:7},trafficLight:{type:"double",id:8}}},RoutePath:{fields:{point:{rule:"repeated",type:"PolygonPoint",id:1}}},Latency:{fields:{planning:{type:"double",id:1}}},MapElementIds:{fields:{lane:{rule:"repeated",type:"string",id:1},crosswalk:{rule:"repeated",type:"string",id:2},junction:{rule:"repeated",type:"string",id:3},signal:{rule:"repeated",type:"string",id:4},stopSign:{rule:"repeated",type:"string",id:5},yield:{rule:"repeated",type:"string",id:6},overlap:{rule:"repeated",type:"string",id:7},road:{rule:"repeated",type:"string",id:8},clearArea:{rule:"repeated",type:"string",id:9}}},ControlData:{fields:{timestampSec:{type:"double",id:1},stationError:{type:"double",id:2}}},SimulationWorld:{fields:{timestamp:{type:"double",id:1},sequenceNum:{type:"uint32",id:2},object:{rule:"repeated",type:"Object",id:3},autoDrivingCar:{type:"Object",id:4},trafficSignal:{type:"Object",id:5},routePath:{rule:"repeated",type:"RoutePath",id:6},routingTime:{type:"double",id:7},planningTrajectory:{rule:"repeated",type:"Object",id:8},mainStop:{type:"Object",id:9},speedLimit:{type:"double",id:10},delay:{type:"DelaysInMs",id:11},monitor:{type:"apollo.common.monitor.MonitorMessage",id:12},engageAdvice:{type:"string",id:13},latency:{type:"Latency",id:14},mapElementIds:{type:"MapElementIds",id:15},mapHash:{type:"uint64",id:16},mapRadius:{type:"double",id:17},planningTime:{type:"double",id:18},planningData:{type:"apollo.planning_internal.PlanningData",id:19},gps:{type:"Object",id:20},laneMarker:{type:"apollo.perception.LaneMarkers",id:21},controlData:{type:"ControlData",id:22},navigationPath:{rule:"repeated",type:"apollo.common.Path",id:23}}}}},common:{nested:{DriveEvent:{fields:{header:{type:"apollo.common.Header",id:1},event:{type:"string",id:2},location:{type:"apollo.localization.Pose",id:3}}},EngageAdvice:{fields:{advice:{type:"Advice",id:1,options:{default:"DISALLOW_ENGAGE"}},reason:{type:"string",id:2}},nested:{Advice:{values:{UNKNOWN:0,DISALLOW_ENGAGE:1,READY_TO_ENGAGE:2,KEEP_ENGAGED:3,PREPARE_DISENGAGE:4}}}},ErrorCode:{values:{OK:0,CONTROL_ERROR:1e3,CONTROL_INIT_ERROR:1001,CONTROL_COMPUTE_ERROR:1002,CANBUS_ERROR:2e3,CAN_CLIENT_ERROR_BASE:2100,CAN_CLIENT_ERROR_OPEN_DEVICE_FAILED:2101,CAN_CLIENT_ERROR_FRAME_NUM:2102,CAN_CLIENT_ERROR_SEND_FAILED:2103,CAN_CLIENT_ERROR_RECV_FAILED:2104,LOCALIZATION_ERROR:3e3,LOCALIZATION_ERROR_MSG:3100,LOCALIZATION_ERROR_LIDAR:3200,LOCALIZATION_ERROR_INTEG:3300,LOCALIZATION_ERROR_GNSS:3400,PERCEPTION_ERROR:4e3,PERCEPTION_ERROR_TF:4001,PERCEPTION_ERROR_PROCESS:4002,PERCEPTION_FATAL:4003,PREDICTION_ERROR:5e3,PLANNING_ERROR:6e3,HDMAP_DATA_ERROR:7e3,ROUTING_ERROR:8e3,ROUTING_ERROR_REQUEST:8001,ROUTING_ERROR_RESPONSE:8002,ROUTING_ERROR_NOT_READY:8003,END_OF_INPUT:9e3,HTTP_LOGIC_ERROR:1e4,HTTP_RUNTIME_ERROR:10001,RELATIVE_MAP_ERROR:11e3,RELATIVE_MAP_NOT_READY:11001}},StatusPb:{fields:{errorCode:{type:"ErrorCode",id:1,options:{default:"OK"}},msg:{type:"string",id:2}}},PointENU:{fields:{x:{type:"double",id:1,options:{default:null}},y:{type:"double",id:2,options:{default:null}},z:{type:"double",id:3,options:{default:0}}}},PointLLH:{fields:{lon:{type:"double",id:1,options:{default:null}},lat:{type:"double",id:2,options:{default:null}},height:{type:"double",id:3,options:{default:0}}}},Point2D:{fields:{x:{type:"double",id:1,options:{default:null}},y:{type:"double",id:2,options:{default:null}}}},Point3D:{fields:{x:{type:"double",id:1,options:{default:null}},y:{type:"double",id:2,options:{default:null}},z:{type:"double",id:3,options:{default:null}}}},Quaternion:{fields:{qx:{type:"double",id:1,options:{default:null}},qy:{type:"double",id:2,options:{default:null}},qz:{type:"double",id:3,options:{default:null}},qw:{type:"double",id:4,options:{default:null}}}},Header:{fields:{timestampSec:{type:"double",id:1},moduleName:{type:"string",id:2},sequenceNum:{type:"uint32",id:3},lidarTimestamp:{type:"uint64",id:4},cameraTimestamp:{type:"uint64",id:5},radarTimestamp:{type:"uint64",id:6},version:{type:"uint32",id:7,options:{default:1}},status:{type:"StatusPb",id:8}}},SLPoint:{fields:{s:{type:"double",id:1},l:{type:"double",id:2}}},FrenetFramePoint:{fields:{s:{type:"double",id:1},l:{type:"double",id:2},dl:{type:"double",id:3},ddl:{type:"double",id:4}}},SpeedPoint:{fields:{s:{type:"double",id:1},t:{type:"double",id:2},v:{type:"double",id:3},a:{type:"double",id:4},da:{type:"double",id:5}}},PathPoint:{fields:{x:{type:"double",id:1},y:{type:"double",id:2},z:{type:"double",id:3},theta:{type:"double",id:4},kappa:{type:"double",id:5},s:{type:"double",id:6},dkappa:{type:"double",id:7},ddkappa:{type:"double",id:8},laneId:{type:"string",id:9}}},Path:{fields:{name:{type:"string",id:1},pathPoint:{rule:"repeated",type:"PathPoint",id:2}}},TrajectoryPoint:{fields:{pathPoint:{type:"PathPoint",id:1},v:{type:"double",id:2},a:{type:"double",id:3},relativeTime:{type:"double",id:4}}},VehicleSignal:{fields:{turnSignal:{type:"TurnSignal",id:1},highBeam:{type:"bool",id:2},lowBeam:{type:"bool",id:3},horn:{type:"bool",id:4},emergencyLight:{type:"bool",id:5}},nested:{TurnSignal:{values:{TURN_NONE:0,TURN_LEFT:1,TURN_RIGHT:2}}}},monitor:{nested:{MonitorMessageItem:{fields:{source:{type:"MessageSource",id:1,options:{default:"UNKNOWN"}},msg:{type:"string",id:2},logLevel:{type:"LogLevel",id:3,options:{default:"INFO"}}},nested:{MessageSource:{values:{UNKNOWN:1,CANBUS:2,CONTROL:3,DECISION:4,LOCALIZATION:5,PLANNING:6,PREDICTION:7,SIMULATOR:8,HWSYS:9,ROUTING:10,MONITOR:11,HMI:12,RELATIVE_MAP:13}},LogLevel:{values:{INFO:0,WARN:1,ERROR:2,FATAL:3}}}},MonitorMessage:{fields:{header:{type:"apollo.common.Header",id:1},item:{rule:"repeated",type:"MonitorMessageItem",id:2}}}}}}},localization:{nested:{Uncertainty:{fields:{positionStdDev:{type:"apollo.common.Point3D",id:1},orientationStdDev:{type:"apollo.common.Point3D",id:2},linearVelocityStdDev:{type:"apollo.common.Point3D",id:3},linearAccelerationStdDev:{type:"apollo.common.Point3D",id:4},angularVelocityStdDev:{type:"apollo.common.Point3D",id:5}}},LocalizationEstimate:{fields:{header:{type:"apollo.common.Header",id:1},pose:{type:"apollo.localization.Pose",id:2},uncertainty:{type:"Uncertainty",id:3},measurementTime:{type:"double",id:4},trajectoryPoint:{rule:"repeated",type:"apollo.common.TrajectoryPoint",id:5}}},MeasureState:{values:{NOT_VALID:0,NOT_STABLE:1,OK:2,VALID:3}},LocalizationStatus:{fields:{header:{type:"apollo.common.Header",id:1},fusionStatus:{type:"MeasureState",id:2},gnssStatus:{type:"MeasureState",id:3},lidarStatus:{type:"MeasureState",id:4},measurementTime:{type:"double",id:5}}},Pose:{fields:{position:{type:"apollo.common.PointENU",id:1},orientation:{type:"apollo.common.Quaternion",id:2},linearVelocity:{type:"apollo.common.Point3D",id:3},linearAcceleration:{type:"apollo.common.Point3D",id:4},angularVelocity:{type:"apollo.common.Point3D",id:5},heading:{type:"double",id:6},linearAccelerationVrf:{type:"apollo.common.Point3D",id:7},angularVelocityVrf:{type:"apollo.common.Point3D",id:8},eulerAngles:{type:"apollo.common.Point3D",id:9}}}}},canbus:{nested:{Chassis:{fields:{engineStarted:{type:"bool",id:3},engineRpm:{type:"float",id:4,options:{default:null}},speedMps:{type:"float",id:5,options:{default:null}},odometerM:{type:"float",id:6,options:{default:null}},fuelRangeM:{type:"int32",id:7},throttlePercentage:{type:"float",id:8,options:{default:null}},brakePercentage:{type:"float",id:9,options:{default:null}},steeringPercentage:{type:"float",id:11,options:{default:null}},steeringTorqueNm:{type:"float",id:12,options:{default:null}},parkingBrake:{type:"bool",id:13},highBeamSignal:{type:"bool",id:14,options:{deprecated:!0}},lowBeamSignal:{type:"bool",id:15,options:{deprecated:!0}},leftTurnSignal:{type:"bool",id:16,options:{deprecated:!0}},rightTurnSignal:{type:"bool",id:17,options:{deprecated:!0}},horn:{type:"bool",id:18,options:{deprecated:!0}},wiper:{type:"bool",id:19},disengageStatus:{type:"bool",id:20,options:{deprecated:!0}},drivingMode:{type:"DrivingMode",id:21,options:{default:"COMPLETE_MANUAL"}},errorCode:{type:"ErrorCode",id:22,options:{default:"NO_ERROR"}},gearLocation:{type:"GearPosition",id:23},steeringTimestamp:{type:"double",id:24},header:{type:"apollo.common.Header",id:25},chassisErrorMask:{type:"int32",id:26,options:{default:0}},signal:{type:"apollo.common.VehicleSignal",id:27},chassisGps:{type:"ChassisGPS",id:28},engageAdvice:{type:"apollo.common.EngageAdvice",id:29}},nested:{DrivingMode:{values:{COMPLETE_MANUAL:0,COMPLETE_AUTO_DRIVE:1,AUTO_STEER_ONLY:2,AUTO_SPEED_ONLY:3,EMERGENCY_MODE:4}},ErrorCode:{values:{NO_ERROR:0,CMD_NOT_IN_PERIOD:1,CHASSIS_ERROR:2,MANUAL_INTERVENTION:3,CHASSIS_CAN_NOT_IN_PERIOD:4,UNKNOWN_ERROR:5}},GearPosition:{values:{GEAR_NEUTRAL:0,GEAR_DRIVE:1,GEAR_REVERSE:2,GEAR_PARKING:3,GEAR_LOW:4,GEAR_INVALID:5,GEAR_NONE:6}}}},ChassisGPS:{fields:{latitude:{type:"double",id:1},longitude:{type:"double",id:2},gpsValid:{type:"bool",id:3},year:{type:"int32",id:4},month:{type:"int32",id:5},day:{type:"int32",id:6},hours:{type:"int32",id:7},minutes:{type:"int32",id:8},seconds:{type:"int32",id:9},compassDirection:{type:"double",id:10},pdop:{type:"double",id:11},isGpsFault:{type:"bool",id:12},isInferred:{type:"bool",id:13},altitude:{type:"double",id:14},heading:{type:"double",id:15},hdop:{type:"double",id:16},vdop:{type:"double",id:17},quality:{type:"GpsQuality",id:18},numSatellites:{type:"int32",id:19},gpsSpeed:{type:"double",id:20}}},GpsQuality:{values:{FIX_NO:0,FIX_2D:1,FIX_3D:2,FIX_INVALID:3}}}},planning:{nested:{SLBoundary:{fields:{startS:{type:"double",id:1},endS:{type:"double",id:2},startL:{type:"double",id:3},endL:{type:"double",id:4}}},TargetLane:{fields:{id:{type:"string",id:1},startS:{type:"double",id:2},endS:{type:"double",id:3},speedLimit:{type:"double",id:4}}},ObjectIgnore:{fields:{}},StopReasonCode:{values:{STOP_REASON_HEAD_VEHICLE:1,STOP_REASON_DESTINATION:2,STOP_REASON_PEDESTRIAN:3,STOP_REASON_OBSTACLE:4,STOP_REASON_PREPARKING:5,STOP_REASON_SIGNAL:100,STOP_REASON_STOP_SIGN:101,STOP_REASON_YIELD_SIGN:102,STOP_REASON_CLEAR_ZONE:103,STOP_REASON_CROSSWALK:104,STOP_REASON_CREEPER:105}},ObjectStop:{fields:{reasonCode:{type:"StopReasonCode",id:1},distanceS:{type:"double",id:2},stopPoint:{type:"apollo.common.PointENU",id:3},stopHeading:{type:"double",id:4}}},ObjectNudge:{fields:{type:{type:"Type",id:1},distanceL:{type:"double",id:2}},nested:{Type:{values:{LEFT_NUDGE:1,RIGHT_NUDGE:2,NO_NUDGE:3}}}},ObjectYield:{fields:{distanceS:{type:"double",id:1},fencePoint:{type:"apollo.common.PointENU",id:2},fenceHeading:{type:"double",id:3},timeBuffer:{type:"double",id:4}}},ObjectFollow:{fields:{distanceS:{type:"double",id:1},fencePoint:{type:"apollo.common.PointENU",id:2},fenceHeading:{type:"double",id:3}}},ObjectOvertake:{fields:{distanceS:{type:"double",id:1},fencePoint:{type:"apollo.common.PointENU",id:2},fenceHeading:{type:"double",id:3},timeBuffer:{type:"double",id:4}}},ObjectSidePass:{fields:{type:{type:"Type",id:1}},nested:{Type:{values:{LEFT:1,RIGHT:2}}}},ObjectAvoid:{fields:{}},ObjectDecisionType:{oneofs:{objectTag:{oneof:["ignore","stop","follow","yield","overtake","nudge","sidepass","avoid"]}},fields:{ignore:{type:"ObjectIgnore",id:1},stop:{type:"ObjectStop",id:2},follow:{type:"ObjectFollow",id:3},yield:{type:"ObjectYield",id:4},overtake:{type:"ObjectOvertake",id:5},nudge:{type:"ObjectNudge",id:6},sidepass:{type:"ObjectSidePass",id:7},avoid:{type:"ObjectAvoid",id:8}}},ObjectDecision:{fields:{id:{type:"string",id:1},perceptionId:{type:"int32",id:2},objectDecision:{rule:"repeated",type:"ObjectDecisionType",id:3}}},ObjectDecisions:{fields:{decision:{rule:"repeated",type:"ObjectDecision",id:1}}},MainStop:{fields:{reasonCode:{type:"StopReasonCode",id:1},reason:{type:"string",id:2},stopPoint:{type:"apollo.common.PointENU",id:3},stopHeading:{type:"double",id:4},changeLaneType:{type:"apollo.routing.ChangeLaneType",id:5}}},EmergencyStopHardBrake:{fields:{}},EmergencyStopCruiseToStop:{fields:{}},MainEmergencyStop:{oneofs:{task:{oneof:["hardBrake","cruiseToStop"]}},fields:{reasonCode:{type:"ReasonCode",id:1},reason:{type:"string",id:2},hardBrake:{type:"EmergencyStopHardBrake",id:3},cruiseToStop:{type:"EmergencyStopCruiseToStop",id:4}},nested:{ReasonCode:{values:{ESTOP_REASON_INTERNAL_ERR:1,ESTOP_REASON_COLLISION:2,ESTOP_REASON_ST_FIND_PATH:3,ESTOP_REASON_ST_MAKE_DECISION:4,ESTOP_REASON_SENSOR_ERROR:5}}}},MainCruise:{fields:{changeLaneType:{type:"apollo.routing.ChangeLaneType",id:1}}},MainChangeLane:{fields:{type:{type:"Type",id:1},defaultLane:{rule:"repeated",type:"TargetLane",id:2},defaultLaneStop:{type:"MainStop",id:3},targetLaneStop:{type:"MainStop",id:4}},nested:{Type:{values:{LEFT:1,RIGHT:2}}}},MainMissionComplete:{fields:{stopPoint:{type:"apollo.common.PointENU",id:1},stopHeading:{type:"double",id:2}}},MainNotReady:{fields:{reason:{type:"string",id:1}}},MainParking:{fields:{}},MainDecision:{oneofs:{task:{oneof:["cruise","stop","estop","changeLane","missionComplete","notReady","parking"]}},fields:{cruise:{type:"MainCruise",id:1},stop:{type:"MainStop",id:2},estop:{type:"MainEmergencyStop",id:3},changeLane:{type:"MainChangeLane",id:4,options:{deprecated:!0}},missionComplete:{type:"MainMissionComplete",id:6},notReady:{type:"MainNotReady",id:7},parking:{type:"MainParking",id:8},targetLane:{rule:"repeated",type:"TargetLane",id:5,options:{deprecated:!0}}}},DecisionResult:{fields:{mainDecision:{type:"MainDecision",id:1},objectDecision:{type:"ObjectDecisions",id:2},vehicleSignal:{type:"apollo.common.VehicleSignal",id:3}}}}},planning_internal:{nested:{Debug:{fields:{planningData:{type:"PlanningData",id:2}}},SpeedPlan:{fields:{name:{type:"string",id:1},speedPoint:{rule:"repeated",type:"apollo.common.SpeedPoint",id:2}}},StGraphBoundaryDebug:{fields:{name:{type:"string",id:1},point:{rule:"repeated",type:"apollo.common.SpeedPoint",id:2},type:{type:"StBoundaryType",id:3}},nested:{StBoundaryType:{values:{ST_BOUNDARY_TYPE_UNKNOWN:1,ST_BOUNDARY_TYPE_STOP:2,ST_BOUNDARY_TYPE_FOLLOW:3,ST_BOUNDARY_TYPE_YIELD:4,ST_BOUNDARY_TYPE_OVERTAKE:5,ST_BOUNDARY_TYPE_KEEP_CLEAR:6}}}},SLFrameDebug:{fields:{name:{type:"string",id:1},sampledS:{rule:"repeated",type:"double",id:2,options:{packed:!1}},staticObstacleLowerBound:{rule:"repeated",type:"double",id:3,options:{packed:!1}},dynamicObstacleLowerBound:{rule:"repeated",type:"double",id:4,options:{packed:!1}},staticObstacleUpperBound:{rule:"repeated",type:"double",id:5,options:{packed:!1}},dynamicObstacleUpperBound:{rule:"repeated",type:"double",id:6,options:{packed:!1}},mapLowerBound:{rule:"repeated",type:"double",id:7,options:{packed:!1}},mapUpperBound:{rule:"repeated",type:"double",id:8,options:{packed:!1}},slPath:{rule:"repeated",type:"apollo.common.SLPoint",id:9},aggregatedBoundaryS:{rule:"repeated",type:"double",id:10,options:{packed:!1}},aggregatedBoundaryLow:{rule:"repeated",type:"double",id:11,options:{packed:!1}},aggregatedBoundaryHigh:{rule:"repeated",type:"double",id:12,options:{packed:!1}}}},STGraphDebug:{fields:{name:{type:"string",id:1},boundary:{rule:"repeated",type:"StGraphBoundaryDebug",id:2},speedLimit:{rule:"repeated",type:"apollo.common.SpeedPoint",id:3},speedProfile:{rule:"repeated",type:"apollo.common.SpeedPoint",id:4},speedConstraint:{type:"STGraphSpeedConstraint",id:5},kernelCruiseRef:{type:"STGraphKernelCuiseRef",id:6},kernelFollowRef:{type:"STGraphKernelFollowRef",id:7}},nested:{STGraphSpeedConstraint:{fields:{t:{rule:"repeated",type:"double",id:1,options:{packed:!1}},lowerBound:{rule:"repeated",type:"double",id:2,options:{packed:!1}},upperBound:{rule:"repeated",type:"double",id:3,options:{packed:!1}}}},STGraphKernelCuiseRef:{fields:{t:{rule:"repeated",type:"double",id:1,options:{packed:!1}},cruiseLineS:{rule:"repeated",type:"double",id:2,options:{packed:!1}}}},STGraphKernelFollowRef:{fields:{t:{rule:"repeated",type:"double",id:1,options:{packed:!1}},followLineS:{rule:"repeated",type:"double",id:2,options:{packed:!1}}}}}},SignalLightDebug:{fields:{adcSpeed:{type:"double",id:1},adcFrontS:{type:"double",id:2},signal:{rule:"repeated",type:"SignalDebug",id:3}},nested:{SignalDebug:{fields:{lightId:{type:"string",id:1},color:{type:"apollo.perception.TrafficLight.Color",id:2},lightStopS:{type:"double",id:3},adcStopDeacceleration:{type:"double",id:4},isStopWallCreated:{type:"bool",id:5}}}}},DecisionTag:{fields:{deciderTag:{type:"string",id:1},decision:{type:"apollo.planning.ObjectDecisionType",id:2}}},ObstacleDebug:{fields:{id:{type:"string",id:1},slBoundary:{type:"apollo.planning.SLBoundary",id:2},decisionTag:{rule:"repeated",type:"DecisionTag",id:3}}},ReferenceLineDebug:{fields:{id:{type:"string",id:1},length:{type:"double",id:2},cost:{type:"double",id:3},isChangeLanePath:{type:"bool",id:4},isDrivable:{type:"bool",id:5},isProtected:{type:"bool",id:6}}},ChangeLaneState:{fields:{state:{type:"State",id:1},pathId:{type:"string",id:2},timestamp:{type:"double",id:3}},nested:{State:{values:{IN_CHANGE_LANE:1,CHANGE_LANE_FAILED:2,CHANGE_LANE_SUCCESS:3}}}},SampleLayerDebug:{fields:{slPoint:{rule:"repeated",type:"apollo.common.SLPoint",id:1}}},DpPolyGraphDebug:{fields:{sampleLayer:{rule:"repeated",type:"SampleLayerDebug",id:1},minCostPoint:{rule:"repeated",type:"apollo.common.SLPoint",id:2}}},PlanningData:{fields:{adcPosition:{type:"apollo.localization.LocalizationEstimate",id:7},chassis:{type:"apollo.canbus.Chassis",id:8},routing:{type:"apollo.routing.RoutingResponse",id:9},initPoint:{type:"apollo.common.TrajectoryPoint",id:10},path:{rule:"repeated",type:"apollo.common.Path",id:6},speedPlan:{rule:"repeated",type:"SpeedPlan",id:13},stGraph:{rule:"repeated",type:"STGraphDebug",id:14},slFrame:{rule:"repeated",type:"SLFrameDebug",id:15},predictionHeader:{type:"apollo.common.Header",id:16},signalLight:{type:"SignalLightDebug",id:17},obstacle:{rule:"repeated",type:"ObstacleDebug",id:18},referenceLine:{rule:"repeated",type:"ReferenceLineDebug",id:19},dpPolyGraph:{type:"DpPolyGraphDebug",id:20},latticeStImage:{type:"LatticeStTraining",id:21}}},LatticeStPixel:{fields:{s:{type:"int32",id:1},t:{type:"int32",id:2},r:{type:"uint32",id:3},g:{type:"uint32",id:4},b:{type:"uint32",id:5}}},LatticeStTraining:{fields:{pixel:{rule:"repeated",type:"LatticeStPixel",id:1},timestamp:{type:"double",id:2},annotation:{type:"string",id:3},numSGrids:{type:"uint32",id:4},numTGrids:{type:"uint32",id:5},sResolution:{type:"double",id:6},tResolution:{type:"double",id:7}}},CloudReferenceLineRequest:{fields:{laneSegment:{rule:"repeated",type:"apollo.routing.LaneSegment",id:1}}},CloudReferenceLineRoutingRequest:{fields:{routing:{type:"apollo.routing.RoutingResponse",id:1}}},CloudReferenceLineResponse:{fields:{segment:{rule:"repeated",type:"apollo.common.Path",id:1}}}}},perception:{nested:{TrafficLightBox:{fields:{x:{type:"int32",id:1},y:{type:"int32",id:2},width:{type:"int32",id:3},height:{type:"int32",id:4},color:{type:"TrafficLight.Color",id:5},selected:{type:"bool",id:6}}},TrafficLightDebug:{fields:{cropbox:{type:"TrafficLightBox",id:1},box:{rule:"repeated",type:"TrafficLightBox",id:2},signalNum:{type:"int32",id:3},validPos:{type:"int32",id:4},tsDiffPos:{type:"double",id:5},tsDiffSys:{type:"double",id:6},projectError:{type:"int32",id:7},distanceToStopLine:{type:"double",id:8},cameraId:{type:"int32",id:9}}},TrafficLight:{fields:{color:{type:"Color",id:1},id:{type:"string",id:2},confidence:{type:"double",id:3,options:{default:1}},trackingTime:{type:"double",id:4}},nested:{Color:{values:{UNKNOWN:0,RED:1,YELLOW:2,GREEN:3,BLACK:4}}}},TrafficLightDetection:{fields:{header:{type:"apollo.common.Header",id:2},trafficLight:{rule:"repeated",type:"TrafficLight",id:1},trafficLightDebug:{type:"TrafficLightDebug",id:3},containLights:{type:"bool",id:4}}},Point:{fields:{x:{type:"double",id:1},y:{type:"double",id:2},z:{type:"double",id:3}}},PerceptionObstacle:{fields:{id:{type:"int32",id:1},position:{type:"Point",id:2},theta:{type:"double",id:3},velocity:{type:"Point",id:4},length:{type:"double",id:5},width:{type:"double",id:6},height:{type:"double",id:7},polygonPoint:{rule:"repeated",type:"Point",id:8},trackingTime:{type:"double",id:9},type:{type:"Type",id:10},timestamp:{type:"double",id:11},pointCloud:{rule:"repeated",type:"double",id:12},confidence:{type:"double",id:13,options:{default:1}},confidenceType:{type:"ConfidenceType",id:14,options:{default:"CONFIDENCE_CNN"}}},nested:{Type:{values:{UNKNOWN:0,UNKNOWN_MOVABLE:1,UNKNOWN_UNMOVABLE:2,PEDESTRIAN:3,BICYCLE:4,VEHICLE:5}},ConfidenceType:{values:{CONFIDENCE_UNKNOWN:0,CONFIDENCE_CNN:1,CONFIDENCE_RADAR:2}}}},CIPVInfo:{fields:{cipvId:{type:"int32",id:1},potentialCipvId:{rule:"repeated",type:"int32",id:2,options:{packed:!1}}}},LaneMarker:{fields:{laneType:{type:"LaneType",id:1},quality:{type:"double",id:2},modelDegree:{type:"int32",id:3},c0Position:{type:"double",id:4},c1HeadingAngle:{type:"double",id:5},c2Curvature:{type:"double",id:6},c3CurvatureDerivative:{type:"double",id:7},viewRange:{type:"double",id:8}},nested:{LaneType:{values:{LANE_TYPE_UNKNOWN:0,LANE_TYPE_DASHED:1,LANE_TYPE_SOLID:2,LANE_TYPE_ROAD_EDGE:3}}}},LaneMarkers:{fields:{leftLaneMarker:{type:"LaneMarker",id:1},rightLaneMarker:{type:"LaneMarker",id:2},nextLeftLaneMarker:{rule:"repeated",type:"LaneMarker",id:3},nextRightLaneMarker:{rule:"repeated",type:"LaneMarker",id:4}}},PerceptionObstacles:{fields:{perceptionObstacle:{rule:"repeated",type:"PerceptionObstacle",id:1},header:{type:"apollo.common.Header",id:2},errorCode:{type:"apollo.common.ErrorCode",id:3,options:{default:"OK"}},laneMarker:{type:"LaneMarkers",id:4},cipvInfo:{type:"CIPVInfo",id:5}}}}},routing:{nested:{LaneWaypoint:{fields:{id:{type:"string",id:1},s:{type:"double",id:2},pose:{type:"apollo.common.PointENU",id:3}}},LaneSegment:{fields:{id:{type:"string",id:1},startS:{type:"double",id:2},endS:{type:"double",id:3}}},RoutingRequest:{fields:{header:{type:"apollo.common.Header",id:1},waypoint:{rule:"repeated",type:"LaneWaypoint",id:2},blacklistedLane:{rule:"repeated",type:"LaneSegment",id:3},blacklistedRoad:{rule:"repeated",type:"string",id:4},broadcast:{type:"bool",id:5,options:{default:!0}}}},Measurement:{fields:{distance:{type:"double",id:1}}},ChangeLaneType:{values:{FORWARD:0,LEFT:1,RIGHT:2}},Passage:{fields:{segment:{rule:"repeated",type:"LaneSegment",id:1},canExit:{type:"bool",id:2},changeLaneType:{type:"ChangeLaneType",id:3,options:{default:"FORWARD"}}}},RoadSegment:{fields:{id:{type:"string",id:1},passage:{rule:"repeated",type:"Passage",id:2}}},RoutingResponse:{fields:{header:{type:"apollo.common.Header",id:1},road:{rule:"repeated",type:"RoadSegment",id:2},measurement:{type:"Measurement",id:3},routingRequest:{type:"RoutingRequest",id:4},mapVersion:{type:"bytes",id:5},status:{type:"apollo.common.StatusPb",id:6}}}}}}}}}},function(e,t,i){"use strict";var o=i(25),r=o.Root.fromJSON(i(28)),n=r.lookupType("apollo.dreamview.SimulationWorld"),s=o.Root.fromJSON(i(26)),d=s.lookupType("apollo.hdmap.Map"),a=o.Root.fromJSON(i(27)),p=a.lookupType("apollo.dreamview.PointCloud");self.addEventListener("message",function(e){var t=null,i=e.data.data;switch(e.data.source){case"realtime":"string"==typeof i?t=JSON.parse(i):(t=n.toObject(n.decode(new Uint8Array(i)),{enums:String}),t.type="SimWorldUpdate");break;case"map":t=d.toObject(d.decode(new Uint8Array(i)),{enums:String}),t.type="MapData";break;case"point_cloud":t="string"==typeof i?JSON.parse(i):p.toObject(p.decode(new Uint8Array(i)),{arrays:!0})}t&&self.postMessage(t)})},function(e,t,i){"use strict";var o=t;o.length=function(e){var t=e.length;if(!t)return 0;for(var i=0;--t%4>1&&"="===e.charAt(t);)++i;return Math.ceil(3*e.length)/4-i};for(var r=new Array(64),n=new Array(123),s=0;s<64;)n[r[s]=s<26?s+65:s<52?s+71:s<62?s-4:s-59|43]=s++;o.encode=function(e,t,i){for(var o,n=null,s=[],d=0,a=0;t<i;){var p=e[t++];switch(a){case 0:s[d++]=r[p>>2],o=(3&p)<<4,a=1;break;case 1:s[d++]=r[o|p>>4],o=(15&p)<<2,a=2;break;case 2:s[d++]=r[o|p>>6],s[d++]=r[63&p],a=0}d>8191&&((n||(n=[])).push(String.fromCharCode.apply(String,s)),d=0)}return a&&(s[d++]=r[o],s[d++]=61,1===a&&(s[d++]=61)),n?(d&&n.push(String.fromCharCode.apply(String,s.slice(0,d))),n.join("")):String.fromCharCode.apply(String,s.slice(0,d))};o.decode=function(e,t,i){for(var o,r=i,s=0,d=0;d<e.length;){var a=e.charCodeAt(d++);if(61===a&&s>1)break;if(void 0===(a=n[a]))throw Error("invalid encoding");switch(s){case 0:o=a,s=1;break;case 1:t[i++]=o<<2|(48&a)>>4,o=a,s=2;break;case 2:t[i++]=(15&o)<<4|(60&a)>>2,o=a,s=3;break;case 3:t[i++]=(3&o)<<6|a,s=0}}if(1===s)throw Error("invalid encoding");return i-r},o.test=function(e){return/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.test(e)}},function(e,t,i){"use strict";function o(e,t){function i(e){if("string"!=typeof e){var t=r();if(o.verbose&&console.log("codegen: "+t),t="return "+t,e){for(var s=Object.keys(e),d=new Array(s.length+1),a=new Array(s.length),p=0;p<s.length;)d[p]=s[p],a[p]=e[s[p++]];return d[p]=t,Function.apply(null,d).apply(null,a)}return Function(t)()}for(var l=new Array(arguments.length-1),u=0;u<l.length;)l[u]=arguments[++u];if(u=0,e=e.replace(/%([%dfijs])/g,function(e,t){var i=l[u++];switch(t){case"d":case"f":return String(Number(i));case"i":return String(Math.floor(i));case"j":return JSON.stringify(i);case"s":return String(i)}return"%"}),u!==l.length)throw Error("parameter count mismatch");return n.push(e),i}function r(i){return"function "+(i||t||"")+"("+(e&&e.join(",")||"")+"){\n "+n.join("\n ")+"\n}"}"string"==typeof e&&(t=e,e=void 0);var n=[];return i.toString=r,i}e.exports=o,o.verbose=!1},function(e,t,i){"use strict";function o(){this._listeners={}}e.exports=o,o.prototype.on=function(e,t,i){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:i||this}),this},o.prototype.off=function(e,t){if(void 0===e)this._listeners={};else if(void 0===t)this._listeners[e]=[];else for(var i=this._listeners[e],o=0;o<i.length;)i[o].fn===t?i.splice(o,1):++o;return this},o.prototype.emit=function(e){var t=this._listeners[e];if(t){for(var i=[],o=1;o<arguments.length;)i.push(arguments[o++]);for(o=0;o<t.length;)t[o].fn.apply(t[o++].ctx,i)}return this}},function(e,t,i){"use strict";function o(e,t,i){return"function"==typeof t?(i=t,t={}):t||(t={}),i?!t.xhr&&s&&s.readFile?s.readFile(e,function(r,n){return r&&"undefined"!=typeof XMLHttpRequest?o.xhr(e,t,i):r?i(r):i(null,t.binary?n:n.toString("utf8"))}):o.xhr(e,t,i):r(o,this,e,t)}e.exports=o;var r=i(11),n=i(12),s=n("fs");o.xhr=function(e,t,i){var o=new XMLHttpRequest;o.onreadystatechange=function(){if(4===o.readyState){if(0!==o.status&&200!==o.status)return i(Error("status "+o.status));if(t.binary){var e=o.response;if(!e){e=[];for(var r=0;r<o.responseText.length;++r)e.push(255&o.responseText.charCodeAt(r))}return i(null,"undefined"!=typeof Uint8Array?new Uint8Array(e):e)}return i(null,o.responseText)}},t.binary&&("overrideMimeType"in o&&o.overrideMimeType("text/plain; charset=x-user-defined"),o.responseType="arraybuffer"),o.open("GET",e),o.send()}},function(e,t,i){"use strict";function o(e){return"undefined"!=typeof Float32Array?function(){function t(e,t,i){n[0]=e,t[i]=s[0],t[i+1]=s[1],t[i+2]=s[2],t[i+3]=s[3]}function i(e,t,i){n[0]=e,t[i]=s[3],t[i+1]=s[2],t[i+2]=s[1],t[i+3]=s[0]}function o(e,t){return s[0]=e[t],s[1]=e[t+1],s[2]=e[t+2],s[3]=e[t+3],n[0]}function r(e,t){return s[3]=e[t],s[2]=e[t+1],s[1]=e[t+2],s[0]=e[t+3],n[0]}var n=new Float32Array([-0]),s=new Uint8Array(n.buffer),d=128===s[3];e.writeFloatLE=d?t:i,e.writeFloatBE=d?i:t,e.readFloatLE=d?o:r,e.readFloatBE=d?r:o}():function(){function t(e,t,i,o){var r=t<0?1:0;if(r&&(t=-t),0===t)e(1/t>0?0:2147483648,i,o);else if(isNaN(t))e(2143289344,i,o);else if(t>3.4028234663852886e38)e((r<<31|2139095040)>>>0,i,o);else if(t<1.1754943508222875e-38)e((r<<31|Math.round(t/1.401298464324817e-45))>>>0,i,o);else{var n=Math.floor(Math.log(t)/Math.LN2),s=8388607&Math.round(t*Math.pow(2,-n)*8388608);e((r<<31|n+127<<23|s)>>>0,i,o)}}function i(e,t,i){var o=e(t,i),r=2*(o>>31)+1,n=o>>>23&255,s=8388607&o;return 255===n?s?NaN:r*(1/0):0===n?1.401298464324817e-45*r*s:r*Math.pow(2,n-150)*(s+8388608)}e.writeFloatLE=t.bind(null,r),e.writeFloatBE=t.bind(null,n),e.readFloatLE=i.bind(null,s),e.readFloatBE=i.bind(null,d)}(),"undefined"!=typeof Float64Array?function(){function t(e,t,i){n[0]=e,t[i]=s[0],t[i+1]=s[1],t[i+2]=s[2],t[i+3]=s[3],t[i+4]=s[4],t[i+5]=s[5],t[i+6]=s[6],t[i+7]=s[7]}function i(e,t,i){n[0]=e,t[i]=s[7],t[i+1]=s[6],t[i+2]=s[5],t[i+3]=s[4],t[i+4]=s[3],t[i+5]=s[2],t[i+6]=s[1],t[i+7]=s[0]}function o(e,t){return s[0]=e[t],s[1]=e[t+1],s[2]=e[t+2],s[3]=e[t+3],s[4]=e[t+4],s[5]=e[t+5],s[6]=e[t+6],s[7]=e[t+7],n[0]}function r(e,t){return s[7]=e[t],s[6]=e[t+1],s[5]=e[t+2],s[4]=e[t+3],s[3]=e[t+4],s[2]=e[t+5],s[1]=e[t+6],s[0]=e[t+7],n[0]}var n=new Float64Array([-0]),s=new Uint8Array(n.buffer),d=128===s[7];e.writeDoubleLE=d?t:i,e.writeDoubleBE=d?i:t,e.readDoubleLE=d?o:r,e.readDoubleBE=d?r:o}():function(){function t(e,t,i,o,r,n){var s=o<0?1:0;if(s&&(o=-o),0===o)e(0,r,n+t),e(1/o>0?0:2147483648,r,n+i);else if(isNaN(o))e(0,r,n+t),e(2146959360,r,n+i);else if(o>1.7976931348623157e308)e(0,r,n+t),e((s<<31|2146435072)>>>0,r,n+i);else{var d;if(o<2.2250738585072014e-308)d=o/5e-324,e(d>>>0,r,n+t),e((s<<31|d/4294967296)>>>0,r,n+i);else{var a=Math.floor(Math.log(o)/Math.LN2);1024===a&&(a=1023),d=o*Math.pow(2,-a),e(4503599627370496*d>>>0,r,n+t),e((s<<31|a+1023<<20|1048576*d&1048575)>>>0,r,n+i)}}}function i(e,t,i,o,r){var n=e(o,r+t),s=e(o,r+i),d=2*(s>>31)+1,a=s>>>20&2047,p=4294967296*(1048575&s)+n;return 2047===a?p?NaN:d*(1/0):0===a?5e-324*d*p:d*Math.pow(2,a-1075)*(p+4503599627370496)}e.writeDoubleLE=t.bind(null,r,0,4),e.writeDoubleBE=t.bind(null,n,4,0),e.readDoubleLE=i.bind(null,s,0,4),e.readDoubleBE=i.bind(null,d,4,0)}(),e}function r(e,t,i){t[i]=255&e,t[i+1]=e>>>8&255,t[i+2]=e>>>16&255,t[i+3]=e>>>24}function n(e,t,i){t[i]=e>>>24,t[i+1]=e>>>16&255,t[i+2]=e>>>8&255,t[i+3]=255&e}function s(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function d(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}e.exports=o(o)},function(e,t,i){"use strict";var o=t,r=o.isAbsolute=function(e){return/^(?:\/|\w+:)/.test(e)},n=o.normalize=function(e){e=e.replace(/\\/g,"/").replace(/\/{2,}/g,"/");var t=e.split("/"),i=r(e),o="";i&&(o=t.shift()+"/");for(var n=0;n<t.length;)".."===t[n]?n>0&&".."!==t[n-1]?t.splice(--n,2):i?t.splice(n,1):++n:"."===t[n]?t.splice(n,1):++n;return o+t.join("/")};o.resolve=function(e,t,i){return i||(t=n(t)),r(t)?t:(i||(e=n(e)),(e=e.replace(/(?:\/|^)[^\/]+$/,"")).length?n(e+"/"+t):t)}},function(e,t,i){"use strict";function o(e,t,i){var o=i||8192,r=o>>>1,n=null,s=o;return function(i){if(i<1||i>r)return e(i);s+i>o&&(n=e(o),s=0);var d=t.call(n,s,s+=i);return 7&s&&(s=1+(7|s)),d}}e.exports=o},function(e,t,i){"use strict";var o=t;o.length=function(e){for(var t=0,i=0,o=0;o<e.length;++o)i=e.charCodeAt(o),i<128?t+=1:i<2048?t+=2:55296==(64512&i)&&56320==(64512&e.charCodeAt(o+1))?(++o,t+=4):t+=3;return t},o.read=function(e,t,i){if(i-t<1)return"";for(var o,r=null,n=[],s=0;t<i;)o=e[t++],o<128?n[s++]=o:o>191&&o<224?n[s++]=(31&o)<<6|63&e[t++]:o>239&&o<365?(o=((7&o)<<18|(63&e[t++])<<12|(63&e[t++])<<6|63&e[t++])-65536,n[s++]=55296+(o>>10),n[s++]=56320+(1023&o)):n[s++]=(15&o)<<12|(63&e[t++])<<6|63&e[t++],s>8191&&((r||(r=[])).push(String.fromCharCode.apply(String,n)),s=0);return r?(s&&r.push(String.fromCharCode.apply(String,n.slice(0,s))),r.join("")):String.fromCharCode.apply(String,n.slice(0,s))},o.write=function(e,t,i){for(var o,r,n=i,s=0;s<e.length;++s)o=e.charCodeAt(s),o<128?t[i++]=o:o<2048?(t[i++]=o>>6|192,t[i++]=63&o|128):55296==(64512&o)&&56320==(64512&(r=e.charCodeAt(s+1)))?(o=65536+((1023&o)<<10)+(1023&r),++s,t[i++]=o>>18|240,t[i++]=o>>12&63|128,t[i++]=o>>6&63|128,t[i++]=63&o|128):(t[i++]=o>>12|224,t[i++]=o>>6&63|128,t[i++]=63&o|128);return i-n}},function(e,t,i){"use strict";function o(e,t,i){return"function"==typeof t?(i=t,t=new n.Root):t||(t=new n.Root),t.load(e,i)}function r(e,t){return t||(t=new n.Root),t.loadSync(e)}var n=e.exports=i(39);n.build="light",n.load=o,n.loadSync=r,n.encoder=i(15),n.decoder=i(14),n.verifier=i(23),n.converter=i(13),n.ReflectionObject=i(4),n.Namespace=i(5),n.Root=i(18),n.Enum=i(1),n.Type=i(22),n.Field=i(3),n.OneOf=i(8),n.MapField=i(16),n.Service=i(21),n.Method=i(17),n.Message=i(7),n.wrappers=i(24),n.types=i(6),n.util=i(0),n.ReflectionObject._configure(n.Root),n.Namespace._configure(n.Type,n.Service),n.Root._configure(n.Type),n.Field._configure(n.Type)},function(e,t,i){"use strict";function o(){r.Reader._configure(r.BufferReader),r.util._configure()}var r=t;r.build="minimal",r.Writer=i(10),r.BufferWriter=i(43),r.Reader=i(9),r.BufferReader=i(40),r.util=i(2),r.rpc=i(20),r.roots=i(19),r.configure=o,r.Writer._configure(r.BufferWriter),o()},function(e,t,i){"use strict";function o(e){r.call(this,e)}e.exports=o;var r=i(9);(o.prototype=Object.create(r.prototype)).constructor=o;var n=i(2);n.Buffer&&(o.prototype._slice=n.Buffer.prototype.slice),o.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len))}},function(e,t,i){"use strict";function o(e,t,i){if("function"!=typeof e)throw TypeError("rpcImpl must be a function");r.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=Boolean(t),this.responseDelimited=Boolean(i)}e.exports=o;var r=i(2);(o.prototype=Object.create(r.EventEmitter.prototype)).constructor=o,o.prototype.rpcCall=function e(t,i,o,n,s){if(!n)throw TypeError("request must be specified");var d=this;if(!s)return r.asPromise(e,d,t,i,o,n);if(!d.rpcImpl)return void setTimeout(function(){s(Error("already ended"))},0);try{return d.rpcImpl(t,i[d.requestDelimited?"encodeDelimited":"encode"](n).finish(),function(e,i){if(e)return d.emit("error",e,t),s(e);if(null===i)return void d.end(!0);if(!(i instanceof o))try{i=o[d.responseDelimited?"decodeDelimited":"decode"](i)}catch(e){return d.emit("error",e,t),s(e)}return d.emit("data",i,t),s(null,i)})}catch(e){return d.emit("error",e,t),void setTimeout(function(){s(e)},0)}},o.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},function(e,t,i){"use strict";function o(e,t){this.lo=e>>>0,this.hi=t>>>0}e.exports=o;var r=i(2),n=o.zero=new o(0,0);n.toNumber=function(){return 0},n.zzEncode=n.zzDecode=function(){return this},n.length=function(){return 1};var s=o.zeroHash="\0\0\0\0\0\0\0\0";o.fromNumber=function(e){if(0===e)return n;var t=e<0;t&&(e=-e);var i=e>>>0,r=(e-i)/4294967296>>>0;return t&&(r=~r>>>0,i=~i>>>0,++i>4294967295&&(i=0,++r>4294967295&&(r=0))),new o(i,r)},o.from=function(e){if("number"==typeof e)return o.fromNumber(e);if(r.isString(e)){if(!r.Long)return o.fromNumber(parseInt(e,10));e=r.Long.fromString(e)}return e.low||e.high?new o(e.low>>>0,e.high>>>0):n},o.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=1+~this.lo>>>0,i=~this.hi>>>0;return t||(i=i+1>>>0),-(t+4294967296*i)}return this.lo+4294967296*this.hi},o.prototype.toLong=function(e){return r.Long?new r.Long(0|this.lo,0|this.hi,Boolean(e)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(e)}};var d=String.prototype.charCodeAt;o.fromHash=function(e){return e===s?n:new o((d.call(e,0)|d.call(e,1)<<8|d.call(e,2)<<16|d.call(e,3)<<24)>>>0,(d.call(e,4)|d.call(e,5)<<8|d.call(e,6)<<16|d.call(e,7)<<24)>>>0)},o.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},o.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},o.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},o.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,i=this.hi>>>24;return 0===i?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:i<128?9:10}},function(e,t,i){"use strict";function o(){n.call(this)}function r(e,t,i){e.length<40?s.utf8.write(e,t,i):t.utf8Write(e,i)}e.exports=o;var n=i(10);(o.prototype=Object.create(n.prototype)).constructor=o;var s=i(2),d=s.Buffer;o.alloc=function(e){return(o.alloc=s._Buffer_allocUnsafe)(e)};var a=d&&d.prototype instanceof Uint8Array&&"set"===d.prototype.set.name?function(e,t,i){t.set(e,i)}:function(e,t,i){if(e.copy)e.copy(t,i,0,e.length);else for(var o=0;o<e.length;)t[i++]=e[o++]};o.prototype.bytes=function(e){s.isString(e)&&(e=s._Buffer_from(e,"base64"));var t=e.length>>>0;return this.uint32(t),t&&this._push(a,t,e),this},o.prototype.string=function(e){var t=d.byteLength(e);return this.uint32(t),t&&this._push(r,t,e),this}},function(e,t){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(i=window)}e.exports=i}]);
//# sourceMappingURL=c967ff412bcc0efba45c.worker.js.map
\ No newline at end of file
{"version":3,"file":"c967ff412bcc0efba45c.worker.js","sources":["webpack:///c967ff412bcc0efba45c.worker.js"],"sourcesContent":["!function(e){function t(o){if(i[o])return i[o].exports;var r=i[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var i={};t.m=e,t.c=i,t.i=function(e){return e},t.d=function(e,i,o){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,\"a\",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p=\"/\",t(t.s=29)}([function(e,t,i){\"use strict\";var o,r,n=e.exports=i(2),s=i(19);n.codegen=i(31),n.fetch=i(33),n.path=i(35),n.fs=n.inquire(\"fs\"),n.toArray=function(e){if(e){for(var t=Object.keys(e),i=new Array(t.length),o=0;o<t.length;)i[o]=e[t[o++]];return i}return[]},n.toObject=function(e){for(var t={},i=0;i<e.length;){var o=e[i++],r=e[i++];void 0!==r&&(t[o]=r)}return t};var d=/\\\\/g,a=/\"/g;n.isReserved=function(e){return/^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/.test(e)},n.safeProp=function(e){return!/^[$\\w_]+$/.test(e)||n.isReserved(e)?'[\"'+e.replace(d,\"\\\\\\\\\").replace(a,'\\\\\"')+'\"]':\".\"+e},n.ucFirst=function(e){return e.charAt(0).toUpperCase()+e.substring(1)};var p=/_([a-z])/g;n.camelCase=function(e){return e.substring(0,1)+e.substring(1).replace(p,function(e,t){return t.toUpperCase()})},n.compareFieldsById=function(e,t){return e.id-t.id},n.decorateType=function(e,t){if(e.$type)return t&&e.$type.name!==t&&(n.decorateRoot.remove(e.$type),e.$type.name=t,n.decorateRoot.add(e.$type)),e.$type;o||(o=i(22));var r=new o(t||e.name);return n.decorateRoot.add(r),r.ctor=e,Object.defineProperty(e,\"$type\",{value:r,enumerable:!1}),Object.defineProperty(e.prototype,\"$type\",{value:r,enumerable:!1}),r};var l=0;n.decorateEnum=function(e){if(e.$type)return e.$type;r||(r=i(1));var t=new r(\"Enum\"+l++,e);return n.decorateRoot.add(t),Object.defineProperty(e,\"$type\",{value:t,enumerable:!1}),t},Object.defineProperty(n,\"decorateRoot\",{get:function(){return s.decorated||(s.decorated=new(i(18)))}})},function(e,t,i){\"use strict\";function o(e,t,i){if(r.call(this,e,i),t&&\"object\"!=typeof t)throw TypeError(\"values must be an object\");if(this.valuesById={},this.values=Object.create(this.valuesById),this.comments={},this.reserved=void 0,t)for(var o=Object.keys(t),n=0;n<o.length;++n)\"number\"==typeof t[o[n]]&&(this.valuesById[this.values[o[n]]=t[o[n]]]=o[n])}e.exports=o;var r=i(4);((o.prototype=Object.create(r.prototype)).constructor=o).className=\"Enum\";var n=i(5),s=i(0);o.fromJSON=function(e,t){var i=new o(e,t.values,t.options);return i.reserved=t.reserved,i},o.prototype.toJSON=function(){return s.toObject([\"options\",this.options,\"values\",this.values,\"reserved\",this.reserved&&this.reserved.length?this.reserved:void 0])},o.prototype.add=function(e,t,i){if(!s.isString(e))throw TypeError(\"name must be a string\");if(!s.isInteger(t))throw TypeError(\"id must be an integer\");if(void 0!==this.values[e])throw Error(\"duplicate name '\"+e+\"' in \"+this);if(this.isReservedId(t))throw Error(\"id \"+t+\" is reserved in \"+this);if(this.isReservedName(e))throw Error(\"name '\"+e+\"' is reserved in \"+this);if(void 0!==this.valuesById[t]){if(!this.options||!this.options.allow_alias)throw Error(\"duplicate id \"+t+\" in \"+this);this.values[e]=t}else this.valuesById[this.values[e]=t]=e;return this.comments[e]=i||null,this},o.prototype.remove=function(e){if(!s.isString(e))throw TypeError(\"name must be a string\");var t=this.values[e];if(null==t)throw Error(\"name '\"+e+\"' does not exist in \"+this);return delete this.valuesById[t],delete this.values[e],delete this.comments[e],this},o.prototype.isReservedId=function(e){return n.isReservedId(this.reserved,e)},o.prototype.isReservedName=function(e){return n.isReservedName(this.reserved,e)}},function(e,t,i){\"use strict\";(function(e){function o(e,t,i){for(var o=Object.keys(t),r=0;r<o.length;++r)void 0!==e[o[r]]&&i||(e[o[r]]=t[o[r]]);return e}function r(e){function t(e,i){if(!(this instanceof t))return new t(e,i);Object.defineProperty(this,\"message\",{get:function(){return e}}),Error.captureStackTrace?Error.captureStackTrace(this,t):Object.defineProperty(this,\"stack\",{value:(new Error).stack||\"\"}),i&&o(this,i)}return(t.prototype=Object.create(Error.prototype)).constructor=t,Object.defineProperty(t.prototype,\"name\",{get:function(){return e}}),t.prototype.toString=function(){return this.name+\": \"+this.message},t}var n=t;n.asPromise=i(11),n.base64=i(30),n.EventEmitter=i(32),n.float=i(34),n.inquire=i(12),n.utf8=i(37),n.pool=i(36),n.LongBits=i(42),n.emptyArray=Object.freeze?Object.freeze([]):[],n.emptyObject=Object.freeze?Object.freeze({}):{},n.isNode=Boolean(e.process&&e.process.versions&&e.process.versions.node),n.isInteger=Number.isInteger||function(e){return\"number\"==typeof e&&isFinite(e)&&Math.floor(e)===e},n.isString=function(e){return\"string\"==typeof e||e instanceof String},n.isObject=function(e){return e&&\"object\"==typeof e},n.isset=n.isSet=function(e,t){var i=e[t];return!(null==i||!e.hasOwnProperty(t))&&(\"object\"!=typeof i||(Array.isArray(i)?i.length:Object.keys(i).length)>0)},n.Buffer=function(){try{var e=n.inquire(\"buffer\").Buffer;return e.prototype.utf8Write?e:null}catch(e){return null}}(),n._Buffer_from=null,n._Buffer_allocUnsafe=null,n.newBuffer=function(e){return\"number\"==typeof e?n.Buffer?n._Buffer_allocUnsafe(e):new n.Array(e):n.Buffer?n._Buffer_from(e):\"undefined\"==typeof Uint8Array?e:new Uint8Array(e)},n.Array=\"undefined\"!=typeof Uint8Array?Uint8Array:Array,n.Long=e.dcodeIO&&e.dcodeIO.Long||n.inquire(\"long\"),n.key2Re=/^true|false|0|1$/,n.key32Re=/^-?(?:0|[1-9][0-9]*)$/,n.key64Re=/^(?:[\\\\x00-\\\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,n.longToHash=function(e){return e?n.LongBits.from(e).toHash():n.LongBits.zeroHash},n.longFromHash=function(e,t){var i=n.LongBits.fromHash(e);return n.Long?n.Long.fromBits(i.lo,i.hi,t):i.toNumber(Boolean(t))},n.merge=o,n.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},n.newError=r,n.ProtocolError=r(\"ProtocolError\"),n.oneOfGetter=function(e){for(var t={},i=0;i<e.length;++i)t[e[i]]=1;return function(){for(var e=Object.keys(this),i=e.length-1;i>-1;--i)if(1===t[e[i]]&&void 0!==this[e[i]]&&null!==this[e[i]])return e[i]}},n.oneOfSetter=function(e){return function(t){for(var i=0;i<e.length;++i)e[i]!==t&&delete this[e[i]]}},n.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},n._configure=function(){var e=n.Buffer;if(!e)return void(n._Buffer_from=n._Buffer_allocUnsafe=null);n._Buffer_from=e.from!==Uint8Array.from&&e.from||function(t,i){return new e(t,i)},n._Buffer_allocUnsafe=e.allocUnsafe||function(t){return new e(t)}}}).call(t,i(44))},function(e,t,i){\"use strict\";function o(e,t,i,o,n,s){if(a.isObject(o)?(s=o,o=n=void 0):a.isObject(n)&&(s=n,n=void 0),r.call(this,e,s),!a.isInteger(t)||t<0)throw TypeError(\"id must be a non-negative integer\");if(!a.isString(i))throw TypeError(\"type must be a string\");if(void 0!==o&&!p.test(o=o.toString().toLowerCase()))throw TypeError(\"rule must be a string rule\");if(void 0!==n&&!a.isString(n))throw TypeError(\"extend must be a string\");this.rule=o&&\"optional\"!==o?o:void 0,this.type=i,this.id=t,this.extend=n||void 0,this.required=\"required\"===o,this.optional=!this.required,this.repeated=\"repeated\"===o,this.map=!1,this.message=null,this.partOf=null,this.typeDefault=null,this.defaultValue=null,this.long=!!a.Long&&void 0!==d.long[i],this.bytes=\"bytes\"===i,this.resolvedType=null,this.extensionField=null,this.declaringField=null,this._packed=null}e.exports=o;var r=i(4);((o.prototype=Object.create(r.prototype)).constructor=o).className=\"Field\";var n,s=i(1),d=i(6),a=i(0),p=/^required|optional|repeated$/;o.fromJSON=function(e,t){return new o(e,t.id,t.type,t.rule,t.extend,t.options)},Object.defineProperty(o.prototype,\"packed\",{get:function(){return null===this._packed&&(this._packed=!1!==this.getOption(\"packed\")),this._packed}}),o.prototype.setOption=function(e,t,i){return\"packed\"===e&&(this._packed=null),r.prototype.setOption.call(this,e,t,i)},o.prototype.toJSON=function(){return a.toObject([\"rule\",\"optional\"!==this.rule&&this.rule||void 0,\"type\",this.type,\"id\",this.id,\"extend\",this.extend,\"options\",this.options])},o.prototype.resolve=function(){if(this.resolved)return this;if(void 0===(this.typeDefault=d.defaults[this.type])&&(this.resolvedType=(this.declaringField?this.declaringField.parent:this.parent).lookupTypeOrEnum(this.type),this.resolvedType instanceof n?this.typeDefault=null:this.typeDefault=this.resolvedType.values[Object.keys(this.resolvedType.values)[0]]),this.options&&null!=this.options.default&&(this.typeDefault=this.options.default,this.resolvedType instanceof s&&\"string\"==typeof this.typeDefault&&(this.typeDefault=this.resolvedType.values[this.typeDefault])),this.options&&(!0!==this.options.packed&&(void 0===this.options.packed||!this.resolvedType||this.resolvedType instanceof s)||delete this.options.packed,Object.keys(this.options).length||(this.options=void 0)),this.long)this.typeDefault=a.Long.fromNumber(this.typeDefault,\"u\"===this.type.charAt(0)),Object.freeze&&Object.freeze(this.typeDefault);else if(this.bytes&&\"string\"==typeof this.typeDefault){var e;a.base64.test(this.typeDefault)?a.base64.decode(this.typeDefault,e=a.newBuffer(a.base64.length(this.typeDefault)),0):a.utf8.write(this.typeDefault,e=a.newBuffer(a.utf8.length(this.typeDefault)),0),this.typeDefault=e}return this.map?this.defaultValue=a.emptyObject:this.repeated?this.defaultValue=a.emptyArray:this.defaultValue=this.typeDefault,this.parent instanceof n&&(this.parent.ctor.prototype[this.name]=this.defaultValue),r.prototype.resolve.call(this)},o.d=function(e,t,i,r){return\"function\"==typeof t?t=a.decorateType(t).name:t&&\"object\"==typeof t&&(t=a.decorateEnum(t).name),function(n,s){a.decorateType(n.constructor).add(new o(s,e,t,i,{default:r}))}},o._configure=function(e){n=e}},function(e,t,i){\"use strict\";function o(e,t){if(!n.isString(e))throw TypeError(\"name must be a string\");if(t&&!n.isObject(t))throw TypeError(\"options must be an object\");this.options=t,this.name=e,this.parent=null,this.resolved=!1,this.comment=null,this.filename=null}e.exports=o,o.className=\"ReflectionObject\";var r,n=i(0);Object.defineProperties(o.prototype,{root:{get:function(){for(var e=this;null!==e.parent;)e=e.parent;return e}},fullName:{get:function(){for(var e=[this.name],t=this.parent;t;)e.unshift(t.name),t=t.parent;return e.join(\".\")}}}),o.prototype.toJSON=function(){throw Error()},o.prototype.onAdd=function(e){this.parent&&this.parent!==e&&this.parent.remove(this),this.parent=e,this.resolved=!1;var t=e.root;t instanceof r&&t._handleAdd(this)},o.prototype.onRemove=function(e){var t=e.root;t instanceof r&&t._handleRemove(this),this.parent=null,this.resolved=!1},o.prototype.resolve=function(){return this.resolved?this:(this.root instanceof r&&(this.resolved=!0),this)},o.prototype.getOption=function(e){if(this.options)return this.options[e]},o.prototype.setOption=function(e,t,i){return i&&this.options&&void 0!==this.options[e]||((this.options||(this.options={}))[e]=t),this},o.prototype.setOptions=function(e,t){if(e)for(var i=Object.keys(e),o=0;o<i.length;++o)this.setOption(i[o],e[i[o]],t);return this},o.prototype.toString=function(){var e=this.constructor.className,t=this.fullName;return t.length?e+\" \"+t:e},o._configure=function(e){r=e}},function(e,t,i){\"use strict\";function o(e){if(e&&e.length){for(var t={},i=0;i<e.length;++i)t[e[i].name]=e[i].toJSON();return t}}function r(e,t){s.call(this,e,t),this.nested=void 0,this._nestedArray=null}function n(e){return e._nestedArray=null,e}e.exports=r;var s=i(4);((r.prototype=Object.create(s.prototype)).constructor=r).className=\"Namespace\";var d,a,p=i(1),l=i(3),u=i(0);r.fromJSON=function(e,t){return new r(e,t.options).addJSON(t.nested)},r.arrayToJSON=o,r.isReservedId=function(e,t){if(e)for(var i=0;i<e.length;++i)if(\"string\"!=typeof e[i]&&e[i][0]<=t&&e[i][1]>=t)return!0;return!1},r.isReservedName=function(e,t){if(e)for(var i=0;i<e.length;++i)if(e[i]===t)return!0;return!1},Object.defineProperty(r.prototype,\"nestedArray\",{get:function(){return this._nestedArray||(this._nestedArray=u.toArray(this.nested))}}),r.prototype.toJSON=function(){return u.toObject([\"options\",this.options,\"nested\",o(this.nestedArray)])},r.prototype.addJSON=function(e){var t=this;if(e)for(var i,o=Object.keys(e),n=0;n<o.length;++n)i=e[o[n]],t.add((void 0!==i.fields?d.fromJSON:void 0!==i.values?p.fromJSON:void 0!==i.methods?a.fromJSON:void 0!==i.id?l.fromJSON:r.fromJSON)(o[n],i));return this},r.prototype.get=function(e){return this.nested&&this.nested[e]||null},r.prototype.getEnum=function(e){if(this.nested&&this.nested[e]instanceof p)return this.nested[e].values;throw Error(\"no such enum\")},r.prototype.add=function(e){if(!(e instanceof l&&void 0!==e.extend||e instanceof d||e instanceof p||e instanceof a||e instanceof r))throw TypeError(\"object must be a valid nested object\");if(this.nested){var t=this.get(e.name);if(t){if(!(t instanceof r&&e instanceof r)||t instanceof d||t instanceof a)throw Error(\"duplicate name '\"+e.name+\"' in \"+this);for(var i=t.nestedArray,o=0;o<i.length;++o)e.add(i[o]);this.remove(t),this.nested||(this.nested={}),e.setOptions(t.options,!0)}}else this.nested={};return this.nested[e.name]=e,e.onAdd(this),n(this)},r.prototype.remove=function(e){if(!(e instanceof s))throw TypeError(\"object must be a ReflectionObject\");if(e.parent!==this)throw Error(e+\" is not a member of \"+this);return delete this.nested[e.name],Object.keys(this.nested).length||(this.nested=void 0),e.onRemove(this),n(this)},r.prototype.define=function(e,t){if(u.isString(e))e=e.split(\".\");else if(!Array.isArray(e))throw TypeError(\"illegal path\");if(e&&e.length&&\"\"===e[0])throw Error(\"path must be relative\");for(var i=this;e.length>0;){var o=e.shift();if(i.nested&&i.nested[o]){if(!((i=i.nested[o])instanceof r))throw Error(\"path conflicts with non-namespace objects\")}else i.add(i=new r(o))}return t&&i.addJSON(t),i},r.prototype.resolveAll=function(){for(var e=this.nestedArray,t=0;t<e.length;)e[t]instanceof r?e[t++].resolveAll():e[t++].resolve();return this.resolve()},r.prototype.lookup=function(e,t,i){if(\"boolean\"==typeof t?(i=t,t=void 0):t&&!Array.isArray(t)&&(t=[t]),u.isString(e)&&e.length){if(\".\"===e)return this.root;e=e.split(\".\")}else if(!e.length)return this;if(\"\"===e[0])return this.root.lookup(e.slice(1),t);var o=this.get(e[0]);if(o){if(1===e.length){if(!t||t.indexOf(o.constructor)>-1)return o}else if(o instanceof r&&(o=o.lookup(e.slice(1),t,!0)))return o}else for(var n=0;n<this.nestedArray.length;++n)if(this._nestedArray[n]instanceof r&&(o=this._nestedArray[n].lookup(e,t,!0)))return o;return null===this.parent||i?null:this.parent.lookup(e,t)},r.prototype.lookupType=function(e){var t=this.lookup(e,[d]);if(!t)throw Error(\"no such type\");return t},r.prototype.lookupEnum=function(e){var t=this.lookup(e,[p]);if(!t)throw Error(\"no such Enum '\"+e+\"' in \"+this);return t},r.prototype.lookupTypeOrEnum=function(e){var t=this.lookup(e,[d,p]);if(!t)throw Error(\"no such Type or Enum '\"+e+\"' in \"+this);return t},r.prototype.lookupService=function(e){var t=this.lookup(e,[a]);if(!t)throw Error(\"no such Service '\"+e+\"' in \"+this);return t},r._configure=function(e,t){d=e,a=t}},function(e,t,i){\"use strict\";function o(e,t){var i=0,o={};for(t|=0;i<e.length;)o[s[i+t]]=e[i++];return o}var r=t,n=i(0),s=[\"double\",\"float\",\"int32\",\"uint32\",\"sint32\",\"fixed32\",\"sfixed32\",\"int64\",\"uint64\",\"sint64\",\"fixed64\",\"sfixed64\",\"bool\",\"string\",\"bytes\"];r.basic=o([1,5,0,0,0,5,5,0,0,0,1,1,0,2,2]),r.defaults=o([0,0,0,0,0,0,0,0,0,0,0,0,!1,\"\",n.emptyArray,null]),r.long=o([0,0,0,1,1],7),r.mapKey=o([0,0,0,5,5,0,0,0,1,1,0,2],2),r.packed=o([1,5,0,0,0,5,5,0,0,0,1,1,0])},function(e,t,i){\"use strict\";function o(e){if(e)for(var t=Object.keys(e),i=0;i<t.length;++i)this[t[i]]=e[t[i]]}e.exports=o;var r=i(2);o.create=function(e){return this.$type.create(e)},o.encode=function(e,t){return this.$type.encode(e,t)},o.encodeDelimited=function(e,t){return this.$type.encodeDelimited(e,t)},o.decode=function(e){return this.$type.decode(e)},o.decodeDelimited=function(e){return this.$type.decodeDelimited(e)},o.verify=function(e){return this.$type.verify(e)},o.fromObject=function(e){return this.$type.fromObject(e)},o.toObject=function(e,t){return this.$type.toObject(e,t)},o.prototype.toJSON=function(){return this.$type.toObject(this,r.toJSONOptions)}},function(e,t,i){\"use strict\";function o(e,t,i){if(Array.isArray(t)||(i=t,t=void 0),n.call(this,e,i),void 0!==t&&!Array.isArray(t))throw TypeError(\"fieldNames must be an Array\");this.oneof=t||[],this.fieldsArray=[]}function r(e){if(e.parent)for(var t=0;t<e.fieldsArray.length;++t)e.fieldsArray[t].parent||e.parent.add(e.fieldsArray[t])}e.exports=o;var n=i(4);((o.prototype=Object.create(n.prototype)).constructor=o).className=\"OneOf\";var s=i(3),d=i(0);o.fromJSON=function(e,t){return new o(e,t.oneof,t.options)},o.prototype.toJSON=function(){return d.toObject([\"options\",this.options,\"oneof\",this.oneof])},o.prototype.add=function(e){if(!(e instanceof s))throw TypeError(\"field must be a Field\");return e.parent&&e.parent!==this.parent&&e.parent.remove(e),this.oneof.push(e.name),this.fieldsArray.push(e),e.partOf=this,r(this),this},o.prototype.remove=function(e){if(!(e instanceof s))throw TypeError(\"field must be a Field\");var t=this.fieldsArray.indexOf(e);if(t<0)throw Error(e+\" is not a member of \"+this);return this.fieldsArray.splice(t,1),t=this.oneof.indexOf(e.name),t>-1&&this.oneof.splice(t,1),e.partOf=null,this},o.prototype.onAdd=function(e){n.prototype.onAdd.call(this,e);for(var t=this,i=0;i<this.oneof.length;++i){var o=e.get(this.oneof[i]);o&&!o.partOf&&(o.partOf=t,t.fieldsArray.push(o))}r(this)},o.prototype.onRemove=function(e){for(var t,i=0;i<this.fieldsArray.length;++i)(t=this.fieldsArray[i]).parent&&t.parent.remove(t);n.prototype.onRemove.call(this,e)},o.d=function(){for(var e=new Array(arguments.length),t=0;t<arguments.length;)e[t]=arguments[t++];return function(t,i){d.decorateType(t.constructor).add(new o(i,e)),Object.defineProperty(t,i,{get:d.oneOfGetter(e),set:d.oneOfSetter(e)})}}},function(e,t,i){\"use strict\";function o(e,t){return RangeError(\"index out of range: \"+e.pos+\" + \"+(t||1)+\" > \"+e.len)}function r(e){this.buf=e,this.pos=0,this.len=e.length}function n(){var e=new l(0,0),t=0;if(!(this.len-this.pos>4)){for(;t<3;++t){if(this.pos>=this.len)throw o(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;if(t=0,this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw o(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error(\"invalid varint encoding\")}function s(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function d(){if(this.pos+8>this.len)throw o(this,8);return new l(s(this.buf,this.pos+=4),s(this.buf,this.pos+=4))}e.exports=r;var a,p=i(2),l=p.LongBits,u=p.utf8,f=\"undefined\"!=typeof Uint8Array?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new r(e);throw Error(\"illegal buffer\")}:function(e){if(Array.isArray(e))return new r(e);throw Error(\"illegal buffer\")};r.create=p.Buffer?function(e){return(r.create=function(e){return p.Buffer.isBuffer(e)?new a(e):f(e)})(e)}:f,r.prototype._slice=p.Array.prototype.subarray||p.Array.prototype.slice,r.prototype.uint32=function(){var e=4294967295;return function(){if(e=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return e;if((this.pos+=5)>this.len)throw this.pos=this.len,o(this,10);return e}}(),r.prototype.int32=function(){return 0|this.uint32()},r.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)|0},r.prototype.bool=function(){return 0!==this.uint32()},r.prototype.fixed32=function(){if(this.pos+4>this.len)throw o(this,4);return s(this.buf,this.pos+=4)},r.prototype.sfixed32=function(){if(this.pos+4>this.len)throw o(this,4);return 0|s(this.buf,this.pos+=4)},r.prototype.float=function(){if(this.pos+4>this.len)throw o(this,4);var e=p.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},r.prototype.double=function(){if(this.pos+8>this.len)throw o(this,4);var e=p.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},r.prototype.bytes=function(){var e=this.uint32(),t=this.pos,i=this.pos+e;if(i>this.len)throw o(this,e);return this.pos+=e,Array.isArray(this.buf)?this.buf.slice(t,i):t===i?new this.buf.constructor(0):this._slice.call(this.buf,t,i)},r.prototype.string=function(){var e=this.bytes();return u.read(e,0,e.length)},r.prototype.skip=function(e){if(\"number\"==typeof e){if(this.pos+e>this.len)throw o(this,e);this.pos+=e}else do{if(this.pos>=this.len)throw o(this)}while(128&this.buf[this.pos++]);return this},r.prototype.skipType=function(e){switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;;){if(4==(e=7&this.uint32()))break;this.skipType(e)}break;case 5:this.skip(4);break;default:throw Error(\"invalid wire type \"+e+\" at offset \"+this.pos)}return this},r._configure=function(e){a=e;var t=p.Long?\"toLong\":\"toNumber\";p.merge(r.prototype,{int64:function(){return n.call(this)[t](!1)},uint64:function(){return n.call(this)[t](!0)},sint64:function(){return n.call(this).zzDecode()[t](!1)},fixed64:function(){return d.call(this)[t](!0)},sfixed64:function(){return d.call(this)[t](!1)}})}},function(e,t,i){\"use strict\";function o(e,t,i){this.fn=e,this.len=t,this.next=void 0,this.val=i}function r(){}function n(e){this.head=e.head,this.tail=e.tail,this.len=e.len,this.next=e.states}function s(){this.len=0,this.head=new o(r,0,0),this.tail=this.head,this.states=null}function d(e,t,i){t[i]=255&e}function a(e,t,i){for(;e>127;)t[i++]=127&e|128,e>>>=7;t[i]=e}function p(e,t){this.len=e,this.next=void 0,this.val=t}function l(e,t,i){for(;e.hi;)t[i++]=127&e.lo|128,e.lo=(e.lo>>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[i++]=127&e.lo|128,e.lo=e.lo>>>7;t[i++]=e.lo}function u(e,t,i){t[i]=255&e,t[i+1]=e>>>8&255,t[i+2]=e>>>16&255,t[i+3]=e>>>24}e.exports=s;var f,y=i(2),c=y.LongBits,h=y.base64,g=y.utf8;s.create=y.Buffer?function(){return(s.create=function(){return new f})()}:function(){return new s},s.alloc=function(e){return new y.Array(e)},y.Array!==Array&&(s.alloc=y.pool(s.alloc,y.Array.prototype.subarray)),s.prototype._push=function(e,t,i){return this.tail=this.tail.next=new o(e,t,i),this.len+=t,this},p.prototype=Object.create(o.prototype),p.prototype.fn=a,s.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new p((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this},s.prototype.int32=function(e){return e<0?this._push(l,10,c.fromNumber(e)):this.uint32(e)},s.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},s.prototype.uint64=function(e){var t=c.from(e);return this._push(l,t.length(),t)},s.prototype.int64=s.prototype.uint64,s.prototype.sint64=function(e){var t=c.from(e).zzEncode();return this._push(l,t.length(),t)},s.prototype.bool=function(e){return this._push(d,1,e?1:0)},s.prototype.fixed32=function(e){return this._push(u,4,e>>>0)},s.prototype.sfixed32=s.prototype.fixed32,s.prototype.fixed64=function(e){var t=c.from(e);return this._push(u,4,t.lo)._push(u,4,t.hi)},s.prototype.sfixed64=s.prototype.fixed64,s.prototype.float=function(e){return this._push(y.float.writeFloatLE,4,e)},s.prototype.double=function(e){return this._push(y.float.writeDoubleLE,8,e)};var m=y.Array.prototype.set?function(e,t,i){t.set(e,i)}:function(e,t,i){for(var o=0;o<e.length;++o)t[i+o]=e[o]};s.prototype.bytes=function(e){var t=e.length>>>0;if(!t)return this._push(d,1,0);if(y.isString(e)){var i=s.alloc(t=h.length(e));h.decode(e,i,0),e=i}return this.uint32(t)._push(m,t,e)},s.prototype.string=function(e){var t=g.length(e);return t?this.uint32(t)._push(g.write,t,e):this._push(d,1,0)},s.prototype.fork=function(){return this.states=new n(this),this.head=this.tail=new o(r,0,0),this.len=0,this},s.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new o(r,0,0),this.len=0),this},s.prototype.ldelim=function(){var e=this.head,t=this.tail,i=this.len;return this.reset().uint32(i),i&&(this.tail.next=e.next,this.tail=t,this.len+=i),this},s.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),i=0;e;)e.fn(e.val,t,i),i+=e.len,e=e.next;return t},s._configure=function(e){f=e}},function(e,t,i){\"use strict\";function o(e,t){for(var i=new Array(arguments.length-1),o=0,r=2,n=!0;r<arguments.length;)i[o++]=arguments[r++];return new Promise(function(r,s){i[o]=function(e){if(n)if(n=!1,e)s(e);else{for(var t=new Array(arguments.length-1),i=0;i<t.length;)t[i++]=arguments[i];r.apply(null,t)}};try{e.apply(t||null,i)}catch(e){n&&(n=!1,s(e))}})}e.exports=o},function(module,exports,__webpack_require__){\"use strict\";function inquire(moduleName){try{var mod=eval(\"quire\".replace(/^/,\"re\"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}module.exports=inquire},function(e,t,i){\"use strict\";function o(e,t,i,o){if(t.resolvedType)if(t.resolvedType instanceof s){e(\"switch(d%s){\",o);for(var r=t.resolvedType.values,n=Object.keys(r),d=0;d<n.length;++d)t.repeated&&r[n[d]]===t.typeDefault&&e(\"default:\"),e(\"case%j:\",n[d])(\"case %i:\",r[n[d]])(\"m%s=%j\",o,r[n[d]])(\"break\");e(\"}\")}else e('if(typeof d%s!==\"object\")',o)(\"throw TypeError(%j)\",t.fullName+\": object expected\")(\"m%s=types[%i].fromObject(d%s)\",o,i,o);else{var a=!1;switch(t.type){case\"double\":case\"float\":e(\"m%s=Number(d%s)\",o,o);break;case\"uint32\":case\"fixed32\":e(\"m%s=d%s>>>0\",o,o);break;case\"int32\":case\"sint32\":case\"sfixed32\":e(\"m%s=d%s|0\",o,o);break;case\"uint64\":a=!0;case\"int64\":case\"sint64\":case\"fixed64\":case\"sfixed64\":e(\"if(util.Long)\")(\"(m%s=util.Long.fromValue(d%s)).unsigned=%j\",o,o,a)('else if(typeof d%s===\"string\")',o)(\"m%s=parseInt(d%s,10)\",o,o)('else if(typeof d%s===\"number\")',o)(\"m%s=d%s\",o,o)('else if(typeof d%s===\"object\")',o)(\"m%s=new util.LongBits(d%s.low>>>0,d%s.high>>>0).toNumber(%s)\",o,o,o,a?\"true\":\"\");break;case\"bytes\":e('if(typeof d%s===\"string\")',o)(\"util.base64.decode(d%s,m%s=util.newBuffer(util.base64.length(d%s)),0)\",o,o,o)(\"else if(d%s.length)\",o)(\"m%s=d%s\",o,o);break;case\"string\":e(\"m%s=String(d%s)\",o,o);break;case\"bool\":e(\"m%s=Boolean(d%s)\",o,o)}}return e}function r(e,t,i,o){if(t.resolvedType)t.resolvedType instanceof s?e(\"d%s=o.enums===String?types[%i].values[m%s]:m%s\",o,i,o,o):e(\"d%s=types[%i].toObject(m%s,o)\",o,i,o);else{var r=!1;switch(t.type){case\"double\":case\"float\":e(\"d%s=o.json&&!isFinite(m%s)?String(m%s):m%s\",o,o,o,o);break;case\"uint64\":r=!0;case\"int64\":case\"sint64\":case\"fixed64\":case\"sfixed64\":e('if(typeof m%s===\"number\")',o)(\"d%s=o.longs===String?String(m%s):m%s\",o,o,o)(\"else\")(\"d%s=o.longs===String?util.Long.prototype.toString.call(m%s):o.longs===Number?new util.LongBits(m%s.low>>>0,m%s.high>>>0).toNumber(%s):m%s\",o,o,o,o,r?\"true\":\"\",o);break;case\"bytes\":e(\"d%s=o.bytes===String?util.base64.encode(m%s,0,m%s.length):o.bytes===Array?Array.prototype.slice.call(m%s):m%s\",o,o,o,o,o);break;default:e(\"d%s=m%s\",o,o)}}return e}var n=t,s=i(1),d=i(0);n.fromObject=function(e){var t=e.fieldsArray,i=d.codegen([\"d\"],e.name+\"$fromObject\")(\"if(d instanceof this.ctor)\")(\"return d\");if(!t.length)return i(\"return new this.ctor\");i(\"var m=new this.ctor\");for(var r=0;r<t.length;++r){var n=t[r].resolve(),a=d.safeProp(n.name);n.map?(i(\"if(d%s){\",a)('if(typeof d%s!==\"object\")',a)(\"throw TypeError(%j)\",n.fullName+\": object expected\")(\"m%s={}\",a)(\"for(var ks=Object.keys(d%s),i=0;i<ks.length;++i){\",a),o(i,n,r,a+\"[ks[i]]\")(\"}\")(\"}\")):n.repeated?(i(\"if(d%s){\",a)(\"if(!Array.isArray(d%s))\",a)(\"throw TypeError(%j)\",n.fullName+\": array expected\")(\"m%s=[]\",a)(\"for(var i=0;i<d%s.length;++i){\",a),o(i,n,r,a+\"[i]\")(\"}\")(\"}\")):(n.resolvedType instanceof s||i(\"if(d%s!=null){\",a),o(i,n,r,a),n.resolvedType instanceof s||i(\"}\"))}return i(\"return m\")},n.toObject=function(e){var t=e.fieldsArray.slice().sort(d.compareFieldsById);if(!t.length)return d.codegen()(\"return {}\");for(var i=d.codegen([\"m\",\"o\"],e.name+\"$toObject\")(\"if(!o)\")(\"o={}\")(\"var d={}\"),o=[],n=[],a=[],p=0;p<t.length;++p)t[p].partOf||(t[p].resolve().repeated?o:t[p].map?n:a).push(t[p]);if(o.length){for(i(\"if(o.arrays||o.defaults){\"),p=0;p<o.length;++p)i(\"d%s=[]\",d.safeProp(o[p].name));i(\"}\")}if(n.length){for(i(\"if(o.objects||o.defaults){\"),p=0;p<n.length;++p)i(\"d%s={}\",d.safeProp(n[p].name));i(\"}\")}if(a.length){for(i(\"if(o.defaults){\"),p=0;p<a.length;++p){var l=a[p],u=d.safeProp(l.name);l.resolvedType instanceof s?i(\"d%s=o.enums===String?%j:%j\",u,l.resolvedType.valuesById[l.typeDefault],l.typeDefault):l.long?i(\"if(util.Long){\")(\"var n=new util.Long(%i,%i,%j)\",l.typeDefault.low,l.typeDefault.high,l.typeDefault.unsigned)(\"d%s=o.longs===String?n.toString():o.longs===Number?n.toNumber():n\",u)(\"}else\")(\"d%s=o.longs===String?%j:%i\",u,l.typeDefault.toString(),l.typeDefault.toNumber()):l.bytes?i(\"d%s=o.bytes===String?%j:%s\",u,String.fromCharCode.apply(String,l.typeDefault),\"[\"+Array.prototype.slice.call(l.typeDefault).join(\",\")+\"]\"):i(\"d%s=%j\",u,l.typeDefault)}i(\"}\")}var f=!1;for(p=0;p<t.length;++p){var l=t[p],y=e._fieldsArray.indexOf(l),u=d.safeProp(l.name);l.map?(f||(f=!0,i(\"var ks2\")),i(\"if(m%s&&(ks2=Object.keys(m%s)).length){\",u,u)(\"d%s={}\",u)(\"for(var j=0;j<ks2.length;++j){\"),r(i,l,y,u+\"[ks2[j]]\")(\"}\")):l.repeated?(i(\"if(m%s&&m%s.length){\",u,u)(\"d%s=[]\",u)(\"for(var j=0;j<m%s.length;++j){\",u),r(i,l,y,u+\"[j]\")(\"}\")):(i(\"if(m%s!=null&&m.hasOwnProperty(%j)){\",u,l.name),r(i,l,y,u),l.partOf&&i(\"if(o.oneofs)\")(\"d%s=%j\",d.safeProp(l.partOf.name),l.name)),i(\"}\")}return i(\"return d\")}},function(e,t,i){\"use strict\";function o(e){return\"missing required '\"+e.name+\"'\"}function r(e){var t=d.codegen([\"r\",\"l\"],e.name+\"$decode\")(\"if(!(r instanceof Reader))\")(\"r=Reader.create(r)\")(\"var c=l===undefined?r.len:r.pos+l,m=new this.ctor\"+(e.fieldsArray.filter(function(e){return e.map}).length?\",k\":\"\"))(\"while(r.pos<c){\")(\"var t=r.uint32()\");e.group&&t(\"if((t&7)===4)\")(\"break\"),t(\"switch(t>>>3){\");for(var i=0;i<e.fieldsArray.length;++i){var r=e._fieldsArray[i].resolve(),a=r.resolvedType instanceof n?\"int32\":r.type,p=\"m\"+d.safeProp(r.name);t(\"case %i:\",r.id),r.map?(t(\"r.skip().pos++\")(\"if(%s===util.emptyObject)\",p)(\"%s={}\",p)(\"k=r.%s()\",r.keyType)(\"r.pos++\"),void 0!==s.long[r.keyType]?void 0===s.basic[a]?t('%s[typeof k===\"object\"?util.longToHash(k):k]=types[%i].decode(r,r.uint32())',p,i):t('%s[typeof k===\"object\"?util.longToHash(k):k]=r.%s()',p,a):void 0===s.basic[a]?t(\"%s[k]=types[%i].decode(r,r.uint32())\",p,i):t(\"%s[k]=r.%s()\",p,a)):r.repeated?(t(\"if(!(%s&&%s.length))\",p,p)(\"%s=[]\",p),void 0!==s.packed[a]&&t(\"if((t&7)===2){\")(\"var c2=r.uint32()+r.pos\")(\"while(r.pos<c2)\")(\"%s.push(r.%s())\",p,a)(\"}else\"),void 0===s.basic[a]?t(r.resolvedType.group?\"%s.push(types[%i].decode(r))\":\"%s.push(types[%i].decode(r,r.uint32()))\",p,i):t(\"%s.push(r.%s())\",p,a)):void 0===s.basic[a]?t(r.resolvedType.group?\"%s=types[%i].decode(r)\":\"%s=types[%i].decode(r,r.uint32())\",p,i):t(\"%s=r.%s()\",p,a),t(\"break\")}for(t(\"default:\")(\"r.skipType(t&7)\")(\"break\")(\"}\")(\"}\"),i=0;i<e._fieldsArray.length;++i){var l=e._fieldsArray[i];l.required&&t(\"if(!m.hasOwnProperty(%j))\",l.name)(\"throw util.ProtocolError(%j,{instance:m})\",o(l))}return t(\"return m\")}e.exports=r;var n=i(1),s=i(6),d=i(0)},function(e,t,i){\"use strict\";function o(e,t,i,o){return t.resolvedType.group?e(\"types[%i].encode(%s,w.uint32(%i)).uint32(%i)\",i,o,(t.id<<3|3)>>>0,(t.id<<3|4)>>>0):e(\"types[%i].encode(%s,w.uint32(%i).fork()).ldelim()\",i,o,(t.id<<3|2)>>>0)}function r(e){for(var t,i,r=d.codegen([\"m\",\"w\"],e.name+\"$encode\")(\"if(!w)\")(\"w=Writer.create()\"),a=e.fieldsArray.slice().sort(d.compareFieldsById),t=0;t<a.length;++t){var p=a[t].resolve(),l=e._fieldsArray.indexOf(p),u=p.resolvedType instanceof n?\"int32\":p.type,f=s.basic[u];i=\"m\"+d.safeProp(p.name),p.map?(r(\"if(%s!=null&&m.hasOwnProperty(%j)){\",i,p.name)(\"for(var ks=Object.keys(%s),i=0;i<ks.length;++i){\",i)(\"w.uint32(%i).fork().uint32(%i).%s(ks[i])\",(p.id<<3|2)>>>0,8|s.mapKey[p.keyType],p.keyType),void 0===f?r(\"types[%i].encode(%s[ks[i]],w.uint32(18).fork()).ldelim().ldelim()\",l,i):r(\".uint32(%i).%s(%s[ks[i]]).ldelim()\",16|f,u,i),r(\"}\")(\"}\")):p.repeated?(r(\"if(%s!=null&&%s.length){\",i,i),p.packed&&void 0!==s.packed[u]?r(\"w.uint32(%i).fork()\",(p.id<<3|2)>>>0)(\"for(var i=0;i<%s.length;++i)\",i)(\"w.%s(%s[i])\",u,i)(\"w.ldelim()\"):(r(\"for(var i=0;i<%s.length;++i)\",i),void 0===f?o(r,p,l,i+\"[i]\"):r(\"w.uint32(%i).%s(%s[i])\",(p.id<<3|f)>>>0,u,i)),r(\"}\")):(p.optional&&r(\"if(%s!=null&&m.hasOwnProperty(%j))\",i,p.name),void 0===f?o(r,p,l,i):r(\"w.uint32(%i).%s(%s)\",(p.id<<3|f)>>>0,u,i))}return r(\"return w\")}e.exports=r;var n=i(1),s=i(6),d=i(0)},function(e,t,i){\"use strict\";function o(e,t,i,o,n){if(r.call(this,e,t,o,n),!s.isString(i))throw TypeError(\"keyType must be a string\");this.keyType=i,this.resolvedKeyType=null,this.map=!0}e.exports=o;var r=i(3);((o.prototype=Object.create(r.prototype)).constructor=o).className=\"MapField\";var n=i(6),s=i(0);o.fromJSON=function(e,t){return new o(e,t.id,t.keyType,t.type,t.options)},o.prototype.toJSON=function(){return s.toObject([\"keyType\",this.keyType,\"type\",this.type,\"id\",this.id,\"extend\",this.extend,\"options\",this.options])},o.prototype.resolve=function(){if(this.resolved)return this;if(void 0===n.mapKey[this.keyType])throw Error(\"invalid key type: \"+this.keyType);return r.prototype.resolve.call(this)},o.d=function(e,t,i){return\"function\"==typeof i?i=s.decorateType(i).name:i&&\"object\"==typeof i&&(i=s.decorateEnum(i).name),function(r,n){s.decorateType(r.constructor).add(new o(n,e,t,i))}}},function(e,t,i){\"use strict\";function o(e,t,i,o,s,d,a){if(n.isObject(s)?(a=s,s=d=void 0):n.isObject(d)&&(a=d,d=void 0),void 0!==t&&!n.isString(t))throw TypeError(\"type must be a string\");if(!n.isString(i))throw TypeError(\"requestType must be a string\");if(!n.isString(o))throw TypeError(\"responseType must be a string\");r.call(this,e,a),this.type=t||\"rpc\",this.requestType=i,this.requestStream=!!s||void 0,this.responseType=o,this.responseStream=!!d||void 0,this.resolvedRequestType=null,this.resolvedResponseType=null}e.exports=o;var r=i(4);((o.prototype=Object.create(r.prototype)).constructor=o).className=\"Method\";var n=i(0);o.fromJSON=function(e,t){return new o(e,t.type,t.requestType,t.responseType,t.requestStream,t.responseStream,t.options)},o.prototype.toJSON=function(){return n.toObject([\"type\",\"rpc\"!==this.type&&this.type||void 0,\"requestType\",this.requestType,\"requestStream\",this.requestStream,\"responseType\",this.responseType,\"responseStream\",this.responseStream,\"options\",this.options])},o.prototype.resolve=function(){return this.resolved?this:(this.resolvedRequestType=this.parent.lookupType(this.requestType),this.resolvedResponseType=this.parent.lookupType(this.responseType),r.prototype.resolve.call(this))}},function(e,t,i){\"use strict\";function o(e){s.call(this,\"\",e),this.deferred=[],this.files=[]}function r(){}function n(e,t){var i=t.parent.lookup(t.extend);if(i){var o=new l(t.fullName,t.id,t.type,t.rule,void 0,t.options);return o.declaringField=t,t.extensionField=o,i.add(o),!0}return!1}e.exports=o;var s=i(5);((o.prototype=Object.create(s.prototype)).constructor=o).className=\"Root\";var d,a,p,l=i(3),u=i(1),f=i(8),y=i(0);o.fromJSON=function(e,t){return t||(t=new o),e.options&&t.setOptions(e.options),t.addJSON(e.nested)},o.prototype.resolvePath=y.path.resolve,o.prototype.load=function e(t,i,o){function n(e,t){if(o){var i=o;if(o=null,u)throw e;i(e,t)}}function s(e,t){try{if(y.isString(t)&&\"{\"===t.charAt(0)&&(t=JSON.parse(t)),y.isString(t)){a.filename=e;var o,r=a(t,l,i),s=0;if(r.imports)for(;s<r.imports.length;++s)(o=l.resolvePath(e,r.imports[s]))&&d(o);if(r.weakImports)for(s=0;s<r.weakImports.length;++s)(o=l.resolvePath(e,r.weakImports[s]))&&d(o,!0)}else l.setOptions(t.options).addJSON(t.nested)}catch(e){n(e)}u||f||n(null,l)}function d(e,t){var i=e.lastIndexOf(\"google/protobuf/\");if(i>-1){var r=e.substring(i);r in p&&(e=r)}if(!(l.files.indexOf(e)>-1)){if(l.files.push(e),e in p)return void(u?s(e,p[e]):(++f,setTimeout(function(){--f,s(e,p[e])})));if(u){var d;try{d=y.fs.readFileSync(e).toString(\"utf8\")}catch(e){return void(t||n(e))}s(e,d)}else++f,y.fetch(e,function(i,r){if(--f,o)return i?void(t?f||n(null,l):n(i)):void s(e,r)})}}\"function\"==typeof i&&(o=i,i=void 0);var l=this;if(!o)return y.asPromise(e,l,t,i);var u=o===r,f=0;y.isString(t)&&(t=[t]);for(var c,h=0;h<t.length;++h)(c=l.resolvePath(\"\",t[h]))&&d(c);if(u)return l;f||n(null,l)},o.prototype.loadSync=function(e,t){if(!y.isNode)throw Error(\"not supported\");return this.load(e,t,r)},o.prototype.resolveAll=function(){if(this.deferred.length)throw Error(\"unresolvable extensions: \"+this.deferred.map(function(e){return\"'extend \"+e.extend+\"' in \"+e.parent.fullName}).join(\", \"));return s.prototype.resolveAll.call(this)};var c=/^[A-Z]/;o.prototype._handleAdd=function(e){if(e instanceof l)void 0===e.extend||e.extensionField||n(this,e)||this.deferred.push(e);else if(e instanceof u)c.test(e.name)&&(e.parent[e.name]=e.values);else if(!(e instanceof f)){if(e instanceof d)for(var t=0;t<this.deferred.length;)n(this,this.deferred[t])?this.deferred.splice(t,1):++t;for(var i=0;i<e.nestedArray.length;++i)this._handleAdd(e._nestedArray[i]);c.test(e.name)&&(e.parent[e.name]=e)}},o.prototype._handleRemove=function(e){if(e instanceof l){if(void 0!==e.extend)if(e.extensionField)e.extensionField.parent.remove(e.extensionField),e.extensionField=null;else{var t=this.deferred.indexOf(e);t>-1&&this.deferred.splice(t,1)}}else if(e instanceof u)c.test(e.name)&&delete e.parent[e.name];else if(e instanceof s){for(var i=0;i<e.nestedArray.length;++i)this._handleRemove(e._nestedArray[i]);c.test(e.name)&&delete e.parent[e.name]}},o._configure=function(e,t,i){d=e,a=t,p=i}},function(e,t,i){\"use strict\";e.exports={}},function(e,t,i){\"use strict\";t.Service=i(41)},function(e,t,i){\"use strict\";function o(e,t){n.call(this,e,t),this.methods={},this._methodsArray=null}function r(e){return e._methodsArray=null,e}e.exports=o;var n=i(5);((o.prototype=Object.create(n.prototype)).constructor=o).className=\"Service\";var s=i(17),d=i(0),a=i(20);o.fromJSON=function(e,t){var i=new o(e,t.options);if(t.methods)for(var r=Object.keys(t.methods),n=0;n<r.length;++n)i.add(s.fromJSON(r[n],t.methods[r[n]]));return t.nested&&i.addJSON(t.nested),i},o.prototype.toJSON=function(){var e=n.prototype.toJSON.call(this);return d.toObject([\"options\",e&&e.options||void 0,\"methods\",n.arrayToJSON(this.methodsArray)||{},\"nested\",e&&e.nested||void 0])},Object.defineProperty(o.prototype,\"methodsArray\",{get:function(){return this._methodsArray||(this._methodsArray=d.toArray(this.methods))}}),o.prototype.get=function(e){return this.methods[e]||n.prototype.get.call(this,e)},o.prototype.resolveAll=function(){for(var e=this.methodsArray,t=0;t<e.length;++t)e[t].resolve();return n.prototype.resolve.call(this)},o.prototype.add=function(e){if(this.get(e.name))throw Error(\"duplicate name '\"+e.name+\"' in \"+this);return e instanceof s?(this.methods[e.name]=e,e.parent=this,r(this)):n.prototype.add.call(this,e)},o.prototype.remove=function(e){if(e instanceof s){if(this.methods[e.name]!==e)throw Error(e+\" is not a member of \"+this);return delete this.methods[e.name],e.parent=null,r(this)}return n.prototype.remove.call(this,e)},o.prototype.create=function(e,t,i){for(var o,r=new a.Service(e,t,i),n=0;n<this.methodsArray.length;++n){var s=d.lcFirst((o=this._methodsArray[n]).resolve().name).replace(/[^$\\w_]/g,\"\");r[s]=d.codegen([\"r\",\"c\"],d.isReserved(s)?s+\"_\":s)(\"return this.rpcCall(m,q,s,r,c)\")({m:o,q:o.resolvedRequestType.ctor,s:o.resolvedResponseType.ctor})}return r}},function(e,t,i){\"use strict\";function o(e,t){n.call(this,e,t),this.fields={},this.oneofs=void 0,this.extensions=void 0,this.reserved=void 0,this.group=void 0,this._fieldsById=null,this._fieldsArray=null,this._oneofsArray=null,this._ctor=null}function r(e){return e._fieldsById=e._fieldsArray=e._oneofsArray=null,delete e.encode,delete e.decode,delete e.verify,e}e.exports=o;var n=i(5);((o.prototype=Object.create(n.prototype)).constructor=o).className=\"Type\";var s=i(1),d=i(8),a=i(3),p=i(16),l=i(21),u=i(7),f=i(9),y=i(10),c=i(0),h=i(15),g=i(14),m=i(23),v=i(13),b=i(24);Object.defineProperties(o.prototype,{fieldsById:{get:function(){if(this._fieldsById)return this._fieldsById;this._fieldsById={};for(var e=Object.keys(this.fields),t=0;t<e.length;++t){var i=this.fields[e[t]],o=i.id;if(this._fieldsById[o])throw Error(\"duplicate id \"+o+\" in \"+this);this._fieldsById[o]=i}return this._fieldsById}},fieldsArray:{get:function(){return this._fieldsArray||(this._fieldsArray=c.toArray(this.fields))}},oneofsArray:{get:function(){return this._oneofsArray||(this._oneofsArray=c.toArray(this.oneofs))}},ctor:{get:function(){return this._ctor||(this.ctor=o.generateConstructor(this)())},set:function(e){var t=e.prototype;t instanceof u||((e.prototype=new u).constructor=e,c.merge(e.prototype,t)),e.$type=e.prototype.$type=this,c.merge(e,u,!0),this._ctor=e;for(var i=0;i<this.fieldsArray.length;++i)this._fieldsArray[i].resolve();var o={};for(i=0;i<this.oneofsArray.length;++i)o[this._oneofsArray[i].resolve().name]={get:c.oneOfGetter(this._oneofsArray[i].oneof),set:c.oneOfSetter(this._oneofsArray[i].oneof)};i&&Object.defineProperties(e.prototype,o)}}}),o.generateConstructor=function(e){for(var t,i=c.codegen([\"p\"],e.name),o=0;o<e.fieldsArray.length;++o)(t=e._fieldsArray[o]).map?i(\"this%s={}\",c.safeProp(t.name)):t.repeated&&i(\"this%s=[]\",c.safeProp(t.name));return i(\"if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null)\")(\"this[ks[i]]=p[ks[i]]\")},o.fromJSON=function(e,t){var i=new o(e,t.options);i.extensions=t.extensions,i.reserved=t.reserved;for(var r=Object.keys(t.fields),u=0;u<r.length;++u)i.add((void 0!==t.fields[r[u]].keyType?p.fromJSON:a.fromJSON)(r[u],t.fields[r[u]]));if(t.oneofs)for(r=Object.keys(t.oneofs),u=0;u<r.length;++u)i.add(d.fromJSON(r[u],t.oneofs[r[u]]));if(t.nested)for(r=Object.keys(t.nested),u=0;u<r.length;++u){var f=t.nested[r[u]];i.add((void 0!==f.id?a.fromJSON:void 0!==f.fields?o.fromJSON:void 0!==f.values?s.fromJSON:void 0!==f.methods?l.fromJSON:n.fromJSON)(r[u],f))}return t.extensions&&t.extensions.length&&(i.extensions=t.extensions),t.reserved&&t.reserved.length&&(i.reserved=t.reserved),t.group&&(i.group=!0),i},o.prototype.toJSON=function(){var e=n.prototype.toJSON.call(this);return c.toObject([\"options\",e&&e.options||void 0,\"oneofs\",n.arrayToJSON(this.oneofsArray),\"fields\",n.arrayToJSON(this.fieldsArray.filter(function(e){return!e.declaringField}))||{},\"extensions\",this.extensions&&this.extensions.length?this.extensions:void 0,\"reserved\",this.reserved&&this.reserved.length?this.reserved:void 0,\"group\",this.group||void 0,\"nested\",e&&e.nested||void 0])},o.prototype.resolveAll=function(){for(var e=this.fieldsArray,t=0;t<e.length;)e[t++].resolve();var i=this.oneofsArray;for(t=0;t<i.length;)i[t++].resolve();return n.prototype.resolveAll.call(this)},o.prototype.get=function(e){return this.fields[e]||this.oneofs&&this.oneofs[e]||this.nested&&this.nested[e]||null},o.prototype.add=function(e){if(this.get(e.name))throw Error(\"duplicate name '\"+e.name+\"' in \"+this);if(e instanceof a&&void 0===e.extend){if(this._fieldsById?this._fieldsById[e.id]:this.fieldsById[e.id])throw Error(\"duplicate id \"+e.id+\" in \"+this);if(this.isReservedId(e.id))throw Error(\"id \"+e.id+\" is reserved in \"+this);if(this.isReservedName(e.name))throw Error(\"name '\"+e.name+\"' is reserved in \"+this);return e.parent&&e.parent.remove(e),this.fields[e.name]=e,e.message=this,e.onAdd(this),r(this)}return e instanceof d?(this.oneofs||(this.oneofs={}),this.oneofs[e.name]=e,e.onAdd(this),r(this)):n.prototype.add.call(this,e)},o.prototype.remove=function(e){if(e instanceof a&&void 0===e.extend){if(!this.fields||this.fields[e.name]!==e)throw Error(e+\" is not a member of \"+this);return delete this.fields[e.name],e.parent=null,e.onRemove(this),r(this)}if(e instanceof d){if(!this.oneofs||this.oneofs[e.name]!==e)throw Error(e+\" is not a member of \"+this);return delete this.oneofs[e.name],e.parent=null,e.onRemove(this),r(this)}return n.prototype.remove.call(this,e)},o.prototype.isReservedId=function(e){return n.isReservedId(this.reserved,e)},o.prototype.isReservedName=function(e){return n.isReservedName(this.reserved,e)},o.prototype.create=function(e){return new this.ctor(e)},o.prototype.setup=function(){for(var e=this.fullName,t=[],i=0;i<this.fieldsArray.length;++i)t.push(this._fieldsArray[i].resolve().resolvedType);this.encode=h(this)({Writer:y,types:t,util:c}),this.decode=g(this)({Reader:f,types:t,util:c}),this.verify=m(this)({types:t,util:c}),this.fromObject=v.fromObject(this)({types:t,util:c}),this.toObject=v.toObject(this)({types:t,util:c});var o=b[e];if(o){var r=Object.create(this);r.fromObject=this.fromObject,this.fromObject=o.fromObject.bind(r),r.toObject=this.toObject,this.toObject=o.toObject.bind(r)}return this},o.prototype.encode=function(e,t){return this.setup().encode(e,t)},o.prototype.encodeDelimited=function(e,t){return this.encode(e,t&&t.len?t.fork():t).ldelim()},o.prototype.decode=function(e,t){return this.setup().decode(e,t)},o.prototype.decodeDelimited=function(e){return e instanceof f||(e=f.create(e)),this.decode(e,e.uint32())},o.prototype.verify=function(e){return this.setup().verify(e)},o.prototype.fromObject=function(e){return this.setup().fromObject(e)},o.prototype.toObject=function(e,t){return this.setup().toObject(e,t)},o.d=function(e){return function(t){c.decorateType(t,e)}}},function(e,t,i){\"use strict\";function o(e,t){return e.name+\": \"+t+(e.repeated&&\"array\"!==t?\"[]\":e.map&&\"object\"!==t?\"{k:\"+e.keyType+\"}\":\"\")+\" expected\"}function r(e,t,i,r){if(t.resolvedType)if(t.resolvedType instanceof d){e(\"switch(%s){\",r)(\"default:\")(\"return%j\",o(t,\"enum value\"));for(var n=Object.keys(t.resolvedType.values),s=0;s<n.length;++s)e(\"case %i:\",t.resolvedType.values[n[s]]);e(\"break\")(\"}\")}else e(\"{\")(\"var e=types[%i].verify(%s);\",i,r)(\"if(e)\")(\"return%j+e\",t.name+\".\")(\"}\");else switch(t.type){case\"int32\":case\"uint32\":case\"sint32\":case\"fixed32\":case\"sfixed32\":e(\"if(!util.isInteger(%s))\",r)(\"return%j\",o(t,\"integer\"));break;case\"int64\":case\"uint64\":case\"sint64\":case\"fixed64\":case\"sfixed64\":e(\"if(!util.isInteger(%s)&&!(%s&&util.isInteger(%s.low)&&util.isInteger(%s.high)))\",r,r,r,r)(\"return%j\",o(t,\"integer|Long\"));break;case\"float\":case\"double\":e('if(typeof %s!==\"number\")',r)(\"return%j\",o(t,\"number\"));break;case\"bool\":e('if(typeof %s!==\"boolean\")',r)(\"return%j\",o(t,\"boolean\"));break;case\"string\":e(\"if(!util.isString(%s))\",r)(\"return%j\",o(t,\"string\"));break;case\"bytes\":e('if(!(%s&&typeof %s.length===\"number\"||util.isString(%s)))',r,r,r)(\"return%j\",o(t,\"buffer\"))}return e}function n(e,t,i){switch(t.keyType){case\"int32\":case\"uint32\":case\"sint32\":case\"fixed32\":case\"sfixed32\":e(\"if(!util.key32Re.test(%s))\",i)(\"return%j\",o(t,\"integer key\"));break;case\"int64\":case\"uint64\":case\"sint64\":case\"fixed64\":case\"sfixed64\":e(\"if(!util.key64Re.test(%s))\",i)(\"return%j\",o(t,\"integer|Long key\"));break;case\"bool\":e(\"if(!util.key2Re.test(%s))\",i)(\"return%j\",o(t,\"boolean key\"))}return e}function s(e){var t=a.codegen([\"m\"],e.name+\"$verify\")('if(typeof m!==\"object\"||m===null)')(\"return%j\",\"object expected\"),i=e.oneofsArray,s={};i.length&&t(\"var p={}\");for(var d=0;d<e.fieldsArray.length;++d){var p=e._fieldsArray[d].resolve(),l=\"m\"+a.safeProp(p.name);if(p.optional&&t(\"if(%s!=null&&m.hasOwnProperty(%j)){\",l,p.name),p.map)t(\"if(!util.isObject(%s))\",l)(\"return%j\",o(p,\"object\"))(\"var k=Object.keys(%s)\",l)(\"for(var i=0;i<k.length;++i){\"),n(t,p,\"k[i]\"),r(t,p,d,l+\"[k[i]]\")(\"}\");else if(p.repeated)t(\"if(!Array.isArray(%s))\",l)(\"return%j\",o(p,\"array\"))(\"for(var i=0;i<%s.length;++i){\",l),r(t,p,d,l+\"[i]\")(\"}\");else{if(p.partOf){var u=a.safeProp(p.partOf.name);1===s[p.partOf.name]&&t(\"if(p%s===1)\",u)(\"return%j\",p.partOf.name+\": multiple values\"),s[p.partOf.name]=1,t(\"p%s=1\",u)}r(t,p,d,l)}p.optional&&t(\"}\")}return t(\"return null\")}e.exports=s;var d=i(1),a=i(0)},function(e,t,i){\"use strict\";var o=t,r=i(7);o[\".google.protobuf.Any\"]={fromObject:function(e){if(e&&e[\"@type\"]){var t=this.lookup(e[\"@type\"]);if(t){var i=\".\"===e[\"@type\"].charAt(0)?e[\"@type\"].substr(1):e[\"@type\"];return this.create({type_url:\"/\"+i,value:t.encode(t.fromObject(e)).finish()})}}return this.fromObject(e)},toObject:function(e,t){if(t&&t.json&&e.type_url&&e.value){var i=e.type_url.substring(e.type_url.lastIndexOf(\"/\")+1),o=this.lookup(i);o&&(e=o.decode(e.value))}if(!(e instanceof this.ctor)&&e instanceof r){var n=e.$type.toObject(e,t);return n[\"@type\"]=e.$type.fullName,n}return this.toObject(e,t)}}},function(e,t,i){\"use strict\";e.exports=i(38)},function(e,t){e.exports={nested:{apollo:{nested:{hdmap:{nested:{Projection:{fields:{proj:{type:\"string\",id:1}}},Header:{fields:{version:{type:\"bytes\",id:1},date:{type:\"bytes\",id:2},projection:{type:\"Projection\",id:3},district:{type:\"bytes\",id:4},generation:{type:\"bytes\",id:5},revMajor:{type:\"bytes\",id:6},revMinor:{type:\"bytes\",id:7},left:{type:\"double\",id:8},top:{type:\"double\",id:9},right:{type:\"double\",id:10},bottom:{type:\"double\",id:11},vendor:{type:\"bytes\",id:12}}},Map:{fields:{header:{type:\"Header\",id:1},crosswalk:{rule:\"repeated\",type:\"Crosswalk\",id:2},junction:{rule:\"repeated\",type:\"Junction\",id:3},lane:{rule:\"repeated\",type:\"Lane\",id:4},stopSign:{rule:\"repeated\",type:\"StopSign\",id:5},signal:{rule:\"repeated\",type:\"Signal\",id:6},yield:{rule:\"repeated\",type:\"YieldSign\",id:7},overlap:{rule:\"repeated\",type:\"Overlap\",id:8},clearArea:{rule:\"repeated\",type:\"ClearArea\",id:9},speedBump:{rule:\"repeated\",type:\"SpeedBump\",id:10},road:{rule:\"repeated\",type:\"Road\",id:11}}},ClearArea:{fields:{id:{type:\"Id\",id:1},overlapId:{rule:\"repeated\",type:\"Id\",id:2},polygon:{type:\"Polygon\",id:3}}},Crosswalk:{fields:{id:{type:\"Id\",id:1},polygon:{type:\"Polygon\",id:2},overlapId:{rule:\"repeated\",type:\"Id\",id:3}}},Polygon:{fields:{point:{rule:\"repeated\",type:\"apollo.common.PointENU\",id:1}}},LineSegment:{fields:{point:{rule:\"repeated\",type:\"apollo.common.PointENU\",id:1}}},CurveSegment:{oneofs:{curveType:{oneof:[\"lineSegment\"]}},fields:{lineSegment:{type:\"LineSegment\",id:1},s:{type:\"double\",id:6},startPosition:{type:\"apollo.common.PointENU\",id:7},heading:{type:\"double\",id:8},length:{type:\"double\",id:9}}},Curve:{fields:{segment:{rule:\"repeated\",type:\"CurveSegment\",id:1}}},Id:{fields:{id:{type:\"string\",id:1}}},Junction:{fields:{id:{type:\"Id\",id:1},polygon:{type:\"Polygon\",id:2},overlapId:{rule:\"repeated\",type:\"Id\",id:3}}},LaneBoundaryType:{fields:{s:{type:\"double\",id:1},types:{rule:\"repeated\",type:\"Type\",id:2,options:{packed:!1}}},nested:{Type:{values:{UNKNOWN:0,DOTTED_YELLOW:1,DOTTED_WHITE:2,SOLID_YELLOW:3,SOLID_WHITE:4,DOUBLE_YELLOW:5,CURB:6}}}},LaneBoundary:{fields:{curve:{type:\"Curve\",id:1},length:{type:\"double\",id:2},virtual:{type:\"bool\",id:3},boundaryType:{rule:\"repeated\",type:\"LaneBoundaryType\",id:4}}},LaneSampleAssociation:{fields:{s:{type:\"double\",id:1},width:{type:\"double\",id:2}}},Lane:{fields:{id:{type:\"Id\",id:1},centralCurve:{type:\"Curve\",id:2},leftBoundary:{type:\"LaneBoundary\",id:3},rightBoundary:{type:\"LaneBoundary\",id:4},length:{type:\"double\",id:5},speedLimit:{type:\"double\",id:6},overlapId:{rule:\"repeated\",type:\"Id\",id:7},predecessorId:{rule:\"repeated\",type:\"Id\",id:8},successorId:{rule:\"repeated\",type:\"Id\",id:9},leftNeighborForwardLaneId:{rule:\"repeated\",type:\"Id\",id:10},rightNeighborForwardLaneId:{rule:\"repeated\",type:\"Id\",id:11},type:{type:\"LaneType\",id:12},turn:{type:\"LaneTurn\",id:13},leftNeighborReverseLaneId:{rule:\"repeated\",type:\"Id\",id:14},rightNeighborReverseLaneId:{rule:\"repeated\",type:\"Id\",id:15},junctionId:{type:\"Id\",id:16},leftSample:{rule:\"repeated\",type:\"LaneSampleAssociation\",id:17},rightSample:{rule:\"repeated\",type:\"LaneSampleAssociation\",id:18},direction:{type:\"LaneDirection\",id:19},leftRoadSample:{rule:\"repeated\",type:\"LaneSampleAssociation\",id:20},rightRoadSample:{rule:\"repeated\",type:\"LaneSampleAssociation\",id:21}},nested:{LaneType:{values:{NONE:1,CITY_DRIVING:2,BIKING:3,SIDEWALK:4,PARKING:5}},LaneTurn:{values:{NO_TURN:1,LEFT_TURN:2,RIGHT_TURN:3,U_TURN:4}},LaneDirection:{values:{FORWARD:1,BACKWARD:2,BIDIRECTION:3}}}},LaneOverlapInfo:{fields:{startS:{type:\"double\",id:1},endS:{type:\"double\",id:2},isMerge:{type:\"bool\",id:3}}},SignalOverlapInfo:{fields:{}},StopSignOverlapInfo:{fields:{}},CrosswalkOverlapInfo:{fields:{}},JunctionOverlapInfo:{fields:{}},YieldOverlapInfo:{fields:{}},ClearAreaOverlapInfo:{fields:{}},SpeedBumpOverlapInfo:{fields:{}},ParkingSpaceOverlapInfo:{fields:{}},ObjectOverlapInfo:{oneofs:{overlapInfo:{oneof:[\"laneOverlapInfo\",\"signalOverlapInfo\",\"stopSignOverlapInfo\",\"crosswalkOverlapInfo\",\"junctionOverlapInfo\",\"yieldSignOverlapInfo\",\"clearAreaOverlapInfo\",\"speedBumpOverlapInfo\",\"parkingSpaceOverlapInfo\"]}},fields:{id:{type:\"Id\",id:1},laneOverlapInfo:{type:\"LaneOverlapInfo\",id:3},signalOverlapInfo:{type:\"SignalOverlapInfo\",id:4},stopSignOverlapInfo:{type:\"StopSignOverlapInfo\",id:5},crosswalkOverlapInfo:{type:\"CrosswalkOverlapInfo\",id:6},junctionOverlapInfo:{type:\"JunctionOverlapInfo\",id:7},yieldSignOverlapInfo:{type:\"YieldOverlapInfo\",id:8},clearAreaOverlapInfo:{type:\"ClearAreaOverlapInfo\",id:9},speedBumpOverlapInfo:{type:\"SpeedBumpOverlapInfo\",id:10},parkingSpaceOverlapInfo:{type:\"ParkingSpaceOverlapInfo\",id:11}}},Overlap:{fields:{id:{type:\"Id\",id:1},object:{rule:\"repeated\",type:\"ObjectOverlapInfo\",id:2}}},BoundaryEdge:{fields:{curve:{type:\"Curve\",id:1},type:{type:\"Type\",id:2}},nested:{Type:{values:{UNKNOWN:0,NORMAL:1,LEFT_BOUNDARY:2,RIGHT_BOUNDARY:3}}}},BoundaryPolygon:{fields:{edge:{rule:\"repeated\",type:\"BoundaryEdge\",id:1}}},RoadBoundary:{fields:{outerPolygon:{type:\"BoundaryPolygon\",id:1},hole:{rule:\"repeated\",type:\"BoundaryPolygon\",id:2}}},RoadROIBoundary:{fields:{id:{type:\"Id\",id:1},roadBoundaries:{rule:\"repeated\",type:\"RoadBoundary\",id:2}}},RoadSection:{fields:{id:{type:\"Id\",id:1},laneId:{rule:\"repeated\",type:\"Id\",id:2},boundary:{type:\"RoadBoundary\",id:3}}},Road:{fields:{id:{type:\"Id\",id:1},section:{rule:\"repeated\",type:\"RoadSection\",id:2},junctionId:{type:\"Id\",id:3}}},Subsignal:{fields:{id:{type:\"Id\",id:1},type:{type:\"Type\",id:2},location:{type:\"apollo.common.PointENU\",id:3}},nested:{Type:{values:{UNKNOWN:1,CIRCLE:2,ARROW_LEFT:3,ARROW_FORWARD:4,ARROW_RIGHT:5,ARROW_LEFT_AND_FORWARD:6,ARROW_RIGHT_AND_FORWARD:7,ARROW_U_TURN:8}}}},Signal:{fields:{id:{type:\"Id\",id:1},boundary:{type:\"Polygon\",id:2},subsignal:{rule:\"repeated\",type:\"Subsignal\",id:3},overlapId:{rule:\"repeated\",type:\"Id\",id:4},type:{type:\"Type\",id:5},stopLine:{rule:\"repeated\",type:\"Curve\",id:6}},nested:{Type:{values:{UNKNOWN:1,MIX_2_HORIZONTAL:2,MIX_2_VERTICAL:3,MIX_3_HORIZONTAL:4,MIX_3_VERTICAL:5,SINGLE:6}}}},SpeedBump:{fields:{id:{type:\"Id\",id:1},overlapId:{rule:\"repeated\",type:\"Id\",id:2},position:{rule:\"repeated\",type:\"Curve\",id:3}}},SpeedControl:{fields:{name:{type:\"string\",id:1},polygon:{type:\"apollo.hdmap.Polygon\",id:2},speedLimit:{type:\"double\",id:3}}},SpeedControls:{fields:{speedControl:{rule:\"repeated\",type:\"SpeedControl\",id:1}}},StopSign:{fields:{id:{type:\"Id\",id:1},stopLine:{rule:\"repeated\",type:\"Curve\",id:2},overlapId:{rule:\"repeated\",type:\"Id\",id:3},type:{type:\"StopType\",id:4}},nested:{StopType:{values:{UNKNOWN:0,ONE_WAY:1,TWO_WAY:2,THREE_WAY:3,FOUR_WAY:4,ALL_WAY:5}}}},YieldSign:{fields:{id:{type:\"Id\",id:1},stopLine:{rule:\"repeated\",type:\"Curve\",id:2},overlapId:{rule:\"repeated\",type:\"Id\",id:3}}}}},common:{nested:{PointENU:{fields:{x:{type:\"double\",id:1,options:{default:null}},y:{type:\"double\",id:2,options:{default:null}},z:{type:\"double\",id:3,options:{default:0}}}},PointLLH:{fields:{lon:{type:\"double\",id:1,options:{default:null}},lat:{type:\"double\",id:2,options:{default:null}},height:{type:\"double\",id:3,options:{default:0}}}},Point2D:{fields:{x:{type:\"double\",id:1,options:{default:null}},y:{type:\"double\",id:2,options:{default:null}}}},Point3D:{fields:{x:{type:\"double\",id:1,options:{default:null}},y:{type:\"double\",id:2,options:{default:null}},z:{type:\"double\",id:3,options:{default:null}}}},Quaternion:{fields:{qx:{type:\"double\",id:1,options:{default:null}},qy:{type:\"double\",id:2,options:{default:null}},qz:{type:\"double\",id:3,options:{default:null}},qw:{type:\"double\",id:4,options:{default:null}}}},Header:{fields:{timestampSec:{type:\"double\",id:1},moduleName:{type:\"string\",id:2},sequenceNum:{type:\"uint32\",id:3},lidarTimestamp:{type:\"uint64\",id:4},cameraTimestamp:{type:\"uint64\",id:5},radarTimestamp:{type:\"uint64\",id:6},version:{type:\"uint32\",id:7,options:{default:1}},status:{type:\"StatusPb\",id:8}}},ErrorCode:{values:{OK:0,CONTROL_ERROR:1e3,CONTROL_INIT_ERROR:1001,CONTROL_COMPUTE_ERROR:1002,CANBUS_ERROR:2e3,CAN_CLIENT_ERROR_BASE:2100,CAN_CLIENT_ERROR_OPEN_DEVICE_FAILED:2101,CAN_CLIENT_ERROR_FRAME_NUM:2102,CAN_CLIENT_ERROR_SEND_FAILED:2103,CAN_CLIENT_ERROR_RECV_FAILED:2104,LOCALIZATION_ERROR:3e3,LOCALIZATION_ERROR_MSG:3100,LOCALIZATION_ERROR_LIDAR:3200,LOCALIZATION_ERROR_INTEG:3300,LOCALIZATION_ERROR_GNSS:3400,PERCEPTION_ERROR:4e3,PERCEPTION_ERROR_TF:4001,PERCEPTION_ERROR_PROCESS:4002,PERCEPTION_FATAL:4003,PREDICTION_ERROR:5e3,PLANNING_ERROR:6e3,HDMAP_DATA_ERROR:7e3,ROUTING_ERROR:8e3,ROUTING_ERROR_REQUEST:8001,ROUTING_ERROR_RESPONSE:8002,ROUTING_ERROR_NOT_READY:8003,END_OF_INPUT:9e3,HTTP_LOGIC_ERROR:1e4,HTTP_RUNTIME_ERROR:10001,RELATIVE_MAP_ERROR:11e3,RELATIVE_MAP_NOT_READY:11001}},StatusPb:{fields:{errorCode:{type:\"ErrorCode\",id:1,options:{default:\"OK\"}},msg:{type:\"string\",id:2}}}}}}}}}},function(e,t){e.exports={nested:{apollo:{nested:{dreamview:{nested:{PointCloud:{fields:{num:{rule:\"repeated\",type:\"float\",id:1,options:{packed:!1}}}}}}}}}}},function(e,t){e.exports={nested:{apollo:{nested:{dreamview:{nested:{PolygonPoint:{fields:{x:{type:\"double\",id:1},y:{type:\"double\",id:2},z:{type:\"double\",id:3,options:{default:0}}}},Prediction:{fields:{probability:{type:\"double\",id:1},predictedTrajectory:{rule:\"repeated\",type:\"PolygonPoint\",id:2}}},Decision:{fields:{type:{type:\"Type\",id:1,options:{default:\"IGNORE\"}},polygonPoint:{rule:\"repeated\",type:\"PolygonPoint\",id:2},heading:{type:\"double\",id:3},latitude:{type:\"double\",id:4},longitude:{type:\"double\",id:5},positionX:{type:\"double\",id:6},positionY:{type:\"double\",id:7},length:{type:\"double\",id:8,options:{default:2.8}},width:{type:\"double\",id:9,options:{default:1.4}},height:{type:\"double\",id:10,options:{default:1.8}},stopReason:{type:\"StopReasonCode\",id:11}},nested:{Type:{values:{IGNORE:0,STOP:1,NUDGE:2,YIELD:3,OVERTAKE:4,FOLLOW:5,SIDEPASS:6}},StopReasonCode:{values:{STOP_REASON_HEAD_VEHICLE:1,STOP_REASON_DESTINATION:2,STOP_REASON_PEDESTRIAN:3,STOP_REASON_OBSTACLE:4,STOP_REASON_SIGNAL:100,STOP_REASON_STOP_SIGN:101,STOP_REASON_YIELD_SIGN:102,STOP_REASON_CLEAR_ZONE:103,STOP_REASON_CROSSWALK:104,STOP_REASON_EMERGENCY:105,STOP_REASON_NOT_READY:106}}}},Object:{fields:{id:{type:\"string\",id:1},polygonPoint:{rule:\"repeated\",type:\"PolygonPoint\",id:2},heading:{type:\"double\",id:3},latitude:{type:\"double\",id:4},longitude:{type:\"double\",id:5},positionX:{type:\"double\",id:6},positionY:{type:\"double\",id:7},length:{type:\"double\",id:8,options:{default:2.8}},width:{type:\"double\",id:9,options:{default:1.4}},height:{type:\"double\",id:10,options:{default:1.8}},speed:{type:\"double\",id:11},speedAcceleration:{type:\"double\",id:12},speedJerk:{type:\"double\",id:13},spin:{type:\"double\",id:14},spinAcceleration:{type:\"double\",id:15},spinJerk:{type:\"double\",id:16},speedHeading:{type:\"double\",id:17},kappa:{type:\"double\",id:18},signalSet:{rule:\"repeated\",type:\"string\",id:19},currentSignal:{type:\"string\",id:20},timestampSec:{type:\"double\",id:21},decision:{rule:\"repeated\",type:\"Decision\",id:22},throttlePercentage:{type:\"double\",id:23},brakePercentage:{type:\"double\",id:24},steeringPercentage:{type:\"double\",id:25},steeringAngle:{type:\"double\",id:26},steeringRatio:{type:\"double\",id:27},disengageType:{type:\"DisengageType\",id:28},type:{type:\"Type\",id:29},prediction:{rule:\"repeated\",type:\"Prediction\",id:30},confidence:{type:\"double\",id:31,options:{default:1}}},nested:{DisengageType:{values:{DISENGAGE_NONE:0,DISENGAGE_UNKNOWN:1,DISENGAGE_MANUAL:2,DISENGAGE_EMERGENCY:3,DISENGAGE_AUTO_STEER_ONLY:4,DISENGAGE_AUTO_SPEED_ONLY:5,DISENGAGE_CHASSIS_ERROR:6}},Type:{values:{UNKNOWN:0,UNKNOWN_MOVABLE:1,UNKNOWN_UNMOVABLE:2,PEDESTRIAN:3,BICYCLE:4,VEHICLE:5,VIRTUAL:6}}}},DelaysInMs:{fields:{chassis:{type:\"double\",id:1},localization:{type:\"double\",id:3},perceptionObstacle:{type:\"double\",id:4},planning:{type:\"double\",id:5},prediction:{type:\"double\",id:7},trafficLight:{type:\"double\",id:8}}},RoutePath:{fields:{point:{rule:\"repeated\",type:\"PolygonPoint\",id:1}}},Latency:{fields:{planning:{type:\"double\",id:1}}},MapElementIds:{fields:{lane:{rule:\"repeated\",type:\"string\",id:1},crosswalk:{rule:\"repeated\",type:\"string\",id:2},junction:{rule:\"repeated\",type:\"string\",id:3},signal:{rule:\"repeated\",type:\"string\",id:4},stopSign:{rule:\"repeated\",type:\"string\",id:5},yield:{rule:\"repeated\",type:\"string\",id:6},overlap:{rule:\"repeated\",type:\"string\",id:7},road:{rule:\"repeated\",type:\"string\",id:8},clearArea:{rule:\"repeated\",type:\"string\",id:9}}},ControlData:{fields:{timestampSec:{type:\"double\",id:1},stationError:{type:\"double\",id:2}}},SimulationWorld:{fields:{timestamp:{type:\"double\",id:1},sequenceNum:{type:\"uint32\",id:2},object:{rule:\"repeated\",type:\"Object\",id:3},autoDrivingCar:{type:\"Object\",id:4},trafficSignal:{type:\"Object\",id:5},routePath:{rule:\"repeated\",type:\"RoutePath\",id:6},routingTime:{type:\"double\",id:7},planningTrajectory:{rule:\"repeated\",type:\"Object\",id:8},mainStop:{type:\"Object\",id:9},speedLimit:{type:\"double\",id:10},delay:{type:\"DelaysInMs\",id:11},monitor:{type:\"apollo.common.monitor.MonitorMessage\",id:12},engageAdvice:{type:\"string\",id:13},latency:{type:\"Latency\",id:14},mapElementIds:{type:\"MapElementIds\",id:15},mapHash:{type:\"uint64\",id:16},mapRadius:{type:\"double\",id:17},planningTime:{type:\"double\",id:18},planningData:{type:\"apollo.planning_internal.PlanningData\",id:19},gps:{type:\"Object\",id:20},laneMarker:{type:\"apollo.perception.LaneMarkers\",id:21},controlData:{type:\"ControlData\",id:22},navigationPath:{rule:\"repeated\",type:\"apollo.common.Path\",id:23}}}}},common:{nested:{DriveEvent:{fields:{header:{type:\"apollo.common.Header\",id:1},event:{type:\"string\",id:2},location:{type:\"apollo.localization.Pose\",id:3}}},EngageAdvice:{fields:{advice:{type:\"Advice\",id:1,options:{default:\"DISALLOW_ENGAGE\"}},reason:{type:\"string\",id:2}},nested:{Advice:{values:{UNKNOWN:0,DISALLOW_ENGAGE:1,READY_TO_ENGAGE:2,KEEP_ENGAGED:3,PREPARE_DISENGAGE:4}}}},ErrorCode:{values:{OK:0,CONTROL_ERROR:1e3,CONTROL_INIT_ERROR:1001,CONTROL_COMPUTE_ERROR:1002,CANBUS_ERROR:2e3,CAN_CLIENT_ERROR_BASE:2100,CAN_CLIENT_ERROR_OPEN_DEVICE_FAILED:2101,CAN_CLIENT_ERROR_FRAME_NUM:2102,CAN_CLIENT_ERROR_SEND_FAILED:2103,CAN_CLIENT_ERROR_RECV_FAILED:2104,LOCALIZATION_ERROR:3e3,LOCALIZATION_ERROR_MSG:3100,LOCALIZATION_ERROR_LIDAR:3200,LOCALIZATION_ERROR_INTEG:3300,LOCALIZATION_ERROR_GNSS:3400,PERCEPTION_ERROR:4e3,PERCEPTION_ERROR_TF:4001,PERCEPTION_ERROR_PROCESS:4002,PERCEPTION_FATAL:4003,PREDICTION_ERROR:5e3,PLANNING_ERROR:6e3,HDMAP_DATA_ERROR:7e3,ROUTING_ERROR:8e3,ROUTING_ERROR_REQUEST:8001,ROUTING_ERROR_RESPONSE:8002,ROUTING_ERROR_NOT_READY:8003,END_OF_INPUT:9e3,HTTP_LOGIC_ERROR:1e4,HTTP_RUNTIME_ERROR:10001,RELATIVE_MAP_ERROR:11e3,RELATIVE_MAP_NOT_READY:11001}},StatusPb:{fields:{errorCode:{type:\"ErrorCode\",id:1,options:{default:\"OK\"}},msg:{type:\"string\",id:2}}},PointENU:{fields:{x:{type:\"double\",id:1,options:{default:null}},y:{type:\"double\",id:2,options:{default:null}},z:{type:\"double\",id:3,options:{default:0}}}},PointLLH:{fields:{lon:{type:\"double\",id:1,options:{default:null}},lat:{type:\"double\",id:2,options:{default:null}},height:{type:\"double\",id:3,options:{default:0}}}},Point2D:{fields:{x:{type:\"double\",id:1,options:{default:null}},y:{type:\"double\",id:2,options:{default:null}}}},Point3D:{fields:{x:{type:\"double\",id:1,options:{default:null}},y:{type:\"double\",id:2,options:{default:null}},z:{type:\"double\",id:3,options:{default:null}}}},Quaternion:{fields:{qx:{type:\"double\",id:1,options:{default:null}},qy:{type:\"double\",id:2,options:{default:null}},qz:{type:\"double\",id:3,options:{default:null}},qw:{type:\"double\",id:4,options:{default:null}}}},Header:{fields:{timestampSec:{type:\"double\",id:1},moduleName:{type:\"string\",id:2},sequenceNum:{type:\"uint32\",id:3},lidarTimestamp:{type:\"uint64\",id:4},cameraTimestamp:{type:\"uint64\",id:5},radarTimestamp:{type:\"uint64\",id:6},version:{type:\"uint32\",id:7,options:{default:1}},status:{type:\"StatusPb\",id:8}}},SLPoint:{fields:{s:{type:\"double\",id:1},l:{type:\"double\",id:2}}},FrenetFramePoint:{fields:{s:{type:\"double\",id:1},l:{type:\"double\",id:2},dl:{type:\"double\",id:3},ddl:{type:\"double\",id:4}}},SpeedPoint:{fields:{s:{type:\"double\",id:1},t:{type:\"double\",id:2},v:{type:\"double\",id:3},a:{type:\"double\",id:4},da:{type:\"double\",id:5}}},PathPoint:{fields:{x:{type:\"double\",id:1},y:{type:\"double\",id:2},z:{type:\"double\",id:3},theta:{type:\"double\",id:4},kappa:{type:\"double\",id:5},s:{type:\"double\",id:6},dkappa:{type:\"double\",id:7},ddkappa:{type:\"double\",id:8},laneId:{type:\"string\",id:9}}},Path:{fields:{name:{type:\"string\",id:1},pathPoint:{rule:\"repeated\",type:\"PathPoint\",id:2}}},TrajectoryPoint:{fields:{pathPoint:{type:\"PathPoint\",id:1},v:{type:\"double\",id:2},a:{type:\"double\",id:3},relativeTime:{type:\"double\",id:4}}},VehicleSignal:{fields:{turnSignal:{type:\"TurnSignal\",id:1},highBeam:{type:\"bool\",id:2},lowBeam:{type:\"bool\",id:3},horn:{type:\"bool\",id:4},emergencyLight:{type:\"bool\",id:5}},nested:{TurnSignal:{values:{TURN_NONE:0,TURN_LEFT:1,TURN_RIGHT:2}}}},monitor:{nested:{MonitorMessageItem:{fields:{source:{type:\"MessageSource\",id:1,options:{default:\"UNKNOWN\"}},msg:{type:\"string\",id:2},logLevel:{type:\"LogLevel\",id:3,options:{default:\"INFO\"}}},nested:{MessageSource:{values:{UNKNOWN:1,CANBUS:2,CONTROL:3,DECISION:4,LOCALIZATION:5,PLANNING:6,PREDICTION:7,SIMULATOR:8,HWSYS:9,ROUTING:10,MONITOR:11,HMI:12,RELATIVE_MAP:13}},LogLevel:{values:{INFO:0,WARN:1,ERROR:2,FATAL:3}}}},MonitorMessage:{fields:{header:{type:\"apollo.common.Header\",id:1},item:{rule:\"repeated\",type:\"MonitorMessageItem\",id:2}}}}}}},localization:{nested:{Uncertainty:{fields:{positionStdDev:{type:\"apollo.common.Point3D\",id:1},orientationStdDev:{type:\"apollo.common.Point3D\",id:2},linearVelocityStdDev:{type:\"apollo.common.Point3D\",id:3},linearAccelerationStdDev:{type:\"apollo.common.Point3D\",id:4},angularVelocityStdDev:{type:\"apollo.common.Point3D\",id:5}}},LocalizationEstimate:{fields:{header:{type:\"apollo.common.Header\",id:1},pose:{type:\"apollo.localization.Pose\",id:2},uncertainty:{type:\"Uncertainty\",id:3},measurementTime:{type:\"double\",id:4},trajectoryPoint:{rule:\"repeated\",type:\"apollo.common.TrajectoryPoint\",id:5}}},MeasureState:{values:{NOT_VALID:0,NOT_STABLE:1,OK:2,VALID:3}},LocalizationStatus:{fields:{header:{type:\"apollo.common.Header\",id:1},fusionStatus:{type:\"MeasureState\",id:2},gnssStatus:{type:\"MeasureState\",id:3},lidarStatus:{type:\"MeasureState\",id:4},measurementTime:{type:\"double\",id:5}}},Pose:{fields:{position:{type:\"apollo.common.PointENU\",id:1},orientation:{type:\"apollo.common.Quaternion\",id:2},linearVelocity:{type:\"apollo.common.Point3D\",id:3},linearAcceleration:{type:\"apollo.common.Point3D\",id:4},angularVelocity:{type:\"apollo.common.Point3D\",id:5},heading:{type:\"double\",id:6},linearAccelerationVrf:{type:\"apollo.common.Point3D\",id:7},angularVelocityVrf:{type:\"apollo.common.Point3D\",id:8},eulerAngles:{type:\"apollo.common.Point3D\",id:9}}}}},canbus:{nested:{Chassis:{fields:{engineStarted:{type:\"bool\",id:3},engineRpm:{type:\"float\",id:4,options:{default:null}},speedMps:{type:\"float\",id:5,options:{default:null}},odometerM:{type:\"float\",id:6,options:{default:null}},fuelRangeM:{type:\"int32\",id:7},throttlePercentage:{type:\"float\",id:8,options:{default:null}},brakePercentage:{type:\"float\",id:9,options:{default:null}},steeringPercentage:{type:\"float\",id:11,options:{default:null}},steeringTorqueNm:{type:\"float\",id:12,options:{default:null}},parkingBrake:{type:\"bool\",id:13},highBeamSignal:{type:\"bool\",id:14,options:{deprecated:!0}},lowBeamSignal:{type:\"bool\",id:15,options:{deprecated:!0}},leftTurnSignal:{type:\"bool\",id:16,options:{deprecated:!0}},rightTurnSignal:{type:\"bool\",id:17,options:{deprecated:!0}},horn:{type:\"bool\",id:18,options:{deprecated:!0}},wiper:{type:\"bool\",id:19},disengageStatus:{type:\"bool\",id:20,options:{deprecated:!0}},drivingMode:{type:\"DrivingMode\",id:21,options:{default:\"COMPLETE_MANUAL\"}},errorCode:{type:\"ErrorCode\",id:22,options:{default:\"NO_ERROR\"}},gearLocation:{type:\"GearPosition\",id:23},steeringTimestamp:{type:\"double\",id:24},header:{type:\"apollo.common.Header\",id:25},chassisErrorMask:{type:\"int32\",id:26,options:{default:0}},signal:{type:\"apollo.common.VehicleSignal\",id:27},chassisGps:{type:\"ChassisGPS\",id:28},engageAdvice:{type:\"apollo.common.EngageAdvice\",id:29}},nested:{DrivingMode:{values:{COMPLETE_MANUAL:0,COMPLETE_AUTO_DRIVE:1,AUTO_STEER_ONLY:2,AUTO_SPEED_ONLY:3,EMERGENCY_MODE:4}},ErrorCode:{values:{NO_ERROR:0,CMD_NOT_IN_PERIOD:1,CHASSIS_ERROR:2,MANUAL_INTERVENTION:3,CHASSIS_CAN_NOT_IN_PERIOD:4,UNKNOWN_ERROR:5}},GearPosition:{values:{GEAR_NEUTRAL:0,GEAR_DRIVE:1,GEAR_REVERSE:2,GEAR_PARKING:3,GEAR_LOW:4,GEAR_INVALID:5,GEAR_NONE:6}}}},ChassisGPS:{fields:{latitude:{type:\"double\",id:1},longitude:{type:\"double\",id:2},gpsValid:{type:\"bool\",id:3},year:{type:\"int32\",id:4},month:{type:\"int32\",id:5},day:{type:\"int32\",id:6},hours:{type:\"int32\",id:7},minutes:{type:\"int32\",id:8},seconds:{type:\"int32\",id:9},compassDirection:{type:\"double\",id:10},pdop:{type:\"double\",id:11},isGpsFault:{type:\"bool\",id:12},isInferred:{type:\"bool\",id:13},altitude:{type:\"double\",id:14},heading:{type:\"double\",id:15},hdop:{type:\"double\",id:16},vdop:{type:\"double\",id:17},quality:{type:\"GpsQuality\",id:18},numSatellites:{type:\"int32\",id:19},gpsSpeed:{type:\"double\",id:20}}},GpsQuality:{values:{FIX_NO:0,FIX_2D:1,FIX_3D:2,FIX_INVALID:3}}}},planning:{nested:{SLBoundary:{fields:{startS:{type:\"double\",id:1},endS:{type:\"double\",id:2},startL:{type:\"double\",id:3},endL:{type:\"double\",id:4}}},TargetLane:{fields:{id:{type:\"string\",id:1},startS:{type:\"double\",id:2},endS:{type:\"double\",id:3},speedLimit:{type:\"double\",id:4}}},ObjectIgnore:{fields:{}},StopReasonCode:{values:{STOP_REASON_HEAD_VEHICLE:1,STOP_REASON_DESTINATION:2,STOP_REASON_PEDESTRIAN:3,STOP_REASON_OBSTACLE:4,STOP_REASON_PREPARKING:5,STOP_REASON_SIGNAL:100,STOP_REASON_STOP_SIGN:101,STOP_REASON_YIELD_SIGN:102,STOP_REASON_CLEAR_ZONE:103,STOP_REASON_CROSSWALK:104,STOP_REASON_CREEPER:105}},ObjectStop:{fields:{reasonCode:{type:\"StopReasonCode\",id:1},distanceS:{type:\"double\",id:2},stopPoint:{type:\"apollo.common.PointENU\",id:3},stopHeading:{type:\"double\",id:4}}},ObjectNudge:{fields:{type:{type:\"Type\",id:1},distanceL:{type:\"double\",id:2}},nested:{Type:{values:{LEFT_NUDGE:1,RIGHT_NUDGE:2,NO_NUDGE:3}}}},ObjectYield:{fields:{distanceS:{type:\"double\",id:1},fencePoint:{type:\"apollo.common.PointENU\",id:2},fenceHeading:{type:\"double\",id:3},timeBuffer:{type:\"double\",id:4}}},ObjectFollow:{fields:{distanceS:{type:\"double\",id:1},fencePoint:{type:\"apollo.common.PointENU\",id:2},fenceHeading:{type:\"double\",id:3}}},ObjectOvertake:{fields:{distanceS:{type:\"double\",id:1},fencePoint:{type:\"apollo.common.PointENU\",id:2},fenceHeading:{type:\"double\",id:3},timeBuffer:{type:\"double\",id:4}}},ObjectSidePass:{fields:{type:{type:\"Type\",id:1}},nested:{Type:{values:{LEFT:1,RIGHT:2}}}},ObjectAvoid:{fields:{}},ObjectDecisionType:{oneofs:{objectTag:{oneof:[\"ignore\",\"stop\",\"follow\",\"yield\",\"overtake\",\"nudge\",\"sidepass\",\"avoid\"]}},fields:{ignore:{type:\"ObjectIgnore\",id:1},stop:{type:\"ObjectStop\",id:2},follow:{type:\"ObjectFollow\",id:3},yield:{type:\"ObjectYield\",id:4},overtake:{type:\"ObjectOvertake\",id:5},nudge:{type:\"ObjectNudge\",id:6},sidepass:{type:\"ObjectSidePass\",id:7},avoid:{type:\"ObjectAvoid\",id:8}}},ObjectDecision:{fields:{id:{type:\"string\",id:1},perceptionId:{type:\"int32\",id:2},objectDecision:{rule:\"repeated\",type:\"ObjectDecisionType\",id:3}}},ObjectDecisions:{fields:{decision:{rule:\"repeated\",type:\"ObjectDecision\",id:1}}},MainStop:{fields:{reasonCode:{type:\"StopReasonCode\",id:1},reason:{type:\"string\",id:2},stopPoint:{type:\"apollo.common.PointENU\",id:3},stopHeading:{type:\"double\",id:4},changeLaneType:{type:\"apollo.routing.ChangeLaneType\",id:5}}},EmergencyStopHardBrake:{fields:{}},EmergencyStopCruiseToStop:{fields:{}},MainEmergencyStop:{oneofs:{task:{oneof:[\"hardBrake\",\"cruiseToStop\"]}},fields:{reasonCode:{type:\"ReasonCode\",id:1},reason:{type:\"string\",id:2},hardBrake:{type:\"EmergencyStopHardBrake\",id:3},cruiseToStop:{type:\"EmergencyStopCruiseToStop\",id:4}},nested:{ReasonCode:{values:{ESTOP_REASON_INTERNAL_ERR:1,ESTOP_REASON_COLLISION:2,ESTOP_REASON_ST_FIND_PATH:3,ESTOP_REASON_ST_MAKE_DECISION:4,ESTOP_REASON_SENSOR_ERROR:5}}}},MainCruise:{fields:{changeLaneType:{type:\"apollo.routing.ChangeLaneType\",id:1}}},MainChangeLane:{fields:{type:{type:\"Type\",id:1},defaultLane:{rule:\"repeated\",type:\"TargetLane\",id:2},defaultLaneStop:{type:\"MainStop\",id:3},targetLaneStop:{type:\"MainStop\",id:4}},nested:{Type:{values:{LEFT:1,RIGHT:2}}}},MainMissionComplete:{fields:{stopPoint:{type:\"apollo.common.PointENU\",id:1},stopHeading:{type:\"double\",id:2}}},MainNotReady:{fields:{reason:{type:\"string\",id:1}}},MainParking:{fields:{}},MainDecision:{oneofs:{task:{oneof:[\"cruise\",\"stop\",\"estop\",\"changeLane\",\"missionComplete\",\"notReady\",\"parking\"]}},fields:{cruise:{type:\"MainCruise\",id:1},stop:{type:\"MainStop\",id:2},estop:{type:\"MainEmergencyStop\",id:3},changeLane:{type:\"MainChangeLane\",id:4,options:{deprecated:!0}},missionComplete:{type:\"MainMissionComplete\",id:6},notReady:{type:\"MainNotReady\",id:7},parking:{type:\"MainParking\",id:8},targetLane:{rule:\"repeated\",type:\"TargetLane\",id:5,options:{deprecated:!0}}}},DecisionResult:{fields:{mainDecision:{type:\"MainDecision\",id:1},objectDecision:{type:\"ObjectDecisions\",id:2},vehicleSignal:{type:\"apollo.common.VehicleSignal\",id:3}}}}},planning_internal:{nested:{Debug:{fields:{planningData:{type:\"PlanningData\",id:2}}},SpeedPlan:{fields:{name:{type:\"string\",id:1},speedPoint:{rule:\"repeated\",type:\"apollo.common.SpeedPoint\",id:2}}},StGraphBoundaryDebug:{fields:{name:{type:\"string\",id:1},point:{rule:\"repeated\",type:\"apollo.common.SpeedPoint\",id:2},type:{type:\"StBoundaryType\",id:3}},nested:{StBoundaryType:{values:{ST_BOUNDARY_TYPE_UNKNOWN:1,ST_BOUNDARY_TYPE_STOP:2,ST_BOUNDARY_TYPE_FOLLOW:3,ST_BOUNDARY_TYPE_YIELD:4,ST_BOUNDARY_TYPE_OVERTAKE:5,ST_BOUNDARY_TYPE_KEEP_CLEAR:6}}}},SLFrameDebug:{fields:{name:{type:\"string\",id:1},sampledS:{rule:\"repeated\",type:\"double\",id:2,options:{packed:!1}},staticObstacleLowerBound:{rule:\"repeated\",type:\"double\",id:3,options:{packed:!1}},dynamicObstacleLowerBound:{rule:\"repeated\",type:\"double\",id:4,options:{packed:!1}},staticObstacleUpperBound:{rule:\"repeated\",type:\"double\",id:5,options:{packed:!1}},dynamicObstacleUpperBound:{rule:\"repeated\",type:\"double\",id:6,options:{packed:!1}},mapLowerBound:{rule:\"repeated\",type:\"double\",id:7,options:{packed:!1}},mapUpperBound:{rule:\"repeated\",type:\"double\",id:8,options:{packed:!1}},slPath:{rule:\"repeated\",type:\"apollo.common.SLPoint\",id:9},aggregatedBoundaryS:{rule:\"repeated\",type:\"double\",id:10,options:{packed:!1}},aggregatedBoundaryLow:{rule:\"repeated\",type:\"double\",id:11,options:{packed:!1}},aggregatedBoundaryHigh:{rule:\"repeated\",type:\"double\",id:12,options:{packed:!1}}}},STGraphDebug:{fields:{name:{type:\"string\",id:1},boundary:{rule:\"repeated\",type:\"StGraphBoundaryDebug\",id:2},speedLimit:{rule:\"repeated\",type:\"apollo.common.SpeedPoint\",id:3},speedProfile:{rule:\"repeated\",type:\"apollo.common.SpeedPoint\",id:4},speedConstraint:{type:\"STGraphSpeedConstraint\",id:5},kernelCruiseRef:{type:\"STGraphKernelCuiseRef\",id:6},kernelFollowRef:{type:\"STGraphKernelFollowRef\",id:7}},nested:{STGraphSpeedConstraint:{fields:{t:{rule:\"repeated\",type:\"double\",id:1,options:{packed:!1}},lowerBound:{rule:\"repeated\",type:\"double\",id:2,options:{packed:!1}},upperBound:{rule:\"repeated\",type:\"double\",id:3,options:{packed:!1}}}},STGraphKernelCuiseRef:{fields:{t:{rule:\"repeated\",type:\"double\",id:1,options:{packed:!1}},cruiseLineS:{rule:\"repeated\",type:\"double\",id:2,options:{packed:!1}}}},STGraphKernelFollowRef:{fields:{t:{rule:\"repeated\",type:\"double\",id:1,options:{packed:!1}},followLineS:{rule:\"repeated\",type:\"double\",id:2,options:{packed:!1}}}}}},SignalLightDebug:{fields:{adcSpeed:{type:\"double\",id:1},adcFrontS:{type:\"double\",id:2},signal:{rule:\"repeated\",type:\"SignalDebug\",id:3}},nested:{SignalDebug:{fields:{lightId:{type:\"string\",id:1},color:{type:\"apollo.perception.TrafficLight.Color\",id:2},lightStopS:{type:\"double\",id:3},adcStopDeacceleration:{type:\"double\",id:4},isStopWallCreated:{type:\"bool\",id:5}}}}},DecisionTag:{fields:{deciderTag:{type:\"string\",id:1},decision:{type:\"apollo.planning.ObjectDecisionType\",id:2}}},ObstacleDebug:{fields:{id:{type:\"string\",id:1},slBoundary:{type:\"apollo.planning.SLBoundary\",id:2},decisionTag:{rule:\"repeated\",type:\"DecisionTag\",id:3}}},ReferenceLineDebug:{fields:{id:{type:\"string\",id:1},length:{type:\"double\",id:2},cost:{type:\"double\",id:3},isChangeLanePath:{type:\"bool\",id:4},isDrivable:{type:\"bool\",id:5},isProtected:{type:\"bool\",id:6}}},ChangeLaneState:{fields:{state:{type:\"State\",id:1},pathId:{type:\"string\",id:2},timestamp:{type:\"double\",id:3}},nested:{State:{values:{IN_CHANGE_LANE:1,CHANGE_LANE_FAILED:2,CHANGE_LANE_SUCCESS:3}}}},SampleLayerDebug:{fields:{slPoint:{rule:\"repeated\",type:\"apollo.common.SLPoint\",id:1}}},DpPolyGraphDebug:{fields:{sampleLayer:{rule:\"repeated\",type:\"SampleLayerDebug\",id:1},minCostPoint:{rule:\"repeated\",type:\"apollo.common.SLPoint\",id:2}}},PlanningData:{fields:{adcPosition:{type:\"apollo.localization.LocalizationEstimate\",id:7},chassis:{type:\"apollo.canbus.Chassis\",id:8},routing:{type:\"apollo.routing.RoutingResponse\",id:9},initPoint:{type:\"apollo.common.TrajectoryPoint\",id:10},path:{rule:\"repeated\",type:\"apollo.common.Path\",id:6},speedPlan:{rule:\"repeated\",type:\"SpeedPlan\",id:13},stGraph:{rule:\"repeated\",type:\"STGraphDebug\",id:14},slFrame:{rule:\"repeated\",type:\"SLFrameDebug\",id:15},predictionHeader:{type:\"apollo.common.Header\",id:16},signalLight:{type:\"SignalLightDebug\",id:17},obstacle:{rule:\"repeated\",type:\"ObstacleDebug\",id:18},referenceLine:{rule:\"repeated\",type:\"ReferenceLineDebug\",id:19},dpPolyGraph:{type:\"DpPolyGraphDebug\",id:20},latticeStImage:{type:\"LatticeStTraining\",id:21}}},LatticeStPixel:{fields:{s:{type:\"int32\",id:1},t:{type:\"int32\",id:2},r:{type:\"uint32\",id:3},g:{type:\"uint32\",id:4},b:{type:\"uint32\",id:5}}},LatticeStTraining:{fields:{pixel:{rule:\"repeated\",type:\"LatticeStPixel\",id:1},timestamp:{type:\"double\",id:2},annotation:{type:\"string\",id:3},numSGrids:{type:\"uint32\",id:4},numTGrids:{type:\"uint32\",id:5},sResolution:{type:\"double\",id:6},tResolution:{type:\"double\",id:7}}},CloudReferenceLineRequest:{fields:{laneSegment:{rule:\"repeated\",type:\"apollo.routing.LaneSegment\",id:1}}},CloudReferenceLineRoutingRequest:{fields:{routing:{type:\"apollo.routing.RoutingResponse\",id:1}}},CloudReferenceLineResponse:{fields:{segment:{rule:\"repeated\",type:\"apollo.common.Path\",id:1}}}}},perception:{nested:{TrafficLightBox:{fields:{x:{type:\"int32\",id:1},y:{type:\"int32\",id:2},width:{type:\"int32\",id:3},height:{type:\"int32\",id:4},color:{type:\"TrafficLight.Color\",id:5},selected:{type:\"bool\",id:6}}},TrafficLightDebug:{fields:{cropbox:{type:\"TrafficLightBox\",id:1},box:{rule:\"repeated\",type:\"TrafficLightBox\",id:2},signalNum:{type:\"int32\",id:3},validPos:{type:\"int32\",id:4},tsDiffPos:{type:\"double\",id:5},tsDiffSys:{type:\"double\",id:6},projectError:{type:\"int32\",id:7},distanceToStopLine:{type:\"double\",id:8},cameraId:{type:\"int32\",id:9}}},TrafficLight:{fields:{color:{type:\"Color\",id:1},id:{type:\"string\",id:2},confidence:{type:\"double\",id:3,options:{default:1}},trackingTime:{type:\"double\",id:4}},nested:{Color:{values:{UNKNOWN:0,RED:1,YELLOW:2,GREEN:3,BLACK:4}}}},TrafficLightDetection:{fields:{header:{type:\"apollo.common.Header\",id:2},trafficLight:{rule:\"repeated\",type:\"TrafficLight\",id:1},trafficLightDebug:{type:\"TrafficLightDebug\",id:3},containLights:{type:\"bool\",id:4}}},Point:{fields:{x:{type:\"double\",id:1},y:{type:\"double\",id:2},z:{type:\"double\",id:3}}},PerceptionObstacle:{fields:{id:{type:\"int32\",id:1},position:{type:\"Point\",id:2},theta:{type:\"double\",id:3},velocity:{type:\"Point\",id:4},length:{type:\"double\",id:5},width:{type:\"double\",id:6},height:{type:\"double\",id:7},polygonPoint:{rule:\"repeated\",type:\"Point\",id:8},trackingTime:{type:\"double\",id:9},type:{type:\"Type\",id:10},timestamp:{type:\"double\",id:11},pointCloud:{rule:\"repeated\",type:\"double\",id:12},confidence:{type:\"double\",id:13,options:{default:1}},confidenceType:{type:\"ConfidenceType\",id:14,options:{default:\"CONFIDENCE_CNN\"}}},nested:{Type:{values:{UNKNOWN:0,UNKNOWN_MOVABLE:1,UNKNOWN_UNMOVABLE:2,PEDESTRIAN:3,BICYCLE:4,VEHICLE:5}},ConfidenceType:{values:{CONFIDENCE_UNKNOWN:0,CONFIDENCE_CNN:1,CONFIDENCE_RADAR:2}}}},CIPVInfo:{fields:{cipvId:{type:\"int32\",id:1},potentialCipvId:{rule:\"repeated\",type:\"int32\",id:2,options:{packed:!1}}}},LaneMarker:{fields:{laneType:{type:\"LaneType\",id:1},quality:{type:\"double\",id:2},modelDegree:{type:\"int32\",id:3},c0Position:{type:\"double\",id:4},c1HeadingAngle:{type:\"double\",id:5},c2Curvature:{type:\"double\",id:6},c3CurvatureDerivative:{type:\"double\",id:7},viewRange:{type:\"double\",id:8}},nested:{LaneType:{values:{LANE_TYPE_UNKNOWN:0,LANE_TYPE_DASHED:1,LANE_TYPE_SOLID:2,LANE_TYPE_ROAD_EDGE:3}}}},LaneMarkers:{fields:{leftLaneMarker:{type:\"LaneMarker\",id:1},rightLaneMarker:{type:\"LaneMarker\",id:2},nextLeftLaneMarker:{rule:\"repeated\",type:\"LaneMarker\",id:3},nextRightLaneMarker:{rule:\"repeated\",type:\"LaneMarker\",id:4}}},PerceptionObstacles:{fields:{perceptionObstacle:{rule:\"repeated\",type:\"PerceptionObstacle\",id:1},header:{type:\"apollo.common.Header\",id:2},errorCode:{type:\"apollo.common.ErrorCode\",id:3,options:{default:\"OK\"}},laneMarker:{type:\"LaneMarkers\",id:4},cipvInfo:{type:\"CIPVInfo\",id:5}}}}},routing:{nested:{LaneWaypoint:{fields:{id:{type:\"string\",id:1},s:{type:\"double\",id:2},pose:{type:\"apollo.common.PointENU\",id:3}}},LaneSegment:{fields:{id:{type:\"string\",id:1},startS:{type:\"double\",id:2},endS:{type:\"double\",id:3}}},RoutingRequest:{fields:{header:{type:\"apollo.common.Header\",id:1},waypoint:{rule:\"repeated\",type:\"LaneWaypoint\",id:2},blacklistedLane:{rule:\"repeated\",type:\"LaneSegment\",id:3},blacklistedRoad:{rule:\"repeated\",type:\"string\",id:4},broadcast:{type:\"bool\",id:5,options:{default:!0}}}},Measurement:{fields:{distance:{type:\"double\",id:1}}},ChangeLaneType:{values:{FORWARD:0,LEFT:1,RIGHT:2}},Passage:{fields:{segment:{rule:\"repeated\",type:\"LaneSegment\",id:1},canExit:{type:\"bool\",id:2},changeLaneType:{type:\"ChangeLaneType\",id:3,options:{default:\"FORWARD\"}}}},RoadSegment:{fields:{id:{type:\"string\",id:1},passage:{rule:\"repeated\",type:\"Passage\",id:2}}},RoutingResponse:{fields:{header:{type:\"apollo.common.Header\",id:1},road:{rule:\"repeated\",type:\"RoadSegment\",id:2},measurement:{type:\"Measurement\",id:3},routingRequest:{type:\"RoutingRequest\",id:4},mapVersion:{type:\"bytes\",id:5},status:{type:\"apollo.common.StatusPb\",id:6}}}}}}}}}},function(e,t,i){\"use strict\";var o=i(25),r=o.Root.fromJSON(i(28)),n=r.lookupType(\"apollo.dreamview.SimulationWorld\"),s=o.Root.fromJSON(i(26)),d=s.lookupType(\"apollo.hdmap.Map\"),a=o.Root.fromJSON(i(27)),p=a.lookupType(\"apollo.dreamview.PointCloud\");self.addEventListener(\"message\",function(e){var t=null,i=e.data.data;switch(e.data.source){case\"realtime\":\"string\"==typeof i?t=JSON.parse(i):(t=n.toObject(n.decode(new Uint8Array(i)),{enums:String}),t.type=\"SimWorldUpdate\");break;case\"map\":t=d.toObject(d.decode(new Uint8Array(i)),{enums:String}),t.type=\"MapData\";break;case\"point_cloud\":t=\"string\"==typeof i?JSON.parse(i):p.toObject(p.decode(new Uint8Array(i)),{arrays:!0})}t&&self.postMessage(t)})},function(e,t,i){\"use strict\";var o=t;o.length=function(e){var t=e.length;if(!t)return 0;for(var i=0;--t%4>1&&\"=\"===e.charAt(t);)++i;return Math.ceil(3*e.length)/4-i};for(var r=new Array(64),n=new Array(123),s=0;s<64;)n[r[s]=s<26?s+65:s<52?s+71:s<62?s-4:s-59|43]=s++;o.encode=function(e,t,i){for(var o,n=null,s=[],d=0,a=0;t<i;){var p=e[t++];switch(a){case 0:s[d++]=r[p>>2],o=(3&p)<<4,a=1;break;case 1:s[d++]=r[o|p>>4],o=(15&p)<<2,a=2;break;case 2:s[d++]=r[o|p>>6],s[d++]=r[63&p],a=0}d>8191&&((n||(n=[])).push(String.fromCharCode.apply(String,s)),d=0)}return a&&(s[d++]=r[o],s[d++]=61,1===a&&(s[d++]=61)),n?(d&&n.push(String.fromCharCode.apply(String,s.slice(0,d))),n.join(\"\")):String.fromCharCode.apply(String,s.slice(0,d))};o.decode=function(e,t,i){for(var o,r=i,s=0,d=0;d<e.length;){var a=e.charCodeAt(d++);if(61===a&&s>1)break;if(void 0===(a=n[a]))throw Error(\"invalid encoding\");switch(s){case 0:o=a,s=1;break;case 1:t[i++]=o<<2|(48&a)>>4,o=a,s=2;break;case 2:t[i++]=(15&o)<<4|(60&a)>>2,o=a,s=3;break;case 3:t[i++]=(3&o)<<6|a,s=0}}if(1===s)throw Error(\"invalid encoding\");return i-r},o.test=function(e){return/^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$/.test(e)}},function(e,t,i){\"use strict\";function o(e,t){function i(e){if(\"string\"!=typeof e){var t=r();if(o.verbose&&console.log(\"codegen: \"+t),t=\"return \"+t,e){for(var s=Object.keys(e),d=new Array(s.length+1),a=new Array(s.length),p=0;p<s.length;)d[p]=s[p],a[p]=e[s[p++]];return d[p]=t,Function.apply(null,d).apply(null,a)}return Function(t)()}for(var l=new Array(arguments.length-1),u=0;u<l.length;)l[u]=arguments[++u];if(u=0,e=e.replace(/%([%dfijs])/g,function(e,t){var i=l[u++];switch(t){case\"d\":case\"f\":return String(Number(i));case\"i\":return String(Math.floor(i));case\"j\":return JSON.stringify(i);case\"s\":return String(i)}return\"%\"}),u!==l.length)throw Error(\"parameter count mismatch\");return n.push(e),i}function r(i){return\"function \"+(i||t||\"\")+\"(\"+(e&&e.join(\",\")||\"\")+\"){\\n \"+n.join(\"\\n \")+\"\\n}\"}\"string\"==typeof e&&(t=e,e=void 0);var n=[];return i.toString=r,i}e.exports=o,o.verbose=!1},function(e,t,i){\"use strict\";function o(){this._listeners={}}e.exports=o,o.prototype.on=function(e,t,i){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:i||this}),this},o.prototype.off=function(e,t){if(void 0===e)this._listeners={};else if(void 0===t)this._listeners[e]=[];else for(var i=this._listeners[e],o=0;o<i.length;)i[o].fn===t?i.splice(o,1):++o;return this},o.prototype.emit=function(e){var t=this._listeners[e];if(t){for(var i=[],o=1;o<arguments.length;)i.push(arguments[o++]);for(o=0;o<t.length;)t[o].fn.apply(t[o++].ctx,i)}return this}},function(e,t,i){\"use strict\";function o(e,t,i){return\"function\"==typeof t?(i=t,t={}):t||(t={}),i?!t.xhr&&s&&s.readFile?s.readFile(e,function(r,n){return r&&\"undefined\"!=typeof XMLHttpRequest?o.xhr(e,t,i):r?i(r):i(null,t.binary?n:n.toString(\"utf8\"))}):o.xhr(e,t,i):r(o,this,e,t)}e.exports=o;var r=i(11),n=i(12),s=n(\"fs\");o.xhr=function(e,t,i){var o=new XMLHttpRequest;o.onreadystatechange=function(){if(4===o.readyState){if(0!==o.status&&200!==o.status)return i(Error(\"status \"+o.status));if(t.binary){var e=o.response;if(!e){e=[];for(var r=0;r<o.responseText.length;++r)e.push(255&o.responseText.charCodeAt(r))}return i(null,\"undefined\"!=typeof Uint8Array?new Uint8Array(e):e)}return i(null,o.responseText)}},t.binary&&(\"overrideMimeType\"in o&&o.overrideMimeType(\"text/plain; charset=x-user-defined\"),o.responseType=\"arraybuffer\"),o.open(\"GET\",e),o.send()}},function(e,t,i){\"use strict\";function o(e){return\"undefined\"!=typeof Float32Array?function(){function t(e,t,i){n[0]=e,t[i]=s[0],t[i+1]=s[1],t[i+2]=s[2],t[i+3]=s[3]}function i(e,t,i){n[0]=e,t[i]=s[3],t[i+1]=s[2],t[i+2]=s[1],t[i+3]=s[0]}function o(e,t){return s[0]=e[t],s[1]=e[t+1],s[2]=e[t+2],s[3]=e[t+3],n[0]}function r(e,t){return s[3]=e[t],s[2]=e[t+1],s[1]=e[t+2],s[0]=e[t+3],n[0]}var n=new Float32Array([-0]),s=new Uint8Array(n.buffer),d=128===s[3];e.writeFloatLE=d?t:i,e.writeFloatBE=d?i:t,e.readFloatLE=d?o:r,e.readFloatBE=d?r:o}():function(){function t(e,t,i,o){var r=t<0?1:0;if(r&&(t=-t),0===t)e(1/t>0?0:2147483648,i,o);else if(isNaN(t))e(2143289344,i,o);else if(t>3.4028234663852886e38)e((r<<31|2139095040)>>>0,i,o);else if(t<1.1754943508222875e-38)e((r<<31|Math.round(t/1.401298464324817e-45))>>>0,i,o);else{var n=Math.floor(Math.log(t)/Math.LN2),s=8388607&Math.round(t*Math.pow(2,-n)*8388608);e((r<<31|n+127<<23|s)>>>0,i,o)}}function i(e,t,i){var o=e(t,i),r=2*(o>>31)+1,n=o>>>23&255,s=8388607&o;return 255===n?s?NaN:r*(1/0):0===n?1.401298464324817e-45*r*s:r*Math.pow(2,n-150)*(s+8388608)}e.writeFloatLE=t.bind(null,r),e.writeFloatBE=t.bind(null,n),e.readFloatLE=i.bind(null,s),e.readFloatBE=i.bind(null,d)}(),\"undefined\"!=typeof Float64Array?function(){function t(e,t,i){n[0]=e,t[i]=s[0],t[i+1]=s[1],t[i+2]=s[2],t[i+3]=s[3],t[i+4]=s[4],t[i+5]=s[5],t[i+6]=s[6],t[i+7]=s[7]}function i(e,t,i){n[0]=e,t[i]=s[7],t[i+1]=s[6],t[i+2]=s[5],t[i+3]=s[4],t[i+4]=s[3],t[i+5]=s[2],t[i+6]=s[1],t[i+7]=s[0]}function o(e,t){return s[0]=e[t],s[1]=e[t+1],s[2]=e[t+2],s[3]=e[t+3],s[4]=e[t+4],s[5]=e[t+5],s[6]=e[t+6],s[7]=e[t+7],n[0]}function r(e,t){return s[7]=e[t],s[6]=e[t+1],s[5]=e[t+2],s[4]=e[t+3],s[3]=e[t+4],s[2]=e[t+5],s[1]=e[t+6],s[0]=e[t+7],n[0]}var n=new Float64Array([-0]),s=new Uint8Array(n.buffer),d=128===s[7];e.writeDoubleLE=d?t:i,e.writeDoubleBE=d?i:t,e.readDoubleLE=d?o:r,e.readDoubleBE=d?r:o}():function(){function t(e,t,i,o,r,n){var s=o<0?1:0;if(s&&(o=-o),0===o)e(0,r,n+t),e(1/o>0?0:2147483648,r,n+i);else if(isNaN(o))e(0,r,n+t),e(2146959360,r,n+i);else if(o>1.7976931348623157e308)e(0,r,n+t),e((s<<31|2146435072)>>>0,r,n+i);else{var d;if(o<2.2250738585072014e-308)d=o/5e-324,e(d>>>0,r,n+t),e((s<<31|d/4294967296)>>>0,r,n+i);else{var a=Math.floor(Math.log(o)/Math.LN2);1024===a&&(a=1023),d=o*Math.pow(2,-a),e(4503599627370496*d>>>0,r,n+t),e((s<<31|a+1023<<20|1048576*d&1048575)>>>0,r,n+i)}}}function i(e,t,i,o,r){var n=e(o,r+t),s=e(o,r+i),d=2*(s>>31)+1,a=s>>>20&2047,p=4294967296*(1048575&s)+n;return 2047===a?p?NaN:d*(1/0):0===a?5e-324*d*p:d*Math.pow(2,a-1075)*(p+4503599627370496)}e.writeDoubleLE=t.bind(null,r,0,4),e.writeDoubleBE=t.bind(null,n,4,0),e.readDoubleLE=i.bind(null,s,0,4),e.readDoubleBE=i.bind(null,d,4,0)}(),e}function r(e,t,i){t[i]=255&e,t[i+1]=e>>>8&255,t[i+2]=e>>>16&255,t[i+3]=e>>>24}function n(e,t,i){t[i]=e>>>24,t[i+1]=e>>>16&255,t[i+2]=e>>>8&255,t[i+3]=255&e}function s(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function d(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}e.exports=o(o)},function(e,t,i){\"use strict\";var o=t,r=o.isAbsolute=function(e){return/^(?:\\/|\\w+:)/.test(e)},n=o.normalize=function(e){e=e.replace(/\\\\/g,\"/\").replace(/\\/{2,}/g,\"/\");var t=e.split(\"/\"),i=r(e),o=\"\";i&&(o=t.shift()+\"/\");for(var n=0;n<t.length;)\"..\"===t[n]?n>0&&\"..\"!==t[n-1]?t.splice(--n,2):i?t.splice(n,1):++n:\".\"===t[n]?t.splice(n,1):++n;return o+t.join(\"/\")};o.resolve=function(e,t,i){return i||(t=n(t)),r(t)?t:(i||(e=n(e)),(e=e.replace(/(?:\\/|^)[^\\/]+$/,\"\")).length?n(e+\"/\"+t):t)}},function(e,t,i){\"use strict\";function o(e,t,i){var o=i||8192,r=o>>>1,n=null,s=o;return function(i){if(i<1||i>r)return e(i);s+i>o&&(n=e(o),s=0);var d=t.call(n,s,s+=i);return 7&s&&(s=1+(7|s)),d}}e.exports=o},function(e,t,i){\"use strict\";var o=t;o.length=function(e){for(var t=0,i=0,o=0;o<e.length;++o)i=e.charCodeAt(o),i<128?t+=1:i<2048?t+=2:55296==(64512&i)&&56320==(64512&e.charCodeAt(o+1))?(++o,t+=4):t+=3;return t},o.read=function(e,t,i){if(i-t<1)return\"\";for(var o,r=null,n=[],s=0;t<i;)o=e[t++],o<128?n[s++]=o:o>191&&o<224?n[s++]=(31&o)<<6|63&e[t++]:o>239&&o<365?(o=((7&o)<<18|(63&e[t++])<<12|(63&e[t++])<<6|63&e[t++])-65536,n[s++]=55296+(o>>10),n[s++]=56320+(1023&o)):n[s++]=(15&o)<<12|(63&e[t++])<<6|63&e[t++],s>8191&&((r||(r=[])).push(String.fromCharCode.apply(String,n)),s=0);return r?(s&&r.push(String.fromCharCode.apply(String,n.slice(0,s))),r.join(\"\")):String.fromCharCode.apply(String,n.slice(0,s))},o.write=function(e,t,i){for(var o,r,n=i,s=0;s<e.length;++s)o=e.charCodeAt(s),o<128?t[i++]=o:o<2048?(t[i++]=o>>6|192,t[i++]=63&o|128):55296==(64512&o)&&56320==(64512&(r=e.charCodeAt(s+1)))?(o=65536+((1023&o)<<10)+(1023&r),++s,t[i++]=o>>18|240,t[i++]=o>>12&63|128,t[i++]=o>>6&63|128,t[i++]=63&o|128):(t[i++]=o>>12|224,t[i++]=o>>6&63|128,t[i++]=63&o|128);return i-n}},function(e,t,i){\"use strict\";function o(e,t,i){return\"function\"==typeof t?(i=t,t=new n.Root):t||(t=new n.Root),t.load(e,i)}function r(e,t){return t||(t=new n.Root),t.loadSync(e)}var n=e.exports=i(39);n.build=\"light\",n.load=o,n.loadSync=r,n.encoder=i(15),n.decoder=i(14),n.verifier=i(23),n.converter=i(13),n.ReflectionObject=i(4),n.Namespace=i(5),n.Root=i(18),n.Enum=i(1),n.Type=i(22),n.Field=i(3),n.OneOf=i(8),n.MapField=i(16),n.Service=i(21),n.Method=i(17),n.Message=i(7),n.wrappers=i(24),n.types=i(6),n.util=i(0),n.ReflectionObject._configure(n.Root),n.Namespace._configure(n.Type,n.Service),n.Root._configure(n.Type),n.Field._configure(n.Type)},function(e,t,i){\"use strict\";function o(){r.Reader._configure(r.BufferReader),r.util._configure()}var r=t;r.build=\"minimal\",r.Writer=i(10),r.BufferWriter=i(43),r.Reader=i(9),r.BufferReader=i(40),r.util=i(2),r.rpc=i(20),r.roots=i(19),r.configure=o,r.Writer._configure(r.BufferWriter),o()},function(e,t,i){\"use strict\";function o(e){r.call(this,e)}e.exports=o;var r=i(9);(o.prototype=Object.create(r.prototype)).constructor=o;var n=i(2);n.Buffer&&(o.prototype._slice=n.Buffer.prototype.slice),o.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len))}},function(e,t,i){\"use strict\";function o(e,t,i){if(\"function\"!=typeof e)throw TypeError(\"rpcImpl must be a function\");r.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=Boolean(t),this.responseDelimited=Boolean(i)}e.exports=o;var r=i(2);(o.prototype=Object.create(r.EventEmitter.prototype)).constructor=o,o.prototype.rpcCall=function e(t,i,o,n,s){if(!n)throw TypeError(\"request must be specified\");var d=this;if(!s)return r.asPromise(e,d,t,i,o,n);if(!d.rpcImpl)return void setTimeout(function(){s(Error(\"already ended\"))},0);try{return d.rpcImpl(t,i[d.requestDelimited?\"encodeDelimited\":\"encode\"](n).finish(),function(e,i){if(e)return d.emit(\"error\",e,t),s(e);if(null===i)return void d.end(!0);if(!(i instanceof o))try{i=o[d.responseDelimited?\"decodeDelimited\":\"decode\"](i)}catch(e){return d.emit(\"error\",e,t),s(e)}return d.emit(\"data\",i,t),s(null,i)})}catch(e){return d.emit(\"error\",e,t),void setTimeout(function(){s(e)},0)}},o.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit(\"end\").off()),this}},function(e,t,i){\"use strict\";function o(e,t){this.lo=e>>>0,this.hi=t>>>0}e.exports=o;var r=i(2),n=o.zero=new o(0,0);n.toNumber=function(){return 0},n.zzEncode=n.zzDecode=function(){return this},n.length=function(){return 1};var s=o.zeroHash=\"\\0\\0\\0\\0\\0\\0\\0\\0\";o.fromNumber=function(e){if(0===e)return n;var t=e<0;t&&(e=-e);var i=e>>>0,r=(e-i)/4294967296>>>0;return t&&(r=~r>>>0,i=~i>>>0,++i>4294967295&&(i=0,++r>4294967295&&(r=0))),new o(i,r)},o.from=function(e){if(\"number\"==typeof e)return o.fromNumber(e);if(r.isString(e)){if(!r.Long)return o.fromNumber(parseInt(e,10));e=r.Long.fromString(e)}return e.low||e.high?new o(e.low>>>0,e.high>>>0):n},o.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=1+~this.lo>>>0,i=~this.hi>>>0;return t||(i=i+1>>>0),-(t+4294967296*i)}return this.lo+4294967296*this.hi},o.prototype.toLong=function(e){return r.Long?new r.Long(0|this.lo,0|this.hi,Boolean(e)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(e)}};var d=String.prototype.charCodeAt;o.fromHash=function(e){return e===s?n:new o((d.call(e,0)|d.call(e,1)<<8|d.call(e,2)<<16|d.call(e,3)<<24)>>>0,(d.call(e,4)|d.call(e,5)<<8|d.call(e,6)<<16|d.call(e,7)<<24)>>>0)},o.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},o.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},o.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},o.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,i=this.hi>>>24;return 0===i?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:i<128?9:10}},function(e,t,i){\"use strict\";function o(){n.call(this)}function r(e,t,i){e.length<40?s.utf8.write(e,t,i):t.utf8Write(e,i)}e.exports=o;var n=i(10);(o.prototype=Object.create(n.prototype)).constructor=o;var s=i(2),d=s.Buffer;o.alloc=function(e){return(o.alloc=s._Buffer_allocUnsafe)(e)};var a=d&&d.prototype instanceof Uint8Array&&\"set\"===d.prototype.set.name?function(e,t,i){t.set(e,i)}:function(e,t,i){if(e.copy)e.copy(t,i,0,e.length);else for(var o=0;o<e.length;)t[i++]=e[o++]};o.prototype.bytes=function(e){s.isString(e)&&(e=s._Buffer_from(e,\"base64\"));var t=e.length>>>0;return this.uint32(t),t&&this._push(a,t,e),this},o.prototype.string=function(e){var t=d.byteLength(e);return this.uint32(t),t&&this._push(r,t,e),this}},function(e,t){var i;i=function(){return this}();try{i=i||Function(\"return this\")()||(0,eval)(\"this\")}catch(e){\"object\"==typeof window&&(i=window)}e.exports=i}]);\n\n\n// WEBPACK FOOTER //\n// c967ff412bcc0efba45c.worker.js"],"mappings":"AAAA","sourceRoot":""}
\ No newline at end of file
{"hash":"35549e149c746afd95464c71b413b5e9","version":"0.0.7","optionHash":"94a33a51a96b2c65ea691673ba17869c","result":{"outputFilePrefix":"icons-35549e149c746afd95464c71b413b5e9/","html":["<link rel=\"apple-touch-icon\" sizes=\"57x57\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-57x57.png\">","<link rel=\"apple-touch-icon\" sizes=\"60x60\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-60x60.png\">","<link rel=\"apple-touch-icon\" sizes=\"72x72\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-72x72.png\">","<link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-76x76.png\">","<link rel=\"apple-touch-icon\" sizes=\"114x114\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-114x114.png\">","<link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-120x120.png\">","<link rel=\"apple-touch-icon\" sizes=\"144x144\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-144x144.png\">","<link rel=\"apple-touch-icon\" sizes=\"152x152\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-152x152.png\">","<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-180x180.png\">","<meta name=\"apple-mobile-web-app-capable\" content=\"yes\">","<meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black-translucent\">","<meta name=\"apple-mobile-web-app-title\" content=\"dreamview\">","<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/icons-35549e149c746afd95464c71b413b5e9/favicon-32x32.png\">","<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/icons-35549e149c746afd95464c71b413b5e9/favicon-16x16.png\">","<link rel=\"shortcut icon\" href=\"/icons-35549e149c746afd95464c71b413b5e9/favicon.ico\">","<meta name=\"mobile-web-app-capable\" content=\"yes\">","<meta name=\"theme-color\" content=\"#fff\">","<meta name=\"application-name\" content=\"dreamview\">","<link rel=\"apple-touch-startup-image\" media=\"(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 1)\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-320x460.png\">","<link rel=\"apple-touch-startup-image\" media=\"(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2)\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-640x920.png\">","<link rel=\"apple-touch-startup-image\" media=\"(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-640x1096.png\">","<link rel=\"apple-touch-startup-image\" media=\"(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-750x1294.png\">","<link rel=\"apple-touch-startup-image\" media=\"(device-width: 414px) and (device-height: 736px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3)\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-1182x2208.png\">","<link rel=\"apple-touch-startup-image\" media=\"(device-width: 414px) and (device-height: 736px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3)\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-1242x2148.png\">","<link rel=\"apple-touch-startup-image\" media=\"(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 1)\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-748x1024.png\">","<link rel=\"apple-touch-startup-image\" media=\"(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 1)\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-768x1004.png\">","<link rel=\"apple-touch-startup-image\" media=\"(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2)\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-1496x2048.png\">","<link rel=\"apple-touch-startup-image\" media=\"(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2)\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-1536x2008.png\">"],"files":["icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-57x57.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-60x60.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-72x72.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-76x76.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-114x114.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-120x120.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-144x144.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-167x167.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-152x152.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-180x180.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-precomposed.png","icons-35549e149c746afd95464c71b413b5e9/favicon-16x16.png","icons-35549e149c746afd95464c71b413b5e9/favicon-32x32.png","icons-35549e149c746afd95464c71b413b5e9/favicon.ico","icons-35549e149c746afd95464c71b413b5e9/android-chrome-36x36.png","icons-35549e149c746afd95464c71b413b5e9/android-chrome-48x48.png","icons-35549e149c746afd95464c71b413b5e9/android-chrome-72x72.png","icons-35549e149c746afd95464c71b413b5e9/android-chrome-96x96.png","icons-35549e149c746afd95464c71b413b5e9/android-chrome-144x144.png","icons-35549e149c746afd95464c71b413b5e9/android-chrome-192x192.png","icons-35549e149c746afd95464c71b413b5e9/android-chrome-256x256.png","icons-35549e149c746afd95464c71b413b5e9/android-chrome-384x384.png","icons-35549e149c746afd95464c71b413b5e9/android-chrome-512x512.png","icons-35549e149c746afd95464c71b413b5e9/firefox_app_60x60.png","icons-35549e149c746afd95464c71b413b5e9/firefox_app_128x128.png","icons-35549e149c746afd95464c71b413b5e9/firefox_app_512x512.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-320x460.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-640x1096.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-640x920.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-748x1024.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-750x1294.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-768x1004.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-1242x2148.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-1182x2208.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-1496x2048.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-1536x2008.png","icons-35549e149c746afd95464c71b413b5e9/manifest.json","icons-35549e149c746afd95464c71b413b5e9/manifest.webapp"]}}
\ No newline at end of file
{"hash":"35549e149c746afd95464c71b413b5e9","version":"0.0.7","optionHash":"94a33a51a96b2c65ea691673ba17869c","result":{"outputFilePrefix":"icons-35549e149c746afd95464c71b413b5e9/","html":["<link rel=\"apple-touch-icon\" sizes=\"57x57\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-57x57.png\">","<link rel=\"apple-touch-icon\" sizes=\"60x60\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-60x60.png\">","<link rel=\"apple-touch-icon\" sizes=\"72x72\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-72x72.png\">","<link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-76x76.png\">","<link rel=\"apple-touch-icon\" sizes=\"114x114\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-114x114.png\">","<link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-120x120.png\">","<link rel=\"apple-touch-icon\" sizes=\"144x144\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-144x144.png\">","<link rel=\"apple-touch-icon\" sizes=\"152x152\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-152x152.png\">","<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-180x180.png\">","<meta name=\"apple-mobile-web-app-capable\" content=\"yes\">","<meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black-translucent\">","<meta name=\"apple-mobile-web-app-title\" content=\"dreamview\">","<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/icons-35549e149c746afd95464c71b413b5e9/favicon-32x32.png\">","<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/icons-35549e149c746afd95464c71b413b5e9/favicon-16x16.png\">","<link rel=\"shortcut icon\" href=\"/icons-35549e149c746afd95464c71b413b5e9/favicon.ico\">","<meta name=\"mobile-web-app-capable\" content=\"yes\">","<meta name=\"theme-color\" content=\"#fff\">","<meta name=\"application-name\" content=\"dreamview\">","<link rel=\"apple-touch-startup-image\" media=\"(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 1)\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-320x460.png\">","<link rel=\"apple-touch-startup-image\" media=\"(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2)\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-640x920.png\">","<link rel=\"apple-touch-startup-image\" media=\"(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-640x1096.png\">","<link rel=\"apple-touch-startup-image\" media=\"(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-750x1294.png\">","<link rel=\"apple-touch-startup-image\" media=\"(device-width: 414px) and (device-height: 736px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3)\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-1182x2208.png\">","<link rel=\"apple-touch-startup-image\" media=\"(device-width: 414px) and (device-height: 736px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3)\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-1242x2148.png\">","<link rel=\"apple-touch-startup-image\" media=\"(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 1)\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-748x1024.png\">","<link rel=\"apple-touch-startup-image\" media=\"(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 1)\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-768x1004.png\">","<link rel=\"apple-touch-startup-image\" media=\"(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2)\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-1496x2048.png\">","<link rel=\"apple-touch-startup-image\" media=\"(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2)\" href=\"/icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-1536x2008.png\">"],"files":["icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-57x57.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-60x60.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-72x72.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-76x76.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-114x114.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-120x120.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-144x144.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-152x152.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-167x167.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-180x180.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-icon-precomposed.png","icons-35549e149c746afd95464c71b413b5e9/favicon-16x16.png","icons-35549e149c746afd95464c71b413b5e9/favicon-32x32.png","icons-35549e149c746afd95464c71b413b5e9/favicon.ico","icons-35549e149c746afd95464c71b413b5e9/android-chrome-36x36.png","icons-35549e149c746afd95464c71b413b5e9/android-chrome-48x48.png","icons-35549e149c746afd95464c71b413b5e9/android-chrome-72x72.png","icons-35549e149c746afd95464c71b413b5e9/android-chrome-96x96.png","icons-35549e149c746afd95464c71b413b5e9/android-chrome-144x144.png","icons-35549e149c746afd95464c71b413b5e9/android-chrome-192x192.png","icons-35549e149c746afd95464c71b413b5e9/android-chrome-256x256.png","icons-35549e149c746afd95464c71b413b5e9/android-chrome-384x384.png","icons-35549e149c746afd95464c71b413b5e9/android-chrome-512x512.png","icons-35549e149c746afd95464c71b413b5e9/firefox_app_60x60.png","icons-35549e149c746afd95464c71b413b5e9/firefox_app_128x128.png","icons-35549e149c746afd95464c71b413b5e9/firefox_app_512x512.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-320x460.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-640x1096.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-640x920.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-750x1294.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-748x1024.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-768x1004.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-1182x2208.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-1242x2148.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-1536x2008.png","icons-35549e149c746afd95464c71b413b5e9/apple-touch-startup-image-1496x2048.png","icons-35549e149c746afd95464c71b413b5e9/manifest.json","icons-35549e149c746afd95464c71b413b5e9/manifest.webapp"]}}
\ No newline at end of file
因为 它太大了无法显示 source diff 。你可以改为 查看blob
因为 它太大了无法显示 source diff 。你可以改为 查看blob
!function(e){function t(o){if(i[o])return i[o].exports;var r=i[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var i={};t.m=e,t.c=i,t.i=function(e){return e},t.d=function(e,i,o){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=29)}([function(e,t,i){"use strict";var o,r,n=e.exports=i(2),s=i(19);n.codegen=i(31),n.fetch=i(33),n.path=i(35),n.fs=n.inquire("fs"),n.toArray=function(e){if(e){for(var t=Object.keys(e),i=new Array(t.length),o=0;o<t.length;)i[o]=e[t[o++]];return i}return[]},n.toObject=function(e){for(var t={},i=0;i<e.length;){var o=e[i++],r=e[i++];void 0!==r&&(t[o]=r)}return t};var d=/\\/g,a=/"/g;n.isReserved=function(e){return/^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/.test(e)},n.safeProp=function(e){return!/^[$\w_]+$/.test(e)||n.isReserved(e)?'["'+e.replace(d,"\\\\").replace(a,'\\"')+'"]':"."+e},n.ucFirst=function(e){return e.charAt(0).toUpperCase()+e.substring(1)};var p=/_([a-z])/g;n.camelCase=function(e){return e.substring(0,1)+e.substring(1).replace(p,function(e,t){return t.toUpperCase()})},n.compareFieldsById=function(e,t){return e.id-t.id},n.decorateType=function(e,t){if(e.$type)return t&&e.$type.name!==t&&(n.decorateRoot.remove(e.$type),e.$type.name=t,n.decorateRoot.add(e.$type)),e.$type;o||(o=i(22));var r=new o(t||e.name);return n.decorateRoot.add(r),r.ctor=e,Object.defineProperty(e,"$type",{value:r,enumerable:!1}),Object.defineProperty(e.prototype,"$type",{value:r,enumerable:!1}),r};var l=0;n.decorateEnum=function(e){if(e.$type)return e.$type;r||(r=i(1));var t=new r("Enum"+l++,e);return n.decorateRoot.add(t),Object.defineProperty(e,"$type",{value:t,enumerable:!1}),t},Object.defineProperty(n,"decorateRoot",{get:function(){return s.decorated||(s.decorated=new(i(18)))}})},function(e,t,i){"use strict";function o(e,t,i,o,n){if(r.call(this,e,i),t&&"object"!=typeof t)throw TypeError("values must be an object");if(this.valuesById={},this.values=Object.create(this.valuesById),this.comment=o,this.comments=n||{},this.reserved=void 0,t)for(var s=Object.keys(t),d=0;d<s.length;++d)"number"==typeof t[s[d]]&&(this.valuesById[this.values[s[d]]=t[s[d]]]=s[d])}e.exports=o;var r=i(4);((o.prototype=Object.create(r.prototype)).constructor=o).className="Enum";var n=i(5),s=i(0);o.fromJSON=function(e,t){var i=new o(e,t.values,t.options,t.comment,t.comments);return i.reserved=t.reserved,i},o.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return s.toObject(["options",this.options,"values",this.values,"reserved",this.reserved&&this.reserved.length?this.reserved:void 0,"comment",t?this.comment:void 0,"comments",t?this.comments:void 0])},o.prototype.add=function(e,t,i){if(!s.isString(e))throw TypeError("name must be a string");if(!s.isInteger(t))throw TypeError("id must be an integer");if(void 0!==this.values[e])throw Error("duplicate name '"+e+"' in "+this);if(this.isReservedId(t))throw Error("id "+t+" is reserved in "+this);if(this.isReservedName(e))throw Error("name '"+e+"' is reserved in "+this);if(void 0!==this.valuesById[t]){if(!this.options||!this.options.allow_alias)throw Error("duplicate id "+t+" in "+this);this.values[e]=t}else this.valuesById[this.values[e]=t]=e;return this.comments[e]=i||null,this},o.prototype.remove=function(e){if(!s.isString(e))throw TypeError("name must be a string");var t=this.values[e];if(null==t)throw Error("name '"+e+"' does not exist in "+this);return delete this.valuesById[t],delete this.values[e],delete this.comments[e],this},o.prototype.isReservedId=function(e){return n.isReservedId(this.reserved,e)},o.prototype.isReservedName=function(e){return n.isReservedName(this.reserved,e)}},function(e,t,i){"use strict";(function(e){function o(e,t,i){for(var o=Object.keys(t),r=0;r<o.length;++r)void 0!==e[o[r]]&&i||(e[o[r]]=t[o[r]]);return e}function r(e){function t(e,i){if(!(this instanceof t))return new t(e,i);Object.defineProperty(this,"message",{get:function(){return e}}),Error.captureStackTrace?Error.captureStackTrace(this,t):Object.defineProperty(this,"stack",{value:(new Error).stack||""}),i&&o(this,i)}return(t.prototype=Object.create(Error.prototype)).constructor=t,Object.defineProperty(t.prototype,"name",{get:function(){return e}}),t.prototype.toString=function(){return this.name+": "+this.message},t}var n=t;n.asPromise=i(11),n.base64=i(30),n.EventEmitter=i(32),n.float=i(34),n.inquire=i(12),n.utf8=i(37),n.pool=i(36),n.LongBits=i(42),n.emptyArray=Object.freeze?Object.freeze([]):[],n.emptyObject=Object.freeze?Object.freeze({}):{},n.isNode=Boolean(e.process&&e.process.versions&&e.process.versions.node),n.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},n.isString=function(e){return"string"==typeof e||e instanceof String},n.isObject=function(e){return e&&"object"==typeof e},n.isset=n.isSet=function(e,t){var i=e[t];return!(null==i||!e.hasOwnProperty(t))&&("object"!=typeof i||(Array.isArray(i)?i.length:Object.keys(i).length)>0)},n.Buffer=function(){try{var e=n.inquire("buffer").Buffer;return e.prototype.utf8Write?e:null}catch(e){return null}}(),n._Buffer_from=null,n._Buffer_allocUnsafe=null,n.newBuffer=function(e){return"number"==typeof e?n.Buffer?n._Buffer_allocUnsafe(e):new n.Array(e):n.Buffer?n._Buffer_from(e):"undefined"==typeof Uint8Array?e:new Uint8Array(e)},n.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,n.Long=e.dcodeIO&&e.dcodeIO.Long||n.inquire("long"),n.key2Re=/^true|false|0|1$/,n.key32Re=/^-?(?:0|[1-9][0-9]*)$/,n.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,n.longToHash=function(e){return e?n.LongBits.from(e).toHash():n.LongBits.zeroHash},n.longFromHash=function(e,t){var i=n.LongBits.fromHash(e);return n.Long?n.Long.fromBits(i.lo,i.hi,t):i.toNumber(Boolean(t))},n.merge=o,n.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},n.newError=r,n.ProtocolError=r("ProtocolError"),n.oneOfGetter=function(e){for(var t={},i=0;i<e.length;++i)t[e[i]]=1;return function(){for(var e=Object.keys(this),i=e.length-1;i>-1;--i)if(1===t[e[i]]&&void 0!==this[e[i]]&&null!==this[e[i]])return e[i]}},n.oneOfSetter=function(e){return function(t){for(var i=0;i<e.length;++i)e[i]!==t&&delete this[e[i]]}},n.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},n._configure=function(){var e=n.Buffer;if(!e)return void(n._Buffer_from=n._Buffer_allocUnsafe=null);n._Buffer_from=e.from!==Uint8Array.from&&e.from||function(t,i){return new e(t,i)},n._Buffer_allocUnsafe=e.allocUnsafe||function(t){return new e(t)}}}).call(t,i(44))},function(e,t,i){"use strict";function o(e,t,i,o,n,s,l){if(a.isObject(o)?(l=n,s=o,o=n=void 0):a.isObject(n)&&(l=s,s=n,n=void 0),r.call(this,e,s),!a.isInteger(t)||t<0)throw TypeError("id must be a non-negative integer");if(!a.isString(i))throw TypeError("type must be a string");if(void 0!==o&&!p.test(o=o.toString().toLowerCase()))throw TypeError("rule must be a string rule");if(void 0!==n&&!a.isString(n))throw TypeError("extend must be a string");this.rule=o&&"optional"!==o?o:void 0,this.type=i,this.id=t,this.extend=n||void 0,this.required="required"===o,this.optional=!this.required,this.repeated="repeated"===o,this.map=!1,this.message=null,this.partOf=null,this.typeDefault=null,this.defaultValue=null,this.long=!!a.Long&&void 0!==d.long[i],this.bytes="bytes"===i,this.resolvedType=null,this.extensionField=null,this.declaringField=null,this._packed=null,this.comment=l}e.exports=o;var r=i(4);((o.prototype=Object.create(r.prototype)).constructor=o).className="Field";var n,s=i(1),d=i(6),a=i(0),p=/^required|optional|repeated$/;o.fromJSON=function(e,t){return new o(e,t.id,t.type,t.rule,t.extend,t.options,t.comment)},Object.defineProperty(o.prototype,"packed",{get:function(){return null===this._packed&&(this._packed=!1!==this.getOption("packed")),this._packed}}),o.prototype.setOption=function(e,t,i){return"packed"===e&&(this._packed=null),r.prototype.setOption.call(this,e,t,i)},o.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return a.toObject(["rule","optional"!==this.rule&&this.rule||void 0,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options,"comment",t?this.comment:void 0])},o.prototype.resolve=function(){if(this.resolved)return this;if(void 0===(this.typeDefault=d.defaults[this.type])&&(this.resolvedType=(this.declaringField?this.declaringField.parent:this.parent).lookupTypeOrEnum(this.type),this.resolvedType instanceof n?this.typeDefault=null:this.typeDefault=this.resolvedType.values[Object.keys(this.resolvedType.values)[0]]),this.options&&null!=this.options.default&&(this.typeDefault=this.options.default,this.resolvedType instanceof s&&"string"==typeof this.typeDefault&&(this.typeDefault=this.resolvedType.values[this.typeDefault])),this.options&&(!0!==this.options.packed&&(void 0===this.options.packed||!this.resolvedType||this.resolvedType instanceof s)||delete this.options.packed,Object.keys(this.options).length||(this.options=void 0)),this.long)this.typeDefault=a.Long.fromNumber(this.typeDefault,"u"===this.type.charAt(0)),Object.freeze&&Object.freeze(this.typeDefault);else if(this.bytes&&"string"==typeof this.typeDefault){var e;a.base64.test(this.typeDefault)?a.base64.decode(this.typeDefault,e=a.newBuffer(a.base64.length(this.typeDefault)),0):a.utf8.write(this.typeDefault,e=a.newBuffer(a.utf8.length(this.typeDefault)),0),this.typeDefault=e}return this.map?this.defaultValue=a.emptyObject:this.repeated?this.defaultValue=a.emptyArray:this.defaultValue=this.typeDefault,this.parent instanceof n&&(this.parent.ctor.prototype[this.name]=this.defaultValue),r.prototype.resolve.call(this)},o.d=function(e,t,i,r){return"function"==typeof t?t=a.decorateType(t).name:t&&"object"==typeof t&&(t=a.decorateEnum(t).name),function(n,s){a.decorateType(n.constructor).add(new o(s,e,t,i,{default:r}))}},o._configure=function(e){n=e}},function(e,t,i){"use strict";function o(e,t){if(!n.isString(e))throw TypeError("name must be a string");if(t&&!n.isObject(t))throw TypeError("options must be an object");this.options=t,this.name=e,this.parent=null,this.resolved=!1,this.comment=null,this.filename=null}e.exports=o,o.className="ReflectionObject";var r,n=i(0);Object.defineProperties(o.prototype,{root:{get:function(){for(var e=this;null!==e.parent;)e=e.parent;return e}},fullName:{get:function(){for(var e=[this.name],t=this.parent;t;)e.unshift(t.name),t=t.parent;return e.join(".")}}}),o.prototype.toJSON=function(){throw Error()},o.prototype.onAdd=function(e){this.parent&&this.parent!==e&&this.parent.remove(this),this.parent=e,this.resolved=!1;var t=e.root;t instanceof r&&t._handleAdd(this)},o.prototype.onRemove=function(e){var t=e.root;t instanceof r&&t._handleRemove(this),this.parent=null,this.resolved=!1},o.prototype.resolve=function(){return this.resolved?this:(this.root instanceof r&&(this.resolved=!0),this)},o.prototype.getOption=function(e){if(this.options)return this.options[e]},o.prototype.setOption=function(e,t,i){return i&&this.options&&void 0!==this.options[e]||((this.options||(this.options={}))[e]=t),this},o.prototype.setOptions=function(e,t){if(e)for(var i=Object.keys(e),o=0;o<i.length;++o)this.setOption(i[o],e[i[o]],t);return this},o.prototype.toString=function(){var e=this.constructor.className,t=this.fullName;return t.length?e+" "+t:e},o._configure=function(e){r=e}},function(e,t,i){"use strict";function o(e,t){if(e&&e.length){for(var i={},o=0;o<e.length;++o)i[e[o].name]=e[o].toJSON(t);return i}}function r(e,t){s.call(this,e,t),this.nested=void 0,this._nestedArray=null}function n(e){return e._nestedArray=null,e}e.exports=r;var s=i(4);((r.prototype=Object.create(s.prototype)).constructor=r).className="Namespace";var d,a,p=i(1),l=i(3),u=i(0);r.fromJSON=function(e,t){return new r(e,t.options).addJSON(t.nested)},r.arrayToJSON=o,r.isReservedId=function(e,t){if(e)for(var i=0;i<e.length;++i)if("string"!=typeof e[i]&&e[i][0]<=t&&e[i][1]>=t)return!0;return!1},r.isReservedName=function(e,t){if(e)for(var i=0;i<e.length;++i)if(e[i]===t)return!0;return!1},Object.defineProperty(r.prototype,"nestedArray",{get:function(){return this._nestedArray||(this._nestedArray=u.toArray(this.nested))}}),r.prototype.toJSON=function(e){return u.toObject(["options",this.options,"nested",o(this.nestedArray,e)])},r.prototype.addJSON=function(e){var t=this;if(e)for(var i,o=Object.keys(e),n=0;n<o.length;++n)i=e[o[n]],t.add((void 0!==i.fields?d.fromJSON:void 0!==i.values?p.fromJSON:void 0!==i.methods?a.fromJSON:void 0!==i.id?l.fromJSON:r.fromJSON)(o[n],i));return this},r.prototype.get=function(e){return this.nested&&this.nested[e]||null},r.prototype.getEnum=function(e){if(this.nested&&this.nested[e]instanceof p)return this.nested[e].values;throw Error("no such enum: "+e)},r.prototype.add=function(e){if(!(e instanceof l&&void 0!==e.extend||e instanceof d||e instanceof p||e instanceof a||e instanceof r))throw TypeError("object must be a valid nested object");if(this.nested){var t=this.get(e.name);if(t){if(!(t instanceof r&&e instanceof r)||t instanceof d||t instanceof a)throw Error("duplicate name '"+e.name+"' in "+this);for(var i=t.nestedArray,o=0;o<i.length;++o)e.add(i[o]);this.remove(t),this.nested||(this.nested={}),e.setOptions(t.options,!0)}}else this.nested={};return this.nested[e.name]=e,e.onAdd(this),n(this)},r.prototype.remove=function(e){if(!(e instanceof s))throw TypeError("object must be a ReflectionObject");if(e.parent!==this)throw Error(e+" is not a member of "+this);return delete this.nested[e.name],Object.keys(this.nested).length||(this.nested=void 0),e.onRemove(this),n(this)},r.prototype.define=function(e,t){if(u.isString(e))e=e.split(".");else if(!Array.isArray(e))throw TypeError("illegal path");if(e&&e.length&&""===e[0])throw Error("path must be relative");for(var i=this;e.length>0;){var o=e.shift();if(i.nested&&i.nested[o]){if(!((i=i.nested[o])instanceof r))throw Error("path conflicts with non-namespace objects")}else i.add(i=new r(o))}return t&&i.addJSON(t),i},r.prototype.resolveAll=function(){for(var e=this.nestedArray,t=0;t<e.length;)e[t]instanceof r?e[t++].resolveAll():e[t++].resolve();return this.resolve()},r.prototype.lookup=function(e,t,i){if("boolean"==typeof t?(i=t,t=void 0):t&&!Array.isArray(t)&&(t=[t]),u.isString(e)&&e.length){if("."===e)return this.root;e=e.split(".")}else if(!e.length)return this;if(""===e[0])return this.root.lookup(e.slice(1),t);var o=this.get(e[0]);if(o){if(1===e.length){if(!t||t.indexOf(o.constructor)>-1)return o}else if(o instanceof r&&(o=o.lookup(e.slice(1),t,!0)))return o}else for(var n=0;n<this.nestedArray.length;++n)if(this._nestedArray[n]instanceof r&&(o=this._nestedArray[n].lookup(e,t,!0)))return o;return null===this.parent||i?null:this.parent.lookup(e,t)},r.prototype.lookupType=function(e){var t=this.lookup(e,[d]);if(!t)throw Error("no such type: "+e);return t},r.prototype.lookupEnum=function(e){var t=this.lookup(e,[p]);if(!t)throw Error("no such Enum '"+e+"' in "+this);return t},r.prototype.lookupTypeOrEnum=function(e){var t=this.lookup(e,[d,p]);if(!t)throw Error("no such Type or Enum '"+e+"' in "+this);return t},r.prototype.lookupService=function(e){var t=this.lookup(e,[a]);if(!t)throw Error("no such Service '"+e+"' in "+this);return t},r._configure=function(e,t){d=e,a=t}},function(e,t,i){"use strict";function o(e,t){var i=0,o={};for(t|=0;i<e.length;)o[s[i+t]]=e[i++];return o}var r=t,n=i(0),s=["double","float","int32","uint32","sint32","fixed32","sfixed32","int64","uint64","sint64","fixed64","sfixed64","bool","string","bytes"];r.basic=o([1,5,0,0,0,5,5,0,0,0,1,1,0,2,2]),r.defaults=o([0,0,0,0,0,0,0,0,0,0,0,0,!1,"",n.emptyArray,null]),r.long=o([0,0,0,1,1],7),r.mapKey=o([0,0,0,5,5,0,0,0,1,1,0,2],2),r.packed=o([1,5,0,0,0,5,5,0,0,0,1,1,0])},function(e,t,i){"use strict";function o(e){if(e)for(var t=Object.keys(e),i=0;i<t.length;++i)this[t[i]]=e[t[i]]}e.exports=o;var r=i(2);o.create=function(e){return this.$type.create(e)},o.encode=function(e,t){return this.$type.encode(e,t)},o.encodeDelimited=function(e,t){return this.$type.encodeDelimited(e,t)},o.decode=function(e){return this.$type.decode(e)},o.decodeDelimited=function(e){return this.$type.decodeDelimited(e)},o.verify=function(e){return this.$type.verify(e)},o.fromObject=function(e){return this.$type.fromObject(e)},o.toObject=function(e,t){return this.$type.toObject(e,t)},o.prototype.toJSON=function(){return this.$type.toObject(this,r.toJSONOptions)}},function(e,t,i){"use strict";function o(e,t,i,o){if(Array.isArray(t)||(i=t,t=void 0),n.call(this,e,i),void 0!==t&&!Array.isArray(t))throw TypeError("fieldNames must be an Array");this.oneof=t||[],this.fieldsArray=[],this.comment=o}function r(e){if(e.parent)for(var t=0;t<e.fieldsArray.length;++t)e.fieldsArray[t].parent||e.parent.add(e.fieldsArray[t])}e.exports=o;var n=i(4);((o.prototype=Object.create(n.prototype)).constructor=o).className="OneOf";var s=i(3),d=i(0);o.fromJSON=function(e,t){return new o(e,t.oneof,t.options,t.comment)},o.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return d.toObject(["options",this.options,"oneof",this.oneof,"comment",t?this.comment:void 0])},o.prototype.add=function(e){if(!(e instanceof s))throw TypeError("field must be a Field");return e.parent&&e.parent!==this.parent&&e.parent.remove(e),this.oneof.push(e.name),this.fieldsArray.push(e),e.partOf=this,r(this),this},o.prototype.remove=function(e){if(!(e instanceof s))throw TypeError("field must be a Field");var t=this.fieldsArray.indexOf(e);if(t<0)throw Error(e+" is not a member of "+this);return this.fieldsArray.splice(t,1),t=this.oneof.indexOf(e.name),t>-1&&this.oneof.splice(t,1),e.partOf=null,this},o.prototype.onAdd=function(e){n.prototype.onAdd.call(this,e);for(var t=this,i=0;i<this.oneof.length;++i){var o=e.get(this.oneof[i]);o&&!o.partOf&&(o.partOf=t,t.fieldsArray.push(o))}r(this)},o.prototype.onRemove=function(e){for(var t,i=0;i<this.fieldsArray.length;++i)(t=this.fieldsArray[i]).parent&&t.parent.remove(t);n.prototype.onRemove.call(this,e)},o.d=function(){for(var e=new Array(arguments.length),t=0;t<arguments.length;)e[t]=arguments[t++];return function(t,i){d.decorateType(t.constructor).add(new o(i,e)),Object.defineProperty(t,i,{get:d.oneOfGetter(e),set:d.oneOfSetter(e)})}}},function(e,t,i){"use strict";function o(e,t){return RangeError("index out of range: "+e.pos+" + "+(t||1)+" > "+e.len)}function r(e){this.buf=e,this.pos=0,this.len=e.length}function n(){var e=new l(0,0),t=0;if(!(this.len-this.pos>4)){for(;t<3;++t){if(this.pos>=this.len)throw o(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;if(t=0,this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw o(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error("invalid varint encoding")}function s(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function d(){if(this.pos+8>this.len)throw o(this,8);return new l(s(this.buf,this.pos+=4),s(this.buf,this.pos+=4))}e.exports=r;var a,p=i(2),l=p.LongBits,u=p.utf8,f="undefined"!=typeof Uint8Array?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new r(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new r(e);throw Error("illegal buffer")};r.create=p.Buffer?function(e){return(r.create=function(e){return p.Buffer.isBuffer(e)?new a(e):f(e)})(e)}:f,r.prototype._slice=p.Array.prototype.subarray||p.Array.prototype.slice,r.prototype.uint32=function(){var e=4294967295;return function(){if(e=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return e;if((this.pos+=5)>this.len)throw this.pos=this.len,o(this,10);return e}}(),r.prototype.int32=function(){return 0|this.uint32()},r.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)|0},r.prototype.bool=function(){return 0!==this.uint32()},r.prototype.fixed32=function(){if(this.pos+4>this.len)throw o(this,4);return s(this.buf,this.pos+=4)},r.prototype.sfixed32=function(){if(this.pos+4>this.len)throw o(this,4);return 0|s(this.buf,this.pos+=4)},r.prototype.float=function(){if(this.pos+4>this.len)throw o(this,4);var e=p.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},r.prototype.double=function(){if(this.pos+8>this.len)throw o(this,4);var e=p.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},r.prototype.bytes=function(){var e=this.uint32(),t=this.pos,i=this.pos+e;if(i>this.len)throw o(this,e);return this.pos+=e,Array.isArray(this.buf)?this.buf.slice(t,i):t===i?new this.buf.constructor(0):this._slice.call(this.buf,t,i)},r.prototype.string=function(){var e=this.bytes();return u.read(e,0,e.length)},r.prototype.skip=function(e){if("number"==typeof e){if(this.pos+e>this.len)throw o(this,e);this.pos+=e}else do{if(this.pos>=this.len)throw o(this)}while(128&this.buf[this.pos++]);return this},r.prototype.skipType=function(e){switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;;){if(4==(e=7&this.uint32()))break;this.skipType(e)}break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+e+" at offset "+this.pos)}return this},r._configure=function(e){a=e;var t=p.Long?"toLong":"toNumber";p.merge(r.prototype,{int64:function(){return n.call(this)[t](!1)},uint64:function(){return n.call(this)[t](!0)},sint64:function(){return n.call(this).zzDecode()[t](!1)},fixed64:function(){return d.call(this)[t](!0)},sfixed64:function(){return d.call(this)[t](!1)}})}},function(e,t,i){"use strict";function o(e,t,i){this.fn=e,this.len=t,this.next=void 0,this.val=i}function r(){}function n(e){this.head=e.head,this.tail=e.tail,this.len=e.len,this.next=e.states}function s(){this.len=0,this.head=new o(r,0,0),this.tail=this.head,this.states=null}function d(e,t,i){t[i]=255&e}function a(e,t,i){for(;e>127;)t[i++]=127&e|128,e>>>=7;t[i]=e}function p(e,t){this.len=e,this.next=void 0,this.val=t}function l(e,t,i){for(;e.hi;)t[i++]=127&e.lo|128,e.lo=(e.lo>>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[i++]=127&e.lo|128,e.lo=e.lo>>>7;t[i++]=e.lo}function u(e,t,i){t[i]=255&e,t[i+1]=e>>>8&255,t[i+2]=e>>>16&255,t[i+3]=e>>>24}e.exports=s;var f,c=i(2),y=c.LongBits,h=c.base64,m=c.utf8;s.create=c.Buffer?function(){return(s.create=function(){return new f})()}:function(){return new s},s.alloc=function(e){return new c.Array(e)},c.Array!==Array&&(s.alloc=c.pool(s.alloc,c.Array.prototype.subarray)),s.prototype._push=function(e,t,i){return this.tail=this.tail.next=new o(e,t,i),this.len+=t,this},p.prototype=Object.create(o.prototype),p.prototype.fn=a,s.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new p((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this},s.prototype.int32=function(e){return e<0?this._push(l,10,y.fromNumber(e)):this.uint32(e)},s.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},s.prototype.uint64=function(e){var t=y.from(e);return this._push(l,t.length(),t)},s.prototype.int64=s.prototype.uint64,s.prototype.sint64=function(e){var t=y.from(e).zzEncode();return this._push(l,t.length(),t)},s.prototype.bool=function(e){return this._push(d,1,e?1:0)},s.prototype.fixed32=function(e){return this._push(u,4,e>>>0)},s.prototype.sfixed32=s.prototype.fixed32,s.prototype.fixed64=function(e){var t=y.from(e);return this._push(u,4,t.lo)._push(u,4,t.hi)},s.prototype.sfixed64=s.prototype.fixed64,s.prototype.float=function(e){return this._push(c.float.writeFloatLE,4,e)},s.prototype.double=function(e){return this._push(c.float.writeDoubleLE,8,e)};var g=c.Array.prototype.set?function(e,t,i){t.set(e,i)}:function(e,t,i){for(var o=0;o<e.length;++o)t[i+o]=e[o]};s.prototype.bytes=function(e){var t=e.length>>>0;if(!t)return this._push(d,1,0);if(c.isString(e)){var i=s.alloc(t=h.length(e));h.decode(e,i,0),e=i}return this.uint32(t)._push(g,t,e)},s.prototype.string=function(e){var t=m.length(e);return t?this.uint32(t)._push(m.write,t,e):this._push(d,1,0)},s.prototype.fork=function(){return this.states=new n(this),this.head=this.tail=new o(r,0,0),this.len=0,this},s.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new o(r,0,0),this.len=0),this},s.prototype.ldelim=function(){var e=this.head,t=this.tail,i=this.len;return this.reset().uint32(i),i&&(this.tail.next=e.next,this.tail=t,this.len+=i),this},s.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),i=0;e;)e.fn(e.val,t,i),i+=e.len,e=e.next;return t},s._configure=function(e){f=e}},function(e,t,i){"use strict";function o(e,t){for(var i=new Array(arguments.length-1),o=0,r=2,n=!0;r<arguments.length;)i[o++]=arguments[r++];return new Promise(function(r,s){i[o]=function(e){if(n)if(n=!1,e)s(e);else{for(var t=new Array(arguments.length-1),i=0;i<t.length;)t[i++]=arguments[i];r.apply(null,t)}};try{e.apply(t||null,i)}catch(e){n&&(n=!1,s(e))}})}e.exports=o},function(module,exports,__webpack_require__){"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}module.exports=inquire},function(e,t,i){"use strict";function o(e,t,i,o){if(t.resolvedType)if(t.resolvedType instanceof s){e("switch(d%s){",o);for(var r=t.resolvedType.values,n=Object.keys(r),d=0;d<n.length;++d)t.repeated&&r[n[d]]===t.typeDefault&&e("default:"),e("case%j:",n[d])("case %i:",r[n[d]])("m%s=%j",o,r[n[d]])("break");e("}")}else e('if(typeof d%s!=="object")',o)("throw TypeError(%j)",t.fullName+": object expected")("m%s=types[%i].fromObject(d%s)",o,i,o);else{var a=!1;switch(t.type){case"double":case"float":e("m%s=Number(d%s)",o,o);break;case"uint32":case"fixed32":e("m%s=d%s>>>0",o,o);break;case"int32":case"sint32":case"sfixed32":e("m%s=d%s|0",o,o);break;case"uint64":a=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":e("if(util.Long)")("(m%s=util.Long.fromValue(d%s)).unsigned=%j",o,o,a)('else if(typeof d%s==="string")',o)("m%s=parseInt(d%s,10)",o,o)('else if(typeof d%s==="number")',o)("m%s=d%s",o,o)('else if(typeof d%s==="object")',o)("m%s=new util.LongBits(d%s.low>>>0,d%s.high>>>0).toNumber(%s)",o,o,o,a?"true":"");break;case"bytes":e('if(typeof d%s==="string")',o)("util.base64.decode(d%s,m%s=util.newBuffer(util.base64.length(d%s)),0)",o,o,o)("else if(d%s.length)",o)("m%s=d%s",o,o);break;case"string":e("m%s=String(d%s)",o,o);break;case"bool":e("m%s=Boolean(d%s)",o,o)}}return e}function r(e,t,i,o){if(t.resolvedType)t.resolvedType instanceof s?e("d%s=o.enums===String?types[%i].values[m%s]:m%s",o,i,o,o):e("d%s=types[%i].toObject(m%s,o)",o,i,o);else{var r=!1;switch(t.type){case"double":case"float":e("d%s=o.json&&!isFinite(m%s)?String(m%s):m%s",o,o,o,o);break;case"uint64":r=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":e('if(typeof m%s==="number")',o)("d%s=o.longs===String?String(m%s):m%s",o,o,o)("else")("d%s=o.longs===String?util.Long.prototype.toString.call(m%s):o.longs===Number?new util.LongBits(m%s.low>>>0,m%s.high>>>0).toNumber(%s):m%s",o,o,o,o,r?"true":"",o);break;case"bytes":e("d%s=o.bytes===String?util.base64.encode(m%s,0,m%s.length):o.bytes===Array?Array.prototype.slice.call(m%s):m%s",o,o,o,o,o);break;default:e("d%s=m%s",o,o)}}return e}var n=t,s=i(1),d=i(0);n.fromObject=function(e){var t=e.fieldsArray,i=d.codegen(["d"],e.name+"$fromObject")("if(d instanceof this.ctor)")("return d");if(!t.length)return i("return new this.ctor");i("var m=new this.ctor");for(var r=0;r<t.length;++r){var n=t[r].resolve(),a=d.safeProp(n.name);n.map?(i("if(d%s){",a)('if(typeof d%s!=="object")',a)("throw TypeError(%j)",n.fullName+": object expected")("m%s={}",a)("for(var ks=Object.keys(d%s),i=0;i<ks.length;++i){",a),o(i,n,r,a+"[ks[i]]")("}")("}")):n.repeated?(i("if(d%s){",a)("if(!Array.isArray(d%s))",a)("throw TypeError(%j)",n.fullName+": array expected")("m%s=[]",a)("for(var i=0;i<d%s.length;++i){",a),o(i,n,r,a+"[i]")("}")("}")):(n.resolvedType instanceof s||i("if(d%s!=null){",a),o(i,n,r,a),n.resolvedType instanceof s||i("}"))}return i("return m")},n.toObject=function(e){var t=e.fieldsArray.slice().sort(d.compareFieldsById);if(!t.length)return d.codegen()("return {}");for(var i=d.codegen(["m","o"],e.name+"$toObject")("if(!o)")("o={}")("var d={}"),o=[],n=[],a=[],p=0;p<t.length;++p)t[p].partOf||(t[p].resolve().repeated?o:t[p].map?n:a).push(t[p]);if(o.length){for(i("if(o.arrays||o.defaults){"),p=0;p<o.length;++p)i("d%s=[]",d.safeProp(o[p].name));i("}")}if(n.length){for(i("if(o.objects||o.defaults){"),p=0;p<n.length;++p)i("d%s={}",d.safeProp(n[p].name));i("}")}if(a.length){for(i("if(o.defaults){"),p=0;p<a.length;++p){var l=a[p],u=d.safeProp(l.name);l.resolvedType instanceof s?i("d%s=o.enums===String?%j:%j",u,l.resolvedType.valuesById[l.typeDefault],l.typeDefault):l.long?i("if(util.Long){")("var n=new util.Long(%i,%i,%j)",l.typeDefault.low,l.typeDefault.high,l.typeDefault.unsigned)("d%s=o.longs===String?n.toString():o.longs===Number?n.toNumber():n",u)("}else")("d%s=o.longs===String?%j:%i",u,l.typeDefault.toString(),l.typeDefault.toNumber()):l.bytes?i("d%s=o.bytes===String?%j:%s",u,String.fromCharCode.apply(String,l.typeDefault),"["+Array.prototype.slice.call(l.typeDefault).join(",")+"]"):i("d%s=%j",u,l.typeDefault)}i("}")}var f=!1;for(p=0;p<t.length;++p){var l=t[p],c=e._fieldsArray.indexOf(l),u=d.safeProp(l.name);l.map?(f||(f=!0,i("var ks2")),i("if(m%s&&(ks2=Object.keys(m%s)).length){",u,u)("d%s={}",u)("for(var j=0;j<ks2.length;++j){"),r(i,l,c,u+"[ks2[j]]")("}")):l.repeated?(i("if(m%s&&m%s.length){",u,u)("d%s=[]",u)("for(var j=0;j<m%s.length;++j){",u),r(i,l,c,u+"[j]")("}")):(i("if(m%s!=null&&m.hasOwnProperty(%j)){",u,l.name),r(i,l,c,u),l.partOf&&i("if(o.oneofs)")("d%s=%j",d.safeProp(l.partOf.name),l.name)),i("}")}return i("return d")}},function(e,t,i){"use strict";function o(e){return"missing required '"+e.name+"'"}function r(e){var t=d.codegen(["r","l"],e.name+"$decode")("if(!(r instanceof Reader))")("r=Reader.create(r)")("var c=l===undefined?r.len:r.pos+l,m=new this.ctor"+(e.fieldsArray.filter(function(e){return e.map}).length?",k":""))("while(r.pos<c){")("var t=r.uint32()");e.group&&t("if((t&7)===4)")("break"),t("switch(t>>>3){");for(var i=0;i<e.fieldsArray.length;++i){var r=e._fieldsArray[i].resolve(),a=r.resolvedType instanceof n?"int32":r.type,p="m"+d.safeProp(r.name);t("case %i:",r.id),r.map?(t("r.skip().pos++")("if(%s===util.emptyObject)",p)("%s={}",p)("k=r.%s()",r.keyType)("r.pos++"),void 0!==s.long[r.keyType]?void 0===s.basic[a]?t('%s[typeof k==="object"?util.longToHash(k):k]=types[%i].decode(r,r.uint32())',p,i):t('%s[typeof k==="object"?util.longToHash(k):k]=r.%s()',p,a):void 0===s.basic[a]?t("%s[k]=types[%i].decode(r,r.uint32())",p,i):t("%s[k]=r.%s()",p,a)):r.repeated?(t("if(!(%s&&%s.length))",p,p)("%s=[]",p),void 0!==s.packed[a]&&t("if((t&7)===2){")("var c2=r.uint32()+r.pos")("while(r.pos<c2)")("%s.push(r.%s())",p,a)("}else"),void 0===s.basic[a]?t(r.resolvedType.group?"%s.push(types[%i].decode(r))":"%s.push(types[%i].decode(r,r.uint32()))",p,i):t("%s.push(r.%s())",p,a)):void 0===s.basic[a]?t(r.resolvedType.group?"%s=types[%i].decode(r)":"%s=types[%i].decode(r,r.uint32())",p,i):t("%s=r.%s()",p,a),t("break")}for(t("default:")("r.skipType(t&7)")("break")("}")("}"),i=0;i<e._fieldsArray.length;++i){var l=e._fieldsArray[i];l.required&&t("if(!m.hasOwnProperty(%j))",l.name)("throw util.ProtocolError(%j,{instance:m})",o(l))}return t("return m")}e.exports=r;var n=i(1),s=i(6),d=i(0)},function(e,t,i){"use strict";function o(e,t,i,o){return t.resolvedType.group?e("types[%i].encode(%s,w.uint32(%i)).uint32(%i)",i,o,(t.id<<3|3)>>>0,(t.id<<3|4)>>>0):e("types[%i].encode(%s,w.uint32(%i).fork()).ldelim()",i,o,(t.id<<3|2)>>>0)}function r(e){for(var t,i,r=d.codegen(["m","w"],e.name+"$encode")("if(!w)")("w=Writer.create()"),a=e.fieldsArray.slice().sort(d.compareFieldsById),t=0;t<a.length;++t){var p=a[t].resolve(),l=e._fieldsArray.indexOf(p),u=p.resolvedType instanceof n?"int32":p.type,f=s.basic[u];i="m"+d.safeProp(p.name),p.map?(r("if(%s!=null&&m.hasOwnProperty(%j)){",i,p.name)("for(var ks=Object.keys(%s),i=0;i<ks.length;++i){",i)("w.uint32(%i).fork().uint32(%i).%s(ks[i])",(p.id<<3|2)>>>0,8|s.mapKey[p.keyType],p.keyType),void 0===f?r("types[%i].encode(%s[ks[i]],w.uint32(18).fork()).ldelim().ldelim()",l,i):r(".uint32(%i).%s(%s[ks[i]]).ldelim()",16|f,u,i),r("}")("}")):p.repeated?(r("if(%s!=null&&%s.length){",i,i),p.packed&&void 0!==s.packed[u]?r("w.uint32(%i).fork()",(p.id<<3|2)>>>0)("for(var i=0;i<%s.length;++i)",i)("w.%s(%s[i])",u,i)("w.ldelim()"):(r("for(var i=0;i<%s.length;++i)",i),void 0===f?o(r,p,l,i+"[i]"):r("w.uint32(%i).%s(%s[i])",(p.id<<3|f)>>>0,u,i)),r("}")):(p.optional&&r("if(%s!=null&&m.hasOwnProperty(%j))",i,p.name),void 0===f?o(r,p,l,i):r("w.uint32(%i).%s(%s)",(p.id<<3|f)>>>0,u,i))}return r("return w")}e.exports=r;var n=i(1),s=i(6),d=i(0)},function(e,t,i){"use strict";function o(e,t,i,o,n,d){if(r.call(this,e,t,o,void 0,void 0,n,d),!s.isString(i))throw TypeError("keyType must be a string");this.keyType=i,this.resolvedKeyType=null,this.map=!0}e.exports=o;var r=i(3);((o.prototype=Object.create(r.prototype)).constructor=o).className="MapField";var n=i(6),s=i(0);o.fromJSON=function(e,t){return new o(e,t.id,t.keyType,t.type,t.options,t.comment)},o.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return s.toObject(["keyType",this.keyType,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options,"comment",t?this.comment:void 0])},o.prototype.resolve=function(){if(this.resolved)return this;if(void 0===n.mapKey[this.keyType])throw Error("invalid key type: "+this.keyType);return r.prototype.resolve.call(this)},o.d=function(e,t,i){return"function"==typeof i?i=s.decorateType(i).name:i&&"object"==typeof i&&(i=s.decorateEnum(i).name),function(r,n){s.decorateType(r.constructor).add(new o(n,e,t,i))}}},function(e,t,i){"use strict";function o(e,t,i,o,s,d,a,p){if(n.isObject(s)?(a=s,s=d=void 0):n.isObject(d)&&(a=d,d=void 0),void 0!==t&&!n.isString(t))throw TypeError("type must be a string");if(!n.isString(i))throw TypeError("requestType must be a string");if(!n.isString(o))throw TypeError("responseType must be a string");r.call(this,e,a),this.type=t||"rpc",this.requestType=i,this.requestStream=!!s||void 0,this.responseType=o,this.responseStream=!!d||void 0,this.resolvedRequestType=null,this.resolvedResponseType=null,this.comment=p}e.exports=o;var r=i(4);((o.prototype=Object.create(r.prototype)).constructor=o).className="Method";var n=i(0);o.fromJSON=function(e,t){return new o(e,t.type,t.requestType,t.responseType,t.requestStream,t.responseStream,t.options,t.comment)},o.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return n.toObject(["type","rpc"!==this.type&&this.type||void 0,"requestType",this.requestType,"requestStream",this.requestStream,"responseType",this.responseType,"responseStream",this.responseStream,"options",this.options,"comment",t?this.comment:void 0])},o.prototype.resolve=function(){return this.resolved?this:(this.resolvedRequestType=this.parent.lookupType(this.requestType),this.resolvedResponseType=this.parent.lookupType(this.responseType),r.prototype.resolve.call(this))}},function(e,t,i){"use strict";function o(e){s.call(this,"",e),this.deferred=[],this.files=[]}function r(){}function n(e,t){var i=t.parent.lookup(t.extend);if(i){var o=new l(t.fullName,t.id,t.type,t.rule,void 0,t.options);return o.declaringField=t,t.extensionField=o,i.add(o),!0}return!1}e.exports=o;var s=i(5);((o.prototype=Object.create(s.prototype)).constructor=o).className="Root";var d,a,p,l=i(3),u=i(1),f=i(8),c=i(0);o.fromJSON=function(e,t){return t||(t=new o),e.options&&t.setOptions(e.options),t.addJSON(e.nested)},o.prototype.resolvePath=c.path.resolve,o.prototype.load=function e(t,i,o){function n(e,t){if(o){var i=o;if(o=null,u)throw e;i(e,t)}}function s(e,t){try{if(c.isString(t)&&"{"===t.charAt(0)&&(t=JSON.parse(t)),c.isString(t)){a.filename=e;var o,r=a(t,l,i),s=0;if(r.imports)for(;s<r.imports.length;++s)(o=l.resolvePath(e,r.imports[s]))&&d(o);if(r.weakImports)for(s=0;s<r.weakImports.length;++s)(o=l.resolvePath(e,r.weakImports[s]))&&d(o,!0)}else l.setOptions(t.options).addJSON(t.nested)}catch(e){n(e)}u||f||n(null,l)}function d(e,t){var i=e.lastIndexOf("google/protobuf/");if(i>-1){var r=e.substring(i);r in p&&(e=r)}if(!(l.files.indexOf(e)>-1)){if(l.files.push(e),e in p)return void(u?s(e,p[e]):(++f,setTimeout(function(){--f,s(e,p[e])})));if(u){var d;try{d=c.fs.readFileSync(e).toString("utf8")}catch(e){return void(t||n(e))}s(e,d)}else++f,c.fetch(e,function(i,r){if(--f,o)return i?void(t?f||n(null,l):n(i)):void s(e,r)})}}"function"==typeof i&&(o=i,i=void 0);var l=this;if(!o)return c.asPromise(e,l,t,i);var u=o===r,f=0;c.isString(t)&&(t=[t]);for(var y,h=0;h<t.length;++h)(y=l.resolvePath("",t[h]))&&d(y);if(u)return l;f||n(null,l)},o.prototype.loadSync=function(e,t){if(!c.isNode)throw Error("not supported");return this.load(e,t,r)},o.prototype.resolveAll=function(){if(this.deferred.length)throw Error("unresolvable extensions: "+this.deferred.map(function(e){return"'extend "+e.extend+"' in "+e.parent.fullName}).join(", "));return s.prototype.resolveAll.call(this)};var y=/^[A-Z]/;o.prototype._handleAdd=function(e){if(e instanceof l)void 0===e.extend||e.extensionField||n(this,e)||this.deferred.push(e);else if(e instanceof u)y.test(e.name)&&(e.parent[e.name]=e.values);else if(!(e instanceof f)){if(e instanceof d)for(var t=0;t<this.deferred.length;)n(this,this.deferred[t])?this.deferred.splice(t,1):++t;for(var i=0;i<e.nestedArray.length;++i)this._handleAdd(e._nestedArray[i]);y.test(e.name)&&(e.parent[e.name]=e)}},o.prototype._handleRemove=function(e){if(e instanceof l){if(void 0!==e.extend)if(e.extensionField)e.extensionField.parent.remove(e.extensionField),e.extensionField=null;else{var t=this.deferred.indexOf(e);t>-1&&this.deferred.splice(t,1)}}else if(e instanceof u)y.test(e.name)&&delete e.parent[e.name];else if(e instanceof s){for(var i=0;i<e.nestedArray.length;++i)this._handleRemove(e._nestedArray[i]);y.test(e.name)&&delete e.parent[e.name]}},o._configure=function(e,t,i){d=e,a=t,p=i}},function(e,t,i){"use strict";e.exports={}},function(e,t,i){"use strict";t.Service=i(41)},function(e,t,i){"use strict";function o(e,t){n.call(this,e,t),this.methods={},this._methodsArray=null}function r(e){return e._methodsArray=null,e}e.exports=o;var n=i(5);((o.prototype=Object.create(n.prototype)).constructor=o).className="Service";var s=i(17),d=i(0),a=i(20);o.fromJSON=function(e,t){var i=new o(e,t.options);if(t.methods)for(var r=Object.keys(t.methods),n=0;n<r.length;++n)i.add(s.fromJSON(r[n],t.methods[r[n]]));return t.nested&&i.addJSON(t.nested),i.comment=t.comment,i},o.prototype.toJSON=function(e){var t=n.prototype.toJSON.call(this,e),i=!!e&&Boolean(e.keepComments);return d.toObject(["options",t&&t.options||void 0,"methods",n.arrayToJSON(this.methodsArray,e)||{},"nested",t&&t.nested||void 0,"comment",i?this.comment:void 0])},Object.defineProperty(o.prototype,"methodsArray",{get:function(){return this._methodsArray||(this._methodsArray=d.toArray(this.methods))}}),o.prototype.get=function(e){return this.methods[e]||n.prototype.get.call(this,e)},o.prototype.resolveAll=function(){for(var e=this.methodsArray,t=0;t<e.length;++t)e[t].resolve();return n.prototype.resolve.call(this)},o.prototype.add=function(e){if(this.get(e.name))throw Error("duplicate name '"+e.name+"' in "+this);return e instanceof s?(this.methods[e.name]=e,e.parent=this,r(this)):n.prototype.add.call(this,e)},o.prototype.remove=function(e){if(e instanceof s){if(this.methods[e.name]!==e)throw Error(e+" is not a member of "+this);return delete this.methods[e.name],e.parent=null,r(this)}return n.prototype.remove.call(this,e)},o.prototype.create=function(e,t,i){for(var o,r=new a.Service(e,t,i),n=0;n<this.methodsArray.length;++n){var s=d.lcFirst((o=this._methodsArray[n]).resolve().name).replace(/[^$\w_]/g,"");r[s]=d.codegen(["r","c"],d.isReserved(s)?s+"_":s)("return this.rpcCall(m,q,s,r,c)")({m:o,q:o.resolvedRequestType.ctor,s:o.resolvedResponseType.ctor})}return r}},function(e,t,i){"use strict";function o(e,t){n.call(this,e,t),this.fields={},this.oneofs=void 0,this.extensions=void 0,this.reserved=void 0,this.group=void 0,this._fieldsById=null,this._fieldsArray=null,this._oneofsArray=null,this._ctor=null}function r(e){return e._fieldsById=e._fieldsArray=e._oneofsArray=null,delete e.encode,delete e.decode,delete e.verify,e}e.exports=o;var n=i(5);((o.prototype=Object.create(n.prototype)).constructor=o).className="Type";var s=i(1),d=i(8),a=i(3),p=i(16),l=i(21),u=i(7),f=i(9),c=i(10),y=i(0),h=i(15),m=i(14),g=i(23),v=i(13),b=i(24);Object.defineProperties(o.prototype,{fieldsById:{get:function(){if(this._fieldsById)return this._fieldsById;this._fieldsById={};for(var e=Object.keys(this.fields),t=0;t<e.length;++t){var i=this.fields[e[t]],o=i.id;if(this._fieldsById[o])throw Error("duplicate id "+o+" in "+this);this._fieldsById[o]=i}return this._fieldsById}},fieldsArray:{get:function(){return this._fieldsArray||(this._fieldsArray=y.toArray(this.fields))}},oneofsArray:{get:function(){return this._oneofsArray||(this._oneofsArray=y.toArray(this.oneofs))}},ctor:{get:function(){return this._ctor||(this.ctor=o.generateConstructor(this)())},set:function(e){var t=e.prototype;t instanceof u||((e.prototype=new u).constructor=e,y.merge(e.prototype,t)),e.$type=e.prototype.$type=this,y.merge(e,u,!0),this._ctor=e;for(var i=0;i<this.fieldsArray.length;++i)this._fieldsArray[i].resolve();var o={};for(i=0;i<this.oneofsArray.length;++i)o[this._oneofsArray[i].resolve().name]={get:y.oneOfGetter(this._oneofsArray[i].oneof),set:y.oneOfSetter(this._oneofsArray[i].oneof)};i&&Object.defineProperties(e.prototype,o)}}}),o.generateConstructor=function(e){for(var t,i=y.codegen(["p"],e.name),o=0;o<e.fieldsArray.length;++o)(t=e._fieldsArray[o]).map?i("this%s={}",y.safeProp(t.name)):t.repeated&&i("this%s=[]",y.safeProp(t.name));return i("if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null)")("this[ks[i]]=p[ks[i]]")},o.fromJSON=function(e,t){var i=new o(e,t.options);i.extensions=t.extensions,i.reserved=t.reserved;for(var r=Object.keys(t.fields),u=0;u<r.length;++u)i.add((void 0!==t.fields[r[u]].keyType?p.fromJSON:a.fromJSON)(r[u],t.fields[r[u]]));if(t.oneofs)for(r=Object.keys(t.oneofs),u=0;u<r.length;++u)i.add(d.fromJSON(r[u],t.oneofs[r[u]]));if(t.nested)for(r=Object.keys(t.nested),u=0;u<r.length;++u){var f=t.nested[r[u]];i.add((void 0!==f.id?a.fromJSON:void 0!==f.fields?o.fromJSON:void 0!==f.values?s.fromJSON:void 0!==f.methods?l.fromJSON:n.fromJSON)(r[u],f))}return t.extensions&&t.extensions.length&&(i.extensions=t.extensions),t.reserved&&t.reserved.length&&(i.reserved=t.reserved),t.group&&(i.group=!0),t.comment&&(i.comment=t.comment),i},o.prototype.toJSON=function(e){var t=n.prototype.toJSON.call(this,e),i=!!e&&Boolean(e.keepComments);return y.toObject(["options",t&&t.options||void 0,"oneofs",n.arrayToJSON(this.oneofsArray,e),"fields",n.arrayToJSON(this.fieldsArray.filter(function(e){return!e.declaringField}),e)||{},"extensions",this.extensions&&this.extensions.length?this.extensions:void 0,"reserved",this.reserved&&this.reserved.length?this.reserved:void 0,"group",this.group||void 0,"nested",t&&t.nested||void 0,"comment",i?this.comment:void 0])},o.prototype.resolveAll=function(){for(var e=this.fieldsArray,t=0;t<e.length;)e[t++].resolve();var i=this.oneofsArray;for(t=0;t<i.length;)i[t++].resolve();return n.prototype.resolveAll.call(this)},o.prototype.get=function(e){return this.fields[e]||this.oneofs&&this.oneofs[e]||this.nested&&this.nested[e]||null},o.prototype.add=function(e){if(this.get(e.name))throw Error("duplicate name '"+e.name+"' in "+this);if(e instanceof a&&void 0===e.extend){if(this._fieldsById?this._fieldsById[e.id]:this.fieldsById[e.id])throw Error("duplicate id "+e.id+" in "+this);if(this.isReservedId(e.id))throw Error("id "+e.id+" is reserved in "+this);if(this.isReservedName(e.name))throw Error("name '"+e.name+"' is reserved in "+this);return e.parent&&e.parent.remove(e),this.fields[e.name]=e,e.message=this,e.onAdd(this),r(this)}return e instanceof d?(this.oneofs||(this.oneofs={}),this.oneofs[e.name]=e,e.onAdd(this),r(this)):n.prototype.add.call(this,e)},o.prototype.remove=function(e){if(e instanceof a&&void 0===e.extend){if(!this.fields||this.fields[e.name]!==e)throw Error(e+" is not a member of "+this);return delete this.fields[e.name],e.parent=null,e.onRemove(this),r(this)}if(e instanceof d){if(!this.oneofs||this.oneofs[e.name]!==e)throw Error(e+" is not a member of "+this);return delete this.oneofs[e.name],e.parent=null,e.onRemove(this),r(this)}return n.prototype.remove.call(this,e)},o.prototype.isReservedId=function(e){return n.isReservedId(this.reserved,e)},o.prototype.isReservedName=function(e){return n.isReservedName(this.reserved,e)},o.prototype.create=function(e){return new this.ctor(e)},o.prototype.setup=function(){for(var e=this.fullName,t=[],i=0;i<this.fieldsArray.length;++i)t.push(this._fieldsArray[i].resolve().resolvedType);this.encode=h(this)({Writer:c,types:t,util:y}),this.decode=m(this)({Reader:f,types:t,util:y}),this.verify=g(this)({types:t,util:y}),this.fromObject=v.fromObject(this)({types:t,util:y}),this.toObject=v.toObject(this)({types:t,util:y});var o=b[e];if(o){var r=Object.create(this);r.fromObject=this.fromObject,this.fromObject=o.fromObject.bind(r),r.toObject=this.toObject,this.toObject=o.toObject.bind(r)}return this},o.prototype.encode=function(e,t){return this.setup().encode(e,t)},o.prototype.encodeDelimited=function(e,t){return this.encode(e,t&&t.len?t.fork():t).ldelim()},o.prototype.decode=function(e,t){return this.setup().decode(e,t)},o.prototype.decodeDelimited=function(e){return e instanceof f||(e=f.create(e)),this.decode(e,e.uint32())},o.prototype.verify=function(e){return this.setup().verify(e)},o.prototype.fromObject=function(e){return this.setup().fromObject(e)},o.prototype.toObject=function(e,t){return this.setup().toObject(e,t)},o.d=function(e){return function(t){y.decorateType(t,e)}}},function(e,t,i){"use strict";function o(e,t){return e.name+": "+t+(e.repeated&&"array"!==t?"[]":e.map&&"object"!==t?"{k:"+e.keyType+"}":"")+" expected"}function r(e,t,i,r){if(t.resolvedType)if(t.resolvedType instanceof d){e("switch(%s){",r)("default:")("return%j",o(t,"enum value"));for(var n=Object.keys(t.resolvedType.values),s=0;s<n.length;++s)e("case %i:",t.resolvedType.values[n[s]]);e("break")("}")}else e("{")("var e=types[%i].verify(%s);",i,r)("if(e)")("return%j+e",t.name+".")("}");else switch(t.type){case"int32":case"uint32":case"sint32":case"fixed32":case"sfixed32":e("if(!util.isInteger(%s))",r)("return%j",o(t,"integer"));break;case"int64":case"uint64":case"sint64":case"fixed64":case"sfixed64":e("if(!util.isInteger(%s)&&!(%s&&util.isInteger(%s.low)&&util.isInteger(%s.high)))",r,r,r,r)("return%j",o(t,"integer|Long"));break;case"float":case"double":e('if(typeof %s!=="number")',r)("return%j",o(t,"number"));break;case"bool":e('if(typeof %s!=="boolean")',r)("return%j",o(t,"boolean"));break;case"string":e("if(!util.isString(%s))",r)("return%j",o(t,"string"));break;case"bytes":e('if(!(%s&&typeof %s.length==="number"||util.isString(%s)))',r,r,r)("return%j",o(t,"buffer"))}return e}function n(e,t,i){switch(t.keyType){case"int32":case"uint32":case"sint32":case"fixed32":case"sfixed32":e("if(!util.key32Re.test(%s))",i)("return%j",o(t,"integer key"));break;case"int64":case"uint64":case"sint64":case"fixed64":case"sfixed64":e("if(!util.key64Re.test(%s))",i)("return%j",o(t,"integer|Long key"));break;case"bool":e("if(!util.key2Re.test(%s))",i)("return%j",o(t,"boolean key"))}return e}function s(e){var t=a.codegen(["m"],e.name+"$verify")('if(typeof m!=="object"||m===null)')("return%j","object expected"),i=e.oneofsArray,s={};i.length&&t("var p={}");for(var d=0;d<e.fieldsArray.length;++d){var p=e._fieldsArray[d].resolve(),l="m"+a.safeProp(p.name);if(p.optional&&t("if(%s!=null&&m.hasOwnProperty(%j)){",l,p.name),p.map)t("if(!util.isObject(%s))",l)("return%j",o(p,"object"))("var k=Object.keys(%s)",l)("for(var i=0;i<k.length;++i){"),n(t,p,"k[i]"),r(t,p,d,l+"[k[i]]")("}");else if(p.repeated)t("if(!Array.isArray(%s))",l)("return%j",o(p,"array"))("for(var i=0;i<%s.length;++i){",l),r(t,p,d,l+"[i]")("}");else{if(p.partOf){var u=a.safeProp(p.partOf.name);1===s[p.partOf.name]&&t("if(p%s===1)",u)("return%j",p.partOf.name+": multiple values"),s[p.partOf.name]=1,t("p%s=1",u)}r(t,p,d,l)}p.optional&&t("}")}return t("return null")}e.exports=s;var d=i(1),a=i(0)},function(e,t,i){"use strict";var o=t,r=i(7);o[".google.protobuf.Any"]={fromObject:function(e){if(e&&e["@type"]){var t=this.lookup(e["@type"]);if(t){var i="."===e["@type"].charAt(0)?e["@type"].substr(1):e["@type"];return this.create({type_url:"/"+i,value:t.encode(t.fromObject(e)).finish()})}}return this.fromObject(e)},toObject:function(e,t){if(t&&t.json&&e.type_url&&e.value){var i=e.type_url.substring(e.type_url.lastIndexOf("/")+1),o=this.lookup(i);o&&(e=o.decode(e.value))}if(!(e instanceof this.ctor)&&e instanceof r){var n=e.$type.toObject(e,t);return n["@type"]=e.$type.fullName,n}return this.toObject(e,t)}}},function(e,t,i){"use strict";e.exports=i(38)},function(e,t){e.exports={nested:{apollo:{nested:{hdmap:{nested:{ClearArea:{fields:{id:{type:"Id",id:1},overlapId:{rule:"repeated",type:"Id",id:2},polygon:{type:"Polygon",id:3}}},Crosswalk:{fields:{id:{type:"Id",id:1},polygon:{type:"Polygon",id:2},overlapId:{rule:"repeated",type:"Id",id:3}}},Polygon:{fields:{point:{rule:"repeated",type:"apollo.common.PointENU",id:1}}},LineSegment:{fields:{point:{rule:"repeated",type:"apollo.common.PointENU",id:1}}},CurveSegment:{oneofs:{curveType:{oneof:["lineSegment"]}},fields:{lineSegment:{type:"LineSegment",id:1},s:{type:"double",id:6},startPosition:{type:"apollo.common.PointENU",id:7},heading:{type:"double",id:8},length:{type:"double",id:9}}},Curve:{fields:{segment:{rule:"repeated",type:"CurveSegment",id:1}}},Id:{fields:{id:{type:"string",id:1}}},Junction:{fields:{id:{type:"Id",id:1},polygon:{type:"Polygon",id:2},overlapId:{rule:"repeated",type:"Id",id:3}}},LaneBoundaryType:{fields:{s:{type:"double",id:1},types:{rule:"repeated",type:"Type",id:2,options:{packed:!1}}},nested:{Type:{values:{UNKNOWN:0,DOTTED_YELLOW:1,DOTTED_WHITE:2,SOLID_YELLOW:3,SOLID_WHITE:4,DOUBLE_YELLOW:5,CURB:6}}}},LaneBoundary:{fields:{curve:{type:"Curve",id:1},length:{type:"double",id:2},virtual:{type:"bool",id:3},boundaryType:{rule:"repeated",type:"LaneBoundaryType",id:4}}},LaneSampleAssociation:{fields:{s:{type:"double",id:1},width:{type:"double",id:2}}},Lane:{fields:{id:{type:"Id",id:1},centralCurve:{type:"Curve",id:2},leftBoundary:{type:"LaneBoundary",id:3},rightBoundary:{type:"LaneBoundary",id:4},length:{type:"double",id:5},speedLimit:{type:"double",id:6},overlapId:{rule:"repeated",type:"Id",id:7},predecessorId:{rule:"repeated",type:"Id",id:8},successorId:{rule:"repeated",type:"Id",id:9},leftNeighborForwardLaneId:{rule:"repeated",type:"Id",id:10},rightNeighborForwardLaneId:{rule:"repeated",type:"Id",id:11},type:{type:"LaneType",id:12},turn:{type:"LaneTurn",id:13},leftNeighborReverseLaneId:{rule:"repeated",type:"Id",id:14},rightNeighborReverseLaneId:{rule:"repeated",type:"Id",id:15},junctionId:{type:"Id",id:16},leftSample:{rule:"repeated",type:"LaneSampleAssociation",id:17},rightSample:{rule:"repeated",type:"LaneSampleAssociation",id:18},direction:{type:"LaneDirection",id:19},leftRoadSample:{rule:"repeated",type:"LaneSampleAssociation",id:20},rightRoadSample:{rule:"repeated",type:"LaneSampleAssociation",id:21}},nested:{LaneType:{values:{NONE:1,CITY_DRIVING:2,BIKING:3,SIDEWALK:4,PARKING:5}},LaneTurn:{values:{NO_TURN:1,LEFT_TURN:2,RIGHT_TURN:3,U_TURN:4}},LaneDirection:{values:{FORWARD:1,BACKWARD:2,BIDIRECTION:3}}}},LaneOverlapInfo:{fields:{startS:{type:"double",id:1},endS:{type:"double",id:2},isMerge:{type:"bool",id:3}}},SignalOverlapInfo:{fields:{}},StopSignOverlapInfo:{fields:{}},CrosswalkOverlapInfo:{fields:{}},JunctionOverlapInfo:{fields:{}},YieldOverlapInfo:{fields:{}},ClearAreaOverlapInfo:{fields:{}},SpeedBumpOverlapInfo:{fields:{}},ParkingSpaceOverlapInfo:{fields:{}},ObjectOverlapInfo:{oneofs:{overlapInfo:{oneof:["laneOverlapInfo","signalOverlapInfo","stopSignOverlapInfo","crosswalkOverlapInfo","junctionOverlapInfo","yieldSignOverlapInfo","clearAreaOverlapInfo","speedBumpOverlapInfo","parkingSpaceOverlapInfo"]}},fields:{id:{type:"Id",id:1},laneOverlapInfo:{type:"LaneOverlapInfo",id:3},signalOverlapInfo:{type:"SignalOverlapInfo",id:4},stopSignOverlapInfo:{type:"StopSignOverlapInfo",id:5},crosswalkOverlapInfo:{type:"CrosswalkOverlapInfo",id:6},junctionOverlapInfo:{type:"JunctionOverlapInfo",id:7},yieldSignOverlapInfo:{type:"YieldOverlapInfo",id:8},clearAreaOverlapInfo:{type:"ClearAreaOverlapInfo",id:9},speedBumpOverlapInfo:{type:"SpeedBumpOverlapInfo",id:10},parkingSpaceOverlapInfo:{type:"ParkingSpaceOverlapInfo",id:11}}},Overlap:{fields:{id:{type:"Id",id:1},object:{rule:"repeated",type:"ObjectOverlapInfo",id:2}}},Projection:{fields:{proj:{type:"string",id:1}}},Header:{fields:{version:{type:"bytes",id:1},date:{type:"bytes",id:2},projection:{type:"Projection",id:3},district:{type:"bytes",id:4},generation:{type:"bytes",id:5},revMajor:{type:"bytes",id:6},revMinor:{type:"bytes",id:7},left:{type:"double",id:8},top:{type:"double",id:9},right:{type:"double",id:10},bottom:{type:"double",id:11},vendor:{type:"bytes",id:12}}},Map:{fields:{header:{type:"Header",id:1},crosswalk:{rule:"repeated",type:"Crosswalk",id:2},junction:{rule:"repeated",type:"Junction",id:3},lane:{rule:"repeated",type:"Lane",id:4},stopSign:{rule:"repeated",type:"StopSign",id:5},signal:{rule:"repeated",type:"Signal",id:6},yield:{rule:"repeated",type:"YieldSign",id:7},overlap:{rule:"repeated",type:"Overlap",id:8},clearArea:{rule:"repeated",type:"ClearArea",id:9},speedBump:{rule:"repeated",type:"SpeedBump",id:10},road:{rule:"repeated",type:"Road",id:11}}},BoundaryEdge:{fields:{curve:{type:"Curve",id:1},type:{type:"Type",id:2}},nested:{Type:{values:{UNKNOWN:0,NORMAL:1,LEFT_BOUNDARY:2,RIGHT_BOUNDARY:3}}}},BoundaryPolygon:{fields:{edge:{rule:"repeated",type:"BoundaryEdge",id:1}}},RoadBoundary:{fields:{outerPolygon:{type:"BoundaryPolygon",id:1},hole:{rule:"repeated",type:"BoundaryPolygon",id:2}}},RoadROIBoundary:{fields:{id:{type:"Id",id:1},roadBoundaries:{rule:"repeated",type:"RoadBoundary",id:2}}},RoadSection:{fields:{id:{type:"Id",id:1},laneId:{rule:"repeated",type:"Id",id:2},boundary:{type:"RoadBoundary",id:3}}},Road:{fields:{id:{type:"Id",id:1},section:{rule:"repeated",type:"RoadSection",id:2},junctionId:{type:"Id",id:3}}},Subsignal:{fields:{id:{type:"Id",id:1},type:{type:"Type",id:2},location:{type:"apollo.common.PointENU",id:3}},nested:{Type:{values:{UNKNOWN:1,CIRCLE:2,ARROW_LEFT:3,ARROW_FORWARD:4,ARROW_RIGHT:5,ARROW_LEFT_AND_FORWARD:6,ARROW_RIGHT_AND_FORWARD:7,ARROW_U_TURN:8}}}},Signal:{fields:{id:{type:"Id",id:1},boundary:{type:"Polygon",id:2},subsignal:{rule:"repeated",type:"Subsignal",id:3},overlapId:{rule:"repeated",type:"Id",id:4},type:{type:"Type",id:5},stopLine:{rule:"repeated",type:"Curve",id:6}},nested:{Type:{values:{UNKNOWN:1,MIX_2_HORIZONTAL:2,MIX_2_VERTICAL:3,MIX_3_HORIZONTAL:4,MIX_3_VERTICAL:5,SINGLE:6}}}},SpeedBump:{fields:{id:{type:"Id",id:1},overlapId:{rule:"repeated",type:"Id",id:2},position:{rule:"repeated",type:"Curve",id:3}}},SpeedControl:{fields:{name:{type:"string",id:1},polygon:{type:"apollo.hdmap.Polygon",id:2},speedLimit:{type:"double",id:3}}},SpeedControls:{fields:{speedControl:{rule:"repeated",type:"SpeedControl",id:1}}},StopSign:{fields:{id:{type:"Id",id:1},stopLine:{rule:"repeated",type:"Curve",id:2},overlapId:{rule:"repeated",type:"Id",id:3},type:{type:"StopType",id:4}},nested:{StopType:{values:{UNKNOWN:0,ONE_WAY:1,TWO_WAY:2,THREE_WAY:3,FOUR_WAY:4,ALL_WAY:5}}}},YieldSign:{fields:{id:{type:"Id",id:1},stopLine:{rule:"repeated",type:"Curve",id:2},overlapId:{rule:"repeated",type:"Id",id:3}}}}},common:{nested:{PointENU:{fields:{x:{type:"double",id:1,options:{default:null}},y:{type:"double",id:2,options:{default:null}},z:{type:"double",id:3,options:{default:0}}}},PointLLH:{fields:{lon:{type:"double",id:1,options:{default:null}},lat:{type:"double",id:2,options:{default:null}},height:{type:"double",id:3,options:{default:0}}}},Point2D:{fields:{x:{type:"double",id:1,options:{default:null}},y:{type:"double",id:2,options:{default:null}}}},Point3D:{fields:{x:{type:"double",id:1,options:{default:null}},y:{type:"double",id:2,options:{default:null}},z:{type:"double",id:3,options:{default:null}}}},Quaternion:{fields:{qx:{type:"double",id:1,options:{default:null}},qy:{type:"double",id:2,options:{default:null}},qz:{type:"double",id:3,options:{default:null}},qw:{type:"double",id:4,options:{default:null}}}},Header:{fields:{timestampSec:{type:"double",id:1},moduleName:{type:"string",id:2},sequenceNum:{type:"uint32",id:3},lidarTimestamp:{type:"uint64",id:4},cameraTimestamp:{type:"uint64",id:5},radarTimestamp:{type:"uint64",id:6},version:{type:"uint32",id:7,options:{default:1}},status:{type:"StatusPb",id:8}}},ErrorCode:{values:{OK:0,CONTROL_ERROR:1e3,CONTROL_INIT_ERROR:1001,CONTROL_COMPUTE_ERROR:1002,CANBUS_ERROR:2e3,CAN_CLIENT_ERROR_BASE:2100,CAN_CLIENT_ERROR_OPEN_DEVICE_FAILED:2101,CAN_CLIENT_ERROR_FRAME_NUM:2102,CAN_CLIENT_ERROR_SEND_FAILED:2103,CAN_CLIENT_ERROR_RECV_FAILED:2104,LOCALIZATION_ERROR:3e3,LOCALIZATION_ERROR_MSG:3100,LOCALIZATION_ERROR_LIDAR:3200,LOCALIZATION_ERROR_INTEG:3300,LOCALIZATION_ERROR_GNSS:3400,PERCEPTION_ERROR:4e3,PERCEPTION_ERROR_TF:4001,PERCEPTION_ERROR_PROCESS:4002,PERCEPTION_FATAL:4003,PREDICTION_ERROR:5e3,PLANNING_ERROR:6e3,HDMAP_DATA_ERROR:7e3,ROUTING_ERROR:8e3,ROUTING_ERROR_REQUEST:8001,ROUTING_ERROR_RESPONSE:8002,ROUTING_ERROR_NOT_READY:8003,END_OF_INPUT:9e3,HTTP_LOGIC_ERROR:1e4,HTTP_RUNTIME_ERROR:10001,RELATIVE_MAP_ERROR:11e3,RELATIVE_MAP_NOT_READY:11001}},StatusPb:{fields:{errorCode:{type:"ErrorCode",id:1,options:{default:"OK"}},msg:{type:"string",id:2}}}}}}}}}},function(e,t){e.exports={nested:{apollo:{nested:{dreamview:{nested:{PointCloud:{fields:{num:{rule:"repeated",type:"float",id:1,options:{packed:!1}}}}}}}}}}},function(e,t){e.exports={nested:{apollo:{nested:{dreamview:{nested:{PolygonPoint:{fields:{x:{type:"double",id:1},y:{type:"double",id:2},z:{type:"double",id:3,options:{default:0}}}},Prediction:{fields:{probability:{type:"double",id:1},predictedTrajectory:{rule:"repeated",type:"PolygonPoint",id:2}}},Decision:{fields:{type:{type:"Type",id:1,options:{default:"IGNORE"}},polygonPoint:{rule:"repeated",type:"PolygonPoint",id:2},heading:{type:"double",id:3},latitude:{type:"double",id:4},longitude:{type:"double",id:5},positionX:{type:"double",id:6},positionY:{type:"double",id:7},length:{type:"double",id:8,options:{default:2.8}},width:{type:"double",id:9,options:{default:1.4}},height:{type:"double",id:10,options:{default:1.8}},stopReason:{type:"StopReasonCode",id:11}},nested:{Type:{values:{IGNORE:0,STOP:1,NUDGE:2,YIELD:3,OVERTAKE:4,FOLLOW:5,SIDEPASS:6}},StopReasonCode:{values:{STOP_REASON_HEAD_VEHICLE:1,STOP_REASON_DESTINATION:2,STOP_REASON_PEDESTRIAN:3,STOP_REASON_OBSTACLE:4,STOP_REASON_SIGNAL:100,STOP_REASON_STOP_SIGN:101,STOP_REASON_YIELD_SIGN:102,STOP_REASON_CLEAR_ZONE:103,STOP_REASON_CROSSWALK:104,STOP_REASON_EMERGENCY:105,STOP_REASON_NOT_READY:106}}}},Object:{fields:{id:{type:"string",id:1},polygonPoint:{rule:"repeated",type:"PolygonPoint",id:2},heading:{type:"double",id:3},latitude:{type:"double",id:4},longitude:{type:"double",id:5},positionX:{type:"double",id:6},positionY:{type:"double",id:7},length:{type:"double",id:8,options:{default:2.8}},width:{type:"double",id:9,options:{default:1.4}},height:{type:"double",id:10,options:{default:1.8}},speed:{type:"double",id:11},speedAcceleration:{type:"double",id:12},speedJerk:{type:"double",id:13},spin:{type:"double",id:14},spinAcceleration:{type:"double",id:15},spinJerk:{type:"double",id:16},speedHeading:{type:"double",id:17},kappa:{type:"double",id:18},signalSet:{rule:"repeated",type:"string",id:19},currentSignal:{type:"string",id:20},timestampSec:{type:"double",id:21},decision:{rule:"repeated",type:"Decision",id:22},throttlePercentage:{type:"double",id:23},brakePercentage:{type:"double",id:24},steeringPercentage:{type:"double",id:25},steeringAngle:{type:"double",id:26},steeringRatio:{type:"double",id:27},disengageType:{type:"DisengageType",id:28},type:{type:"Type",id:29},prediction:{rule:"repeated",type:"Prediction",id:30},confidence:{type:"double",id:31,options:{default:1}}},nested:{DisengageType:{values:{DISENGAGE_NONE:0,DISENGAGE_UNKNOWN:1,DISENGAGE_MANUAL:2,DISENGAGE_EMERGENCY:3,DISENGAGE_AUTO_STEER_ONLY:4,DISENGAGE_AUTO_SPEED_ONLY:5,DISENGAGE_CHASSIS_ERROR:6}},Type:{values:{UNKNOWN:0,UNKNOWN_MOVABLE:1,UNKNOWN_UNMOVABLE:2,PEDESTRIAN:3,BICYCLE:4,VEHICLE:5,VIRTUAL:6}}}},DelaysInMs:{fields:{chassis:{type:"double",id:1},localization:{type:"double",id:3},perceptionObstacle:{type:"double",id:4},planning:{type:"double",id:5},prediction:{type:"double",id:7},trafficLight:{type:"double",id:8}}},RoutePath:{fields:{point:{rule:"repeated",type:"PolygonPoint",id:1}}},Latency:{fields:{planning:{type:"double",id:1}}},MapElementIds:{fields:{lane:{rule:"repeated",type:"string",id:1},crosswalk:{rule:"repeated",type:"string",id:2},junction:{rule:"repeated",type:"string",id:3},signal:{rule:"repeated",type:"string",id:4},stopSign:{rule:"repeated",type:"string",id:5},yield:{rule:"repeated",type:"string",id:6},overlap:{rule:"repeated",type:"string",id:7},road:{rule:"repeated",type:"string",id:8},clearArea:{rule:"repeated",type:"string",id:9}}},ControlData:{fields:{timestampSec:{type:"double",id:1},stationError:{type:"double",id:2}}},SimulationWorld:{fields:{timestamp:{type:"double",id:1},sequenceNum:{type:"uint32",id:2},object:{rule:"repeated",type:"Object",id:3},autoDrivingCar:{type:"Object",id:4},trafficSignal:{type:"Object",id:5},routePath:{rule:"repeated",type:"RoutePath",id:6},routingTime:{type:"double",id:7},planningTrajectory:{rule:"repeated",type:"Object",id:8},mainStop:{type:"Object",id:9},speedLimit:{type:"double",id:10},delay:{type:"DelaysInMs",id:11},monitor:{type:"apollo.common.monitor.MonitorMessage",id:12},engageAdvice:{type:"string",id:13},latency:{type:"Latency",id:14},mapElementIds:{type:"MapElementIds",id:15},mapHash:{type:"uint64",id:16},mapRadius:{type:"double",id:17},planningTime:{type:"double",id:18},planningData:{type:"apollo.planning_internal.PlanningData",id:19},gps:{type:"Object",id:20},laneMarker:{type:"apollo.perception.LaneMarkers",id:21},controlData:{type:"ControlData",id:22},navigationPath:{rule:"repeated",type:"apollo.common.Path",id:23}}}}},common:{nested:{DriveEvent:{fields:{header:{type:"apollo.common.Header",id:1},event:{type:"string",id:2},location:{type:"apollo.localization.Pose",id:3}}},EngageAdvice:{fields:{advice:{type:"Advice",id:1,options:{default:"DISALLOW_ENGAGE"}},reason:{type:"string",id:2}},nested:{Advice:{values:{UNKNOWN:0,DISALLOW_ENGAGE:1,READY_TO_ENGAGE:2,KEEP_ENGAGED:3,PREPARE_DISENGAGE:4}}}},ErrorCode:{values:{OK:0,CONTROL_ERROR:1e3,CONTROL_INIT_ERROR:1001,CONTROL_COMPUTE_ERROR:1002,CANBUS_ERROR:2e3,CAN_CLIENT_ERROR_BASE:2100,CAN_CLIENT_ERROR_OPEN_DEVICE_FAILED:2101,CAN_CLIENT_ERROR_FRAME_NUM:2102,CAN_CLIENT_ERROR_SEND_FAILED:2103,CAN_CLIENT_ERROR_RECV_FAILED:2104,LOCALIZATION_ERROR:3e3,LOCALIZATION_ERROR_MSG:3100,LOCALIZATION_ERROR_LIDAR:3200,LOCALIZATION_ERROR_INTEG:3300,LOCALIZATION_ERROR_GNSS:3400,PERCEPTION_ERROR:4e3,PERCEPTION_ERROR_TF:4001,PERCEPTION_ERROR_PROCESS:4002,PERCEPTION_FATAL:4003,PREDICTION_ERROR:5e3,PLANNING_ERROR:6e3,HDMAP_DATA_ERROR:7e3,ROUTING_ERROR:8e3,ROUTING_ERROR_REQUEST:8001,ROUTING_ERROR_RESPONSE:8002,ROUTING_ERROR_NOT_READY:8003,END_OF_INPUT:9e3,HTTP_LOGIC_ERROR:1e4,HTTP_RUNTIME_ERROR:10001,RELATIVE_MAP_ERROR:11e3,RELATIVE_MAP_NOT_READY:11001}},StatusPb:{fields:{errorCode:{type:"ErrorCode",id:1,options:{default:"OK"}},msg:{type:"string",id:2}}},PointENU:{fields:{x:{type:"double",id:1,options:{default:null}},y:{type:"double",id:2,options:{default:null}},z:{type:"double",id:3,options:{default:0}}}},PointLLH:{fields:{lon:{type:"double",id:1,options:{default:null}},lat:{type:"double",id:2,options:{default:null}},height:{type:"double",id:3,options:{default:0}}}},Point2D:{fields:{x:{type:"double",id:1,options:{default:null}},y:{type:"double",id:2,options:{default:null}}}},Point3D:{fields:{x:{type:"double",id:1,options:{default:null}},y:{type:"double",id:2,options:{default:null}},z:{type:"double",id:3,options:{default:null}}}},Quaternion:{fields:{qx:{type:"double",id:1,options:{default:null}},qy:{type:"double",id:2,options:{default:null}},qz:{type:"double",id:3,options:{default:null}},qw:{type:"double",id:4,options:{default:null}}}},Header:{fields:{timestampSec:{type:"double",id:1},moduleName:{type:"string",id:2},sequenceNum:{type:"uint32",id:3},lidarTimestamp:{type:"uint64",id:4},cameraTimestamp:{type:"uint64",id:5},radarTimestamp:{type:"uint64",id:6},version:{type:"uint32",id:7,options:{default:1}},status:{type:"StatusPb",id:8}}},SLPoint:{fields:{s:{type:"double",id:1},l:{type:"double",id:2}}},FrenetFramePoint:{fields:{s:{type:"double",id:1},l:{type:"double",id:2},dl:{type:"double",id:3},ddl:{type:"double",id:4}}},SpeedPoint:{fields:{s:{type:"double",id:1},t:{type:"double",id:2},v:{type:"double",id:3},a:{type:"double",id:4},da:{type:"double",id:5}}},PathPoint:{fields:{x:{type:"double",id:1},y:{type:"double",id:2},z:{type:"double",id:3},theta:{type:"double",id:4},kappa:{type:"double",id:5},s:{type:"double",id:6},dkappa:{type:"double",id:7},ddkappa:{type:"double",id:8},laneId:{type:"string",id:9}}},Path:{fields:{name:{type:"string",id:1},pathPoint:{rule:"repeated",type:"PathPoint",id:2}}},TrajectoryPoint:{fields:{pathPoint:{type:"PathPoint",id:1},v:{type:"double",id:2},a:{type:"double",id:3},relativeTime:{type:"double",id:4}}},VehicleSignal:{fields:{turnSignal:{type:"TurnSignal",id:1},highBeam:{type:"bool",id:2},lowBeam:{type:"bool",id:3},horn:{type:"bool",id:4},emergencyLight:{type:"bool",id:5}},nested:{TurnSignal:{values:{TURN_NONE:0,TURN_LEFT:1,TURN_RIGHT:2}}}},monitor:{nested:{MonitorMessageItem:{fields:{source:{type:"MessageSource",id:1,options:{default:"UNKNOWN"}},msg:{type:"string",id:2},logLevel:{type:"LogLevel",id:3,options:{default:"INFO"}}},nested:{MessageSource:{values:{UNKNOWN:1,CANBUS:2,CONTROL:3,DECISION:4,LOCALIZATION:5,PLANNING:6,PREDICTION:7,SIMULATOR:8,HWSYS:9,ROUTING:10,MONITOR:11,HMI:12,RELATIVE_MAP:13}},LogLevel:{values:{INFO:0,WARN:1,ERROR:2,FATAL:3}}}},MonitorMessage:{fields:{header:{type:"apollo.common.Header",id:1},item:{rule:"repeated",type:"MonitorMessageItem",id:2}}}}}}},localization:{nested:{Uncertainty:{fields:{positionStdDev:{type:"apollo.common.Point3D",id:1},orientationStdDev:{type:"apollo.common.Point3D",id:2},linearVelocityStdDev:{type:"apollo.common.Point3D",id:3},linearAccelerationStdDev:{type:"apollo.common.Point3D",id:4},angularVelocityStdDev:{type:"apollo.common.Point3D",id:5}}},LocalizationEstimate:{fields:{header:{type:"apollo.common.Header",id:1},pose:{type:"apollo.localization.Pose",id:2},uncertainty:{type:"Uncertainty",id:3},measurementTime:{type:"double",id:4},trajectoryPoint:{rule:"repeated",type:"apollo.common.TrajectoryPoint",id:5}}},MeasureState:{values:{NOT_VALID:0,NOT_STABLE:1,OK:2,VALID:3}},LocalizationStatus:{fields:{header:{type:"apollo.common.Header",id:1},fusionStatus:{type:"MeasureState",id:2},gnssStatus:{type:"MeasureState",id:3},lidarStatus:{type:"MeasureState",id:4},measurementTime:{type:"double",id:5}}},Pose:{fields:{position:{type:"apollo.common.PointENU",id:1},orientation:{type:"apollo.common.Quaternion",id:2},linearVelocity:{type:"apollo.common.Point3D",id:3},linearAcceleration:{type:"apollo.common.Point3D",id:4},angularVelocity:{type:"apollo.common.Point3D",id:5},heading:{type:"double",id:6},linearAccelerationVrf:{type:"apollo.common.Point3D",id:7},angularVelocityVrf:{type:"apollo.common.Point3D",id:8},eulerAngles:{type:"apollo.common.Point3D",id:9}}}}},canbus:{nested:{Chassis:{fields:{engineStarted:{type:"bool",id:3},engineRpm:{type:"float",id:4,options:{default:null}},speedMps:{type:"float",id:5,options:{default:null}},odometerM:{type:"float",id:6,options:{default:null}},fuelRangeM:{type:"int32",id:7},throttlePercentage:{type:"float",id:8,options:{default:null}},brakePercentage:{type:"float",id:9,options:{default:null}},steeringPercentage:{type:"float",id:11,options:{default:null}},steeringTorqueNm:{type:"float",id:12,options:{default:null}},parkingBrake:{type:"bool",id:13},highBeamSignal:{type:"bool",id:14,options:{deprecated:!0}},lowBeamSignal:{type:"bool",id:15,options:{deprecated:!0}},leftTurnSignal:{type:"bool",id:16,options:{deprecated:!0}},rightTurnSignal:{type:"bool",id:17,options:{deprecated:!0}},horn:{type:"bool",id:18,options:{deprecated:!0}},wiper:{type:"bool",id:19},disengageStatus:{type:"bool",id:20,options:{deprecated:!0}},drivingMode:{type:"DrivingMode",id:21,options:{default:"COMPLETE_MANUAL"}},errorCode:{type:"ErrorCode",id:22,options:{default:"NO_ERROR"}},gearLocation:{type:"GearPosition",id:23},steeringTimestamp:{type:"double",id:24},header:{type:"apollo.common.Header",id:25},chassisErrorMask:{type:"int32",id:26,options:{default:0}},signal:{type:"apollo.common.VehicleSignal",id:27},chassisGps:{type:"ChassisGPS",id:28},engageAdvice:{type:"apollo.common.EngageAdvice",id:29}},nested:{DrivingMode:{values:{COMPLETE_MANUAL:0,COMPLETE_AUTO_DRIVE:1,AUTO_STEER_ONLY:2,AUTO_SPEED_ONLY:3,EMERGENCY_MODE:4}},ErrorCode:{values:{NO_ERROR:0,CMD_NOT_IN_PERIOD:1,CHASSIS_ERROR:2,MANUAL_INTERVENTION:3,CHASSIS_CAN_NOT_IN_PERIOD:4,UNKNOWN_ERROR:5}},GearPosition:{values:{GEAR_NEUTRAL:0,GEAR_DRIVE:1,GEAR_REVERSE:2,GEAR_PARKING:3,GEAR_LOW:4,GEAR_INVALID:5,GEAR_NONE:6}}}},ChassisGPS:{fields:{latitude:{type:"double",id:1},longitude:{type:"double",id:2},gpsValid:{type:"bool",id:3},year:{type:"int32",id:4},month:{type:"int32",id:5},day:{type:"int32",id:6},hours:{type:"int32",id:7},minutes:{type:"int32",id:8},seconds:{type:"int32",id:9},compassDirection:{type:"double",id:10},pdop:{type:"double",id:11},isGpsFault:{type:"bool",id:12},isInferred:{type:"bool",id:13},altitude:{type:"double",id:14},heading:{type:"double",id:15},hdop:{type:"double",id:16},vdop:{type:"double",id:17},quality:{type:"GpsQuality",id:18},numSatellites:{type:"int32",id:19},gpsSpeed:{type:"double",id:20}}},GpsQuality:{values:{FIX_NO:0,FIX_2D:1,FIX_3D:2,FIX_INVALID:3}}}},planning:{nested:{SLBoundary:{fields:{startS:{type:"double",id:1},endS:{type:"double",id:2},startL:{type:"double",id:3},endL:{type:"double",id:4}}},TargetLane:{fields:{id:{type:"string",id:1},startS:{type:"double",id:2},endS:{type:"double",id:3},speedLimit:{type:"double",id:4}}},ObjectIgnore:{fields:{}},StopReasonCode:{values:{STOP_REASON_HEAD_VEHICLE:1,STOP_REASON_DESTINATION:2,STOP_REASON_PEDESTRIAN:3,STOP_REASON_OBSTACLE:4,STOP_REASON_PREPARKING:5,STOP_REASON_SIGNAL:100,STOP_REASON_STOP_SIGN:101,STOP_REASON_YIELD_SIGN:102,STOP_REASON_CLEAR_ZONE:103,STOP_REASON_CROSSWALK:104,STOP_REASON_CREEPER:105}},ObjectStop:{fields:{reasonCode:{type:"StopReasonCode",id:1},distanceS:{type:"double",id:2},stopPoint:{type:"apollo.common.PointENU",id:3},stopHeading:{type:"double",id:4}}},ObjectNudge:{fields:{type:{type:"Type",id:1},distanceL:{type:"double",id:2}},nested:{Type:{values:{LEFT_NUDGE:1,RIGHT_NUDGE:2,NO_NUDGE:3}}}},ObjectYield:{fields:{distanceS:{type:"double",id:1},fencePoint:{type:"apollo.common.PointENU",id:2},fenceHeading:{type:"double",id:3},timeBuffer:{type:"double",id:4}}},ObjectFollow:{fields:{distanceS:{type:"double",id:1},fencePoint:{type:"apollo.common.PointENU",id:2},fenceHeading:{type:"double",id:3}}},ObjectOvertake:{fields:{distanceS:{type:"double",id:1},fencePoint:{type:"apollo.common.PointENU",id:2},fenceHeading:{type:"double",id:3},timeBuffer:{type:"double",id:4}}},ObjectSidePass:{fields:{type:{type:"Type",id:1}},nested:{Type:{values:{LEFT:1,RIGHT:2}}}},ObjectAvoid:{fields:{}},ObjectDecisionType:{oneofs:{objectTag:{oneof:["ignore","stop","follow","yield","overtake","nudge","sidepass","avoid"]}},fields:{ignore:{type:"ObjectIgnore",id:1},stop:{type:"ObjectStop",id:2},follow:{type:"ObjectFollow",id:3},yield:{type:"ObjectYield",id:4},overtake:{type:"ObjectOvertake",id:5},nudge:{type:"ObjectNudge",id:6},sidepass:{type:"ObjectSidePass",id:7},avoid:{type:"ObjectAvoid",id:8}}},ObjectDecision:{fields:{id:{type:"string",id:1},perceptionId:{type:"int32",id:2},objectDecision:{rule:"repeated",type:"ObjectDecisionType",id:3}}},ObjectDecisions:{fields:{decision:{rule:"repeated",type:"ObjectDecision",id:1}}},MainStop:{fields:{reasonCode:{type:"StopReasonCode",id:1},reason:{type:"string",id:2},stopPoint:{type:"apollo.common.PointENU",id:3},stopHeading:{type:"double",id:4},changeLaneType:{type:"apollo.routing.ChangeLaneType",id:5}}},EmergencyStopHardBrake:{fields:{}},EmergencyStopCruiseToStop:{fields:{}},MainEmergencyStop:{oneofs:{task:{oneof:["hardBrake","cruiseToStop"]}},fields:{reasonCode:{type:"ReasonCode",id:1},reason:{type:"string",id:2},hardBrake:{type:"EmergencyStopHardBrake",id:3},cruiseToStop:{type:"EmergencyStopCruiseToStop",id:4}},nested:{ReasonCode:{values:{ESTOP_REASON_INTERNAL_ERR:1,ESTOP_REASON_COLLISION:2,ESTOP_REASON_ST_FIND_PATH:3,ESTOP_REASON_ST_MAKE_DECISION:4,ESTOP_REASON_SENSOR_ERROR:5}}}},MainCruise:{fields:{changeLaneType:{type:"apollo.routing.ChangeLaneType",id:1}}},MainChangeLane:{fields:{type:{type:"Type",id:1},defaultLane:{rule:"repeated",type:"TargetLane",id:2},defaultLaneStop:{type:"MainStop",id:3},targetLaneStop:{type:"MainStop",id:4}},nested:{Type:{values:{LEFT:1,RIGHT:2}}}},MainMissionComplete:{fields:{stopPoint:{type:"apollo.common.PointENU",id:1},stopHeading:{type:"double",id:2}}},MainNotReady:{fields:{reason:{type:"string",id:1}}},MainParking:{fields:{}},MainDecision:{oneofs:{task:{oneof:["cruise","stop","estop","changeLane","missionComplete","notReady","parking"]}},fields:{cruise:{type:"MainCruise",id:1},stop:{type:"MainStop",id:2},estop:{type:"MainEmergencyStop",id:3},changeLane:{type:"MainChangeLane",id:4,options:{deprecated:!0}},missionComplete:{type:"MainMissionComplete",id:6},notReady:{type:"MainNotReady",id:7},parking:{type:"MainParking",id:8},targetLane:{rule:"repeated",type:"TargetLane",id:5,options:{deprecated:!0}}}},DecisionResult:{fields:{mainDecision:{type:"MainDecision",id:1},objectDecision:{type:"ObjectDecisions",id:2},vehicleSignal:{type:"apollo.common.VehicleSignal",id:3}}}}},planning_internal:{nested:{Debug:{fields:{planningData:{type:"PlanningData",id:2}}},SpeedPlan:{fields:{name:{type:"string",id:1},speedPoint:{rule:"repeated",type:"apollo.common.SpeedPoint",id:2}}},StGraphBoundaryDebug:{fields:{name:{type:"string",id:1},point:{rule:"repeated",type:"apollo.common.SpeedPoint",id:2},type:{type:"StBoundaryType",id:3}},nested:{StBoundaryType:{values:{ST_BOUNDARY_TYPE_UNKNOWN:1,ST_BOUNDARY_TYPE_STOP:2,ST_BOUNDARY_TYPE_FOLLOW:3,ST_BOUNDARY_TYPE_YIELD:4,ST_BOUNDARY_TYPE_OVERTAKE:5,ST_BOUNDARY_TYPE_KEEP_CLEAR:6}}}},SLFrameDebug:{fields:{name:{type:"string",id:1},sampledS:{rule:"repeated",type:"double",id:2,options:{packed:!1}},staticObstacleLowerBound:{rule:"repeated",type:"double",id:3,options:{packed:!1}},dynamicObstacleLowerBound:{rule:"repeated",type:"double",id:4,options:{packed:!1}},staticObstacleUpperBound:{rule:"repeated",type:"double",id:5,options:{packed:!1}},dynamicObstacleUpperBound:{rule:"repeated",type:"double",id:6,options:{packed:!1}},mapLowerBound:{rule:"repeated",type:"double",id:7,options:{packed:!1}},mapUpperBound:{rule:"repeated",type:"double",id:8,options:{packed:!1}},slPath:{rule:"repeated",type:"apollo.common.SLPoint",id:9},aggregatedBoundaryS:{rule:"repeated",type:"double",id:10,options:{packed:!1}},aggregatedBoundaryLow:{rule:"repeated",type:"double",id:11,options:{packed:!1}},aggregatedBoundaryHigh:{rule:"repeated",type:"double",id:12,options:{packed:!1}}}},STGraphDebug:{fields:{name:{type:"string",id:1},boundary:{rule:"repeated",type:"StGraphBoundaryDebug",id:2},speedLimit:{rule:"repeated",type:"apollo.common.SpeedPoint",id:3},speedProfile:{rule:"repeated",type:"apollo.common.SpeedPoint",id:4},speedConstraint:{type:"STGraphSpeedConstraint",id:5},kernelCruiseRef:{type:"STGraphKernelCuiseRef",id:6},kernelFollowRef:{type:"STGraphKernelFollowRef",id:7}},nested:{STGraphSpeedConstraint:{fields:{t:{rule:"repeated",type:"double",id:1,options:{packed:!1}},lowerBound:{rule:"repeated",type:"double",id:2,options:{packed:!1}},upperBound:{rule:"repeated",type:"double",id:3,options:{packed:!1}}}},STGraphKernelCuiseRef:{fields:{t:{rule:"repeated",type:"double",id:1,options:{packed:!1}},cruiseLineS:{rule:"repeated",type:"double",id:2,options:{packed:!1}}}},STGraphKernelFollowRef:{fields:{t:{rule:"repeated",type:"double",id:1,options:{packed:!1}},followLineS:{rule:"repeated",type:"double",id:2,options:{packed:!1}}}}}},SignalLightDebug:{fields:{adcSpeed:{type:"double",id:1},adcFrontS:{type:"double",id:2},signal:{rule:"repeated",type:"SignalDebug",id:3}},nested:{SignalDebug:{fields:{lightId:{type:"string",id:1},color:{type:"apollo.perception.TrafficLight.Color",id:2},lightStopS:{type:"double",id:3},adcStopDeacceleration:{type:"double",id:4},isStopWallCreated:{type:"bool",id:5}}}}},DecisionTag:{fields:{deciderTag:{type:"string",id:1},decision:{type:"apollo.planning.ObjectDecisionType",id:2}}},ObstacleDebug:{fields:{id:{type:"string",id:1},slBoundary:{type:"apollo.planning.SLBoundary",id:2},decisionTag:{rule:"repeated",type:"DecisionTag",id:3}}},ReferenceLineDebug:{fields:{id:{type:"string",id:1},length:{type:"double",id:2},cost:{type:"double",id:3},isChangeLanePath:{type:"bool",id:4},isDrivable:{type:"bool",id:5},isProtected:{type:"bool",id:6}}},ChangeLaneState:{fields:{state:{type:"State",id:1},pathId:{type:"string",id:2},timestamp:{type:"double",id:3}},nested:{State:{values:{IN_CHANGE_LANE:1,CHANGE_LANE_FAILED:2,CHANGE_LANE_SUCCESS:3}}}},SampleLayerDebug:{fields:{slPoint:{rule:"repeated",type:"apollo.common.SLPoint",id:1}}},DpPolyGraphDebug:{fields:{sampleLayer:{rule:"repeated",type:"SampleLayerDebug",id:1},minCostPoint:{rule:"repeated",type:"apollo.common.SLPoint",id:2}}},PlanningData:{fields:{adcPosition:{type:"apollo.localization.LocalizationEstimate",id:7},chassis:{type:"apollo.canbus.Chassis",id:8},routing:{type:"apollo.routing.RoutingResponse",id:9},initPoint:{type:"apollo.common.TrajectoryPoint",id:10},path:{rule:"repeated",type:"apollo.common.Path",id:6},speedPlan:{rule:"repeated",type:"SpeedPlan",id:13},stGraph:{rule:"repeated",type:"STGraphDebug",id:14},slFrame:{rule:"repeated",type:"SLFrameDebug",id:15},predictionHeader:{type:"apollo.common.Header",id:16},signalLight:{type:"SignalLightDebug",id:17},obstacle:{rule:"repeated",type:"ObstacleDebug",id:18},referenceLine:{rule:"repeated",type:"ReferenceLineDebug",id:19},dpPolyGraph:{type:"DpPolyGraphDebug",id:20},latticeStImage:{type:"LatticeStTraining",id:21}}},LatticeStPixel:{fields:{s:{type:"int32",id:1},t:{type:"int32",id:2},r:{type:"uint32",id:3},g:{type:"uint32",id:4},b:{type:"uint32",id:5}}},LatticeStTraining:{fields:{pixel:{rule:"repeated",type:"LatticeStPixel",id:1},timestamp:{type:"double",id:2},annotation:{type:"string",id:3},numSGrids:{type:"uint32",id:4},numTGrids:{type:"uint32",id:5},sResolution:{type:"double",id:6},tResolution:{type:"double",id:7}}},CloudReferenceLineRequest:{fields:{laneSegment:{rule:"repeated",type:"apollo.routing.LaneSegment",id:1}}},CloudReferenceLineRoutingRequest:{fields:{routing:{type:"apollo.routing.RoutingResponse",id:1}}},CloudReferenceLineResponse:{fields:{segment:{rule:"repeated",type:"apollo.common.Path",id:1}}}}},perception:{nested:{TrafficLightBox:{fields:{x:{type:"int32",id:1},y:{type:"int32",id:2},width:{type:"int32",id:3},height:{type:"int32",id:4},color:{type:"TrafficLight.Color",id:5},selected:{type:"bool",id:6}}},TrafficLightDebug:{fields:{cropbox:{type:"TrafficLightBox",id:1},box:{rule:"repeated",type:"TrafficLightBox",id:2},signalNum:{type:"int32",id:3},validPos:{type:"int32",id:4},tsDiffPos:{type:"double",id:5},tsDiffSys:{type:"double",id:6},projectError:{type:"int32",id:7},distanceToStopLine:{type:"double",id:8},cameraId:{type:"int32",id:9}}},TrafficLight:{fields:{color:{type:"Color",id:1},id:{type:"string",id:2},confidence:{type:"double",id:3,options:{default:1}},trackingTime:{type:"double",id:4}},nested:{Color:{values:{UNKNOWN:0,RED:1,YELLOW:2,GREEN:3,BLACK:4}}}},TrafficLightDetection:{fields:{header:{type:"apollo.common.Header",id:2},trafficLight:{rule:"repeated",type:"TrafficLight",id:1},trafficLightDebug:{type:"TrafficLightDebug",id:3},containLights:{type:"bool",id:4}}},Point:{fields:{x:{type:"double",id:1},y:{type:"double",id:2},z:{type:"double",id:3}}},PerceptionObstacle:{fields:{id:{type:"int32",id:1},position:{type:"Point",id:2},theta:{type:"double",id:3},velocity:{type:"Point",id:4},length:{type:"double",id:5},width:{type:"double",id:6},height:{type:"double",id:7},polygonPoint:{rule:"repeated",type:"Point",id:8},trackingTime:{type:"double",id:9},type:{type:"Type",id:10},timestamp:{type:"double",id:11},pointCloud:{rule:"repeated",type:"double",id:12},confidence:{type:"double",id:13,options:{default:1}},confidenceType:{type:"ConfidenceType",id:14,options:{default:"CONFIDENCE_CNN"}}},nested:{Type:{values:{UNKNOWN:0,UNKNOWN_MOVABLE:1,UNKNOWN_UNMOVABLE:2,PEDESTRIAN:3,BICYCLE:4,VEHICLE:5}},ConfidenceType:{values:{CONFIDENCE_UNKNOWN:0,CONFIDENCE_CNN:1,CONFIDENCE_RADAR:2}}}},CIPVInfo:{fields:{cipvId:{type:"int32",id:1},potentialCipvId:{rule:"repeated",type:"int32",id:2,options:{packed:!1}}}},LaneMarker:{fields:{laneType:{type:"LaneType",id:1},quality:{type:"double",id:2},modelDegree:{type:"int32",id:3},c0Position:{type:"double",id:4},c1HeadingAngle:{type:"double",id:5},c2Curvature:{type:"double",id:6},c3CurvatureDerivative:{type:"double",id:7},viewRange:{type:"double",id:8}},nested:{LaneType:{values:{LANE_TYPE_UNKNOWN:0,LANE_TYPE_DASHED:1,LANE_TYPE_SOLID:2,LANE_TYPE_ROAD_EDGE:3}}}},LaneMarkers:{fields:{leftLaneMarker:{type:"LaneMarker",id:1},rightLaneMarker:{type:"LaneMarker",id:2},nextLeftLaneMarker:{rule:"repeated",type:"LaneMarker",id:3},nextRightLaneMarker:{rule:"repeated",type:"LaneMarker",id:4}}},PerceptionObstacles:{fields:{perceptionObstacle:{rule:"repeated",type:"PerceptionObstacle",id:1},header:{type:"apollo.common.Header",id:2},errorCode:{type:"apollo.common.ErrorCode",id:3,options:{default:"OK"}},laneMarker:{type:"LaneMarkers",id:4},cipvInfo:{type:"CIPVInfo",id:5}}}}},routing:{nested:{LaneWaypoint:{fields:{id:{type:"string",id:1},s:{type:"double",id:2},pose:{type:"apollo.common.PointENU",id:3}}},LaneSegment:{fields:{id:{type:"string",id:1},startS:{type:"double",id:2},endS:{type:"double",id:3}}},RoutingRequest:{fields:{header:{type:"apollo.common.Header",id:1},waypoint:{rule:"repeated",type:"LaneWaypoint",id:2},blacklistedLane:{rule:"repeated",type:"LaneSegment",id:3},blacklistedRoad:{rule:"repeated",type:"string",id:4},broadcast:{type:"bool",id:5,options:{default:!0}}}},Measurement:{fields:{distance:{type:"double",id:1}}},ChangeLaneType:{values:{FORWARD:0,LEFT:1,RIGHT:2}},Passage:{fields:{segment:{rule:"repeated",type:"LaneSegment",id:1},canExit:{type:"bool",id:2},changeLaneType:{type:"ChangeLaneType",id:3,options:{default:"FORWARD"}}}},RoadSegment:{fields:{id:{type:"string",id:1},passage:{rule:"repeated",type:"Passage",id:2}}},RoutingResponse:{fields:{header:{type:"apollo.common.Header",id:1},road:{rule:"repeated",type:"RoadSegment",id:2},measurement:{type:"Measurement",id:3},routingRequest:{type:"RoutingRequest",id:4},mapVersion:{type:"bytes",id:5},status:{type:"apollo.common.StatusPb",id:6}}}}}}}}}},function(e,t,i){"use strict";var o=i(25),r=o.Root.fromJSON(i(28)),n=r.lookupType("apollo.dreamview.SimulationWorld"),s=o.Root.fromJSON(i(26)),d=s.lookupType("apollo.hdmap.Map"),a=o.Root.fromJSON(i(27)),p=a.lookupType("apollo.dreamview.PointCloud");self.addEventListener("message",function(e){var t=null,i=e.data.data;switch(e.data.source){case"realtime":"string"==typeof i?t=JSON.parse(i):(t=n.toObject(n.decode(new Uint8Array(i)),{enums:String}),t.type="SimWorldUpdate");break;case"map":t=d.toObject(d.decode(new Uint8Array(i)),{enums:String}),t.type="MapData";break;case"point_cloud":t="string"==typeof i?JSON.parse(i):p.toObject(p.decode(new Uint8Array(i)),{arrays:!0})}t&&self.postMessage(t)})},function(e,t,i){"use strict";var o=t;o.length=function(e){var t=e.length;if(!t)return 0;for(var i=0;--t%4>1&&"="===e.charAt(t);)++i;return Math.ceil(3*e.length)/4-i};for(var r=new Array(64),n=new Array(123),s=0;s<64;)n[r[s]=s<26?s+65:s<52?s+71:s<62?s-4:s-59|43]=s++;o.encode=function(e,t,i){for(var o,n=null,s=[],d=0,a=0;t<i;){var p=e[t++];switch(a){case 0:s[d++]=r[p>>2],o=(3&p)<<4,a=1;break;case 1:s[d++]=r[o|p>>4],o=(15&p)<<2,a=2;break;case 2:s[d++]=r[o|p>>6],s[d++]=r[63&p],a=0}d>8191&&((n||(n=[])).push(String.fromCharCode.apply(String,s)),d=0)}return a&&(s[d++]=r[o],s[d++]=61,1===a&&(s[d++]=61)),n?(d&&n.push(String.fromCharCode.apply(String,s.slice(0,d))),n.join("")):String.fromCharCode.apply(String,s.slice(0,d))};o.decode=function(e,t,i){for(var o,r=i,s=0,d=0;d<e.length;){var a=e.charCodeAt(d++);if(61===a&&s>1)break;if(void 0===(a=n[a]))throw Error("invalid encoding");switch(s){case 0:o=a,s=1;break;case 1:t[i++]=o<<2|(48&a)>>4,o=a,s=2;break;case 2:t[i++]=(15&o)<<4|(60&a)>>2,o=a,s=3;break;case 3:t[i++]=(3&o)<<6|a,s=0}}if(1===s)throw Error("invalid encoding");return i-r},o.test=function(e){return/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.test(e)}},function(e,t,i){"use strict";function o(e,t){function i(e){if("string"!=typeof e){var t=r();if(o.verbose&&console.log("codegen: "+t),t="return "+t,e){for(var s=Object.keys(e),d=new Array(s.length+1),a=new Array(s.length),p=0;p<s.length;)d[p]=s[p],a[p]=e[s[p++]];return d[p]=t,Function.apply(null,d).apply(null,a)}return Function(t)()}for(var l=new Array(arguments.length-1),u=0;u<l.length;)l[u]=arguments[++u];if(u=0,e=e.replace(/%([%dfijs])/g,function(e,t){var i=l[u++];switch(t){case"d":case"f":return String(Number(i));case"i":return String(Math.floor(i));case"j":return JSON.stringify(i);case"s":return String(i)}return"%"}),u!==l.length)throw Error("parameter count mismatch");return n.push(e),i}function r(i){return"function "+(i||t||"")+"("+(e&&e.join(",")||"")+"){\n "+n.join("\n ")+"\n}"}"string"==typeof e&&(t=e,e=void 0);var n=[];return i.toString=r,i}e.exports=o,o.verbose=!1},function(e,t,i){"use strict";function o(){this._listeners={}}e.exports=o,o.prototype.on=function(e,t,i){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:i||this}),this},o.prototype.off=function(e,t){if(void 0===e)this._listeners={};else if(void 0===t)this._listeners[e]=[];else for(var i=this._listeners[e],o=0;o<i.length;)i[o].fn===t?i.splice(o,1):++o;return this},o.prototype.emit=function(e){var t=this._listeners[e];if(t){for(var i=[],o=1;o<arguments.length;)i.push(arguments[o++]);for(o=0;o<t.length;)t[o].fn.apply(t[o++].ctx,i)}return this}},function(e,t,i){"use strict";function o(e,t,i){return"function"==typeof t?(i=t,t={}):t||(t={}),i?!t.xhr&&s&&s.readFile?s.readFile(e,function(r,n){return r&&"undefined"!=typeof XMLHttpRequest?o.xhr(e,t,i):r?i(r):i(null,t.binary?n:n.toString("utf8"))}):o.xhr(e,t,i):r(o,this,e,t)}e.exports=o;var r=i(11),n=i(12),s=n("fs");o.xhr=function(e,t,i){var o=new XMLHttpRequest;o.onreadystatechange=function(){if(4===o.readyState){if(0!==o.status&&200!==o.status)return i(Error("status "+o.status));if(t.binary){var e=o.response;if(!e){e=[];for(var r=0;r<o.responseText.length;++r)e.push(255&o.responseText.charCodeAt(r))}return i(null,"undefined"!=typeof Uint8Array?new Uint8Array(e):e)}return i(null,o.responseText)}},t.binary&&("overrideMimeType"in o&&o.overrideMimeType("text/plain; charset=x-user-defined"),o.responseType="arraybuffer"),o.open("GET",e),o.send()}},function(e,t,i){"use strict";function o(e){return"undefined"!=typeof Float32Array?function(){function t(e,t,i){n[0]=e,t[i]=s[0],t[i+1]=s[1],t[i+2]=s[2],t[i+3]=s[3]}function i(e,t,i){n[0]=e,t[i]=s[3],t[i+1]=s[2],t[i+2]=s[1],t[i+3]=s[0]}function o(e,t){return s[0]=e[t],s[1]=e[t+1],s[2]=e[t+2],s[3]=e[t+3],n[0]}function r(e,t){return s[3]=e[t],s[2]=e[t+1],s[1]=e[t+2],s[0]=e[t+3],n[0]}var n=new Float32Array([-0]),s=new Uint8Array(n.buffer),d=128===s[3];e.writeFloatLE=d?t:i,e.writeFloatBE=d?i:t,e.readFloatLE=d?o:r,e.readFloatBE=d?r:o}():function(){function t(e,t,i,o){var r=t<0?1:0;if(r&&(t=-t),0===t)e(1/t>0?0:2147483648,i,o);else if(isNaN(t))e(2143289344,i,o);else if(t>3.4028234663852886e38)e((r<<31|2139095040)>>>0,i,o);else if(t<1.1754943508222875e-38)e((r<<31|Math.round(t/1.401298464324817e-45))>>>0,i,o);else{var n=Math.floor(Math.log(t)/Math.LN2),s=8388607&Math.round(t*Math.pow(2,-n)*8388608);e((r<<31|n+127<<23|s)>>>0,i,o)}}function i(e,t,i){var o=e(t,i),r=2*(o>>31)+1,n=o>>>23&255,s=8388607&o;return 255===n?s?NaN:r*(1/0):0===n?1.401298464324817e-45*r*s:r*Math.pow(2,n-150)*(s+8388608)}e.writeFloatLE=t.bind(null,r),e.writeFloatBE=t.bind(null,n),e.readFloatLE=i.bind(null,s),e.readFloatBE=i.bind(null,d)}(),"undefined"!=typeof Float64Array?function(){function t(e,t,i){n[0]=e,t[i]=s[0],t[i+1]=s[1],t[i+2]=s[2],t[i+3]=s[3],t[i+4]=s[4],t[i+5]=s[5],t[i+6]=s[6],t[i+7]=s[7]}function i(e,t,i){n[0]=e,t[i]=s[7],t[i+1]=s[6],t[i+2]=s[5],t[i+3]=s[4],t[i+4]=s[3],t[i+5]=s[2],t[i+6]=s[1],t[i+7]=s[0]}function o(e,t){return s[0]=e[t],s[1]=e[t+1],s[2]=e[t+2],s[3]=e[t+3],s[4]=e[t+4],s[5]=e[t+5],s[6]=e[t+6],s[7]=e[t+7],n[0]}function r(e,t){return s[7]=e[t],s[6]=e[t+1],s[5]=e[t+2],s[4]=e[t+3],s[3]=e[t+4],s[2]=e[t+5],s[1]=e[t+6],s[0]=e[t+7],n[0]}var n=new Float64Array([-0]),s=new Uint8Array(n.buffer),d=128===s[7];e.writeDoubleLE=d?t:i,e.writeDoubleBE=d?i:t,e.readDoubleLE=d?o:r,e.readDoubleBE=d?r:o}():function(){function t(e,t,i,o,r,n){var s=o<0?1:0;if(s&&(o=-o),0===o)e(0,r,n+t),e(1/o>0?0:2147483648,r,n+i);else if(isNaN(o))e(0,r,n+t),e(2146959360,r,n+i);else if(o>1.7976931348623157e308)e(0,r,n+t),e((s<<31|2146435072)>>>0,r,n+i);else{var d;if(o<2.2250738585072014e-308)d=o/5e-324,e(d>>>0,r,n+t),e((s<<31|d/4294967296)>>>0,r,n+i);else{var a=Math.floor(Math.log(o)/Math.LN2);1024===a&&(a=1023),d=o*Math.pow(2,-a),e(4503599627370496*d>>>0,r,n+t),e((s<<31|a+1023<<20|1048576*d&1048575)>>>0,r,n+i)}}}function i(e,t,i,o,r){var n=e(o,r+t),s=e(o,r+i),d=2*(s>>31)+1,a=s>>>20&2047,p=4294967296*(1048575&s)+n;return 2047===a?p?NaN:d*(1/0):0===a?5e-324*d*p:d*Math.pow(2,a-1075)*(p+4503599627370496)}e.writeDoubleLE=t.bind(null,r,0,4),e.writeDoubleBE=t.bind(null,n,4,0),e.readDoubleLE=i.bind(null,s,0,4),e.readDoubleBE=i.bind(null,d,4,0)}(),e}function r(e,t,i){t[i]=255&e,t[i+1]=e>>>8&255,t[i+2]=e>>>16&255,t[i+3]=e>>>24}function n(e,t,i){t[i]=e>>>24,t[i+1]=e>>>16&255,t[i+2]=e>>>8&255,t[i+3]=255&e}function s(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function d(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}e.exports=o(o)},function(e,t,i){"use strict";var o=t,r=o.isAbsolute=function(e){return/^(?:\/|\w+:)/.test(e)},n=o.normalize=function(e){e=e.replace(/\\/g,"/").replace(/\/{2,}/g,"/");var t=e.split("/"),i=r(e),o="";i&&(o=t.shift()+"/");for(var n=0;n<t.length;)".."===t[n]?n>0&&".."!==t[n-1]?t.splice(--n,2):i?t.splice(n,1):++n:"."===t[n]?t.splice(n,1):++n;return o+t.join("/")};o.resolve=function(e,t,i){return i||(t=n(t)),r(t)?t:(i||(e=n(e)),(e=e.replace(/(?:\/|^)[^\/]+$/,"")).length?n(e+"/"+t):t)}},function(e,t,i){"use strict";function o(e,t,i){var o=i||8192,r=o>>>1,n=null,s=o;return function(i){if(i<1||i>r)return e(i);s+i>o&&(n=e(o),s=0);var d=t.call(n,s,s+=i);return 7&s&&(s=1+(7|s)),d}}e.exports=o},function(e,t,i){"use strict";var o=t;o.length=function(e){for(var t=0,i=0,o=0;o<e.length;++o)i=e.charCodeAt(o),i<128?t+=1:i<2048?t+=2:55296==(64512&i)&&56320==(64512&e.charCodeAt(o+1))?(++o,t+=4):t+=3;return t},o.read=function(e,t,i){if(i-t<1)return"";for(var o,r=null,n=[],s=0;t<i;)o=e[t++],o<128?n[s++]=o:o>191&&o<224?n[s++]=(31&o)<<6|63&e[t++]:o>239&&o<365?(o=((7&o)<<18|(63&e[t++])<<12|(63&e[t++])<<6|63&e[t++])-65536,n[s++]=55296+(o>>10),n[s++]=56320+(1023&o)):n[s++]=(15&o)<<12|(63&e[t++])<<6|63&e[t++],s>8191&&((r||(r=[])).push(String.fromCharCode.apply(String,n)),s=0);return r?(s&&r.push(String.fromCharCode.apply(String,n.slice(0,s))),r.join("")):String.fromCharCode.apply(String,n.slice(0,s))},o.write=function(e,t,i){for(var o,r,n=i,s=0;s<e.length;++s)o=e.charCodeAt(s),o<128?t[i++]=o:o<2048?(t[i++]=o>>6|192,t[i++]=63&o|128):55296==(64512&o)&&56320==(64512&(r=e.charCodeAt(s+1)))?(o=65536+((1023&o)<<10)+(1023&r),++s,t[i++]=o>>18|240,t[i++]=o>>12&63|128,t[i++]=o>>6&63|128,t[i++]=63&o|128):(t[i++]=o>>12|224,t[i++]=o>>6&63|128,t[i++]=63&o|128);return i-n}},function(e,t,i){"use strict";function o(e,t,i){return"function"==typeof t?(i=t,t=new n.Root):t||(t=new n.Root),t.load(e,i)}function r(e,t){return t||(t=new n.Root),t.loadSync(e)}var n=e.exports=i(39);n.build="light",n.load=o,n.loadSync=r,n.encoder=i(15),n.decoder=i(14),n.verifier=i(23),n.converter=i(13),n.ReflectionObject=i(4),n.Namespace=i(5),n.Root=i(18),n.Enum=i(1),n.Type=i(22),n.Field=i(3),n.OneOf=i(8),n.MapField=i(16),n.Service=i(21),n.Method=i(17),n.Message=i(7),n.wrappers=i(24),n.types=i(6),n.util=i(0),n.ReflectionObject._configure(n.Root),n.Namespace._configure(n.Type,n.Service),n.Root._configure(n.Type),n.Field._configure(n.Type)},function(e,t,i){"use strict";function o(){r.Reader._configure(r.BufferReader),r.util._configure()}var r=t;r.build="minimal",r.Writer=i(10),r.BufferWriter=i(43),r.Reader=i(9),r.BufferReader=i(40),r.util=i(2),r.rpc=i(20),r.roots=i(19),r.configure=o,r.Writer._configure(r.BufferWriter),o()},function(e,t,i){"use strict";function o(e){r.call(this,e)}e.exports=o;var r=i(9);(o.prototype=Object.create(r.prototype)).constructor=o;var n=i(2);n.Buffer&&(o.prototype._slice=n.Buffer.prototype.slice),o.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len))}},function(e,t,i){"use strict";function o(e,t,i){if("function"!=typeof e)throw TypeError("rpcImpl must be a function");r.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=Boolean(t),this.responseDelimited=Boolean(i)}e.exports=o;var r=i(2);(o.prototype=Object.create(r.EventEmitter.prototype)).constructor=o,o.prototype.rpcCall=function e(t,i,o,n,s){if(!n)throw TypeError("request must be specified");var d=this;if(!s)return r.asPromise(e,d,t,i,o,n);if(!d.rpcImpl)return void setTimeout(function(){s(Error("already ended"))},0);try{return d.rpcImpl(t,i[d.requestDelimited?"encodeDelimited":"encode"](n).finish(),function(e,i){if(e)return d.emit("error",e,t),s(e);if(null===i)return void d.end(!0);if(!(i instanceof o))try{i=o[d.responseDelimited?"decodeDelimited":"decode"](i)}catch(e){return d.emit("error",e,t),s(e)}return d.emit("data",i,t),s(null,i)})}catch(e){return d.emit("error",e,t),void setTimeout(function(){s(e)},0)}},o.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},function(e,t,i){"use strict";function o(e,t){this.lo=e>>>0,this.hi=t>>>0}e.exports=o;var r=i(2),n=o.zero=new o(0,0);n.toNumber=function(){return 0},n.zzEncode=n.zzDecode=function(){return this},n.length=function(){return 1};var s=o.zeroHash="\0\0\0\0\0\0\0\0";o.fromNumber=function(e){if(0===e)return n;var t=e<0;t&&(e=-e);var i=e>>>0,r=(e-i)/4294967296>>>0;return t&&(r=~r>>>0,i=~i>>>0,++i>4294967295&&(i=0,++r>4294967295&&(r=0))),new o(i,r)},o.from=function(e){if("number"==typeof e)return o.fromNumber(e);if(r.isString(e)){if(!r.Long)return o.fromNumber(parseInt(e,10));e=r.Long.fromString(e)}return e.low||e.high?new o(e.low>>>0,e.high>>>0):n},o.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=1+~this.lo>>>0,i=~this.hi>>>0;return t||(i=i+1>>>0),-(t+4294967296*i)}return this.lo+4294967296*this.hi},o.prototype.toLong=function(e){return r.Long?new r.Long(0|this.lo,0|this.hi,Boolean(e)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(e)}};var d=String.prototype.charCodeAt;o.fromHash=function(e){return e===s?n:new o((d.call(e,0)|d.call(e,1)<<8|d.call(e,2)<<16|d.call(e,3)<<24)>>>0,(d.call(e,4)|d.call(e,5)<<8|d.call(e,6)<<16|d.call(e,7)<<24)>>>0)},o.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},o.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},o.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},o.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,i=this.hi>>>24;return 0===i?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:i<128?9:10}},function(e,t,i){"use strict";function o(){n.call(this)}function r(e,t,i){e.length<40?s.utf8.write(e,t,i):t.utf8Write(e,i)}e.exports=o;var n=i(10);(o.prototype=Object.create(n.prototype)).constructor=o;var s=i(2),d=s.Buffer;o.alloc=function(e){return(o.alloc=s._Buffer_allocUnsafe)(e)};var a=d&&d.prototype instanceof Uint8Array&&"set"===d.prototype.set.name?function(e,t,i){t.set(e,i)}:function(e,t,i){if(e.copy)e.copy(t,i,0,e.length);else for(var o=0;o<e.length;)t[i++]=e[o++]};o.prototype.bytes=function(e){s.isString(e)&&(e=s._Buffer_from(e,"base64"));var t=e.length>>>0;return this.uint32(t),t&&this._push(a,t,e),this},o.prototype.string=function(e){var t=d.byteLength(e);return this.uint32(t),t&&this._push(r,t,e),this}},function(e,t){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(i=window)}e.exports=i}]);
//# sourceMappingURL=worker.bundle.js.map
\ No newline at end of file
{"version":3,"file":"worker.bundle.js","sources":["webpack:///worker.bundle.js"],"sourcesContent":["!function(e){function t(o){if(i[o])return i[o].exports;var r=i[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var i={};t.m=e,t.c=i,t.i=function(e){return e},t.d=function(e,i,o){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,\"a\",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p=\"/\",t(t.s=29)}([function(e,t,i){\"use strict\";var o,r,n=e.exports=i(2),s=i(19);n.codegen=i(31),n.fetch=i(33),n.path=i(35),n.fs=n.inquire(\"fs\"),n.toArray=function(e){if(e){for(var t=Object.keys(e),i=new Array(t.length),o=0;o<t.length;)i[o]=e[t[o++]];return i}return[]},n.toObject=function(e){for(var t={},i=0;i<e.length;){var o=e[i++],r=e[i++];void 0!==r&&(t[o]=r)}return t};var d=/\\\\/g,a=/\"/g;n.isReserved=function(e){return/^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/.test(e)},n.safeProp=function(e){return!/^[$\\w_]+$/.test(e)||n.isReserved(e)?'[\"'+e.replace(d,\"\\\\\\\\\").replace(a,'\\\\\"')+'\"]':\".\"+e},n.ucFirst=function(e){return e.charAt(0).toUpperCase()+e.substring(1)};var p=/_([a-z])/g;n.camelCase=function(e){return e.substring(0,1)+e.substring(1).replace(p,function(e,t){return t.toUpperCase()})},n.compareFieldsById=function(e,t){return e.id-t.id},n.decorateType=function(e,t){if(e.$type)return t&&e.$type.name!==t&&(n.decorateRoot.remove(e.$type),e.$type.name=t,n.decorateRoot.add(e.$type)),e.$type;o||(o=i(22));var r=new o(t||e.name);return n.decorateRoot.add(r),r.ctor=e,Object.defineProperty(e,\"$type\",{value:r,enumerable:!1}),Object.defineProperty(e.prototype,\"$type\",{value:r,enumerable:!1}),r};var l=0;n.decorateEnum=function(e){if(e.$type)return e.$type;r||(r=i(1));var t=new r(\"Enum\"+l++,e);return n.decorateRoot.add(t),Object.defineProperty(e,\"$type\",{value:t,enumerable:!1}),t},Object.defineProperty(n,\"decorateRoot\",{get:function(){return s.decorated||(s.decorated=new(i(18)))}})},function(e,t,i){\"use strict\";function o(e,t,i,o,n){if(r.call(this,e,i),t&&\"object\"!=typeof t)throw TypeError(\"values must be an object\");if(this.valuesById={},this.values=Object.create(this.valuesById),this.comment=o,this.comments=n||{},this.reserved=void 0,t)for(var s=Object.keys(t),d=0;d<s.length;++d)\"number\"==typeof t[s[d]]&&(this.valuesById[this.values[s[d]]=t[s[d]]]=s[d])}e.exports=o;var r=i(4);((o.prototype=Object.create(r.prototype)).constructor=o).className=\"Enum\";var n=i(5),s=i(0);o.fromJSON=function(e,t){var i=new o(e,t.values,t.options,t.comment,t.comments);return i.reserved=t.reserved,i},o.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return s.toObject([\"options\",this.options,\"values\",this.values,\"reserved\",this.reserved&&this.reserved.length?this.reserved:void 0,\"comment\",t?this.comment:void 0,\"comments\",t?this.comments:void 0])},o.prototype.add=function(e,t,i){if(!s.isString(e))throw TypeError(\"name must be a string\");if(!s.isInteger(t))throw TypeError(\"id must be an integer\");if(void 0!==this.values[e])throw Error(\"duplicate name '\"+e+\"' in \"+this);if(this.isReservedId(t))throw Error(\"id \"+t+\" is reserved in \"+this);if(this.isReservedName(e))throw Error(\"name '\"+e+\"' is reserved in \"+this);if(void 0!==this.valuesById[t]){if(!this.options||!this.options.allow_alias)throw Error(\"duplicate id \"+t+\" in \"+this);this.values[e]=t}else this.valuesById[this.values[e]=t]=e;return this.comments[e]=i||null,this},o.prototype.remove=function(e){if(!s.isString(e))throw TypeError(\"name must be a string\");var t=this.values[e];if(null==t)throw Error(\"name '\"+e+\"' does not exist in \"+this);return delete this.valuesById[t],delete this.values[e],delete this.comments[e],this},o.prototype.isReservedId=function(e){return n.isReservedId(this.reserved,e)},o.prototype.isReservedName=function(e){return n.isReservedName(this.reserved,e)}},function(e,t,i){\"use strict\";(function(e){function o(e,t,i){for(var o=Object.keys(t),r=0;r<o.length;++r)void 0!==e[o[r]]&&i||(e[o[r]]=t[o[r]]);return e}function r(e){function t(e,i){if(!(this instanceof t))return new t(e,i);Object.defineProperty(this,\"message\",{get:function(){return e}}),Error.captureStackTrace?Error.captureStackTrace(this,t):Object.defineProperty(this,\"stack\",{value:(new Error).stack||\"\"}),i&&o(this,i)}return(t.prototype=Object.create(Error.prototype)).constructor=t,Object.defineProperty(t.prototype,\"name\",{get:function(){return e}}),t.prototype.toString=function(){return this.name+\": \"+this.message},t}var n=t;n.asPromise=i(11),n.base64=i(30),n.EventEmitter=i(32),n.float=i(34),n.inquire=i(12),n.utf8=i(37),n.pool=i(36),n.LongBits=i(42),n.emptyArray=Object.freeze?Object.freeze([]):[],n.emptyObject=Object.freeze?Object.freeze({}):{},n.isNode=Boolean(e.process&&e.process.versions&&e.process.versions.node),n.isInteger=Number.isInteger||function(e){return\"number\"==typeof e&&isFinite(e)&&Math.floor(e)===e},n.isString=function(e){return\"string\"==typeof e||e instanceof String},n.isObject=function(e){return e&&\"object\"==typeof e},n.isset=n.isSet=function(e,t){var i=e[t];return!(null==i||!e.hasOwnProperty(t))&&(\"object\"!=typeof i||(Array.isArray(i)?i.length:Object.keys(i).length)>0)},n.Buffer=function(){try{var e=n.inquire(\"buffer\").Buffer;return e.prototype.utf8Write?e:null}catch(e){return null}}(),n._Buffer_from=null,n._Buffer_allocUnsafe=null,n.newBuffer=function(e){return\"number\"==typeof e?n.Buffer?n._Buffer_allocUnsafe(e):new n.Array(e):n.Buffer?n._Buffer_from(e):\"undefined\"==typeof Uint8Array?e:new Uint8Array(e)},n.Array=\"undefined\"!=typeof Uint8Array?Uint8Array:Array,n.Long=e.dcodeIO&&e.dcodeIO.Long||n.inquire(\"long\"),n.key2Re=/^true|false|0|1$/,n.key32Re=/^-?(?:0|[1-9][0-9]*)$/,n.key64Re=/^(?:[\\\\x00-\\\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,n.longToHash=function(e){return e?n.LongBits.from(e).toHash():n.LongBits.zeroHash},n.longFromHash=function(e,t){var i=n.LongBits.fromHash(e);return n.Long?n.Long.fromBits(i.lo,i.hi,t):i.toNumber(Boolean(t))},n.merge=o,n.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},n.newError=r,n.ProtocolError=r(\"ProtocolError\"),n.oneOfGetter=function(e){for(var t={},i=0;i<e.length;++i)t[e[i]]=1;return function(){for(var e=Object.keys(this),i=e.length-1;i>-1;--i)if(1===t[e[i]]&&void 0!==this[e[i]]&&null!==this[e[i]])return e[i]}},n.oneOfSetter=function(e){return function(t){for(var i=0;i<e.length;++i)e[i]!==t&&delete this[e[i]]}},n.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},n._configure=function(){var e=n.Buffer;if(!e)return void(n._Buffer_from=n._Buffer_allocUnsafe=null);n._Buffer_from=e.from!==Uint8Array.from&&e.from||function(t,i){return new e(t,i)},n._Buffer_allocUnsafe=e.allocUnsafe||function(t){return new e(t)}}}).call(t,i(44))},function(e,t,i){\"use strict\";function o(e,t,i,o,n,s,l){if(a.isObject(o)?(l=n,s=o,o=n=void 0):a.isObject(n)&&(l=s,s=n,n=void 0),r.call(this,e,s),!a.isInteger(t)||t<0)throw TypeError(\"id must be a non-negative integer\");if(!a.isString(i))throw TypeError(\"type must be a string\");if(void 0!==o&&!p.test(o=o.toString().toLowerCase()))throw TypeError(\"rule must be a string rule\");if(void 0!==n&&!a.isString(n))throw TypeError(\"extend must be a string\");this.rule=o&&\"optional\"!==o?o:void 0,this.type=i,this.id=t,this.extend=n||void 0,this.required=\"required\"===o,this.optional=!this.required,this.repeated=\"repeated\"===o,this.map=!1,this.message=null,this.partOf=null,this.typeDefault=null,this.defaultValue=null,this.long=!!a.Long&&void 0!==d.long[i],this.bytes=\"bytes\"===i,this.resolvedType=null,this.extensionField=null,this.declaringField=null,this._packed=null,this.comment=l}e.exports=o;var r=i(4);((o.prototype=Object.create(r.prototype)).constructor=o).className=\"Field\";var n,s=i(1),d=i(6),a=i(0),p=/^required|optional|repeated$/;o.fromJSON=function(e,t){return new o(e,t.id,t.type,t.rule,t.extend,t.options,t.comment)},Object.defineProperty(o.prototype,\"packed\",{get:function(){return null===this._packed&&(this._packed=!1!==this.getOption(\"packed\")),this._packed}}),o.prototype.setOption=function(e,t,i){return\"packed\"===e&&(this._packed=null),r.prototype.setOption.call(this,e,t,i)},o.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return a.toObject([\"rule\",\"optional\"!==this.rule&&this.rule||void 0,\"type\",this.type,\"id\",this.id,\"extend\",this.extend,\"options\",this.options,\"comment\",t?this.comment:void 0])},o.prototype.resolve=function(){if(this.resolved)return this;if(void 0===(this.typeDefault=d.defaults[this.type])&&(this.resolvedType=(this.declaringField?this.declaringField.parent:this.parent).lookupTypeOrEnum(this.type),this.resolvedType instanceof n?this.typeDefault=null:this.typeDefault=this.resolvedType.values[Object.keys(this.resolvedType.values)[0]]),this.options&&null!=this.options.default&&(this.typeDefault=this.options.default,this.resolvedType instanceof s&&\"string\"==typeof this.typeDefault&&(this.typeDefault=this.resolvedType.values[this.typeDefault])),this.options&&(!0!==this.options.packed&&(void 0===this.options.packed||!this.resolvedType||this.resolvedType instanceof s)||delete this.options.packed,Object.keys(this.options).length||(this.options=void 0)),this.long)this.typeDefault=a.Long.fromNumber(this.typeDefault,\"u\"===this.type.charAt(0)),Object.freeze&&Object.freeze(this.typeDefault);else if(this.bytes&&\"string\"==typeof this.typeDefault){var e;a.base64.test(this.typeDefault)?a.base64.decode(this.typeDefault,e=a.newBuffer(a.base64.length(this.typeDefault)),0):a.utf8.write(this.typeDefault,e=a.newBuffer(a.utf8.length(this.typeDefault)),0),this.typeDefault=e}return this.map?this.defaultValue=a.emptyObject:this.repeated?this.defaultValue=a.emptyArray:this.defaultValue=this.typeDefault,this.parent instanceof n&&(this.parent.ctor.prototype[this.name]=this.defaultValue),r.prototype.resolve.call(this)},o.d=function(e,t,i,r){return\"function\"==typeof t?t=a.decorateType(t).name:t&&\"object\"==typeof t&&(t=a.decorateEnum(t).name),function(n,s){a.decorateType(n.constructor).add(new o(s,e,t,i,{default:r}))}},o._configure=function(e){n=e}},function(e,t,i){\"use strict\";function o(e,t){if(!n.isString(e))throw TypeError(\"name must be a string\");if(t&&!n.isObject(t))throw TypeError(\"options must be an object\");this.options=t,this.name=e,this.parent=null,this.resolved=!1,this.comment=null,this.filename=null}e.exports=o,o.className=\"ReflectionObject\";var r,n=i(0);Object.defineProperties(o.prototype,{root:{get:function(){for(var e=this;null!==e.parent;)e=e.parent;return e}},fullName:{get:function(){for(var e=[this.name],t=this.parent;t;)e.unshift(t.name),t=t.parent;return e.join(\".\")}}}),o.prototype.toJSON=function(){throw Error()},o.prototype.onAdd=function(e){this.parent&&this.parent!==e&&this.parent.remove(this),this.parent=e,this.resolved=!1;var t=e.root;t instanceof r&&t._handleAdd(this)},o.prototype.onRemove=function(e){var t=e.root;t instanceof r&&t._handleRemove(this),this.parent=null,this.resolved=!1},o.prototype.resolve=function(){return this.resolved?this:(this.root instanceof r&&(this.resolved=!0),this)},o.prototype.getOption=function(e){if(this.options)return this.options[e]},o.prototype.setOption=function(e,t,i){return i&&this.options&&void 0!==this.options[e]||((this.options||(this.options={}))[e]=t),this},o.prototype.setOptions=function(e,t){if(e)for(var i=Object.keys(e),o=0;o<i.length;++o)this.setOption(i[o],e[i[o]],t);return this},o.prototype.toString=function(){var e=this.constructor.className,t=this.fullName;return t.length?e+\" \"+t:e},o._configure=function(e){r=e}},function(e,t,i){\"use strict\";function o(e,t){if(e&&e.length){for(var i={},o=0;o<e.length;++o)i[e[o].name]=e[o].toJSON(t);return i}}function r(e,t){s.call(this,e,t),this.nested=void 0,this._nestedArray=null}function n(e){return e._nestedArray=null,e}e.exports=r;var s=i(4);((r.prototype=Object.create(s.prototype)).constructor=r).className=\"Namespace\";var d,a,p=i(1),l=i(3),u=i(0);r.fromJSON=function(e,t){return new r(e,t.options).addJSON(t.nested)},r.arrayToJSON=o,r.isReservedId=function(e,t){if(e)for(var i=0;i<e.length;++i)if(\"string\"!=typeof e[i]&&e[i][0]<=t&&e[i][1]>=t)return!0;return!1},r.isReservedName=function(e,t){if(e)for(var i=0;i<e.length;++i)if(e[i]===t)return!0;return!1},Object.defineProperty(r.prototype,\"nestedArray\",{get:function(){return this._nestedArray||(this._nestedArray=u.toArray(this.nested))}}),r.prototype.toJSON=function(e){return u.toObject([\"options\",this.options,\"nested\",o(this.nestedArray,e)])},r.prototype.addJSON=function(e){var t=this;if(e)for(var i,o=Object.keys(e),n=0;n<o.length;++n)i=e[o[n]],t.add((void 0!==i.fields?d.fromJSON:void 0!==i.values?p.fromJSON:void 0!==i.methods?a.fromJSON:void 0!==i.id?l.fromJSON:r.fromJSON)(o[n],i));return this},r.prototype.get=function(e){return this.nested&&this.nested[e]||null},r.prototype.getEnum=function(e){if(this.nested&&this.nested[e]instanceof p)return this.nested[e].values;throw Error(\"no such enum: \"+e)},r.prototype.add=function(e){if(!(e instanceof l&&void 0!==e.extend||e instanceof d||e instanceof p||e instanceof a||e instanceof r))throw TypeError(\"object must be a valid nested object\");if(this.nested){var t=this.get(e.name);if(t){if(!(t instanceof r&&e instanceof r)||t instanceof d||t instanceof a)throw Error(\"duplicate name '\"+e.name+\"' in \"+this);for(var i=t.nestedArray,o=0;o<i.length;++o)e.add(i[o]);this.remove(t),this.nested||(this.nested={}),e.setOptions(t.options,!0)}}else this.nested={};return this.nested[e.name]=e,e.onAdd(this),n(this)},r.prototype.remove=function(e){if(!(e instanceof s))throw TypeError(\"object must be a ReflectionObject\");if(e.parent!==this)throw Error(e+\" is not a member of \"+this);return delete this.nested[e.name],Object.keys(this.nested).length||(this.nested=void 0),e.onRemove(this),n(this)},r.prototype.define=function(e,t){if(u.isString(e))e=e.split(\".\");else if(!Array.isArray(e))throw TypeError(\"illegal path\");if(e&&e.length&&\"\"===e[0])throw Error(\"path must be relative\");for(var i=this;e.length>0;){var o=e.shift();if(i.nested&&i.nested[o]){if(!((i=i.nested[o])instanceof r))throw Error(\"path conflicts with non-namespace objects\")}else i.add(i=new r(o))}return t&&i.addJSON(t),i},r.prototype.resolveAll=function(){for(var e=this.nestedArray,t=0;t<e.length;)e[t]instanceof r?e[t++].resolveAll():e[t++].resolve();return this.resolve()},r.prototype.lookup=function(e,t,i){if(\"boolean\"==typeof t?(i=t,t=void 0):t&&!Array.isArray(t)&&(t=[t]),u.isString(e)&&e.length){if(\".\"===e)return this.root;e=e.split(\".\")}else if(!e.length)return this;if(\"\"===e[0])return this.root.lookup(e.slice(1),t);var o=this.get(e[0]);if(o){if(1===e.length){if(!t||t.indexOf(o.constructor)>-1)return o}else if(o instanceof r&&(o=o.lookup(e.slice(1),t,!0)))return o}else for(var n=0;n<this.nestedArray.length;++n)if(this._nestedArray[n]instanceof r&&(o=this._nestedArray[n].lookup(e,t,!0)))return o;return null===this.parent||i?null:this.parent.lookup(e,t)},r.prototype.lookupType=function(e){var t=this.lookup(e,[d]);if(!t)throw Error(\"no such type: \"+e);return t},r.prototype.lookupEnum=function(e){var t=this.lookup(e,[p]);if(!t)throw Error(\"no such Enum '\"+e+\"' in \"+this);return t},r.prototype.lookupTypeOrEnum=function(e){var t=this.lookup(e,[d,p]);if(!t)throw Error(\"no such Type or Enum '\"+e+\"' in \"+this);return t},r.prototype.lookupService=function(e){var t=this.lookup(e,[a]);if(!t)throw Error(\"no such Service '\"+e+\"' in \"+this);return t},r._configure=function(e,t){d=e,a=t}},function(e,t,i){\"use strict\";function o(e,t){var i=0,o={};for(t|=0;i<e.length;)o[s[i+t]]=e[i++];return o}var r=t,n=i(0),s=[\"double\",\"float\",\"int32\",\"uint32\",\"sint32\",\"fixed32\",\"sfixed32\",\"int64\",\"uint64\",\"sint64\",\"fixed64\",\"sfixed64\",\"bool\",\"string\",\"bytes\"];r.basic=o([1,5,0,0,0,5,5,0,0,0,1,1,0,2,2]),r.defaults=o([0,0,0,0,0,0,0,0,0,0,0,0,!1,\"\",n.emptyArray,null]),r.long=o([0,0,0,1,1],7),r.mapKey=o([0,0,0,5,5,0,0,0,1,1,0,2],2),r.packed=o([1,5,0,0,0,5,5,0,0,0,1,1,0])},function(e,t,i){\"use strict\";function o(e){if(e)for(var t=Object.keys(e),i=0;i<t.length;++i)this[t[i]]=e[t[i]]}e.exports=o;var r=i(2);o.create=function(e){return this.$type.create(e)},o.encode=function(e,t){return this.$type.encode(e,t)},o.encodeDelimited=function(e,t){return this.$type.encodeDelimited(e,t)},o.decode=function(e){return this.$type.decode(e)},o.decodeDelimited=function(e){return this.$type.decodeDelimited(e)},o.verify=function(e){return this.$type.verify(e)},o.fromObject=function(e){return this.$type.fromObject(e)},o.toObject=function(e,t){return this.$type.toObject(e,t)},o.prototype.toJSON=function(){return this.$type.toObject(this,r.toJSONOptions)}},function(e,t,i){\"use strict\";function o(e,t,i,o){if(Array.isArray(t)||(i=t,t=void 0),n.call(this,e,i),void 0!==t&&!Array.isArray(t))throw TypeError(\"fieldNames must be an Array\");this.oneof=t||[],this.fieldsArray=[],this.comment=o}function r(e){if(e.parent)for(var t=0;t<e.fieldsArray.length;++t)e.fieldsArray[t].parent||e.parent.add(e.fieldsArray[t])}e.exports=o;var n=i(4);((o.prototype=Object.create(n.prototype)).constructor=o).className=\"OneOf\";var s=i(3),d=i(0);o.fromJSON=function(e,t){return new o(e,t.oneof,t.options,t.comment)},o.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return d.toObject([\"options\",this.options,\"oneof\",this.oneof,\"comment\",t?this.comment:void 0])},o.prototype.add=function(e){if(!(e instanceof s))throw TypeError(\"field must be a Field\");return e.parent&&e.parent!==this.parent&&e.parent.remove(e),this.oneof.push(e.name),this.fieldsArray.push(e),e.partOf=this,r(this),this},o.prototype.remove=function(e){if(!(e instanceof s))throw TypeError(\"field must be a Field\");var t=this.fieldsArray.indexOf(e);if(t<0)throw Error(e+\" is not a member of \"+this);return this.fieldsArray.splice(t,1),t=this.oneof.indexOf(e.name),t>-1&&this.oneof.splice(t,1),e.partOf=null,this},o.prototype.onAdd=function(e){n.prototype.onAdd.call(this,e);for(var t=this,i=0;i<this.oneof.length;++i){var o=e.get(this.oneof[i]);o&&!o.partOf&&(o.partOf=t,t.fieldsArray.push(o))}r(this)},o.prototype.onRemove=function(e){for(var t,i=0;i<this.fieldsArray.length;++i)(t=this.fieldsArray[i]).parent&&t.parent.remove(t);n.prototype.onRemove.call(this,e)},o.d=function(){for(var e=new Array(arguments.length),t=0;t<arguments.length;)e[t]=arguments[t++];return function(t,i){d.decorateType(t.constructor).add(new o(i,e)),Object.defineProperty(t,i,{get:d.oneOfGetter(e),set:d.oneOfSetter(e)})}}},function(e,t,i){\"use strict\";function o(e,t){return RangeError(\"index out of range: \"+e.pos+\" + \"+(t||1)+\" > \"+e.len)}function r(e){this.buf=e,this.pos=0,this.len=e.length}function n(){var e=new l(0,0),t=0;if(!(this.len-this.pos>4)){for(;t<3;++t){if(this.pos>=this.len)throw o(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;if(t=0,this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw o(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error(\"invalid varint encoding\")}function s(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function d(){if(this.pos+8>this.len)throw o(this,8);return new l(s(this.buf,this.pos+=4),s(this.buf,this.pos+=4))}e.exports=r;var a,p=i(2),l=p.LongBits,u=p.utf8,f=\"undefined\"!=typeof Uint8Array?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new r(e);throw Error(\"illegal buffer\")}:function(e){if(Array.isArray(e))return new r(e);throw Error(\"illegal buffer\")};r.create=p.Buffer?function(e){return(r.create=function(e){return p.Buffer.isBuffer(e)?new a(e):f(e)})(e)}:f,r.prototype._slice=p.Array.prototype.subarray||p.Array.prototype.slice,r.prototype.uint32=function(){var e=4294967295;return function(){if(e=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return e;if((this.pos+=5)>this.len)throw this.pos=this.len,o(this,10);return e}}(),r.prototype.int32=function(){return 0|this.uint32()},r.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)|0},r.prototype.bool=function(){return 0!==this.uint32()},r.prototype.fixed32=function(){if(this.pos+4>this.len)throw o(this,4);return s(this.buf,this.pos+=4)},r.prototype.sfixed32=function(){if(this.pos+4>this.len)throw o(this,4);return 0|s(this.buf,this.pos+=4)},r.prototype.float=function(){if(this.pos+4>this.len)throw o(this,4);var e=p.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},r.prototype.double=function(){if(this.pos+8>this.len)throw o(this,4);var e=p.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},r.prototype.bytes=function(){var e=this.uint32(),t=this.pos,i=this.pos+e;if(i>this.len)throw o(this,e);return this.pos+=e,Array.isArray(this.buf)?this.buf.slice(t,i):t===i?new this.buf.constructor(0):this._slice.call(this.buf,t,i)},r.prototype.string=function(){var e=this.bytes();return u.read(e,0,e.length)},r.prototype.skip=function(e){if(\"number\"==typeof e){if(this.pos+e>this.len)throw o(this,e);this.pos+=e}else do{if(this.pos>=this.len)throw o(this)}while(128&this.buf[this.pos++]);return this},r.prototype.skipType=function(e){switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;;){if(4==(e=7&this.uint32()))break;this.skipType(e)}break;case 5:this.skip(4);break;default:throw Error(\"invalid wire type \"+e+\" at offset \"+this.pos)}return this},r._configure=function(e){a=e;var t=p.Long?\"toLong\":\"toNumber\";p.merge(r.prototype,{int64:function(){return n.call(this)[t](!1)},uint64:function(){return n.call(this)[t](!0)},sint64:function(){return n.call(this).zzDecode()[t](!1)},fixed64:function(){return d.call(this)[t](!0)},sfixed64:function(){return d.call(this)[t](!1)}})}},function(e,t,i){\"use strict\";function o(e,t,i){this.fn=e,this.len=t,this.next=void 0,this.val=i}function r(){}function n(e){this.head=e.head,this.tail=e.tail,this.len=e.len,this.next=e.states}function s(){this.len=0,this.head=new o(r,0,0),this.tail=this.head,this.states=null}function d(e,t,i){t[i]=255&e}function a(e,t,i){for(;e>127;)t[i++]=127&e|128,e>>>=7;t[i]=e}function p(e,t){this.len=e,this.next=void 0,this.val=t}function l(e,t,i){for(;e.hi;)t[i++]=127&e.lo|128,e.lo=(e.lo>>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[i++]=127&e.lo|128,e.lo=e.lo>>>7;t[i++]=e.lo}function u(e,t,i){t[i]=255&e,t[i+1]=e>>>8&255,t[i+2]=e>>>16&255,t[i+3]=e>>>24}e.exports=s;var f,c=i(2),y=c.LongBits,h=c.base64,m=c.utf8;s.create=c.Buffer?function(){return(s.create=function(){return new f})()}:function(){return new s},s.alloc=function(e){return new c.Array(e)},c.Array!==Array&&(s.alloc=c.pool(s.alloc,c.Array.prototype.subarray)),s.prototype._push=function(e,t,i){return this.tail=this.tail.next=new o(e,t,i),this.len+=t,this},p.prototype=Object.create(o.prototype),p.prototype.fn=a,s.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new p((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this},s.prototype.int32=function(e){return e<0?this._push(l,10,y.fromNumber(e)):this.uint32(e)},s.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},s.prototype.uint64=function(e){var t=y.from(e);return this._push(l,t.length(),t)},s.prototype.int64=s.prototype.uint64,s.prototype.sint64=function(e){var t=y.from(e).zzEncode();return this._push(l,t.length(),t)},s.prototype.bool=function(e){return this._push(d,1,e?1:0)},s.prototype.fixed32=function(e){return this._push(u,4,e>>>0)},s.prototype.sfixed32=s.prototype.fixed32,s.prototype.fixed64=function(e){var t=y.from(e);return this._push(u,4,t.lo)._push(u,4,t.hi)},s.prototype.sfixed64=s.prototype.fixed64,s.prototype.float=function(e){return this._push(c.float.writeFloatLE,4,e)},s.prototype.double=function(e){return this._push(c.float.writeDoubleLE,8,e)};var g=c.Array.prototype.set?function(e,t,i){t.set(e,i)}:function(e,t,i){for(var o=0;o<e.length;++o)t[i+o]=e[o]};s.prototype.bytes=function(e){var t=e.length>>>0;if(!t)return this._push(d,1,0);if(c.isString(e)){var i=s.alloc(t=h.length(e));h.decode(e,i,0),e=i}return this.uint32(t)._push(g,t,e)},s.prototype.string=function(e){var t=m.length(e);return t?this.uint32(t)._push(m.write,t,e):this._push(d,1,0)},s.prototype.fork=function(){return this.states=new n(this),this.head=this.tail=new o(r,0,0),this.len=0,this},s.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new o(r,0,0),this.len=0),this},s.prototype.ldelim=function(){var e=this.head,t=this.tail,i=this.len;return this.reset().uint32(i),i&&(this.tail.next=e.next,this.tail=t,this.len+=i),this},s.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),i=0;e;)e.fn(e.val,t,i),i+=e.len,e=e.next;return t},s._configure=function(e){f=e}},function(e,t,i){\"use strict\";function o(e,t){for(var i=new Array(arguments.length-1),o=0,r=2,n=!0;r<arguments.length;)i[o++]=arguments[r++];return new Promise(function(r,s){i[o]=function(e){if(n)if(n=!1,e)s(e);else{for(var t=new Array(arguments.length-1),i=0;i<t.length;)t[i++]=arguments[i];r.apply(null,t)}};try{e.apply(t||null,i)}catch(e){n&&(n=!1,s(e))}})}e.exports=o},function(module,exports,__webpack_require__){\"use strict\";function inquire(moduleName){try{var mod=eval(\"quire\".replace(/^/,\"re\"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}module.exports=inquire},function(e,t,i){\"use strict\";function o(e,t,i,o){if(t.resolvedType)if(t.resolvedType instanceof s){e(\"switch(d%s){\",o);for(var r=t.resolvedType.values,n=Object.keys(r),d=0;d<n.length;++d)t.repeated&&r[n[d]]===t.typeDefault&&e(\"default:\"),e(\"case%j:\",n[d])(\"case %i:\",r[n[d]])(\"m%s=%j\",o,r[n[d]])(\"break\");e(\"}\")}else e('if(typeof d%s!==\"object\")',o)(\"throw TypeError(%j)\",t.fullName+\": object expected\")(\"m%s=types[%i].fromObject(d%s)\",o,i,o);else{var a=!1;switch(t.type){case\"double\":case\"float\":e(\"m%s=Number(d%s)\",o,o);break;case\"uint32\":case\"fixed32\":e(\"m%s=d%s>>>0\",o,o);break;case\"int32\":case\"sint32\":case\"sfixed32\":e(\"m%s=d%s|0\",o,o);break;case\"uint64\":a=!0;case\"int64\":case\"sint64\":case\"fixed64\":case\"sfixed64\":e(\"if(util.Long)\")(\"(m%s=util.Long.fromValue(d%s)).unsigned=%j\",o,o,a)('else if(typeof d%s===\"string\")',o)(\"m%s=parseInt(d%s,10)\",o,o)('else if(typeof d%s===\"number\")',o)(\"m%s=d%s\",o,o)('else if(typeof d%s===\"object\")',o)(\"m%s=new util.LongBits(d%s.low>>>0,d%s.high>>>0).toNumber(%s)\",o,o,o,a?\"true\":\"\");break;case\"bytes\":e('if(typeof d%s===\"string\")',o)(\"util.base64.decode(d%s,m%s=util.newBuffer(util.base64.length(d%s)),0)\",o,o,o)(\"else if(d%s.length)\",o)(\"m%s=d%s\",o,o);break;case\"string\":e(\"m%s=String(d%s)\",o,o);break;case\"bool\":e(\"m%s=Boolean(d%s)\",o,o)}}return e}function r(e,t,i,o){if(t.resolvedType)t.resolvedType instanceof s?e(\"d%s=o.enums===String?types[%i].values[m%s]:m%s\",o,i,o,o):e(\"d%s=types[%i].toObject(m%s,o)\",o,i,o);else{var r=!1;switch(t.type){case\"double\":case\"float\":e(\"d%s=o.json&&!isFinite(m%s)?String(m%s):m%s\",o,o,o,o);break;case\"uint64\":r=!0;case\"int64\":case\"sint64\":case\"fixed64\":case\"sfixed64\":e('if(typeof m%s===\"number\")',o)(\"d%s=o.longs===String?String(m%s):m%s\",o,o,o)(\"else\")(\"d%s=o.longs===String?util.Long.prototype.toString.call(m%s):o.longs===Number?new util.LongBits(m%s.low>>>0,m%s.high>>>0).toNumber(%s):m%s\",o,o,o,o,r?\"true\":\"\",o);break;case\"bytes\":e(\"d%s=o.bytes===String?util.base64.encode(m%s,0,m%s.length):o.bytes===Array?Array.prototype.slice.call(m%s):m%s\",o,o,o,o,o);break;default:e(\"d%s=m%s\",o,o)}}return e}var n=t,s=i(1),d=i(0);n.fromObject=function(e){var t=e.fieldsArray,i=d.codegen([\"d\"],e.name+\"$fromObject\")(\"if(d instanceof this.ctor)\")(\"return d\");if(!t.length)return i(\"return new this.ctor\");i(\"var m=new this.ctor\");for(var r=0;r<t.length;++r){var n=t[r].resolve(),a=d.safeProp(n.name);n.map?(i(\"if(d%s){\",a)('if(typeof d%s!==\"object\")',a)(\"throw TypeError(%j)\",n.fullName+\": object expected\")(\"m%s={}\",a)(\"for(var ks=Object.keys(d%s),i=0;i<ks.length;++i){\",a),o(i,n,r,a+\"[ks[i]]\")(\"}\")(\"}\")):n.repeated?(i(\"if(d%s){\",a)(\"if(!Array.isArray(d%s))\",a)(\"throw TypeError(%j)\",n.fullName+\": array expected\")(\"m%s=[]\",a)(\"for(var i=0;i<d%s.length;++i){\",a),o(i,n,r,a+\"[i]\")(\"}\")(\"}\")):(n.resolvedType instanceof s||i(\"if(d%s!=null){\",a),o(i,n,r,a),n.resolvedType instanceof s||i(\"}\"))}return i(\"return m\")},n.toObject=function(e){var t=e.fieldsArray.slice().sort(d.compareFieldsById);if(!t.length)return d.codegen()(\"return {}\");for(var i=d.codegen([\"m\",\"o\"],e.name+\"$toObject\")(\"if(!o)\")(\"o={}\")(\"var d={}\"),o=[],n=[],a=[],p=0;p<t.length;++p)t[p].partOf||(t[p].resolve().repeated?o:t[p].map?n:a).push(t[p]);if(o.length){for(i(\"if(o.arrays||o.defaults){\"),p=0;p<o.length;++p)i(\"d%s=[]\",d.safeProp(o[p].name));i(\"}\")}if(n.length){for(i(\"if(o.objects||o.defaults){\"),p=0;p<n.length;++p)i(\"d%s={}\",d.safeProp(n[p].name));i(\"}\")}if(a.length){for(i(\"if(o.defaults){\"),p=0;p<a.length;++p){var l=a[p],u=d.safeProp(l.name);l.resolvedType instanceof s?i(\"d%s=o.enums===String?%j:%j\",u,l.resolvedType.valuesById[l.typeDefault],l.typeDefault):l.long?i(\"if(util.Long){\")(\"var n=new util.Long(%i,%i,%j)\",l.typeDefault.low,l.typeDefault.high,l.typeDefault.unsigned)(\"d%s=o.longs===String?n.toString():o.longs===Number?n.toNumber():n\",u)(\"}else\")(\"d%s=o.longs===String?%j:%i\",u,l.typeDefault.toString(),l.typeDefault.toNumber()):l.bytes?i(\"d%s=o.bytes===String?%j:%s\",u,String.fromCharCode.apply(String,l.typeDefault),\"[\"+Array.prototype.slice.call(l.typeDefault).join(\",\")+\"]\"):i(\"d%s=%j\",u,l.typeDefault)}i(\"}\")}var f=!1;for(p=0;p<t.length;++p){var l=t[p],c=e._fieldsArray.indexOf(l),u=d.safeProp(l.name);l.map?(f||(f=!0,i(\"var ks2\")),i(\"if(m%s&&(ks2=Object.keys(m%s)).length){\",u,u)(\"d%s={}\",u)(\"for(var j=0;j<ks2.length;++j){\"),r(i,l,c,u+\"[ks2[j]]\")(\"}\")):l.repeated?(i(\"if(m%s&&m%s.length){\",u,u)(\"d%s=[]\",u)(\"for(var j=0;j<m%s.length;++j){\",u),r(i,l,c,u+\"[j]\")(\"}\")):(i(\"if(m%s!=null&&m.hasOwnProperty(%j)){\",u,l.name),r(i,l,c,u),l.partOf&&i(\"if(o.oneofs)\")(\"d%s=%j\",d.safeProp(l.partOf.name),l.name)),i(\"}\")}return i(\"return d\")}},function(e,t,i){\"use strict\";function o(e){return\"missing required '\"+e.name+\"'\"}function r(e){var t=d.codegen([\"r\",\"l\"],e.name+\"$decode\")(\"if(!(r instanceof Reader))\")(\"r=Reader.create(r)\")(\"var c=l===undefined?r.len:r.pos+l,m=new this.ctor\"+(e.fieldsArray.filter(function(e){return e.map}).length?\",k\":\"\"))(\"while(r.pos<c){\")(\"var t=r.uint32()\");e.group&&t(\"if((t&7)===4)\")(\"break\"),t(\"switch(t>>>3){\");for(var i=0;i<e.fieldsArray.length;++i){var r=e._fieldsArray[i].resolve(),a=r.resolvedType instanceof n?\"int32\":r.type,p=\"m\"+d.safeProp(r.name);t(\"case %i:\",r.id),r.map?(t(\"r.skip().pos++\")(\"if(%s===util.emptyObject)\",p)(\"%s={}\",p)(\"k=r.%s()\",r.keyType)(\"r.pos++\"),void 0!==s.long[r.keyType]?void 0===s.basic[a]?t('%s[typeof k===\"object\"?util.longToHash(k):k]=types[%i].decode(r,r.uint32())',p,i):t('%s[typeof k===\"object\"?util.longToHash(k):k]=r.%s()',p,a):void 0===s.basic[a]?t(\"%s[k]=types[%i].decode(r,r.uint32())\",p,i):t(\"%s[k]=r.%s()\",p,a)):r.repeated?(t(\"if(!(%s&&%s.length))\",p,p)(\"%s=[]\",p),void 0!==s.packed[a]&&t(\"if((t&7)===2){\")(\"var c2=r.uint32()+r.pos\")(\"while(r.pos<c2)\")(\"%s.push(r.%s())\",p,a)(\"}else\"),void 0===s.basic[a]?t(r.resolvedType.group?\"%s.push(types[%i].decode(r))\":\"%s.push(types[%i].decode(r,r.uint32()))\",p,i):t(\"%s.push(r.%s())\",p,a)):void 0===s.basic[a]?t(r.resolvedType.group?\"%s=types[%i].decode(r)\":\"%s=types[%i].decode(r,r.uint32())\",p,i):t(\"%s=r.%s()\",p,a),t(\"break\")}for(t(\"default:\")(\"r.skipType(t&7)\")(\"break\")(\"}\")(\"}\"),i=0;i<e._fieldsArray.length;++i){var l=e._fieldsArray[i];l.required&&t(\"if(!m.hasOwnProperty(%j))\",l.name)(\"throw util.ProtocolError(%j,{instance:m})\",o(l))}return t(\"return m\")}e.exports=r;var n=i(1),s=i(6),d=i(0)},function(e,t,i){\"use strict\";function o(e,t,i,o){return t.resolvedType.group?e(\"types[%i].encode(%s,w.uint32(%i)).uint32(%i)\",i,o,(t.id<<3|3)>>>0,(t.id<<3|4)>>>0):e(\"types[%i].encode(%s,w.uint32(%i).fork()).ldelim()\",i,o,(t.id<<3|2)>>>0)}function r(e){for(var t,i,r=d.codegen([\"m\",\"w\"],e.name+\"$encode\")(\"if(!w)\")(\"w=Writer.create()\"),a=e.fieldsArray.slice().sort(d.compareFieldsById),t=0;t<a.length;++t){var p=a[t].resolve(),l=e._fieldsArray.indexOf(p),u=p.resolvedType instanceof n?\"int32\":p.type,f=s.basic[u];i=\"m\"+d.safeProp(p.name),p.map?(r(\"if(%s!=null&&m.hasOwnProperty(%j)){\",i,p.name)(\"for(var ks=Object.keys(%s),i=0;i<ks.length;++i){\",i)(\"w.uint32(%i).fork().uint32(%i).%s(ks[i])\",(p.id<<3|2)>>>0,8|s.mapKey[p.keyType],p.keyType),void 0===f?r(\"types[%i].encode(%s[ks[i]],w.uint32(18).fork()).ldelim().ldelim()\",l,i):r(\".uint32(%i).%s(%s[ks[i]]).ldelim()\",16|f,u,i),r(\"}\")(\"}\")):p.repeated?(r(\"if(%s!=null&&%s.length){\",i,i),p.packed&&void 0!==s.packed[u]?r(\"w.uint32(%i).fork()\",(p.id<<3|2)>>>0)(\"for(var i=0;i<%s.length;++i)\",i)(\"w.%s(%s[i])\",u,i)(\"w.ldelim()\"):(r(\"for(var i=0;i<%s.length;++i)\",i),void 0===f?o(r,p,l,i+\"[i]\"):r(\"w.uint32(%i).%s(%s[i])\",(p.id<<3|f)>>>0,u,i)),r(\"}\")):(p.optional&&r(\"if(%s!=null&&m.hasOwnProperty(%j))\",i,p.name),void 0===f?o(r,p,l,i):r(\"w.uint32(%i).%s(%s)\",(p.id<<3|f)>>>0,u,i))}return r(\"return w\")}e.exports=r;var n=i(1),s=i(6),d=i(0)},function(e,t,i){\"use strict\";function o(e,t,i,o,n,d){if(r.call(this,e,t,o,void 0,void 0,n,d),!s.isString(i))throw TypeError(\"keyType must be a string\");this.keyType=i,this.resolvedKeyType=null,this.map=!0}e.exports=o;var r=i(3);((o.prototype=Object.create(r.prototype)).constructor=o).className=\"MapField\";var n=i(6),s=i(0);o.fromJSON=function(e,t){return new o(e,t.id,t.keyType,t.type,t.options,t.comment)},o.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return s.toObject([\"keyType\",this.keyType,\"type\",this.type,\"id\",this.id,\"extend\",this.extend,\"options\",this.options,\"comment\",t?this.comment:void 0])},o.prototype.resolve=function(){if(this.resolved)return this;if(void 0===n.mapKey[this.keyType])throw Error(\"invalid key type: \"+this.keyType);return r.prototype.resolve.call(this)},o.d=function(e,t,i){return\"function\"==typeof i?i=s.decorateType(i).name:i&&\"object\"==typeof i&&(i=s.decorateEnum(i).name),function(r,n){s.decorateType(r.constructor).add(new o(n,e,t,i))}}},function(e,t,i){\"use strict\";function o(e,t,i,o,s,d,a,p){if(n.isObject(s)?(a=s,s=d=void 0):n.isObject(d)&&(a=d,d=void 0),void 0!==t&&!n.isString(t))throw TypeError(\"type must be a string\");if(!n.isString(i))throw TypeError(\"requestType must be a string\");if(!n.isString(o))throw TypeError(\"responseType must be a string\");r.call(this,e,a),this.type=t||\"rpc\",this.requestType=i,this.requestStream=!!s||void 0,this.responseType=o,this.responseStream=!!d||void 0,this.resolvedRequestType=null,this.resolvedResponseType=null,this.comment=p}e.exports=o;var r=i(4);((o.prototype=Object.create(r.prototype)).constructor=o).className=\"Method\";var n=i(0);o.fromJSON=function(e,t){return new o(e,t.type,t.requestType,t.responseType,t.requestStream,t.responseStream,t.options,t.comment)},o.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return n.toObject([\"type\",\"rpc\"!==this.type&&this.type||void 0,\"requestType\",this.requestType,\"requestStream\",this.requestStream,\"responseType\",this.responseType,\"responseStream\",this.responseStream,\"options\",this.options,\"comment\",t?this.comment:void 0])},o.prototype.resolve=function(){return this.resolved?this:(this.resolvedRequestType=this.parent.lookupType(this.requestType),this.resolvedResponseType=this.parent.lookupType(this.responseType),r.prototype.resolve.call(this))}},function(e,t,i){\"use strict\";function o(e){s.call(this,\"\",e),this.deferred=[],this.files=[]}function r(){}function n(e,t){var i=t.parent.lookup(t.extend);if(i){var o=new l(t.fullName,t.id,t.type,t.rule,void 0,t.options);return o.declaringField=t,t.extensionField=o,i.add(o),!0}return!1}e.exports=o;var s=i(5);((o.prototype=Object.create(s.prototype)).constructor=o).className=\"Root\";var d,a,p,l=i(3),u=i(1),f=i(8),c=i(0);o.fromJSON=function(e,t){return t||(t=new o),e.options&&t.setOptions(e.options),t.addJSON(e.nested)},o.prototype.resolvePath=c.path.resolve,o.prototype.load=function e(t,i,o){function n(e,t){if(o){var i=o;if(o=null,u)throw e;i(e,t)}}function s(e,t){try{if(c.isString(t)&&\"{\"===t.charAt(0)&&(t=JSON.parse(t)),c.isString(t)){a.filename=e;var o,r=a(t,l,i),s=0;if(r.imports)for(;s<r.imports.length;++s)(o=l.resolvePath(e,r.imports[s]))&&d(o);if(r.weakImports)for(s=0;s<r.weakImports.length;++s)(o=l.resolvePath(e,r.weakImports[s]))&&d(o,!0)}else l.setOptions(t.options).addJSON(t.nested)}catch(e){n(e)}u||f||n(null,l)}function d(e,t){var i=e.lastIndexOf(\"google/protobuf/\");if(i>-1){var r=e.substring(i);r in p&&(e=r)}if(!(l.files.indexOf(e)>-1)){if(l.files.push(e),e in p)return void(u?s(e,p[e]):(++f,setTimeout(function(){--f,s(e,p[e])})));if(u){var d;try{d=c.fs.readFileSync(e).toString(\"utf8\")}catch(e){return void(t||n(e))}s(e,d)}else++f,c.fetch(e,function(i,r){if(--f,o)return i?void(t?f||n(null,l):n(i)):void s(e,r)})}}\"function\"==typeof i&&(o=i,i=void 0);var l=this;if(!o)return c.asPromise(e,l,t,i);var u=o===r,f=0;c.isString(t)&&(t=[t]);for(var y,h=0;h<t.length;++h)(y=l.resolvePath(\"\",t[h]))&&d(y);if(u)return l;f||n(null,l)},o.prototype.loadSync=function(e,t){if(!c.isNode)throw Error(\"not supported\");return this.load(e,t,r)},o.prototype.resolveAll=function(){if(this.deferred.length)throw Error(\"unresolvable extensions: \"+this.deferred.map(function(e){return\"'extend \"+e.extend+\"' in \"+e.parent.fullName}).join(\", \"));return s.prototype.resolveAll.call(this)};var y=/^[A-Z]/;o.prototype._handleAdd=function(e){if(e instanceof l)void 0===e.extend||e.extensionField||n(this,e)||this.deferred.push(e);else if(e instanceof u)y.test(e.name)&&(e.parent[e.name]=e.values);else if(!(e instanceof f)){if(e instanceof d)for(var t=0;t<this.deferred.length;)n(this,this.deferred[t])?this.deferred.splice(t,1):++t;for(var i=0;i<e.nestedArray.length;++i)this._handleAdd(e._nestedArray[i]);y.test(e.name)&&(e.parent[e.name]=e)}},o.prototype._handleRemove=function(e){if(e instanceof l){if(void 0!==e.extend)if(e.extensionField)e.extensionField.parent.remove(e.extensionField),e.extensionField=null;else{var t=this.deferred.indexOf(e);t>-1&&this.deferred.splice(t,1)}}else if(e instanceof u)y.test(e.name)&&delete e.parent[e.name];else if(e instanceof s){for(var i=0;i<e.nestedArray.length;++i)this._handleRemove(e._nestedArray[i]);y.test(e.name)&&delete e.parent[e.name]}},o._configure=function(e,t,i){d=e,a=t,p=i}},function(e,t,i){\"use strict\";e.exports={}},function(e,t,i){\"use strict\";t.Service=i(41)},function(e,t,i){\"use strict\";function o(e,t){n.call(this,e,t),this.methods={},this._methodsArray=null}function r(e){return e._methodsArray=null,e}e.exports=o;var n=i(5);((o.prototype=Object.create(n.prototype)).constructor=o).className=\"Service\";var s=i(17),d=i(0),a=i(20);o.fromJSON=function(e,t){var i=new o(e,t.options);if(t.methods)for(var r=Object.keys(t.methods),n=0;n<r.length;++n)i.add(s.fromJSON(r[n],t.methods[r[n]]));return t.nested&&i.addJSON(t.nested),i.comment=t.comment,i},o.prototype.toJSON=function(e){var t=n.prototype.toJSON.call(this,e),i=!!e&&Boolean(e.keepComments);return d.toObject([\"options\",t&&t.options||void 0,\"methods\",n.arrayToJSON(this.methodsArray,e)||{},\"nested\",t&&t.nested||void 0,\"comment\",i?this.comment:void 0])},Object.defineProperty(o.prototype,\"methodsArray\",{get:function(){return this._methodsArray||(this._methodsArray=d.toArray(this.methods))}}),o.prototype.get=function(e){return this.methods[e]||n.prototype.get.call(this,e)},o.prototype.resolveAll=function(){for(var e=this.methodsArray,t=0;t<e.length;++t)e[t].resolve();return n.prototype.resolve.call(this)},o.prototype.add=function(e){if(this.get(e.name))throw Error(\"duplicate name '\"+e.name+\"' in \"+this);return e instanceof s?(this.methods[e.name]=e,e.parent=this,r(this)):n.prototype.add.call(this,e)},o.prototype.remove=function(e){if(e instanceof s){if(this.methods[e.name]!==e)throw Error(e+\" is not a member of \"+this);return delete this.methods[e.name],e.parent=null,r(this)}return n.prototype.remove.call(this,e)},o.prototype.create=function(e,t,i){for(var o,r=new a.Service(e,t,i),n=0;n<this.methodsArray.length;++n){var s=d.lcFirst((o=this._methodsArray[n]).resolve().name).replace(/[^$\\w_]/g,\"\");r[s]=d.codegen([\"r\",\"c\"],d.isReserved(s)?s+\"_\":s)(\"return this.rpcCall(m,q,s,r,c)\")({m:o,q:o.resolvedRequestType.ctor,s:o.resolvedResponseType.ctor})}return r}},function(e,t,i){\"use strict\";function o(e,t){n.call(this,e,t),this.fields={},this.oneofs=void 0,this.extensions=void 0,this.reserved=void 0,this.group=void 0,this._fieldsById=null,this._fieldsArray=null,this._oneofsArray=null,this._ctor=null}function r(e){return e._fieldsById=e._fieldsArray=e._oneofsArray=null,delete e.encode,delete e.decode,delete e.verify,e}e.exports=o;var n=i(5);((o.prototype=Object.create(n.prototype)).constructor=o).className=\"Type\";var s=i(1),d=i(8),a=i(3),p=i(16),l=i(21),u=i(7),f=i(9),c=i(10),y=i(0),h=i(15),m=i(14),g=i(23),v=i(13),b=i(24);Object.defineProperties(o.prototype,{fieldsById:{get:function(){if(this._fieldsById)return this._fieldsById;this._fieldsById={};for(var e=Object.keys(this.fields),t=0;t<e.length;++t){var i=this.fields[e[t]],o=i.id;if(this._fieldsById[o])throw Error(\"duplicate id \"+o+\" in \"+this);this._fieldsById[o]=i}return this._fieldsById}},fieldsArray:{get:function(){return this._fieldsArray||(this._fieldsArray=y.toArray(this.fields))}},oneofsArray:{get:function(){return this._oneofsArray||(this._oneofsArray=y.toArray(this.oneofs))}},ctor:{get:function(){return this._ctor||(this.ctor=o.generateConstructor(this)())},set:function(e){var t=e.prototype;t instanceof u||((e.prototype=new u).constructor=e,y.merge(e.prototype,t)),e.$type=e.prototype.$type=this,y.merge(e,u,!0),this._ctor=e;for(var i=0;i<this.fieldsArray.length;++i)this._fieldsArray[i].resolve();var o={};for(i=0;i<this.oneofsArray.length;++i)o[this._oneofsArray[i].resolve().name]={get:y.oneOfGetter(this._oneofsArray[i].oneof),set:y.oneOfSetter(this._oneofsArray[i].oneof)};i&&Object.defineProperties(e.prototype,o)}}}),o.generateConstructor=function(e){for(var t,i=y.codegen([\"p\"],e.name),o=0;o<e.fieldsArray.length;++o)(t=e._fieldsArray[o]).map?i(\"this%s={}\",y.safeProp(t.name)):t.repeated&&i(\"this%s=[]\",y.safeProp(t.name));return i(\"if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null)\")(\"this[ks[i]]=p[ks[i]]\")},o.fromJSON=function(e,t){var i=new o(e,t.options);i.extensions=t.extensions,i.reserved=t.reserved;for(var r=Object.keys(t.fields),u=0;u<r.length;++u)i.add((void 0!==t.fields[r[u]].keyType?p.fromJSON:a.fromJSON)(r[u],t.fields[r[u]]));if(t.oneofs)for(r=Object.keys(t.oneofs),u=0;u<r.length;++u)i.add(d.fromJSON(r[u],t.oneofs[r[u]]));if(t.nested)for(r=Object.keys(t.nested),u=0;u<r.length;++u){var f=t.nested[r[u]];i.add((void 0!==f.id?a.fromJSON:void 0!==f.fields?o.fromJSON:void 0!==f.values?s.fromJSON:void 0!==f.methods?l.fromJSON:n.fromJSON)(r[u],f))}return t.extensions&&t.extensions.length&&(i.extensions=t.extensions),t.reserved&&t.reserved.length&&(i.reserved=t.reserved),t.group&&(i.group=!0),t.comment&&(i.comment=t.comment),i},o.prototype.toJSON=function(e){var t=n.prototype.toJSON.call(this,e),i=!!e&&Boolean(e.keepComments);return y.toObject([\"options\",t&&t.options||void 0,\"oneofs\",n.arrayToJSON(this.oneofsArray,e),\"fields\",n.arrayToJSON(this.fieldsArray.filter(function(e){return!e.declaringField}),e)||{},\"extensions\",this.extensions&&this.extensions.length?this.extensions:void 0,\"reserved\",this.reserved&&this.reserved.length?this.reserved:void 0,\"group\",this.group||void 0,\"nested\",t&&t.nested||void 0,\"comment\",i?this.comment:void 0])},o.prototype.resolveAll=function(){for(var e=this.fieldsArray,t=0;t<e.length;)e[t++].resolve();var i=this.oneofsArray;for(t=0;t<i.length;)i[t++].resolve();return n.prototype.resolveAll.call(this)},o.prototype.get=function(e){return this.fields[e]||this.oneofs&&this.oneofs[e]||this.nested&&this.nested[e]||null},o.prototype.add=function(e){if(this.get(e.name))throw Error(\"duplicate name '\"+e.name+\"' in \"+this);if(e instanceof a&&void 0===e.extend){if(this._fieldsById?this._fieldsById[e.id]:this.fieldsById[e.id])throw Error(\"duplicate id \"+e.id+\" in \"+this);if(this.isReservedId(e.id))throw Error(\"id \"+e.id+\" is reserved in \"+this);if(this.isReservedName(e.name))throw Error(\"name '\"+e.name+\"' is reserved in \"+this);return e.parent&&e.parent.remove(e),this.fields[e.name]=e,e.message=this,e.onAdd(this),r(this)}return e instanceof d?(this.oneofs||(this.oneofs={}),this.oneofs[e.name]=e,e.onAdd(this),r(this)):n.prototype.add.call(this,e)},o.prototype.remove=function(e){if(e instanceof a&&void 0===e.extend){if(!this.fields||this.fields[e.name]!==e)throw Error(e+\" is not a member of \"+this);return delete this.fields[e.name],e.parent=null,e.onRemove(this),r(this)}if(e instanceof d){if(!this.oneofs||this.oneofs[e.name]!==e)throw Error(e+\" is not a member of \"+this);return delete this.oneofs[e.name],e.parent=null,e.onRemove(this),r(this)}return n.prototype.remove.call(this,e)},o.prototype.isReservedId=function(e){return n.isReservedId(this.reserved,e)},o.prototype.isReservedName=function(e){return n.isReservedName(this.reserved,e)},o.prototype.create=function(e){return new this.ctor(e)},o.prototype.setup=function(){for(var e=this.fullName,t=[],i=0;i<this.fieldsArray.length;++i)t.push(this._fieldsArray[i].resolve().resolvedType);this.encode=h(this)({Writer:c,types:t,util:y}),this.decode=m(this)({Reader:f,types:t,util:y}),this.verify=g(this)({types:t,util:y}),this.fromObject=v.fromObject(this)({types:t,util:y}),this.toObject=v.toObject(this)({types:t,util:y});var o=b[e];if(o){var r=Object.create(this);r.fromObject=this.fromObject,this.fromObject=o.fromObject.bind(r),r.toObject=this.toObject,this.toObject=o.toObject.bind(r)}return this},o.prototype.encode=function(e,t){return this.setup().encode(e,t)},o.prototype.encodeDelimited=function(e,t){return this.encode(e,t&&t.len?t.fork():t).ldelim()},o.prototype.decode=function(e,t){return this.setup().decode(e,t)},o.prototype.decodeDelimited=function(e){return e instanceof f||(e=f.create(e)),this.decode(e,e.uint32())},o.prototype.verify=function(e){return this.setup().verify(e)},o.prototype.fromObject=function(e){return this.setup().fromObject(e)},o.prototype.toObject=function(e,t){return this.setup().toObject(e,t)},o.d=function(e){return function(t){y.decorateType(t,e)}}},function(e,t,i){\"use strict\";function o(e,t){return e.name+\": \"+t+(e.repeated&&\"array\"!==t?\"[]\":e.map&&\"object\"!==t?\"{k:\"+e.keyType+\"}\":\"\")+\" expected\"}function r(e,t,i,r){if(t.resolvedType)if(t.resolvedType instanceof d){e(\"switch(%s){\",r)(\"default:\")(\"return%j\",o(t,\"enum value\"));for(var n=Object.keys(t.resolvedType.values),s=0;s<n.length;++s)e(\"case %i:\",t.resolvedType.values[n[s]]);e(\"break\")(\"}\")}else e(\"{\")(\"var e=types[%i].verify(%s);\",i,r)(\"if(e)\")(\"return%j+e\",t.name+\".\")(\"}\");else switch(t.type){case\"int32\":case\"uint32\":case\"sint32\":case\"fixed32\":case\"sfixed32\":e(\"if(!util.isInteger(%s))\",r)(\"return%j\",o(t,\"integer\"));break;case\"int64\":case\"uint64\":case\"sint64\":case\"fixed64\":case\"sfixed64\":e(\"if(!util.isInteger(%s)&&!(%s&&util.isInteger(%s.low)&&util.isInteger(%s.high)))\",r,r,r,r)(\"return%j\",o(t,\"integer|Long\"));break;case\"float\":case\"double\":e('if(typeof %s!==\"number\")',r)(\"return%j\",o(t,\"number\"));break;case\"bool\":e('if(typeof %s!==\"boolean\")',r)(\"return%j\",o(t,\"boolean\"));break;case\"string\":e(\"if(!util.isString(%s))\",r)(\"return%j\",o(t,\"string\"));break;case\"bytes\":e('if(!(%s&&typeof %s.length===\"number\"||util.isString(%s)))',r,r,r)(\"return%j\",o(t,\"buffer\"))}return e}function n(e,t,i){switch(t.keyType){case\"int32\":case\"uint32\":case\"sint32\":case\"fixed32\":case\"sfixed32\":e(\"if(!util.key32Re.test(%s))\",i)(\"return%j\",o(t,\"integer key\"));break;case\"int64\":case\"uint64\":case\"sint64\":case\"fixed64\":case\"sfixed64\":e(\"if(!util.key64Re.test(%s))\",i)(\"return%j\",o(t,\"integer|Long key\"));break;case\"bool\":e(\"if(!util.key2Re.test(%s))\",i)(\"return%j\",o(t,\"boolean key\"))}return e}function s(e){var t=a.codegen([\"m\"],e.name+\"$verify\")('if(typeof m!==\"object\"||m===null)')(\"return%j\",\"object expected\"),i=e.oneofsArray,s={};i.length&&t(\"var p={}\");for(var d=0;d<e.fieldsArray.length;++d){var p=e._fieldsArray[d].resolve(),l=\"m\"+a.safeProp(p.name);if(p.optional&&t(\"if(%s!=null&&m.hasOwnProperty(%j)){\",l,p.name),p.map)t(\"if(!util.isObject(%s))\",l)(\"return%j\",o(p,\"object\"))(\"var k=Object.keys(%s)\",l)(\"for(var i=0;i<k.length;++i){\"),n(t,p,\"k[i]\"),r(t,p,d,l+\"[k[i]]\")(\"}\");else if(p.repeated)t(\"if(!Array.isArray(%s))\",l)(\"return%j\",o(p,\"array\"))(\"for(var i=0;i<%s.length;++i){\",l),r(t,p,d,l+\"[i]\")(\"}\");else{if(p.partOf){var u=a.safeProp(p.partOf.name);1===s[p.partOf.name]&&t(\"if(p%s===1)\",u)(\"return%j\",p.partOf.name+\": multiple values\"),s[p.partOf.name]=1,t(\"p%s=1\",u)}r(t,p,d,l)}p.optional&&t(\"}\")}return t(\"return null\")}e.exports=s;var d=i(1),a=i(0)},function(e,t,i){\"use strict\";var o=t,r=i(7);o[\".google.protobuf.Any\"]={fromObject:function(e){if(e&&e[\"@type\"]){var t=this.lookup(e[\"@type\"]);if(t){var i=\".\"===e[\"@type\"].charAt(0)?e[\"@type\"].substr(1):e[\"@type\"];return this.create({type_url:\"/\"+i,value:t.encode(t.fromObject(e)).finish()})}}return this.fromObject(e)},toObject:function(e,t){if(t&&t.json&&e.type_url&&e.value){var i=e.type_url.substring(e.type_url.lastIndexOf(\"/\")+1),o=this.lookup(i);o&&(e=o.decode(e.value))}if(!(e instanceof this.ctor)&&e instanceof r){var n=e.$type.toObject(e,t);return n[\"@type\"]=e.$type.fullName,n}return this.toObject(e,t)}}},function(e,t,i){\"use strict\";e.exports=i(38)},function(e,t){e.exports={nested:{apollo:{nested:{hdmap:{nested:{ClearArea:{fields:{id:{type:\"Id\",id:1},overlapId:{rule:\"repeated\",type:\"Id\",id:2},polygon:{type:\"Polygon\",id:3}}},Crosswalk:{fields:{id:{type:\"Id\",id:1},polygon:{type:\"Polygon\",id:2},overlapId:{rule:\"repeated\",type:\"Id\",id:3}}},Polygon:{fields:{point:{rule:\"repeated\",type:\"apollo.common.PointENU\",id:1}}},LineSegment:{fields:{point:{rule:\"repeated\",type:\"apollo.common.PointENU\",id:1}}},CurveSegment:{oneofs:{curveType:{oneof:[\"lineSegment\"]}},fields:{lineSegment:{type:\"LineSegment\",id:1},s:{type:\"double\",id:6},startPosition:{type:\"apollo.common.PointENU\",id:7},heading:{type:\"double\",id:8},length:{type:\"double\",id:9}}},Curve:{fields:{segment:{rule:\"repeated\",type:\"CurveSegment\",id:1}}},Id:{fields:{id:{type:\"string\",id:1}}},Junction:{fields:{id:{type:\"Id\",id:1},polygon:{type:\"Polygon\",id:2},overlapId:{rule:\"repeated\",type:\"Id\",id:3}}},LaneBoundaryType:{fields:{s:{type:\"double\",id:1},types:{rule:\"repeated\",type:\"Type\",id:2,options:{packed:!1}}},nested:{Type:{values:{UNKNOWN:0,DOTTED_YELLOW:1,DOTTED_WHITE:2,SOLID_YELLOW:3,SOLID_WHITE:4,DOUBLE_YELLOW:5,CURB:6}}}},LaneBoundary:{fields:{curve:{type:\"Curve\",id:1},length:{type:\"double\",id:2},virtual:{type:\"bool\",id:3},boundaryType:{rule:\"repeated\",type:\"LaneBoundaryType\",id:4}}},LaneSampleAssociation:{fields:{s:{type:\"double\",id:1},width:{type:\"double\",id:2}}},Lane:{fields:{id:{type:\"Id\",id:1},centralCurve:{type:\"Curve\",id:2},leftBoundary:{type:\"LaneBoundary\",id:3},rightBoundary:{type:\"LaneBoundary\",id:4},length:{type:\"double\",id:5},speedLimit:{type:\"double\",id:6},overlapId:{rule:\"repeated\",type:\"Id\",id:7},predecessorId:{rule:\"repeated\",type:\"Id\",id:8},successorId:{rule:\"repeated\",type:\"Id\",id:9},leftNeighborForwardLaneId:{rule:\"repeated\",type:\"Id\",id:10},rightNeighborForwardLaneId:{rule:\"repeated\",type:\"Id\",id:11},type:{type:\"LaneType\",id:12},turn:{type:\"LaneTurn\",id:13},leftNeighborReverseLaneId:{rule:\"repeated\",type:\"Id\",id:14},rightNeighborReverseLaneId:{rule:\"repeated\",type:\"Id\",id:15},junctionId:{type:\"Id\",id:16},leftSample:{rule:\"repeated\",type:\"LaneSampleAssociation\",id:17},rightSample:{rule:\"repeated\",type:\"LaneSampleAssociation\",id:18},direction:{type:\"LaneDirection\",id:19},leftRoadSample:{rule:\"repeated\",type:\"LaneSampleAssociation\",id:20},rightRoadSample:{rule:\"repeated\",type:\"LaneSampleAssociation\",id:21}},nested:{LaneType:{values:{NONE:1,CITY_DRIVING:2,BIKING:3,SIDEWALK:4,PARKING:5}},LaneTurn:{values:{NO_TURN:1,LEFT_TURN:2,RIGHT_TURN:3,U_TURN:4}},LaneDirection:{values:{FORWARD:1,BACKWARD:2,BIDIRECTION:3}}}},LaneOverlapInfo:{fields:{startS:{type:\"double\",id:1},endS:{type:\"double\",id:2},isMerge:{type:\"bool\",id:3}}},SignalOverlapInfo:{fields:{}},StopSignOverlapInfo:{fields:{}},CrosswalkOverlapInfo:{fields:{}},JunctionOverlapInfo:{fields:{}},YieldOverlapInfo:{fields:{}},ClearAreaOverlapInfo:{fields:{}},SpeedBumpOverlapInfo:{fields:{}},ParkingSpaceOverlapInfo:{fields:{}},ObjectOverlapInfo:{oneofs:{overlapInfo:{oneof:[\"laneOverlapInfo\",\"signalOverlapInfo\",\"stopSignOverlapInfo\",\"crosswalkOverlapInfo\",\"junctionOverlapInfo\",\"yieldSignOverlapInfo\",\"clearAreaOverlapInfo\",\"speedBumpOverlapInfo\",\"parkingSpaceOverlapInfo\"]}},fields:{id:{type:\"Id\",id:1},laneOverlapInfo:{type:\"LaneOverlapInfo\",id:3},signalOverlapInfo:{type:\"SignalOverlapInfo\",id:4},stopSignOverlapInfo:{type:\"StopSignOverlapInfo\",id:5},crosswalkOverlapInfo:{type:\"CrosswalkOverlapInfo\",id:6},junctionOverlapInfo:{type:\"JunctionOverlapInfo\",id:7},yieldSignOverlapInfo:{type:\"YieldOverlapInfo\",id:8},clearAreaOverlapInfo:{type:\"ClearAreaOverlapInfo\",id:9},speedBumpOverlapInfo:{type:\"SpeedBumpOverlapInfo\",id:10},parkingSpaceOverlapInfo:{type:\"ParkingSpaceOverlapInfo\",id:11}}},Overlap:{fields:{id:{type:\"Id\",id:1},object:{rule:\"repeated\",type:\"ObjectOverlapInfo\",id:2}}},Projection:{fields:{proj:{type:\"string\",id:1}}},Header:{fields:{version:{type:\"bytes\",id:1},date:{type:\"bytes\",id:2},projection:{type:\"Projection\",id:3},district:{type:\"bytes\",id:4},generation:{type:\"bytes\",id:5},revMajor:{type:\"bytes\",id:6},revMinor:{type:\"bytes\",id:7},left:{type:\"double\",id:8},top:{type:\"double\",id:9},right:{type:\"double\",id:10},bottom:{type:\"double\",id:11},vendor:{type:\"bytes\",id:12}}},Map:{fields:{header:{type:\"Header\",id:1},crosswalk:{rule:\"repeated\",type:\"Crosswalk\",id:2},junction:{rule:\"repeated\",type:\"Junction\",id:3},lane:{rule:\"repeated\",type:\"Lane\",id:4},stopSign:{rule:\"repeated\",type:\"StopSign\",id:5},signal:{rule:\"repeated\",type:\"Signal\",id:6},yield:{rule:\"repeated\",type:\"YieldSign\",id:7},overlap:{rule:\"repeated\",type:\"Overlap\",id:8},clearArea:{rule:\"repeated\",type:\"ClearArea\",id:9},speedBump:{rule:\"repeated\",type:\"SpeedBump\",id:10},road:{rule:\"repeated\",type:\"Road\",id:11}}},BoundaryEdge:{fields:{curve:{type:\"Curve\",id:1},type:{type:\"Type\",id:2}},nested:{Type:{values:{UNKNOWN:0,NORMAL:1,LEFT_BOUNDARY:2,RIGHT_BOUNDARY:3}}}},BoundaryPolygon:{fields:{edge:{rule:\"repeated\",type:\"BoundaryEdge\",id:1}}},RoadBoundary:{fields:{outerPolygon:{type:\"BoundaryPolygon\",id:1},hole:{rule:\"repeated\",type:\"BoundaryPolygon\",id:2}}},RoadROIBoundary:{fields:{id:{type:\"Id\",id:1},roadBoundaries:{rule:\"repeated\",type:\"RoadBoundary\",id:2}}},RoadSection:{fields:{id:{type:\"Id\",id:1},laneId:{rule:\"repeated\",type:\"Id\",id:2},boundary:{type:\"RoadBoundary\",id:3}}},Road:{fields:{id:{type:\"Id\",id:1},section:{rule:\"repeated\",type:\"RoadSection\",id:2},junctionId:{type:\"Id\",id:3}}},Subsignal:{fields:{id:{type:\"Id\",id:1},type:{type:\"Type\",id:2},location:{type:\"apollo.common.PointENU\",id:3}},nested:{Type:{values:{UNKNOWN:1,CIRCLE:2,ARROW_LEFT:3,ARROW_FORWARD:4,ARROW_RIGHT:5,ARROW_LEFT_AND_FORWARD:6,ARROW_RIGHT_AND_FORWARD:7,ARROW_U_TURN:8}}}},Signal:{fields:{id:{type:\"Id\",id:1},boundary:{type:\"Polygon\",id:2},subsignal:{rule:\"repeated\",type:\"Subsignal\",id:3},overlapId:{rule:\"repeated\",type:\"Id\",id:4},type:{type:\"Type\",id:5},stopLine:{rule:\"repeated\",type:\"Curve\",id:6}},nested:{Type:{values:{UNKNOWN:1,MIX_2_HORIZONTAL:2,MIX_2_VERTICAL:3,MIX_3_HORIZONTAL:4,MIX_3_VERTICAL:5,SINGLE:6}}}},SpeedBump:{fields:{id:{type:\"Id\",id:1},overlapId:{rule:\"repeated\",type:\"Id\",id:2},position:{rule:\"repeated\",type:\"Curve\",id:3}}},SpeedControl:{fields:{name:{type:\"string\",id:1},polygon:{type:\"apollo.hdmap.Polygon\",id:2},speedLimit:{type:\"double\",id:3}}},SpeedControls:{fields:{speedControl:{rule:\"repeated\",type:\"SpeedControl\",id:1}}},StopSign:{fields:{id:{type:\"Id\",id:1},stopLine:{rule:\"repeated\",type:\"Curve\",id:2},overlapId:{rule:\"repeated\",type:\"Id\",id:3},type:{type:\"StopType\",id:4}},nested:{StopType:{values:{UNKNOWN:0,ONE_WAY:1,TWO_WAY:2,THREE_WAY:3,FOUR_WAY:4,ALL_WAY:5}}}},YieldSign:{fields:{id:{type:\"Id\",id:1},stopLine:{rule:\"repeated\",type:\"Curve\",id:2},overlapId:{rule:\"repeated\",type:\"Id\",id:3}}}}},common:{nested:{PointENU:{fields:{x:{type:\"double\",id:1,options:{default:null}},y:{type:\"double\",id:2,options:{default:null}},z:{type:\"double\",id:3,options:{default:0}}}},PointLLH:{fields:{lon:{type:\"double\",id:1,options:{default:null}},lat:{type:\"double\",id:2,options:{default:null}},height:{type:\"double\",id:3,options:{default:0}}}},Point2D:{fields:{x:{type:\"double\",id:1,options:{default:null}},y:{type:\"double\",id:2,options:{default:null}}}},Point3D:{fields:{x:{type:\"double\",id:1,options:{default:null}},y:{type:\"double\",id:2,options:{default:null}},z:{type:\"double\",id:3,options:{default:null}}}},Quaternion:{fields:{qx:{type:\"double\",id:1,options:{default:null}},qy:{type:\"double\",id:2,options:{default:null}},qz:{type:\"double\",id:3,options:{default:null}},qw:{type:\"double\",id:4,options:{default:null}}}},Header:{fields:{timestampSec:{type:\"double\",id:1},moduleName:{type:\"string\",id:2},sequenceNum:{type:\"uint32\",id:3},lidarTimestamp:{type:\"uint64\",id:4},cameraTimestamp:{type:\"uint64\",id:5},radarTimestamp:{type:\"uint64\",id:6},version:{type:\"uint32\",id:7,options:{default:1}},status:{type:\"StatusPb\",id:8}}},ErrorCode:{values:{OK:0,CONTROL_ERROR:1e3,CONTROL_INIT_ERROR:1001,CONTROL_COMPUTE_ERROR:1002,CANBUS_ERROR:2e3,CAN_CLIENT_ERROR_BASE:2100,CAN_CLIENT_ERROR_OPEN_DEVICE_FAILED:2101,CAN_CLIENT_ERROR_FRAME_NUM:2102,CAN_CLIENT_ERROR_SEND_FAILED:2103,CAN_CLIENT_ERROR_RECV_FAILED:2104,LOCALIZATION_ERROR:3e3,LOCALIZATION_ERROR_MSG:3100,LOCALIZATION_ERROR_LIDAR:3200,LOCALIZATION_ERROR_INTEG:3300,LOCALIZATION_ERROR_GNSS:3400,PERCEPTION_ERROR:4e3,PERCEPTION_ERROR_TF:4001,PERCEPTION_ERROR_PROCESS:4002,PERCEPTION_FATAL:4003,PREDICTION_ERROR:5e3,PLANNING_ERROR:6e3,HDMAP_DATA_ERROR:7e3,ROUTING_ERROR:8e3,ROUTING_ERROR_REQUEST:8001,ROUTING_ERROR_RESPONSE:8002,ROUTING_ERROR_NOT_READY:8003,END_OF_INPUT:9e3,HTTP_LOGIC_ERROR:1e4,HTTP_RUNTIME_ERROR:10001,RELATIVE_MAP_ERROR:11e3,RELATIVE_MAP_NOT_READY:11001}},StatusPb:{fields:{errorCode:{type:\"ErrorCode\",id:1,options:{default:\"OK\"}},msg:{type:\"string\",id:2}}}}}}}}}},function(e,t){e.exports={nested:{apollo:{nested:{dreamview:{nested:{PointCloud:{fields:{num:{rule:\"repeated\",type:\"float\",id:1,options:{packed:!1}}}}}}}}}}},function(e,t){e.exports={nested:{apollo:{nested:{dreamview:{nested:{PolygonPoint:{fields:{x:{type:\"double\",id:1},y:{type:\"double\",id:2},z:{type:\"double\",id:3,options:{default:0}}}},Prediction:{fields:{probability:{type:\"double\",id:1},predictedTrajectory:{rule:\"repeated\",type:\"PolygonPoint\",id:2}}},Decision:{fields:{type:{type:\"Type\",id:1,options:{default:\"IGNORE\"}},polygonPoint:{rule:\"repeated\",type:\"PolygonPoint\",id:2},heading:{type:\"double\",id:3},latitude:{type:\"double\",id:4},longitude:{type:\"double\",id:5},positionX:{type:\"double\",id:6},positionY:{type:\"double\",id:7},length:{type:\"double\",id:8,options:{default:2.8}},width:{type:\"double\",id:9,options:{default:1.4}},height:{type:\"double\",id:10,options:{default:1.8}},stopReason:{type:\"StopReasonCode\",id:11}},nested:{Type:{values:{IGNORE:0,STOP:1,NUDGE:2,YIELD:3,OVERTAKE:4,FOLLOW:5,SIDEPASS:6}},StopReasonCode:{values:{STOP_REASON_HEAD_VEHICLE:1,STOP_REASON_DESTINATION:2,STOP_REASON_PEDESTRIAN:3,STOP_REASON_OBSTACLE:4,STOP_REASON_SIGNAL:100,STOP_REASON_STOP_SIGN:101,STOP_REASON_YIELD_SIGN:102,STOP_REASON_CLEAR_ZONE:103,STOP_REASON_CROSSWALK:104,STOP_REASON_EMERGENCY:105,STOP_REASON_NOT_READY:106}}}},Object:{fields:{id:{type:\"string\",id:1},polygonPoint:{rule:\"repeated\",type:\"PolygonPoint\",id:2},heading:{type:\"double\",id:3},latitude:{type:\"double\",id:4},longitude:{type:\"double\",id:5},positionX:{type:\"double\",id:6},positionY:{type:\"double\",id:7},length:{type:\"double\",id:8,options:{default:2.8}},width:{type:\"double\",id:9,options:{default:1.4}},height:{type:\"double\",id:10,options:{default:1.8}},speed:{type:\"double\",id:11},speedAcceleration:{type:\"double\",id:12},speedJerk:{type:\"double\",id:13},spin:{type:\"double\",id:14},spinAcceleration:{type:\"double\",id:15},spinJerk:{type:\"double\",id:16},speedHeading:{type:\"double\",id:17},kappa:{type:\"double\",id:18},signalSet:{rule:\"repeated\",type:\"string\",id:19},currentSignal:{type:\"string\",id:20},timestampSec:{type:\"double\",id:21},decision:{rule:\"repeated\",type:\"Decision\",id:22},throttlePercentage:{type:\"double\",id:23},brakePercentage:{type:\"double\",id:24},steeringPercentage:{type:\"double\",id:25},steeringAngle:{type:\"double\",id:26},steeringRatio:{type:\"double\",id:27},disengageType:{type:\"DisengageType\",id:28},type:{type:\"Type\",id:29},prediction:{rule:\"repeated\",type:\"Prediction\",id:30},confidence:{type:\"double\",id:31,options:{default:1}}},nested:{DisengageType:{values:{DISENGAGE_NONE:0,DISENGAGE_UNKNOWN:1,DISENGAGE_MANUAL:2,DISENGAGE_EMERGENCY:3,DISENGAGE_AUTO_STEER_ONLY:4,DISENGAGE_AUTO_SPEED_ONLY:5,DISENGAGE_CHASSIS_ERROR:6}},Type:{values:{UNKNOWN:0,UNKNOWN_MOVABLE:1,UNKNOWN_UNMOVABLE:2,PEDESTRIAN:3,BICYCLE:4,VEHICLE:5,VIRTUAL:6}}}},DelaysInMs:{fields:{chassis:{type:\"double\",id:1},localization:{type:\"double\",id:3},perceptionObstacle:{type:\"double\",id:4},planning:{type:\"double\",id:5},prediction:{type:\"double\",id:7},trafficLight:{type:\"double\",id:8}}},RoutePath:{fields:{point:{rule:\"repeated\",type:\"PolygonPoint\",id:1}}},Latency:{fields:{planning:{type:\"double\",id:1}}},MapElementIds:{fields:{lane:{rule:\"repeated\",type:\"string\",id:1},crosswalk:{rule:\"repeated\",type:\"string\",id:2},junction:{rule:\"repeated\",type:\"string\",id:3},signal:{rule:\"repeated\",type:\"string\",id:4},stopSign:{rule:\"repeated\",type:\"string\",id:5},yield:{rule:\"repeated\",type:\"string\",id:6},overlap:{rule:\"repeated\",type:\"string\",id:7},road:{rule:\"repeated\",type:\"string\",id:8},clearArea:{rule:\"repeated\",type:\"string\",id:9}}},ControlData:{fields:{timestampSec:{type:\"double\",id:1},stationError:{type:\"double\",id:2}}},SimulationWorld:{fields:{timestamp:{type:\"double\",id:1},sequenceNum:{type:\"uint32\",id:2},object:{rule:\"repeated\",type:\"Object\",id:3},autoDrivingCar:{type:\"Object\",id:4},trafficSignal:{type:\"Object\",id:5},routePath:{rule:\"repeated\",type:\"RoutePath\",id:6},routingTime:{type:\"double\",id:7},planningTrajectory:{rule:\"repeated\",type:\"Object\",id:8},mainStop:{type:\"Object\",id:9},speedLimit:{type:\"double\",id:10},delay:{type:\"DelaysInMs\",id:11},monitor:{type:\"apollo.common.monitor.MonitorMessage\",id:12},engageAdvice:{type:\"string\",id:13},latency:{type:\"Latency\",id:14},mapElementIds:{type:\"MapElementIds\",id:15},mapHash:{type:\"uint64\",id:16},mapRadius:{type:\"double\",id:17},planningTime:{type:\"double\",id:18},planningData:{type:\"apollo.planning_internal.PlanningData\",id:19},gps:{type:\"Object\",id:20},laneMarker:{type:\"apollo.perception.LaneMarkers\",id:21},controlData:{type:\"ControlData\",id:22},navigationPath:{rule:\"repeated\",type:\"apollo.common.Path\",id:23}}}}},common:{nested:{DriveEvent:{fields:{header:{type:\"apollo.common.Header\",id:1},event:{type:\"string\",id:2},location:{type:\"apollo.localization.Pose\",id:3}}},EngageAdvice:{fields:{advice:{type:\"Advice\",id:1,options:{default:\"DISALLOW_ENGAGE\"}},reason:{type:\"string\",id:2}},nested:{Advice:{values:{UNKNOWN:0,DISALLOW_ENGAGE:1,READY_TO_ENGAGE:2,KEEP_ENGAGED:3,PREPARE_DISENGAGE:4}}}},ErrorCode:{values:{OK:0,CONTROL_ERROR:1e3,CONTROL_INIT_ERROR:1001,CONTROL_COMPUTE_ERROR:1002,CANBUS_ERROR:2e3,CAN_CLIENT_ERROR_BASE:2100,CAN_CLIENT_ERROR_OPEN_DEVICE_FAILED:2101,CAN_CLIENT_ERROR_FRAME_NUM:2102,CAN_CLIENT_ERROR_SEND_FAILED:2103,CAN_CLIENT_ERROR_RECV_FAILED:2104,LOCALIZATION_ERROR:3e3,LOCALIZATION_ERROR_MSG:3100,LOCALIZATION_ERROR_LIDAR:3200,LOCALIZATION_ERROR_INTEG:3300,LOCALIZATION_ERROR_GNSS:3400,PERCEPTION_ERROR:4e3,PERCEPTION_ERROR_TF:4001,PERCEPTION_ERROR_PROCESS:4002,PERCEPTION_FATAL:4003,PREDICTION_ERROR:5e3,PLANNING_ERROR:6e3,HDMAP_DATA_ERROR:7e3,ROUTING_ERROR:8e3,ROUTING_ERROR_REQUEST:8001,ROUTING_ERROR_RESPONSE:8002,ROUTING_ERROR_NOT_READY:8003,END_OF_INPUT:9e3,HTTP_LOGIC_ERROR:1e4,HTTP_RUNTIME_ERROR:10001,RELATIVE_MAP_ERROR:11e3,RELATIVE_MAP_NOT_READY:11001}},StatusPb:{fields:{errorCode:{type:\"ErrorCode\",id:1,options:{default:\"OK\"}},msg:{type:\"string\",id:2}}},PointENU:{fields:{x:{type:\"double\",id:1,options:{default:null}},y:{type:\"double\",id:2,options:{default:null}},z:{type:\"double\",id:3,options:{default:0}}}},PointLLH:{fields:{lon:{type:\"double\",id:1,options:{default:null}},lat:{type:\"double\",id:2,options:{default:null}},height:{type:\"double\",id:3,options:{default:0}}}},Point2D:{fields:{x:{type:\"double\",id:1,options:{default:null}},y:{type:\"double\",id:2,options:{default:null}}}},Point3D:{fields:{x:{type:\"double\",id:1,options:{default:null}},y:{type:\"double\",id:2,options:{default:null}},z:{type:\"double\",id:3,options:{default:null}}}},Quaternion:{fields:{qx:{type:\"double\",id:1,options:{default:null}},qy:{type:\"double\",id:2,options:{default:null}},qz:{type:\"double\",id:3,options:{default:null}},qw:{type:\"double\",id:4,options:{default:null}}}},Header:{fields:{timestampSec:{type:\"double\",id:1},moduleName:{type:\"string\",id:2},sequenceNum:{type:\"uint32\",id:3},lidarTimestamp:{type:\"uint64\",id:4},cameraTimestamp:{type:\"uint64\",id:5},radarTimestamp:{type:\"uint64\",id:6},version:{type:\"uint32\",id:7,options:{default:1}},status:{type:\"StatusPb\",id:8}}},SLPoint:{fields:{s:{type:\"double\",id:1},l:{type:\"double\",id:2}}},FrenetFramePoint:{fields:{s:{type:\"double\",id:1},l:{type:\"double\",id:2},dl:{type:\"double\",id:3},ddl:{type:\"double\",id:4}}},SpeedPoint:{fields:{s:{type:\"double\",id:1},t:{type:\"double\",id:2},v:{type:\"double\",id:3},a:{type:\"double\",id:4},da:{type:\"double\",id:5}}},PathPoint:{fields:{x:{type:\"double\",id:1},y:{type:\"double\",id:2},z:{type:\"double\",id:3},theta:{type:\"double\",id:4},kappa:{type:\"double\",id:5},s:{type:\"double\",id:6},dkappa:{type:\"double\",id:7},ddkappa:{type:\"double\",id:8},laneId:{type:\"string\",id:9}}},Path:{fields:{name:{type:\"string\",id:1},pathPoint:{rule:\"repeated\",type:\"PathPoint\",id:2}}},TrajectoryPoint:{fields:{pathPoint:{type:\"PathPoint\",id:1},v:{type:\"double\",id:2},a:{type:\"double\",id:3},relativeTime:{type:\"double\",id:4}}},VehicleSignal:{fields:{turnSignal:{type:\"TurnSignal\",id:1},highBeam:{type:\"bool\",id:2},lowBeam:{type:\"bool\",id:3},horn:{type:\"bool\",id:4},emergencyLight:{type:\"bool\",id:5}},nested:{TurnSignal:{values:{TURN_NONE:0,TURN_LEFT:1,TURN_RIGHT:2}}}},monitor:{nested:{MonitorMessageItem:{fields:{source:{type:\"MessageSource\",id:1,options:{default:\"UNKNOWN\"}},msg:{type:\"string\",id:2},logLevel:{type:\"LogLevel\",id:3,options:{default:\"INFO\"}}},nested:{MessageSource:{values:{UNKNOWN:1,CANBUS:2,CONTROL:3,DECISION:4,LOCALIZATION:5,PLANNING:6,PREDICTION:7,SIMULATOR:8,HWSYS:9,ROUTING:10,MONITOR:11,HMI:12,RELATIVE_MAP:13}},LogLevel:{values:{INFO:0,WARN:1,ERROR:2,FATAL:3}}}},MonitorMessage:{fields:{header:{type:\"apollo.common.Header\",id:1},item:{rule:\"repeated\",type:\"MonitorMessageItem\",id:2}}}}}}},localization:{nested:{Uncertainty:{fields:{positionStdDev:{type:\"apollo.common.Point3D\",id:1},orientationStdDev:{type:\"apollo.common.Point3D\",id:2},linearVelocityStdDev:{type:\"apollo.common.Point3D\",id:3},linearAccelerationStdDev:{type:\"apollo.common.Point3D\",id:4},angularVelocityStdDev:{type:\"apollo.common.Point3D\",id:5}}},LocalizationEstimate:{fields:{header:{type:\"apollo.common.Header\",id:1},pose:{type:\"apollo.localization.Pose\",id:2},uncertainty:{type:\"Uncertainty\",id:3},measurementTime:{type:\"double\",id:4},trajectoryPoint:{rule:\"repeated\",type:\"apollo.common.TrajectoryPoint\",id:5}}},MeasureState:{values:{NOT_VALID:0,NOT_STABLE:1,OK:2,VALID:3}},LocalizationStatus:{fields:{header:{type:\"apollo.common.Header\",id:1},fusionStatus:{type:\"MeasureState\",id:2},gnssStatus:{type:\"MeasureState\",id:3},lidarStatus:{type:\"MeasureState\",id:4},measurementTime:{type:\"double\",id:5}}},Pose:{fields:{position:{type:\"apollo.common.PointENU\",id:1},orientation:{type:\"apollo.common.Quaternion\",id:2},linearVelocity:{type:\"apollo.common.Point3D\",id:3},linearAcceleration:{type:\"apollo.common.Point3D\",id:4},angularVelocity:{type:\"apollo.common.Point3D\",id:5},heading:{type:\"double\",id:6},linearAccelerationVrf:{type:\"apollo.common.Point3D\",id:7},angularVelocityVrf:{type:\"apollo.common.Point3D\",id:8},eulerAngles:{type:\"apollo.common.Point3D\",id:9}}}}},canbus:{nested:{Chassis:{fields:{engineStarted:{type:\"bool\",id:3},engineRpm:{type:\"float\",id:4,options:{default:null}},speedMps:{type:\"float\",id:5,options:{default:null}},odometerM:{type:\"float\",id:6,options:{default:null}},fuelRangeM:{type:\"int32\",id:7},throttlePercentage:{type:\"float\",id:8,options:{default:null}},brakePercentage:{type:\"float\",id:9,options:{default:null}},steeringPercentage:{type:\"float\",id:11,options:{default:null}},steeringTorqueNm:{type:\"float\",id:12,options:{default:null}},parkingBrake:{type:\"bool\",id:13},highBeamSignal:{type:\"bool\",id:14,options:{deprecated:!0}},lowBeamSignal:{type:\"bool\",id:15,options:{deprecated:!0}},leftTurnSignal:{type:\"bool\",id:16,options:{deprecated:!0}},rightTurnSignal:{type:\"bool\",id:17,options:{deprecated:!0}},horn:{type:\"bool\",id:18,options:{deprecated:!0}},wiper:{type:\"bool\",id:19},disengageStatus:{type:\"bool\",id:20,options:{deprecated:!0}},drivingMode:{type:\"DrivingMode\",id:21,options:{default:\"COMPLETE_MANUAL\"}},errorCode:{type:\"ErrorCode\",id:22,options:{default:\"NO_ERROR\"}},gearLocation:{type:\"GearPosition\",id:23},steeringTimestamp:{type:\"double\",id:24},header:{type:\"apollo.common.Header\",id:25},chassisErrorMask:{type:\"int32\",id:26,options:{default:0}},signal:{type:\"apollo.common.VehicleSignal\",id:27},chassisGps:{type:\"ChassisGPS\",id:28},engageAdvice:{type:\"apollo.common.EngageAdvice\",id:29}},nested:{DrivingMode:{values:{COMPLETE_MANUAL:0,COMPLETE_AUTO_DRIVE:1,AUTO_STEER_ONLY:2,AUTO_SPEED_ONLY:3,EMERGENCY_MODE:4}},ErrorCode:{values:{NO_ERROR:0,CMD_NOT_IN_PERIOD:1,CHASSIS_ERROR:2,MANUAL_INTERVENTION:3,CHASSIS_CAN_NOT_IN_PERIOD:4,UNKNOWN_ERROR:5}},GearPosition:{values:{GEAR_NEUTRAL:0,GEAR_DRIVE:1,GEAR_REVERSE:2,GEAR_PARKING:3,GEAR_LOW:4,GEAR_INVALID:5,GEAR_NONE:6}}}},ChassisGPS:{fields:{latitude:{type:\"double\",id:1},longitude:{type:\"double\",id:2},gpsValid:{type:\"bool\",id:3},year:{type:\"int32\",id:4},month:{type:\"int32\",id:5},day:{type:\"int32\",id:6},hours:{type:\"int32\",id:7},minutes:{type:\"int32\",id:8},seconds:{type:\"int32\",id:9},compassDirection:{type:\"double\",id:10},pdop:{type:\"double\",id:11},isGpsFault:{type:\"bool\",id:12},isInferred:{type:\"bool\",id:13},altitude:{type:\"double\",id:14},heading:{type:\"double\",id:15},hdop:{type:\"double\",id:16},vdop:{type:\"double\",id:17},quality:{type:\"GpsQuality\",id:18},numSatellites:{type:\"int32\",id:19},gpsSpeed:{type:\"double\",id:20}}},GpsQuality:{values:{FIX_NO:0,FIX_2D:1,FIX_3D:2,FIX_INVALID:3}}}},planning:{nested:{SLBoundary:{fields:{startS:{type:\"double\",id:1},endS:{type:\"double\",id:2},startL:{type:\"double\",id:3},endL:{type:\"double\",id:4}}},TargetLane:{fields:{id:{type:\"string\",id:1},startS:{type:\"double\",id:2},endS:{type:\"double\",id:3},speedLimit:{type:\"double\",id:4}}},ObjectIgnore:{fields:{}},StopReasonCode:{values:{STOP_REASON_HEAD_VEHICLE:1,STOP_REASON_DESTINATION:2,STOP_REASON_PEDESTRIAN:3,STOP_REASON_OBSTACLE:4,STOP_REASON_PREPARKING:5,STOP_REASON_SIGNAL:100,STOP_REASON_STOP_SIGN:101,STOP_REASON_YIELD_SIGN:102,STOP_REASON_CLEAR_ZONE:103,STOP_REASON_CROSSWALK:104,STOP_REASON_CREEPER:105}},ObjectStop:{fields:{reasonCode:{type:\"StopReasonCode\",id:1},distanceS:{type:\"double\",id:2},stopPoint:{type:\"apollo.common.PointENU\",id:3},stopHeading:{type:\"double\",id:4}}},ObjectNudge:{fields:{type:{type:\"Type\",id:1},distanceL:{type:\"double\",id:2}},nested:{Type:{values:{LEFT_NUDGE:1,RIGHT_NUDGE:2,NO_NUDGE:3}}}},ObjectYield:{fields:{distanceS:{type:\"double\",id:1},fencePoint:{type:\"apollo.common.PointENU\",id:2},fenceHeading:{type:\"double\",id:3},timeBuffer:{type:\"double\",id:4}}},ObjectFollow:{fields:{distanceS:{type:\"double\",id:1},fencePoint:{type:\"apollo.common.PointENU\",id:2},fenceHeading:{type:\"double\",id:3}}},ObjectOvertake:{fields:{distanceS:{type:\"double\",id:1},fencePoint:{type:\"apollo.common.PointENU\",id:2},fenceHeading:{type:\"double\",id:3},timeBuffer:{type:\"double\",id:4}}},ObjectSidePass:{fields:{type:{type:\"Type\",id:1}},nested:{Type:{values:{LEFT:1,RIGHT:2}}}},ObjectAvoid:{fields:{}},ObjectDecisionType:{oneofs:{objectTag:{oneof:[\"ignore\",\"stop\",\"follow\",\"yield\",\"overtake\",\"nudge\",\"sidepass\",\"avoid\"]}},fields:{ignore:{type:\"ObjectIgnore\",id:1},stop:{type:\"ObjectStop\",id:2},follow:{type:\"ObjectFollow\",id:3},yield:{type:\"ObjectYield\",id:4},overtake:{type:\"ObjectOvertake\",id:5},nudge:{type:\"ObjectNudge\",id:6},sidepass:{type:\"ObjectSidePass\",id:7},avoid:{type:\"ObjectAvoid\",id:8}}},ObjectDecision:{fields:{id:{type:\"string\",id:1},perceptionId:{type:\"int32\",id:2},objectDecision:{rule:\"repeated\",type:\"ObjectDecisionType\",id:3}}},ObjectDecisions:{fields:{decision:{rule:\"repeated\",type:\"ObjectDecision\",id:1}}},MainStop:{fields:{reasonCode:{type:\"StopReasonCode\",id:1},reason:{type:\"string\",id:2},stopPoint:{type:\"apollo.common.PointENU\",id:3},stopHeading:{type:\"double\",id:4},changeLaneType:{type:\"apollo.routing.ChangeLaneType\",id:5}}},EmergencyStopHardBrake:{fields:{}},EmergencyStopCruiseToStop:{fields:{}},MainEmergencyStop:{oneofs:{task:{oneof:[\"hardBrake\",\"cruiseToStop\"]}},fields:{reasonCode:{type:\"ReasonCode\",id:1},reason:{type:\"string\",id:2},hardBrake:{type:\"EmergencyStopHardBrake\",id:3},cruiseToStop:{type:\"EmergencyStopCruiseToStop\",id:4}},nested:{ReasonCode:{values:{ESTOP_REASON_INTERNAL_ERR:1,ESTOP_REASON_COLLISION:2,ESTOP_REASON_ST_FIND_PATH:3,ESTOP_REASON_ST_MAKE_DECISION:4,ESTOP_REASON_SENSOR_ERROR:5}}}},MainCruise:{fields:{changeLaneType:{type:\"apollo.routing.ChangeLaneType\",id:1}}},MainChangeLane:{fields:{type:{type:\"Type\",id:1},defaultLane:{rule:\"repeated\",type:\"TargetLane\",id:2},defaultLaneStop:{type:\"MainStop\",id:3},targetLaneStop:{type:\"MainStop\",id:4}},nested:{Type:{values:{LEFT:1,RIGHT:2}}}},MainMissionComplete:{fields:{stopPoint:{type:\"apollo.common.PointENU\",id:1},stopHeading:{type:\"double\",id:2}}},MainNotReady:{fields:{reason:{type:\"string\",id:1}}},MainParking:{fields:{}},MainDecision:{oneofs:{task:{oneof:[\"cruise\",\"stop\",\"estop\",\"changeLane\",\"missionComplete\",\"notReady\",\"parking\"]}},fields:{cruise:{type:\"MainCruise\",id:1},stop:{type:\"MainStop\",id:2},estop:{type:\"MainEmergencyStop\",id:3},changeLane:{type:\"MainChangeLane\",id:4,options:{deprecated:!0}},missionComplete:{type:\"MainMissionComplete\",id:6},notReady:{type:\"MainNotReady\",id:7},parking:{type:\"MainParking\",id:8},targetLane:{rule:\"repeated\",type:\"TargetLane\",id:5,options:{deprecated:!0}}}},DecisionResult:{fields:{mainDecision:{type:\"MainDecision\",id:1},objectDecision:{type:\"ObjectDecisions\",id:2},vehicleSignal:{type:\"apollo.common.VehicleSignal\",id:3}}}}},planning_internal:{nested:{Debug:{fields:{planningData:{type:\"PlanningData\",id:2}}},SpeedPlan:{fields:{name:{type:\"string\",id:1},speedPoint:{rule:\"repeated\",type:\"apollo.common.SpeedPoint\",id:2}}},StGraphBoundaryDebug:{fields:{name:{type:\"string\",id:1},point:{rule:\"repeated\",type:\"apollo.common.SpeedPoint\",id:2},type:{type:\"StBoundaryType\",id:3}},nested:{StBoundaryType:{values:{ST_BOUNDARY_TYPE_UNKNOWN:1,ST_BOUNDARY_TYPE_STOP:2,ST_BOUNDARY_TYPE_FOLLOW:3,ST_BOUNDARY_TYPE_YIELD:4,ST_BOUNDARY_TYPE_OVERTAKE:5,ST_BOUNDARY_TYPE_KEEP_CLEAR:6}}}},SLFrameDebug:{fields:{name:{type:\"string\",id:1},sampledS:{rule:\"repeated\",type:\"double\",id:2,options:{packed:!1}},staticObstacleLowerBound:{rule:\"repeated\",type:\"double\",id:3,options:{packed:!1}},dynamicObstacleLowerBound:{rule:\"repeated\",type:\"double\",id:4,options:{packed:!1}},staticObstacleUpperBound:{rule:\"repeated\",type:\"double\",id:5,options:{packed:!1}},dynamicObstacleUpperBound:{rule:\"repeated\",type:\"double\",id:6,options:{packed:!1}},mapLowerBound:{rule:\"repeated\",type:\"double\",id:7,options:{packed:!1}},mapUpperBound:{rule:\"repeated\",type:\"double\",id:8,options:{packed:!1}},slPath:{rule:\"repeated\",type:\"apollo.common.SLPoint\",id:9},aggregatedBoundaryS:{rule:\"repeated\",type:\"double\",id:10,options:{packed:!1}},aggregatedBoundaryLow:{rule:\"repeated\",type:\"double\",id:11,options:{packed:!1}},aggregatedBoundaryHigh:{rule:\"repeated\",type:\"double\",id:12,options:{packed:!1}}}},STGraphDebug:{fields:{name:{type:\"string\",id:1},boundary:{rule:\"repeated\",type:\"StGraphBoundaryDebug\",id:2},speedLimit:{rule:\"repeated\",type:\"apollo.common.SpeedPoint\",id:3},speedProfile:{rule:\"repeated\",type:\"apollo.common.SpeedPoint\",id:4},speedConstraint:{type:\"STGraphSpeedConstraint\",id:5},kernelCruiseRef:{type:\"STGraphKernelCuiseRef\",id:6},kernelFollowRef:{type:\"STGraphKernelFollowRef\",id:7}},nested:{STGraphSpeedConstraint:{fields:{t:{rule:\"repeated\",type:\"double\",id:1,options:{packed:!1}},lowerBound:{rule:\"repeated\",type:\"double\",id:2,options:{packed:!1}},upperBound:{rule:\"repeated\",type:\"double\",id:3,options:{packed:!1}}}},STGraphKernelCuiseRef:{fields:{t:{rule:\"repeated\",type:\"double\",id:1,options:{packed:!1}},cruiseLineS:{rule:\"repeated\",type:\"double\",id:2,options:{packed:!1}}}},STGraphKernelFollowRef:{fields:{t:{rule:\"repeated\",type:\"double\",id:1,options:{packed:!1}},followLineS:{rule:\"repeated\",type:\"double\",id:2,options:{packed:!1}}}}}},SignalLightDebug:{fields:{adcSpeed:{type:\"double\",id:1},adcFrontS:{type:\"double\",id:2},signal:{rule:\"repeated\",type:\"SignalDebug\",id:3}},nested:{SignalDebug:{fields:{lightId:{type:\"string\",id:1},color:{type:\"apollo.perception.TrafficLight.Color\",id:2},lightStopS:{type:\"double\",id:3},adcStopDeacceleration:{type:\"double\",id:4},isStopWallCreated:{type:\"bool\",id:5}}}}},DecisionTag:{fields:{deciderTag:{type:\"string\",id:1},decision:{type:\"apollo.planning.ObjectDecisionType\",id:2}}},ObstacleDebug:{fields:{id:{type:\"string\",id:1},slBoundary:{type:\"apollo.planning.SLBoundary\",id:2},decisionTag:{rule:\"repeated\",type:\"DecisionTag\",id:3}}},ReferenceLineDebug:{fields:{id:{type:\"string\",id:1},length:{type:\"double\",id:2},cost:{type:\"double\",id:3},isChangeLanePath:{type:\"bool\",id:4},isDrivable:{type:\"bool\",id:5},isProtected:{type:\"bool\",id:6}}},ChangeLaneState:{fields:{state:{type:\"State\",id:1},pathId:{type:\"string\",id:2},timestamp:{type:\"double\",id:3}},nested:{State:{values:{IN_CHANGE_LANE:1,CHANGE_LANE_FAILED:2,CHANGE_LANE_SUCCESS:3}}}},SampleLayerDebug:{fields:{slPoint:{rule:\"repeated\",type:\"apollo.common.SLPoint\",id:1}}},DpPolyGraphDebug:{fields:{sampleLayer:{rule:\"repeated\",type:\"SampleLayerDebug\",id:1},minCostPoint:{rule:\"repeated\",type:\"apollo.common.SLPoint\",id:2}}},PlanningData:{fields:{adcPosition:{type:\"apollo.localization.LocalizationEstimate\",id:7},chassis:{type:\"apollo.canbus.Chassis\",id:8},routing:{type:\"apollo.routing.RoutingResponse\",id:9},initPoint:{type:\"apollo.common.TrajectoryPoint\",id:10},path:{rule:\"repeated\",type:\"apollo.common.Path\",id:6},speedPlan:{rule:\"repeated\",type:\"SpeedPlan\",id:13},stGraph:{rule:\"repeated\",type:\"STGraphDebug\",id:14},slFrame:{rule:\"repeated\",type:\"SLFrameDebug\",id:15},predictionHeader:{type:\"apollo.common.Header\",id:16},signalLight:{type:\"SignalLightDebug\",id:17},obstacle:{rule:\"repeated\",type:\"ObstacleDebug\",id:18},referenceLine:{rule:\"repeated\",type:\"ReferenceLineDebug\",id:19},dpPolyGraph:{type:\"DpPolyGraphDebug\",id:20},latticeStImage:{type:\"LatticeStTraining\",id:21}}},LatticeStPixel:{fields:{s:{type:\"int32\",id:1},t:{type:\"int32\",id:2},r:{type:\"uint32\",id:3},g:{type:\"uint32\",id:4},b:{type:\"uint32\",id:5}}},LatticeStTraining:{fields:{pixel:{rule:\"repeated\",type:\"LatticeStPixel\",id:1},timestamp:{type:\"double\",id:2},annotation:{type:\"string\",id:3},numSGrids:{type:\"uint32\",id:4},numTGrids:{type:\"uint32\",id:5},sResolution:{type:\"double\",id:6},tResolution:{type:\"double\",id:7}}},CloudReferenceLineRequest:{fields:{laneSegment:{rule:\"repeated\",type:\"apollo.routing.LaneSegment\",id:1}}},CloudReferenceLineRoutingRequest:{fields:{routing:{type:\"apollo.routing.RoutingResponse\",id:1}}},CloudReferenceLineResponse:{fields:{segment:{rule:\"repeated\",type:\"apollo.common.Path\",id:1}}}}},perception:{nested:{TrafficLightBox:{fields:{x:{type:\"int32\",id:1},y:{type:\"int32\",id:2},width:{type:\"int32\",id:3},height:{type:\"int32\",id:4},color:{type:\"TrafficLight.Color\",id:5},selected:{type:\"bool\",id:6}}},TrafficLightDebug:{fields:{cropbox:{type:\"TrafficLightBox\",id:1},box:{rule:\"repeated\",type:\"TrafficLightBox\",id:2},signalNum:{type:\"int32\",id:3},validPos:{type:\"int32\",id:4},tsDiffPos:{type:\"double\",id:5},tsDiffSys:{type:\"double\",id:6},projectError:{type:\"int32\",id:7},distanceToStopLine:{type:\"double\",id:8},cameraId:{type:\"int32\",id:9}}},TrafficLight:{fields:{color:{type:\"Color\",id:1},id:{type:\"string\",id:2},confidence:{type:\"double\",id:3,options:{default:1}},trackingTime:{type:\"double\",id:4}},nested:{Color:{values:{UNKNOWN:0,RED:1,YELLOW:2,GREEN:3,BLACK:4}}}},TrafficLightDetection:{fields:{header:{type:\"apollo.common.Header\",id:2},trafficLight:{rule:\"repeated\",type:\"TrafficLight\",id:1},trafficLightDebug:{type:\"TrafficLightDebug\",id:3},containLights:{type:\"bool\",id:4}}},Point:{fields:{x:{type:\"double\",id:1},y:{type:\"double\",id:2},z:{type:\"double\",id:3}}},PerceptionObstacle:{fields:{id:{type:\"int32\",id:1},position:{type:\"Point\",id:2},theta:{type:\"double\",id:3},velocity:{type:\"Point\",id:4},length:{type:\"double\",id:5},width:{type:\"double\",id:6},height:{type:\"double\",id:7},polygonPoint:{rule:\"repeated\",type:\"Point\",id:8},trackingTime:{type:\"double\",id:9},type:{type:\"Type\",id:10},timestamp:{type:\"double\",id:11},pointCloud:{rule:\"repeated\",type:\"double\",id:12},confidence:{type:\"double\",id:13,options:{default:1}},confidenceType:{type:\"ConfidenceType\",id:14,options:{default:\"CONFIDENCE_CNN\"}}},nested:{Type:{values:{UNKNOWN:0,UNKNOWN_MOVABLE:1,UNKNOWN_UNMOVABLE:2,PEDESTRIAN:3,BICYCLE:4,VEHICLE:5}},ConfidenceType:{values:{CONFIDENCE_UNKNOWN:0,CONFIDENCE_CNN:1,CONFIDENCE_RADAR:2}}}},CIPVInfo:{fields:{cipvId:{type:\"int32\",id:1},potentialCipvId:{rule:\"repeated\",type:\"int32\",id:2,options:{packed:!1}}}},LaneMarker:{fields:{laneType:{type:\"LaneType\",id:1},quality:{type:\"double\",id:2},modelDegree:{type:\"int32\",id:3},c0Position:{type:\"double\",id:4},c1HeadingAngle:{type:\"double\",id:5},c2Curvature:{type:\"double\",id:6},c3CurvatureDerivative:{type:\"double\",id:7},viewRange:{type:\"double\",id:8}},nested:{LaneType:{values:{LANE_TYPE_UNKNOWN:0,LANE_TYPE_DASHED:1,LANE_TYPE_SOLID:2,LANE_TYPE_ROAD_EDGE:3}}}},LaneMarkers:{fields:{leftLaneMarker:{type:\"LaneMarker\",id:1},rightLaneMarker:{type:\"LaneMarker\",id:2},nextLeftLaneMarker:{rule:\"repeated\",type:\"LaneMarker\",id:3},nextRightLaneMarker:{rule:\"repeated\",type:\"LaneMarker\",id:4}}},PerceptionObstacles:{fields:{perceptionObstacle:{rule:\"repeated\",type:\"PerceptionObstacle\",id:1},header:{type:\"apollo.common.Header\",id:2},errorCode:{type:\"apollo.common.ErrorCode\",id:3,options:{default:\"OK\"}},laneMarker:{type:\"LaneMarkers\",id:4},cipvInfo:{type:\"CIPVInfo\",id:5}}}}},routing:{nested:{LaneWaypoint:{fields:{id:{type:\"string\",id:1},s:{type:\"double\",id:2},pose:{type:\"apollo.common.PointENU\",id:3}}},LaneSegment:{fields:{id:{type:\"string\",id:1},startS:{type:\"double\",id:2},endS:{type:\"double\",id:3}}},RoutingRequest:{fields:{header:{type:\"apollo.common.Header\",id:1},waypoint:{rule:\"repeated\",type:\"LaneWaypoint\",id:2},blacklistedLane:{rule:\"repeated\",type:\"LaneSegment\",id:3},blacklistedRoad:{rule:\"repeated\",type:\"string\",id:4},broadcast:{type:\"bool\",id:5,options:{default:!0}}}},Measurement:{fields:{distance:{type:\"double\",id:1}}},ChangeLaneType:{values:{FORWARD:0,LEFT:1,RIGHT:2}},Passage:{fields:{segment:{rule:\"repeated\",type:\"LaneSegment\",id:1},canExit:{type:\"bool\",id:2},changeLaneType:{type:\"ChangeLaneType\",id:3,options:{default:\"FORWARD\"}}}},RoadSegment:{fields:{id:{type:\"string\",id:1},passage:{rule:\"repeated\",type:\"Passage\",id:2}}},RoutingResponse:{fields:{header:{type:\"apollo.common.Header\",id:1},road:{rule:\"repeated\",type:\"RoadSegment\",id:2},measurement:{type:\"Measurement\",id:3},routingRequest:{type:\"RoutingRequest\",id:4},mapVersion:{type:\"bytes\",id:5},status:{type:\"apollo.common.StatusPb\",id:6}}}}}}}}}},function(e,t,i){\"use strict\";var o=i(25),r=o.Root.fromJSON(i(28)),n=r.lookupType(\"apollo.dreamview.SimulationWorld\"),s=o.Root.fromJSON(i(26)),d=s.lookupType(\"apollo.hdmap.Map\"),a=o.Root.fromJSON(i(27)),p=a.lookupType(\"apollo.dreamview.PointCloud\");self.addEventListener(\"message\",function(e){var t=null,i=e.data.data;switch(e.data.source){case\"realtime\":\"string\"==typeof i?t=JSON.parse(i):(t=n.toObject(n.decode(new Uint8Array(i)),{enums:String}),t.type=\"SimWorldUpdate\");break;case\"map\":t=d.toObject(d.decode(new Uint8Array(i)),{enums:String}),t.type=\"MapData\";break;case\"point_cloud\":t=\"string\"==typeof i?JSON.parse(i):p.toObject(p.decode(new Uint8Array(i)),{arrays:!0})}t&&self.postMessage(t)})},function(e,t,i){\"use strict\";var o=t;o.length=function(e){var t=e.length;if(!t)return 0;for(var i=0;--t%4>1&&\"=\"===e.charAt(t);)++i;return Math.ceil(3*e.length)/4-i};for(var r=new Array(64),n=new Array(123),s=0;s<64;)n[r[s]=s<26?s+65:s<52?s+71:s<62?s-4:s-59|43]=s++;o.encode=function(e,t,i){for(var o,n=null,s=[],d=0,a=0;t<i;){var p=e[t++];switch(a){case 0:s[d++]=r[p>>2],o=(3&p)<<4,a=1;break;case 1:s[d++]=r[o|p>>4],o=(15&p)<<2,a=2;break;case 2:s[d++]=r[o|p>>6],s[d++]=r[63&p],a=0}d>8191&&((n||(n=[])).push(String.fromCharCode.apply(String,s)),d=0)}return a&&(s[d++]=r[o],s[d++]=61,1===a&&(s[d++]=61)),n?(d&&n.push(String.fromCharCode.apply(String,s.slice(0,d))),n.join(\"\")):String.fromCharCode.apply(String,s.slice(0,d))};o.decode=function(e,t,i){for(var o,r=i,s=0,d=0;d<e.length;){var a=e.charCodeAt(d++);if(61===a&&s>1)break;if(void 0===(a=n[a]))throw Error(\"invalid encoding\");switch(s){case 0:o=a,s=1;break;case 1:t[i++]=o<<2|(48&a)>>4,o=a,s=2;break;case 2:t[i++]=(15&o)<<4|(60&a)>>2,o=a,s=3;break;case 3:t[i++]=(3&o)<<6|a,s=0}}if(1===s)throw Error(\"invalid encoding\");return i-r},o.test=function(e){return/^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$/.test(e)}},function(e,t,i){\"use strict\";function o(e,t){function i(e){if(\"string\"!=typeof e){var t=r();if(o.verbose&&console.log(\"codegen: \"+t),t=\"return \"+t,e){for(var s=Object.keys(e),d=new Array(s.length+1),a=new Array(s.length),p=0;p<s.length;)d[p]=s[p],a[p]=e[s[p++]];return d[p]=t,Function.apply(null,d).apply(null,a)}return Function(t)()}for(var l=new Array(arguments.length-1),u=0;u<l.length;)l[u]=arguments[++u];if(u=0,e=e.replace(/%([%dfijs])/g,function(e,t){var i=l[u++];switch(t){case\"d\":case\"f\":return String(Number(i));case\"i\":return String(Math.floor(i));case\"j\":return JSON.stringify(i);case\"s\":return String(i)}return\"%\"}),u!==l.length)throw Error(\"parameter count mismatch\");return n.push(e),i}function r(i){return\"function \"+(i||t||\"\")+\"(\"+(e&&e.join(\",\")||\"\")+\"){\\n \"+n.join(\"\\n \")+\"\\n}\"}\"string\"==typeof e&&(t=e,e=void 0);var n=[];return i.toString=r,i}e.exports=o,o.verbose=!1},function(e,t,i){\"use strict\";function o(){this._listeners={}}e.exports=o,o.prototype.on=function(e,t,i){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:i||this}),this},o.prototype.off=function(e,t){if(void 0===e)this._listeners={};else if(void 0===t)this._listeners[e]=[];else for(var i=this._listeners[e],o=0;o<i.length;)i[o].fn===t?i.splice(o,1):++o;return this},o.prototype.emit=function(e){var t=this._listeners[e];if(t){for(var i=[],o=1;o<arguments.length;)i.push(arguments[o++]);for(o=0;o<t.length;)t[o].fn.apply(t[o++].ctx,i)}return this}},function(e,t,i){\"use strict\";function o(e,t,i){return\"function\"==typeof t?(i=t,t={}):t||(t={}),i?!t.xhr&&s&&s.readFile?s.readFile(e,function(r,n){return r&&\"undefined\"!=typeof XMLHttpRequest?o.xhr(e,t,i):r?i(r):i(null,t.binary?n:n.toString(\"utf8\"))}):o.xhr(e,t,i):r(o,this,e,t)}e.exports=o;var r=i(11),n=i(12),s=n(\"fs\");o.xhr=function(e,t,i){var o=new XMLHttpRequest;o.onreadystatechange=function(){if(4===o.readyState){if(0!==o.status&&200!==o.status)return i(Error(\"status \"+o.status));if(t.binary){var e=o.response;if(!e){e=[];for(var r=0;r<o.responseText.length;++r)e.push(255&o.responseText.charCodeAt(r))}return i(null,\"undefined\"!=typeof Uint8Array?new Uint8Array(e):e)}return i(null,o.responseText)}},t.binary&&(\"overrideMimeType\"in o&&o.overrideMimeType(\"text/plain; charset=x-user-defined\"),o.responseType=\"arraybuffer\"),o.open(\"GET\",e),o.send()}},function(e,t,i){\"use strict\";function o(e){return\"undefined\"!=typeof Float32Array?function(){function t(e,t,i){n[0]=e,t[i]=s[0],t[i+1]=s[1],t[i+2]=s[2],t[i+3]=s[3]}function i(e,t,i){n[0]=e,t[i]=s[3],t[i+1]=s[2],t[i+2]=s[1],t[i+3]=s[0]}function o(e,t){return s[0]=e[t],s[1]=e[t+1],s[2]=e[t+2],s[3]=e[t+3],n[0]}function r(e,t){return s[3]=e[t],s[2]=e[t+1],s[1]=e[t+2],s[0]=e[t+3],n[0]}var n=new Float32Array([-0]),s=new Uint8Array(n.buffer),d=128===s[3];e.writeFloatLE=d?t:i,e.writeFloatBE=d?i:t,e.readFloatLE=d?o:r,e.readFloatBE=d?r:o}():function(){function t(e,t,i,o){var r=t<0?1:0;if(r&&(t=-t),0===t)e(1/t>0?0:2147483648,i,o);else if(isNaN(t))e(2143289344,i,o);else if(t>3.4028234663852886e38)e((r<<31|2139095040)>>>0,i,o);else if(t<1.1754943508222875e-38)e((r<<31|Math.round(t/1.401298464324817e-45))>>>0,i,o);else{var n=Math.floor(Math.log(t)/Math.LN2),s=8388607&Math.round(t*Math.pow(2,-n)*8388608);e((r<<31|n+127<<23|s)>>>0,i,o)}}function i(e,t,i){var o=e(t,i),r=2*(o>>31)+1,n=o>>>23&255,s=8388607&o;return 255===n?s?NaN:r*(1/0):0===n?1.401298464324817e-45*r*s:r*Math.pow(2,n-150)*(s+8388608)}e.writeFloatLE=t.bind(null,r),e.writeFloatBE=t.bind(null,n),e.readFloatLE=i.bind(null,s),e.readFloatBE=i.bind(null,d)}(),\"undefined\"!=typeof Float64Array?function(){function t(e,t,i){n[0]=e,t[i]=s[0],t[i+1]=s[1],t[i+2]=s[2],t[i+3]=s[3],t[i+4]=s[4],t[i+5]=s[5],t[i+6]=s[6],t[i+7]=s[7]}function i(e,t,i){n[0]=e,t[i]=s[7],t[i+1]=s[6],t[i+2]=s[5],t[i+3]=s[4],t[i+4]=s[3],t[i+5]=s[2],t[i+6]=s[1],t[i+7]=s[0]}function o(e,t){return s[0]=e[t],s[1]=e[t+1],s[2]=e[t+2],s[3]=e[t+3],s[4]=e[t+4],s[5]=e[t+5],s[6]=e[t+6],s[7]=e[t+7],n[0]}function r(e,t){return s[7]=e[t],s[6]=e[t+1],s[5]=e[t+2],s[4]=e[t+3],s[3]=e[t+4],s[2]=e[t+5],s[1]=e[t+6],s[0]=e[t+7],n[0]}var n=new Float64Array([-0]),s=new Uint8Array(n.buffer),d=128===s[7];e.writeDoubleLE=d?t:i,e.writeDoubleBE=d?i:t,e.readDoubleLE=d?o:r,e.readDoubleBE=d?r:o}():function(){function t(e,t,i,o,r,n){var s=o<0?1:0;if(s&&(o=-o),0===o)e(0,r,n+t),e(1/o>0?0:2147483648,r,n+i);else if(isNaN(o))e(0,r,n+t),e(2146959360,r,n+i);else if(o>1.7976931348623157e308)e(0,r,n+t),e((s<<31|2146435072)>>>0,r,n+i);else{var d;if(o<2.2250738585072014e-308)d=o/5e-324,e(d>>>0,r,n+t),e((s<<31|d/4294967296)>>>0,r,n+i);else{var a=Math.floor(Math.log(o)/Math.LN2);1024===a&&(a=1023),d=o*Math.pow(2,-a),e(4503599627370496*d>>>0,r,n+t),e((s<<31|a+1023<<20|1048576*d&1048575)>>>0,r,n+i)}}}function i(e,t,i,o,r){var n=e(o,r+t),s=e(o,r+i),d=2*(s>>31)+1,a=s>>>20&2047,p=4294967296*(1048575&s)+n;return 2047===a?p?NaN:d*(1/0):0===a?5e-324*d*p:d*Math.pow(2,a-1075)*(p+4503599627370496)}e.writeDoubleLE=t.bind(null,r,0,4),e.writeDoubleBE=t.bind(null,n,4,0),e.readDoubleLE=i.bind(null,s,0,4),e.readDoubleBE=i.bind(null,d,4,0)}(),e}function r(e,t,i){t[i]=255&e,t[i+1]=e>>>8&255,t[i+2]=e>>>16&255,t[i+3]=e>>>24}function n(e,t,i){t[i]=e>>>24,t[i+1]=e>>>16&255,t[i+2]=e>>>8&255,t[i+3]=255&e}function s(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function d(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}e.exports=o(o)},function(e,t,i){\"use strict\";var o=t,r=o.isAbsolute=function(e){return/^(?:\\/|\\w+:)/.test(e)},n=o.normalize=function(e){e=e.replace(/\\\\/g,\"/\").replace(/\\/{2,}/g,\"/\");var t=e.split(\"/\"),i=r(e),o=\"\";i&&(o=t.shift()+\"/\");for(var n=0;n<t.length;)\"..\"===t[n]?n>0&&\"..\"!==t[n-1]?t.splice(--n,2):i?t.splice(n,1):++n:\".\"===t[n]?t.splice(n,1):++n;return o+t.join(\"/\")};o.resolve=function(e,t,i){return i||(t=n(t)),r(t)?t:(i||(e=n(e)),(e=e.replace(/(?:\\/|^)[^\\/]+$/,\"\")).length?n(e+\"/\"+t):t)}},function(e,t,i){\"use strict\";function o(e,t,i){var o=i||8192,r=o>>>1,n=null,s=o;return function(i){if(i<1||i>r)return e(i);s+i>o&&(n=e(o),s=0);var d=t.call(n,s,s+=i);return 7&s&&(s=1+(7|s)),d}}e.exports=o},function(e,t,i){\"use strict\";var o=t;o.length=function(e){for(var t=0,i=0,o=0;o<e.length;++o)i=e.charCodeAt(o),i<128?t+=1:i<2048?t+=2:55296==(64512&i)&&56320==(64512&e.charCodeAt(o+1))?(++o,t+=4):t+=3;return t},o.read=function(e,t,i){if(i-t<1)return\"\";for(var o,r=null,n=[],s=0;t<i;)o=e[t++],o<128?n[s++]=o:o>191&&o<224?n[s++]=(31&o)<<6|63&e[t++]:o>239&&o<365?(o=((7&o)<<18|(63&e[t++])<<12|(63&e[t++])<<6|63&e[t++])-65536,n[s++]=55296+(o>>10),n[s++]=56320+(1023&o)):n[s++]=(15&o)<<12|(63&e[t++])<<6|63&e[t++],s>8191&&((r||(r=[])).push(String.fromCharCode.apply(String,n)),s=0);return r?(s&&r.push(String.fromCharCode.apply(String,n.slice(0,s))),r.join(\"\")):String.fromCharCode.apply(String,n.slice(0,s))},o.write=function(e,t,i){for(var o,r,n=i,s=0;s<e.length;++s)o=e.charCodeAt(s),o<128?t[i++]=o:o<2048?(t[i++]=o>>6|192,t[i++]=63&o|128):55296==(64512&o)&&56320==(64512&(r=e.charCodeAt(s+1)))?(o=65536+((1023&o)<<10)+(1023&r),++s,t[i++]=o>>18|240,t[i++]=o>>12&63|128,t[i++]=o>>6&63|128,t[i++]=63&o|128):(t[i++]=o>>12|224,t[i++]=o>>6&63|128,t[i++]=63&o|128);return i-n}},function(e,t,i){\"use strict\";function o(e,t,i){return\"function\"==typeof t?(i=t,t=new n.Root):t||(t=new n.Root),t.load(e,i)}function r(e,t){return t||(t=new n.Root),t.loadSync(e)}var n=e.exports=i(39);n.build=\"light\",n.load=o,n.loadSync=r,n.encoder=i(15),n.decoder=i(14),n.verifier=i(23),n.converter=i(13),n.ReflectionObject=i(4),n.Namespace=i(5),n.Root=i(18),n.Enum=i(1),n.Type=i(22),n.Field=i(3),n.OneOf=i(8),n.MapField=i(16),n.Service=i(21),n.Method=i(17),n.Message=i(7),n.wrappers=i(24),n.types=i(6),n.util=i(0),n.ReflectionObject._configure(n.Root),n.Namespace._configure(n.Type,n.Service),n.Root._configure(n.Type),n.Field._configure(n.Type)},function(e,t,i){\"use strict\";function o(){r.Reader._configure(r.BufferReader),r.util._configure()}var r=t;r.build=\"minimal\",r.Writer=i(10),r.BufferWriter=i(43),r.Reader=i(9),r.BufferReader=i(40),r.util=i(2),r.rpc=i(20),r.roots=i(19),r.configure=o,r.Writer._configure(r.BufferWriter),o()},function(e,t,i){\"use strict\";function o(e){r.call(this,e)}e.exports=o;var r=i(9);(o.prototype=Object.create(r.prototype)).constructor=o;var n=i(2);n.Buffer&&(o.prototype._slice=n.Buffer.prototype.slice),o.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len))}},function(e,t,i){\"use strict\";function o(e,t,i){if(\"function\"!=typeof e)throw TypeError(\"rpcImpl must be a function\");r.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=Boolean(t),this.responseDelimited=Boolean(i)}e.exports=o;var r=i(2);(o.prototype=Object.create(r.EventEmitter.prototype)).constructor=o,o.prototype.rpcCall=function e(t,i,o,n,s){if(!n)throw TypeError(\"request must be specified\");var d=this;if(!s)return r.asPromise(e,d,t,i,o,n);if(!d.rpcImpl)return void setTimeout(function(){s(Error(\"already ended\"))},0);try{return d.rpcImpl(t,i[d.requestDelimited?\"encodeDelimited\":\"encode\"](n).finish(),function(e,i){if(e)return d.emit(\"error\",e,t),s(e);if(null===i)return void d.end(!0);if(!(i instanceof o))try{i=o[d.responseDelimited?\"decodeDelimited\":\"decode\"](i)}catch(e){return d.emit(\"error\",e,t),s(e)}return d.emit(\"data\",i,t),s(null,i)})}catch(e){return d.emit(\"error\",e,t),void setTimeout(function(){s(e)},0)}},o.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit(\"end\").off()),this}},function(e,t,i){\"use strict\";function o(e,t){this.lo=e>>>0,this.hi=t>>>0}e.exports=o;var r=i(2),n=o.zero=new o(0,0);n.toNumber=function(){return 0},n.zzEncode=n.zzDecode=function(){return this},n.length=function(){return 1};var s=o.zeroHash=\"\\0\\0\\0\\0\\0\\0\\0\\0\";o.fromNumber=function(e){if(0===e)return n;var t=e<0;t&&(e=-e);var i=e>>>0,r=(e-i)/4294967296>>>0;return t&&(r=~r>>>0,i=~i>>>0,++i>4294967295&&(i=0,++r>4294967295&&(r=0))),new o(i,r)},o.from=function(e){if(\"number\"==typeof e)return o.fromNumber(e);if(r.isString(e)){if(!r.Long)return o.fromNumber(parseInt(e,10));e=r.Long.fromString(e)}return e.low||e.high?new o(e.low>>>0,e.high>>>0):n},o.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=1+~this.lo>>>0,i=~this.hi>>>0;return t||(i=i+1>>>0),-(t+4294967296*i)}return this.lo+4294967296*this.hi},o.prototype.toLong=function(e){return r.Long?new r.Long(0|this.lo,0|this.hi,Boolean(e)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(e)}};var d=String.prototype.charCodeAt;o.fromHash=function(e){return e===s?n:new o((d.call(e,0)|d.call(e,1)<<8|d.call(e,2)<<16|d.call(e,3)<<24)>>>0,(d.call(e,4)|d.call(e,5)<<8|d.call(e,6)<<16|d.call(e,7)<<24)>>>0)},o.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},o.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},o.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},o.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,i=this.hi>>>24;return 0===i?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:i<128?9:10}},function(e,t,i){\"use strict\";function o(){n.call(this)}function r(e,t,i){e.length<40?s.utf8.write(e,t,i):t.utf8Write(e,i)}e.exports=o;var n=i(10);(o.prototype=Object.create(n.prototype)).constructor=o;var s=i(2),d=s.Buffer;o.alloc=function(e){return(o.alloc=s._Buffer_allocUnsafe)(e)};var a=d&&d.prototype instanceof Uint8Array&&\"set\"===d.prototype.set.name?function(e,t,i){t.set(e,i)}:function(e,t,i){if(e.copy)e.copy(t,i,0,e.length);else for(var o=0;o<e.length;)t[i++]=e[o++]};o.prototype.bytes=function(e){s.isString(e)&&(e=s._Buffer_from(e,\"base64\"));var t=e.length>>>0;return this.uint32(t),t&&this._push(a,t,e),this},o.prototype.string=function(e){var t=d.byteLength(e);return this.uint32(t),t&&this._push(r,t,e),this}},function(e,t){var i;i=function(){return this}();try{i=i||Function(\"return this\")()||(0,eval)(\"this\")}catch(e){\"object\"==typeof window&&(i=window)}e.exports=i}]);\n\n\n// WEBPACK FOOTER //\n// worker.bundle.js"],"mappings":"AAAA","sourceRoot":""}
\ No newline at end of file
......@@ -38,7 +38,6 @@
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2017": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"copy-webpack-plugin": "^4.2.0",
......
......@@ -4,124 +4,6 @@
"nested": {
"hdmap": {
"nested": {
"Projection": {
"fields": {
"proj": {
"type": "string",
"id": 1
}
}
},
"Header": {
"fields": {
"version": {
"type": "bytes",
"id": 1
},
"date": {
"type": "bytes",
"id": 2
},
"projection": {
"type": "Projection",
"id": 3
},
"district": {
"type": "bytes",
"id": 4
},
"generation": {
"type": "bytes",
"id": 5
},
"revMajor": {
"type": "bytes",
"id": 6
},
"revMinor": {
"type": "bytes",
"id": 7
},
"left": {
"type": "double",
"id": 8
},
"top": {
"type": "double",
"id": 9
},
"right": {
"type": "double",
"id": 10
},
"bottom": {
"type": "double",
"id": 11
},
"vendor": {
"type": "bytes",
"id": 12
}
}
},
"Map": {
"fields": {
"header": {
"type": "Header",
"id": 1
},
"crosswalk": {
"rule": "repeated",
"type": "Crosswalk",
"id": 2
},
"junction": {
"rule": "repeated",
"type": "Junction",
"id": 3
},
"lane": {
"rule": "repeated",
"type": "Lane",
"id": 4
},
"stopSign": {
"rule": "repeated",
"type": "StopSign",
"id": 5
},
"signal": {
"rule": "repeated",
"type": "Signal",
"id": 6
},
"yield": {
"rule": "repeated",
"type": "YieldSign",
"id": 7
},
"overlap": {
"rule": "repeated",
"type": "Overlap",
"id": 8
},
"clearArea": {
"rule": "repeated",
"type": "ClearArea",
"id": 9
},
"speedBump": {
"rule": "repeated",
"type": "SpeedBump",
"id": 10
},
"road": {
"rule": "repeated",
"type": "Road",
"id": 11
}
}
},
"ClearArea": {
"fields": {
"id": {
......@@ -538,6 +420,124 @@
}
}
},
"Projection": {
"fields": {
"proj": {
"type": "string",
"id": 1
}
}
},
"Header": {
"fields": {
"version": {
"type": "bytes",
"id": 1
},
"date": {
"type": "bytes",
"id": 2
},
"projection": {
"type": "Projection",
"id": 3
},
"district": {
"type": "bytes",
"id": 4
},
"generation": {
"type": "bytes",
"id": 5
},
"revMajor": {
"type": "bytes",
"id": 6
},
"revMinor": {
"type": "bytes",
"id": 7
},
"left": {
"type": "double",
"id": 8
},
"top": {
"type": "double",
"id": 9
},
"right": {
"type": "double",
"id": 10
},
"bottom": {
"type": "double",
"id": 11
},
"vendor": {
"type": "bytes",
"id": 12
}
}
},
"Map": {
"fields": {
"header": {
"type": "Header",
"id": 1
},
"crosswalk": {
"rule": "repeated",
"type": "Crosswalk",
"id": 2
},
"junction": {
"rule": "repeated",
"type": "Junction",
"id": 3
},
"lane": {
"rule": "repeated",
"type": "Lane",
"id": 4
},
"stopSign": {
"rule": "repeated",
"type": "StopSign",
"id": 5
},
"signal": {
"rule": "repeated",
"type": "Signal",
"id": 6
},
"yield": {
"rule": "repeated",
"type": "YieldSign",
"id": 7
},
"overlap": {
"rule": "repeated",
"type": "Overlap",
"id": 8
},
"clearArea": {
"rule": "repeated",
"type": "ClearArea",
"id": 9
},
"speedBump": {
"rule": "repeated",
"type": "SpeedBump",
"id": 10
},
"road": {
"rule": "repeated",
"type": "Road",
"id": 11
}
}
},
"BoundaryEdge": {
"fields": {
"curve": {
......
import STORE from "store";
import RENDERER from "renderer";
const Worker = require('worker-loader!utils/webworker.js');
const Worker = require('utils/webworker.js');
export default class MapDataWebSocketEndpoint {
constructor(serverAddr) {
......
import Worker from 'worker-loader!utils/webworker.js';
import Worker from 'utils/webworker.js';
import GMAP_NAVIGATOR from "components/Navigation/GmapNavigator";
export default class NavigationWebSocketEndpoint {
......
import STORE from "store";
import RENDERER from "renderer";
const Worker = require('worker-loader!utils/webworker.js');
const Worker = require('utils/webworker.js');
export default class PointCloudWebSocketEndpoint {
constructor(serverAddr) {
......
import STORE from "store";
import RENDERER from "renderer";
const Worker = require('worker-loader!utils/webworker.js');
const Worker = require('utils/webworker.js');
export default class RosWebSocketEndpoint {
constructor(serverAddr) {
......
......@@ -150,11 +150,20 @@ module.exports = {
test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
loader: "file-loader",
}, {
test: /\.webworker\.js$/,
use: {
test: /webworker\.js$/,
use: [
{
loader: 'worker-loader',
options: { inline: true },
options: {
name: 'worker.bundle.js'
},
},
{
loader: "babel-loader",
options: {
presets: ["es2015"],
}
}]
},
]
},
......
......@@ -45,21 +45,13 @@
version "1.1.0"
resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570"
"@types/inline-style-prefixer@^3.0.0":
version "3.0.1"
resolved "https://registry.yarnpkg.com/@types/inline-style-prefixer/-/inline-style-prefixer-3.0.1.tgz#8541e636b029124b747952e9a28848286d2b5bf6"
"@types/long@^3.0.32":
version "3.0.32"
resolved "https://registry.yarnpkg.com/@types/long/-/long-3.0.32.tgz#f4e5af31e9e9b196d8e5fca8a5e2e20aa3d60b69"
"@types/node@^8.5.5":
version "8.5.9"
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.5.9.tgz#7155cfb4ae405bca4dd8df1a214c339e939109bf"
"@types/react@^16.0.18":
version "16.0.34"
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.0.34.tgz#7a8f795afd8a404a9c4af9539b24c75d3996914e"
"@types/node@^8.9.4":
version "8.9.4"
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.9.4.tgz#dfd327582a06c114eb6e0441fa3d6fab35edad48"
abbrev@1:
version "1.1.1"
......@@ -92,11 +84,7 @@ acorn@^4.0.3:
version "4.0.13"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787"
acorn@^5.0.0, acorn@^5.2.1:
version "5.3.0"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.3.0.tgz#7446d39459c54fb49a80e6ee6478149b940ec822"
acorn@^5.3.0:
acorn@^5.0.0, acorn@^5.3.0, acorn@^5.4.0:
version "5.4.1"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.4.1.tgz#fdc58d9d17f4a4e98d102ded826a9b9759125102"
......@@ -162,7 +150,7 @@ ansi-styles@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
ansi-styles@^3.1.0:
ansi-styles@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.0.tgz#c159b8d5be0f9e5a6f346dab94f16ce022161b88"
dependencies:
......@@ -204,8 +192,8 @@ are-we-there-yet@~1.1.2:
readable-stream "^2.0.6"
argparse@^1.0.7:
version "1.0.9"
resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.9.tgz#73d83bc263f86e97f8cc4f6bae1b0e90a7d22c86"
version "1.0.10"
resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911"
dependencies:
sprintf-js "~1.0.2"
......@@ -277,8 +265,8 @@ asap@~2.0.3:
resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46"
asn1.js@^4.0.0:
version "4.9.2"
resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-4.9.2.tgz#8117ef4f7ed87cd8f89044b5bff97ac243a16c9a"
version "4.10.1"
resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-4.10.1.tgz#b9c2bf5805f1e64aadeed6df3a2bfafb5a73f5a0"
dependencies:
bn.js "^4.0.0"
inherits "^2.0.1"
......@@ -413,8 +401,8 @@ babel-eslint@^7.2.3:
babylon "^6.17.0"
babel-generator@^6.26.0:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.0.tgz#ac1ae20070b79f6e3ca1d3269613053774f20dc5"
version "6.26.1"
resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.1.tgz#1844408d3b8f0d35a404ea7ac180f087a601bd90"
dependencies:
babel-messages "^6.23.0"
babel-runtime "^6.26.0"
......@@ -422,7 +410,7 @@ babel-generator@^6.26.0:
detect-indent "^4.0.0"
jsesc "^1.3.0"
lodash "^4.17.4"
source-map "^0.5.6"
source-map "^0.5.7"
trim-right "^1.0.1"
babel-helper-bindify-decorators@^6.24.1:
......@@ -965,13 +953,6 @@ babel-preset-es2015@^6.24.1:
babel-plugin-transform-es2015-unicode-regex "^6.24.1"
babel-plugin-transform-regenerator "^6.24.1"
babel-preset-es2017@^6.24.1:
version "6.24.1"
resolved "https://registry.yarnpkg.com/babel-preset-es2017/-/babel-preset-es2017-6.24.1.tgz#597beadfb9f7f208bcfd8a12e9b2b29b8b2f14d1"
dependencies:
babel-plugin-syntax-trailing-function-commas "^6.22.0"
babel-plugin-transform-async-to-generator "^6.24.1"
babel-preset-flow@^6.23.0:
version "6.23.0"
resolved "https://registry.yarnpkg.com/babel-preset-flow/-/babel-preset-flow-6.23.0.tgz#e71218887085ae9a24b5be4169affb599816c49d"
......@@ -1089,8 +1070,8 @@ balanced-match@^1.0.0:
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
base64-js@^1.0.2:
version "1.2.1"
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.2.1.tgz#a91947da1f4a516ea38e5b4ec0ec3773675e0886"
version "1.2.3"
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.2.3.tgz#fb13668233d9614cf5fb4bce95a9ba4096cdf801"
base@^0.11.1:
version "0.11.2"
......@@ -1194,7 +1175,7 @@ block-stream@*:
dependencies:
inherits "~2.0.0"
bluebird@^3.4.7, bluebird@^3.5.0, bluebird@^3.5.1:
bluebird@^3.4.7, bluebird@^3.5.1:
version "3.5.1"
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9"
......@@ -1259,12 +1240,12 @@ boom@5.x.x:
hoek "4.x.x"
bowser@^1.7.3:
version "1.9.1"
resolved "https://registry.yarnpkg.com/bowser/-/bowser-1.9.1.tgz#f86ef2132e8cb10b3eb6ea5af018758c587020db"
version "1.9.2"
resolved "https://registry.yarnpkg.com/bowser/-/bowser-1.9.2.tgz#d66fc868ca5f4ba895bee1363c343fe7b37d3394"
brace-expansion@^1.1.7:
version "1.1.8"
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292"
version "1.1.11"
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
dependencies:
balanced-match "^1.0.0"
concat-map "0.0.1"
......@@ -1277,9 +1258,9 @@ braces@^1.8.2:
preserve "^0.2.0"
repeat-element "^1.1.2"
braces@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.0.tgz#a46941cb5fb492156b3d6a656e06c35364e3e66e"
braces@^2.3.0, braces@^2.3.1:
version "2.3.1"
resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.1.tgz#7086c913b4e5a08dbe37ac0ee6a2500c4ba691bb"
dependencies:
arr-flatten "^1.1.0"
array-unique "^0.3.2"
......@@ -1287,6 +1268,7 @@ braces@^2.3.0:
extend-shallow "^2.0.1"
fill-range "^4.0.0"
isobject "^3.0.1"
kind-of "^6.0.2"
repeat-element "^1.1.2"
snapdragon "^0.8.1"
snapdragon-node "^2.0.1"
......@@ -1429,22 +1411,22 @@ bytes@3.0.0:
resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048"
cacache@^10.0.1:
version "10.0.2"
resolved "https://registry.yarnpkg.com/cacache/-/cacache-10.0.2.tgz#105a93a162bbedf3a25da42e1939ed99ffb145f8"
version "10.0.4"
resolved "https://registry.yarnpkg.com/cacache/-/cacache-10.0.4.tgz#6452367999eff9d4188aefd9a14e9d7c6a263460"
dependencies:
bluebird "^3.5.0"
bluebird "^3.5.1"
chownr "^1.0.1"
glob "^7.1.2"
graceful-fs "^4.1.11"
lru-cache "^4.1.1"
mississippi "^1.3.0"
mississippi "^2.0.0"
mkdirp "^0.5.1"
move-concurrently "^1.0.1"
promise-inflight "^1.0.1"
rimraf "^2.6.1"
ssri "^5.0.0"
rimraf "^2.6.2"
ssri "^5.2.4"
unique-filename "^1.1.0"
y18n "^3.2.1"
y18n "^4.0.0"
cache-base@^1.0.1:
version "1.0.1"
......@@ -1506,8 +1488,8 @@ caniuse-api@^1.5.2:
lodash.uniq "^4.5.0"
caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634, caniuse-db@^1.0.30000639:
version "1.0.30000793"
resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000793.tgz#3c00c66e423a7a1907c7dd96769a78b2afa8a72e"
version "1.0.30000810"
resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000810.tgz#bd25830c41efab64339a2e381f49677343c84509"
capture-stack-trace@^1.0.0:
version "1.0.0"
......@@ -1547,13 +1529,13 @@ chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3:
strip-ansi "^3.0.0"
supports-color "^2.0.0"
chalk@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.0.tgz#b5ea48efc9c1793dccc9b4767c93914d3f2d52ba"
chalk@^2.3.0, chalk@^2.3.1:
version "2.3.1"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.1.tgz#523fe2678aec7b04e8041909292fe8b17059b796"
dependencies:
ansi-styles "^3.1.0"
ansi-styles "^3.2.0"
escape-string-regexp "^1.0.5"
supports-color "^4.0.0"
supports-color "^5.2.0"
chart.js@^2.7.0:
version "2.7.1"
......@@ -1605,8 +1587,8 @@ chokidar@^1.0.0, chokidar@^1.7.0:
fsevents "^1.0.0"
chokidar@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.0.0.tgz#6686313c541d3274b2a5c01233342037948c911b"
version "2.0.2"
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.0.2.tgz#4dc65139eeb2714977735b6a35d06e97b494dfd7"
dependencies:
anymatch "^2.0.0"
async-each "^1.0.0"
......@@ -1618,6 +1600,7 @@ chokidar@^2.0.0:
normalize-path "^2.1.1"
path-is-absolute "^1.0.0"
readdirp "^2.0.0"
upath "^1.0.0"
optionalDependencies:
fsevents "^1.0.0"
......@@ -1777,24 +1760,16 @@ colors@^1.1.2, colors@~1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63"
combined-stream@^1.0.5, combined-stream@~1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.5.tgz#938370a57b4a51dea2c77c15d5c5fdf895164009"
combined-stream@1.0.6, combined-stream@^1.0.5, combined-stream@~1.0.5:
version "1.0.6"
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.6.tgz#723e7df6e801ac5613113a7e445a9b69cb632818"
dependencies:
delayed-stream "~1.0.0"
commander@2.12.x:
version "2.12.2"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.12.2.tgz#0f5946c427ed9ec0d91a46bb9def53e54650e555"
commander@^2.13.0:
commander@2.14.x, commander@^2.13.0, commander@^2.9.0, commander@~2.14.1:
version "2.14.1"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.14.1.tgz#2235123e37af8ca3c65df45b026dbd357b01b9aa"
commander@^2.9.0, commander@~2.13.0:
version "2.13.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.13.0.tgz#6964bca67685df7c1f1430c584f07d7597885b9c"
commander@~2.8.1:
version "2.8.1"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.8.1.tgz#06be367febfda0c330aa1e2a072d3dc9762425d4"
......@@ -1809,19 +1784,19 @@ component-emitter@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6"
compressible@~2.0.11:
version "2.0.12"
resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.12.tgz#c59a5c99db76767e9876500e271ef63b3493bd66"
compressible@~2.0.13:
version "2.0.13"
resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.13.tgz#0d1020ab924b2fdb4d6279875c7d6daba6baa7a9"
dependencies:
mime-db ">= 1.30.0 < 2"
mime-db ">= 1.33.0 < 2"
compression@^1.5.2:
version "1.7.1"
resolved "https://registry.yarnpkg.com/compression/-/compression-1.7.1.tgz#eff2603efc2e22cf86f35d2eb93589f9875373db"
version "1.7.2"
resolved "https://registry.yarnpkg.com/compression/-/compression-1.7.2.tgz#aaffbcd6aaf854b44ebb280353d5ad1651f59a69"
dependencies:
accepts "~1.3.4"
bytes "3.0.0"
compressible "~2.0.11"
compressible "~2.0.13"
debug "2.6.9"
on-headers "~1.0.1"
safe-buffer "5.1.1"
......@@ -1908,18 +1883,16 @@ copy-descriptor@^0.1.0:
resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d"
copy-webpack-plugin@^4.2.0:
version "4.3.1"
resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-4.3.1.tgz#19ba6370bf6f8e263cbd66185a2b79f2321a9302"
version "4.4.2"
resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-4.4.2.tgz#c92bcd7df4d5e42c51398cc36b23820d0d10446a"
dependencies:
cacache "^10.0.1"
find-cache-dir "^1.0.0"
globby "^7.1.1"
is-glob "^4.0.0"
loader-utils "^0.2.15"
lodash "^4.3.0"
minimatch "^3.0.4"
p-limit "^1.0.0"
pify "^3.0.0"
serialize-javascript "^1.4.0"
core-js@^1.0.0:
......@@ -2030,8 +2003,8 @@ css-in-js-utils@^2.0.0:
hyphenate-style-name "^1.0.2"
css-loader@^0.28.2:
version "0.28.9"
resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-0.28.9.tgz#68064b85f4e271d7ce4c48a58300928e535d1c95"
version "0.28.10"
resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-0.28.10.tgz#40282e79230f7bcb4e483efa631d670b735ebf42"
dependencies:
babel-code-frame "^6.26.0"
css-selector-tokenizer "^0.7.0"
......@@ -2285,6 +2258,13 @@ define-property@^1.0.0:
dependencies:
is-descriptor "^1.0.0"
define-property@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/define-property/-/define-property-2.0.2.tgz#d459689e8d654ba77e02a817f8710d702cb16e9d"
dependencies:
is-descriptor "^1.0.2"
isobject "^3.0.1"
defined@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/defined/-/defined-1.0.0.tgz#c98d9bcef75674188e110969151199e39b1fa693"
......@@ -2372,7 +2352,7 @@ dns-equal@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/dns-equal/-/dns-equal-1.0.0.tgz#b39e7f1da6eb0a75ba9c17324b34753c47e0654d"
dns-packet@^1.0.1:
dns-packet@^1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/dns-packet/-/dns-packet-1.3.1.tgz#12aa426981075be500b910eedcd0b47dd7deda5a"
dependencies:
......@@ -2385,7 +2365,7 @@ dns-txt@^2.0.2:
dependencies:
buffer-indexof "^1.0.0"
doctrine@^2.0.0:
doctrine@^2.0.0, doctrine@^2.0.2:
version "2.1.0"
resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d"
dependencies:
......@@ -2409,8 +2389,8 @@ dom-walk@^0.1.0:
resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.1.tgz#672226dc74c8f799ad35307df936aba11acd6018"
domain-browser@^1.1.1:
version "1.1.7"
resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.1.7.tgz#867aa4b093faa05f1de08c06f4d7b21fdf8698bc"
version "1.2.0"
resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda"
domelementtype@1:
version "1.3.0"
......@@ -2518,8 +2498,8 @@ ejs@^2.5.7:
resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.5.7.tgz#cc872c168880ae3c7189762fd5ffc00896c9518a"
electron-to-chromium@^1.2.7:
version "1.3.31"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.31.tgz#00d832cba9fe2358652b0c48a8816c8e3a037e9f"
version "1.3.34"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.34.tgz#d93498f40391bb0c16a603d8241b9951404157ed"
elliptic@^6.0.0:
version "6.4.0"
......@@ -2579,8 +2559,8 @@ entities@~1.1.1:
resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.1.tgz#6e5c2d0a5621b5dadaecef80b90edfb5cd7772f0"
errno@^0.1.3:
version "0.1.6"
resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.6.tgz#c386ce8a6283f14fc09563b71560908c9bf53026"
version "0.1.7"
resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.7.tgz#4684d71779ad39af177e3f007996f7c67c852618"
dependencies:
prr "~1.0.1"
......@@ -2609,8 +2589,8 @@ es-to-primitive@^1.1.1:
is-symbol "^1.0.1"
es5-ext@^0.10.14, es5-ext@^0.10.35, es5-ext@^0.10.9, es5-ext@~0.10.14:
version "0.10.38"
resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.38.tgz#fa7d40d65bbc9bb8a67e1d3f9cc656a00530eed3"
version "0.10.39"
resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.39.tgz#fca21b67559277ca4ac1a1ed7048b107b6f76d87"
dependencies:
es6-iterator "~2.0.3"
es6-symbol "~3.1.1"
......@@ -2639,8 +2619,8 @@ es6-promise@^3.0.2:
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-3.3.1.tgz#a08cdde84ccdbf34d027a1451bc91d4bcd28a613"
es6-promise@^4.0.3:
version "4.2.2"
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.2.tgz#f722d7769af88bd33bc13ec6605e1f92966b82d9"
version "4.2.4"
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.4.tgz#dc4221c2b16518760bd8c39a52d8f356fc00ed29"
es6-set@~0.1.5:
version "0.1.5"
......@@ -2696,12 +2676,12 @@ eslint-loader@^1.7.1:
rimraf "^2.6.1"
eslint-plugin-react@^7.0.1:
version "7.5.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.5.1.tgz#52e56e8d80c810de158859ef07b880d2f56ee30b"
version "7.7.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.7.0.tgz#f606c719dbd8a1a2b3d25c16299813878cca0160"
dependencies:
doctrine "^2.0.0"
doctrine "^2.0.2"
has "^1.0.1"
jsx-ast-utils "^2.0.0"
jsx-ast-utils "^2.0.1"
prop-types "^15.6.0"
eslint@^3.19.0:
......@@ -2745,10 +2725,10 @@ eslint@^3.19.0:
user-home "^2.0.0"
espree@^3.4.0:
version "3.5.2"
resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.2.tgz#756ada8b979e9dcfcdb30aad8d1a9304a905e1ca"
version "3.5.3"
resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.3.tgz#931e0af64e7fbbed26b050a29daad1fc64799fa6"
dependencies:
acorn "^5.2.1"
acorn "^5.4.0"
acorn-jsx "^3.0.0"
esprima@^2.6.0:
......@@ -2920,7 +2900,7 @@ extend-shallow@^2.0.1:
dependencies:
is-extendable "^0.1.0"
extend-shallow@^3.0.0:
extend-shallow@^3.0.0, extend-shallow@^3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8"
dependencies:
......@@ -2937,7 +2917,7 @@ extglob@^0.3.1:
dependencies:
is-extglob "^1.0.0"
extglob@^2.0.2:
extglob@^2.0.4:
version "2.0.4"
resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543"
dependencies:
......@@ -3241,11 +3221,11 @@ form-data@~2.1.1:
mime-types "^2.1.12"
form-data@~2.3.1:
version "2.3.1"
resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.1.tgz#6fb94fbd71885306d73d15cc497fe4cc4ecd44bf"
version "2.3.2"
resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.2.tgz#4970498be604c20c005d4f5c23aecd21d6b49099"
dependencies:
asynckit "^0.4.0"
combined-stream "^1.0.5"
combined-stream "1.0.6"
mime-types "^2.1.12"
forwarded@~0.1.2:
......@@ -3391,8 +3371,8 @@ gifsicle@^3.0.0:
logalot "^2.0.0"
gl-vec2@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/gl-vec2/-/gl-vec2-1.0.0.tgz#77fce6ae9612856d6c8b621cd261cd8281b9c637"
version "1.2.0"
resolved "https://registry.yarnpkg.com/gl-vec2/-/gl-vec2-1.2.0.tgz#b0af95d2a582e3ad818446a1800093fc60b8b212"
glob-base@^0.3.0:
version "0.3.0"
......@@ -3510,8 +3490,8 @@ globule@^1.0.0:
minimatch "~3.0.2"
glogg@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/glogg/-/glogg-1.0.0.tgz#7fe0f199f57ac906cf512feead8f90ee4a284fc5"
version "1.0.1"
resolved "https://registry.yarnpkg.com/glogg/-/glogg-1.0.1.tgz#dcf758e44789cc3f3d32c1f3562a3676e6a34810"
dependencies:
sparkles "^1.0.0"
......@@ -3638,8 +3618,8 @@ har-validator@~5.0.3:
har-schema "^2.0.0"
harmony-reflect@^1.4.2:
version "1.5.1"
resolved "https://registry.yarnpkg.com/harmony-reflect/-/harmony-reflect-1.5.1.tgz#b54ca617b00cc8aef559bbb17b3d85431dc7e329"
version "1.6.0"
resolved "https://registry.yarnpkg.com/harmony-reflect/-/harmony-reflect-1.6.0.tgz#9c28a77386ec225f7b5d370f9861ba09c4eea58f"
has-ansi@^2.0.0:
version "2.0.0"
......@@ -3651,9 +3631,9 @@ has-flag@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa"
has-flag@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51"
has-flag@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
has-gulplog@^0.1.0:
version "0.1.0"
......@@ -3764,12 +3744,12 @@ hoek@2.x.x:
resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed"
hoek@4.x.x:
version "4.2.0"
resolved "https://registry.yarnpkg.com/hoek/-/hoek-4.2.0.tgz#72d9d0754f7fe25ca2d01ad8f8f9a9449a89526d"
version "4.2.1"
resolved "https://registry.yarnpkg.com/hoek/-/hoek-4.2.1.tgz#9634502aa12c445dd5a7c5734b572bb8738aacbb"
hoist-non-react-statics@^2.3.1:
version "2.3.1"
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.3.1.tgz#343db84c6018c650778898240135a1420ee22ce0"
version "2.5.0"
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.5.0.tgz#d2ca2dfc19c5a91c5a6615ce8e564ef0347e2a40"
home-or-tmp@^2.0.0:
version "2.0.0"
......@@ -3800,12 +3780,12 @@ html-entities@^1.2.0:
resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.2.1.tgz#0df29351f0721163515dfb9e5543e5f6eed5162f"
html-minifier@^3.2.3:
version "3.5.8"
resolved "https://registry.yarnpkg.com/html-minifier/-/html-minifier-3.5.8.tgz#5ccdb1f73a0d654e6090147511f6e6b2ee312700"
version "3.5.9"
resolved "https://registry.yarnpkg.com/html-minifier/-/html-minifier-3.5.9.tgz#74424014b872598d4bb0e20ac420926ec61024b6"
dependencies:
camel-case "3.0.x"
clean-css "4.1.x"
commander "2.12.x"
commander "2.14.x"
he "1.1.x"
ncname "1.0.x"
param-case "2.1.x"
......@@ -3856,8 +3836,8 @@ http-errors@1.6.2, http-errors@~1.6.2:
statuses ">= 1.3.1 < 2"
http-parser-js@>=0.4.0:
version "0.4.9"
resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.4.9.tgz#ea1a04fb64adff0242e9974f297dd4c3cad271e1"
version "0.4.10"
resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.4.10.tgz#92c9c1374c35085f75db359ec56cc257cbb93fa4"
http-proxy-middleware@~0.17.4:
version "0.17.4"
......@@ -3938,8 +3918,8 @@ image-size@^0.5.0:
resolved "https://registry.yarnpkg.com/image-size/-/image-size-0.5.5.tgz#09dfd4ab9d20e29eb1c3e80b8990378df9e3cb9c"
image-webpack-loader@^3.3.1:
version "3.4.2"
resolved "https://registry.yarnpkg.com/image-webpack-loader/-/image-webpack-loader-3.4.2.tgz#7e8bfa7270e853eee6d7861f0ed6a3c12d8a20f8"
version "3.6.0"
resolved "https://registry.yarnpkg.com/image-webpack-loader/-/image-webpack-loader-3.6.0.tgz#3dcf652238ba39440cadd325aa602e7e0f2afe54"
dependencies:
imagemin "^5.2.2"
imagemin-gifsicle "^5.1.0"
......@@ -4104,8 +4084,8 @@ interpret@^1.0.0:
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.1.0.tgz#7ed1b1410c6a0e0f78cf95d3b8440c63f78b8614"
invariant@^2.2.2:
version "2.2.2"
resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.2.tgz#9e1f56ac0acdb6bf303306f338be3b204ae60360"
version "2.2.3"
resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.3.tgz#1a827dfde7dcbd7c323f0ca826be8fa7c5e9d688"
dependencies:
loose-envify "^1.0.0"
......@@ -4121,9 +4101,9 @@ ip@^1.1.0, ip@^1.1.5:
version "1.1.5"
resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a"
ipaddr.js@1.5.2:
version "1.5.2"
resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.5.2.tgz#d4b505bde9946987ccf0fc58d9010ff9607e3fa0"
ipaddr.js@1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.6.0.tgz#e3fa357b773da619f26e95f049d055c72796f86b"
is-absolute-url@^2.0.0:
version "2.1.0"
......@@ -4205,7 +4185,7 @@ is-descriptor@^0.1.0:
is-data-descriptor "^0.1.4"
kind-of "^5.0.0"
is-descriptor@^1.0.0:
is-descriptor@^1.0.0, is-descriptor@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-1.0.2.tgz#3b159746a66604b04f8c81524ba365c5f14d86ec"
dependencies:
......@@ -4291,12 +4271,17 @@ is-jpg@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/is-jpg/-/is-jpg-1.0.0.tgz#2959c17e73430db38264da75b90dd54f2d86da1c"
is-my-ip-valid@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/is-my-ip-valid/-/is-my-ip-valid-1.0.0.tgz#7b351b8e8edd4d3995d4d066680e664d94696824"
is-my-json-valid@^2.10.0, is-my-json-valid@^2.12.4:
version "2.17.1"
resolved "https://registry.yarnpkg.com/is-my-json-valid/-/is-my-json-valid-2.17.1.tgz#3da98914a70a22f0a8563ef1511a246c6fc55471"
version "2.17.2"
resolved "https://registry.yarnpkg.com/is-my-json-valid/-/is-my-json-valid-2.17.2.tgz#6b2103a288e94ef3de5cf15d29dd85fc4b78d65c"
dependencies:
generate-function "^2.0.0"
generate-object-property "^1.1.0"
is-my-ip-valid "^1.0.0"
jsonpointer "^4.0.0"
xtend "^4.0.0"
......@@ -4316,15 +4301,19 @@ is-number@^3.0.0:
dependencies:
kind-of "^3.0.2"
is-number@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/is-number/-/is-number-4.0.0.tgz#0026e37f5454d73e356dfe6564699867c6a7f0ff"
is-obj@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f"
is-odd@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/is-odd/-/is-odd-1.0.0.tgz#3b8a932eb028b3775c39bb09e91767accdb69088"
is-odd@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/is-odd/-/is-odd-2.0.0.tgz#7646624671fd7ea558ccd9a2795182f2958f1b24"
dependencies:
is-number "^3.0.0"
is-number "^4.0.0"
is-path-cwd@^1.0.0:
version "1.0.0"
......@@ -4424,6 +4413,10 @@ is-valid-glob@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/is-valid-glob/-/is-valid-glob-0.3.0.tgz#d4b55c69f51886f9b65c70d6c2622d37e29f48fe"
is-windows@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d"
is-wsl@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d"
......@@ -4505,8 +4498,8 @@ jpeg-js@^0.2.0:
resolved "https://registry.yarnpkg.com/jpeg-js/-/jpeg-js-0.2.0.tgz#53e448ec9d263e683266467e9442d2c5a2ef5482"
js-base64@^2.1.8, js-base64@^2.1.9:
version "2.4.1"
resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.4.1.tgz#e02813181cd53002888e918935467acb2910e596"
version "2.4.3"
resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.4.3.tgz#2e545ec2b0f2957f41356510205214e98fad6582"
js-tokens@^3.0.0, js-tokens@^3.0.2:
version "3.0.2"
......@@ -4595,7 +4588,7 @@ jsprim@^1.2.2:
json-schema "0.2.3"
verror "1.10.0"
jsx-ast-utils@^2.0.0:
jsx-ast-utils@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-2.0.1.tgz#e801b1b39985e20fffc87b40e3748080e2dcac7f"
dependencies:
......@@ -4627,7 +4620,7 @@ kind-of@^4.0.0:
dependencies:
is-buffer "^1.1.5"
kind-of@^5.0.0, kind-of@^5.0.2:
kind-of@^5.0.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d"
......@@ -4783,6 +4776,10 @@ lodash.clonedeep@^4.3.2:
version "4.5.0"
resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef"
lodash.endswith@^4.2.1:
version "4.2.1"
resolved "https://registry.yarnpkg.com/lodash.endswith/-/lodash.endswith-4.2.1.tgz#fed59ac1738ed3e236edd7064ec456448b37bc09"
lodash.escape@^3.0.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/lodash.escape/-/lodash.escape-3.2.0.tgz#995ee0dc18c1b48cc92effae71a10aab5b487698"
......@@ -4801,6 +4798,14 @@ lodash.isequal@^4.0.0:
version "4.5.0"
resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0"
lodash.isfunction@^3.0.8:
version "3.0.9"
resolved "https://registry.yarnpkg.com/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz#06de25df4db327ac931981d1bdb067e5af68d051"
lodash.isstring@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451"
lodash.keys@^3.0.0:
version "3.1.2"
resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a"
......@@ -4814,13 +4819,17 @@ lodash.memoize@^4.1.2:
resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe"
lodash.mergewith@^4.6.0:
version "4.6.0"
resolved "https://registry.yarnpkg.com/lodash.mergewith/-/lodash.mergewith-4.6.0.tgz#150cf0a16791f5903b8891eab154609274bdea55"
version "4.6.1"
resolved "https://registry.yarnpkg.com/lodash.mergewith/-/lodash.mergewith-4.6.1.tgz#639057e726c3afbdb3e7d42741caa8d6e4335927"
lodash.restparam@^3.0.0:
version "3.6.1"
resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805"
lodash.startswith@^4.2.1:
version "4.2.1"
resolved "https://registry.yarnpkg.com/lodash.startswith/-/lodash.startswith-4.2.1.tgz#c598c4adce188a27e53145731cdc6c0e7177600c"
lodash.tail@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/lodash.tail/-/lodash.tail-4.1.1.tgz#d2333a36d9e7717c8ad2f7cacafec7c32b444664"
......@@ -4855,8 +4864,8 @@ lodash@^3.2.0:
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"
lodash@^4.0.0, lodash@^4.11.1, lodash@^4.14.0, lodash@^4.17.2, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.3.0, lodash@~4.17.4:
version "4.17.4"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
version "4.17.5"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511"
lodash@~2.4.1:
version "2.4.2"
......@@ -4873,9 +4882,9 @@ loglevel@^1.4.1:
version "1.6.1"
resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.1.tgz#e0fc95133b6ef276cdc8887cdaf24aa6f156f8fa"
long@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/long/-/long-3.2.0.tgz#d821b7138ca1cb581c172990ef14db200b5c474b"
long@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28"
longest@^1.0.0, longest@^1.0.1:
version "1.0.1"
......@@ -4923,8 +4932,8 @@ macaddress@^0.2.8:
resolved "https://registry.yarnpkg.com/macaddress/-/macaddress-0.2.8.tgz#5904dc537c39ec6dbefeae902327135fa8511f12"
make-dir@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.1.0.tgz#19b4369fe48c116f53c2af95ad102c0e39e85d51"
version "1.2.0"
resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.2.0.tgz#6d6a49eead4aae296c53bbf3a1a008bd6c89469b"
dependencies:
pify "^3.0.0"
......@@ -5033,18 +5042,18 @@ micromatch@^2.1.5, micromatch@^2.3.11, micromatch@^2.3.7:
regex-cache "^0.4.2"
micromatch@^3.1.4:
version "3.1.5"
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.5.tgz#d05e168c206472dfbca985bfef4f57797b4cd4ba"
version "3.1.8"
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.8.tgz#5c8caa008de588eebb395e8c0ad12c128f25fff1"
dependencies:
arr-diff "^4.0.0"
array-unique "^0.3.2"
braces "^2.3.0"
define-property "^1.0.0"
extend-shallow "^2.0.1"
extglob "^2.0.2"
braces "^2.3.1"
define-property "^2.0.2"
extend-shallow "^3.0.2"
extglob "^2.0.4"
fragment-cache "^0.2.1"
kind-of "^6.0.0"
nanomatch "^1.2.5"
kind-of "^6.0.2"
nanomatch "^1.2.9"
object.pick "^1.3.0"
regex-not "^1.0.0"
snapdragon "^0.8.1"
......@@ -5057,19 +5066,15 @@ miller-rabin@^4.0.0:
bn.js "^4.0.0"
brorand "^1.0.1"
"mime-db@>= 1.30.0 < 2":
version "1.32.0"
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.32.0.tgz#485b3848b01a3cda5f968b4882c0771e58e09414"
mime-db@~1.30.0:
version "1.30.0"
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.30.0.tgz#74c643da2dd9d6a45399963465b26d5ca7d71f01"
"mime-db@>= 1.33.0 < 2", mime-db@~1.33.0:
version "1.33.0"
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.33.0.tgz#a3492050a5cb9b63450541e39d9788d2272783db"
mime-types@^2.1.12, mime-types@~2.1.15, mime-types@~2.1.16, mime-types@~2.1.17, mime-types@~2.1.7:
version "2.1.17"
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.17.tgz#09d7a393f03e995a79f8af857b70a9e0ab16557a"
mime-types@^2.1.12, mime-types@~2.1.16, mime-types@~2.1.17, mime-types@~2.1.18, mime-types@~2.1.7:
version "2.1.18"
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.18.tgz#6f323f60a83d11146f831ff11fd66e2fe5503bb8"
dependencies:
mime-db "~1.30.0"
mime-db "~1.33.0"
mime@1.3.x:
version "1.3.6"
......@@ -5115,9 +5120,9 @@ minimist@~0.0.1:
version "0.0.10"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf"
mississippi@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/mississippi/-/mississippi-1.3.0.tgz#d201583eb12327e3c5c1642a404a9cacf94e34f5"
mississippi@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/mississippi/-/mississippi-2.0.0.tgz#3442a508fafc28500486feea99409676e4ee5a6f"
dependencies:
concat-stream "^1.5.0"
duplexify "^3.4.2"
......@@ -5125,14 +5130,14 @@ mississippi@^1.3.0:
flush-write-stream "^1.0.0"
from2 "^2.1.0"
parallel-transform "^1.1.0"
pump "^1.0.0"
pump "^2.0.1"
pumpify "^1.3.3"
stream-each "^1.1.0"
through2 "^2.0.0"
mixin-deep@^1.2.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.0.tgz#47a8732ba97799457c8c1eca28f95132d7e8150a"
version "1.3.1"
resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.1.tgz#a49e7268dce1a0d9698e45326c5626df3543d0fe"
dependencies:
for-in "^1.0.2"
is-extendable "^1.0.1"
......@@ -5157,14 +5162,14 @@ mkdirp@0.5.1, mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdi
minimist "0.0.8"
mobx-react@^4.1.8:
version "4.3.5"
resolved "https://registry.yarnpkg.com/mobx-react/-/mobx-react-4.3.5.tgz#76853f2f2ef4a6f960c374bcd9f01e875929c04c"
version "4.4.2"
resolved "https://registry.yarnpkg.com/mobx-react/-/mobx-react-4.4.2.tgz#22d710974883de1763cdafce3025570a79c64336"
dependencies:
hoist-non-react-statics "^2.3.1"
mobx@^3.1.10:
version "3.4.1"
resolved "https://registry.yarnpkg.com/mobx/-/mobx-3.4.1.tgz#37abe5ee882d401828d9f26c6c1a2f47614bbbef"
version "3.5.1"
resolved "https://registry.yarnpkg.com/mobx/-/mobx-3.5.1.tgz#8e682ec535cf44e04005b9e37e2df66acc975a42"
moment@~2.18.0:
version "2.18.1"
......@@ -5202,11 +5207,11 @@ multicast-dns-service-types@^1.1.0:
resolved "https://registry.yarnpkg.com/multicast-dns-service-types/-/multicast-dns-service-types-1.1.0.tgz#899f11d9686e5e05cb91b35d5f0e63b773cfc901"
multicast-dns@^6.0.1:
version "6.2.2"
resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-6.2.2.tgz#300b6133361f8aaaf2b8d1248e85c363fe5b95a0"
version "6.2.3"
resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-6.2.3.tgz#a0ec7bd9055c4282f790c3c82f4e28db3b31b229"
dependencies:
dns-packet "^1.0.1"
thunky "^0.1.0"
dns-packet "^1.3.1"
thunky "^1.0.2"
multipipe@^0.1.2:
version "0.1.2"
......@@ -5219,20 +5224,21 @@ mute-stream@0.0.5:
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.5.tgz#8fbfabb0a98a253d3184331f9e8deb7372fac6c0"
nan@^2.3.0, nan@^2.3.2:
version "2.8.0"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.8.0.tgz#ed715f3fe9de02b57a5e6252d90a96675e1f085a"
version "2.9.2"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.9.2.tgz#f564d75f5f8f36a6d9456cca7a6c4fe488ab7866"
nanomatch@^1.2.5:
version "1.2.7"
resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.7.tgz#53cd4aa109ff68b7f869591fdc9d10daeeea3e79"
nanomatch@^1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.9.tgz#879f7150cb2dab7a471259066c104eee6e0fa7c2"
dependencies:
arr-diff "^4.0.0"
array-unique "^0.3.2"
define-property "^1.0.0"
extend-shallow "^2.0.1"
define-property "^2.0.2"
extend-shallow "^3.0.2"
fragment-cache "^0.2.1"
is-odd "^1.0.0"
kind-of "^5.0.2"
is-odd "^2.0.0"
is-windows "^1.0.2"
kind-of "^6.0.2"
object.pick "^1.3.0"
regex-not "^1.0.0"
snapdragon "^0.8.1"
......@@ -5265,9 +5271,9 @@ node-fetch@^1.0.1:
encoding "^0.1.11"
is-stream "^1.0.1"
node-forge@0.6.33:
version "0.6.33"
resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.6.33.tgz#463811879f573d45155ad6a9f43dc296e8e85ebc"
node-forge@0.7.1:
version "0.7.1"
resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.7.1.tgz#9da611ea08982f4b94206b3beb4cc9665f20c300"
node-gyp@^3.3.1:
version "3.6.2"
......@@ -5624,8 +5630,8 @@ os-tmpdir@^1.0.0, os-tmpdir@^1.0.1:
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
osenv@0, osenv@^0.1.4:
version "0.1.4"
resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.4.tgz#42fe6d5953df06c8064be6f176c3d05aaaa34644"
version "0.1.5"
resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410"
dependencies:
os-homedir "^1.0.0"
os-tmpdir "^1.0.0"
......@@ -5878,8 +5884,8 @@ pn@^1.0.0:
resolved "https://registry.yarnpkg.com/pn/-/pn-1.1.0.tgz#e2f4cef0e219f463c179ab37463e4e1ecdccbafb"
pngjs@^3.0.0, pngjs@^3.2.0:
version "3.3.1"
resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-3.3.1.tgz#8e14e6679ee7424b544334c3b2d21cea6d8c209a"
version "3.3.2"
resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-3.3.2.tgz#097c3c2a75feb223eadddea6bc9f0050cf830bc3"
pngquant-bin@^3.0.0:
version "3.1.1"
......@@ -6152,12 +6158,12 @@ postcss@^5.0.10, postcss@^5.0.11, postcss@^5.0.12, postcss@^5.0.13, postcss@^5.0
supports-color "^3.2.3"
postcss@^6.0.1:
version "6.0.16"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.16.tgz#112e2fe2a6d2109be0957687243170ea5589e146"
version "6.0.19"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.19.tgz#76a78386f670b9d9494a655bf23ac012effd1555"
dependencies:
chalk "^2.3.0"
chalk "^2.3.1"
source-map "^0.6.1"
supports-color "^5.1.0"
supports-color "^5.2.0"
prelude-ls@~1.1.2:
version "1.1.2"
......@@ -6182,9 +6188,9 @@ private@^0.1.6, private@^0.1.7:
version "0.1.8"
resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff"
process-nextick-args@~1.0.6:
version "1.0.7"
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3"
process-nextick-args@~2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa"
process@^0.11.0, process@^0.11.10:
version "0.11.10"
......@@ -6195,8 +6201,8 @@ process@~0.5.1:
resolved "https://registry.yarnpkg.com/process/-/process-0.5.2.tgz#1638d8a8e34c2f440a91db95ab9aeb677fc185cf"
progress-bar-webpack-plugin@^1.9.3:
version "1.10.0"
resolved "https://registry.yarnpkg.com/progress-bar-webpack-plugin/-/progress-bar-webpack-plugin-1.10.0.tgz#e0b1063aa03c79e298a9340598590bb61efef9a4"
version "1.11.0"
resolved "https://registry.yarnpkg.com/progress-bar-webpack-plugin/-/progress-bar-webpack-plugin-1.11.0.tgz#4f801288443c55ec029b20cbfdcbf3e1dc17f852"
dependencies:
chalk "^1.1.1"
object.assign "^4.0.1"
......@@ -6232,8 +6238,8 @@ prop-types@^15.5.0, prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.6.0:
object-assign "^4.1.1"
protobufjs@^6.8.4:
version "6.8.4"
resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.8.4.tgz#183f90d1c4aca5f6b34a79eaedd0d89ad21f603b"
version "6.8.5"
resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.8.5.tgz#ca064d0b1b52327b3ff9e3bb74de3624e08e5fe2"
dependencies:
"@protobufjs/aspromise" "^1.1.2"
"@protobufjs/base64" "^1.1.2"
......@@ -6246,15 +6252,15 @@ protobufjs@^6.8.4:
"@protobufjs/pool" "^1.1.0"
"@protobufjs/utf8" "^1.1.0"
"@types/long" "^3.0.32"
"@types/node" "^8.5.5"
long "^3.2.0"
"@types/node" "^8.9.4"
long "^4.0.0"
proxy-addr@~2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.2.tgz#6571504f47bb988ec8180253f85dd7e14952bdec"
version "2.0.3"
resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.3.tgz#355f262505a621646b3130a728eb647e22055341"
dependencies:
forwarded "~0.1.2"
ipaddr.js "1.5.2"
ipaddr.js "1.6.0"
prr@~1.0.1:
version "1.0.1"
......@@ -6274,14 +6280,7 @@ public-encrypt@^4.0.0:
parse-asn1 "^5.0.0"
randombytes "^2.0.1"
pump@^1.0.0:
version "1.0.3"
resolved "https://registry.yarnpkg.com/pump/-/pump-1.0.3.tgz#5dfe8311c33bbf6fc18261f9f34702c47c08a954"
dependencies:
end-of-stream "^1.1.0"
once "^1.3.1"
pump@^2.0.0:
pump@^2.0.0, pump@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909"
dependencies:
......@@ -6357,8 +6356,8 @@ randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5:
safe-buffer "^5.1.0"
randomfill@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/randomfill/-/randomfill-1.0.3.tgz#b96b7df587f01dd91726c418f30553b1418e3d62"
version "1.0.4"
resolved "https://registry.yarnpkg.com/randomfill/-/randomfill-1.0.4.tgz#c92196fc86ab42be983f1bf31778224931d61458"
dependencies:
randombytes "^2.0.5"
safe-buffer "^5.1.0"
......@@ -6377,8 +6376,8 @@ raw-body@2.3.2:
unpipe "1.0.0"
rc@^1.1.2, rc@^1.1.7:
version "1.2.4"
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.4.tgz#a0f606caae2a3b862bbd0ef85482c0125b315fa3"
version "1.2.5"
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.5.tgz#275cd687f6e3b36cc756baa26dfee80a790301fd"
dependencies:
deep-extend "~0.4.0"
ini "~1.3.0"
......@@ -6402,18 +6401,16 @@ react-rangeslider@^2.2.0:
resize-observer-polyfill "^1.4.2"
react-split-pane@^0.1.66:
version "0.1.74"
resolved "https://registry.yarnpkg.com/react-split-pane/-/react-split-pane-0.1.74.tgz#cf79fc98b51ab0763fdc778749b810a102b036ca"
version "0.1.77"
resolved "https://registry.yarnpkg.com/react-split-pane/-/react-split-pane-0.1.77.tgz#f0c8cd18d076bbac900248dcf6dbcec02d5340db"
dependencies:
"@types/inline-style-prefixer" "^3.0.0"
"@types/react" "^16.0.18"
inline-style-prefixer "^3.0.6"
prop-types "^15.5.10"
react-style-proptype "^3.0.0"
react-style-proptype@^3.0.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/react-style-proptype/-/react-style-proptype-3.1.0.tgz#c8912fc13460f5b0c1ec1114c729d535b52b8073"
version "3.2.0"
resolved "https://registry.yarnpkg.com/react-style-proptype/-/react-style-proptype-3.2.0.tgz#be5de15358b890d83aecfaf6634cc033aa2b1483"
dependencies:
prop-types "^15.5.4"
......@@ -6460,13 +6457,13 @@ read-pkg@^1.0.0:
path-type "^1.0.0"
"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.4, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.1.4, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.2.9, readable-stream@^2.3.3:
version "2.3.3"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.3.tgz#368f2512d79f9d46fdfc71349ae7878bbc1eb95c"
version "2.3.4"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.4.tgz#c946c3f47fa7d8eabc0b6150f4a12f69a4574071"
dependencies:
core-util-is "~1.0.0"
inherits "~2.0.3"
isarray "~1.0.0"
process-nextick-args "~1.0.6"
process-nextick-args "~2.0.0"
safe-buffer "~5.1.1"
string_decoder "~1.0.3"
util-deprecate "~1.0.1"
......@@ -6565,10 +6562,11 @@ regex-cache@^0.4.2:
is-equal-shallow "^0.1.3"
regex-not@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.0.tgz#42f83e39771622df826b02af176525d6a5f157f9"
version "1.0.2"
resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c"
dependencies:
extend-shallow "^2.0.1"
extend-shallow "^3.0.2"
safe-regex "^1.1.0"
regexpu-core@^1.0.0:
version "1.0.0"
......@@ -6786,13 +6784,17 @@ restore-cursor@^1.0.1:
exit-hook "^1.0.0"
onetime "^1.0.0"
ret@~0.1.10:
version "0.1.15"
resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc"
right-align@^0.1.1:
version "0.1.3"
resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef"
dependencies:
align-text "^0.1.1"
rimraf@2, rimraf@^2.2.6, rimraf@^2.2.8, rimraf@^2.5.1, rimraf@^2.5.4, rimraf@^2.6.1:
rimraf@2, rimraf@^2.2.6, rimraf@^2.2.8, rimraf@^2.5.1, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2:
version "2.6.2"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36"
dependencies:
......@@ -6829,6 +6831,12 @@ safe-buffer@5.1.1, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, s
version "5.1.1"
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853"
safe-regex@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e"
dependencies:
ret "~0.1.10"
sass-graph@^2.2.4:
version "2.2.4"
resolved "https://registry.yarnpkg.com/sass-graph/-/sass-graph-2.2.4.tgz#13fbd63cd1caf0908b9fd93476ad43a51d1e0b49"
......@@ -6876,10 +6884,10 @@ select-hose@^2.0.0:
resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca"
selfsigned@^1.9.1:
version "1.10.1"
resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-1.10.1.tgz#bf8cb7b83256c4551e31347c6311778db99eec52"
version "1.10.2"
resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-1.10.2.tgz#b4449580d99929b65b10a48389301a6592088758"
dependencies:
node-forge "0.6.33"
node-forge "0.7.1"
semver-regex@^1.0.0:
version "1.0.0"
......@@ -7137,7 +7145,7 @@ source-map@0.1.x:
dependencies:
amdefine ">=0.0.4"
source-map@0.5.x, source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1:
source-map@0.5.x, source-map@^0.5.3, source-map@^0.5.6, source-map@^0.5.7, source-map@~0.5.1:
version "0.5.7"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
......@@ -7224,11 +7232,11 @@ sshpk@^1.7.0:
jsbn "~0.1.0"
tweetnacl "~0.14.0"
ssri@^5.0.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/ssri/-/ssri-5.1.0.tgz#2cbf1df36b74d0fc91fcf89640a4b3e1d10b1899"
ssri@^5.2.4:
version "5.2.4"
resolved "https://registry.yarnpkg.com/ssri/-/ssri-5.2.4.tgz#9985e14041e65fc397af96542be35724ac11da52"
dependencies:
safe-buffer "^5.1.0"
safe-buffer "^5.1.1"
stat-mode@^0.2.0:
version "0.2.2"
......@@ -7420,17 +7428,11 @@ supports-color@^3.1.0, supports-color@^3.2.3:
dependencies:
has-flag "^1.0.0"
supports-color@^4.0.0:
version "4.5.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b"
dependencies:
has-flag "^2.0.0"
supports-color@^5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.1.0.tgz#058a021d1b619f7ddf3980d712ea3590ce7de3d5"
supports-color@^5.1.0, supports-color@^5.2.0:
version "5.2.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.2.0.tgz#b0d5333b1184dd3666cbe5aa0b45c5ac7ac17a4a"
dependencies:
has-flag "^2.0.0"
has-flag "^3.0.0"
svg2png@~3.0.1:
version "3.0.1"
......@@ -7564,9 +7566,9 @@ through@^2.3.6:
version "2.3.8"
resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5"
thunky@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/thunky/-/thunky-0.1.0.tgz#bf30146824e2b6e67b0f2d7a4ac8beb26908684e"
thunky@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.0.2.tgz#a862e018e3fb1ea2ec3fce5d55605cf57f247371"
time-stamp@^1.0.0:
version "1.1.0"
......@@ -7581,8 +7583,8 @@ timed-out@^3.0.0:
resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-3.1.3.tgz#95860bfcc5c76c277f8f8326fd0f5b2e20eba217"
timers-browserify@^2.0.2, timers-browserify@^2.0.4:
version "2.0.4"
resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.4.tgz#96ca53f4b794a5e7c0e1bd7cc88a372298fa01e6"
version "2.0.6"
resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.6.tgz#241e76927d9ca05f4d959819022f5b3664b64bae"
dependencies:
setimmediate "^1.0.4"
......@@ -7698,11 +7700,11 @@ type-check@~0.3.2:
prelude-ls "~1.1.2"
type-is@~1.6.15:
version "1.6.15"
resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.15.tgz#cab10fb4909e441c82842eafe1ad646c81804410"
version "1.6.16"
resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.16.tgz#f89ce341541c672b25ee7ae3c73dee3b2be50194"
dependencies:
media-typer "0.3.0"
mime-types "~2.1.15"
mime-types "~2.1.18"
typedarray@^0.0.6:
version "0.0.6"
......@@ -7713,10 +7715,10 @@ ua-parser-js@^0.7.9:
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.17.tgz#e9ec5f9498b9ec910e7ae3ac626a805c4d09ecac"
uglify-js@3.3.x:
version "3.3.8"
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.3.8.tgz#51e9a5db73afb53ac98603d08224edcd0be45fd8"
version "3.3.12"
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.3.12.tgz#efd87c16a1f4c674a8a5ede571001ef634dcc883"
dependencies:
commander "~2.13.0"
commander "~2.14.1"
source-map "~0.6.1"
uglify-js@^2.8.27:
......@@ -7745,10 +7747,6 @@ uid-number@^0.0.6:
version "0.0.6"
resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81"
ultron@~1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c"
underscore@^1.8.3:
version "1.8.3"
resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.8.3.tgz#4f3fb53b106e6097fcf9cb4109f2a5e9bdfa5022"
......@@ -7810,6 +7808,15 @@ unzip-response@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/unzip-response/-/unzip-response-1.0.2.tgz#b984f0877fc0a89c2c773cc1ef7b5b232b5b06fe"
upath@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/upath/-/upath-1.0.2.tgz#80aaae5395abc5fd402933ae2f58694f0860204c"
dependencies:
lodash.endswith "^4.2.1"
lodash.isfunction "^3.0.8"
lodash.isstring "^4.0.1"
lodash.startswith "^4.2.1"
upper-case@^1.1.1:
version "1.1.3"
resolved "https://registry.yarnpkg.com/upper-case/-/upper-case-1.1.3.tgz#f6b4501c2ec4cdd26ba78be7222961de77621598"
......@@ -8044,8 +8051,8 @@ wbuf@^1.1.0, wbuf@^1.7.2:
minimalistic-assert "^1.0.0"
webpack-bundle-analyzer@^2.10.0:
version "2.10.0"
resolved "https://registry.yarnpkg.com/webpack-bundle-analyzer/-/webpack-bundle-analyzer-2.10.0.tgz#d0646cda342939f6f05eb632a090abbd90317446"
version "2.10.1"
resolved "https://registry.yarnpkg.com/webpack-bundle-analyzer/-/webpack-bundle-analyzer-2.10.1.tgz#544db56754b6737451f69d5fca7c0be5fe30987f"
dependencies:
acorn "^5.3.0"
bfj-node4 "^5.2.0"
......@@ -8252,12 +8259,11 @@ write@^0.2.1:
mkdirp "^0.5.1"
ws@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/ws/-/ws-4.0.0.tgz#bfe1da4c08eeb9780b986e0e4d10eccd7345999f"
version "4.1.0"
resolved "https://registry.yarnpkg.com/ws/-/ws-4.1.0.tgz#a979b5d7d4da68bf54efe0408967c324869a7289"
dependencies:
async-limiter "~1.0.0"
safe-buffer "~5.1.0"
ultron "~1.1.0"
xhr@^2.0.1:
version "2.4.1"
......@@ -8284,8 +8290,8 @@ xml2js@>=0.2.4, xml2js@^0.4.5:
xmlbuilder "~9.0.1"
xmlbuilder@~9.0.1:
version "9.0.4"
resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-9.0.4.tgz#519cb4ca686d005a8420d3496f3f0caeecca580f"
version "9.0.7"
resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-9.0.7.tgz#132ee63d2ec5565c557e20f4c22df9aca686b10d"
"xtend@>=4.0.0 <4.1.0-0", xtend@^4.0.0, xtend@~4.0.0, xtend@~4.0.1:
version "4.0.1"
......@@ -8295,6 +8301,10 @@ y18n@^3.2.0, y18n@^3.2.1:
version "3.2.1"
resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41"
y18n@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b"
yallist@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册